123 Commits

Autor SHA1 Mensagem Data
gemeinl 6398803efe Lazy Loading (#38)
* fixing memory problems

memory problems were caused by successively appending predictions to list.
fixed by allocating memory beforehand.

* created lazy_iterators.py

added LoadCropsFromTrialsIterator

* created lazy_dataset.py

added abstract class as a parent for lazy datasets

* Update lazy_iterators.py

now saving random state before creating data loader and resetting to random state after every batch. data loader behavior was changed with pytorch upgrade 0.4.0 -> 1.0.0 and broke tests.

* Update experiment.py

* Update experiment.py

* Update lazy_iterators.py

* Update lazy_dataset.py

* Update iterators.py

* Update lazy_iterators.py

* Update iterators.py

* Update lazy_iterators.py

* Update lazy_iterators.py

added option to toggle resetting of rng state

* Update iterators.py

deactivated reset rng state after every batch by default

* Update iterators.py

accidentally changed traditional iterators. reverting changes

* Update lazy_iterators.py

deactivated resetting rng after every batch by default

* Update experiment.py

removed unused variables
2019-03-14 14:41:23 +01:00
robintibor c32ac5b0d5 fix references for AdamW 2019-01-07 15:48:44 +01:00
Robin Tibor Schirrmeister 6c3ead2449 fixed bug in split train test 2018-10-29 20:57:35 +01:00
Robin Tibor Schirrmeister cab5840ecf added padding option to avgpool2d with conv, fixed expression str in some situations 2018-10-26 17:35:43 +02:00
Robin Tibor Schirrmeister 96ee7839b4 changed local data folder 2018-10-26 17:35:10 +02:00
Robin Tibor Schirrmeister 651ef3d7a4 fix using cuda with model.predict 2018-09-19 12:33:34 +02:00
Robin Tibor Schirrmeister 2760799fc0 fix reference 2018-09-19 12:32:48 +02:00
Robin Tibor Schirrmeister 895b03703e increment version 2018-09-17 17:38:04 +02:00
Robin Tibor Schirrmeister 5ea159b190 adapt base model for already dense model 2018-09-17 17:23:13 +02:00
Robin Tibor Schirrmeister 81678c4ab5 split hybrid into pytorch module and our model 2018-09-17 17:23:04 +02:00
Robin Tibor Schirrmeister 21890f9e19 changed logic to always creting random state in function body; not in function signature 2018-09-17 17:20:21 +02:00
Robin Tibor Schirrmeister 5f7e7fa3e4 mentioning adamw 2018-09-17 17:19:35 +02:00
Robin Tibor Schirrmeister d1bf8a5ca1 upgrade pytorch 0.4 2018-09-17 17:19:26 +02:00
Robin Tibor Schirrmeister 82e6760a54 splitting into train/valid/test by folds 2018-09-17 17:18:47 +02:00
Robin Tibor Schirrmeister fb080fc9b9 removed seed from experiment class 2018-09-10 14:24:18 +02:00
Robin Tibor Schirrmeister 13b791d965 updated references 2018-09-10 14:23:56 +02:00
Robin Tibor Schirrmeister d01feb6fa5 merge 2018-09-03 16:14:06 +02:00
Robin Tibor Schirrmeister b69a930799 put hyperparameters into one place in code 2018-08-27 14:22:24 +02:00
Robin Tibor Schirrmeister b0f186e3e0 some change to notebookdocs 2018-08-27 14:21:22 +02:00
robintibor 8e82cf3db9 Merge pull request #23 from thodoris/randint_upperbound
Update base.py
2018-08-20 13:00:48 +02:00
thodoris ef24d89db1 Update base.py
changed hard-coded randit upper bound value (4294967295) with np.iinfo(np.int32).max-1.
In windows 64bit with Conda , the randint fails with the  hard-coded value (4294967295).
2018-08-17 21:33:41 +03:00
Robin Tibor Schirrmeister bc0a83b325 logging 0 epoch now as well 2018-08-09 16:07:01 +02:00
Robin Tibor Schirrmeister 4e27635e0b logging 0 epoch now as well 2018-08-09 16:04:54 +02:00
Robin Tibor Schirrmeister c33aae643a Braindecode 0.4, pytorch 0.4 support, simpler model class 2018-08-09 11:58:19 +02:00
Robin Tibor Schirrmeister c6b1fbf350 updated tests 2018-08-06 23:26:43 +02:00
Robin Tibor Schirrmeister b560b91dad new simple model class 2018-08-06 23:26:31 +02:00
Robin Tibor Schirrmeister 0da2849555 added information which criterion was triggered to Or/And 2018-08-06 23:26:12 +02:00
Robin Tibor Schirrmeister ea6bfe806f pytorch 0.4 updates 2018-08-06 23:23:30 +02:00
Robin Tibor Schirrmeister db488aafed added loggers, renamed compute_preds_per_trial_from_crops 2018-08-06 23:21:08 +02:00
Robin Tibor Schirrmeister 96a62ed895 cosine annealing, cropped for basemodel, hybrid corrected 2018-07-20 15:21:17 +02:00
Robin Tibor Schirrmeister 6f3d3c027a merge print epoch with reset after second run 2018-07-19 17:23:07 +02:00
Robin Tibor Schirrmeister a3bac03277 hybrid model, eegnetv4 2018-07-19 17:18:15 +02:00
robintibor fb987d05f3 Merge pull request #22 from gemeinl/second-run-reset
Added resetting to best model if second run was not successful
2018-07-19 11:26:14 +02:00
Lukas Alexander Wilhelm Gemein cc75eed7e0 removed training whitespace 2018-07-19 09:15:40 +02:00
gemeinl 37de6e5bf3 Merge branch 'master' into second-run-reset 2018-07-18 15:55:54 +02:00
Lukas gemein 0bf2b597ba added reset_after_second_run option to experiment class that defaults to false 2018-07-18 15:52:10 +02:00
robintibor cda27c6c4a Merge pull request #20 from gemeinl/seeds
Adding seeding parameters to iterators and experiment class, fixing bug in resetting random state of ClassBalancedBatchSizeIterator
2018-07-18 15:33:26 +02:00
Lukas gemein 6a1c9bf588 added missing paranthesis in if statement. fixed logging of resetting to best eopch after second run 2018-07-18 14:42:49 +02:00
Lukas gemein 069e8e36d3 only resetting to epoch with best valid_misclass if valid_loss did not deceed best 1st run train_loss 2018-07-17 18:06:04 +02:00
Lukas gemein b7f3ee055f enabled remembering best epoch for second run after early stopping. if in the second run no valid_loss was found that deceeds the best train_loss, reset the model to the epoch with the lowest valid_misclass 2018-07-17 17:54:19 +02:00
Lukas gemein f84b444547 fixed a bug causing the rng of ClassBalancedBatchSizeIterator to be reset to a state different from the initial random state. added seeding parameter to BalancedBatchSizeIterator and ClassBalancedBatchSizeIterator. added seeding parameter to experiment class to allow control of torch and cuda random state. 2018-07-13 11:03:03 +02:00
Robin Tibor Schirrmeister c4d0dea093 next version 2018-06-12 17:17:28 +02:00
Robin Tibor Schirrmeister fe260e2627 filtfilt option 2018-06-12 17:16:38 +02:00
Robin Tibor Schirrmeister 0bfc5f2f3d factored out convert angle to cart function 2018-06-12 17:16:09 +02:00
Robin Tibor Schirrmeister c7354c8d03 Merge branch 'master' of github.com:robintibor/braindecode 2018-06-12 17:14:08 +02:00
Robin Tibor Schirrmeister c3b987bbf3 rename fixed weights to pool_weights in AvgPool2dWithConv 2018-06-12 17:14:04 +02:00
Robin Tibor Schirrmeister ff9ae54b75 update bbci to not use dat field anymore, just nfo 2018-06-12 17:13:07 +02:00
robintibor 17ee2eabd7 Merge pull request #11 from kahartma/perturbation
Perturbation
2018-06-08 17:11:08 +02:00
robintibor 6cc7be23c9 Merge pull request #12 from kahartma/inputwindows
Inputwindows
2018-06-08 17:10:55 +02:00
Kay Gregor Hartmann 83949a4ac7 Fixes 2018-06-08 06:46:01 +12:00
Kay Gregor Hartmann 5105a4204b numpy docstrings 2018-06-08 06:34:22 +12:00
Kay Gregor Hartmann f869650691 Merge branch 'master' of https://github.com/robintibor/braindecode into perturbation 2018-06-08 06:16:21 +12:00
Kay Gregor Hartmann 86db4f743c Numpy Docstring 2018-06-08 06:13:46 +12:00
Kay Gregor Hartmann f5104a4746 Merge branch 'master' of https://github.com/robintibor/braindecode into inputwindows 2018-06-08 05:49:13 +12:00
robintibor 6e68691952 ensure makers are ints 2018-03-22 12:21:49 +01:00
Kay Gregor Hartmann 5fd38fb9b0 Sinus fits 2018-02-07 22:19:24 +01:00
Kay Gregor Hartmann f33e2e3738 Most activating input windows and reverse correlation 2018-02-07 21:39:45 +01:00
Kay Gregor Hartmann c141351cf0 Functions for determining and retrieving maximising input windows 2018-02-07 17:00:10 +01:00
Kay Gregor Hartmann bd928df0d0 changes 2018-02-07 16:28:16 +01:00
Kay Gregor Hartmann 21870f5d55 Faster feature map correlation 2018-01-26 08:41:00 +01:00
Kay Gregor Hartmann 7a7be4326b Fixes 2018-01-26 08:27:09 +01:00
Kay Gregor Hartmann 83acd8c3e9 Doc fix 2018-01-26 07:35:11 +01:00
Kay Gregor Hartmann 51fde3f31c Use new spectral_perturbation_correlation function for old compute_amplitude_prediction_correlations 2018-01-26 07:30:54 +01:00
Kay Gregor Hartmann 8049193651 Perturbation functions Kay 2018-01-25 14:48:13 +01:00
kahartma ddcbe2672e Merge pull request #2 from kahartma/master
Merge
2018-01-26 01:11:42 +12:00
kahartma 946d9427a5 Merge pull request #1 from robintibor/master
Get commits from braindecode
2018-01-26 00:56:51 +12:00
Robin Tibor Schirrmeister 86971b8ff8 do early stop option, seed for iterator, named functions for networks for pickle possibility 2017-11-27 13:12:04 +01:00
Robin Tibor Schirrmeister 451cbccebe notebooks with output? 2017-11-03 17:59:50 +01:00
Robin Tibor Schirrmeister 86b1df8490 mne separate install no longer necessary 2017-11-03 17:47:03 +01:00
Robin Tibor Schirrmeister 3f809ddbeb monitors for binary case, experiment works with lists of outputs also 2017-11-03 17:19:42 +01:00
Robin Tibor Schirrmeister 5b5baf6c54 Merge branch 'master' of github.com:robintibor/braindecode 2017-10-18 15:33:24 +02:00
Robin Tibor Schirrmeister 750e060f3d now all trial segmentation happens by creating continuous labels first 2017-10-18 15:33:12 +02:00
Robin Tibor Schirrmeister 1a77e49a5b add breaks back to +1/-1 after before trial logic 2017-10-18 11:51:07 +02:00
Robin Tibor Schirrmeister f424e66674 more tiral segment logic, before removing old logic 2017-10-18 11:24:17 +02:00
robintibor 1b97959907 Changed get_edf_events -> find_edf_events 2017-10-09 23:32:28 +02:00
Robin Tibor Schirrmeister 6feb797cce class weights for log cat crossentropy 2017-10-03 18:21:48 +02:00
Robin Tibor Schirrmeister 1805809cb9 small documentation fix 2017-10-03 17:21:26 +02:00
Robin Tibor Schirrmeister a294170aab iterator and concatenate_two_sets that can deal with per-time-point y 2017-10-03 17:20:04 +02:00
Robin Tibor Schirrmeister 3694b49b31 update version numbers 2017-09-26 15:53:31 +02:00
Robin Tibor Schirrmeister 6a3f455f46 stride before pool option 2017-09-26 15:52:40 +02:00
Robin Tibor Schirrmeister 39d09cb5e4 now using convolution for average pooling in deepnet, for possiblitiy to use dilation 2017-09-18 16:33:58 +02:00
Robin Tibor Schirrmeister 4ed5d530fb added metadata to keep output 2017-09-18 16:17:56 +02:00
Robin Tibor Schirrmeister e3d731c65e Merge branch 'master' of github.com:robintibor/braindecode 2017-09-04 18:03:36 +02:00
Robin Tibor Schirrmeister ace43fc4a5 upgrade to new pytorch version, fixed bug with transforming to dense 2017-09-04 18:03:24 +02:00
robintibor d4d7437080 Update README.rst 2017-09-04 17:48:05 +02:00
robintibor e71e0737c3 Update README.rst 2017-08-26 12:38:05 +02:00
robintibor 8065440bf8 Fix citation 2017-08-26 12:27:27 +02:00
Robin Tibor Schirrmeister adef3ab441 num_filters -> n_filters for consistency 2017-08-12 10:38:17 +02:00
robintibor e8fddf3d55 Citation instructions added 2017-08-10 23:08:35 +02:00
Robin Tibor Schirrmeister 2ca7b920ea corrected momentum and epsilon terms, also added explanation about padding 2017-08-10 17:07:12 +02:00
Robin Tibor Schirrmeister 4b53e7007b using pinned memory 2017-08-10 17:04:13 +02:00
Robin Tibor Schirrmeister da1dc5a3a1 added scipy.signal import 2017-08-08 16:19:03 +02:00
Robin Tibor Schirrmeister 1f375ffa60 corrected decoding targets in tutorial 2017-08-04 15:10:13 +02:00
Robin Tibor Schirrmeister 78b2f94b39 visualization documented 2017-08-04 15:09:59 +02:00
Robin Tibor Schirrmeister db44f5cbf1 visualization documented 2017-08-04 15:09:55 +02:00
Robin Tibor Schirrmeister ef4d373c15 npto_var documented and with dtype argument 2017-08-04 15:09:39 +02:00
Robin Tibor Schirrmeister b119db6b5a log pure update times 2017-08-04 15:09:09 +02:00
Robin Tibor Schirrmeister 623b663abf removed unnecessary imports 2017-07-27 23:37:21 +02:00
Robin Tibor Schirrmeister 2deae50f26 incrementer version number 2017-07-27 23:37:12 +02:00
Robin Tibor Schirrmeister 3f3872e437 shallow fbcsp always intialize batch norm 2017-07-26 11:04:28 +02:00
Robin Tibor Schirrmeister 731591c9fc np to var now also accepts list, converst with np.asarray 2017-07-26 10:59:49 +02:00
Robin Tibor Schirrmeister 8641d4abd7 visualization doc part 2017-07-26 10:59:19 +02:00
Robin Tibor Schirrmeister d00d95722d reflecting cuda flag for random seeds in examples 2017-07-21 15:15:30 +02:00
Robin Tibor Schirrmeister ef3c09ad78 incremented verison for pypi and added visualization to docs 2017-07-13 00:47:52 +02:00
Robin Tibor Schirrmeister 3f0c11a9c5 forgot init py 2017-07-13 00:46:30 +02:00
Robin Tibor Schirrmeister 491ef506a0 fix marker summed warning float 2017-07-10 16:39:57 +02:00
Robin Tibor Schirrmeister b24c51c220 added troubleshooting section 2017-07-10 13:52:23 +02:00
Robin Tibor Schirrmeister db8ec688d3 nicer perturbation text 2017-07-10 13:34:51 +02:00
Robin Tibor Schirrmeister 0e0a1c3bb8 updated some documentation, references 2017-07-10 13:30:21 +02:00
Robin Tibor Schirrmeister 9c5af970f0 updated introductory text 2017-07-10 13:18:35 +02:00
Robin Tibor Schirrmeister b8dfd3c800 update version number 2017-07-10 12:50:00 +02:00
Robin Tibor Schirrmeister 54267e2955 documentation, perturbation notebook 2017-07-10 12:49:18 +02:00
Robin Tibor Schirrmeister 4f1c4b86a5 perturbation plots 2017-07-10 12:41:58 +02:00
Robin Tibor Schirrmeister 377e76fe42 cuda case fixed also added imports for cross subject load data variant 2017-07-09 16:40:40 +02:00
Robin Tibor Schirrmeister 5e580581b0 removed eog channels for bcic_iv_2a 2017-07-07 12:32:48 +02:00
Robin Tibor Schirrmeister 2fbf93d9ec code for reproducing results on bcic iv 2a 2017-07-06 18:55:02 +02:00
Robin Tibor Schirrmeister a450f1a838 bandpass lfilter should get axis not butter 2017-07-06 17:54:09 +02:00
Robin Tibor Schirrmeister 0ef699fd42 removed setup requires numpy 2017-07-06 15:35:11 +02:00
Robin Tibor Schirrmeister 857890fc40 fixed eegnet bias, added l2 l1loss 2017-07-06 15:18:41 +02:00
Robin Tibor Schirrmeister 80847f9fe0 added numpy install to doc 2017-07-06 15:13:33 +02:00
Robin Tibor Schirrmeister c28447235c removed torch from install_requires since not installable through pypi 2017-07-06 14:29:46 +02:00
Robin Tibor Schirrmeister ede5ccab19 added model loss func not in loss monitor documentatioN 2017-07-05 21:43:13 +02:00
Robin Tibor Schirrmeister f8061e045a updated version number, updated readme, setup.py, added model function loss to experiment 2017-07-05 21:41:08 +02:00
151 arquivos alterados com 10275 adições e 38111 exclusões
-4
Ver Arquivo
@@ -1,4 +0,0 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 832f1c3dea2d710628d6890dafbf90d6
tags: 645f666f9bcd5a90fca523b33c5a78b7
Ver Arquivo
+31
Ver Arquivo
@@ -0,0 +1,31 @@
BSD 3-Clause License
Copyright (c) 2017 Robin Tibor Schirrmeister
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A P
ARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER
OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
+5
Ver Arquivo
@@ -0,0 +1,5 @@
include README.rst
include LICENSE.txt
recursive-include docs *.ipynb *.rst conf.py Makefile
recursive-exclude docs *checkpoint.ipynb
+58
Ver Arquivo
@@ -0,0 +1,58 @@
Note: The old braindecode repository has been moved to
https://github.com/robintibor/braindevel.
Braindecode
===========
A deep learning toolbox to decode raw time-domain EEG.
For EEG researchers that want to want to work with deep learning and
deep learning researchers that want to work with EEG data.
For now focussed on convolutional networks.
Installation
============
1. Install pytorch from http://pytorch.org/ (you don't need to install torchvision).
2. Install numpy (necessary for resamply installation to work), e.g.:
.. code-block:: bash
pip install numpy
3. Install braindecode via pip:
.. code-block:: bash
pip install braindecode
Documentation
=============
Documentation is online under https://robintibor.github.io/braindecode/
Citing
======
If you use this code in a scientific publication, please cite us as:
.. code-block:: bibtex
@article {HBM:HBM23730,
author = {Schirrmeister, Robin Tibor and Springenberg, Jost Tobias and Fiederer,
Lukas Dominique Josef and Glasstetter, Martin and Eggensperger, Katharina and Tangermann, Michael and
Hutter, Frank and Burgard, Wolfram and Ball, Tonio},
title = {Deep learning with convolutional neural networks for EEG decoding and visualization},
journal = {Human Brain Mapping},
issn = {1097-0193},
url = {http://dx.doi.org/10.1002/hbm.23730},
doi = {10.1002/hbm.23730},
month = {aug},
year = {2017},
keywords = {electroencephalography, EEG analysis, machine learning, end-to-end learning, brain–machine interface,
brain–computer interface, model interpretability, brain mapping},
}
Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 40 KiB

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 26 KiB

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 42 KiB

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 26 KiB

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 28 KiB

-841
Ver Arquivo
@@ -1,841 +0,0 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true,
"nbsphinx": "hidden"
},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2\n",
"import os\n",
"os.sys.path.insert(0, '/home/schirrmr/braindecode/code/braindecode/')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Read and Decode BBCI Data"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This tutorial shows how to read and decode BBCI data."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup logging to see outputs"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import logging\n",
"import sys\n",
"logging.basicConfig(format='%(asctime)s %(levelname)s : %(message)s',\n",
" level=logging.DEBUG, stream=sys.stdout)\n",
"log = logging.getLogger()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Load and preprocess data"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"First set the filename and the sensors you want to load. If you set\n",
"\n",
"```python\n",
"load_sensor_names=None\n",
"```\n",
"\n",
"or just remove the parameter from the function call, all sensors will be loaded."
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Creating RawArray with float64 data, n_channels=3, n_times=3451320\n",
" Range : 0 ... 3451319 = 0.000 ... 6902.638 secs\n",
"Ready.\n"
]
}
],
"source": [
"from braindecode.datasets.bbci import BBCIDataset\n",
"train_filename = '/home/schirrmr/data/BBCI-without-last-runs/BhNoMoSc1S001R01_ds10_1-12.BBCI.mat'\n",
"cnt = BBCIDataset(train_filename, load_sensor_names=['C3', 'CPz', 'C4']).load()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Preprocessing on continous data"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"First remove the stimulus channel, than apply any preprocessing you like. There are some very few directions available from Braindecode, such as resample_cnt. But you can apply any function on the chan x time matrix of the mne raw object (`cnt` in the code) by calling `mne_apply` with two arguments:\n",
"\n",
"1. Your function (2d-array-> 2darray), that transforms the channel x timesteps data array\n",
"2. the Raw data object from mne itself"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:56:32,890 WARNING : This is not causal, uses future data....\n",
"2017-11-03 17:56:32,891 INFO : Resampling from 500.000000 to 250.000000 Hz.\n",
"Creating RawArray with float64 data, n_channels=3, n_times=1725660\n",
" Range : 0 ... 1725659 = 0.000 ... 6902.636 secs\n",
"Ready.\n"
]
}
],
"source": [
"from braindecode.mne_ext.signalproc import resample_cnt, mne_apply\n",
"from braindecode.datautil.signalproc import exponential_running_standardize\n",
"# Remove stimulus channel\n",
"cnt = cnt.drop_channels(['STI 014'])\n",
"cnt = resample_cnt(cnt, 250)\n",
"# mne apply will apply the function to the data (a 2d-numpy-array)\n",
"# have to transpose data back and forth, since\n",
"# exponential_running_standardize expects time x chans order\n",
"# while mne object has chans x time order\n",
"cnt = mne_apply(lambda a: exponential_running_standardize(\n",
" a.T, init_block_size=1000,factor_new=0.001, eps=1e-4).T,\n",
" cnt)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Transform to epoched dataset "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Braindecode supplies the `create_signal_target_from_raw_mne` function, which will transform the mne raw object into a `SignalAndTarget` object for use in Braindecode.\n",
"`name_to_code` should be an `OrderedDict` that maps class names to either one or a list of marker codes for that class."
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:56:34,795 INFO : Trial per class:\n",
"Counter({'Feet': 225, 'Right': 224, 'Rest': 224, 'Left': 224})\n"
]
}
],
"source": [
"from braindecode.datautil.trial_segment import create_signal_target_from_raw_mne\n",
"from collections import OrderedDict\n",
"# can also give lists of marker codes in case a class has multiple marker codes...\n",
"name_to_code = OrderedDict([('Right', 1), ('Left', 2), ('Rest', 3), ('Feet', 4)])\n",
"segment_ival_ms = [-500,4000]\n",
"\n",
"train_set = create_signal_target_from_raw_mne(cnt, name_to_code, segment_ival_ms)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Same for test set"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Creating RawArray with float64 data, n_channels=3, n_times=617090\n",
" Range : 0 ... 617089 = 0.000 ... 1234.178 secs\n",
"Ready.\n",
"2017-11-03 17:56:35,707 WARNING : This is not causal, uses future data....\n",
"2017-11-03 17:56:35,708 INFO : Resampling from 500.000000 to 250.000000 Hz.\n",
"Creating RawArray with float64 data, n_channels=3, n_times=308545\n",
" Range : 0 ... 308544 = 0.000 ... 1234.176 secs\n",
"Ready.\n",
"2017-11-03 17:56:36,026 INFO : Trial per class:\n",
"Counter({'Feet': 40, 'Left': 40, 'Rest': 40, 'Right': 40})\n"
]
}
],
"source": [
"test_filename = '/home/schirrmr/data/BBCI-only-last-runs/BhNoMoSc1S001R13_ds10_1-2BBCI.mat'\n",
"cnt = BBCIDataset(test_filename, load_sensor_names=['C3', 'CPz', 'C4']).load()\n",
"# Remove stimulus channel\n",
"cnt = cnt.drop_channels(['STI 014'])\n",
"cnt = resample_cnt(cnt, 250)\n",
"cnt = mne_apply(lambda a: exponential_running_standardize(\n",
" a.T, init_block_size=1000,factor_new=0.001, eps=1e-4).T,\n",
" cnt)\n",
"test_set = create_signal_target_from_raw_mne(cnt, name_to_code, segment_ival_ms)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-info\">\n",
"\n",
"In case of start and stop markers, provide a `name_to_stop_codes` dictionary (same as for the start codes in this example) as a final argument to `create_signal_target_from_raw_mne`. See [Read and Decode BBCI Data with Start-Stop-Markers Tutorial](BBCI_Data_Start_Stop.html)\n",
"\n",
"\n",
"</div>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Split off a validation set."
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.datautil.splitters import split_into_two_sets\n",
"\n",
"train_set, valid_set = split_into_two_sets(train_set, first_set_fraction=0.8)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Create the model"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.models.shallow_fbcsp import ShallowFBCSPNet\n",
"from torch import nn\n",
"from braindecode.torch_ext.util import set_random_seeds\n",
"from braindecode.models.util import to_dense_prediction_model\n",
"\n",
"# Set if you want to use GPU\n",
"# You can also use torch.cuda.is_available() to determine if cuda is available on your machine.\n",
"cuda = True\n",
"set_random_seeds(seed=20170629, cuda=cuda)\n",
"\n",
"# This will determine how many crops are processed in parallel\n",
"input_time_length = 800\n",
"in_chans = 3\n",
"n_classes = 4\n",
"# final_conv_length determines the size of the receptive field of the ConvNet\n",
"model = ShallowFBCSPNet(in_chans=in_chans, n_classes=n_classes, input_time_length=input_time_length,\n",
" final_conv_length=30).create_network()\n",
"to_dense_prediction_model(model)\n",
"\n",
"if cuda:\n",
" model.cuda()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup optimizer and iterator"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"267 predictions per input/trial\n"
]
}
],
"source": [
"from torch import optim\n",
"import numpy as np\n",
"\n",
"optimizer = optim.Adam(model.parameters())\n",
"\n",
"from braindecode.torch_ext.util import np_to_var\n",
"# determine output size\n",
"test_input = np_to_var(np.ones((2, 3, input_time_length, 1), dtype=np.float32))\n",
"if cuda:\n",
" test_input = test_input.cuda()\n",
"out = model(test_input)\n",
"n_preds_per_input = out.cpu().data.numpy().shape[2]\n",
"print(\"{:d} predictions per input/trial\".format(n_preds_per_input))\n",
"\n",
"from braindecode.datautil.iterators import CropsFromTrialsIterator\n",
"iterator = CropsFromTrialsIterator(batch_size=32,input_time_length=input_time_length,\n",
" n_preds_per_input=n_preds_per_input)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup Monitors, Loss function, Stop Criteria"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.experiments.experiment import Experiment\n",
"from braindecode.experiments.monitors import RuntimeMonitor, LossMonitor, CroppedTrialMisclassMonitor, MisclassMonitor\n",
"from braindecode.experiments.stopcriteria import MaxEpochs\n",
"import torch.nn.functional as F\n",
"import torch as th\n",
"from braindecode.torch_ext.modules import Expression\n",
"\n",
"\n",
"loss_function = lambda preds, targets: F.nll_loss(th.mean(preds, dim=2).squeeze(), targets)\n",
"\n",
"model_constraint = None\n",
"monitors = [LossMonitor(), MisclassMonitor(col_suffix='sample_misclass'),\n",
" CroppedTrialMisclassMonitor(input_time_length), RuntimeMonitor(),]\n",
"stop_criterion = MaxEpochs(20)\n",
"exp = Experiment(model, train_set, valid_set, test_set, iterator, loss_function, optimizer, model_constraint,\n",
" monitors, stop_criterion, remember_best_column='valid_misclass',\n",
" run_after_early_stop=True, batch_modifier=None, cuda=cuda)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Run experiment"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:56:39,458 INFO : Run until first stop...\n",
"2017-11-03 17:56:40,298 INFO : Epoch 0\n",
"2017-11-03 17:56:40,299 INFO : train_loss 7.89184\n",
"2017-11-03 17:56:40,300 INFO : valid_loss 7.72731\n",
"2017-11-03 17:56:40,301 INFO : test_loss 7.75617\n",
"2017-11-03 17:56:40,303 INFO : train_sample_misclass 0.75013\n",
"2017-11-03 17:56:40,304 INFO : valid_sample_misclass 0.74856\n",
"2017-11-03 17:56:40,305 INFO : test_sample_misclass 0.75115\n",
"2017-11-03 17:56:40,306 INFO : train_misclass 0.75070\n",
"2017-11-03 17:56:40,308 INFO : valid_misclass 0.74860\n",
"2017-11-03 17:56:40,309 INFO : test_misclass 0.75000\n",
"2017-11-03 17:56:40,310 INFO : runtime 0.00000\n",
"2017-11-03 17:56:40,311 INFO : \n",
"2017-11-03 17:56:40,313 INFO : New best valid_misclass: 0.748603\n",
"2017-11-03 17:56:40,314 INFO : \n",
"2017-11-03 17:56:41,475 INFO : Time only for training updates: 0.94s\n",
"2017-11-03 17:56:42,262 INFO : Epoch 1\n",
"2017-11-03 17:56:42,263 INFO : train_loss 0.79550\n",
"2017-11-03 17:56:42,264 INFO : valid_loss 0.79273\n",
"2017-11-03 17:56:42,265 INFO : test_loss 0.83673\n",
"2017-11-03 17:56:42,266 INFO : train_sample_misclass 0.36961\n",
"2017-11-03 17:56:42,267 INFO : valid_sample_misclass 0.37374\n",
"2017-11-03 17:56:42,268 INFO : test_sample_misclass 0.42969\n",
"2017-11-03 17:56:42,268 INFO : train_misclass 0.30223\n",
"2017-11-03 17:56:42,269 INFO : valid_misclass 0.26257\n",
"2017-11-03 17:56:42,270 INFO : test_misclass 0.33750\n",
"2017-11-03 17:56:42,271 INFO : runtime 2.01650\n",
"2017-11-03 17:56:42,271 INFO : \n",
"2017-11-03 17:56:42,274 INFO : New best valid_misclass: 0.262570\n",
"2017-11-03 17:56:42,274 INFO : \n",
"2017-11-03 17:56:43,423 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:56:44,209 INFO : Epoch 2\n",
"2017-11-03 17:56:44,211 INFO : train_loss 0.68180\n",
"2017-11-03 17:56:44,212 INFO : valid_loss 0.65888\n",
"2017-11-03 17:56:44,213 INFO : test_loss 0.74155\n",
"2017-11-03 17:56:44,214 INFO : train_sample_misclass 0.29325\n",
"2017-11-03 17:56:44,215 INFO : valid_sample_misclass 0.30236\n",
"2017-11-03 17:56:44,216 INFO : test_sample_misclass 0.37317\n",
"2017-11-03 17:56:44,217 INFO : train_misclass 0.22563\n",
"2017-11-03 17:56:44,218 INFO : valid_misclass 0.21229\n",
"2017-11-03 17:56:44,219 INFO : test_misclass 0.29375\n",
"2017-11-03 17:56:44,220 INFO : runtime 1.94802\n",
"2017-11-03 17:56:44,221 INFO : \n",
"2017-11-03 17:56:44,223 INFO : New best valid_misclass: 0.212291\n",
"2017-11-03 17:56:44,224 INFO : \n",
"2017-11-03 17:56:45,377 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:56:46,152 INFO : Epoch 3\n",
"2017-11-03 17:56:46,153 INFO : train_loss 0.65244\n",
"2017-11-03 17:56:46,154 INFO : valid_loss 0.68508\n",
"2017-11-03 17:56:46,155 INFO : test_loss 0.81607\n",
"2017-11-03 17:56:46,156 INFO : train_sample_misclass 0.27737\n",
"2017-11-03 17:56:46,157 INFO : valid_sample_misclass 0.32108\n",
"2017-11-03 17:56:46,157 INFO : test_sample_misclass 0.43695\n",
"2017-11-03 17:56:46,158 INFO : train_misclass 0.20195\n",
"2017-11-03 17:56:46,159 INFO : valid_misclass 0.25140\n",
"2017-11-03 17:56:46,160 INFO : test_misclass 0.36250\n",
"2017-11-03 17:56:46,160 INFO : runtime 1.95389\n",
"2017-11-03 17:56:46,161 INFO : \n",
"2017-11-03 17:56:47,319 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:56:48,106 INFO : Epoch 4\n",
"2017-11-03 17:56:48,107 INFO : train_loss 0.59123\n",
"2017-11-03 17:56:48,108 INFO : valid_loss 0.57887\n",
"2017-11-03 17:56:48,109 INFO : test_loss 0.71750\n",
"2017-11-03 17:56:48,110 INFO : train_sample_misclass 0.25470\n",
"2017-11-03 17:56:48,110 INFO : valid_sample_misclass 0.25364\n",
"2017-11-03 17:56:48,111 INFO : test_sample_misclass 0.35189\n",
"2017-11-03 17:56:48,112 INFO : train_misclass 0.20474\n",
"2017-11-03 17:56:48,113 INFO : valid_misclass 0.20670\n",
"2017-11-03 17:56:48,113 INFO : test_misclass 0.30625\n",
"2017-11-03 17:56:48,114 INFO : runtime 1.94214\n",
"2017-11-03 17:56:48,115 INFO : \n",
"2017-11-03 17:56:48,117 INFO : New best valid_misclass: 0.206704\n",
"2017-11-03 17:56:48,118 INFO : \n",
"2017-11-03 17:56:49,274 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:56:50,058 INFO : Epoch 5\n",
"2017-11-03 17:56:50,060 INFO : train_loss 0.76997\n",
"2017-11-03 17:56:50,060 INFO : valid_loss 0.72850\n",
"2017-11-03 17:56:50,061 INFO : test_loss 0.83681\n",
"2017-11-03 17:56:50,062 INFO : train_sample_misclass 0.33041\n",
"2017-11-03 17:56:50,063 INFO : valid_sample_misclass 0.32293\n",
"2017-11-03 17:56:50,063 INFO : test_sample_misclass 0.39756\n",
"2017-11-03 17:56:50,064 INFO : train_misclass 0.25487\n",
"2017-11-03 17:56:50,065 INFO : valid_misclass 0.29050\n",
"2017-11-03 17:56:50,066 INFO : test_misclass 0.34375\n",
"2017-11-03 17:56:50,066 INFO : runtime 1.95470\n",
"2017-11-03 17:56:50,067 INFO : \n",
"2017-11-03 17:56:51,213 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:56:51,992 INFO : Epoch 6\n",
"2017-11-03 17:56:51,994 INFO : train_loss 0.61221\n",
"2017-11-03 17:56:51,995 INFO : valid_loss 0.62389\n",
"2017-11-03 17:56:51,996 INFO : test_loss 0.72417\n",
"2017-11-03 17:56:51,996 INFO : train_sample_misclass 0.26388\n",
"2017-11-03 17:56:51,997 INFO : valid_sample_misclass 0.28059\n",
"2017-11-03 17:56:51,998 INFO : test_sample_misclass 0.34581\n",
"2017-11-03 17:56:51,999 INFO : train_misclass 0.21031\n",
"2017-11-03 17:56:51,999 INFO : valid_misclass 0.22346\n",
"2017-11-03 17:56:52,000 INFO : test_misclass 0.30625\n",
"2017-11-03 17:56:52,001 INFO : runtime 1.93918\n",
"2017-11-03 17:56:52,002 INFO : \n",
"2017-11-03 17:56:53,152 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:56:53,932 INFO : Epoch 7\n",
"2017-11-03 17:56:53,933 INFO : train_loss 0.57982\n",
"2017-11-03 17:56:53,934 INFO : valid_loss 0.60830\n",
"2017-11-03 17:56:53,936 INFO : test_loss 0.73615\n",
"2017-11-03 17:56:53,937 INFO : train_sample_misclass 0.25238\n",
"2017-11-03 17:56:53,938 INFO : valid_sample_misclass 0.30217\n",
"2017-11-03 17:56:53,939 INFO : test_sample_misclass 0.36385\n",
"2017-11-03 17:56:53,941 INFO : train_misclass 0.17827\n",
"2017-11-03 17:56:53,942 INFO : valid_misclass 0.21788\n",
"2017-11-03 17:56:53,943 INFO : test_misclass 0.31875\n",
"2017-11-03 17:56:53,944 INFO : runtime 1.93903\n",
"2017-11-03 17:56:53,946 INFO : \n",
"2017-11-03 17:56:55,088 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:56:55,866 INFO : Epoch 8\n",
"2017-11-03 17:56:55,867 INFO : train_loss 0.53394\n",
"2017-11-03 17:56:55,868 INFO : valid_loss 0.54075\n",
"2017-11-03 17:56:55,868 INFO : test_loss 0.69350\n",
"2017-11-03 17:56:55,869 INFO : train_sample_misclass 0.22455\n",
"2017-11-03 17:56:55,870 INFO : valid_sample_misclass 0.24399\n",
"2017-11-03 17:56:55,871 INFO : test_sample_misclass 0.35034\n",
"2017-11-03 17:56:55,872 INFO : train_misclass 0.15460\n",
"2017-11-03 17:56:55,872 INFO : valid_misclass 0.14525\n",
"2017-11-03 17:56:55,873 INFO : test_misclass 0.21250\n",
"2017-11-03 17:56:55,874 INFO : runtime 1.93581\n",
"2017-11-03 17:56:55,875 INFO : \n",
"2017-11-03 17:56:55,877 INFO : New best valid_misclass: 0.145251\n",
"2017-11-03 17:56:55,878 INFO : \n",
"2017-11-03 17:56:57,025 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:56:57,808 INFO : Epoch 9\n",
"2017-11-03 17:56:57,809 INFO : train_loss 0.52253\n",
"2017-11-03 17:56:57,810 INFO : valid_loss 0.55157\n",
"2017-11-03 17:56:57,811 INFO : test_loss 0.66259\n",
"2017-11-03 17:56:57,812 INFO : train_sample_misclass 0.20662\n",
"2017-11-03 17:56:57,813 INFO : valid_sample_misclass 0.23934\n",
"2017-11-03 17:56:57,813 INFO : test_sample_misclass 0.31630\n",
"2017-11-03 17:56:57,814 INFO : train_misclass 0.12535\n",
"2017-11-03 17:56:57,815 INFO : valid_misclass 0.15084\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:56:57,816 INFO : test_misclass 0.19375\n",
"2017-11-03 17:56:57,816 INFO : runtime 1.93780\n",
"2017-11-03 17:56:57,817 INFO : \n",
"2017-11-03 17:56:58,966 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:56:59,747 INFO : Epoch 10\n",
"2017-11-03 17:56:59,749 INFO : train_loss 0.63435\n",
"2017-11-03 17:56:59,749 INFO : valid_loss 0.54363\n",
"2017-11-03 17:56:59,750 INFO : test_loss 0.66703\n",
"2017-11-03 17:56:59,751 INFO : train_sample_misclass 0.23284\n",
"2017-11-03 17:56:59,752 INFO : valid_sample_misclass 0.25216\n",
"2017-11-03 17:56:59,752 INFO : test_sample_misclass 0.31337\n",
"2017-11-03 17:56:59,753 INFO : train_misclass 0.19081\n",
"2017-11-03 17:56:59,754 INFO : valid_misclass 0.16760\n",
"2017-11-03 17:56:59,755 INFO : test_misclass 0.21875\n",
"2017-11-03 17:56:59,755 INFO : runtime 1.94030\n",
"2017-11-03 17:56:59,756 INFO : \n",
"2017-11-03 17:57:00,903 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:57:01,683 INFO : Epoch 11\n",
"2017-11-03 17:57:01,684 INFO : train_loss 0.50823\n",
"2017-11-03 17:57:01,685 INFO : valid_loss 0.57940\n",
"2017-11-03 17:57:01,686 INFO : test_loss 0.65863\n",
"2017-11-03 17:57:01,686 INFO : train_sample_misclass 0.21697\n",
"2017-11-03 17:57:01,687 INFO : valid_sample_misclass 0.26513\n",
"2017-11-03 17:57:01,688 INFO : test_sample_misclass 0.33127\n",
"2017-11-03 17:57:01,689 INFO : train_misclass 0.13510\n",
"2017-11-03 17:57:01,689 INFO : valid_misclass 0.18994\n",
"2017-11-03 17:57:01,690 INFO : test_misclass 0.24375\n",
"2017-11-03 17:57:01,691 INFO : runtime 1.93741\n",
"2017-11-03 17:57:01,692 INFO : \n",
"2017-11-03 17:57:02,839 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:57:03,619 INFO : Epoch 12\n",
"2017-11-03 17:57:03,621 INFO : train_loss 0.51300\n",
"2017-11-03 17:57:03,622 INFO : valid_loss 0.54631\n",
"2017-11-03 17:57:03,623 INFO : test_loss 0.64827\n",
"2017-11-03 17:57:03,624 INFO : train_sample_misclass 0.20628\n",
"2017-11-03 17:57:03,624 INFO : valid_sample_misclass 0.23820\n",
"2017-11-03 17:57:03,625 INFO : test_sample_misclass 0.32021\n",
"2017-11-03 17:57:03,626 INFO : train_misclass 0.13649\n",
"2017-11-03 17:57:03,627 INFO : valid_misclass 0.15642\n",
"2017-11-03 17:57:03,628 INFO : test_misclass 0.24375\n",
"2017-11-03 17:57:03,628 INFO : runtime 1.93566\n",
"2017-11-03 17:57:03,629 INFO : \n",
"2017-11-03 17:57:04,777 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:57:05,568 INFO : Epoch 13\n",
"2017-11-03 17:57:05,569 INFO : train_loss 0.53439\n",
"2017-11-03 17:57:05,570 INFO : valid_loss 0.57364\n",
"2017-11-03 17:57:05,571 INFO : test_loss 0.75146\n",
"2017-11-03 17:57:05,572 INFO : train_sample_misclass 0.22174\n",
"2017-11-03 17:57:05,573 INFO : valid_sample_misclass 0.25399\n",
"2017-11-03 17:57:05,573 INFO : test_sample_misclass 0.36589\n",
"2017-11-03 17:57:05,574 INFO : train_misclass 0.14903\n",
"2017-11-03 17:57:05,575 INFO : valid_misclass 0.16201\n",
"2017-11-03 17:57:05,576 INFO : test_misclass 0.27500\n",
"2017-11-03 17:57:05,576 INFO : runtime 1.93826\n",
"2017-11-03 17:57:05,577 INFO : \n",
"2017-11-03 17:57:06,724 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:57:07,510 INFO : Epoch 14\n",
"2017-11-03 17:57:07,511 INFO : train_loss 0.49450\n",
"2017-11-03 17:57:07,512 INFO : valid_loss 0.50904\n",
"2017-11-03 17:57:07,513 INFO : test_loss 0.59711\n",
"2017-11-03 17:57:07,514 INFO : train_sample_misclass 0.19409\n",
"2017-11-03 17:57:07,514 INFO : valid_sample_misclass 0.23406\n",
"2017-11-03 17:57:07,515 INFO : test_sample_misclass 0.29099\n",
"2017-11-03 17:57:07,516 INFO : train_misclass 0.11421\n",
"2017-11-03 17:57:07,517 INFO : valid_misclass 0.15084\n",
"2017-11-03 17:57:07,517 INFO : test_misclass 0.21875\n",
"2017-11-03 17:57:07,518 INFO : runtime 1.94703\n",
"2017-11-03 17:57:07,519 INFO : \n",
"2017-11-03 17:57:08,667 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:57:09,447 INFO : Epoch 15\n",
"2017-11-03 17:57:09,448 INFO : train_loss 0.55814\n",
"2017-11-03 17:57:09,449 INFO : valid_loss 0.52381\n",
"2017-11-03 17:57:09,450 INFO : test_loss 0.63100\n",
"2017-11-03 17:57:09,450 INFO : train_sample_misclass 0.19992\n",
"2017-11-03 17:57:09,451 INFO : valid_sample_misclass 0.22669\n",
"2017-11-03 17:57:09,452 INFO : test_sample_misclass 0.30698\n",
"2017-11-03 17:57:09,453 INFO : train_misclass 0.14624\n",
"2017-11-03 17:57:09,453 INFO : valid_misclass 0.16201\n",
"2017-11-03 17:57:09,454 INFO : test_misclass 0.23750\n",
"2017-11-03 17:57:09,455 INFO : runtime 1.94305\n",
"2017-11-03 17:57:09,456 INFO : \n",
"2017-11-03 17:57:10,604 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:57:11,388 INFO : Epoch 16\n",
"2017-11-03 17:57:11,389 INFO : train_loss 0.54798\n",
"2017-11-03 17:57:11,390 INFO : valid_loss 0.60483\n",
"2017-11-03 17:57:11,391 INFO : test_loss 0.70932\n",
"2017-11-03 17:57:11,392 INFO : train_sample_misclass 0.23531\n",
"2017-11-03 17:57:11,393 INFO : valid_sample_misclass 0.26090\n",
"2017-11-03 17:57:11,394 INFO : test_sample_misclass 0.35440\n",
"2017-11-03 17:57:11,396 INFO : train_misclass 0.19359\n",
"2017-11-03 17:57:11,397 INFO : valid_misclass 0.22905\n",
"2017-11-03 17:57:11,398 INFO : test_misclass 0.32500\n",
"2017-11-03 17:57:11,399 INFO : runtime 1.93673\n",
"2017-11-03 17:57:11,399 INFO : \n",
"2017-11-03 17:57:12,550 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:57:13,342 INFO : Epoch 17\n",
"2017-11-03 17:57:13,343 INFO : train_loss 0.57735\n",
"2017-11-03 17:57:13,344 INFO : valid_loss 0.60624\n",
"2017-11-03 17:57:13,344 INFO : test_loss 0.71293\n",
"2017-11-03 17:57:13,345 INFO : train_sample_misclass 0.23263\n",
"2017-11-03 17:57:13,346 INFO : valid_sample_misclass 0.25866\n",
"2017-11-03 17:57:13,347 INFO : test_sample_misclass 0.35750\n",
"2017-11-03 17:57:13,347 INFO : train_misclass 0.18524\n",
"2017-11-03 17:57:13,348 INFO : valid_misclass 0.19553\n",
"2017-11-03 17:57:13,349 INFO : test_misclass 0.29375\n",
"2017-11-03 17:57:13,350 INFO : runtime 1.94563\n",
"2017-11-03 17:57:13,350 INFO : \n",
"2017-11-03 17:57:14,500 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:57:15,288 INFO : Epoch 18\n",
"2017-11-03 17:57:15,289 INFO : train_loss 0.46534\n",
"2017-11-03 17:57:15,290 INFO : valid_loss 0.52169\n",
"2017-11-03 17:57:15,291 INFO : test_loss 0.64741\n",
"2017-11-03 17:57:15,292 INFO : train_sample_misclass 0.19295\n",
"2017-11-03 17:57:15,292 INFO : valid_sample_misclass 0.23086\n",
"2017-11-03 17:57:15,293 INFO : test_sample_misclass 0.33224\n",
"2017-11-03 17:57:15,294 INFO : train_misclass 0.11978\n",
"2017-11-03 17:57:15,295 INFO : valid_misclass 0.18436\n",
"2017-11-03 17:57:15,295 INFO : test_misclass 0.24375\n",
"2017-11-03 17:57:15,296 INFO : runtime 1.95093\n",
"2017-11-03 17:57:15,297 INFO : \n",
"2017-11-03 17:57:16,445 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:57:17,230 INFO : Epoch 19\n",
"2017-11-03 17:57:17,232 INFO : train_loss 0.47752\n",
"2017-11-03 17:57:17,232 INFO : valid_loss 0.55626\n",
"2017-11-03 17:57:17,233 INFO : test_loss 0.68759\n",
"2017-11-03 17:57:17,234 INFO : train_sample_misclass 0.20194\n",
"2017-11-03 17:57:17,235 INFO : valid_sample_misclass 0.24273\n",
"2017-11-03 17:57:17,236 INFO : test_sample_misclass 0.35215\n",
"2017-11-03 17:57:17,236 INFO : train_misclass 0.13928\n",
"2017-11-03 17:57:17,237 INFO : valid_misclass 0.16201\n",
"2017-11-03 17:57:17,238 INFO : test_misclass 0.23750\n",
"2017-11-03 17:57:17,239 INFO : runtime 1.94504\n",
"2017-11-03 17:57:17,240 INFO : \n",
"2017-11-03 17:57:18,387 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:57:19,174 INFO : Epoch 20\n",
"2017-11-03 17:57:19,175 INFO : train_loss 0.46220\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:57:19,176 INFO : valid_loss 0.54947\n",
"2017-11-03 17:57:19,177 INFO : test_loss 0.62923\n",
"2017-11-03 17:57:19,178 INFO : train_sample_misclass 0.18707\n",
"2017-11-03 17:57:19,179 INFO : valid_sample_misclass 0.24050\n",
"2017-11-03 17:57:19,179 INFO : test_sample_misclass 0.29137\n",
"2017-11-03 17:57:19,180 INFO : train_misclass 0.10864\n",
"2017-11-03 17:57:19,181 INFO : valid_misclass 0.18436\n",
"2017-11-03 17:57:19,182 INFO : test_misclass 0.23750\n",
"2017-11-03 17:57:19,182 INFO : runtime 1.94147\n",
"2017-11-03 17:57:19,183 INFO : \n",
"2017-11-03 17:57:19,184 INFO : Setup for second stop...\n",
"2017-11-03 17:57:19,188 INFO : Train loss to reach 0.53394\n",
"2017-11-03 17:57:19,189 INFO : Run until second stop...\n",
"2017-11-03 17:57:20,151 INFO : Epoch 9\n",
"2017-11-03 17:57:20,153 INFO : train_loss 0.53530\n",
"2017-11-03 17:57:20,154 INFO : valid_loss 0.54075\n",
"2017-11-03 17:57:20,154 INFO : test_loss 0.69350\n",
"2017-11-03 17:57:20,155 INFO : train_sample_misclass 0.22843\n",
"2017-11-03 17:57:20,156 INFO : valid_sample_misclass 0.24399\n",
"2017-11-03 17:57:20,157 INFO : test_sample_misclass 0.35034\n",
"2017-11-03 17:57:20,157 INFO : train_misclass 0.15273\n",
"2017-11-03 17:57:20,158 INFO : valid_misclass 0.14525\n",
"2017-11-03 17:57:20,159 INFO : test_misclass 0.21250\n",
"2017-11-03 17:57:20,160 INFO : runtime 0.80763\n",
"2017-11-03 17:57:20,161 INFO : \n",
"2017-11-03 17:57:21,603 INFO : Time only for training updates: 1.16s\n",
"2017-11-03 17:57:22,533 INFO : Epoch 10\n",
"2017-11-03 17:57:22,534 INFO : train_loss 0.54183\n",
"2017-11-03 17:57:22,535 INFO : valid_loss 0.50682\n",
"2017-11-03 17:57:22,536 INFO : test_loss 0.64068\n",
"2017-11-03 17:57:22,537 INFO : train_sample_misclass 0.22782\n",
"2017-11-03 17:57:22,537 INFO : valid_sample_misclass 0.23420\n",
"2017-11-03 17:57:22,538 INFO : test_sample_misclass 0.31642\n",
"2017-11-03 17:57:22,539 INFO : train_misclass 0.18283\n",
"2017-11-03 17:57:22,540 INFO : valid_misclass 0.15642\n",
"2017-11-03 17:57:22,540 INFO : test_misclass 0.24375\n",
"2017-11-03 17:57:22,541 INFO : runtime 2.40818\n",
"2017-11-03 17:57:22,542 INFO : \n"
]
}
],
"source": [
"exp.run()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We arrive at ca. 80% accuracy."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"If you want to do trialwise decoding instead of cropped decoding, perform the following changes:\n",
"\n",
"\n",
"Change:\n",
"```python\n",
"# This will determine how many crops are processed in parallel\n",
"input_time_length = 800\n",
"in_chans = 3\n",
"n_classes = 4\n",
"# final_conv_length determines the size of the receptive field of the ConvNet\n",
"model = ShallowFBCSPNet(in_chans=in_chans, n_classes=n_classes, input_time_length=input_time_length,\n",
" final_conv_length=30).create_network()\n",
"```\n",
"\n",
"to:\n",
"```python\n",
"# This will determine how many crops are processed in parallel\n",
"input_time_length = train_set.X.shape[2]\n",
"in_chans = 3\n",
"n_classes = 4\n",
"# final_conv_length determines the size of the receptive field of the ConvNet\n",
"model = ShallowFBCSPNet(in_chans=in_chans, n_classes=n_classes, input_time_length=input_time_length,\n",
" final_conv_length='auto').create_network()\n",
"```\n",
"\n",
"Remove:\n",
"\n",
"```python\n",
"to_dense_prediction_model(model)\n",
"```\n",
"\n",
"Remove:\n",
"\n",
"\n",
"```python\n",
"from braindecode.torch_ext.util import np_to_var\n",
"# determine output size\n",
"test_input = np_to_var(np.ones((2, 3, input_time_length, 1), dtype=np.float32))\n",
"if cuda:\n",
" test_input = test_input.cuda()\n",
"out = model(test_input)\n",
"n_preds_per_input = out.cpu().data.numpy().shape[2]\n",
"print(\"{:d} predictions per input/trial\".format(n_preds_per_input))\n",
"```\n",
"\n",
"Change:\n",
"\n",
"```python\n",
"from braindecode.datautil.iterators import CropsFromTrialsIterator\n",
"iterator = CropsFromTrialsIterator(batch_size=32,input_time_length=input_time_length,\n",
" n_preds_per_input=n_preds_per_input)\n",
"```\n",
"\n",
"to:\n",
"\n",
"```python\n",
"from braindecode.datautil.iterators import BalancedBatchSizeIterator\n",
"iterator = BalancedBatchSizeIterator(batch_size=32)\n",
"```\n",
"\n",
"\n",
"Change:\n",
"\n",
"```python\n",
"loss_function = lambda preds, targets: F.nll_loss(th.mean(preds, dim=2)[:,:,0], targets)\n",
"```\n",
"\n",
"to:\n",
"\n",
"```python\n",
"loss_function = F.nll_loss\n",
"```\n",
"\n",
"Change:\n",
"\n",
"```python\n",
"monitors = [LossMonitor(), MisclassMonitor(col_suffix='sample_misclass'),\n",
" CroppedTrialMisclassMonitor(input_time_length), RuntimeMonitor(),]\n",
"```\n",
"\n",
"to:\n",
"\n",
"```python\n",
"monitors = [LossMonitor(), MisclassMonitor(col_suffix='misclass'), \n",
" RuntimeMonitor(),]\n",
"```\n",
"\n",
"Resulting code can be seen at [BBCI Data Epoched](BBCI_Data_Epoched.html)."
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.6"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
@@ -1,899 +0,0 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true,
"nbsphinx": "hidden"
},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2\n",
"import os\n",
"os.sys.path.insert(0, '/home/schirrmr/braindecode/code/braindecode/')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Read and Decode BBCI Data with Start-Stop-Markers"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This tutorial shows how to read and decode BBCI data with start and stop markers. The data loading part is more complicated and it is advised to read the other tutorials before."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup logging to see outputs"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import logging\n",
"import sys\n",
"logging.basicConfig(format='%(asctime)s %(levelname)s : %(message)s',\n",
" level=logging.DEBUG, stream=sys.stdout)\n",
"log = logging.getLogger()\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Load and preprocess data"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This is a bit more complicated than before since we have to add breaks etc. Here I now opt to add breaks do all preprocessings per run and only later combine them together."
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import numpy as np\n",
"from braindecode.datautil.splitters import concatenate_sets\n",
"from braindecode.datautil.trial_segment import create_signal_target_from_raw_mne, add_breaks\n",
"from braindecode.datasets.bbci import load_bbci_sets_from_folder\n",
"from copy import deepcopy\n",
"from braindecode.mne_ext.signalproc import resample_cnt, mne_apply\n",
"from braindecode.datautil.signalproc import lowpass_cnt\n",
"from braindecode.datautil.signalproc import exponential_running_standardize\n",
"\n",
"def create_cnts(folder, runs,):\n",
" # Load data\n",
" cnts = load_bbci_sets_from_folder(folder, runs)\n",
" \n",
" # Now do some preprocessings:\n",
" # Resampling to 250 Hz, lowpass below 38, eponential standardization\n",
" \n",
" new_cnts = []\n",
" for cnt in cnts:\n",
" # Only take some channels \n",
" #cnt = cnt.drop_channels(['STI 014']) # This would remove stimulus channel\n",
" cnt = cnt.pick_channels(['C3', 'CPz', 'C4'])\n",
" log.info(\"Preprocessing....\")\n",
" cnt = mne_apply(lambda a: lowpass_cnt(a, 38,cnt.info['sfreq'], axis=1), cnt)\n",
" cnt = resample_cnt(cnt, 250)\n",
" # mne apply will apply the function to the data (a 2d-numpy-array)\n",
" # have to transpose data back and forth, since\n",
" # exponential_running_standardize expects time x chans order\n",
" # while mne object has chans x time order\n",
" cnt = mne_apply(lambda a: exponential_running_standardize(\n",
" a.T, init_block_size=1000,factor_new=0.001, eps=1e-4).T,\n",
" cnt)\n",
" new_cnts.append(cnt)\n",
" return new_cnts"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:54:16,149 INFO : Loading /home/schirrmr/data/robot-hall/AnLa/AnLaNBD1R01-8/AnLaNBD1S001R01_1-1_250Hz.BBCI.mat\n",
"Creating RawArray with float64 data, n_channels=64, n_times=151350\n",
" Range : 0 ... 151349 = 0.000 ... 605.396 secs\n",
"Ready.\n",
"2017-11-03 17:54:17,481 INFO : Loading /home/schirrmr/data/robot-hall/AnLa/AnLaNBD1R01-8/AnLaNBD1S001R02_1-1_250Hz.BBCI.mat\n",
"Creating RawArray with float64 data, n_channels=64, n_times=153500\n",
" Range : 0 ... 153499 = 0.000 ... 613.996 secs\n",
"Ready.\n",
"2017-11-03 17:54:18,843 INFO : Loading /home/schirrmr/data/robot-hall/AnLa/AnLaNBD1R01-8/AnLaNBD1S001R03_1-1_250Hz.BBCI.mat\n",
"Creating RawArray with float64 data, n_channels=64, n_times=180700\n",
" Range : 0 ... 180699 = 0.000 ... 722.796 secs\n",
"Ready.\n",
"2017-11-03 17:54:20,609 INFO : Preprocessing....\n",
"2017-11-03 17:54:20,626 INFO : Just copying data, no resampling, since new sampling rate same.\n",
"2017-11-03 17:54:20,801 INFO : Preprocessing....\n",
"2017-11-03 17:54:20,809 INFO : Just copying data, no resampling, since new sampling rate same.\n",
"2017-11-03 17:54:21,018 INFO : Preprocessing....\n",
"2017-11-03 17:54:21,026 INFO : Just copying data, no resampling, since new sampling rate same.\n"
]
}
],
"source": [
"from collections import OrderedDict\n",
"\n",
"train_runs = [1,2,3]\n",
"train_cnts = create_cnts('/home/schirrmr/data/robot-hall/AnLa/AnLaNBD1R01-8/', \n",
" train_runs,)\n",
"\n",
"name_to_start_code = OrderedDict([('Right Hand', 1), ('Feet', 4),\n",
" ('Rotation', 8), ('Words', [10])])\n",
"\n",
"name_to_stop_code = OrderedDict([('Right Hand', [20,21,22,23,24,28,30]),\n",
" ('Feet', [20,21,22,23,24,28,30]),\n",
" ('Rotation', [20,21,22,23,24,28,30]), \n",
" ('Words', [20,21,22,23,24,28,30])])\n"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:54:21,179 INFO : Loading /home/schirrmr/data/robot-hall/AnLa/AnLaNBD1R09-10/AnLaNBD1S001R09_1-1_250Hz.BBCI.mat\n",
"Creating RawArray with float64 data, n_channels=64, n_times=152050\n",
" Range : 0 ... 152049 = 0.000 ... 608.196 secs\n",
"Ready.\n",
"2017-11-03 17:54:22,618 INFO : Loading /home/schirrmr/data/robot-hall/AnLa/AnLaNBD1R09-10/AnLaNBD1S001R10_1-1_250Hz.BBCI.mat\n",
"Creating RawArray with float64 data, n_channels=64, n_times=151100\n",
" Range : 0 ... 151099 = 0.000 ... 604.396 secs\n",
"Ready.\n",
"2017-11-03 17:54:24,103 INFO : Preprocessing....\n",
"2017-11-03 17:54:24,112 INFO : Just copying data, no resampling, since new sampling rate same.\n",
"2017-11-03 17:54:24,277 INFO : Preprocessing....\n",
"2017-11-03 17:54:24,284 INFO : Just copying data, no resampling, since new sampling rate same.\n"
]
}
],
"source": [
"test_runs = [9,10]\n",
"test_cnts = create_cnts('/home/schirrmr/data/robot-hall/AnLa/AnLaNBD1R09-10/', test_runs,)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Create the model"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We already create the model now, since we need to know the receptive field size for properly cutting out the data to predict. We need to cut out data starting at -receptive_field_size samples before the first sample we want to predict."
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"132 predictions per input/trial\n",
"Receptive field: 518/2072.00 (samples/ms)\n"
]
}
],
"source": [
"from braindecode.models.shallow_fbcsp import ShallowFBCSPNet\n",
"from torch import nn\n",
"from braindecode.torch_ext.util import set_random_seeds\n",
"from braindecode.models.util import to_dense_prediction_model\n",
"\n",
"# Set if you want to use GPU\n",
"# You can also use torch.cuda.is_available() to determine if cuda is available on your machine.\n",
"cuda = True\n",
"set_random_seeds(seed=20170629, cuda=cuda)\n",
"\n",
"# This will determine how many crops are processed in parallel\n",
"input_time_length = 650\n",
"in_chans = train_cnts[0].get_data().shape[0]\n",
"# final_conv_length determines the size of the receptive field of the ConvNet\n",
"model = ShallowFBCSPNet(in_chans=in_chans, n_classes=5, input_time_length=input_time_length,\n",
" final_conv_length=29).create_network()\n",
"to_dense_prediction_model(model)\n",
"\n",
"if cuda:\n",
" model.cuda()\n",
"from braindecode.torch_ext.util import np_to_var\n",
"import numpy as np\n",
"# determine output size\n",
"test_input = np_to_var(np.ones((2, in_chans, input_time_length, 1), dtype=np.float32))\n",
"if cuda:\n",
" test_input = test_input.cuda()\n",
"out = model(test_input)\n",
"n_preds_per_input = out.cpu().data.numpy().shape[2]\n",
"print(\"{:d} predictions per input/trial\".format(n_preds_per_input))\n",
"n_receptive_field = input_time_length - n_preds_per_input\n",
"receptive_field_ms = n_receptive_field * 1000.0 / train_cnts[0].info['sfreq']\n",
"print(\"Receptive field: {:d}/{:.2f} (samples/ms)\".format(n_receptive_field,\n",
" receptive_field_ms))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Create SignalAndTarget Sets"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:54:27,739 INFO : Trial per class:\n",
"Counter({'Break': 72, 'Right Hand': 29, 'Words': 21, 'Feet': 19, 'Rotation': 4})\n",
"2017-11-03 17:54:27,766 INFO : Trial per class:\n",
"Counter({'Break': 80, 'Feet': 31, 'Words': 26, 'Right Hand': 18, 'Rotation': 6})\n",
"2017-11-03 17:54:27,796 INFO : Trial per class:\n",
"Counter({'Break': 95, 'Feet': 38, 'Words': 29, 'Right Hand': 22, 'Rotation': 7})\n"
]
}
],
"source": [
"from braindecode.datautil.trial_segment import create_signal_target_with_breaks_from_mne\n",
"\n",
"break_start_offset_ms = 1000\n",
"break_stop_offset_ms = -500\n",
"\n",
"train_sets = [create_signal_target_with_breaks_from_mne(\n",
" cnt, name_to_start_code, [0,0], \n",
" name_to_stop_code, min_break_length_ms=1000, max_break_length_ms=10000,\n",
" break_epoch_ival_ms=[500,-500],\n",
" prepad_trials_to_n_samples=input_time_length) \n",
" for cnt in train_cnts]\n",
"train_set = concatenate_sets(train_sets)"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:54:27,856 INFO : Trial per class:\n",
"Counter({'Break': 76, 'Feet': 24, 'Right Hand': 24, 'Words': 19, 'Rotation': 10})\n",
"2017-11-03 17:54:27,884 INFO : Trial per class:\n",
"Counter({'Break': 80, 'Feet': 30, 'Right Hand': 22, 'Words': 21, 'Rotation': 8})\n"
]
}
],
"source": [
"test_sets = [create_signal_target_with_breaks_from_mne(\n",
" cnt, name_to_start_code, [0,0], \n",
" name_to_stop_code, min_break_length_ms=1000, max_break_length_ms=10000,\n",
" break_epoch_ival_ms=[500,-500],\n",
" prepad_trials_to_n_samples=input_time_length) \n",
" for cnt in test_cnts]\n",
"test_set = concatenate_sets(test_sets)"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.datautil.splitters import split_into_two_sets\n",
"\n",
"train_set, valid_set = split_into_two_sets(train_set, first_set_fraction=0.8)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup optimizer and iterator"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from torch import optim\n",
"\n",
"optimizer = optim.Adam(model.parameters())"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.datautil.iterators import CropsFromTrialsIterator\n",
"iterator = CropsFromTrialsIterator(batch_size=32,input_time_length=input_time_length,\n",
" n_preds_per_input=n_preds_per_input)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup Monitors, Loss function, Stop Criteria"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.experiments.experiment import Experiment\n",
"from braindecode.experiments.monitors import RuntimeMonitor, LossMonitor, CroppedTrialMisclassMonitor, MisclassMonitor\n",
"from braindecode.experiments.stopcriteria import MaxEpochs\n",
"import torch.nn.functional as F\n",
"import torch as th\n",
"from braindecode.torch_ext.modules import Expression\n",
"from braindecode.torch_ext.losses import log_categorical_crossentropy\n",
"\n",
"\n",
"loss_function = log_categorical_crossentropy\n",
"\n",
"model_constraint = None\n",
"monitors = [LossMonitor(), MisclassMonitor(col_suffix='sample_misclass'),\n",
" CroppedTrialMisclassMonitor(input_time_length), RuntimeMonitor(),]\n",
"stop_criterion = MaxEpochs(20)\n",
"exp = Experiment(model, train_set, valid_set, test_set, iterator, loss_function, optimizer, model_constraint,\n",
" monitors, stop_criterion, remember_best_column='valid_misclass',\n",
" run_after_early_stop=True, batch_modifier=None, cuda=cuda)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Run experiment"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:54:28,100 INFO : Run until first stop...\n",
"2017-11-03 17:54:29,008 INFO : Epoch 0\n",
"2017-11-03 17:54:29,011 INFO : train_loss 6.69229\n",
"2017-11-03 17:54:29,012 INFO : valid_loss 6.46568\n",
"2017-11-03 17:54:29,013 INFO : test_loss 7.03033\n",
"2017-11-03 17:54:29,014 INFO : train_sample_misclass 0.82260\n",
"2017-11-03 17:54:29,015 INFO : valid_sample_misclass 0.80963\n",
"2017-11-03 17:54:29,016 INFO : test_sample_misclass 0.84529\n",
"2017-11-03 17:54:29,017 INFO : train_misclass 0.84673\n",
"2017-11-03 17:54:29,018 INFO : valid_misclass 0.83838\n",
"2017-11-03 17:54:29,019 INFO : test_misclass 0.87261\n",
"2017-11-03 17:54:29,020 INFO : runtime 0.00000\n",
"2017-11-03 17:54:29,021 INFO : \n",
"2017-11-03 17:54:29,023 INFO : New best valid_misclass: 0.838384\n",
"2017-11-03 17:54:29,024 INFO : \n",
"2017-11-03 17:54:29,883 INFO : Time only for training updates: 0.76s\n",
"2017-11-03 17:54:30,662 INFO : Epoch 1\n",
"2017-11-03 17:54:30,663 INFO : train_loss 1.11019\n",
"2017-11-03 17:54:30,664 INFO : valid_loss 1.27928\n",
"2017-11-03 17:54:30,665 INFO : test_loss 1.36444\n",
"2017-11-03 17:54:30,666 INFO : train_sample_misclass 0.42905\n",
"2017-11-03 17:54:30,667 INFO : valid_sample_misclass 0.49247\n",
"2017-11-03 17:54:30,668 INFO : test_sample_misclass 0.53468\n",
"2017-11-03 17:54:30,669 INFO : train_misclass 0.35427\n",
"2017-11-03 17:54:30,670 INFO : valid_misclass 0.44444\n",
"2017-11-03 17:54:30,671 INFO : test_misclass 0.45541\n",
"2017-11-03 17:54:30,672 INFO : runtime 1.78367\n",
"2017-11-03 17:54:30,673 INFO : \n",
"2017-11-03 17:54:30,675 INFO : New best valid_misclass: 0.444444\n",
"2017-11-03 17:54:30,676 INFO : \n",
"2017-11-03 17:54:31,506 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:32,301 INFO : Epoch 2\n",
"2017-11-03 17:54:32,304 INFO : train_loss 0.89880\n",
"2017-11-03 17:54:32,305 INFO : valid_loss 1.17010\n",
"2017-11-03 17:54:32,306 INFO : test_loss 1.30903\n",
"2017-11-03 17:54:32,307 INFO : train_sample_misclass 0.34776\n",
"2017-11-03 17:54:32,308 INFO : valid_sample_misclass 0.41259\n",
"2017-11-03 17:54:32,309 INFO : test_sample_misclass 0.50234\n",
"2017-11-03 17:54:32,310 INFO : train_misclass 0.28643\n",
"2017-11-03 17:54:32,311 INFO : valid_misclass 0.40404\n",
"2017-11-03 17:54:32,312 INFO : test_misclass 0.46815\n",
"2017-11-03 17:54:32,313 INFO : runtime 1.62281\n",
"2017-11-03 17:54:32,314 INFO : \n",
"2017-11-03 17:54:32,317 INFO : New best valid_misclass: 0.404040\n",
"2017-11-03 17:54:32,318 INFO : \n",
"2017-11-03 17:54:33,151 INFO : Time only for training updates: 0.73s\n",
"2017-11-03 17:54:33,950 INFO : Epoch 3\n",
"2017-11-03 17:54:33,952 INFO : train_loss 0.81194\n",
"2017-11-03 17:54:33,953 INFO : valid_loss 1.23906\n",
"2017-11-03 17:54:33,954 INFO : test_loss 1.32349\n",
"2017-11-03 17:54:33,955 INFO : train_sample_misclass 0.31683\n",
"2017-11-03 17:54:33,956 INFO : valid_sample_misclass 0.44712\n",
"2017-11-03 17:54:33,957 INFO : test_sample_misclass 0.49383\n",
"2017-11-03 17:54:33,957 INFO : train_misclass 0.25628\n",
"2017-11-03 17:54:33,958 INFO : valid_misclass 0.43434\n",
"2017-11-03 17:54:33,959 INFO : test_misclass 0.45860\n",
"2017-11-03 17:54:33,960 INFO : runtime 1.64646\n",
"2017-11-03 17:54:33,960 INFO : \n",
"2017-11-03 17:54:34,776 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:35,547 INFO : Epoch 4\n",
"2017-11-03 17:54:35,549 INFO : train_loss 0.73879\n",
"2017-11-03 17:54:35,549 INFO : valid_loss 1.21058\n",
"2017-11-03 17:54:35,550 INFO : test_loss 1.31367\n",
"2017-11-03 17:54:35,551 INFO : train_sample_misclass 0.27924\n",
"2017-11-03 17:54:35,552 INFO : valid_sample_misclass 0.42925\n",
"2017-11-03 17:54:35,553 INFO : test_sample_misclass 0.47731\n",
"2017-11-03 17:54:35,553 INFO : train_misclass 0.23618\n",
"2017-11-03 17:54:35,554 INFO : valid_misclass 0.39394\n",
"2017-11-03 17:54:35,555 INFO : test_misclass 0.44586\n",
"2017-11-03 17:54:35,556 INFO : runtime 1.62406\n",
"2017-11-03 17:54:35,556 INFO : \n",
"2017-11-03 17:54:35,559 INFO : New best valid_misclass: 0.393939\n",
"2017-11-03 17:54:35,559 INFO : \n",
"2017-11-03 17:54:36,368 INFO : Time only for training updates: 0.71s\n",
"2017-11-03 17:54:37,117 INFO : Epoch 5\n",
"2017-11-03 17:54:37,118 INFO : train_loss 0.69937\n",
"2017-11-03 17:54:37,119 INFO : valid_loss 1.20308\n",
"2017-11-03 17:54:37,120 INFO : test_loss 1.31024\n",
"2017-11-03 17:54:37,121 INFO : train_sample_misclass 0.26148\n",
"2017-11-03 17:54:37,121 INFO : valid_sample_misclass 0.42965\n",
"2017-11-03 17:54:37,122 INFO : test_sample_misclass 0.46976\n",
"2017-11-03 17:54:37,123 INFO : train_misclass 0.23116\n",
"2017-11-03 17:54:37,124 INFO : valid_misclass 0.41414\n",
"2017-11-03 17:54:37,124 INFO : test_misclass 0.46497\n",
"2017-11-03 17:54:37,125 INFO : runtime 1.59298\n",
"2017-11-03 17:54:37,126 INFO : \n",
"2017-11-03 17:54:37,940 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:38,703 INFO : Epoch 6\n",
"2017-11-03 17:54:38,704 INFO : train_loss 0.68692\n",
"2017-11-03 17:54:38,705 INFO : valid_loss 1.21140\n",
"2017-11-03 17:54:38,706 INFO : test_loss 1.37866\n",
"2017-11-03 17:54:38,707 INFO : train_sample_misclass 0.26337\n",
"2017-11-03 17:54:38,707 INFO : valid_sample_misclass 0.42246\n",
"2017-11-03 17:54:38,708 INFO : test_sample_misclass 0.47892\n",
"2017-11-03 17:54:38,709 INFO : train_misclass 0.22613\n",
"2017-11-03 17:54:38,710 INFO : valid_misclass 0.41414\n",
"2017-11-03 17:54:38,710 INFO : test_misclass 0.43631\n",
"2017-11-03 17:54:38,711 INFO : runtime 1.57037\n",
"2017-11-03 17:54:38,712 INFO : \n",
"2017-11-03 17:54:39,529 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:40,288 INFO : Epoch 7\n",
"2017-11-03 17:54:40,290 INFO : train_loss 0.64330\n",
"2017-11-03 17:54:40,291 INFO : valid_loss 1.26310\n",
"2017-11-03 17:54:40,291 INFO : test_loss 1.33326\n",
"2017-11-03 17:54:40,292 INFO : train_sample_misclass 0.23914\n",
"2017-11-03 17:54:40,293 INFO : valid_sample_misclass 0.43057\n",
"2017-11-03 17:54:40,294 INFO : test_sample_misclass 0.45974\n",
"2017-11-03 17:54:40,295 INFO : train_misclass 0.19347\n",
"2017-11-03 17:54:40,295 INFO : valid_misclass 0.37374\n",
"2017-11-03 17:54:40,296 INFO : test_misclass 0.43312\n",
"2017-11-03 17:54:40,297 INFO : runtime 1.58912\n",
"2017-11-03 17:54:40,298 INFO : \n",
"2017-11-03 17:54:40,300 INFO : New best valid_misclass: 0.373737\n",
"2017-11-03 17:54:40,301 INFO : \n",
"2017-11-03 17:54:41,126 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:41,882 INFO : Epoch 8\n",
"2017-11-03 17:54:41,884 INFO : train_loss 0.63941\n",
"2017-11-03 17:54:41,885 INFO : valid_loss 1.26822\n",
"2017-11-03 17:54:41,885 INFO : test_loss 1.37385\n",
"2017-11-03 17:54:41,886 INFO : train_sample_misclass 0.24020\n",
"2017-11-03 17:54:41,887 INFO : valid_sample_misclass 0.43108\n",
"2017-11-03 17:54:41,888 INFO : test_sample_misclass 0.47164\n",
"2017-11-03 17:54:41,888 INFO : train_misclass 0.20352\n",
"2017-11-03 17:54:41,889 INFO : valid_misclass 0.44444\n",
"2017-11-03 17:54:41,890 INFO : test_misclass 0.42675\n",
"2017-11-03 17:54:41,891 INFO : runtime 1.59709\n",
"2017-11-03 17:54:41,891 INFO : \n",
"2017-11-03 17:54:42,704 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:43,453 INFO : Epoch 9\n",
"2017-11-03 17:54:43,455 INFO : train_loss 0.61007\n",
"2017-11-03 17:54:43,456 INFO : valid_loss 1.22956\n",
"2017-11-03 17:54:43,456 INFO : test_loss 1.40305\n",
"2017-11-03 17:54:43,457 INFO : train_sample_misclass 0.22529\n",
"2017-11-03 17:54:43,458 INFO : valid_sample_misclass 0.43356\n",
"2017-11-03 17:54:43,459 INFO : test_sample_misclass 0.48479\n",
"2017-11-03 17:54:43,459 INFO : train_misclass 0.19849\n",
"2017-11-03 17:54:43,460 INFO : valid_misclass 0.43434\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:54:43,461 INFO : test_misclass 0.46497\n",
"2017-11-03 17:54:43,462 INFO : runtime 1.57837\n",
"2017-11-03 17:54:43,462 INFO : \n",
"2017-11-03 17:54:44,271 INFO : Time only for training updates: 0.71s\n",
"2017-11-03 17:54:45,020 INFO : Epoch 10\n",
"2017-11-03 17:54:45,021 INFO : train_loss 0.64797\n",
"2017-11-03 17:54:45,022 INFO : valid_loss 1.28604\n",
"2017-11-03 17:54:45,023 INFO : test_loss 1.41996\n",
"2017-11-03 17:54:45,023 INFO : train_sample_misclass 0.24798\n",
"2017-11-03 17:54:45,024 INFO : valid_sample_misclass 0.44050\n",
"2017-11-03 17:54:45,025 INFO : test_sample_misclass 0.47793\n",
"2017-11-03 17:54:45,026 INFO : train_misclass 0.23869\n",
"2017-11-03 17:54:45,027 INFO : valid_misclass 0.41414\n",
"2017-11-03 17:54:45,027 INFO : test_misclass 0.44904\n",
"2017-11-03 17:54:45,028 INFO : runtime 1.56668\n",
"2017-11-03 17:54:45,029 INFO : \n",
"2017-11-03 17:54:45,847 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:46,639 INFO : Epoch 11\n",
"2017-11-03 17:54:46,640 INFO : train_loss 0.60028\n",
"2017-11-03 17:54:46,641 INFO : valid_loss 1.19866\n",
"2017-11-03 17:54:46,642 INFO : test_loss 1.51705\n",
"2017-11-03 17:54:46,642 INFO : train_sample_misclass 0.22617\n",
"2017-11-03 17:54:46,643 INFO : valid_sample_misclass 0.43046\n",
"2017-11-03 17:54:46,644 INFO : test_sample_misclass 0.50496\n",
"2017-11-03 17:54:46,645 INFO : train_misclass 0.18593\n",
"2017-11-03 17:54:46,646 INFO : valid_misclass 0.34343\n",
"2017-11-03 17:54:46,646 INFO : test_misclass 0.47134\n",
"2017-11-03 17:54:46,647 INFO : runtime 1.57587\n",
"2017-11-03 17:54:46,648 INFO : \n",
"2017-11-03 17:54:46,650 INFO : New best valid_misclass: 0.343434\n",
"2017-11-03 17:54:46,651 INFO : \n",
"2017-11-03 17:54:47,467 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:48,218 INFO : Epoch 12\n",
"2017-11-03 17:54:48,219 INFO : train_loss 0.57952\n",
"2017-11-03 17:54:48,220 INFO : valid_loss 1.23002\n",
"2017-11-03 17:54:48,221 INFO : test_loss 1.39561\n",
"2017-11-03 17:54:48,222 INFO : train_sample_misclass 0.21030\n",
"2017-11-03 17:54:48,222 INFO : valid_sample_misclass 0.42522\n",
"2017-11-03 17:54:48,223 INFO : test_sample_misclass 0.45922\n",
"2017-11-03 17:54:48,224 INFO : train_misclass 0.17337\n",
"2017-11-03 17:54:48,225 INFO : valid_misclass 0.39394\n",
"2017-11-03 17:54:48,225 INFO : test_misclass 0.42038\n",
"2017-11-03 17:54:48,226 INFO : runtime 1.61997\n",
"2017-11-03 17:54:48,227 INFO : \n",
"2017-11-03 17:54:49,066 INFO : Time only for training updates: 0.74s\n",
"2017-11-03 17:54:49,828 INFO : Epoch 13\n",
"2017-11-03 17:54:49,829 INFO : train_loss 0.56454\n",
"2017-11-03 17:54:49,830 INFO : valid_loss 1.30951\n",
"2017-11-03 17:54:49,831 INFO : test_loss 1.35587\n",
"2017-11-03 17:54:49,832 INFO : train_sample_misclass 0.20067\n",
"2017-11-03 17:54:49,833 INFO : valid_sample_misclass 0.43243\n",
"2017-11-03 17:54:49,833 INFO : test_sample_misclass 0.45508\n",
"2017-11-03 17:54:49,834 INFO : train_misclass 0.17839\n",
"2017-11-03 17:54:49,835 INFO : valid_misclass 0.40404\n",
"2017-11-03 17:54:49,836 INFO : test_misclass 0.41083\n",
"2017-11-03 17:54:49,836 INFO : runtime 1.59916\n",
"2017-11-03 17:54:49,837 INFO : \n",
"2017-11-03 17:54:50,655 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:51,412 INFO : Epoch 14\n",
"2017-11-03 17:54:51,413 INFO : train_loss 0.62104\n",
"2017-11-03 17:54:51,414 INFO : valid_loss 1.40254\n",
"2017-11-03 17:54:51,415 INFO : test_loss 1.41643\n",
"2017-11-03 17:54:51,415 INFO : train_sample_misclass 0.23836\n",
"2017-11-03 17:54:51,416 INFO : valid_sample_misclass 0.45438\n",
"2017-11-03 17:54:51,417 INFO : test_sample_misclass 0.46678\n",
"2017-11-03 17:54:51,418 INFO : train_misclass 0.23367\n",
"2017-11-03 17:54:51,419 INFO : valid_misclass 0.39394\n",
"2017-11-03 17:54:51,419 INFO : test_misclass 0.39172\n",
"2017-11-03 17:54:51,420 INFO : runtime 1.58891\n",
"2017-11-03 17:54:51,421 INFO : \n",
"2017-11-03 17:54:52,235 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:53,001 INFO : Epoch 15\n",
"2017-11-03 17:54:53,002 INFO : train_loss 0.55985\n",
"2017-11-03 17:54:53,003 INFO : valid_loss 1.38133\n",
"2017-11-03 17:54:53,004 INFO : test_loss 1.49168\n",
"2017-11-03 17:54:53,005 INFO : train_sample_misclass 0.19814\n",
"2017-11-03 17:54:53,006 INFO : valid_sample_misclass 0.44258\n",
"2017-11-03 17:54:53,006 INFO : test_sample_misclass 0.47665\n",
"2017-11-03 17:54:53,007 INFO : train_misclass 0.16332\n",
"2017-11-03 17:54:53,008 INFO : valid_misclass 0.43434\n",
"2017-11-03 17:54:53,009 INFO : test_misclass 0.43312\n",
"2017-11-03 17:54:53,009 INFO : runtime 1.57987\n",
"2017-11-03 17:54:53,010 INFO : \n",
"2017-11-03 17:54:53,824 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:54,592 INFO : Epoch 16\n",
"2017-11-03 17:54:54,593 INFO : train_loss 0.52848\n",
"2017-11-03 17:54:54,594 INFO : valid_loss 1.33559\n",
"2017-11-03 17:54:54,595 INFO : test_loss 1.51660\n",
"2017-11-03 17:54:54,596 INFO : train_sample_misclass 0.18632\n",
"2017-11-03 17:54:54,596 INFO : valid_sample_misclass 0.46433\n",
"2017-11-03 17:54:54,597 INFO : test_sample_misclass 0.48484\n",
"2017-11-03 17:54:54,598 INFO : train_misclass 0.15578\n",
"2017-11-03 17:54:54,599 INFO : valid_misclass 0.42424\n",
"2017-11-03 17:54:54,599 INFO : test_misclass 0.43949\n",
"2017-11-03 17:54:54,600 INFO : runtime 1.58907\n",
"2017-11-03 17:54:54,601 INFO : \n",
"2017-11-03 17:54:55,417 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:56,169 INFO : Epoch 17\n",
"2017-11-03 17:54:56,171 INFO : train_loss 0.53104\n",
"2017-11-03 17:54:56,171 INFO : valid_loss 1.27837\n",
"2017-11-03 17:54:56,172 INFO : test_loss 1.56129\n",
"2017-11-03 17:54:56,173 INFO : train_sample_misclass 0.19424\n",
"2017-11-03 17:54:56,174 INFO : valid_sample_misclass 0.43299\n",
"2017-11-03 17:54:56,175 INFO : test_sample_misclass 0.48812\n",
"2017-11-03 17:54:56,175 INFO : train_misclass 0.16583\n",
"2017-11-03 17:54:56,176 INFO : valid_misclass 0.39394\n",
"2017-11-03 17:54:56,177 INFO : test_misclass 0.44904\n",
"2017-11-03 17:54:56,178 INFO : runtime 1.59308\n",
"2017-11-03 17:54:56,178 INFO : \n",
"2017-11-03 17:54:56,988 INFO : Time only for training updates: 0.71s\n",
"2017-11-03 17:54:57,764 INFO : Epoch 18\n",
"2017-11-03 17:54:57,766 INFO : train_loss 0.52136\n",
"2017-11-03 17:54:57,767 INFO : valid_loss 1.35125\n",
"2017-11-03 17:54:57,767 INFO : test_loss 1.46087\n",
"2017-11-03 17:54:57,768 INFO : train_sample_misclass 0.18336\n",
"2017-11-03 17:54:57,769 INFO : valid_sample_misclass 0.44739\n",
"2017-11-03 17:54:57,770 INFO : test_sample_misclass 0.48096\n",
"2017-11-03 17:54:57,770 INFO : train_misclass 0.16332\n",
"2017-11-03 17:54:57,771 INFO : valid_misclass 0.39394\n",
"2017-11-03 17:54:57,772 INFO : test_misclass 0.42675\n",
"2017-11-03 17:54:57,773 INFO : runtime 1.57133\n",
"2017-11-03 17:54:57,774 INFO : \n",
"2017-11-03 17:54:58,595 INFO : Time only for training updates: 0.72s\n",
"2017-11-03 17:54:59,356 INFO : Epoch 19\n",
"2017-11-03 17:54:59,357 INFO : train_loss 0.52737\n",
"2017-11-03 17:54:59,358 INFO : valid_loss 1.33823\n",
"2017-11-03 17:54:59,359 INFO : test_loss 1.56256\n",
"2017-11-03 17:54:59,360 INFO : train_sample_misclass 0.19466\n",
"2017-11-03 17:54:59,360 INFO : valid_sample_misclass 0.44720\n",
"2017-11-03 17:54:59,361 INFO : test_sample_misclass 0.47450\n",
"2017-11-03 17:54:59,362 INFO : train_misclass 0.15578\n",
"2017-11-03 17:54:59,363 INFO : valid_misclass 0.42424\n",
"2017-11-03 17:54:59,364 INFO : test_misclass 0.42675\n",
"2017-11-03 17:54:59,364 INFO : runtime 1.60626\n",
"2017-11-03 17:54:59,365 INFO : \n",
"2017-11-03 17:55:00,184 INFO : Time only for training updates: 0.72s\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:55:00,944 INFO : Epoch 20\n",
"2017-11-03 17:55:00,945 INFO : train_loss 0.50380\n",
"2017-11-03 17:55:00,946 INFO : valid_loss 1.28838\n",
"2017-11-03 17:55:00,947 INFO : test_loss 1.54519\n",
"2017-11-03 17:55:00,947 INFO : train_sample_misclass 0.17429\n",
"2017-11-03 17:55:00,948 INFO : valid_sample_misclass 0.43744\n",
"2017-11-03 17:55:00,949 INFO : test_sample_misclass 0.48286\n",
"2017-11-03 17:55:00,950 INFO : train_misclass 0.17085\n",
"2017-11-03 17:55:00,950 INFO : valid_misclass 0.38384\n",
"2017-11-03 17:55:00,951 INFO : test_misclass 0.42994\n",
"2017-11-03 17:55:00,952 INFO : runtime 1.58936\n",
"2017-11-03 17:55:00,953 INFO : \n",
"2017-11-03 17:55:00,954 INFO : Setup for second stop...\n",
"2017-11-03 17:55:00,957 INFO : Train loss to reach 0.60028\n",
"2017-11-03 17:55:00,958 INFO : Run until second stop...\n",
"2017-11-03 17:55:01,805 INFO : Epoch 12\n",
"2017-11-03 17:55:01,806 INFO : train_loss 0.71588\n",
"2017-11-03 17:55:01,807 INFO : valid_loss 1.19866\n",
"2017-11-03 17:55:01,808 INFO : test_loss 1.51705\n",
"2017-11-03 17:55:01,808 INFO : train_sample_misclass 0.26564\n",
"2017-11-03 17:55:01,809 INFO : valid_sample_misclass 0.43046\n",
"2017-11-03 17:55:01,810 INFO : test_sample_misclass 0.50496\n",
"2017-11-03 17:55:01,811 INFO : train_misclass 0.21730\n",
"2017-11-03 17:55:01,812 INFO : valid_misclass 0.34343\n",
"2017-11-03 17:55:01,812 INFO : test_misclass 0.47134\n",
"2017-11-03 17:55:01,813 INFO : runtime 0.77324\n",
"2017-11-03 17:55:01,814 INFO : \n",
"2017-11-03 17:55:02,820 INFO : Time only for training updates: 0.89s\n",
"2017-11-03 17:55:03,681 INFO : Epoch 13\n",
"2017-11-03 17:55:03,683 INFO : train_loss 0.71408\n",
"2017-11-03 17:55:03,684 INFO : valid_loss 1.02489\n",
"2017-11-03 17:55:03,684 INFO : test_loss 1.36414\n",
"2017-11-03 17:55:03,685 INFO : train_sample_misclass 0.26404\n",
"2017-11-03 17:55:03,686 INFO : valid_sample_misclass 0.38184\n",
"2017-11-03 17:55:03,687 INFO : test_sample_misclass 0.47608\n",
"2017-11-03 17:55:03,688 INFO : train_misclass 0.21328\n",
"2017-11-03 17:55:03,688 INFO : valid_misclass 0.35354\n",
"2017-11-03 17:55:03,689 INFO : test_misclass 0.42357\n",
"2017-11-03 17:55:03,690 INFO : runtime 1.86268\n",
"2017-11-03 17:55:03,691 INFO : \n",
"2017-11-03 17:55:04,693 INFO : Time only for training updates: 0.88s\n",
"2017-11-03 17:55:05,529 INFO : Epoch 14\n",
"2017-11-03 17:55:05,531 INFO : train_loss 0.68211\n",
"2017-11-03 17:55:05,532 INFO : valid_loss 0.92467\n",
"2017-11-03 17:55:05,532 INFO : test_loss 1.41786\n",
"2017-11-03 17:55:05,533 INFO : train_sample_misclass 0.25519\n",
"2017-11-03 17:55:05,534 INFO : valid_sample_misclass 0.34189\n",
"2017-11-03 17:55:05,535 INFO : test_sample_misclass 0.48768\n",
"2017-11-03 17:55:05,536 INFO : train_misclass 0.22133\n",
"2017-11-03 17:55:05,537 INFO : valid_misclass 0.28283\n",
"2017-11-03 17:55:05,539 INFO : test_misclass 0.45860\n",
"2017-11-03 17:55:05,540 INFO : runtime 1.87288\n",
"2017-11-03 17:55:05,541 INFO : \n",
"2017-11-03 17:55:06,539 INFO : Time only for training updates: 0.88s\n",
"2017-11-03 17:55:07,379 INFO : Epoch 15\n",
"2017-11-03 17:55:07,381 INFO : train_loss 0.65594\n",
"2017-11-03 17:55:07,382 INFO : valid_loss 0.87031\n",
"2017-11-03 17:55:07,383 INFO : test_loss 1.45573\n",
"2017-11-03 17:55:07,385 INFO : train_sample_misclass 0.23964\n",
"2017-11-03 17:55:07,386 INFO : valid_sample_misclass 0.33582\n",
"2017-11-03 17:55:07,387 INFO : test_sample_misclass 0.49530\n",
"2017-11-03 17:55:07,388 INFO : train_misclass 0.22938\n",
"2017-11-03 17:55:07,389 INFO : valid_misclass 0.33333\n",
"2017-11-03 17:55:07,390 INFO : test_misclass 0.50637\n",
"2017-11-03 17:55:07,392 INFO : runtime 1.84665\n",
"2017-11-03 17:55:07,393 INFO : \n",
"2017-11-03 17:55:08,391 INFO : Time only for training updates: 0.88s\n",
"2017-11-03 17:55:09,225 INFO : Epoch 16\n",
"2017-11-03 17:55:09,227 INFO : train_loss 0.67155\n",
"2017-11-03 17:55:09,228 INFO : valid_loss 0.88822\n",
"2017-11-03 17:55:09,229 INFO : test_loss 1.46725\n",
"2017-11-03 17:55:09,231 INFO : train_sample_misclass 0.25023\n",
"2017-11-03 17:55:09,232 INFO : valid_sample_misclass 0.35430\n",
"2017-11-03 17:55:09,233 INFO : test_sample_misclass 0.51942\n",
"2017-11-03 17:55:09,234 INFO : train_misclass 0.22736\n",
"2017-11-03 17:55:09,235 INFO : valid_misclass 0.30303\n",
"2017-11-03 17:55:09,237 INFO : test_misclass 0.47134\n",
"2017-11-03 17:55:09,238 INFO : runtime 1.85138\n",
"2017-11-03 17:55:09,239 INFO : \n",
"2017-11-03 17:55:10,282 INFO : Time only for training updates: 0.92s\n",
"2017-11-03 17:55:11,169 INFO : Epoch 17\n",
"2017-11-03 17:55:11,171 INFO : train_loss 0.65888\n",
"2017-11-03 17:55:11,172 INFO : valid_loss 0.85140\n",
"2017-11-03 17:55:11,174 INFO : test_loss 1.38991\n",
"2017-11-03 17:55:11,175 INFO : train_sample_misclass 0.24352\n",
"2017-11-03 17:55:11,176 INFO : valid_sample_misclass 0.32228\n",
"2017-11-03 17:55:11,177 INFO : test_sample_misclass 0.47197\n",
"2017-11-03 17:55:11,179 INFO : train_misclass 0.23139\n",
"2017-11-03 17:55:11,180 INFO : valid_misclass 0.28283\n",
"2017-11-03 17:55:11,181 INFO : test_misclass 0.44904\n",
"2017-11-03 17:55:11,182 INFO : runtime 1.89099\n",
"2017-11-03 17:55:11,183 INFO : \n",
"2017-11-03 17:55:12,185 INFO : Time only for training updates: 0.88s\n",
"2017-11-03 17:55:13,031 INFO : Epoch 18\n",
"2017-11-03 17:55:13,033 INFO : train_loss 0.60783\n",
"2017-11-03 17:55:13,034 INFO : valid_loss 0.75969\n",
"2017-11-03 17:55:13,035 INFO : test_loss 1.40295\n",
"2017-11-03 17:55:13,037 INFO : train_sample_misclass 0.22382\n",
"2017-11-03 17:55:13,038 INFO : valid_sample_misclass 0.29660\n",
"2017-11-03 17:55:13,039 INFO : test_sample_misclass 0.48256\n",
"2017-11-03 17:55:13,040 INFO : train_misclass 0.18511\n",
"2017-11-03 17:55:13,042 INFO : valid_misclass 0.27273\n",
"2017-11-03 17:55:13,043 INFO : test_misclass 0.45860\n",
"2017-11-03 17:55:13,044 INFO : runtime 1.90315\n",
"2017-11-03 17:55:13,045 INFO : \n",
"2017-11-03 17:55:14,056 INFO : Time only for training updates: 0.89s\n",
"2017-11-03 17:55:14,953 INFO : Epoch 19\n",
"2017-11-03 17:55:14,956 INFO : train_loss 0.61093\n",
"2017-11-03 17:55:14,959 INFO : valid_loss 0.78444\n",
"2017-11-03 17:55:14,960 INFO : test_loss 1.37623\n",
"2017-11-03 17:55:14,963 INFO : train_sample_misclass 0.22366\n",
"2017-11-03 17:55:14,965 INFO : valid_sample_misclass 0.30558\n",
"2017-11-03 17:55:14,966 INFO : test_sample_misclass 0.47023\n",
"2017-11-03 17:55:14,969 INFO : train_misclass 0.18712\n",
"2017-11-03 17:55:14,970 INFO : valid_misclass 0.24242\n",
"2017-11-03 17:55:14,973 INFO : test_misclass 0.43312\n",
"2017-11-03 17:55:14,975 INFO : runtime 1.87216\n",
"2017-11-03 17:55:14,977 INFO : \n",
"2017-11-03 17:55:15,992 INFO : Time only for training updates: 0.89s\n",
"2017-11-03 17:55:16,858 INFO : Epoch 20\n",
"2017-11-03 17:55:16,860 INFO : train_loss 0.59346\n",
"2017-11-03 17:55:16,861 INFO : valid_loss 0.71784\n",
"2017-11-03 17:55:16,861 INFO : test_loss 1.45776\n",
"2017-11-03 17:55:16,862 INFO : train_sample_misclass 0.21111\n",
"2017-11-03 17:55:16,863 INFO : valid_sample_misclass 0.26341\n",
"2017-11-03 17:55:16,864 INFO : test_sample_misclass 0.49474\n",
"2017-11-03 17:55:16,865 INFO : train_misclass 0.20322\n",
"2017-11-03 17:55:16,865 INFO : valid_misclass 0.27273\n",
"2017-11-03 17:55:16,866 INFO : test_misclass 0.46815\n",
"2017-11-03 17:55:16,867 INFO : runtime 1.93566\n",
"2017-11-03 17:55:16,868 INFO : \n",
"2017-11-03 17:55:17,876 INFO : Time only for training updates: 0.89s\n",
"2017-11-03 17:55:18,753 INFO : Epoch 21\n",
"2017-11-03 17:55:18,755 INFO : train_loss 0.60215\n",
"2017-11-03 17:55:18,756 INFO : valid_loss 0.75351\n",
"2017-11-03 17:55:18,756 INFO : test_loss 1.50636\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:55:18,757 INFO : train_sample_misclass 0.21574\n",
"2017-11-03 17:55:18,758 INFO : valid_sample_misclass 0.28888\n",
"2017-11-03 17:55:18,759 INFO : test_sample_misclass 0.51284\n",
"2017-11-03 17:55:18,760 INFO : train_misclass 0.19517\n",
"2017-11-03 17:55:18,760 INFO : valid_misclass 0.28283\n",
"2017-11-03 17:55:18,761 INFO : test_misclass 0.48089\n",
"2017-11-03 17:55:18,762 INFO : runtime 1.88302\n",
"2017-11-03 17:55:18,763 INFO : \n",
"2017-11-03 17:55:19,771 INFO : Time only for training updates: 0.89s\n",
"2017-11-03 17:55:20,627 INFO : Epoch 22\n",
"2017-11-03 17:55:20,628 INFO : train_loss 0.65365\n",
"2017-11-03 17:55:20,629 INFO : valid_loss 0.82897\n",
"2017-11-03 17:55:20,629 INFO : test_loss 1.40076\n",
"2017-11-03 17:55:20,630 INFO : train_sample_misclass 0.25455\n",
"2017-11-03 17:55:20,631 INFO : valid_sample_misclass 0.33560\n",
"2017-11-03 17:55:20,632 INFO : test_sample_misclass 0.48546\n",
"2017-11-03 17:55:20,632 INFO : train_misclass 0.24145\n",
"2017-11-03 17:55:20,633 INFO : valid_misclass 0.30303\n",
"2017-11-03 17:55:20,634 INFO : test_misclass 0.46178\n",
"2017-11-03 17:55:20,635 INFO : runtime 1.89486\n",
"2017-11-03 17:55:20,636 INFO : \n"
]
}
],
"source": [
"exp.run()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We arrive at about 54% accuracy. With only 3 sensors and 3 training runs, we cannot get much better :)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.6"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
@@ -1,715 +0,0 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true,
"nbsphinx": "hidden"
},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2\n",
"import os\n",
"os.sys.path.insert(0, '/home/schirrmr/braindecode/code/braindecode/')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Read and Decode BBCI Data"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This tutorial shows how to read and decode BBCI data."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup logging to see outputs"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import logging\n",
"import sys\n",
"logging.basicConfig(format='%(asctime)s %(levelname)s : %(message)s',\n",
" level=logging.DEBUG, stream=sys.stdout)\n",
"log = logging.getLogger()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Load and preprocess data"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"First set the filename and the sensors you want to load. If you set\n",
"\n",
"```python\n",
"load_sensor_names=None\n",
"```\n",
"\n",
"or just remove the parameter from the function call, all sensors will be loaded."
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Creating RawArray with float64 data, n_channels=3, n_times=3451320\n",
" Range : 0 ... 3451319 = 0.000 ... 6902.638 secs\n",
"Ready.\n"
]
}
],
"source": [
"from braindecode.datasets.bbci import BBCIDataset\n",
"train_filename = '/home/schirrmr/data/BBCI-without-last-runs/BhNoMoSc1S001R01_ds10_1-12.BBCI.mat'\n",
"cnt = BBCIDataset(train_filename, load_sensor_names=['C3', 'CPz', 'C4']).load()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Preprocessing on continous data"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"First remove the stimulus channel, than apply any preprocessing you like. There are some very few directions available from Braindecode, such as resample_cnt. But you can apply any function on the chan x time matrix of the mne raw object (`cnt` in the code) by calling `mne_apply` with two arguments:\n",
"\n",
"1. Your function (2d-array-> 2darray), that transforms the channel x timesteps data array\n",
"2. the Raw data object from mne itself"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:59:09,513 WARNING : This is not causal, uses future data....\n",
"2017-11-03 17:59:09,514 INFO : Resampling from 500.000000 to 250.000000 Hz.\n",
"Creating RawArray with float64 data, n_channels=3, n_times=1725660\n",
" Range : 0 ... 1725659 = 0.000 ... 6902.636 secs\n",
"Ready.\n"
]
}
],
"source": [
"from braindecode.mne_ext.signalproc import resample_cnt, mne_apply\n",
"from braindecode.datautil.signalproc import exponential_running_standardize\n",
"# Remove stimulus channel\n",
"cnt = cnt.drop_channels(['STI 014'])\n",
"cnt = resample_cnt(cnt, 250)\n",
"# mne apply will apply the function to the data (a 2d-numpy-array)\n",
"# have to transpose data back and forth, since\n",
"# exponential_running_standardize expects time x chans order\n",
"# while mne object has chans x time order\n",
"cnt = mne_apply(lambda a: exponential_running_standardize(\n",
" a.T, init_block_size=1000,factor_new=0.001, eps=1e-4).T,\n",
" cnt)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Transform to epoched dataset "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Braindecode supplies the `create_signal_target_from_raw_mne` function, which will transform the mne raw object into a `SignalAndTarget` object for use in Braindecode.\n",
"`name_to_code` should be an `OrderedDict` that maps class names to either one or a list of marker codes for that class."
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:59:11,376 INFO : Trial per class:\n",
"Counter({'Feet': 225, 'Right': 224, 'Rest': 224, 'Left': 224})\n"
]
}
],
"source": [
"from braindecode.datautil.trial_segment import create_signal_target_from_raw_mne\n",
"from collections import OrderedDict\n",
"# can also give lists of marker codes in case a class has multiple marker codes...\n",
"name_to_code = OrderedDict([('Right', 1), ('Left', 2), ('Rest', 3), ('Feet', 4)])\n",
"segment_ival_ms = [-500,4000]\n",
"\n",
"train_set = create_signal_target_from_raw_mne(cnt, name_to_code, segment_ival_ms)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Same for test set"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Creating RawArray with float64 data, n_channels=3, n_times=617090\n",
" Range : 0 ... 617089 = 0.000 ... 1234.178 secs\n",
"Ready.\n",
"2017-11-03 17:59:12,305 WARNING : This is not causal, uses future data....\n",
"2017-11-03 17:59:12,306 INFO : Resampling from 500.000000 to 250.000000 Hz.\n",
"Creating RawArray with float64 data, n_channels=3, n_times=308545\n",
" Range : 0 ... 308544 = 0.000 ... 1234.176 secs\n",
"Ready.\n",
"2017-11-03 17:59:12,653 INFO : Trial per class:\n",
"Counter({'Feet': 40, 'Left': 40, 'Rest': 40, 'Right': 40})\n"
]
}
],
"source": [
"test_filename = '/home/schirrmr/data/BBCI-only-last-runs/BhNoMoSc1S001R13_ds10_1-2BBCI.mat'\n",
"cnt = BBCIDataset(test_filename, load_sensor_names=['C3', 'CPz', 'C4']).load()\n",
"# Remove stimulus channel\n",
"cnt = cnt.drop_channels(['STI 014'])\n",
"cnt = resample_cnt(cnt, 250)\n",
"cnt = mne_apply(lambda a: exponential_running_standardize(\n",
" a.T, init_block_size=1000,factor_new=0.001, eps=1e-4).T,\n",
" cnt)\n",
"test_set = create_signal_target_from_raw_mne(cnt, name_to_code, segment_ival_ms)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-info\">\n",
"\n",
"In case of start and stop markers, provide a `name_to_stop_codes` dictionary (same as for the start codes in this example) as a final argument to `create_signal_target_from_raw_mne`. See [Read and Decode BBCI Data with Start-Stop-Markers Tutorial](BBCI_Data_Start_Stop.html)\n",
"\n",
"\n",
"</div>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Split off a validation set."
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.datautil.splitters import split_into_two_sets\n",
"\n",
"train_set, valid_set = split_into_two_sets(train_set, first_set_fraction=0.8)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Create the model"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.models.shallow_fbcsp import ShallowFBCSPNet\n",
"from torch import nn\n",
"from braindecode.torch_ext.util import set_random_seeds\n",
"\n",
"# Set if you want to use GPU\n",
"# You can also use torch.cuda.is_available() to determine if cuda is available on your machine.\n",
"cuda = True\n",
"set_random_seeds(seed=20170629, cuda=cuda)\n",
"\n",
"\n",
"# This will determine how many crops are processed in parallel\n",
"input_time_length = train_set.X.shape[2]\n",
"in_chans = 3\n",
"n_classes = 4\n",
"# final_conv_length determines the size of the receptive field of the ConvNet\n",
"model = ShallowFBCSPNet(in_chans=in_chans, n_classes=n_classes, input_time_length=input_time_length,\n",
" final_conv_length='auto').create_network()\n",
"\n",
"if cuda:\n",
" model.cuda()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup optimizer and iterator"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from torch import optim\n",
"import numpy as np\n",
"\n",
"optimizer = optim.Adam(model.parameters())\n",
"\n",
"\n",
"from braindecode.datautil.iterators import BalancedBatchSizeIterator\n",
"iterator = BalancedBatchSizeIterator(batch_size=32)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup Monitors, Loss function, Stop Criteria"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.experiments.experiment import Experiment\n",
"from braindecode.experiments.monitors import RuntimeMonitor, LossMonitor, CroppedTrialMisclassMonitor, MisclassMonitor\n",
"from braindecode.experiments.stopcriteria import MaxEpochs\n",
"import torch.nn.functional as F\n",
"import torch as th\n",
"from braindecode.torch_ext.modules import Expression\n",
"\n",
"\n",
"loss_function = F.nll_loss\n",
"\n",
"model_constraint = None\n",
"monitors = [LossMonitor(), MisclassMonitor(col_suffix='misclass'), \n",
" RuntimeMonitor(),]\n",
"stop_criterion = MaxEpochs(20)\n",
"exp = Experiment(model, train_set, valid_set, test_set, iterator, loss_function, optimizer, model_constraint,\n",
" monitors, stop_criterion, remember_best_column='valid_misclass',\n",
" run_after_early_stop=True, batch_modifier=None, cuda=cuda)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Run experiment"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:59:15,468 INFO : Run until first stop...\n",
"2017-11-03 17:59:15,979 INFO : Epoch 0\n",
"2017-11-03 17:59:15,981 INFO : train_loss 3.82544\n",
"2017-11-03 17:59:15,982 INFO : valid_loss 3.72206\n",
"2017-11-03 17:59:15,982 INFO : test_loss 3.90394\n",
"2017-11-03 17:59:15,983 INFO : train_misclass 0.76184\n",
"2017-11-03 17:59:15,984 INFO : valid_misclass 0.76536\n",
"2017-11-03 17:59:15,985 INFO : test_misclass 0.75625\n",
"2017-11-03 17:59:15,985 INFO : runtime 0.00000\n",
"2017-11-03 17:59:15,986 INFO : \n",
"2017-11-03 17:59:15,988 INFO : New best valid_misclass: 0.765363\n",
"2017-11-03 17:59:15,989 INFO : \n",
"2017-11-03 17:59:16,564 INFO : Time only for training updates: 0.57s\n",
"2017-11-03 17:59:16,671 INFO : Epoch 1\n",
"2017-11-03 17:59:16,672 INFO : train_loss 2.65436\n",
"2017-11-03 17:59:16,673 INFO : valid_loss 2.88156\n",
"2017-11-03 17:59:16,674 INFO : test_loss 3.03544\n",
"2017-11-03 17:59:16,675 INFO : train_misclass 0.72006\n",
"2017-11-03 17:59:16,675 INFO : valid_misclass 0.73184\n",
"2017-11-03 17:59:16,676 INFO : test_misclass 0.71250\n",
"2017-11-03 17:59:16,677 INFO : runtime 1.09594\n",
"2017-11-03 17:59:16,678 INFO : \n",
"2017-11-03 17:59:16,681 INFO : New best valid_misclass: 0.731844\n",
"2017-11-03 17:59:16,682 INFO : \n",
"2017-11-03 17:59:17,228 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:17,336 INFO : Epoch 2\n",
"2017-11-03 17:59:17,338 INFO : train_loss 0.60706\n",
"2017-11-03 17:59:17,339 INFO : valid_loss 0.61918\n",
"2017-11-03 17:59:17,339 INFO : test_loss 0.81560\n",
"2017-11-03 17:59:17,340 INFO : train_misclass 0.24791\n",
"2017-11-03 17:59:17,341 INFO : valid_misclass 0.27933\n",
"2017-11-03 17:59:17,342 INFO : test_misclass 0.33750\n",
"2017-11-03 17:59:17,343 INFO : runtime 0.66460\n",
"2017-11-03 17:59:17,344 INFO : \n",
"2017-11-03 17:59:17,346 INFO : New best valid_misclass: 0.279330\n",
"2017-11-03 17:59:17,347 INFO : \n",
"2017-11-03 17:59:17,893 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:17,998 INFO : Epoch 3\n",
"2017-11-03 17:59:17,999 INFO : train_loss 0.58638\n",
"2017-11-03 17:59:18,000 INFO : valid_loss 0.62992\n",
"2017-11-03 17:59:18,000 INFO : test_loss 0.85668\n",
"2017-11-03 17:59:18,001 INFO : train_misclass 0.23677\n",
"2017-11-03 17:59:18,002 INFO : valid_misclass 0.27374\n",
"2017-11-03 17:59:18,003 INFO : test_misclass 0.38750\n",
"2017-11-03 17:59:18,003 INFO : runtime 0.66507\n",
"2017-11-03 17:59:18,004 INFO : \n",
"2017-11-03 17:59:18,006 INFO : New best valid_misclass: 0.273743\n",
"2017-11-03 17:59:18,007 INFO : \n",
"2017-11-03 17:59:18,552 INFO : Time only for training updates: 0.54s\n",
"2017-11-03 17:59:18,664 INFO : Epoch 4\n",
"2017-11-03 17:59:18,666 INFO : train_loss 0.48614\n",
"2017-11-03 17:59:18,666 INFO : valid_loss 0.56710\n",
"2017-11-03 17:59:18,667 INFO : test_loss 0.76815\n",
"2017-11-03 17:59:18,668 INFO : train_misclass 0.19638\n",
"2017-11-03 17:59:18,669 INFO : valid_misclass 0.26816\n",
"2017-11-03 17:59:18,669 INFO : test_misclass 0.31875\n",
"2017-11-03 17:59:18,670 INFO : runtime 0.65807\n",
"2017-11-03 17:59:18,671 INFO : \n",
"2017-11-03 17:59:18,673 INFO : New best valid_misclass: 0.268156\n",
"2017-11-03 17:59:18,674 INFO : \n",
"2017-11-03 17:59:19,219 INFO : Time only for training updates: 0.54s\n",
"2017-11-03 17:59:19,327 INFO : Epoch 5\n",
"2017-11-03 17:59:19,329 INFO : train_loss 0.42408\n",
"2017-11-03 17:59:19,329 INFO : valid_loss 0.52337\n",
"2017-11-03 17:59:19,330 INFO : test_loss 0.79153\n",
"2017-11-03 17:59:19,331 INFO : train_misclass 0.14485\n",
"2017-11-03 17:59:19,332 INFO : valid_misclass 0.22905\n",
"2017-11-03 17:59:19,333 INFO : test_misclass 0.36250\n",
"2017-11-03 17:59:19,333 INFO : runtime 0.66796\n",
"2017-11-03 17:59:19,334 INFO : \n",
"2017-11-03 17:59:19,336 INFO : New best valid_misclass: 0.229050\n",
"2017-11-03 17:59:19,337 INFO : \n",
"2017-11-03 17:59:19,884 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:19,992 INFO : Epoch 6\n",
"2017-11-03 17:59:19,993 INFO : train_loss 0.35395\n",
"2017-11-03 17:59:19,994 INFO : valid_loss 0.51115\n",
"2017-11-03 17:59:19,995 INFO : test_loss 0.72994\n",
"2017-11-03 17:59:19,996 INFO : train_misclass 0.11003\n",
"2017-11-03 17:59:19,996 INFO : valid_misclass 0.20112\n",
"2017-11-03 17:59:19,997 INFO : test_misclass 0.27500\n",
"2017-11-03 17:59:19,998 INFO : runtime 0.66456\n",
"2017-11-03 17:59:19,999 INFO : \n",
"2017-11-03 17:59:20,001 INFO : New best valid_misclass: 0.201117\n",
"2017-11-03 17:59:20,002 INFO : \n",
"2017-11-03 17:59:20,548 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:20,656 INFO : Epoch 7\n",
"2017-11-03 17:59:20,657 INFO : train_loss 0.34276\n",
"2017-11-03 17:59:20,658 INFO : valid_loss 0.57949\n",
"2017-11-03 17:59:20,659 INFO : test_loss 0.79834\n",
"2017-11-03 17:59:20,659 INFO : train_misclass 0.11978\n",
"2017-11-03 17:59:20,660 INFO : valid_misclass 0.25140\n",
"2017-11-03 17:59:20,661 INFO : test_misclass 0.32500\n",
"2017-11-03 17:59:20,662 INFO : runtime 0.66413\n",
"2017-11-03 17:59:20,662 INFO : \n",
"2017-11-03 17:59:21,209 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:21,318 INFO : Epoch 8\n",
"2017-11-03 17:59:21,319 INFO : train_loss 0.34212\n",
"2017-11-03 17:59:21,320 INFO : valid_loss 0.45382\n",
"2017-11-03 17:59:21,321 INFO : test_loss 0.68899\n",
"2017-11-03 17:59:21,322 INFO : train_misclass 0.09610\n",
"2017-11-03 17:59:21,323 INFO : valid_misclass 0.19553\n",
"2017-11-03 17:59:21,323 INFO : test_misclass 0.27500\n",
"2017-11-03 17:59:21,324 INFO : runtime 0.66085\n",
"2017-11-03 17:59:21,325 INFO : \n",
"2017-11-03 17:59:21,327 INFO : New best valid_misclass: 0.195531\n",
"2017-11-03 17:59:21,328 INFO : \n",
"2017-11-03 17:59:21,874 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:21,981 INFO : Epoch 9\n",
"2017-11-03 17:59:21,982 INFO : train_loss 0.26619\n",
"2017-11-03 17:59:21,983 INFO : valid_loss 0.48593\n",
"2017-11-03 17:59:21,983 INFO : test_loss 0.70376\n",
"2017-11-03 17:59:21,984 INFO : train_misclass 0.07242\n",
"2017-11-03 17:59:21,985 INFO : valid_misclass 0.18436\n",
"2017-11-03 17:59:21,986 INFO : test_misclass 0.26250\n",
"2017-11-03 17:59:21,987 INFO : runtime 0.66527\n",
"2017-11-03 17:59:21,987 INFO : \n",
"2017-11-03 17:59:21,990 INFO : New best valid_misclass: 0.184358\n",
"2017-11-03 17:59:21,990 INFO : \n",
"2017-11-03 17:59:22,536 INFO : Time only for training updates: 0.54s\n",
"2017-11-03 17:59:22,644 INFO : Epoch 10\n",
"2017-11-03 17:59:22,645 INFO : train_loss 0.26250\n",
"2017-11-03 17:59:22,646 INFO : valid_loss 0.47718\n",
"2017-11-03 17:59:22,647 INFO : test_loss 0.71324\n",
"2017-11-03 17:59:22,648 INFO : train_misclass 0.08914\n",
"2017-11-03 17:59:22,649 INFO : valid_misclass 0.18994\n",
"2017-11-03 17:59:22,649 INFO : test_misclass 0.28125\n",
"2017-11-03 17:59:22,650 INFO : runtime 0.66180\n",
"2017-11-03 17:59:22,651 INFO : \n",
"2017-11-03 17:59:23,198 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:23,309 INFO : Epoch 11\n",
"2017-11-03 17:59:23,311 INFO : train_loss 0.21297\n",
"2017-11-03 17:59:23,312 INFO : valid_loss 0.48684\n",
"2017-11-03 17:59:23,312 INFO : test_loss 0.74883\n",
"2017-11-03 17:59:23,313 INFO : train_misclass 0.06546\n",
"2017-11-03 17:59:23,314 INFO : valid_misclass 0.20670\n",
"2017-11-03 17:59:23,315 INFO : test_misclass 0.31250\n",
"2017-11-03 17:59:23,315 INFO : runtime 0.66222\n",
"2017-11-03 17:59:23,316 INFO : \n",
"2017-11-03 17:59:23,864 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:23,973 INFO : Epoch 12\n",
"2017-11-03 17:59:23,974 INFO : train_loss 0.21066\n",
"2017-11-03 17:59:23,975 INFO : valid_loss 0.49149\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:59:23,976 INFO : test_loss 0.78449\n",
"2017-11-03 17:59:23,977 INFO : train_misclass 0.05710\n",
"2017-11-03 17:59:23,977 INFO : valid_misclass 0.18994\n",
"2017-11-03 17:59:23,978 INFO : test_misclass 0.30000\n",
"2017-11-03 17:59:23,979 INFO : runtime 0.66576\n",
"2017-11-03 17:59:23,980 INFO : \n",
"2017-11-03 17:59:24,527 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:24,636 INFO : Epoch 13\n",
"2017-11-03 17:59:24,637 INFO : train_loss 0.22913\n",
"2017-11-03 17:59:24,638 INFO : valid_loss 0.52561\n",
"2017-11-03 17:59:24,639 INFO : test_loss 0.68987\n",
"2017-11-03 17:59:24,639 INFO : train_misclass 0.06407\n",
"2017-11-03 17:59:24,640 INFO : valid_misclass 0.18436\n",
"2017-11-03 17:59:24,641 INFO : test_misclass 0.26250\n",
"2017-11-03 17:59:24,642 INFO : runtime 0.66327\n",
"2017-11-03 17:59:24,642 INFO : \n",
"2017-11-03 17:59:24,645 INFO : New best valid_misclass: 0.184358\n",
"2017-11-03 17:59:24,645 INFO : \n",
"2017-11-03 17:59:25,191 INFO : Time only for training updates: 0.54s\n",
"2017-11-03 17:59:25,303 INFO : Epoch 14\n",
"2017-11-03 17:59:25,304 INFO : train_loss 0.29666\n",
"2017-11-03 17:59:25,305 INFO : valid_loss 0.62789\n",
"2017-11-03 17:59:25,306 INFO : test_loss 0.88607\n",
"2017-11-03 17:59:25,306 INFO : train_misclass 0.09610\n",
"2017-11-03 17:59:25,307 INFO : valid_misclass 0.26257\n",
"2017-11-03 17:59:25,308 INFO : test_misclass 0.31875\n",
"2017-11-03 17:59:25,309 INFO : runtime 0.66325\n",
"2017-11-03 17:59:25,309 INFO : \n",
"2017-11-03 17:59:25,857 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:25,965 INFO : Epoch 15\n",
"2017-11-03 17:59:25,966 INFO : train_loss 0.20635\n",
"2017-11-03 17:59:25,967 INFO : valid_loss 0.51987\n",
"2017-11-03 17:59:25,968 INFO : test_loss 0.77714\n",
"2017-11-03 17:59:25,969 INFO : train_misclass 0.07103\n",
"2017-11-03 17:59:25,970 INFO : valid_misclass 0.20670\n",
"2017-11-03 17:59:25,970 INFO : test_misclass 0.31250\n",
"2017-11-03 17:59:25,971 INFO : runtime 0.66714\n",
"2017-11-03 17:59:25,972 INFO : \n",
"2017-11-03 17:59:26,519 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:26,631 INFO : Epoch 16\n",
"2017-11-03 17:59:26,632 INFO : train_loss 0.18682\n",
"2017-11-03 17:59:26,633 INFO : valid_loss 0.47353\n",
"2017-11-03 17:59:26,634 INFO : test_loss 0.71371\n",
"2017-11-03 17:59:26,635 INFO : train_misclass 0.05432\n",
"2017-11-03 17:59:26,636 INFO : valid_misclass 0.19553\n",
"2017-11-03 17:59:26,637 INFO : test_misclass 0.26250\n",
"2017-11-03 17:59:26,637 INFO : runtime 0.66127\n",
"2017-11-03 17:59:26,638 INFO : \n",
"2017-11-03 17:59:27,185 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:27,293 INFO : Epoch 17\n",
"2017-11-03 17:59:27,295 INFO : train_loss 0.15229\n",
"2017-11-03 17:59:27,296 INFO : valid_loss 0.51995\n",
"2017-11-03 17:59:27,296 INFO : test_loss 0.70597\n",
"2017-11-03 17:59:27,297 INFO : train_misclass 0.04178\n",
"2017-11-03 17:59:27,298 INFO : valid_misclass 0.21229\n",
"2017-11-03 17:59:27,299 INFO : test_misclass 0.30000\n",
"2017-11-03 17:59:27,300 INFO : runtime 0.66622\n",
"2017-11-03 17:59:27,301 INFO : \n",
"2017-11-03 17:59:27,849 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:27,954 INFO : Epoch 18\n",
"2017-11-03 17:59:27,955 INFO : train_loss 0.19083\n",
"2017-11-03 17:59:27,956 INFO : valid_loss 0.50357\n",
"2017-11-03 17:59:27,957 INFO : test_loss 0.67131\n",
"2017-11-03 17:59:27,957 INFO : train_misclass 0.04735\n",
"2017-11-03 17:59:27,958 INFO : valid_misclass 0.19553\n",
"2017-11-03 17:59:27,959 INFO : test_misclass 0.26250\n",
"2017-11-03 17:59:27,960 INFO : runtime 0.66379\n",
"2017-11-03 17:59:27,960 INFO : \n",
"2017-11-03 17:59:28,508 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:28,616 INFO : Epoch 19\n",
"2017-11-03 17:59:28,617 INFO : train_loss 0.14053\n",
"2017-11-03 17:59:28,618 INFO : valid_loss 0.53879\n",
"2017-11-03 17:59:28,619 INFO : test_loss 0.74517\n",
"2017-11-03 17:59:28,619 INFO : train_misclass 0.03343\n",
"2017-11-03 17:59:28,620 INFO : valid_misclass 0.20670\n",
"2017-11-03 17:59:28,621 INFO : test_misclass 0.25625\n",
"2017-11-03 17:59:28,622 INFO : runtime 0.65849\n",
"2017-11-03 17:59:28,622 INFO : \n",
"2017-11-03 17:59:29,169 INFO : Time only for training updates: 0.55s\n",
"2017-11-03 17:59:29,279 INFO : Epoch 20\n",
"2017-11-03 17:59:29,280 INFO : train_loss 0.22331\n",
"2017-11-03 17:59:29,281 INFO : valid_loss 0.49784\n",
"2017-11-03 17:59:29,282 INFO : test_loss 0.70844\n",
"2017-11-03 17:59:29,283 INFO : train_misclass 0.06964\n",
"2017-11-03 17:59:29,283 INFO : valid_misclass 0.16760\n",
"2017-11-03 17:59:29,284 INFO : test_misclass 0.23750\n",
"2017-11-03 17:59:29,285 INFO : runtime 0.66110\n",
"2017-11-03 17:59:29,286 INFO : \n",
"2017-11-03 17:59:29,290 INFO : New best valid_misclass: 0.167598\n",
"2017-11-03 17:59:29,290 INFO : \n",
"2017-11-03 17:59:29,291 INFO : Setup for second stop...\n",
"2017-11-03 17:59:29,295 INFO : Train loss to reach 0.22331\n",
"2017-11-03 17:59:29,296 INFO : Run until second stop...\n",
"2017-11-03 17:59:29,410 INFO : Epoch 21\n",
"2017-11-03 17:59:29,412 INFO : train_loss 0.27810\n",
"2017-11-03 17:59:29,412 INFO : valid_loss 0.49784\n",
"2017-11-03 17:59:29,413 INFO : test_loss 0.70844\n",
"2017-11-03 17:59:29,414 INFO : train_misclass 0.08919\n",
"2017-11-03 17:59:29,415 INFO : valid_misclass 0.16760\n",
"2017-11-03 17:59:29,415 INFO : test_misclass 0.23750\n",
"2017-11-03 17:59:29,416 INFO : runtime 0.13360\n",
"2017-11-03 17:59:29,417 INFO : \n",
"2017-11-03 17:59:29,958 INFO : Time only for training updates: 0.54s\n",
"2017-11-03 17:59:30,085 INFO : Epoch 22\n",
"2017-11-03 17:59:30,087 INFO : train_loss 0.23934\n",
"2017-11-03 17:59:30,088 INFO : valid_loss 0.45107\n",
"2017-11-03 17:59:30,088 INFO : test_loss 0.86186\n",
"2017-11-03 17:59:30,089 INFO : train_misclass 0.09142\n",
"2017-11-03 17:59:30,090 INFO : valid_misclass 0.20670\n",
"2017-11-03 17:59:30,091 INFO : test_misclass 0.28750\n",
"2017-11-03 17:59:30,091 INFO : runtime 0.65554\n",
"2017-11-03 17:59:30,092 INFO : \n",
"2017-11-03 17:59:30,630 INFO : Time only for training updates: 0.54s\n",
"2017-11-03 17:59:30,754 INFO : Epoch 23\n",
"2017-11-03 17:59:30,755 INFO : train_loss 0.23411\n",
"2017-11-03 17:59:30,756 INFO : valid_loss 0.33481\n",
"2017-11-03 17:59:30,757 INFO : test_loss 0.72723\n",
"2017-11-03 17:59:30,758 INFO : train_misclass 0.06132\n",
"2017-11-03 17:59:30,759 INFO : valid_misclass 0.13408\n",
"2017-11-03 17:59:30,760 INFO : test_misclass 0.31250\n",
"2017-11-03 17:59:30,761 INFO : runtime 0.67196\n",
"2017-11-03 17:59:30,762 INFO : \n",
"2017-11-03 17:59:31,304 INFO : Time only for training updates: 0.54s\n",
"2017-11-03 17:59:31,429 INFO : Epoch 24\n",
"2017-11-03 17:59:31,431 INFO : train_loss 0.24864\n",
"2017-11-03 17:59:31,432 INFO : valid_loss 0.30050\n",
"2017-11-03 17:59:31,432 INFO : test_loss 0.63026\n",
"2017-11-03 17:59:31,433 INFO : train_misclass 0.08250\n",
"2017-11-03 17:59:31,434 INFO : valid_misclass 0.11173\n",
"2017-11-03 17:59:31,435 INFO : test_misclass 0.23750\n",
"2017-11-03 17:59:31,435 INFO : runtime 0.67471\n",
"2017-11-03 17:59:31,437 INFO : \n",
"2017-11-03 17:59:31,976 INFO : Time only for training updates: 0.54s\n",
"2017-11-03 17:59:32,101 INFO : Epoch 25\n",
"2017-11-03 17:59:32,102 INFO : train_loss 0.16780\n",
"2017-11-03 17:59:32,103 INFO : valid_loss 0.26910\n",
"2017-11-03 17:59:32,104 INFO : test_loss 0.76967\n",
"2017-11-03 17:59:32,105 INFO : train_misclass 0.05017\n",
"2017-11-03 17:59:32,105 INFO : valid_misclass 0.09497\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-11-03 17:59:32,106 INFO : test_misclass 0.29375\n",
"2017-11-03 17:59:32,107 INFO : runtime 0.67182\n",
"2017-11-03 17:59:32,108 INFO : \n",
"2017-11-03 17:59:32,648 INFO : Time only for training updates: 0.54s\n",
"2017-11-03 17:59:32,772 INFO : Epoch 26\n",
"2017-11-03 17:59:32,773 INFO : train_loss 0.13316\n",
"2017-11-03 17:59:32,774 INFO : valid_loss 0.21726\n",
"2017-11-03 17:59:32,775 INFO : test_loss 0.72940\n",
"2017-11-03 17:59:32,776 INFO : train_misclass 0.04571\n",
"2017-11-03 17:59:32,776 INFO : valid_misclass 0.08380\n",
"2017-11-03 17:59:32,777 INFO : test_misclass 0.27500\n",
"2017-11-03 17:59:32,778 INFO : runtime 0.67151\n",
"2017-11-03 17:59:32,779 INFO : \n"
]
}
],
"source": [
"exp.run()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We arrive around 26%, exact value depending on stars :))"
]
}
],
"metadata": {
"celltoolbar": "Edit Metadata",
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.6"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
-982
Ver Arquivo
@@ -1,982 +0,0 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true,
"nbsphinx": "hidden"
},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2\n",
"import os\n",
"os.sys.path.insert(0, '/home/schirrmr/braindecode/code/braindecode/')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Cropped Decoding"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Now we will use cropped decoding. Cropped decoding means the ConvNet is trained on time windows/time crops within the trials. We will explain this visually by comparing trialwise to cropped decoding.\n",
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Trialwise Decoding | Cropped Decoding\n",
"- | - \n",
"![Trialwise Decoding](./trialwise_explanation.png \"Trialwise Decoding\") | ![Cropped Decoding](./cropped_explanation.png \"Cropped Decoding\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"On the left, you see trialwise decoding:\n",
"\n",
"1. A complete trial is pushed through the network\n",
"2. The network produces a prediction\n",
"3. The prediction is compared to the target (label) for that trial to compute the loss\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"On the right, you see cropped decoding:\n",
"\n",
"1. Instead of a complete trial, windows within the trial, here called *crops*, are pushed through the network\n",
"2. For computational efficiency, multiple neighbouring crops are pushed through the network simultaneously (these neighbouring crops are called a *supercrop*)\n",
"3. Therefore, the network produces multiple predictions (one per crop in the supercrop)\n",
"4. The individual crop predictions are averaged before computing the loss function\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Notes:\n",
"\n",
"* The network architecture implicitly defines the crop size (it is the receptive field size, i.e., the number of timesteps the network uses to make a single prediction)\n",
"* The supercrop size is a user-defined hyperparameter, called `input_time_length` in Braindecode. It mostly affects runtime (larger supercrop sizes should be faster). As a rule of thumb, you can set it to two times the crop size.\n",
"* Crop size and supercrop size together define how many predictions the network makes per supercrop: $\\mathrm{\\#supercrop}-\\mathrm{\\#crop}+1=\\mathrm{\\#predictions}$"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"For cropped decoding, the above training setup is mathematically identical to sampling crops in your dataset, pushing them through the network and training directly on the individual crops. At the same time, the above training setup is much faster as it avoids redundant computations by using dilated convolutions, see our paper [Deep learning with convolutional neural networks for EEG decoding and visualization](https://arxiv.org/abs/1703.05051). However, the two setups are only mathematically identical in case (1) your network does not use any padding and (2) your loss function leads to the same gradients when using the averaged output. The first is true for our shallow and deep ConvNet models and the second is true for the log-softmax outputs and negative log likelihood loss that is typically used for classification in PyTorch."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Most of the code for cropped decoding is identical to the [Trialwise Decoding Tutorial](Trialwise_Decoding.html), differences are explained in the text."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Enable logging"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import logging\n",
"import importlib\n",
"importlib.reload(logging) # see https://stackoverflow.com/a/21475297/1469195\n",
"log = logging.getLogger()\n",
"log.setLevel('INFO')\n",
"import sys\n",
"logging.basicConfig(format='%(asctime)s %(levelname)s : %(message)s',\n",
" level=logging.INFO, stream=sys.stdout)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Load data"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import mne\n",
"from mne.io import concatenate_raws\n",
"\n",
"# 5,6,7,10,13,14 are codes for executed and imagined hands/feet\n",
"subject_id = 22\n",
"event_codes = [5,6,9,10,13,14]\n",
"#event_codes = [3,4,5,6,7,8,9,10,11,12,13,14]\n",
"\n",
"# This will download the files if you don't have them yet,\n",
"# and then return the paths to the files.\n",
"physionet_paths = mne.datasets.eegbci.load_data(subject_id, event_codes)\n",
"\n",
"# Load each of the files\n",
"parts = [mne.io.read_raw_edf(path, preload=True,stim_channel='auto', verbose='WARNING')\n",
" for path in physionet_paths]\n",
"\n",
"# Concatenate them\n",
"raw = concatenate_raws(parts)\n",
"\n",
"# Find the events in this dataset\n",
"events = mne.find_events(raw, shortest_event=0, stim_channel='STI 014')\n",
"\n",
"# Use only EEG channels\n",
"eeg_channel_inds = mne.pick_types(raw.info, meg=False, eeg=True, stim=False, eog=False,\n",
" exclude='bads')\n",
"\n",
"# Extract trials, only using EEG channels\n",
"epoched = mne.Epochs(raw, events, dict(hands_or_left=2, feet_or_right=3), tmin=1, tmax=4.1, proj=False, picks=eeg_channel_inds,\n",
" baseline=None, preload=True)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Convert data to Braindecode format"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import numpy as np\n",
"# Convert data from volt to millivolt\n",
"# Pytorch expects float32 for input and int64 for labels.\n",
"X = (epoched.get_data() * 1e6).astype(np.float32)\n",
"y = (epoched.events[:,2] - 2).astype(np.int64) #2,3 -> 0,1"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.datautil.signal_target import SignalAndTarget\n",
"\n",
"train_set = SignalAndTarget(X[:40], y=y[:40])\n",
"valid_set = SignalAndTarget(X[40:70], y=y[40:70])\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Create the model"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-info\">\n",
"\n",
"As in the trialwise decoding tutorial, we will use the Braindecode model class directly to perform the training in a few lines of code. If you instead want to use your own training loop, have a look at the [Cropped Manual Training Loop Tutorial](./Cropped_Manual_Training_Loop.html).\n",
"</div>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"For cropped decoding, we now transform the model into a model that outputs a dense time series of predictions.\n",
"For this, we manually set the length of the final convolution layer to some length that makes the receptive field of the ConvNet smaller than the number of samples in a trial (see `final_conv_length=12` in the model definition). "
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"collapsed": true,
"scrolled": true
},
"outputs": [],
"source": [
"from braindecode.models.shallow_fbcsp import ShallowFBCSPNet\n",
"from torch import nn\n",
"from braindecode.torch_ext.util import set_random_seeds\n",
"\n",
"# Set if you want to use GPU\n",
"# You can also use torch.cuda.is_available() to determine if cuda is available on your machine.\n",
"cuda = False\n",
"set_random_seeds(seed=20170629, cuda=cuda)\n",
"n_classes = 2\n",
"in_chans = train_set.X.shape[1]\n",
"\n",
"model = ShallowFBCSPNet(in_chans=in_chans, n_classes=n_classes,\n",
" input_time_length=None,\n",
" final_conv_length=12)\n",
"if cuda:\n",
" model.cuda()\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Now we supply `cropped=True` to our compile function "
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.torch_ext.optimizers import AdamW\n",
"import torch.nn.functional as F\n",
"#optimizer = AdamW(model.parameters(), lr=1*0.01, weight_decay=0.5*0.001) # these are good values for the deep model\n",
"optimizer = AdamW(model.parameters(), lr=0.0625 * 0.01, weight_decay=0)\n",
"model.compile(loss=F.nll_loss, optimizer=optimizer, iterator_seed=1, cropped=True)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Run the training"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"For fitting, we must supply the super crop size. Here, we it to 450 by setting `input_time_length = 450`."
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2018-08-08 11:49:48,805 INFO : Run until first stop...\n",
"2018-08-08 11:49:52,805 INFO : Time only for training updates: 3.99s\n",
"2018-08-08 11:49:54,825 INFO : Epoch 0\n",
"2018-08-08 11:49:54,826 INFO : train_loss 4.16812\n",
"2018-08-08 11:49:54,830 INFO : valid_loss 3.39068\n",
"2018-08-08 11:49:54,830 INFO : train_misclass 0.50000\n",
"2018-08-08 11:49:54,831 INFO : valid_misclass 0.53333\n",
"2018-08-08 11:49:54,833 INFO : runtime 0.00000\n",
"2018-08-08 11:49:54,835 INFO : \n",
"2018-08-08 11:49:59,395 INFO : Time only for training updates: 4.55s\n",
"2018-08-08 11:50:03,372 INFO : Epoch 1\n",
"2018-08-08 11:50:03,379 INFO : train_loss 3.04388\n",
"2018-08-08 11:50:03,384 INFO : valid_loss 2.38477\n",
"2018-08-08 11:50:03,389 INFO : train_misclass 0.52500\n",
"2018-08-08 11:50:03,394 INFO : valid_misclass 0.53333\n",
"2018-08-08 11:50:03,398 INFO : runtime 6.59494\n",
"2018-08-08 11:50:03,403 INFO : \n",
"2018-08-08 11:50:09,317 INFO : Time only for training updates: 5.90s\n",
"2018-08-08 11:50:13,263 INFO : Epoch 2\n",
"2018-08-08 11:50:13,268 INFO : train_loss 2.06639\n",
"2018-08-08 11:50:13,273 INFO : valid_loss 1.61044\n",
"2018-08-08 11:50:13,277 INFO : train_misclass 0.47500\n",
"2018-08-08 11:50:13,281 INFO : valid_misclass 0.50000\n",
"2018-08-08 11:50:13,285 INFO : runtime 9.91786\n",
"2018-08-08 11:50:13,289 INFO : \n",
"2018-08-08 11:50:19,343 INFO : Time only for training updates: 6.03s\n",
"2018-08-08 11:50:23,245 INFO : Epoch 3\n",
"2018-08-08 11:50:23,251 INFO : train_loss 1.41936\n",
"2018-08-08 11:50:23,255 INFO : valid_loss 1.18789\n",
"2018-08-08 11:50:23,259 INFO : train_misclass 0.47500\n",
"2018-08-08 11:50:23,263 INFO : valid_misclass 0.50000\n",
"2018-08-08 11:50:23,267 INFO : runtime 10.02883\n",
"2018-08-08 11:50:23,271 INFO : \n",
"2018-08-08 11:50:29,225 INFO : Time only for training updates: 5.94s\n",
"2018-08-08 11:50:33,218 INFO : Epoch 4\n",
"2018-08-08 11:50:33,223 INFO : train_loss 1.00751\n",
"2018-08-08 11:50:33,227 INFO : valid_loss 0.95534\n",
"2018-08-08 11:50:33,232 INFO : train_misclass 0.40000\n",
"2018-08-08 11:50:33,236 INFO : valid_misclass 0.43333\n",
"2018-08-08 11:50:33,242 INFO : runtime 9.88115\n",
"2018-08-08 11:50:33,248 INFO : \n",
"2018-08-08 11:50:39,206 INFO : Time only for training updates: 5.94s\n",
"2018-08-08 11:50:43,233 INFO : Epoch 5\n",
"2018-08-08 11:50:43,237 INFO : train_loss 0.76304\n",
"2018-08-08 11:50:43,240 INFO : valid_loss 0.83303\n",
"2018-08-08 11:50:43,243 INFO : train_misclass 0.32500\n",
"2018-08-08 11:50:43,247 INFO : valid_misclass 0.43333\n",
"2018-08-08 11:50:43,250 INFO : runtime 9.97928\n",
"2018-08-08 11:50:43,255 INFO : \n",
"2018-08-08 11:50:49,142 INFO : Time only for training updates: 5.87s\n",
"2018-08-08 11:50:53,124 INFO : Epoch 6\n",
"2018-08-08 11:50:53,130 INFO : train_loss 0.61960\n",
"2018-08-08 11:50:53,134 INFO : valid_loss 0.78367\n",
"2018-08-08 11:50:53,139 INFO : train_misclass 0.30000\n",
"2018-08-08 11:50:53,143 INFO : valid_misclass 0.43333\n",
"2018-08-08 11:50:53,148 INFO : runtime 9.93809\n",
"2018-08-08 11:50:53,152 INFO : \n",
"2018-08-08 11:50:59,114 INFO : Time only for training updates: 5.95s\n",
"2018-08-08 11:51:03,191 INFO : Epoch 7\n",
"2018-08-08 11:51:03,197 INFO : train_loss 0.51544\n",
"2018-08-08 11:51:03,202 INFO : valid_loss 0.75722\n",
"2018-08-08 11:51:03,207 INFO : train_misclass 0.25000\n",
"2018-08-08 11:51:03,211 INFO : valid_misclass 0.36667\n",
"2018-08-08 11:51:03,215 INFO : runtime 9.97154\n",
"2018-08-08 11:51:03,220 INFO : \n",
"2018-08-08 11:51:09,159 INFO : Time only for training updates: 5.92s\n",
"2018-08-08 11:51:13,178 INFO : Epoch 8\n",
"2018-08-08 11:51:13,183 INFO : train_loss 0.41659\n",
"2018-08-08 11:51:13,187 INFO : valid_loss 0.70797\n",
"2018-08-08 11:51:13,191 INFO : train_misclass 0.20000\n",
"2018-08-08 11:51:13,194 INFO : valid_misclass 0.33333\n",
"2018-08-08 11:51:13,197 INFO : runtime 10.04526\n",
"2018-08-08 11:51:13,201 INFO : \n",
"2018-08-08 11:51:19,142 INFO : Time only for training updates: 5.93s\n",
"2018-08-08 11:51:23,173 INFO : Epoch 9\n",
"2018-08-08 11:51:23,195 INFO : train_loss 0.33328\n",
"2018-08-08 11:51:23,197 INFO : valid_loss 0.65720\n",
"2018-08-08 11:51:23,198 INFO : train_misclass 0.17500\n",
"2018-08-08 11:51:23,199 INFO : valid_misclass 0.30000\n",
"2018-08-08 11:51:23,200 INFO : runtime 9.98219\n",
"2018-08-08 11:51:23,201 INFO : \n",
"2018-08-08 11:51:29,120 INFO : Time only for training updates: 5.89s\n",
"2018-08-08 11:51:32,990 INFO : Epoch 10\n",
"2018-08-08 11:51:32,995 INFO : train_loss 0.27232\n",
"2018-08-08 11:51:32,999 INFO : valid_loss 0.62543\n",
"2018-08-08 11:51:33,004 INFO : train_misclass 0.15000\n",
"2018-08-08 11:51:33,008 INFO : valid_misclass 0.30000\n",
"2018-08-08 11:51:33,012 INFO : runtime 9.97608\n",
"2018-08-08 11:51:33,015 INFO : \n",
"2018-08-08 11:51:38,980 INFO : Time only for training updates: 5.95s\n",
"2018-08-08 11:51:42,894 INFO : Epoch 11\n",
"2018-08-08 11:51:42,899 INFO : train_loss 0.22401\n",
"2018-08-08 11:51:42,903 INFO : valid_loss 0.59923\n",
"2018-08-08 11:51:42,907 INFO : train_misclass 0.07500\n",
"2018-08-08 11:51:42,911 INFO : valid_misclass 0.30000\n",
"2018-08-08 11:51:42,914 INFO : runtime 9.86210\n",
"2018-08-08 11:51:42,918 INFO : \n",
"2018-08-08 11:51:48,798 INFO : Time only for training updates: 5.87s\n",
"2018-08-08 11:51:52,831 INFO : Epoch 12\n",
"2018-08-08 11:51:52,835 INFO : train_loss 0.18465\n",
"2018-08-08 11:51:52,839 INFO : valid_loss 0.56904\n",
"2018-08-08 11:51:52,843 INFO : train_misclass 0.00000\n",
"2018-08-08 11:51:52,847 INFO : valid_misclass 0.26667\n",
"2018-08-08 11:51:52,850 INFO : runtime 9.81899\n",
"2018-08-08 11:51:52,854 INFO : \n",
"2018-08-08 11:51:58,798 INFO : Time only for training updates: 5.93s\n",
"2018-08-08 11:52:02,766 INFO : Epoch 13\n",
"2018-08-08 11:52:02,771 INFO : train_loss 0.15289\n",
"2018-08-08 11:52:02,775 INFO : valid_loss 0.53387\n",
"2018-08-08 11:52:02,780 INFO : train_misclass 0.00000\n",
"2018-08-08 11:52:02,784 INFO : valid_misclass 0.23333\n",
"2018-08-08 11:52:02,788 INFO : runtime 9.99905\n",
"2018-08-08 11:52:02,793 INFO : \n",
"2018-08-08 11:52:08,751 INFO : Time only for training updates: 5.94s\n",
"2018-08-08 11:52:12,614 INFO : Epoch 14\n",
"2018-08-08 11:52:12,620 INFO : train_loss 0.12854\n",
"2018-08-08 11:52:12,627 INFO : valid_loss 0.49827\n",
"2018-08-08 11:52:12,633 INFO : train_misclass 0.00000\n",
"2018-08-08 11:52:12,637 INFO : valid_misclass 0.20000\n",
"2018-08-08 11:52:12,642 INFO : runtime 9.95297\n",
"2018-08-08 11:52:12,644 INFO : \n",
"2018-08-08 11:52:18,474 INFO : Time only for training updates: 5.82s\n",
"2018-08-08 11:52:21,438 INFO : Epoch 15\n",
"2018-08-08 11:52:21,439 INFO : train_loss 0.11070\n",
"2018-08-08 11:52:21,440 INFO : valid_loss 0.46770\n",
"2018-08-08 11:52:21,441 INFO : train_misclass 0.00000\n",
"2018-08-08 11:52:21,443 INFO : valid_misclass 0.16667\n",
"2018-08-08 11:52:21,444 INFO : runtime 9.72386\n",
"2018-08-08 11:52:21,445 INFO : \n",
"2018-08-08 11:52:24,518 INFO : Time only for training updates: 3.06s\n",
"2018-08-08 11:52:26,554 INFO : Epoch 16\n",
"2018-08-08 11:52:26,556 INFO : train_loss 0.09734\n",
"2018-08-08 11:52:26,557 INFO : valid_loss 0.44107\n",
"2018-08-08 11:52:26,558 INFO : train_misclass 0.00000\n",
"2018-08-08 11:52:26,559 INFO : valid_misclass 0.16667\n",
"2018-08-08 11:52:26,560 INFO : runtime 6.04018\n",
"2018-08-08 11:52:26,561 INFO : \n",
"2018-08-08 11:52:29,640 INFO : Time only for training updates: 3.07s\n",
"2018-08-08 11:52:31,673 INFO : Epoch 17\n",
"2018-08-08 11:52:31,674 INFO : train_loss 0.08650\n",
"2018-08-08 11:52:31,678 INFO : valid_loss 0.41685\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2018-08-08 11:52:31,680 INFO : train_misclass 0.00000\n",
"2018-08-08 11:52:31,681 INFO : valid_misclass 0.16667\n",
"2018-08-08 11:52:31,682 INFO : runtime 5.12189\n",
"2018-08-08 11:52:31,683 INFO : \n",
"2018-08-08 11:52:34,754 INFO : Time only for training updates: 3.06s\n",
"2018-08-08 11:52:36,786 INFO : Epoch 18\n",
"2018-08-08 11:52:36,787 INFO : train_loss 0.07784\n",
"2018-08-08 11:52:36,791 INFO : valid_loss 0.39502\n",
"2018-08-08 11:52:36,792 INFO : train_misclass 0.00000\n",
"2018-08-08 11:52:36,793 INFO : valid_misclass 0.13333\n",
"2018-08-08 11:52:36,794 INFO : runtime 5.11526\n",
"2018-08-08 11:52:36,796 INFO : \n",
"2018-08-08 11:52:39,876 INFO : Time only for training updates: 3.07s\n",
"2018-08-08 11:52:41,910 INFO : Epoch 19\n",
"2018-08-08 11:52:41,911 INFO : train_loss 0.07096\n",
"2018-08-08 11:52:41,915 INFO : valid_loss 0.37620\n",
"2018-08-08 11:52:41,916 INFO : train_misclass 0.00000\n",
"2018-08-08 11:52:41,920 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:52:41,921 INFO : runtime 5.12150\n",
"2018-08-08 11:52:41,923 INFO : \n",
"2018-08-08 11:52:45,000 INFO : Time only for training updates: 3.07s\n",
"2018-08-08 11:52:47,032 INFO : Epoch 20\n",
"2018-08-08 11:52:47,033 INFO : train_loss 0.06583\n",
"2018-08-08 11:52:47,037 INFO : valid_loss 0.36116\n",
"2018-08-08 11:52:47,038 INFO : train_misclass 0.00000\n",
"2018-08-08 11:52:47,040 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:52:47,042 INFO : runtime 5.12370\n",
"2018-08-08 11:52:47,045 INFO : \n",
"2018-08-08 11:52:50,116 INFO : Time only for training updates: 3.06s\n",
"2018-08-08 11:52:52,148 INFO : Epoch 21\n",
"2018-08-08 11:52:52,149 INFO : train_loss 0.06186\n",
"2018-08-08 11:52:52,151 INFO : valid_loss 0.34902\n",
"2018-08-08 11:52:52,152 INFO : train_misclass 0.00000\n",
"2018-08-08 11:52:52,153 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:52:52,154 INFO : runtime 5.11570\n",
"2018-08-08 11:52:52,156 INFO : \n",
"2018-08-08 11:52:55,236 INFO : Time only for training updates: 3.07s\n",
"2018-08-08 11:52:57,268 INFO : Epoch 22\n",
"2018-08-08 11:52:57,269 INFO : train_loss 0.05873\n",
"2018-08-08 11:52:57,273 INFO : valid_loss 0.33921\n",
"2018-08-08 11:52:57,274 INFO : train_misclass 0.00000\n",
"2018-08-08 11:52:57,278 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:52:57,279 INFO : runtime 5.12058\n",
"2018-08-08 11:52:57,282 INFO : \n",
"2018-08-08 11:53:00,444 INFO : Time only for training updates: 3.15s\n",
"2018-08-08 11:53:02,601 INFO : Epoch 23\n",
"2018-08-08 11:53:02,602 INFO : train_loss 0.05626\n",
"2018-08-08 11:53:02,606 INFO : valid_loss 0.33130\n",
"2018-08-08 11:53:02,607 INFO : train_misclass 0.00000\n",
"2018-08-08 11:53:02,607 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:53:02,610 INFO : runtime 5.20754\n",
"2018-08-08 11:53:02,612 INFO : \n",
"2018-08-08 11:53:05,691 INFO : Time only for training updates: 3.07s\n",
"2018-08-08 11:53:07,723 INFO : Epoch 24\n",
"2018-08-08 11:53:07,724 INFO : train_loss 0.05439\n",
"2018-08-08 11:53:07,727 INFO : valid_loss 0.32496\n",
"2018-08-08 11:53:07,728 INFO : train_misclass 0.00000\n",
"2018-08-08 11:53:07,729 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:53:07,730 INFO : runtime 5.24707\n",
"2018-08-08 11:53:07,731 INFO : \n",
"2018-08-08 11:53:10,805 INFO : Time only for training updates: 3.06s\n",
"2018-08-08 11:53:12,832 INFO : Epoch 25\n",
"2018-08-08 11:53:12,833 INFO : train_loss 0.05298\n",
"2018-08-08 11:53:12,835 INFO : valid_loss 0.31987\n",
"2018-08-08 11:53:12,836 INFO : train_misclass 0.00000\n",
"2018-08-08 11:53:12,837 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:53:12,838 INFO : runtime 5.11422\n",
"2018-08-08 11:53:12,839 INFO : \n",
"2018-08-08 11:53:15,915 INFO : Time only for training updates: 3.06s\n",
"2018-08-08 11:53:17,942 INFO : Epoch 26\n",
"2018-08-08 11:53:17,943 INFO : train_loss 0.05193\n",
"2018-08-08 11:53:17,947 INFO : valid_loss 0.31576\n",
"2018-08-08 11:53:17,948 INFO : train_misclass 0.00000\n",
"2018-08-08 11:53:17,949 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:53:17,950 INFO : runtime 5.10983\n",
"2018-08-08 11:53:17,951 INFO : \n",
"2018-08-08 11:53:21,025 INFO : Time only for training updates: 3.06s\n",
"2018-08-08 11:53:23,051 INFO : Epoch 27\n",
"2018-08-08 11:53:23,052 INFO : train_loss 0.05121\n",
"2018-08-08 11:53:23,055 INFO : valid_loss 0.31244\n",
"2018-08-08 11:53:23,056 INFO : train_misclass 0.00000\n",
"2018-08-08 11:53:23,057 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:53:23,058 INFO : runtime 5.10984\n",
"2018-08-08 11:53:23,060 INFO : \n",
"2018-08-08 11:53:26,138 INFO : Time only for training updates: 3.07s\n",
"2018-08-08 11:53:28,171 INFO : Epoch 28\n",
"2018-08-08 11:53:28,172 INFO : train_loss 0.05073\n",
"2018-08-08 11:53:28,175 INFO : valid_loss 0.30970\n",
"2018-08-08 11:53:28,176 INFO : train_misclass 0.00000\n",
"2018-08-08 11:53:28,177 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:53:28,179 INFO : runtime 5.11324\n",
"2018-08-08 11:53:28,180 INFO : \n",
"2018-08-08 11:53:31,252 INFO : Time only for training updates: 3.06s\n",
"2018-08-08 11:53:33,283 INFO : Epoch 29\n",
"2018-08-08 11:53:33,284 INFO : train_loss 0.05041\n",
"2018-08-08 11:53:33,287 INFO : valid_loss 0.30740\n",
"2018-08-08 11:53:33,288 INFO : train_misclass 0.00000\n",
"2018-08-08 11:53:33,289 INFO : valid_misclass 0.10000\n",
"2018-08-08 11:53:33,290 INFO : runtime 5.11368\n",
"2018-08-08 11:53:33,292 INFO : \n"
]
},
{
"data": {
"text/plain": [
"<braindecode.experiments.experiment.Experiment at 0x7f75b82e8940>"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"input_time_length = 450\n",
"model.fit(train_set.X, train_set.y, epochs=30, batch_size=64, scheduler='cosine',\n",
" input_time_length=input_time_length,\n",
" validation_data=(valid_set.X, valid_set.y),)"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style>\n",
" .dataframe thead tr:only-child th {\n",
" text-align: right;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: left;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>train_loss</th>\n",
" <th>valid_loss</th>\n",
" <th>train_misclass</th>\n",
" <th>valid_misclass</th>\n",
" <th>runtime</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>4.168118</td>\n",
" <td>3.390682</td>\n",
" <td>0.500</td>\n",
" <td>0.533333</td>\n",
" <td>0.000000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>3.043880</td>\n",
" <td>2.384769</td>\n",
" <td>0.525</td>\n",
" <td>0.533333</td>\n",
" <td>6.594939</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>2.066392</td>\n",
" <td>1.610444</td>\n",
" <td>0.475</td>\n",
" <td>0.500000</td>\n",
" <td>9.917859</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>1.419359</td>\n",
" <td>1.187893</td>\n",
" <td>0.475</td>\n",
" <td>0.500000</td>\n",
" <td>10.028832</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>1.007514</td>\n",
" <td>0.955341</td>\n",
" <td>0.400</td>\n",
" <td>0.433333</td>\n",
" <td>9.881147</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>0.763041</td>\n",
" <td>0.833030</td>\n",
" <td>0.325</td>\n",
" <td>0.433333</td>\n",
" <td>9.979284</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>0.619604</td>\n",
" <td>0.783671</td>\n",
" <td>0.300</td>\n",
" <td>0.433333</td>\n",
" <td>9.938087</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>0.515436</td>\n",
" <td>0.757223</td>\n",
" <td>0.250</td>\n",
" <td>0.366667</td>\n",
" <td>9.971540</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>0.416595</td>\n",
" <td>0.707971</td>\n",
" <td>0.200</td>\n",
" <td>0.333333</td>\n",
" <td>10.045257</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>0.333283</td>\n",
" <td>0.657200</td>\n",
" <td>0.175</td>\n",
" <td>0.300000</td>\n",
" <td>9.982185</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>0.272317</td>\n",
" <td>0.625433</td>\n",
" <td>0.150</td>\n",
" <td>0.300000</td>\n",
" <td>9.976075</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>0.224010</td>\n",
" <td>0.599227</td>\n",
" <td>0.075</td>\n",
" <td>0.300000</td>\n",
" <td>9.862099</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>0.184646</td>\n",
" <td>0.569042</td>\n",
" <td>0.000</td>\n",
" <td>0.266667</td>\n",
" <td>9.818995</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>0.152886</td>\n",
" <td>0.533874</td>\n",
" <td>0.000</td>\n",
" <td>0.233333</td>\n",
" <td>9.999050</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>0.128538</td>\n",
" <td>0.498271</td>\n",
" <td>0.000</td>\n",
" <td>0.200000</td>\n",
" <td>9.952966</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>0.110699</td>\n",
" <td>0.467696</td>\n",
" <td>0.000</td>\n",
" <td>0.166667</td>\n",
" <td>9.723856</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>0.097337</td>\n",
" <td>0.441067</td>\n",
" <td>0.000</td>\n",
" <td>0.166667</td>\n",
" <td>6.040177</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>0.086503</td>\n",
" <td>0.416848</td>\n",
" <td>0.000</td>\n",
" <td>0.166667</td>\n",
" <td>5.121891</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>0.077835</td>\n",
" <td>0.395015</td>\n",
" <td>0.000</td>\n",
" <td>0.133333</td>\n",
" <td>5.115263</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>0.070961</td>\n",
" <td>0.376196</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.121497</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>0.065832</td>\n",
" <td>0.361156</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.123702</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>0.061856</td>\n",
" <td>0.349016</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.115699</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>0.058733</td>\n",
" <td>0.339215</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.120580</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>0.056258</td>\n",
" <td>0.331300</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.207545</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>0.054392</td>\n",
" <td>0.324961</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.247069</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25</th>\n",
" <td>0.052977</td>\n",
" <td>0.319866</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.114219</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26</th>\n",
" <td>0.051933</td>\n",
" <td>0.315760</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.109835</td>\n",
" </tr>\n",
" <tr>\n",
" <th>27</th>\n",
" <td>0.051210</td>\n",
" <td>0.312438</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.109844</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28</th>\n",
" <td>0.050732</td>\n",
" <td>0.309702</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.113238</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29</th>\n",
" <td>0.050408</td>\n",
" <td>0.307397</td>\n",
" <td>0.000</td>\n",
" <td>0.100000</td>\n",
" <td>5.113682</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" train_loss valid_loss train_misclass valid_misclass runtime\n",
"0 4.168118 3.390682 0.500 0.533333 0.000000\n",
"1 3.043880 2.384769 0.525 0.533333 6.594939\n",
"2 2.066392 1.610444 0.475 0.500000 9.917859\n",
"3 1.419359 1.187893 0.475 0.500000 10.028832\n",
"4 1.007514 0.955341 0.400 0.433333 9.881147\n",
"5 0.763041 0.833030 0.325 0.433333 9.979284\n",
"6 0.619604 0.783671 0.300 0.433333 9.938087\n",
"7 0.515436 0.757223 0.250 0.366667 9.971540\n",
"8 0.416595 0.707971 0.200 0.333333 10.045257\n",
"9 0.333283 0.657200 0.175 0.300000 9.982185\n",
"10 0.272317 0.625433 0.150 0.300000 9.976075\n",
"11 0.224010 0.599227 0.075 0.300000 9.862099\n",
"12 0.184646 0.569042 0.000 0.266667 9.818995\n",
"13 0.152886 0.533874 0.000 0.233333 9.999050\n",
"14 0.128538 0.498271 0.000 0.200000 9.952966\n",
"15 0.110699 0.467696 0.000 0.166667 9.723856\n",
"16 0.097337 0.441067 0.000 0.166667 6.040177\n",
"17 0.086503 0.416848 0.000 0.166667 5.121891\n",
"18 0.077835 0.395015 0.000 0.133333 5.115263\n",
"19 0.070961 0.376196 0.000 0.100000 5.121497\n",
"20 0.065832 0.361156 0.000 0.100000 5.123702\n",
"21 0.061856 0.349016 0.000 0.100000 5.115699\n",
"22 0.058733 0.339215 0.000 0.100000 5.120580\n",
"23 0.056258 0.331300 0.000 0.100000 5.207545\n",
"24 0.054392 0.324961 0.000 0.100000 5.247069\n",
"25 0.052977 0.319866 0.000 0.100000 5.114219\n",
"26 0.051933 0.315760 0.000 0.100000 5.109835\n",
"27 0.051210 0.312438 0.000 0.100000 5.109844\n",
"28 0.050732 0.309702 0.000 0.100000 5.113238\n",
"29 0.050408 0.307397 0.000 0.100000 5.113682"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"model.epochs_df"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Eventually, we arrive at 90% accuracy, so 27 from 30 trials are correctly predicted."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Evaluation"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{'loss': 0.4325282573699951,\n",
" 'misclass': 0.09999999999999998,\n",
" 'runtime': 0.0004916191101074219}"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"test_set = SignalAndTarget(X[70:], y=y[70:])\n",
"\n",
"model.evaluate(test_set.X, test_set.y)"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"array([1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1])"
]
},
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"model.predict(test_set.X)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Dataset references\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
" This dataset was created and contributed to PhysioNet by the developers of the [BCI2000](http://www.schalklab.org/research/bci2000) instrumentation system, which they used in making these recordings. The system is described in:\n",
" \n",
" Schalk, G., McFarland, D.J., Hinterberger, T., Birbaumer, N., Wolpaw, J.R. (2004) BCI2000: A General-Purpose Brain-Computer Interface (BCI) System. IEEE TBME 51(6):1034-1043.\n",
"\n",
"[PhysioBank](https://physionet.org/physiobank/) is a large and growing archive of well-characterized digital recordings of physiologic signals and related data for use by the biomedical research community and further described in:\n",
"\n",
" Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh, Mark RG, Mietus JE, Moody GB, Peng C-K, Stanley HE. (2000) PhysioBank, PhysioToolkit, and PhysioNet: Components of a New Research Resource for Complex Physiologic Signals. Circulation 101(23):e215-e220."
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.6"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
-804
Ver Arquivo
@@ -1,804 +0,0 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true,
"nbsphinx": "hidden"
},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2\n",
"import os\n",
"os.sys.path.insert(0, '/home/schirrmr/braindecode/code/braindecode/')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Using the Experiment Class"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Braindecode provides a convenience `Experiment` class, which removes the necessity to write your own training loop. It expects a training, a validation and a test set and trains as follows:\n",
"\n",
"1. Train on training set until a given stop criterion is fulfilled\n",
"2. Reset to the best epoch, i.e. reset parameters of the model and the optimizer to the state at the best epoch (\"best\" according to a given criterion) \n",
"3. Continue training on the combined training + validation set until the loss on the validation set is as low as it was on the best epoch for the training set. (or until the ConvNet was trained twice as many epochs as the best epoch to prevent infinite training)\n",
"\n",
"<div class='alert alert-warning'>\n",
"\n",
"It is not necessary to use the Experiment class to use the remaning functionality of Braindecode. Feel free to ignore it :)\n",
"\n",
"</div>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Load data"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Removing orphaned offset at the beginning of the file.\n",
"179 events found\n",
"Events id: [1 2 3]\n",
"90 matching events found\n",
"Loading data for 90 events and 497 original time points ...\n",
"0 bad epochs dropped\n"
]
}
],
"source": [
"import mne\n",
"from mne.io import concatenate_raws\n",
"\n",
"# 5,6,7,10,13,14 are codes for executed and imagined hands/feet\n",
"subject_id = 1\n",
"event_codes = [5,6,9,10,13,14]\n",
"\n",
"# This will download the files if you don't have them yet,\n",
"# and then return the paths to the files.\n",
"physionet_paths = mne.datasets.eegbci.load_data(subject_id, event_codes)\n",
"\n",
"# Load each of the files\n",
"parts = [mne.io.read_raw_edf(path, preload=True,stim_channel='auto', verbose='WARNING')\n",
" for path in physionet_paths]\n",
"\n",
"# Concatenate them\n",
"raw = concatenate_raws(parts)\n",
"\n",
"# Find the events in this dataset\n",
"events = mne.find_events(raw, shortest_event=0, stim_channel='STI 014')\n",
"\n",
"# Use only EEG channels\n",
"eeg_channel_inds = mne.pick_types(raw.info, meg=False, eeg=True, stim=False, eog=False,\n",
" exclude='bads')\n",
"\n",
"# Extract trials, only using EEG channels\n",
"epoched = mne.Epochs(raw, events, dict(hands=2, feet=3), tmin=1, tmax=4.1, proj=False, picks=eeg_channel_inds,\n",
" baseline=None, preload=True)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Convert data to Braindecode Format"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import numpy as np\n",
"from braindecode.datautil.signal_target import SignalAndTarget\n",
"from braindecode.datautil.splitters import split_into_two_sets\n",
"# Convert data from volt to millivolt\n",
"# Pytorch expects float32 for input and int64 for labels.\n",
"X = (epoched.get_data() * 1e6).astype(np.float32)\n",
"y = (epoched.events[:,2] - 2).astype(np.int64) #2,3 -> 0,1\n",
"\n",
"train_set = SignalAndTarget(X[:60], y=y[:60])\n",
"test_set = SignalAndTarget(X[60:], y=y[60:])\n",
"\n",
"train_set, valid_set = split_into_two_sets(train_set, first_set_fraction=0.8)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Create the model"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.models.shallow_fbcsp import ShallowFBCSPNet\n",
"from torch import nn\n",
"from braindecode.torch_ext.util import set_random_seeds\n",
"from braindecode.models.util import to_dense_prediction_model\n",
"\n",
"# Set if you want to use GPU\n",
"# You can also use torch.cuda.is_available() to determine if cuda is available on your machine.\n",
"cuda = False\n",
"set_random_seeds(seed=20170629, cuda=cuda)\n",
"\n",
"# This will determine how many crops are processed in parallel\n",
"input_time_length = 450\n",
"n_classes = 2\n",
"in_chans = train_set.X.shape[1]\n",
"# final_conv_length determines the size of the receptive field of the ConvNet\n",
"model = ShallowFBCSPNet(in_chans=in_chans, n_classes=n_classes, input_time_length=input_time_length,\n",
" final_conv_length=12).create_network()\n",
"to_dense_prediction_model(model)\n",
"\n",
"if cuda:\n",
" model.cuda()"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from torch import optim\n",
"\n",
"optimizer = optim.Adam(model.parameters())"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"187 predictions per input/trial\n"
]
}
],
"source": [
"from braindecode.torch_ext.util import np_to_var\n",
"# determine output size\n",
"test_input = np_to_var(np.ones((2, in_chans, input_time_length, 1), dtype=np.float32))\n",
"if cuda:\n",
" test_input = test_input.cuda()\n",
"out = model(test_input)\n",
"n_preds_per_input = out.cpu().data.numpy().shape[2]\n",
"print(\"{:d} predictions per input/trial\".format(n_preds_per_input))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Setup Experiment"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Now we need to setup everything for the experiment: Iterator, loss function, monitors and stop criterion."
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.experiments.experiment import Experiment\n",
"from braindecode.datautil.iterators import CropsFromTrialsIterator\n",
"from braindecode.experiments.monitors import RuntimeMonitor, LossMonitor, CroppedTrialMisclassMonitor, MisclassMonitor\n",
"from braindecode.experiments.stopcriteria import MaxEpochs\n",
"import torch.nn.functional as F\n",
"import torch as th\n",
"from braindecode.torch_ext.modules import Expression\n",
"# Iterator is used to iterate over datasets both for training\n",
"# and evaluation\n",
"iterator = CropsFromTrialsIterator(batch_size=32,input_time_length=input_time_length,\n",
" n_preds_per_input=n_preds_per_input)\n",
"\n",
"# Loss function takes predictions as they come out of the network and the targets\n",
"# and returns a loss\n",
"loss_function = lambda preds, targets: F.nll_loss(th.mean(preds, dim=2, keepdim=False), targets)\n",
"\n",
"# Could be used to apply some constraint on the models, then should be object\n",
"# with apply method that accepts a module\n",
"model_constraint = None\n",
"# Monitors log the training progress\n",
"monitors = [LossMonitor(), MisclassMonitor(col_suffix='sample_misclass'),\n",
" CroppedTrialMisclassMonitor(input_time_length), RuntimeMonitor(),]\n",
"# Stop criterion determines when the first stop happens\n",
"stop_criterion = MaxEpochs(20)\n",
"exp = Experiment(model, train_set, valid_set, test_set, iterator, loss_function, optimizer, model_constraint,\n",
" monitors, stop_criterion, remember_best_column='valid_misclass',\n",
" run_after_early_stop=True, batch_modifier=None, cuda=cuda)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Run experiment"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-10-18 14:35:26,018 INFO : Run until first stop...\n",
"2017-10-18 14:35:27,899 INFO : Epoch 0\n",
"2017-10-18 14:35:27,904 INFO : train_loss 0.86930\n",
"2017-10-18 14:35:27,908 INFO : valid_loss 0.74838\n",
"2017-10-18 14:35:27,909 INFO : test_loss 0.69756\n",
"2017-10-18 14:35:27,910 INFO : train_sample_misclass 0.53894\n",
"2017-10-18 14:35:27,912 INFO : valid_sample_misclass 0.47103\n",
"2017-10-18 14:35:27,913 INFO : test_sample_misclass 0.44251\n",
"2017-10-18 14:35:27,914 INFO : train_misclass 0.60417\n",
"2017-10-18 14:35:27,915 INFO : valid_misclass 0.50000\n",
"2017-10-18 14:35:27,916 INFO : test_misclass 0.40000\n",
"2017-10-18 14:35:27,917 INFO : runtime 0.00000\n",
"2017-10-18 14:35:27,919 INFO : \n",
"2017-10-18 14:35:27,922 INFO : New best valid_misclass: 0.500000\n",
"2017-10-18 14:35:27,924 INFO : \n",
"2017-10-18 14:35:30,830 INFO : Time only for training updates: 2.87s\n",
"2017-10-18 14:35:32,663 INFO : Epoch 1\n",
"2017-10-18 14:35:32,667 INFO : train_loss 2.33626\n",
"2017-10-18 14:35:32,671 INFO : valid_loss 2.31771\n",
"2017-10-18 14:35:32,674 INFO : test_loss 2.14077\n",
"2017-10-18 14:35:32,677 INFO : train_sample_misclass 0.48279\n",
"2017-10-18 14:35:32,681 INFO : valid_sample_misclass 0.50000\n",
"2017-10-18 14:35:32,684 INFO : test_sample_misclass 0.46667\n",
"2017-10-18 14:35:32,687 INFO : train_misclass 0.50000\n",
"2017-10-18 14:35:32,688 INFO : valid_misclass 0.50000\n",
"2017-10-18 14:35:32,690 INFO : test_misclass 0.46667\n",
"2017-10-18 14:35:32,691 INFO : runtime 4.81331\n",
"2017-10-18 14:35:32,694 INFO : \n",
"2017-10-18 14:35:32,697 INFO : New best valid_misclass: 0.500000\n",
"2017-10-18 14:35:32,698 INFO : \n",
"2017-10-18 14:35:35,105 INFO : Time only for training updates: 2.39s\n",
"2017-10-18 14:35:37,198 INFO : Epoch 2\n",
"2017-10-18 14:35:37,203 INFO : train_loss 0.59815\n",
"2017-10-18 14:35:37,206 INFO : valid_loss 0.78503\n",
"2017-10-18 14:35:37,208 INFO : test_loss 0.70060\n",
"2017-10-18 14:35:37,209 INFO : train_sample_misclass 0.33918\n",
"2017-10-18 14:35:37,210 INFO : valid_sample_misclass 0.47995\n",
"2017-10-18 14:35:37,212 INFO : test_sample_misclass 0.41996\n",
"2017-10-18 14:35:37,213 INFO : train_misclass 0.22917\n",
"2017-10-18 14:35:37,214 INFO : valid_misclass 0.41667\n",
"2017-10-18 14:35:37,215 INFO : test_misclass 0.43333\n",
"2017-10-18 14:35:37,217 INFO : runtime 4.29139\n",
"2017-10-18 14:35:37,218 INFO : \n",
"2017-10-18 14:35:37,221 INFO : New best valid_misclass: 0.416667\n",
"2017-10-18 14:35:37,222 INFO : \n",
"2017-10-18 14:35:39,655 INFO : Time only for training updates: 2.42s\n",
"2017-10-18 14:35:41,575 INFO : Epoch 3\n",
"2017-10-18 14:35:41,577 INFO : train_loss 0.53122\n",
"2017-10-18 14:35:41,578 INFO : valid_loss 0.87284\n",
"2017-10-18 14:35:41,579 INFO : test_loss 0.69774\n",
"2017-10-18 14:35:41,580 INFO : train_sample_misclass 0.24588\n",
"2017-10-18 14:35:41,581 INFO : valid_sample_misclass 0.55548\n",
"2017-10-18 14:35:41,582 INFO : test_sample_misclass 0.42709\n",
"2017-10-18 14:35:41,583 INFO : train_misclass 0.22917\n",
"2017-10-18 14:35:41,585 INFO : valid_misclass 0.50000\n",
"2017-10-18 14:35:41,586 INFO : test_misclass 0.36667\n",
"2017-10-18 14:35:41,587 INFO : runtime 4.53691\n",
"2017-10-18 14:35:41,588 INFO : \n",
"2017-10-18 14:35:44,007 INFO : Time only for training updates: 2.40s\n",
"2017-10-18 14:35:45,935 INFO : Epoch 4\n",
"2017-10-18 14:35:45,939 INFO : train_loss 0.51574\n",
"2017-10-18 14:35:45,943 INFO : valid_loss 1.10377\n",
"2017-10-18 14:35:45,946 INFO : test_loss 0.80095\n",
"2017-10-18 14:35:45,949 INFO : train_sample_misclass 0.25869\n",
"2017-10-18 14:35:45,952 INFO : valid_sample_misclass 0.60094\n",
"2017-10-18 14:35:45,956 INFO : test_sample_misclass 0.42727\n",
"2017-10-18 14:35:45,959 INFO : train_misclass 0.27083\n",
"2017-10-18 14:35:45,960 INFO : valid_misclass 0.58333\n",
"2017-10-18 14:35:45,961 INFO : test_misclass 0.46667\n",
"2017-10-18 14:35:45,966 INFO : runtime 4.35103\n",
"2017-10-18 14:35:45,967 INFO : \n",
"2017-10-18 14:35:48,389 INFO : Time only for training updates: 2.40s\n",
"2017-10-18 14:35:50,406 INFO : Epoch 5\n",
"2017-10-18 14:35:50,417 INFO : train_loss 0.52613\n",
"2017-10-18 14:35:50,419 INFO : valid_loss 1.22322\n",
"2017-10-18 14:35:50,421 INFO : test_loss 0.86285\n",
"2017-10-18 14:35:50,423 INFO : train_sample_misclass 0.27635\n",
"2017-10-18 14:35:50,425 INFO : valid_sample_misclass 0.58445\n",
"2017-10-18 14:35:50,426 INFO : test_sample_misclass 0.43841\n",
"2017-10-18 14:35:50,428 INFO : train_misclass 0.33333\n",
"2017-10-18 14:35:50,430 INFO : valid_misclass 0.58333\n",
"2017-10-18 14:35:50,432 INFO : test_misclass 0.46667\n",
"2017-10-18 14:35:50,433 INFO : runtime 4.38171\n",
"2017-10-18 14:35:50,435 INFO : \n",
"2017-10-18 14:35:53,064 INFO : Time only for training updates: 2.61s\n",
"2017-10-18 14:35:55,069 INFO : Epoch 6\n",
"2017-10-18 14:35:55,074 INFO : train_loss 0.54906\n",
"2017-10-18 14:35:55,077 INFO : valid_loss 1.23573\n",
"2017-10-18 14:35:55,080 INFO : test_loss 0.92210\n",
"2017-10-18 14:35:55,082 INFO : train_sample_misclass 0.28816\n",
"2017-10-18 14:35:55,083 INFO : valid_sample_misclass 0.53810\n",
"2017-10-18 14:35:55,084 INFO : test_sample_misclass 0.45205\n",
"2017-10-18 14:35:55,085 INFO : train_misclass 0.33333\n",
"2017-10-18 14:35:55,086 INFO : valid_misclass 0.58333\n",
"2017-10-18 14:35:55,087 INFO : test_misclass 0.46667\n",
"2017-10-18 14:35:55,089 INFO : runtime 4.67268\n",
"2017-10-18 14:35:55,090 INFO : \n",
"2017-10-18 14:35:57,534 INFO : Time only for training updates: 2.42s\n",
"2017-10-18 14:35:59,286 INFO : Epoch 7\n",
"2017-10-18 14:35:59,287 INFO : train_loss 0.59627\n",
"2017-10-18 14:35:59,289 INFO : valid_loss 1.16602\n",
"2017-10-18 14:35:59,290 INFO : test_loss 0.95655\n",
"2017-10-18 14:35:59,291 INFO : train_sample_misclass 0.32253\n",
"2017-10-18 14:35:59,292 INFO : valid_sample_misclass 0.53053\n",
"2017-10-18 14:35:59,293 INFO : test_sample_misclass 0.46346\n",
"2017-10-18 14:35:59,294 INFO : train_misclass 0.37500\n",
"2017-10-18 14:35:59,295 INFO : valid_misclass 0.58333\n",
"2017-10-18 14:35:59,296 INFO : test_misclass 0.46667\n",
"2017-10-18 14:35:59,297 INFO : runtime 4.47253\n",
"2017-10-18 14:35:59,298 INFO : \n",
"2017-10-18 14:36:01,422 INFO : Time only for training updates: 2.11s\n",
"2017-10-18 14:36:02,798 INFO : Epoch 8\n",
"2017-10-18 14:36:02,800 INFO : train_loss 0.40527\n",
"2017-10-18 14:36:02,801 INFO : valid_loss 0.95821\n",
"2017-10-18 14:36:02,802 INFO : test_loss 0.79267\n",
"2017-10-18 14:36:02,802 INFO : train_sample_misclass 0.19112\n",
"2017-10-18 14:36:02,803 INFO : valid_sample_misclass 0.52607\n",
"2017-10-18 14:36:02,804 INFO : test_sample_misclass 0.43351\n",
"2017-10-18 14:36:02,805 INFO : train_misclass 0.16667\n",
"2017-10-18 14:36:02,806 INFO : valid_misclass 0.58333\n",
"2017-10-18 14:36:02,807 INFO : test_misclass 0.40000\n",
"2017-10-18 14:36:02,808 INFO : runtime 3.88520\n",
"2017-10-18 14:36:02,809 INFO : \n",
"2017-10-18 14:36:04,816 INFO : Time only for training updates: 2.00s\n",
"2017-10-18 14:36:06,168 INFO : Epoch 9\n",
"2017-10-18 14:36:06,169 INFO : train_loss 0.30290\n",
"2017-10-18 14:36:06,171 INFO : valid_loss 0.89595\n",
"2017-10-18 14:36:06,172 INFO : test_loss 0.75205\n",
"2017-10-18 14:36:06,172 INFO : train_sample_misclass 0.10968\n",
"2017-10-18 14:36:06,173 INFO : valid_sample_misclass 0.56684\n",
"2017-10-18 14:36:06,174 INFO : test_sample_misclass 0.43119\n",
"2017-10-18 14:36:06,175 INFO : train_misclass 0.08333\n",
"2017-10-18 14:36:06,176 INFO : valid_misclass 0.58333\n",
"2017-10-18 14:36:06,177 INFO : test_misclass 0.36667\n",
"2017-10-18 14:36:06,178 INFO : runtime 3.39363\n",
"2017-10-18 14:36:06,179 INFO : \n",
"2017-10-18 14:36:08,220 INFO : Time only for training updates: 2.03s\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-10-18 14:36:09,672 INFO : Epoch 10\n",
"2017-10-18 14:36:09,674 INFO : train_loss 0.25623\n",
"2017-10-18 14:36:09,675 INFO : valid_loss 0.89555\n",
"2017-10-18 14:36:09,676 INFO : test_loss 0.75208\n",
"2017-10-18 14:36:09,678 INFO : train_sample_misclass 0.06088\n",
"2017-10-18 14:36:09,679 INFO : valid_sample_misclass 0.55637\n",
"2017-10-18 14:36:09,680 INFO : test_sample_misclass 0.41765\n",
"2017-10-18 14:36:09,681 INFO : train_misclass 0.02083\n",
"2017-10-18 14:36:09,682 INFO : valid_misclass 0.58333\n",
"2017-10-18 14:36:09,683 INFO : test_misclass 0.33333\n",
"2017-10-18 14:36:09,684 INFO : runtime 3.40419\n",
"2017-10-18 14:36:09,685 INFO : \n",
"2017-10-18 14:36:11,601 INFO : Time only for training updates: 1.90s\n",
"2017-10-18 14:36:12,948 INFO : Epoch 11\n",
"2017-10-18 14:36:12,950 INFO : train_loss 0.24021\n",
"2017-10-18 14:36:12,951 INFO : valid_loss 0.90580\n",
"2017-10-18 14:36:12,953 INFO : test_loss 0.75648\n",
"2017-10-18 14:36:12,954 INFO : train_sample_misclass 0.06205\n",
"2017-10-18 14:36:12,956 INFO : valid_sample_misclass 0.54256\n",
"2017-10-18 14:36:12,957 INFO : test_sample_misclass 0.39804\n",
"2017-10-18 14:36:12,958 INFO : train_misclass 0.02083\n",
"2017-10-18 14:36:12,960 INFO : valid_misclass 0.58333\n",
"2017-10-18 14:36:12,961 INFO : test_misclass 0.33333\n",
"2017-10-18 14:36:12,963 INFO : runtime 3.38414\n",
"2017-10-18 14:36:12,964 INFO : \n",
"2017-10-18 14:36:14,862 INFO : Time only for training updates: 1.88s\n",
"2017-10-18 14:36:16,237 INFO : Epoch 12\n",
"2017-10-18 14:36:16,238 INFO : train_loss 0.20491\n",
"2017-10-18 14:36:16,240 INFO : valid_loss 0.90257\n",
"2017-10-18 14:36:16,241 INFO : test_loss 0.75600\n",
"2017-10-18 14:36:16,242 INFO : train_sample_misclass 0.05041\n",
"2017-10-18 14:36:16,244 INFO : valid_sample_misclass 0.54100\n",
"2017-10-18 14:36:16,245 INFO : test_sample_misclass 0.39501\n",
"2017-10-18 14:36:16,247 INFO : train_misclass 0.00000\n",
"2017-10-18 14:36:16,248 INFO : valid_misclass 0.58333\n",
"2017-10-18 14:36:16,250 INFO : test_misclass 0.33333\n",
"2017-10-18 14:36:16,251 INFO : runtime 3.26028\n",
"2017-10-18 14:36:16,253 INFO : \n",
"2017-10-18 14:36:18,224 INFO : Time only for training updates: 1.95s\n",
"2017-10-18 14:36:19,583 INFO : Epoch 13\n",
"2017-10-18 14:36:19,584 INFO : train_loss 0.17244\n",
"2017-10-18 14:36:19,585 INFO : valid_loss 0.90562\n",
"2017-10-18 14:36:19,588 INFO : test_loss 0.76539\n",
"2017-10-18 14:36:19,590 INFO : train_sample_misclass 0.03793\n",
"2017-10-18 14:36:19,592 INFO : valid_sample_misclass 0.56194\n",
"2017-10-18 14:36:19,594 INFO : test_sample_misclass 0.38752\n",
"2017-10-18 14:36:19,595 INFO : train_misclass 0.00000\n",
"2017-10-18 14:36:19,596 INFO : valid_misclass 0.66667\n",
"2017-10-18 14:36:19,600 INFO : test_misclass 0.36667\n",
"2017-10-18 14:36:19,601 INFO : runtime 3.35971\n",
"2017-10-18 14:36:19,602 INFO : \n",
"2017-10-18 14:36:21,657 INFO : Time only for training updates: 2.04s\n",
"2017-10-18 14:36:23,308 INFO : Epoch 14\n",
"2017-10-18 14:36:23,310 INFO : train_loss 0.15207\n",
"2017-10-18 14:36:23,311 INFO : valid_loss 0.90600\n",
"2017-10-18 14:36:23,312 INFO : test_loss 0.76428\n",
"2017-10-18 14:36:23,313 INFO : train_sample_misclass 0.02969\n",
"2017-10-18 14:36:23,315 INFO : valid_sample_misclass 0.54924\n",
"2017-10-18 14:36:23,316 INFO : test_sample_misclass 0.36551\n",
"2017-10-18 14:36:23,317 INFO : train_misclass 0.00000\n",
"2017-10-18 14:36:23,318 INFO : valid_misclass 0.58333\n",
"2017-10-18 14:36:23,319 INFO : test_misclass 0.36667\n",
"2017-10-18 14:36:23,320 INFO : runtime 3.43644\n",
"2017-10-18 14:36:23,322 INFO : \n",
"2017-10-18 14:36:25,291 INFO : Time only for training updates: 1.95s\n",
"2017-10-18 14:36:26,659 INFO : Epoch 15\n",
"2017-10-18 14:36:26,660 INFO : train_loss 0.14998\n",
"2017-10-18 14:36:26,662 INFO : valid_loss 0.96410\n",
"2017-10-18 14:36:26,663 INFO : test_loss 0.81256\n",
"2017-10-18 14:36:26,665 INFO : train_sample_misclass 0.04027\n",
"2017-10-18 14:36:26,666 INFO : valid_sample_misclass 0.48061\n",
"2017-10-18 14:36:26,668 INFO : test_sample_misclass 0.35811\n",
"2017-10-18 14:36:26,669 INFO : train_misclass 0.02083\n",
"2017-10-18 14:36:26,671 INFO : valid_misclass 0.50000\n",
"2017-10-18 14:36:26,672 INFO : test_misclass 0.33333\n",
"2017-10-18 14:36:26,674 INFO : runtime 3.63001\n",
"2017-10-18 14:36:26,675 INFO : \n",
"2017-10-18 14:36:28,567 INFO : Time only for training updates: 1.88s\n",
"2017-10-18 14:36:29,934 INFO : Epoch 16\n",
"2017-10-18 14:36:29,935 INFO : train_loss 0.10915\n",
"2017-10-18 14:36:29,936 INFO : valid_loss 0.91489\n",
"2017-10-18 14:36:29,937 INFO : test_loss 0.80608\n",
"2017-10-18 14:36:29,938 INFO : train_sample_misclass 0.01588\n",
"2017-10-18 14:36:29,939 INFO : valid_sample_misclass 0.54234\n",
"2017-10-18 14:36:29,940 INFO : test_sample_misclass 0.34537\n",
"2017-10-18 14:36:29,941 INFO : train_misclass 0.00000\n",
"2017-10-18 14:36:29,942 INFO : valid_misclass 0.33333\n",
"2017-10-18 14:36:29,943 INFO : test_misclass 0.33333\n",
"2017-10-18 14:36:29,943 INFO : runtime 3.27961\n",
"2017-10-18 14:36:29,944 INFO : \n",
"2017-10-18 14:36:29,946 INFO : New best valid_misclass: 0.333333\n",
"2017-10-18 14:36:29,947 INFO : \n",
"2017-10-18 14:36:31,906 INFO : Time only for training updates: 1.95s\n",
"2017-10-18 14:36:33,248 INFO : Epoch 17\n",
"2017-10-18 14:36:33,249 INFO : train_loss 0.15003\n",
"2017-10-18 14:36:33,250 INFO : valid_loss 0.91323\n",
"2017-10-18 14:36:33,251 INFO : test_loss 0.81002\n",
"2017-10-18 14:36:33,252 INFO : train_sample_misclass 0.05403\n",
"2017-10-18 14:36:33,253 INFO : valid_sample_misclass 0.51337\n",
"2017-10-18 14:36:33,254 INFO : test_sample_misclass 0.34403\n",
"2017-10-18 14:36:33,255 INFO : train_misclass 0.04167\n",
"2017-10-18 14:36:33,256 INFO : valid_misclass 0.50000\n",
"2017-10-18 14:36:33,256 INFO : test_misclass 0.23333\n",
"2017-10-18 14:36:33,257 INFO : runtime 3.33830\n",
"2017-10-18 14:36:33,258 INFO : \n",
"2017-10-18 14:36:35,205 INFO : Time only for training updates: 1.94s\n",
"2017-10-18 14:36:36,576 INFO : Epoch 18\n",
"2017-10-18 14:36:36,577 INFO : train_loss 0.09315\n",
"2017-10-18 14:36:36,578 INFO : valid_loss 0.89064\n",
"2017-10-18 14:36:36,580 INFO : test_loss 0.77360\n",
"2017-10-18 14:36:36,581 INFO : train_sample_misclass 0.01025\n",
"2017-10-18 14:36:36,583 INFO : valid_sample_misclass 0.49666\n",
"2017-10-18 14:36:36,584 INFO : test_sample_misclass 0.30873\n",
"2017-10-18 14:36:36,586 INFO : train_misclass 0.00000\n",
"2017-10-18 14:36:36,587 INFO : valid_misclass 0.33333\n",
"2017-10-18 14:36:36,588 INFO : test_misclass 0.33333\n",
"2017-10-18 14:36:36,589 INFO : runtime 3.30138\n",
"2017-10-18 14:36:36,590 INFO : \n",
"2017-10-18 14:36:36,593 INFO : New best valid_misclass: 0.333333\n",
"2017-10-18 14:36:36,594 INFO : \n",
"2017-10-18 14:36:38,535 INFO : Time only for training updates: 1.93s\n",
"2017-10-18 14:36:39,895 INFO : Epoch 19\n",
"2017-10-18 14:36:39,896 INFO : train_loss 0.09408\n",
"2017-10-18 14:36:39,897 INFO : valid_loss 0.96349\n",
"2017-10-18 14:36:39,898 INFO : test_loss 0.84831\n",
"2017-10-18 14:36:39,899 INFO : train_sample_misclass 0.02078\n",
"2017-10-18 14:36:39,900 INFO : valid_sample_misclass 0.49042\n",
"2017-10-18 14:36:39,901 INFO : test_sample_misclass 0.33137\n",
"2017-10-18 14:36:39,901 INFO : train_misclass 0.00000\n",
"2017-10-18 14:36:39,902 INFO : valid_misclass 0.50000\n",
"2017-10-18 14:36:39,903 INFO : test_misclass 0.30000\n",
"2017-10-18 14:36:39,904 INFO : runtime 3.32518\n",
"2017-10-18 14:36:39,905 INFO : \n",
"2017-10-18 14:36:41,863 INFO : Time only for training updates: 1.95s\n",
"2017-10-18 14:36:43,294 INFO : Epoch 20\n",
"2017-10-18 14:36:43,295 INFO : train_loss 0.06822\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-10-18 14:36:43,296 INFO : valid_loss 1.05598\n",
"2017-10-18 14:36:43,297 INFO : test_loss 0.88760\n",
"2017-10-18 14:36:43,298 INFO : train_sample_misclass 0.00847\n",
"2017-10-18 14:36:43,300 INFO : valid_sample_misclass 0.51448\n",
"2017-10-18 14:36:43,301 INFO : test_sample_misclass 0.33066\n",
"2017-10-18 14:36:43,302 INFO : train_misclass 0.00000\n",
"2017-10-18 14:36:43,303 INFO : valid_misclass 0.50000\n",
"2017-10-18 14:36:43,305 INFO : test_misclass 0.36667\n",
"2017-10-18 14:36:43,306 INFO : runtime 3.33038\n",
"2017-10-18 14:36:43,307 INFO : \n",
"2017-10-18 14:36:43,308 INFO : Setup for second stop...\n",
"2017-10-18 14:36:43,314 INFO : Train loss to reach 0.09315\n",
"2017-10-18 14:36:43,315 INFO : Run until second stop...\n",
"2017-10-18 14:36:44,773 INFO : Epoch 19\n",
"2017-10-18 14:36:44,774 INFO : train_loss 0.25265\n",
"2017-10-18 14:36:44,776 INFO : valid_loss 0.89064\n",
"2017-10-18 14:36:44,777 INFO : test_loss 0.77360\n",
"2017-10-18 14:36:44,778 INFO : train_sample_misclass 0.10753\n",
"2017-10-18 14:36:44,779 INFO : valid_sample_misclass 0.49666\n",
"2017-10-18 14:36:44,780 INFO : test_sample_misclass 0.30873\n",
"2017-10-18 14:36:44,781 INFO : train_misclass 0.06667\n",
"2017-10-18 14:36:44,782 INFO : valid_misclass 0.33333\n",
"2017-10-18 14:36:44,783 INFO : test_misclass 0.33333\n",
"2017-10-18 14:36:44,784 INFO : runtime 1.45227\n",
"2017-10-18 14:36:44,785 INFO : \n",
"2017-10-18 14:36:47,428 INFO : Time only for training updates: 2.62s\n",
"2017-10-18 14:36:49,022 INFO : Epoch 20\n",
"2017-10-18 14:36:49,024 INFO : train_loss 0.21080\n",
"2017-10-18 14:36:49,025 INFO : valid_loss 0.68103\n",
"2017-10-18 14:36:49,026 INFO : test_loss 0.73509\n",
"2017-10-18 14:36:49,028 INFO : train_sample_misclass 0.08324\n",
"2017-10-18 14:36:49,028 INFO : valid_sample_misclass 0.34915\n",
"2017-10-18 14:36:49,029 INFO : test_sample_misclass 0.31025\n",
"2017-10-18 14:36:49,030 INFO : train_misclass 0.10000\n",
"2017-10-18 14:36:49,031 INFO : valid_misclass 0.50000\n",
"2017-10-18 14:36:49,032 INFO : test_misclass 0.26667\n",
"2017-10-18 14:36:49,033 INFO : runtime 4.11350\n",
"2017-10-18 14:36:49,033 INFO : \n",
"2017-10-18 14:36:51,467 INFO : Time only for training updates: 2.42s\n",
"2017-10-18 14:36:53,069 INFO : Epoch 21\n",
"2017-10-18 14:36:53,071 INFO : train_loss 0.18816\n",
"2017-10-18 14:36:53,072 INFO : valid_loss 0.46174\n",
"2017-10-18 14:36:53,073 INFO : test_loss 0.66965\n",
"2017-10-18 14:36:53,074 INFO : train_sample_misclass 0.07406\n",
"2017-10-18 14:36:53,075 INFO : valid_sample_misclass 0.24643\n",
"2017-10-18 14:36:53,076 INFO : test_sample_misclass 0.28066\n",
"2017-10-18 14:36:53,077 INFO : train_misclass 0.05000\n",
"2017-10-18 14:36:53,077 INFO : valid_misclass 0.16667\n",
"2017-10-18 14:36:53,078 INFO : test_misclass 0.26667\n",
"2017-10-18 14:36:53,079 INFO : runtime 4.03852\n",
"2017-10-18 14:36:53,080 INFO : \n",
"2017-10-18 14:36:55,529 INFO : Time only for training updates: 2.44s\n",
"2017-10-18 14:36:57,074 INFO : Epoch 22\n",
"2017-10-18 14:36:57,076 INFO : train_loss 0.13663\n",
"2017-10-18 14:36:57,077 INFO : valid_loss 0.28806\n",
"2017-10-18 14:36:57,078 INFO : test_loss 0.63336\n",
"2017-10-18 14:36:57,079 INFO : train_sample_misclass 0.02567\n",
"2017-10-18 14:36:57,080 INFO : valid_sample_misclass 0.06796\n",
"2017-10-18 14:36:57,081 INFO : test_sample_misclass 0.25677\n",
"2017-10-18 14:36:57,082 INFO : train_misclass 0.00000\n",
"2017-10-18 14:36:57,083 INFO : valid_misclass 0.00000\n",
"2017-10-18 14:36:57,084 INFO : test_misclass 0.23333\n",
"2017-10-18 14:36:57,085 INFO : runtime 4.06202\n",
"2017-10-18 14:36:57,086 INFO : \n",
"2017-10-18 14:36:59,625 INFO : Time only for training updates: 2.53s\n",
"2017-10-18 14:37:01,160 INFO : Epoch 23\n",
"2017-10-18 14:37:01,161 INFO : train_loss 0.18469\n",
"2017-10-18 14:37:01,162 INFO : valid_loss 0.33505\n",
"2017-10-18 14:37:01,163 INFO : test_loss 0.74569\n",
"2017-10-18 14:37:01,164 INFO : train_sample_misclass 0.07469\n",
"2017-10-18 14:37:01,165 INFO : valid_sample_misclass 0.15575\n",
"2017-10-18 14:37:01,166 INFO : test_sample_misclass 0.29652\n",
"2017-10-18 14:37:01,167 INFO : train_misclass 0.05000\n",
"2017-10-18 14:37:01,168 INFO : valid_misclass 0.08333\n",
"2017-10-18 14:37:01,168 INFO : test_misclass 0.26667\n",
"2017-10-18 14:37:01,169 INFO : runtime 4.09383\n",
"2017-10-18 14:37:01,170 INFO : \n",
"2017-10-18 14:37:03,695 INFO : Time only for training updates: 2.51s\n",
"2017-10-18 14:37:05,297 INFO : Epoch 24\n",
"2017-10-18 14:37:05,299 INFO : train_loss 0.12348\n",
"2017-10-18 14:37:05,300 INFO : valid_loss 0.28360\n",
"2017-10-18 14:37:05,301 INFO : test_loss 0.78044\n",
"2017-10-18 14:37:05,302 INFO : train_sample_misclass 0.03632\n",
"2017-10-18 14:37:05,303 INFO : valid_sample_misclass 0.10495\n",
"2017-10-18 14:37:05,304 INFO : test_sample_misclass 0.28529\n",
"2017-10-18 14:37:05,305 INFO : train_misclass 0.03333\n",
"2017-10-18 14:37:05,306 INFO : valid_misclass 0.08333\n",
"2017-10-18 14:37:05,307 INFO : test_misclass 0.26667\n",
"2017-10-18 14:37:05,308 INFO : runtime 4.06927\n",
"2017-10-18 14:37:05,310 INFO : \n",
"2017-10-18 14:37:07,772 INFO : Time only for training updates: 2.44s\n",
"2017-10-18 14:37:09,352 INFO : Epoch 25\n",
"2017-10-18 14:37:09,354 INFO : train_loss 0.14714\n",
"2017-10-18 14:37:09,355 INFO : valid_loss 0.19252\n",
"2017-10-18 14:37:09,356 INFO : test_loss 0.77621\n",
"2017-10-18 14:37:09,357 INFO : train_sample_misclass 0.04635\n",
"2017-10-18 14:37:09,359 INFO : valid_sample_misclass 0.05660\n",
"2017-10-18 14:37:09,360 INFO : test_sample_misclass 0.26863\n",
"2017-10-18 14:37:09,362 INFO : train_misclass 0.05000\n",
"2017-10-18 14:37:09,363 INFO : valid_misclass 0.08333\n",
"2017-10-18 14:37:09,364 INFO : test_misclass 0.23333\n",
"2017-10-18 14:37:09,366 INFO : runtime 4.08017\n",
"2017-10-18 14:37:09,367 INFO : \n",
"2017-10-18 14:37:11,754 INFO : Time only for training updates: 2.37s\n",
"2017-10-18 14:37:13,257 INFO : Epoch 26\n",
"2017-10-18 14:37:13,259 INFO : train_loss 0.33872\n",
"2017-10-18 14:37:13,260 INFO : valid_loss 0.33738\n",
"2017-10-18 14:37:13,262 INFO : test_loss 0.75610\n",
"2017-10-18 14:37:13,264 INFO : train_sample_misclass 0.16430\n",
"2017-10-18 14:37:13,265 INFO : valid_sample_misclass 0.16689\n",
"2017-10-18 14:37:13,266 INFO : test_sample_misclass 0.27763\n",
"2017-10-18 14:37:13,267 INFO : train_misclass 0.11667\n",
"2017-10-18 14:37:13,269 INFO : valid_misclass 0.16667\n",
"2017-10-18 14:37:13,270 INFO : test_misclass 0.26667\n",
"2017-10-18 14:37:13,271 INFO : runtime 3.98591\n",
"2017-10-18 14:37:13,272 INFO : \n",
"2017-10-18 14:37:15,774 INFO : Time only for training updates: 2.48s\n",
"2017-10-18 14:37:17,314 INFO : Epoch 27\n",
"2017-10-18 14:37:17,315 INFO : train_loss 0.12509\n",
"2017-10-18 14:37:17,316 INFO : valid_loss 0.14952\n",
"2017-10-18 14:37:17,317 INFO : test_loss 0.60954\n",
"2017-10-18 14:37:17,318 INFO : train_sample_misclass 0.03111\n",
"2017-10-18 14:37:17,318 INFO : valid_sample_misclass 0.02718\n",
"2017-10-18 14:37:17,319 INFO : test_sample_misclass 0.23351\n",
"2017-10-18 14:37:17,320 INFO : train_misclass 0.01667\n",
"2017-10-18 14:37:17,321 INFO : valid_misclass 0.00000\n",
"2017-10-18 14:37:17,321 INFO : test_misclass 0.16667\n",
"2017-10-18 14:37:17,322 INFO : runtime 4.01630\n",
"2017-10-18 14:37:17,323 INFO : \n",
"2017-10-18 14:37:19,768 INFO : Time only for training updates: 2.43s\n",
"2017-10-18 14:37:21,331 INFO : Epoch 28\n",
"2017-10-18 14:37:21,333 INFO : train_loss 0.09141\n",
"2017-10-18 14:37:21,334 INFO : valid_loss 0.15032\n",
"2017-10-18 14:37:21,335 INFO : test_loss 0.64890\n",
"2017-10-18 14:37:21,336 INFO : train_sample_misclass 0.01239\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"2017-10-18 14:37:21,337 INFO : valid_sample_misclass 0.03387\n",
"2017-10-18 14:37:21,338 INFO : test_sample_misclass 0.25856\n",
"2017-10-18 14:37:21,339 INFO : train_misclass 0.00000\n",
"2017-10-18 14:37:21,339 INFO : valid_misclass 0.00000\n",
"2017-10-18 14:37:21,340 INFO : test_misclass 0.26667\n",
"2017-10-18 14:37:21,341 INFO : runtime 3.99343\n",
"2017-10-18 14:37:21,342 INFO : \n",
"2017-10-18 14:37:23,868 INFO : Time only for training updates: 2.51s\n",
"2017-10-18 14:37:25,405 INFO : Epoch 29\n",
"2017-10-18 14:37:25,406 INFO : train_loss 0.12664\n",
"2017-10-18 14:37:25,407 INFO : valid_loss 0.21718\n",
"2017-10-18 14:37:25,408 INFO : test_loss 0.74796\n",
"2017-10-18 14:37:25,409 INFO : train_sample_misclass 0.04274\n",
"2017-10-18 14:37:25,410 INFO : valid_sample_misclass 0.08623\n",
"2017-10-18 14:37:25,411 INFO : test_sample_misclass 0.26381\n",
"2017-10-18 14:37:25,411 INFO : train_misclass 0.03333\n",
"2017-10-18 14:37:25,412 INFO : valid_misclass 0.08333\n",
"2017-10-18 14:37:25,413 INFO : test_misclass 0.23333\n",
"2017-10-18 14:37:25,414 INFO : runtime 4.09971\n",
"2017-10-18 14:37:25,415 INFO : \n",
"2017-10-18 14:37:27,883 INFO : Time only for training updates: 2.46s\n",
"2017-10-18 14:37:29,539 INFO : Epoch 30\n",
"2017-10-18 14:37:29,541 INFO : train_loss 0.07408\n",
"2017-10-18 14:37:29,542 INFO : valid_loss 0.15273\n",
"2017-10-18 14:37:29,543 INFO : test_loss 0.67137\n",
"2017-10-18 14:37:29,544 INFO : train_sample_misclass 0.01497\n",
"2017-10-18 14:37:29,546 INFO : valid_sample_misclass 0.06061\n",
"2017-10-18 14:37:29,547 INFO : test_sample_misclass 0.23984\n",
"2017-10-18 14:37:29,548 INFO : train_misclass 0.01667\n",
"2017-10-18 14:37:29,549 INFO : valid_misclass 0.08333\n",
"2017-10-18 14:37:29,550 INFO : test_misclass 0.20000\n",
"2017-10-18 14:37:29,551 INFO : runtime 4.01253\n",
"2017-10-18 14:37:29,552 INFO : \n",
"2017-10-18 14:37:32,114 INFO : Time only for training updates: 2.55s\n",
"2017-10-18 14:37:33,748 INFO : Epoch 31\n",
"2017-10-18 14:37:33,750 INFO : train_loss 0.05036\n",
"2017-10-18 14:37:33,751 INFO : valid_loss 0.09104\n",
"2017-10-18 14:37:33,752 INFO : test_loss 0.66771\n",
"2017-10-18 14:37:33,753 INFO : train_sample_misclass 0.00744\n",
"2017-10-18 14:37:33,755 INFO : valid_sample_misclass 0.02317\n",
"2017-10-18 14:37:33,756 INFO : test_sample_misclass 0.20677\n",
"2017-10-18 14:37:33,757 INFO : train_misclass 0.00000\n",
"2017-10-18 14:37:33,758 INFO : valid_misclass 0.00000\n",
"2017-10-18 14:37:33,759 INFO : test_misclass 0.20000\n",
"2017-10-18 14:37:33,760 INFO : runtime 4.23093\n",
"2017-10-18 14:37:33,761 INFO : \n"
]
}
],
"source": [
"# need to setup python logging before to be able to see anything\n",
"import logging\n",
"import sys\n",
"logging.basicConfig(format='%(asctime)s %(levelname)s : %(message)s',\n",
" level=logging.DEBUG, stream=sys.stdout)\n",
"exp.run()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"In this case, we arrive at 80.0% accuracy, the training stops after the validation loss decreases below the training loss at the best epoch of 0.09315."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Dataset References\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
" This dataset was created and contributed to PhysioNet by the developers of the [BCI2000](http://www.schalklab.org/research/bci2000) instrumentation system, which they used in making these recordings. The system is described in:\n",
" \n",
" Schalk, G., McFarland, D.J., Hinterberger, T., Birbaumer, N., Wolpaw, J.R. (2004) BCI2000: A General-Purpose Brain-Computer Interface (BCI) System. IEEE TBME 51(6):1034-1043.\n",
"\n",
"[PhysioBank](https://physionet.org/physiobank/) is a large and growing archive of well-characterized digital recordings of physiologic signals and related data for use by the biomedical research community and further described in:\n",
"\n",
" Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh, Mark RG, Mietus JE, Moody GB, Peng C-K, Stanley HE. (2000) PhysioBank, PhysioToolkit, and PhysioNet: Components of a New Research Resource for Complex Physiologic Signals. Circulation 101(23):e215-e220."
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.2"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
@@ -1,567 +0,0 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": true,
"nbsphinx": "hidden"
},
"outputs": [],
"source": [
"%load_ext autoreload\n",
"%autoreload 2\n",
"import os\n",
"os.sys.path.insert(0, '/home/schirrmr/braindecode/code/braindecode/')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Trialwise Decoding"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"In this example, we will use a convolutional neural network on the [Physiobank EEG Motor Movement/Imagery Dataset](https://www.physionet.org/physiobank/database/eegmmidb/) to decode two classes:\n",
"\n",
"1. Executed and imagined opening and closing of both hands\n",
"2. Executed and imagined opening and closing of both feet\n",
"\n",
"<div class=\"alert alert-warning\">\n",
"\n",
"We use only one subject (with 90 trials) in this tutorial for demonstration purposes. A more interesting decoding task with many more trials would be to do cross-subject decoding on the same dataset.\n",
"\n",
"</div>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Load data"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"You can load and preprocess your EEG dataset in any way, Braindecode only expects a 3darray (trials, channels, timesteps) of input signals `X` and a vector of labels `y` later (see below). In this tutorial, we will use the [MNE](https://www.martinos.org/mne/stable/index.html) library to load an EEG motor imagery/motor execution dataset. For a tutorial from MNE using Common Spatial Patterns to decode this data, see [here](http://martinos.org/mne/stable/auto_examples/decoding/plot_decoding_csp_eeg.html). For another library useful for loading EEG data, take a look at [Neo IO](https://pythonhosted.org/neo/io.html)."
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Removing orphaned offset at the beginning of the file.\n",
"179 events found\n",
"Events id: [1 2 3]\n",
"90 matching events found\n",
"Loading data for 90 events and 497 original time points ...\n",
"0 bad epochs dropped\n"
]
}
],
"source": [
"import mne\n",
"from mne.io import concatenate_raws\n",
"\n",
"# 5,6,7,10,13,14 are codes for executed and imagined hands/feet\n",
"subject_id = 1\n",
"event_codes = [5,6,9,10,13,14]\n",
"\n",
"# This will download the files if you don't have them yet,\n",
"# and then return the paths to the files.\n",
"physionet_paths = mne.datasets.eegbci.load_data(subject_id, event_codes)\n",
"\n",
"# Load each of the files\n",
"parts = [mne.io.read_raw_edf(path, preload=True,stim_channel='auto', verbose='WARNING')\n",
" for path in physionet_paths]\n",
"\n",
"# Concatenate them\n",
"raw = concatenate_raws(parts)\n",
"\n",
"# Find the events in this dataset\n",
"events = mne.find_events(raw, shortest_event=0, stim_channel='STI 014')\n",
"\n",
"# Use only EEG channels\n",
"eeg_channel_inds = mne.pick_types(raw.info, meg=False, eeg=True, stim=False, eog=False,\n",
" exclude='bads')\n",
"\n",
"# Extract trials, only using EEG channels\n",
"epoched = mne.Epochs(raw, events, dict(hands=2, feet=3), tmin=1, tmax=4.1, proj=False, picks=eeg_channel_inds,\n",
" baseline=None, preload=True)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Convert data to Braindecode Format"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Braindecode has a minimalistic ```SignalAndTarget``` class, with attributes `X` for the signal and `y` for the labels. `X` should have these dimensions: trials x channels x timesteps. `y` should have one label per trial."
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import numpy as np\n",
"# Convert data from volt to millivolt\n",
"# Pytorch expects float32 for input and int64 for labels.\n",
"X = (epoched.get_data() * 1e6).astype(np.float32)\n",
"y = (epoched.events[:,2] - 2).astype(np.int64) #2,3 -> 0,1"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We use the first 60 trials for training and the last 30 for testing."
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from braindecode.datautil.signal_target import SignalAndTarget\n",
"\n",
"train_set = SignalAndTarget(X[:60], y=y[:60])\n",
"test_set = SignalAndTarget(X[60:], y=y[60:])\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Create the model"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Braindecode comes with some predefined convolutional neural network architectures for raw time-domain EEG. Here, we use the shallow ConvNet model from [Deep learning with convolutional neural networks for EEG decoding and visualization](https://arxiv.org/abs/1703.05051)."
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"collapsed": true,
"scrolled": true
},
"outputs": [],
"source": [
"from braindecode.models.shallow_fbcsp import ShallowFBCSPNet\n",
"from torch import nn\n",
"from braindecode.torch_ext.util import set_random_seeds\n",
"\n",
"# Set if you want to use GPU\n",
"# You can also use torch.cuda.is_available() to determine if cuda is available on your machine.\n",
"cuda = False\n",
"set_random_seeds(seed=20170629, cuda=cuda)\n",
"n_classes = 2\n",
"in_chans = train_set.X.shape[1]\n",
"# final_conv_length = auto ensures we only get a single output in the time dimension\n",
"model = ShallowFBCSPNet(in_chans=in_chans, n_classes=n_classes,\n",
" input_time_length=train_set.X.shape[2],\n",
" final_conv_length='auto').create_network()\n",
"if cuda:\n",
" model.cuda()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"We use [Adam](https://arxiv.org/abs/1412.6980) to optimize the parameters of our network."
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"from torch import optim\n",
"\n",
"optimizer = optim.Adam(model.parameters())"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Training loop"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This is a conventional mini-batch stochastic gradient descent training loop:\n",
"\n",
"1. Get randomly shuffled batches of trials\n",
"2. Compute outputs, loss and gradients on the batches of trials\n",
"3. Update your model\n",
"4. After iterating through all batches of your dataset, report some statistics like mean accuracy and mean loss."
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"scrolled": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Epoch 0\n",
"Train Loss: 1.17760\n",
"Train Accuracy: 51.7%\n",
"Test Loss: 1.26024\n",
"Test Accuracy: 53.3%\n",
"Epoch 1\n",
"Train Loss: 0.70688\n",
"Train Accuracy: 63.3%\n",
"Test Loss: 0.93679\n",
"Test Accuracy: 56.7%\n",
"Epoch 2\n",
"Train Loss: 0.39426\n",
"Train Accuracy: 86.7%\n",
"Test Loss: 0.65984\n",
"Test Accuracy: 66.7%\n",
"Epoch 3\n",
"Train Loss: 0.33593\n",
"Train Accuracy: 90.0%\n",
"Test Loss: 0.65626\n",
"Test Accuracy: 63.3%\n",
"Epoch 4\n",
"Train Loss: 0.27905\n",
"Train Accuracy: 96.7%\n",
"Test Loss: 0.61044\n",
"Test Accuracy: 56.7%\n",
"Epoch 5\n",
"Train Loss: 0.27319\n",
"Train Accuracy: 96.7%\n",
"Test Loss: 0.59499\n",
"Test Accuracy: 66.7%\n",
"Epoch 6\n",
"Train Loss: 0.26624\n",
"Train Accuracy: 88.3%\n",
"Test Loss: 0.61360\n",
"Test Accuracy: 70.0%\n",
"Epoch 7\n",
"Train Loss: 0.23338\n",
"Train Accuracy: 91.7%\n",
"Test Loss: 0.65626\n",
"Test Accuracy: 73.3%\n",
"Epoch 8\n",
"Train Loss: 0.21903\n",
"Train Accuracy: 90.0%\n",
"Test Loss: 0.68762\n",
"Test Accuracy: 63.3%\n",
"Epoch 9\n",
"Train Loss: 0.18902\n",
"Train Accuracy: 96.7%\n",
"Test Loss: 0.67174\n",
"Test Accuracy: 56.7%\n",
"Epoch 10\n",
"Train Loss: 0.17774\n",
"Train Accuracy: 96.7%\n",
"Test Loss: 0.68129\n",
"Test Accuracy: 56.7%\n",
"Epoch 11\n",
"Train Loss: 0.16396\n",
"Train Accuracy: 98.3%\n",
"Test Loss: 0.69190\n",
"Test Accuracy: 56.7%\n",
"Epoch 12\n",
"Train Loss: 0.15179\n",
"Train Accuracy: 98.3%\n",
"Test Loss: 0.69641\n",
"Test Accuracy: 56.7%\n",
"Epoch 13\n",
"Train Loss: 0.15035\n",
"Train Accuracy: 98.3%\n",
"Test Loss: 0.70514\n",
"Test Accuracy: 60.0%\n",
"Epoch 14\n",
"Train Loss: 0.14255\n",
"Train Accuracy: 98.3%\n",
"Test Loss: 0.74239\n",
"Test Accuracy: 53.3%\n",
"Epoch 15\n",
"Train Loss: 0.13597\n",
"Train Accuracy: 98.3%\n",
"Test Loss: 0.77918\n",
"Test Accuracy: 53.3%\n",
"Epoch 16\n",
"Train Loss: 0.13680\n",
"Train Accuracy: 98.3%\n",
"Test Loss: 0.84159\n",
"Test Accuracy: 56.7%\n",
"Epoch 17\n",
"Train Loss: 0.12191\n",
"Train Accuracy: 98.3%\n",
"Test Loss: 0.87802\n",
"Test Accuracy: 56.7%\n",
"Epoch 18\n",
"Train Loss: 0.10604\n",
"Train Accuracy: 98.3%\n",
"Test Loss: 0.90945\n",
"Test Accuracy: 56.7%\n",
"Epoch 19\n",
"Train Loss: 0.10445\n",
"Train Accuracy: 98.3%\n",
"Test Loss: 0.93717\n",
"Test Accuracy: 56.7%\n",
"Epoch 20\n",
"Train Loss: 0.10497\n",
"Train Accuracy: 98.3%\n",
"Test Loss: 0.95502\n",
"Test Accuracy: 60.0%\n",
"Epoch 21\n",
"Train Loss: 0.10946\n",
"Train Accuracy: 100.0%\n",
"Test Loss: 0.99562\n",
"Test Accuracy: 60.0%\n",
"Epoch 22\n",
"Train Loss: 0.05721\n",
"Train Accuracy: 100.0%\n",
"Test Loss: 0.84824\n",
"Test Accuracy: 60.0%\n",
"Epoch 23\n",
"Train Loss: 0.04464\n",
"Train Accuracy: 100.0%\n",
"Test Loss: 0.78784\n",
"Test Accuracy: 56.7%\n",
"Epoch 24\n",
"Train Loss: 0.04181\n",
"Train Accuracy: 100.0%\n",
"Test Loss: 0.78525\n",
"Test Accuracy: 56.7%\n",
"Epoch 25\n",
"Train Loss: 0.03730\n",
"Train Accuracy: 100.0%\n",
"Test Loss: 0.75642\n",
"Test Accuracy: 63.3%\n",
"Epoch 26\n",
"Train Loss: 0.03549\n",
"Train Accuracy: 100.0%\n",
"Test Loss: 0.71706\n",
"Test Accuracy: 66.7%\n",
"Epoch 27\n",
"Train Loss: 0.03415\n",
"Train Accuracy: 100.0%\n",
"Test Loss: 0.69795\n",
"Test Accuracy: 66.7%\n",
"Epoch 28\n",
"Train Loss: 0.03205\n",
"Train Accuracy: 100.0%\n",
"Test Loss: 0.69323\n",
"Test Accuracy: 66.7%\n",
"Epoch 29\n",
"Train Loss: 0.02805\n",
"Train Accuracy: 100.0%\n",
"Test Loss: 0.69241\n",
"Test Accuracy: 63.3%\n"
]
}
],
"source": [
"from braindecode.torch_ext.util import np_to_var, var_to_np\n",
"from braindecode.datautil.iterators import get_balanced_batches\n",
"import torch.nn.functional as F\n",
"from numpy.random import RandomState\n",
"rng = RandomState((2017,6,30))\n",
"for i_epoch in range(30):\n",
" i_trials_in_batch = get_balanced_batches(len(train_set.X), rng, shuffle=True,\n",
" batch_size=30)\n",
" # Set model to training mode\n",
" model.train()\n",
" for i_trials in i_trials_in_batch:\n",
" # Have to add empty fourth dimension to X\n",
" batch_X = train_set.X[i_trials][:,:,:,None]\n",
" batch_y = train_set.y[i_trials]\n",
" net_in = np_to_var(batch_X)\n",
" if cuda:\n",
" net_in = net_in.cuda()\n",
" net_target = np_to_var(batch_y)\n",
" if cuda:\n",
" net_target = net_target.cuda()\n",
" # Remove gradients of last backward pass from all parameters \n",
" optimizer.zero_grad()\n",
" # Compute outputs of the network\n",
" outputs = model(net_in)\n",
" # Compute the loss\n",
" loss = F.nll_loss(outputs, net_target)\n",
" # Do the backpropagation\n",
" loss.backward()\n",
" # Update parameters with the optimizer\n",
" optimizer.step()\n",
" \n",
" # Print some statistics each epoch\n",
" model.eval()\n",
" print(\"Epoch {:d}\".format(i_epoch))\n",
" for setname, dataset in (('Train', train_set), ('Test', test_set)):\n",
" # Here, we will use the entire dataset at once, which is still possible\n",
" # for such smaller datasets. Otherwise we would have to use batches.\n",
" net_in = np_to_var(dataset.X[:,:,:,None])\n",
" if cuda:\n",
" net_in = net_in.cuda()\n",
" net_target = np_to_var(dataset.y)\n",
" if cuda:\n",
" net_target = net_target.cuda()\n",
" outputs = model(net_in)\n",
" loss = F.nll_loss(outputs, net_target)\n",
" print(\"{:6s} Loss: {:.5f}\".format(\n",
" setname, float(var_to_np(loss))))\n",
" predicted_labels = np.argmax(var_to_np(outputs), axis=1)\n",
" accuracy = np.mean(dataset.y == predicted_labels)\n",
" print(\"{:6s} Accuracy: {:.1f}%\".format(\n",
" setname, accuracy * 100))\n",
" "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Eventually, we arrive at 63.3% accuracy, so 19 from 30 trials are correctly predicted. In the [Cropped Decoding Tutorial](./Cropped_Decoding.html), we can learn how to achieve higher accuracies using cropped training."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-info\">\n",
"\n",
"If you want to try cross-subject decoding, changing the loading code to the following will perform cross-subject decoding on imagined left vs right hand closing, with 50 training and 5 test subjects (Warning, might be very slow):\n",
"\n",
"</div>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import mne\n",
"import numpy as np\n",
"from mne.io import concatenate_raws\n",
"from braindecode.datautil.signal_target import SignalAndTarget\n",
"\n",
"physionet_paths = [ mne.datasets.eegbci.load_data(sub_id,[4,8,12,]) for sub_id in range(1,51)]\n",
"physionet_paths = np.concatenate(physionet_paths)\n",
"parts = [mne.io.read_raw_edf(path, preload=True,stim_channel='auto')\n",
" for path in physionet_paths] \n",
"\n",
"raw = concatenate_raws(parts)\n",
"\n",
"picks = mne.pick_types(raw.info, meg=False, eeg=True, stim=False, eog=False,\n",
" exclude='bads')\n",
"\n",
"events = mne.find_events(raw, shortest_event=0, stim_channel='STI 014')\n",
"\n",
"# Read epochs (train will be done only between 1 and 2s)\n",
"# Testing will be done with a running classifier\n",
"epoched = mne.Epochs(raw, events, dict(hands=2, feet=3), tmin=1, tmax=4.1, proj=False, picks=picks,\n",
" baseline=None, preload=True)\n",
"\n",
"physionet_paths_test = [mne.datasets.eegbci.load_data(sub_id,[4,8,12,]) for sub_id in range(51,56)]\n",
"physionet_paths_test = np.concatenate(physionet_paths_test)\n",
"parts_test = [mne.io.read_raw_edf(path, preload=True,stim_channel='auto')\n",
" for path in physionet_paths_test]\n",
"raw_test = concatenate_raws(parts_test)\n",
"\n",
"picks_test = mne.pick_types(raw_test.info, meg=False, eeg=True, stim=False, eog=False,\n",
" exclude='bads')\n",
"\n",
"events_test = mne.find_events(raw_test, shortest_event=0, stim_channel='STI 014')\n",
"\n",
"# Read epochs (train will be done only between 1 and 2s)\n",
"# Testing will be done with a running classifier\n",
"epoched_test = mne.Epochs(raw_test, events_test, dict(hands=2, feet=3), tmin=1, tmax=4.1, proj=False, picks=picks_test,\n",
" baseline=None, preload=True)\n",
"\n",
"train_X = (epoched.get_data() * 1e6).astype(np.float32)\n",
"train_y = (epoched.events[:,2] - 2).astype(np.int64) #2,3 -> 0,1\n",
"test_X = (epoched_test.get_data() * 1e6).astype(np.float32)\n",
"test_y = (epoched_test.events[:,2] - 2).astype(np.int64) #2,3 -> 0,1\n",
"train_set = SignalAndTarget(train_X, y=train_y)\n",
"test_set = SignalAndTarget(test_X, y=test_y)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Dataset References\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
" This dataset was created and contributed to PhysioNet by the developers of the [BCI2000](http://www.schalklab.org/research/bci2000) instrumentation system, which they used in making these recordings. The system is described in:\n",
" \n",
" Schalk, G., McFarland, D.J., Hinterberger, T., Birbaumer, N., Wolpaw, J.R. (2004) BCI2000: A General-Purpose Brain-Computer Interface (BCI) System. IEEE TBME 51(6):1034-1043.\n",
"\n",
"[PhysioBank](https://physionet.org/physiobank/) is a large and growing archive of well-characterized digital recordings of physiologic signals and related data for use by the biomedical research community and further described in:\n",
"\n",
" Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh, Mark RG, Mietus JE, Moody GB, Peng C-K, Stanley HE. (2000) PhysioBank, PhysioToolkit, and PhysioNet: Components of a New Research Resource for Complex Physiologic Signals. Circulation 101(23):e215-e220."
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.2"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Diferenças do arquivo suprimidas por serem muito extensas Carregar Diff
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 673 B

-639
Ver Arquivo
@@ -1,639 +0,0 @@
/*
* basic.css
* ~~~~~~~~~
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
/* -- main layout ----------------------------------------------------------- */
div.clearer {
clear: both;
}
/* -- relbar ---------------------------------------------------------------- */
div.related {
width: 100%;
font-size: 90%;
}
div.related h3 {
display: none;
}
div.related ul {
margin: 0;
padding: 0 0 0 10px;
list-style: none;
}
div.related li {
display: inline;
}
div.related li.right {
float: right;
margin-right: 5px;
}
/* -- sidebar --------------------------------------------------------------- */
div.sphinxsidebarwrapper {
padding: 10px 5px 0 10px;
}
div.sphinxsidebar {
float: left;
width: 230px;
margin-left: -100%;
font-size: 90%;
word-wrap: break-word;
overflow-wrap : break-word;
}
div.sphinxsidebar ul {
list-style: none;
}
div.sphinxsidebar ul ul,
div.sphinxsidebar ul.want-points {
margin-left: 20px;
list-style: square;
}
div.sphinxsidebar ul ul {
margin-top: 0;
margin-bottom: 0;
}
div.sphinxsidebar form {
margin-top: 10px;
}
div.sphinxsidebar input {
border: 1px solid #98dbcc;
font-family: sans-serif;
font-size: 1em;
}
div.sphinxsidebar #searchbox input[type="text"] {
width: 170px;
}
img {
border: 0;
max-width: 100%;
}
/* -- search page ----------------------------------------------------------- */
ul.search {
margin: 10px 0 0 20px;
padding: 0;
}
ul.search li {
padding: 5px 0 5px 20px;
background-image: url(file.png);
background-repeat: no-repeat;
background-position: 0 7px;
}
ul.search li a {
font-weight: bold;
}
ul.search li div.context {
color: #888;
margin: 2px 0 0 30px;
text-align: left;
}
ul.keywordmatches li.goodmatch a {
font-weight: bold;
}
/* -- index page ------------------------------------------------------------ */
table.contentstable {
width: 90%;
margin-left: auto;
margin-right: auto;
}
table.contentstable p.biglink {
line-height: 150%;
}
a.biglink {
font-size: 1.3em;
}
span.linkdescr {
font-style: italic;
padding-top: 5px;
font-size: 90%;
}
/* -- general index --------------------------------------------------------- */
table.indextable {
width: 100%;
}
table.indextable td {
text-align: left;
vertical-align: top;
}
table.indextable ul {
margin-top: 0;
margin-bottom: 0;
list-style-type: none;
}
table.indextable > tbody > tr > td > ul {
padding-left: 0em;
}
table.indextable tr.pcap {
height: 10px;
}
table.indextable tr.cap {
margin-top: 10px;
background-color: #f2f2f2;
}
img.toggler {
margin-right: 3px;
margin-top: 3px;
cursor: pointer;
}
div.modindex-jumpbox {
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin: 1em 0 1em 0;
padding: 0.4em;
}
div.genindex-jumpbox {
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin: 1em 0 1em 0;
padding: 0.4em;
}
/* -- domain module index --------------------------------------------------- */
table.modindextable td {
padding: 2px;
border-collapse: collapse;
}
/* -- general body styles --------------------------------------------------- */
div.body p, div.body dd, div.body li, div.body blockquote {
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
a.headerlink {
visibility: hidden;
}
h1:hover > a.headerlink,
h2:hover > a.headerlink,
h3:hover > a.headerlink,
h4:hover > a.headerlink,
h5:hover > a.headerlink,
h6:hover > a.headerlink,
dt:hover > a.headerlink,
caption:hover > a.headerlink,
p.caption:hover > a.headerlink,
div.code-block-caption:hover > a.headerlink {
visibility: visible;
}
div.body p.caption {
text-align: inherit;
}
div.body td {
text-align: left;
}
.first {
margin-top: 0 !important;
}
p.rubric {
margin-top: 30px;
font-weight: bold;
}
img.align-left, .figure.align-left, object.align-left {
clear: left;
float: left;
margin-right: 1em;
}
img.align-right, .figure.align-right, object.align-right {
clear: right;
float: right;
margin-left: 1em;
}
img.align-center, .figure.align-center, object.align-center {
display: block;
margin-left: auto;
margin-right: auto;
}
.align-left {
text-align: left;
}
.align-center {
text-align: center;
}
.align-right {
text-align: right;
}
/* -- sidebars -------------------------------------------------------------- */
div.sidebar {
margin: 0 0 0.5em 1em;
border: 1px solid #ddb;
padding: 7px 7px 0 7px;
background-color: #ffe;
width: 40%;
float: right;
}
p.sidebar-title {
font-weight: bold;
}
/* -- topics ---------------------------------------------------------------- */
div.topic {
border: 1px solid #ccc;
padding: 7px 7px 0 7px;
margin: 10px 0 10px 0;
}
p.topic-title {
font-size: 1.1em;
font-weight: bold;
margin-top: 10px;
}
/* -- admonitions ----------------------------------------------------------- */
div.admonition {
margin-top: 10px;
margin-bottom: 10px;
padding: 7px;
}
div.admonition dt {
font-weight: bold;
}
div.admonition dl {
margin-bottom: 0;
}
p.admonition-title {
margin: 0px 10px 5px 0px;
font-weight: bold;
}
div.body p.centered {
text-align: center;
margin-top: 25px;
}
/* -- tables ---------------------------------------------------------------- */
table.docutils {
border: 0;
border-collapse: collapse;
}
table caption span.caption-number {
font-style: italic;
}
table caption span.caption-text {
}
table.docutils td, table.docutils th {
padding: 1px 8px 1px 5px;
border-top: 0;
border-left: 0;
border-right: 0;
border-bottom: 1px solid #aaa;
}
table.footnote td, table.footnote th {
border: 0 !important;
}
th {
text-align: left;
padding-right: 5px;
}
table.citation {
border-left: solid 1px gray;
margin-left: 1px;
}
table.citation td {
border-bottom: none;
}
/* -- figures --------------------------------------------------------------- */
div.figure {
margin: 0.5em;
padding: 0.5em;
}
div.figure p.caption {
padding: 0.3em;
}
div.figure p.caption span.caption-number {
font-style: italic;
}
div.figure p.caption span.caption-text {
}
/* -- field list styles ----------------------------------------------------- */
table.field-list td, table.field-list th {
border: 0 !important;
}
.field-list ul {
margin: 0;
padding-left: 1em;
}
.field-list p {
margin: 0;
}
.field-name {
-moz-hyphens: manual;
-ms-hyphens: manual;
-webkit-hyphens: manual;
hyphens: manual;
}
/* -- other body styles ----------------------------------------------------- */
ol.arabic {
list-style: decimal;
}
ol.loweralpha {
list-style: lower-alpha;
}
ol.upperalpha {
list-style: upper-alpha;
}
ol.lowerroman {
list-style: lower-roman;
}
ol.upperroman {
list-style: upper-roman;
}
dl {
margin-bottom: 15px;
}
dd p {
margin-top: 0px;
}
dd ul, dd table {
margin-bottom: 10px;
}
dd {
margin-top: 3px;
margin-bottom: 10px;
margin-left: 30px;
}
dt:target, .highlighted {
background-color: #fbe54e;
}
dl.glossary dt {
font-weight: bold;
font-size: 1.1em;
}
.optional {
font-size: 1.3em;
}
.sig-paren {
font-size: larger;
}
.versionmodified {
font-style: italic;
}
.system-message {
background-color: #fda;
padding: 5px;
border: 3px solid red;
}
.footnote:target {
background-color: #ffa;
}
.line-block {
display: block;
margin-top: 1em;
margin-bottom: 1em;
}
.line-block .line-block {
margin-top: 0;
margin-bottom: 0;
margin-left: 1.5em;
}
.guilabel, .menuselection {
font-family: sans-serif;
}
.accelerator {
text-decoration: underline;
}
.classifier {
font-style: oblique;
}
abbr, acronym {
border-bottom: dotted 1px;
cursor: help;
}
/* -- code displays --------------------------------------------------------- */
pre {
overflow: auto;
overflow-y: hidden; /* fixes display issues on Chrome browsers */
}
span.pre {
-moz-hyphens: none;
-ms-hyphens: none;
-webkit-hyphens: none;
hyphens: none;
}
td.linenos pre {
padding: 5px 0px;
border: 0;
background-color: transparent;
color: #aaa;
}
table.highlighttable {
margin-left: 0.5em;
}
table.highlighttable td {
padding: 0 0.5em 0 0.5em;
}
div.code-block-caption {
padding: 2px 5px;
font-size: small;
}
div.code-block-caption code {
background-color: transparent;
}
div.code-block-caption + div > div.highlight > pre {
margin-top: 0;
}
div.code-block-caption span.caption-number {
padding: 0.1em 0.3em;
font-style: italic;
}
div.code-block-caption span.caption-text {
}
div.literal-block-wrapper {
padding: 1em 1em 0;
}
div.literal-block-wrapper div.highlight {
margin: 0;
}
code.descname {
background-color: transparent;
font-weight: bold;
font-size: 1.2em;
}
code.descclassname {
background-color: transparent;
}
code.xref, a code {
background-color: transparent;
font-weight: bold;
}
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
background-color: transparent;
}
.viewcode-link {
float: right;
}
.viewcode-back {
float: right;
font-family: sans-serif;
}
div.viewcode-block:target {
margin: -1px -10px;
padding: 0 10px;
}
/* -- math display ---------------------------------------------------------- */
img.math {
vertical-align: middle;
}
div.body div.math p {
text-align: center;
}
span.eqno {
float: right;
}
span.eqno a.headerlink {
position: relative;
left: 0px;
z-index: 1;
}
div.math:hover a.headerlink {
visibility: visible;
}
/* -- printout stylesheet --------------------------------------------------- */
@media print {
div.document,
div.documentwrapper,
div.bodywrapper {
margin: 0 !important;
width: 100%;
}
div.sphinxsidebar,
div.related,
div.footer,
#top-link {
display: none;
}
}
Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 756 B

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 829 B

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 641 B

-2
Ver Arquivo
@@ -1,2 +0,0 @@
.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../font/fontawesome_webfont.eot");src:url("../font/fontawesome_webfont.eot?#iefix") format("embedded-opentype"),url("../font/fontawesome_webfont.woff") format("woff"),url("../font/fontawesome_webfont.ttf") format("truetype"),url("../font/fontawesome_webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:0.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}}
/*# sourceMappingURL=badge_only.css.map */
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
-287
Ver Arquivo
@@ -1,287 +0,0 @@
/*
* doctools.js
* ~~~~~~~~~~~
*
* Sphinx JavaScript utilities for all documentation.
*
* :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
/**
* select a different prefix for underscore
*/
$u = _.noConflict();
/**
* make the code below compatible with browsers without
* an installed firebug like debugger
if (!window.console || !console.firebug) {
var names = ["log", "debug", "info", "warn", "error", "assert", "dir",
"dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace",
"profile", "profileEnd"];
window.console = {};
for (var i = 0; i < names.length; ++i)
window.console[names[i]] = function() {};
}
*/
/**
* small helper function to urldecode strings
*/
jQuery.urldecode = function(x) {
return decodeURIComponent(x).replace(/\+/g, ' ');
};
/**
* small helper function to urlencode strings
*/
jQuery.urlencode = encodeURIComponent;
/**
* This function returns the parsed url parameters of the
* current request. Multiple values per key are supported,
* it will always return arrays of strings for the value parts.
*/
jQuery.getQueryParameters = function(s) {
if (typeof s == 'undefined')
s = document.location.search;
var parts = s.substr(s.indexOf('?') + 1).split('&');
var result = {};
for (var i = 0; i < parts.length; i++) {
var tmp = parts[i].split('=', 2);
var key = jQuery.urldecode(tmp[0]);
var value = jQuery.urldecode(tmp[1]);
if (key in result)
result[key].push(value);
else
result[key] = [value];
}
return result;
};
/**
* highlight a given string on a jquery object by wrapping it in
* span elements with the given class name.
*/
jQuery.fn.highlightText = function(text, className) {
function highlight(node) {
if (node.nodeType == 3) {
var val = node.nodeValue;
var pos = val.toLowerCase().indexOf(text);
if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) {
var span = document.createElement("span");
span.className = className;
span.appendChild(document.createTextNode(val.substr(pos, text.length)));
node.parentNode.insertBefore(span, node.parentNode.insertBefore(
document.createTextNode(val.substr(pos + text.length)),
node.nextSibling));
node.nodeValue = val.substr(0, pos);
}
}
else if (!jQuery(node).is("button, select, textarea")) {
jQuery.each(node.childNodes, function() {
highlight(this);
});
}
}
return this.each(function() {
highlight(this);
});
};
/*
* backward compatibility for jQuery.browser
* This will be supported until firefox bug is fixed.
*/
if (!jQuery.browser) {
jQuery.uaMatch = function(ua) {
ua = ua.toLowerCase();
var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
/(webkit)[ \/]([\w.]+)/.exec(ua) ||
/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
/(msie) ([\w.]+)/.exec(ua) ||
ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
[];
return {
browser: match[ 1 ] || "",
version: match[ 2 ] || "0"
};
};
jQuery.browser = {};
jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
}
/**
* Small JavaScript module for the documentation.
*/
var Documentation = {
init : function() {
this.fixFirefoxAnchorBug();
this.highlightSearchWords();
this.initIndexTable();
},
/**
* i18n support
*/
TRANSLATIONS : {},
PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; },
LOCALE : 'unknown',
// gettext and ngettext don't access this so that the functions
// can safely bound to a different name (_ = Documentation.gettext)
gettext : function(string) {
var translated = Documentation.TRANSLATIONS[string];
if (typeof translated == 'undefined')
return string;
return (typeof translated == 'string') ? translated : translated[0];
},
ngettext : function(singular, plural, n) {
var translated = Documentation.TRANSLATIONS[singular];
if (typeof translated == 'undefined')
return (n == 1) ? singular : plural;
return translated[Documentation.PLURALEXPR(n)];
},
addTranslations : function(catalog) {
for (var key in catalog.messages)
this.TRANSLATIONS[key] = catalog.messages[key];
this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')');
this.LOCALE = catalog.locale;
},
/**
* add context elements like header anchor links
*/
addContextElements : function() {
$('div[id] > :header:first').each(function() {
$('<a class="headerlink">\u00B6</a>').
attr('href', '#' + this.id).
attr('title', _('Permalink to this headline')).
appendTo(this);
});
$('dt[id]').each(function() {
$('<a class="headerlink">\u00B6</a>').
attr('href', '#' + this.id).
attr('title', _('Permalink to this definition')).
appendTo(this);
});
},
/**
* workaround a firefox stupidity
* see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075
*/
fixFirefoxAnchorBug : function() {
if (document.location.hash)
window.setTimeout(function() {
document.location.href += '';
}, 10);
},
/**
* highlight the search words provided in the url in the text
*/
highlightSearchWords : function() {
var params = $.getQueryParameters();
var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : [];
if (terms.length) {
var body = $('div.body');
if (!body.length) {
body = $('body');
}
window.setTimeout(function() {
$.each(terms, function() {
body.highlightText(this.toLowerCase(), 'highlighted');
});
}, 10);
$('<p class="highlight-link"><a href="javascript:Documentation.' +
'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>')
.appendTo($('#searchbox'));
}
},
/**
* init the domain index toggle buttons
*/
initIndexTable : function() {
var togglers = $('img.toggler').click(function() {
var src = $(this).attr('src');
var idnum = $(this).attr('id').substr(7);
$('tr.cg-' + idnum).toggle();
if (src.substr(-9) == 'minus.png')
$(this).attr('src', src.substr(0, src.length-9) + 'plus.png');
else
$(this).attr('src', src.substr(0, src.length-8) + 'minus.png');
}).css('display', '');
if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) {
togglers.click();
}
},
/**
* helper function to hide the search marks again
*/
hideSearchWords : function() {
$('#searchbox .highlight-link').fadeOut(300);
$('span.highlighted').removeClass('highlighted');
},
/**
* make the url absolute
*/
makeURL : function(relativeURL) {
return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL;
},
/**
* get the current relative url
*/
getCurrentURL : function() {
var path = document.location.pathname;
var parts = path.split(/\//);
$.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() {
if (this == '..')
parts.pop();
});
var url = parts.join('/');
return path.substring(url.lastIndexOf('/') + 1, path.length - 1);
},
initOnKeyListeners: function() {
$(document).keyup(function(event) {
var activeElementType = document.activeElement.tagName;
// don't navigate when in search box or textarea
if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') {
switch (event.keyCode) {
case 37: // left
var prevHref = $('link[rel="prev"]').prop('href');
if (prevHref) {
window.location.href = prevHref;
return false;
}
case 39: // right
var nextHref = $('link[rel="next"]').prop('href');
if (nextHref) {
window.location.href = nextHref;
return false;
}
}
}
});
}
};
// quick alias for translations
_ = Documentation.gettext;
$(document).ready(function() {
Documentation.init();
});
Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 222 B

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 202 B

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 286 B

Arquivo binário não exibido.
Arquivo binário não exibido.
Arquivo binário não exibido.
Arquivo binário não exibido.
Arquivo binário não exibido.
Arquivo binário não exibido.
Arquivo binário não exibido.
-685
Ver Arquivo
@@ -1,685 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata></metadata>
<defs>
<font id="fontawesomeregular" horiz-adv-x="1536" >
<font-face units-per-em="1792" ascent="1536" descent="-256" />
<missing-glyph horiz-adv-x="448" />
<glyph unicode=" " horiz-adv-x="448" />
<glyph unicode="&#x09;" horiz-adv-x="448" />
<glyph unicode="&#xa0;" horiz-adv-x="448" />
<glyph unicode="&#xa8;" horiz-adv-x="1792" />
<glyph unicode="&#xa9;" horiz-adv-x="1792" />
<glyph unicode="&#xae;" horiz-adv-x="1792" />
<glyph unicode="&#xb4;" horiz-adv-x="1792" />
<glyph unicode="&#xc6;" horiz-adv-x="1792" />
<glyph unicode="&#xd8;" horiz-adv-x="1792" />
<glyph unicode="&#x2000;" horiz-adv-x="768" />
<glyph unicode="&#x2001;" horiz-adv-x="1537" />
<glyph unicode="&#x2002;" horiz-adv-x="768" />
<glyph unicode="&#x2003;" horiz-adv-x="1537" />
<glyph unicode="&#x2004;" horiz-adv-x="512" />
<glyph unicode="&#x2005;" horiz-adv-x="384" />
<glyph unicode="&#x2006;" horiz-adv-x="256" />
<glyph unicode="&#x2007;" horiz-adv-x="256" />
<glyph unicode="&#x2008;" horiz-adv-x="192" />
<glyph unicode="&#x2009;" horiz-adv-x="307" />
<glyph unicode="&#x200a;" horiz-adv-x="85" />
<glyph unicode="&#x202f;" horiz-adv-x="307" />
<glyph unicode="&#x205f;" horiz-adv-x="384" />
<glyph unicode="&#x2122;" horiz-adv-x="1792" />
<glyph unicode="&#x221e;" horiz-adv-x="1792" />
<glyph unicode="&#x2260;" horiz-adv-x="1792" />
<glyph unicode="&#x25fc;" horiz-adv-x="500" d="M0 0z" />
<glyph unicode="&#xf000;" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
<glyph unicode="&#xf001;" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
<glyph unicode="&#xf002;" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
<glyph unicode="&#xf003;" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
<glyph unicode="&#xf004;" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
<glyph unicode="&#xf005;" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
<glyph unicode="&#xf006;" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
<glyph unicode="&#xf007;" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
<glyph unicode="&#xf008;" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
<glyph unicode="&#xf009;" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf00a;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
<glyph unicode="&#xf00b;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
<glyph unicode="&#xf00c;" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
<glyph unicode="&#xf00d;" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
<glyph unicode="&#xf00e;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
<glyph unicode="&#xf010;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
<glyph unicode="&#xf011;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
<glyph unicode="&#xf012;" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf013;" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
<glyph unicode="&#xf014;" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf015;" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
<glyph unicode="&#xf016;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z " />
<glyph unicode="&#xf017;" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf018;" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
<glyph unicode="&#xf019;" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
<glyph unicode="&#xf01a;" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf01b;" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf01c;" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
<glyph unicode="&#xf01d;" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf01e;" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
<glyph unicode="&#xf021;" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
<glyph unicode="&#xf022;" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
<glyph unicode="&#xf023;" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
<glyph unicode="&#xf024;" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf025;" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
<glyph unicode="&#xf026;" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
<glyph unicode="&#xf027;" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
<glyph unicode="&#xf028;" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
<glyph unicode="&#xf029;" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
<glyph unicode="&#xf02a;" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
<glyph unicode="&#xf02b;" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
<glyph unicode="&#xf02c;" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
<glyph unicode="&#xf02d;" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
<glyph unicode="&#xf02e;" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
<glyph unicode="&#xf02f;" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
<glyph unicode="&#xf030;" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
<glyph unicode="&#xf031;" horiz-adv-x="1664" d="M725 977l-170 -450q33 0 136.5 -2t160.5 -2q19 0 57 2q-87 253 -184 452zM0 -128l2 79q23 7 56 12.5t57 10.5t49.5 14.5t44.5 29t31 50.5l237 616l280 724h75h53q8 -14 11 -21l205 -480q33 -78 106 -257.5t114 -274.5q15 -34 58 -144.5t72 -168.5q20 -45 35 -57 q19 -15 88 -29.5t84 -20.5q6 -38 6 -57q0 -4 -0.5 -13t-0.5 -13q-63 0 -190 8t-191 8q-76 0 -215 -7t-178 -8q0 43 4 78l131 28q1 0 12.5 2.5t15.5 3.5t14.5 4.5t15 6.5t11 8t9 11t2.5 14q0 16 -31 96.5t-72 177.5t-42 100l-450 2q-26 -58 -76.5 -195.5t-50.5 -162.5 q0 -22 14 -37.5t43.5 -24.5t48.5 -13.5t57 -8.5t41 -4q1 -19 1 -58q0 -9 -2 -27q-58 0 -174.5 10t-174.5 10q-8 0 -26.5 -4t-21.5 -4q-80 -14 -188 -14z" />
<glyph unicode="&#xf032;" horiz-adv-x="1408" d="M555 15q74 -32 140 -32q376 0 376 335q0 114 -41 180q-27 44 -61.5 74t-67.5 46.5t-80.5 25t-84 10.5t-94.5 2q-73 0 -101 -10q0 -53 -0.5 -159t-0.5 -158q0 -8 -1 -67.5t-0.5 -96.5t4.5 -83.5t12 -66.5zM541 761q42 -7 109 -7q82 0 143 13t110 44.5t74.5 89.5t25.5 142 q0 70 -29 122.5t-79 82t-108 43.5t-124 14q-50 0 -130 -13q0 -50 4 -151t4 -152q0 -27 -0.5 -80t-0.5 -79q0 -46 1 -69zM0 -128l2 94q15 4 85 16t106 27q7 12 12.5 27t8.5 33.5t5.5 32.5t3 37.5t0.5 34v35.5v30q0 982 -22 1025q-4 8 -22 14.5t-44.5 11t-49.5 7t-48.5 4.5 t-30.5 3l-4 83q98 2 340 11.5t373 9.5q23 0 68.5 -0.5t67.5 -0.5q70 0 136.5 -13t128.5 -42t108 -71t74 -104.5t28 -137.5q0 -52 -16.5 -95.5t-39 -72t-64.5 -57.5t-73 -45t-84 -40q154 -35 256.5 -134t102.5 -248q0 -100 -35 -179.5t-93.5 -130.5t-138 -85.5t-163.5 -48.5 t-176 -14q-44 0 -132 3t-132 3q-106 0 -307 -11t-231 -12z" />
<glyph unicode="&#xf033;" horiz-adv-x="1024" d="M0 -126l17 85q6 2 81.5 21.5t111.5 37.5q28 35 41 101q1 7 62 289t114 543.5t52 296.5v25q-24 13 -54.5 18.5t-69.5 8t-58 5.5l19 103q33 -2 120 -6.5t149.5 -7t120.5 -2.5q48 0 98.5 2.5t121 7t98.5 6.5q-5 -39 -19 -89q-30 -10 -101.5 -28.5t-108.5 -33.5 q-8 -19 -14 -42.5t-9 -40t-7.5 -45.5t-6.5 -42q-27 -148 -87.5 -419.5t-77.5 -355.5q-2 -9 -13 -58t-20 -90t-16 -83.5t-6 -57.5l1 -18q17 -4 185 -31q-3 -44 -16 -99q-11 0 -32.5 -1.5t-32.5 -1.5q-29 0 -87 10t-86 10q-138 2 -206 2q-51 0 -143 -9t-121 -11z" />
<glyph unicode="&#xf034;" horiz-adv-x="1792" d="M1744 128q33 0 42 -18.5t-11 -44.5l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80zM81 1407l54 -27q12 -5 211 -5q44 0 132 2 t132 2q36 0 107.5 -0.5t107.5 -0.5h293q6 0 21 -0.5t20.5 0t16 3t17.5 9t15 17.5l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 48t-14.5 73.5t-7.5 35.5q-6 8 -12 12.5t-15.5 6t-13 2.5t-18 0.5t-16.5 -0.5 q-17 0 -66.5 0.5t-74.5 0.5t-64 -2t-71 -6q-9 -81 -8 -136q0 -94 2 -388t2 -455q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q19 42 19 383q0 101 -3 303t-3 303v117q0 2 0.5 15.5t0.5 25t-1 25.5t-3 24t-5 14q-11 12 -162 12q-33 0 -93 -12t-80 -26q-19 -13 -34 -72.5t-31.5 -111t-42.5 -53.5q-42 26 -56 44v383z" />
<glyph unicode="&#xf035;" d="M81 1407l54 -27q12 -5 211 -5q44 0 132 2t132 2q70 0 246.5 1t304.5 0.5t247 -4.5q33 -1 56 31l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 47.5t-15 73.5t-7 36q-10 13 -27 19q-5 2 -66 2q-30 0 -93 1t-103 1 t-94 -2t-96 -7q-9 -81 -8 -136l1 -152v52q0 -55 1 -154t1.5 -180t0.5 -153q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q7 16 11.5 74t6 145.5t1.5 155t-0.5 153.5t-0.5 89q0 7 -2.5 21.5t-2.5 22.5q0 7 0.5 44t1 73t0 76.5t-3 67.5t-6.5 32q-11 12 -162 12q-41 0 -163 -13.5t-138 -24.5q-19 -12 -34 -71.5t-31.5 -111.5t-42.5 -54q-42 26 -56 44v383zM1310 125q12 0 42 -19.5t57.5 -41.5 t59.5 -49t36 -30q26 -21 26 -49t-26 -49q-4 -3 -36 -30t-59.5 -49t-57.5 -41.5t-42 -19.5q-13 0 -20.5 10.5t-10 28.5t-2.5 33.5t1.5 33t1.5 19.5h-1024q0 -2 1.5 -19.5t1.5 -33t-2.5 -33.5t-10 -28.5t-20.5 -10.5q-12 0 -42 19.5t-57.5 41.5t-59.5 49t-36 30q-26 21 -26 49 t26 49q4 3 36 30t59.5 49t57.5 41.5t42 19.5q13 0 20.5 -10.5t10 -28.5t2.5 -33.5t-1.5 -33t-1.5 -19.5h1024q0 2 -1.5 19.5t-1.5 33t2.5 33.5t10 28.5t20.5 10.5z" />
<glyph unicode="&#xf036;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf037;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf038;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf039;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf03a;" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
<glyph unicode="&#xf03b;" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
<glyph unicode="&#xf03c;" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
<glyph unicode="&#xf03d;" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />
<glyph unicode="&#xf03e;" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
<glyph unicode="&#xf040;" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />
<glyph unicode="&#xf041;" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
<glyph unicode="&#xf042;" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf043;" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
<glyph unicode="&#xf044;" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
<glyph unicode="&#xf045;" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
<glyph unicode="&#xf046;" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />
<glyph unicode="&#xf047;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
<glyph unicode="&#xf048;" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" />
<glyph unicode="&#xf049;" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" />
<glyph unicode="&#xf04a;" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" />
<glyph unicode="&#xf04b;" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />
<glyph unicode="&#xf04c;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf04d;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf04e;" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
<glyph unicode="&#xf050;" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
<glyph unicode="&#xf051;" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" />
<glyph unicode="&#xf052;" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />
<glyph unicode="&#xf053;" horiz-adv-x="1280" d="M1171 1235l-531 -531l531 -531q19 -19 19 -45t-19 -45l-166 -166q-19 -19 -45 -19t-45 19l-742 742q-19 19 -19 45t19 45l742 742q19 19 45 19t45 -19l166 -166q19 -19 19 -45t-19 -45z" />
<glyph unicode="&#xf054;" horiz-adv-x="1280" d="M1107 659l-742 -742q-19 -19 -45 -19t-45 19l-166 166q-19 19 -19 45t19 45l531 531l-531 531q-19 19 -19 45t19 45l166 166q19 19 45 19t45 -19l742 -742q19 -19 19 -45t-19 -45z" />
<glyph unicode="&#xf055;" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf056;" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
<glyph unicode="&#xf057;" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf058;" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf059;" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf05a;" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf05b;" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf05c;" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf05d;" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf05e;" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />
<glyph unicode="&#xf060;" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" />
<glyph unicode="&#xf061;" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />
<glyph unicode="&#xf062;" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" />
<glyph unicode="&#xf063;" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
<glyph unicode="&#xf064;" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />
<glyph unicode="&#xf065;" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf066;" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />
<glyph unicode="&#xf067;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />
<glyph unicode="&#xf068;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />
<glyph unicode="&#xf069;" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />
<glyph unicode="&#xf06a;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />
<glyph unicode="&#xf06b;" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf06c;" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />
<glyph unicode="&#xf06d;" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />
<glyph unicode="&#xf06e;" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />
<glyph unicode="&#xf070;" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " />
<glyph unicode="&#xf071;" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />
<glyph unicode="&#xf072;" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />
<glyph unicode="&#xf073;" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf074;" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
<glyph unicode="&#xf075;" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />
<glyph unicode="&#xf076;" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf077;" horiz-adv-x="1792" d="M1683 205l-166 -165q-19 -19 -45 -19t-45 19l-531 531l-531 -531q-19 -19 -45 -19t-45 19l-166 165q-19 19 -19 45.5t19 45.5l742 741q19 19 45 19t45 -19l742 -741q19 -19 19 -45.5t-19 -45.5z" />
<glyph unicode="&#xf078;" horiz-adv-x="1792" d="M1683 728l-742 -741q-19 -19 -45 -19t-45 19l-742 741q-19 19 -19 45.5t19 45.5l166 165q19 19 45 19t45 -19l531 -531l531 531q19 19 45 19t45 -19l166 -165q19 -19 19 -45.5t-19 -45.5z" />
<glyph unicode="&#xf079;" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " />
<glyph unicode="&#xf07a;" horiz-adv-x="1664" d="M640 0q0 -52 -38 -90t-90 -38t-90 38t-38 90t38 90t90 38t90 -38t38 -90zM1536 0q0 -52 -38 -90t-90 -38t-90 38t-38 90t38 90t90 38t90 -38t38 -90zM1664 1088v-512q0 -24 -16.5 -42.5t-40.5 -21.5l-1044 -122q13 -60 13 -70q0 -16 -24 -64h920q26 0 45 -19t19 -45 t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 11 8 31.5t16 36t21.5 40t15.5 29.5l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t19.5 -15.5t13 -24.5t8 -26t5.5 -29.5t4.5 -26h1201q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf07b;" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
<glyph unicode="&#xf07c;" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />
<glyph unicode="&#xf07d;" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />
<glyph unicode="&#xf07e;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
<glyph unicode="&#xf080;" horiz-adv-x="2048" d="M640 640v-512h-256v512h256zM1024 1152v-1024h-256v1024h256zM2048 0v-128h-2048v1536h128v-1408h1920zM1408 896v-768h-256v768h256zM1792 1280v-1152h-256v1152h256z" />
<glyph unicode="&#xf081;" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf082;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-188v595h199l30 232h-229v148q0 56 23.5 84t91.5 28l122 1v207q-63 9 -178 9q-136 0 -217.5 -80t-81.5 -226v-171h-200v-232h200v-595h-532q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960z" />
<glyph unicode="&#xf083;" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />
<glyph unicode="&#xf084;" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />
<glyph unicode="&#xf085;" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />
<glyph unicode="&#xf086;" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />
<glyph unicode="&#xf087;" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />
<glyph unicode="&#xf088;" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" />
<glyph unicode="&#xf089;" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />
<glyph unicode="&#xf08a;" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" />
<glyph unicode="&#xf08b;" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />
<glyph unicode="&#xf08c;" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf08d;" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />
<glyph unicode="&#xf08e;" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf090;" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf091;" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />
<glyph unicode="&#xf092;" d="M519 336q4 6 -3 13q-9 7 -14 2q-4 -6 3 -13q9 -7 14 -2zM491 377q-5 7 -12 4q-6 -4 0 -12q7 -8 12 -5q6 4 0 13zM450 417q2 4 -5 8q-7 2 -8 -2q-3 -5 4 -8q8 -2 9 2zM471 394q2 1 1.5 4.5t-3.5 5.5q-6 7 -10 3t1 -11q6 -6 11 -2zM557 319q2 7 -9 11q-9 3 -13 -4 q-2 -7 9 -11q9 -3 13 4zM599 316q0 8 -12 8q-10 0 -10 -8t11 -8t11 8zM638 323q-2 7 -13 5t-9 -9q2 -8 12 -6t10 10zM1280 640q0 212 -150 362t-362 150t-362 -150t-150 -362q0 -167 98 -300.5t252 -185.5q18 -3 26.5 5t8.5 20q0 52 -1 95q-6 -1 -15.5 -2.5t-35.5 -2t-48 4 t-43.5 20t-29.5 41.5q-23 59 -57 74q-2 1 -4.5 3.5l-8 8t-7 9.5t4 7.5t19.5 3.5q6 0 15 -2t30 -15.5t33 -35.5q16 -28 37.5 -42t43.5 -14t38 3.5t30 9.5q7 47 33 69q-49 6 -86 18.5t-73 39t-55.5 76t-19.5 119.5q0 79 53 137q-24 62 5 136q19 6 54.5 -7.5t60.5 -29.5l26 -16 q58 17 128 17t128 -17q11 7 28.5 18t55.5 26t57 9q29 -74 5 -136q53 -58 53 -137q0 -57 -14 -100.5t-35.5 -70t-53.5 -44.5t-62.5 -26t-68.5 -12q35 -31 35 -95q0 -40 -0.5 -89t-0.5 -51q0 -12 8.5 -20t26.5 -5q154 52 252 185.5t98 300.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf093;" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />
<glyph unicode="&#xf094;" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" />
<glyph unicode="&#xf095;" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />
<glyph unicode="&#xf096;" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf097;" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
<glyph unicode="&#xf098;" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf099;" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />
<glyph unicode="&#xf09a;" horiz-adv-x="1024" d="M959 1524v-264h-157q-86 0 -116 -36t-30 -108v-189h293l-39 -296h-254v-759h-306v759h-255v296h255v218q0 186 104 288.5t277 102.5q147 0 228 -12z" />
<glyph unicode="&#xf09b;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -40 7t-13 30q0 3 0.5 76.5t0.5 134.5q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 119 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24 q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-85 13.5q-45 -113 -8 -204q-79 -87 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-39 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5 t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -88.5t0.5 -54.5q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103zM291 305q3 7 -7 12 q-10 3 -13 -2q-3 -7 7 -12q9 -6 13 2zM322 271q7 5 -2 16q-10 9 -16 3q-7 -5 2 -16q10 -10 16 -3zM352 226q9 7 0 19q-8 13 -17 6q-9 -5 0 -18t17 -7zM394 184q8 8 -4 19q-12 12 -20 3q-9 -8 4 -19q12 -12 20 -3zM451 159q3 11 -13 16q-15 4 -19 -7t13 -15q15 -6 19 6z M514 154q0 13 -17 11q-16 0 -16 -11q0 -13 17 -11q16 0 16 11zM572 164q-2 11 -18 9q-16 -3 -14 -15t18 -8t14 14z" />
<glyph unicode="&#xf09c;" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" />
<glyph unicode="&#xf09d;" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />
<glyph unicode="&#xf09e;" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" />
<glyph unicode="&#xf0a0;" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" />
<glyph unicode="&#xf0a1;" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" />
<glyph unicode="&#xf0a2;" horiz-adv-x="1792" d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM246 128h1300q-266 300 -266 832q0 51 -24 105t-69 103t-121.5 80.5t-169.5 31.5t-169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -532 -266 -832z M1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5 t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" />
<glyph unicode="&#xf0a3;" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" />
<glyph unicode="&#xf0a4;" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" />
<glyph unicode="&#xf0a5;" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576 q-50 0 -89 -38.5t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45 t45 -19t45 19t19 45zM1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128 q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" />
<glyph unicode="&#xf0a6;" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" />
<glyph unicode="&#xf0a7;" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" />
<glyph unicode="&#xf0a8;" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf0a9;" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf0aa;" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf0ab;" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf0ac;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" />
<glyph unicode="&#xf0ad;" horiz-adv-x="1664" d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5 t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" />
<glyph unicode="&#xf0ae;" horiz-adv-x="1792" d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19 t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf0b0;" horiz-adv-x="1408" d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" />
<glyph unicode="&#xf0b1;" horiz-adv-x="1792" d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68 t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" />
<glyph unicode="&#xf0b2;" d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144 l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z " />
<glyph unicode="&#xf0c0;" horiz-adv-x="1920" d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75 t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5 t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" />
<glyph unicode="&#xf0c1;" horiz-adv-x="1664" d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26 l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15 t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207 q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" />
<glyph unicode="&#xf0c2;" horiz-adv-x="1920" d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z " />
<glyph unicode="&#xf0c3;" horiz-adv-x="1664" d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" />
<glyph unicode="&#xf0c4;" horiz-adv-x="1792" d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148 q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108 q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6 q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" />
<glyph unicode="&#xf0c5;" horiz-adv-x="1792" d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299 h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" />
<glyph unicode="&#xf0c6;" horiz-adv-x="1408" d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181 l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235 z" />
<glyph unicode="&#xf0c7;" d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5 h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" />
<glyph unicode="&#xf0c8;" d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf0c9;" d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45 t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf0ca;" horiz-adv-x="1792" d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
<glyph unicode="&#xf0cb;" horiz-adv-x="1792" d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362 q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 122t0.5 121v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5 t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
<glyph unicode="&#xf0cc;" horiz-adv-x="1792" d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 97 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6 l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -55 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23 l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" />
<glyph unicode="&#xf0cd;" d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47 q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41 q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472 q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" />
<glyph unicode="&#xf0ce;" horiz-adv-x="1664" d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23 v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192 q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192 q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113 z" />
<glyph unicode="&#xf0d0;" horiz-adv-x="1664" d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276 l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" />
<glyph unicode="&#xf0d1;" horiz-adv-x="1792" d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5 t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38 t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf0d2;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134 q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33 q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf0d3;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5 t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5 t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" />
<glyph unicode="&#xf0d4;" d="M917 631q0 26 -6 64h-362v-132h217q-3 -24 -16.5 -50t-37.5 -53t-66.5 -44.5t-96.5 -17.5q-99 0 -169 71t-70 171t70 171t169 71q92 0 153 -59l104 101q-108 100 -257 100q-160 0 -272 -112.5t-112 -271.5t112 -271.5t272 -112.5q165 0 266.5 105t101.5 270zM1262 585 h109v110h-109v110h-110v-110h-110v-110h110v-110h110v110zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf0d5;" horiz-adv-x="2304" d="M1437 623q0 -208 -87 -370.5t-248 -254t-369 -91.5q-149 0 -285 58t-234 156t-156 234t-58 285t58 285t156 234t234 156t285 58q286 0 491 -192l-199 -191q-117 113 -292 113q-123 0 -227.5 -62t-165.5 -168.5t-61 -232.5t61 -232.5t165.5 -168.5t227.5 -62 q83 0 152.5 23t114.5 57.5t78.5 78.5t49 83t21.5 74h-416v252h692q12 -63 12 -122zM2304 745v-210h-209v-209h-210v209h-209v210h209v209h210v-209h209z" />
<glyph unicode="&#xf0d6;" horiz-adv-x="1920" d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384 v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf0d7;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf0d8;" horiz-adv-x="1024" d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
<glyph unicode="&#xf0d9;" horiz-adv-x="640" d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" />
<glyph unicode="&#xf0da;" horiz-adv-x="640" d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" />
<glyph unicode="&#xf0db;" horiz-adv-x="1664" d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" />
<glyph unicode="&#xf0dc;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
<glyph unicode="&#xf0dd;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf0de;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
<glyph unicode="&#xf0e0;" horiz-adv-x="1792" d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123 q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" />
<glyph unicode="&#xf0e1;" d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329 q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" />
<glyph unicode="&#xf0e2;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" />
<glyph unicode="&#xf0e3;" horiz-adv-x="1792" d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5 t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14 q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28 q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" />
<glyph unicode="&#xf0e4;" horiz-adv-x="1792" d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5 t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5 t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29 q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
<glyph unicode="&#xf0e5;" horiz-adv-x="1792" d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640 q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5 t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />
<glyph unicode="&#xf0e6;" horiz-adv-x="1792" d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257 t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5 t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129 q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" />
<glyph unicode="&#xf0e7;" horiz-adv-x="896" d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" />
<glyph unicode="&#xf0e8;" horiz-adv-x="1792" d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68 z" />
<glyph unicode="&#xf0e9;" horiz-adv-x="1664" d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97 q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69 q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" />
<glyph unicode="&#xf0ea;" horiz-adv-x="1792" d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28 h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" />
<glyph unicode="&#xf0eb;" horiz-adv-x="1024" d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134 q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47 q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5 t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" />
<glyph unicode="&#xf0ec;" horiz-adv-x="1792" d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9 q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
<glyph unicode="&#xf0ed;" horiz-adv-x="1920" d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
<glyph unicode="&#xf0ee;" horiz-adv-x="1920" d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
<glyph unicode="&#xf0f0;" horiz-adv-x="1408" d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56 t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68 t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" />
<glyph unicode="&#xf0f1;" horiz-adv-x="1408" d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48 t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252 t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" />
<glyph unicode="&#xf0f2;" horiz-adv-x="1792" d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66 t66 -158z" />
<glyph unicode="&#xf0f3;" horiz-adv-x="1792" d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5 t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" />
<glyph unicode="&#xf0f4;" horiz-adv-x="1920" d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45 t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" />
<glyph unicode="&#xf0f5;" horiz-adv-x="1408" d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45 t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf0f6;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M384 736q0 14 9 23t23 9h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64zM1120 512q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704zM1120 256q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704 q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704z" />
<glyph unicode="&#xf0f7;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf0f8;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5 t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320 v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf0f9;" horiz-adv-x="1920" d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152 q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf0fa;" horiz-adv-x="1792" d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32 q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" />
<glyph unicode="&#xf0fb;" horiz-adv-x="1920" d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96 q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q261 -58 287 -93z" />
<glyph unicode="&#xf0fc;" horiz-adv-x="1664" d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" />
<glyph unicode="&#xf0fd;" d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf0fe;" d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf100;" horiz-adv-x="1024" d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" />
<glyph unicode="&#xf101;" horiz-adv-x="1024" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23 l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
<glyph unicode="&#xf102;" horiz-adv-x="1152" d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393 q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
<glyph unicode="&#xf103;" horiz-adv-x="1152" d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
<glyph unicode="&#xf104;" horiz-adv-x="640" d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
<glyph unicode="&#xf105;" horiz-adv-x="640" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
<glyph unicode="&#xf106;" horiz-adv-x="1152" d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
<glyph unicode="&#xf107;" horiz-adv-x="1152" d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
<glyph unicode="&#xf108;" horiz-adv-x="1920" d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19 t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
<glyph unicode="&#xf109;" horiz-adv-x="1920" d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" />
<glyph unicode="&#xf10a;" horiz-adv-x="1152" d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832 q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" />
<glyph unicode="&#xf10b;" horiz-adv-x="768" d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136 q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf10c;" d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103 t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf10d;" horiz-adv-x="1664" d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" />
<glyph unicode="&#xf10e;" horiz-adv-x="1664" d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216 v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" />
<glyph unicode="&#xf110;" horiz-adv-x="1792" d="M526 142q0 -53 -37.5 -90.5t-90.5 -37.5q-52 0 -90 38t-38 90q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1024 -64q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -53 -37.5 -90.5t-90.5 -37.5 t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1522 142q0 -52 -38 -90t-90 -38q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM558 1138q0 -66 -47 -113t-113 -47t-113 47t-47 113t47 113t113 47t113 -47t47 -113z M1728 640q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1088 1344q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1618 1138q0 -93 -66 -158.5t-158 -65.5q-93 0 -158.5 65.5t-65.5 158.5 q0 92 65.5 158t158.5 66q92 0 158 -66t66 -158z" />
<glyph unicode="&#xf111;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf112;" horiz-adv-x="1792" d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19 l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" />
<glyph unicode="&#xf113;" horiz-adv-x="1664" d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320 q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86 t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218 q0 -87 -27 -168q136 -160 136 -398z" />
<glyph unicode="&#xf114;" horiz-adv-x="1664" d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320 q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
<glyph unicode="&#xf115;" horiz-adv-x="1920" d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68 v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z " />
<glyph unicode="&#xf116;" horiz-adv-x="1792" />
<glyph unicode="&#xf117;" horiz-adv-x="1792" />
<glyph unicode="&#xf118;" d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5 t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf119;" d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204 t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf11a;" d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf11b;" horiz-adv-x="1920" d="M832 448v128q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23zM1408 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1920 512q0 -212 -150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150 t-150 362t150 362t362 150h896q212 0 362 -150t150 -362z" />
<glyph unicode="&#xf11c;" horiz-adv-x="1920" d="M384 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM512 624v-96q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h224q16 0 16 -16zM384 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 368v-96q0 -16 -16 -16 h-864q-16 0 -16 16v96q0 16 16 16h864q16 0 16 -16zM768 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM640 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1024 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16 h96q16 0 16 -16zM896 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1280 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1152 880v-96 q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 880v-352q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h112v240q0 16 16 16h96q16 0 16 -16zM1792 128v896h-1664v-896 h1664zM1920 1024v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5z" />
<glyph unicode="&#xf11d;" horiz-adv-x="1792" d="M1664 491v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9 h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102 q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
<glyph unicode="&#xf11e;" horiz-adv-x="1792" d="M832 536v192q-181 -16 -384 -117v-185q205 96 384 110zM832 954v197q-172 -8 -384 -126v-189q215 111 384 118zM1664 491v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2 q-23 0 -49 -3v-222h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92zM1664 918v189q-169 -91 -306 -91q-45 0 -78 8v-196q148 -42 384 90zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266 q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8 q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
<glyph unicode="&#xf120;" horiz-adv-x="1664" d="M585 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23zM1664 96v-64q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h960q14 0 23 -9 t9 -23z" />
<glyph unicode="&#xf121;" horiz-adv-x="1920" d="M617 137l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23zM1208 1204l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5 l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5zM1865 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23z" />
<glyph unicode="&#xf122;" horiz-adv-x="1792" d="M640 454v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45zM1792 416q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1 q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221q169 -173 169 -509z" />
<glyph unicode="&#xf123;" horiz-adv-x="1664" d="M1186 579l257 250l-356 52l-66 10l-30 60l-159 322v-963l59 -31l318 -168l-60 355l-12 66zM1638 841l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5t54 34.5 l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5z" />
<glyph unicode="&#xf124;" horiz-adv-x="1408" d="M1401 1187l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5t4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5z" />
<glyph unicode="&#xf125;" horiz-adv-x="1664" d="M557 256h595v595zM512 301l595 595h-595v-595zM1664 224v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23 v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf126;" horiz-adv-x="1024" d="M288 64q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM288 1216q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM928 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1024 1088q0 -52 -26 -96.5t-70 -69.5 q-2 -287 -226 -414q-68 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497 q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136z" />
<glyph unicode="&#xf127;" horiz-adv-x="1664" d="M439 265l-256 -256q-10 -9 -23 -9q-12 0 -23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23zM608 224v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM384 448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23t9 23t23 9h320 q14 0 23 -9t9 -23zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204zM1031 1044l-239 -18 l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56zM1664 960q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9 t-9 23t9 23t23 9h320q14 0 23 -9t9 -23zM1120 1504v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM1527 1353l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />
<glyph unicode="&#xf128;" horiz-adv-x="1024" d="M704 280v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28zM1020 880q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5 t-10.5 37.5v45q0 83 65 156.5t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25t5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5z" />
<glyph unicode="&#xf129;" horiz-adv-x="640" d="M640 192v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45zM512 1344v-192q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v192 q0 26 19 45t45 19h256q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf12a;" horiz-adv-x="640" d="M512 288v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45zM542 1344l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45l-28 768q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45z" />
<glyph unicode="&#xf12b;" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1534 846v-206h-514l-3 27 q-4 28 -4 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5t-65.5 -51.5t-30.5 -63h232v80 h126z" />
<glyph unicode="&#xf12c;" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1536 -50v-206h-514l-4 27 q-3 45 -3 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73h232v80h126z" />
<glyph unicode="&#xf12d;" horiz-adv-x="1920" d="M896 128l336 384h-768l-336 -384h768zM1909 1205q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5t30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5z" />
<glyph unicode="&#xf12e;" horiz-adv-x="1664" d="M1664 438q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5 t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89 q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117 q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143z" />
<glyph unicode="&#xf130;" horiz-adv-x="1152" d="M1152 832v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5 t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45zM896 1216v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226v512q0 132 94 226t226 94t226 -94t94 -226z" />
<glyph unicode="&#xf131;" horiz-adv-x="1408" d="M271 591l-101 -101q-42 103 -42 214v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113zM1385 1193l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128 q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23 t-10 -23zM1005 1325l-621 -621v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" />
<glyph unicode="&#xf132;" horiz-adv-x="1280" d="M1088 576v640h-448v-1137q119 63 213 137q235 184 235 360zM1280 1344v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150 t-33.5 170.5v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf133;" horiz-adv-x="1664" d="M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280 q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf134;" horiz-adv-x="1408" d="M512 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 1376v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800 q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37t3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113 q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25z" />
<glyph unicode="&#xf135;" horiz-adv-x="1664" d="M1440 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1664 1376q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85q-3 -1 -9 -1 q-14 0 -23 9l-64 64q-17 19 -5 39l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5z" />
<glyph unicode="&#xf136;" horiz-adv-x="1792" d="M1745 763l-164 -763h-334l178 832q13 56 -15 88q-27 33 -83 33h-169l-204 -953h-334l204 953h-286l-204 -953h-334l204 953l-153 327h1276q101 0 189.5 -40.5t147.5 -113.5q60 -73 81 -168.5t0 -194.5z" />
<glyph unicode="&#xf137;" d="M909 141l102 102q19 19 19 45t-19 45l-307 307l307 307q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf138;" d="M717 141l454 454q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf139;" d="M1165 397l102 102q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf13a;" d="M813 237l454 454q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf13b;" horiz-adv-x="1408" d="M1130 939l16 175h-884l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674zM0 1408h1408l-128 -1438l-578 -162l-574 162z" />
<glyph unicode="&#xf13c;" horiz-adv-x="1792" d="M275 1408h1505l-266 -1333l-804 -267l-698 267l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208z" />
<glyph unicode="&#xf13d;" horiz-adv-x="1792" d="M960 1280q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1792 352v-352q0 -22 -20 -30q-8 -2 -12 -2q-13 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30v352 q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192q26 0 45 -19 t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf13e;" horiz-adv-x="1152" d="M1056 768q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181 v-320h736z" />
<glyph unicode="&#xf140;" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM1152 640q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1280 640q0 -212 -150 -362t-362 -150t-362 150 t-150 362t150 362t362 150t362 -150t150 -362zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf141;" horiz-adv-x="1408" d="M384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM896 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM1408 800v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
<glyph unicode="&#xf142;" horiz-adv-x="384" d="M384 288v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 1312v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
<glyph unicode="&#xf143;" d="M512 256q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM863 162q-13 232 -177 396t-396 177q-14 1 -24 -9t-10 -23v-128q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128q13 0 23 10 t9 24zM1247 161q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128q13 0 23 10q11 9 9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf144;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1152 585q32 18 32 55t-32 55l-544 320q-31 19 -64 1q-32 -19 -32 -56v-640q0 -37 32 -56 q16 -8 32 -8q17 0 32 9z" />
<glyph unicode="&#xf145;" horiz-adv-x="1792" d="M1024 1084l316 -316l-572 -572l-316 316zM813 105l618 618q19 19 19 45t-19 45l-362 362q-18 18 -45 18t-45 -18l-618 -618q-19 -19 -19 -45t19 -45l362 -362q18 -18 45 -18t45 18zM1702 742l-907 -908q-37 -37 -90.5 -37t-90.5 37l-126 126q56 56 56 136t-56 136 t-136 56t-136 -56l-125 126q-37 37 -37 90.5t37 90.5l907 906q37 37 90.5 37t90.5 -37l125 -125q-56 -56 -56 -136t56 -136t136 -56t136 56l126 -125q37 -37 37 -90.5t-37 -90.5z" />
<glyph unicode="&#xf146;" d="M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" />
<glyph unicode="&#xf147;" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h832q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5 t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf148;" horiz-adv-x="1024" d="M1018 933q-18 -37 -58 -37h-192v-864q0 -14 -9 -23t-23 -9h-704q-21 0 -29 18q-8 20 4 35l160 192q9 11 25 11h320v640h-192q-40 0 -58 37q-17 37 9 68l320 384q18 22 49 22t49 -22l320 -384q27 -32 9 -68z" />
<glyph unicode="&#xf149;" horiz-adv-x="1024" d="M32 1280h704q13 0 22.5 -9.5t9.5 -23.5v-863h192q40 0 58 -37t-9 -69l-320 -384q-18 -22 -49 -22t-49 22l-320 384q-26 31 -9 69q18 37 58 37h192v640h-320q-14 0 -25 11l-160 192q-13 14 -4 34q9 19 29 19z" />
<glyph unicode="&#xf14a;" d="M685 237l614 614q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-467 -467l-211 211q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l358 -358q19 -19 45 -19t45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5 t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf14b;" d="M404 428l152 -152l-52 -52h-56v96h-96v56zM818 818q14 -13 -3 -30l-291 -291q-17 -17 -30 -3q-14 13 3 30l291 291q17 17 30 3zM544 128l544 544l-288 288l-544 -544v-288h288zM1152 736l92 92q28 28 28 68t-28 68l-152 152q-28 28 -68 28t-68 -28l-92 -92zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf14c;" d="M1280 608v480q0 26 -19 45t-45 19h-480q-42 0 -59 -39q-17 -41 14 -70l144 -144l-534 -534q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l534 534l144 -144q18 -19 45 -19q12 0 25 5q39 17 39 59zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf14d;" d="M1005 435l352 352q19 19 19 45t-19 45l-352 352q-30 31 -69 14q-40 -17 -40 -59v-160q-119 0 -216 -19.5t-162.5 -51t-114 -79t-76.5 -95.5t-44.5 -109t-21.5 -111.5t-5 -110.5q0 -181 167 -404q10 -12 25 -12q7 0 13 3q22 9 19 33q-44 354 62 473q46 52 130 75.5 t224 23.5v-160q0 -42 40 -59q12 -5 24 -5q26 0 45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf14e;" d="M640 448l256 128l-256 128v-256zM1024 1039v-542l-512 -256v542zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf150;" d="M1145 861q18 -35 -5 -66l-320 -448q-19 -27 -52 -27t-52 27l-320 448q-23 31 -5 66q17 35 57 35h640q40 0 57 -35zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf151;" d="M1145 419q-17 -35 -57 -35h-640q-40 0 -57 35q-18 35 5 66l320 448q19 27 52 27t52 -27l320 -448q23 -31 5 -66zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf152;" d="M1088 640q0 -33 -27 -52l-448 -320q-31 -23 -66 -5q-35 17 -35 57v640q0 40 35 57q35 18 66 -5l448 -320q27 -19 27 -52zM1280 160v960q0 14 -9 23t-23 9h-960q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h960q14 0 23 9t9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf153;" horiz-adv-x="1024" d="M976 229l35 -159q3 -12 -3 -22.5t-17 -14.5l-5 -1q-4 -2 -10.5 -3.5t-16 -4.5t-21.5 -5.5t-25.5 -5t-30 -5t-33.5 -4.5t-36.5 -3t-38.5 -1q-234 0 -409 130.5t-238 351.5h-95q-13 0 -22.5 9.5t-9.5 22.5v113q0 13 9.5 22.5t22.5 9.5h66q-2 57 1 105h-67q-14 0 -23 9 t-9 23v114q0 14 9 23t23 9h98q67 210 243.5 338t400.5 128q102 0 194 -23q11 -3 20 -15q6 -11 3 -24l-43 -159q-3 -13 -14 -19.5t-24 -2.5l-4 1q-4 1 -11.5 2.5l-17.5 3.5t-22.5 3.5t-26 3t-29 2.5t-29.5 1q-126 0 -226 -64t-150 -176h468q16 0 25 -12q10 -12 7 -26 l-24 -114q-5 -26 -32 -26h-488q-3 -37 0 -105h459q15 0 25 -12q9 -12 6 -27l-24 -112q-2 -11 -11 -18.5t-20 -7.5h-387q48 -117 149.5 -185.5t228.5 -68.5q18 0 36 1.5t33.5 3.5t29.5 4.5t24.5 5t18.5 4.5l12 3l5 2q13 5 26 -2q12 -7 15 -21z" />
<glyph unicode="&#xf154;" horiz-adv-x="1024" d="M1020 399v-367q0 -14 -9 -23t-23 -9h-956q-14 0 -23 9t-9 23v150q0 13 9.5 22.5t22.5 9.5h97v383h-95q-14 0 -23 9.5t-9 22.5v131q0 14 9 23t23 9h95v223q0 171 123.5 282t314.5 111q185 0 335 -125q9 -8 10 -20.5t-7 -22.5l-103 -127q-9 -11 -22 -12q-13 -2 -23 7 q-5 5 -26 19t-69 32t-93 18q-85 0 -137 -47t-52 -123v-215h305q13 0 22.5 -9t9.5 -23v-131q0 -13 -9.5 -22.5t-22.5 -9.5h-305v-379h414v181q0 13 9 22.5t23 9.5h162q14 0 23 -9.5t9 -22.5z" />
<glyph unicode="&#xf155;" horiz-adv-x="1024" d="M978 351q0 -153 -99.5 -263.5t-258.5 -136.5v-175q0 -14 -9 -23t-23 -9h-135q-13 0 -22.5 9.5t-9.5 22.5v175q-66 9 -127.5 31t-101.5 44.5t-74 48t-46.5 37.5t-17.5 18q-17 21 -2 41l103 135q7 10 23 12q15 2 24 -9l2 -2q113 -99 243 -125q37 -8 74 -8q81 0 142.5 43 t61.5 122q0 28 -15 53t-33.5 42t-58.5 37.5t-66 32t-80 32.5q-39 16 -61.5 25t-61.5 26.5t-62.5 31t-56.5 35.5t-53.5 42.5t-43.5 49t-35.5 58t-21 66.5t-8.5 78q0 138 98 242t255 134v180q0 13 9.5 22.5t22.5 9.5h135q14 0 23 -9t9 -23v-176q57 -6 110.5 -23t87 -33.5 t63.5 -37.5t39 -29t15 -14q17 -18 5 -38l-81 -146q-8 -15 -23 -16q-14 -3 -27 7q-3 3 -14.5 12t-39 26.5t-58.5 32t-74.5 26t-85.5 11.5q-95 0 -155 -43t-60 -111q0 -26 8.5 -48t29.5 -41.5t39.5 -33t56 -31t60.5 -27t70 -27.5q53 -20 81 -31.5t76 -35t75.5 -42.5t62 -50 t53 -63.5t31.5 -76.5t13 -94z" />
<glyph unicode="&#xf156;" horiz-adv-x="898" d="M898 1066v-102q0 -14 -9 -23t-23 -9h-168q-23 -144 -129 -234t-276 -110q167 -178 459 -536q14 -16 4 -34q-8 -18 -29 -18h-195q-16 0 -25 12q-306 367 -498 571q-9 9 -9 22v127q0 13 9.5 22.5t22.5 9.5h112q132 0 212.5 43t102.5 125h-427q-14 0 -23 9t-9 23v102 q0 14 9 23t23 9h413q-57 113 -268 113h-145q-13 0 -22.5 9.5t-9.5 22.5v133q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-233q47 -61 64 -144h171q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf157;" horiz-adv-x="1027" d="M603 0h-172q-13 0 -22.5 9t-9.5 23v330h-288q-13 0 -22.5 9t-9.5 23v103q0 13 9.5 22.5t22.5 9.5h288v85h-288q-13 0 -22.5 9t-9.5 23v104q0 13 9.5 22.5t22.5 9.5h214l-321 578q-8 16 0 32q10 16 28 16h194q19 0 29 -18l215 -425q19 -38 56 -125q10 24 30.5 68t27.5 61 l191 420q8 19 29 19h191q17 0 27 -16q9 -14 1 -31l-313 -579h215q13 0 22.5 -9.5t9.5 -22.5v-104q0 -14 -9.5 -23t-22.5 -9h-290v-85h290q13 0 22.5 -9.5t9.5 -22.5v-103q0 -14 -9.5 -23t-22.5 -9h-290v-330q0 -13 -9.5 -22.5t-22.5 -9.5z" />
<glyph unicode="&#xf158;" horiz-adv-x="1280" d="M1043 971q0 100 -65 162t-171 62h-320v-448h320q106 0 171 62t65 162zM1280 971q0 -193 -126.5 -315t-326.5 -122h-340v-118h505q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9h-505v-192q0 -14 -9.5 -23t-22.5 -9h-167q-14 0 -23 9t-9 23v192h-224q-14 0 -23 9t-9 23v128 q0 14 9 23t23 9h224v118h-224q-14 0 -23 9t-9 23v149q0 13 9 22.5t23 9.5h224v629q0 14 9 23t23 9h539q200 0 326.5 -122t126.5 -315z" />
<glyph unicode="&#xf159;" horiz-adv-x="1792" d="M514 341l81 299h-159l75 -300q1 -1 1 -3t1 -3q0 1 0.5 3.5t0.5 3.5zM630 768l35 128h-292l32 -128h225zM822 768h139l-35 128h-70zM1271 340l78 300h-162l81 -299q0 -1 0.5 -3.5t1.5 -3.5q0 1 0.5 3t0.5 3zM1382 768l33 128h-297l34 -128h230zM1792 736v-64q0 -14 -9 -23 t-23 -9h-213l-164 -616q-7 -24 -31 -24h-159q-24 0 -31 24l-166 616h-209l-167 -616q-7 -24 -31 -24h-159q-11 0 -19.5 7t-10.5 17l-160 616h-208q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h175l-33 128h-142q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h109l-89 344q-5 15 5 28 q10 12 26 12h137q26 0 31 -24l90 -360h359l97 360q7 24 31 24h126q24 0 31 -24l98 -360h365l93 360q5 24 31 24h137q16 0 26 -12q10 -13 5 -28l-91 -344h111q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-145l-34 -128h179q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf15a;" horiz-adv-x="1280" d="M1167 896q18 -182 -131 -258q117 -28 175 -103t45 -214q-7 -71 -32.5 -125t-64.5 -89t-97 -58.5t-121.5 -34.5t-145.5 -15v-255h-154v251q-80 0 -122 1v-252h-154v255q-18 0 -54 0.5t-55 0.5h-200l31 183h111q50 0 58 51v402h16q-6 1 -16 1v287q-13 68 -89 68h-111v164 l212 -1q64 0 97 1v252h154v-247q82 2 122 2v245h154v-252q79 -7 140 -22.5t113 -45t82.5 -78t36.5 -114.5zM952 351q0 36 -15 64t-37 46t-57.5 30.5t-65.5 18.5t-74 9t-69 3t-64.5 -1t-47.5 -1v-338q8 0 37 -0.5t48 -0.5t53 1.5t58.5 4t57 8.5t55.5 14t47.5 21t39.5 30 t24.5 40t9.5 51zM881 827q0 33 -12.5 58.5t-30.5 42t-48 28t-55 16.5t-61.5 8t-58 2.5t-54 -1t-39.5 -0.5v-307q5 0 34.5 -0.5t46.5 0t50 2t55 5.5t51.5 11t48.5 18.5t37 27t27 38.5t9 51z" />
<glyph unicode="&#xf15b;" d="M1024 1024v472q22 -14 36 -28l408 -408q14 -14 28 -36h-472zM896 992q0 -40 28 -68t68 -28h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h800v-544z" />
<glyph unicode="&#xf15c;" d="M1468 1060q14 -14 28 -36h-472v472q22 -14 36 -28zM992 896h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h800v-544q0 -40 28 -68t68 -28zM1152 160v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704 q14 0 23 9t9 23zM1152 416v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1152 672v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23z" />
<glyph unicode="&#xf15d;" horiz-adv-x="1664" d="M1191 1128h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1572 -23 v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -11v-2l14 2q9 2 30 2h248v119h121zM1661 874v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162 l230 -662h70z" />
<glyph unicode="&#xf15e;" horiz-adv-x="1664" d="M1191 104h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1661 -150 v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162l230 -662h70zM1572 1001v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -10v-3l14 3q9 1 30 1h248 v119h121z" />
<glyph unicode="&#xf160;" horiz-adv-x="1792" d="M736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1792 -32v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832 q14 0 23 -9t9 -23zM1600 480v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1408 992v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1216 1504v-192q0 -14 -9 -23t-23 -9h-256 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf161;" horiz-adv-x="1792" d="M1216 -32v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192 q14 0 23 -9t9 -23zM1408 480v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1600 992v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1792 1504v-192q0 -14 -9 -23t-23 -9h-832 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf162;" d="M1346 223q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23 zM1486 165q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5 t82 -252.5zM1456 882v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165z" />
<glyph unicode="&#xf163;" d="M1346 1247q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9 t9 -23zM1456 -142v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165zM1486 1189q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13 q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5z" />
<glyph unicode="&#xf164;" horiz-adv-x="1664" d="M256 192q0 26 -19 45t-45 19q-27 0 -45.5 -19t-18.5 -45q0 -27 18.5 -45.5t45.5 -18.5q26 0 45 18.5t19 45.5zM416 704v-640q0 -26 -19 -45t-45 -19h-288q-26 0 -45 19t-19 45v640q0 26 19 45t45 19h288q26 0 45 -19t19 -45zM1600 704q0 -86 -55 -149q15 -44 15 -76 q3 -76 -43 -137q17 -56 0 -117q-15 -57 -54 -94q9 -112 -49 -181q-64 -76 -197 -78h-36h-76h-17q-66 0 -144 15.5t-121.5 29t-120.5 39.5q-123 43 -158 44q-26 1 -45 19.5t-19 44.5v641q0 25 18 43.5t43 20.5q24 2 76 59t101 121q68 87 101 120q18 18 31 48t17.5 48.5 t13.5 60.5q7 39 12.5 61t19.5 52t34 50q19 19 45 19q46 0 82.5 -10.5t60 -26t40 -40.5t24 -45t12 -50t5 -45t0.5 -39q0 -38 -9.5 -76t-19 -60t-27.5 -56q-3 -6 -10 -18t-11 -22t-8 -24h277q78 0 135 -57t57 -135z" />
<glyph unicode="&#xf165;" horiz-adv-x="1664" d="M256 960q0 -26 -19 -45t-45 -19q-27 0 -45.5 19t-18.5 45q0 27 18.5 45.5t45.5 18.5q26 0 45 -18.5t19 -45.5zM416 448v640q0 26 -19 45t-45 19h-288q-26 0 -45 -19t-19 -45v-640q0 -26 19 -45t45 -19h288q26 0 45 19t19 45zM1545 597q55 -61 55 -149q-1 -78 -57.5 -135 t-134.5 -57h-277q4 -14 8 -24t11 -22t10 -18q18 -37 27 -57t19 -58.5t10 -76.5q0 -24 -0.5 -39t-5 -45t-12 -50t-24 -45t-40 -40.5t-60 -26t-82.5 -10.5q-26 0 -45 19q-20 20 -34 50t-19.5 52t-12.5 61q-9 42 -13.5 60.5t-17.5 48.5t-31 48q-33 33 -101 120q-49 64 -101 121 t-76 59q-25 2 -43 20.5t-18 43.5v641q0 26 19 44.5t45 19.5q35 1 158 44q77 26 120.5 39.5t121.5 29t144 15.5h17h76h36q133 -2 197 -78q58 -69 49 -181q39 -37 54 -94q17 -61 0 -117q46 -61 43 -137q0 -32 -15 -76z" />
<glyph unicode="&#xf166;" d="M919 233v157q0 50 -29 50q-17 0 -33 -16v-224q16 -16 33 -16q29 0 29 49zM1103 355h66v34q0 51 -33 51t-33 -51v-34zM532 621v-70h-80v-423h-74v423h-78v70h232zM733 495v-367h-67v40q-39 -45 -76 -45q-33 0 -42 28q-6 16 -6 54v290h66v-270q0 -24 1 -26q1 -15 15 -15 q20 0 42 31v280h67zM985 384v-146q0 -52 -7 -73q-12 -42 -53 -42q-35 0 -68 41v-36h-67v493h67v-161q32 40 68 40q41 0 53 -42q7 -21 7 -74zM1236 255v-9q0 -29 -2 -43q-3 -22 -15 -40q-27 -40 -80 -40q-52 0 -81 38q-21 27 -21 86v129q0 59 20 86q29 38 80 38t78 -38 q21 -28 21 -86v-76h-133v-65q0 -51 34 -51q24 0 30 26q0 1 0.5 7t0.5 16.5v21.5h68zM785 1079v-156q0 -51 -32 -51t-32 51v156q0 52 32 52t32 -52zM1318 366q0 177 -19 260q-10 44 -43 73.5t-76 34.5q-136 15 -412 15q-275 0 -411 -15q-44 -5 -76.5 -34.5t-42.5 -73.5 q-20 -87 -20 -260q0 -176 20 -260q10 -43 42.5 -73t75.5 -35q137 -15 412 -15t412 15q43 5 75.5 35t42.5 73q20 84 20 260zM563 1017l90 296h-75l-51 -195l-53 195h-78l24 -69t23 -69q35 -103 46 -158v-201h74v201zM852 936v130q0 58 -21 87q-29 38 -78 38q-51 0 -78 -38 q-21 -29 -21 -87v-130q0 -58 21 -87q27 -38 78 -38q49 0 78 38q21 27 21 87zM1033 816h67v370h-67v-283q-22 -31 -42 -31q-15 0 -16 16q-1 2 -1 26v272h-67v-293q0 -37 6 -55q11 -27 43 -27q36 0 77 45v-40zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf167;" d="M971 292v-211q0 -67 -39 -67q-23 0 -45 22v301q22 22 45 22q39 0 39 -67zM1309 291v-46h-90v46q0 68 45 68t45 -68zM343 509h107v94h-312v-94h105v-569h100v569zM631 -60h89v494h-89v-378q-30 -42 -57 -42q-18 0 -21 21q-1 3 -1 35v364h-89v-391q0 -49 8 -73 q12 -37 58 -37q48 0 102 61v-54zM1060 88v197q0 73 -9 99q-17 56 -71 56q-50 0 -93 -54v217h-89v-663h89v48q45 -55 93 -55q54 0 71 55q9 27 9 100zM1398 98v13h-91q0 -51 -2 -61q-7 -36 -40 -36q-46 0 -46 69v87h179v103q0 79 -27 116q-39 51 -106 51q-68 0 -107 -51 q-28 -37 -28 -116v-173q0 -79 29 -116q39 -51 108 -51q72 0 108 53q18 27 21 54q2 9 2 58zM790 1011v210q0 69 -43 69t-43 -69v-210q0 -70 43 -70t43 70zM1509 260q0 -234 -26 -350q-14 -59 -58 -99t-102 -46q-184 -21 -555 -21t-555 21q-58 6 -102.5 46t-57.5 99 q-26 112 -26 350q0 234 26 350q14 59 58 99t103 47q183 20 554 20t555 -20q58 -7 102.5 -47t57.5 -99q26 -112 26 -350zM511 1536h102l-121 -399v-271h-100v271q-14 74 -61 212q-37 103 -65 187h106l71 -263zM881 1203v-175q0 -81 -28 -118q-37 -51 -106 -51q-67 0 -105 51 q-28 38 -28 118v175q0 80 28 117q38 51 105 51q69 0 106 -51q28 -37 28 -117zM1216 1365v-499h-91v55q-53 -62 -103 -62q-46 0 -59 37q-8 24 -8 75v394h91v-367q0 -33 1 -35q3 -22 21 -22q27 0 57 43v381h91z" />
<glyph unicode="&#xf168;" horiz-adv-x="1408" d="M597 869q-10 -18 -257 -456q-27 -46 -65 -46h-239q-21 0 -31 17t0 36l253 448q1 0 0 1l-161 279q-12 22 -1 37q9 15 32 15h239q40 0 66 -45zM1403 1511q11 -16 0 -37l-528 -934v-1l336 -615q11 -20 1 -37q-10 -15 -32 -15h-239q-42 0 -66 45l-339 622q18 32 531 942 q25 45 64 45h241q22 0 31 -15z" />
<glyph unicode="&#xf169;" d="M685 771q0 1 -126 222q-21 34 -52 34h-184q-18 0 -26 -11q-7 -12 1 -29l125 -216v-1l-196 -346q-9 -14 0 -28q8 -13 24 -13h185q31 0 50 36zM1309 1268q-7 12 -24 12h-187q-30 0 -49 -35l-411 -729q1 -2 262 -481q20 -35 52 -35h184q18 0 25 12q8 13 -1 28l-260 476v1 l409 723q8 16 0 28zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf16a;" horiz-adv-x="1792" d="M1280 640q0 37 -30 54l-512 320q-31 20 -65 2q-33 -18 -33 -56v-640q0 -38 33 -56q16 -8 31 -8q20 0 34 10l512 320q30 17 30 54zM1792 640q0 -96 -1 -150t-8.5 -136.5t-22.5 -147.5q-16 -73 -69 -123t-124 -58q-222 -25 -671 -25t-671 25q-71 8 -124.5 58t-69.5 123 q-14 65 -21.5 147.5t-8.5 136.5t-1 150t1 150t8.5 136.5t22.5 147.5q16 73 69 123t124 58q222 25 671 25t671 -25q71 -8 124.5 -58t69.5 -123q14 -65 21.5 -147.5t8.5 -136.5t1 -150z" />
<glyph unicode="&#xf16b;" horiz-adv-x="1792" d="M402 829l494 -305l-342 -285l-490 319zM1388 274v-108l-490 -293v-1l-1 1l-1 -1v1l-489 293v108l147 -96l342 284v2l1 -1l1 1v-2l343 -284zM554 1418l342 -285l-494 -304l-338 270zM1390 829l338 -271l-489 -319l-343 285zM1239 1418l489 -319l-338 -270l-494 304z" />
<glyph unicode="&#xf16c;" d="M1289 -96h-1118v480h-160v-640h1438v640h-160v-480zM347 428l33 157l783 -165l-33 -156zM450 802l67 146l725 -339l-67 -145zM651 1158l102 123l614 -513l-102 -123zM1048 1536l477 -641l-128 -96l-477 641zM330 65v159h800v-159h-800z" />
<glyph unicode="&#xf16d;" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1162 640q0 -164 -115 -279t-279 -115t-279 115t-115 279t115 279t279 115t279 -115t115 -279zM1270 1050q0 -38 -27 -65t-65 -27t-65 27t-27 65t27 65t65 27t65 -27t27 -65zM768 1270 q-7 0 -76.5 0.5t-105.5 0t-96.5 -3t-103 -10t-71.5 -18.5q-50 -20 -88 -58t-58 -88q-11 -29 -18.5 -71.5t-10 -103t-3 -96.5t0 -105.5t0.5 -76.5t-0.5 -76.5t0 -105.5t3 -96.5t10 -103t18.5 -71.5q20 -50 58 -88t88 -58q29 -11 71.5 -18.5t103 -10t96.5 -3t105.5 0t76.5 0.5 t76.5 -0.5t105.5 0t96.5 3t103 10t71.5 18.5q50 20 88 58t58 88q11 29 18.5 71.5t10 103t3 96.5t0 105.5t-0.5 76.5t0.5 76.5t0 105.5t-3 96.5t-10 103t-18.5 71.5q-20 50 -58 88t-88 58q-29 11 -71.5 18.5t-103 10t-96.5 3t-105.5 0t-76.5 -0.5zM1536 640q0 -229 -5 -317 q-10 -208 -124 -322t-322 -124q-88 -5 -317 -5t-317 5q-208 10 -322 124t-124 322q-5 88 -5 317t5 317q10 208 124 322t322 124q88 5 317 5t317 -5q208 -10 322 -124t124 -322q5 -88 5 -317z" />
<glyph unicode="&#xf16e;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM698 640q0 88 -62 150t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150zM1262 640q0 88 -62 150 t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150z" />
<glyph unicode="&#xf170;" d="M768 914l201 -306h-402zM1133 384h94l-459 691l-459 -691h94l104 160h522zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf171;" horiz-adv-x="1408" d="M815 677q8 -63 -50.5 -101t-111.5 -6q-39 17 -53.5 58t-0.5 82t52 58q36 18 72.5 12t64 -35.5t27.5 -67.5zM926 698q-14 107 -113 164t-197 13q-63 -28 -100.5 -88.5t-34.5 -129.5q4 -91 77.5 -155t165.5 -56q91 8 152 84t50 168zM1165 1240q-20 27 -56 44.5t-58 22 t-71 12.5q-291 47 -566 -2q-43 -7 -66 -12t-55 -22t-50 -43q30 -28 76 -45.5t73.5 -22t87.5 -11.5q228 -29 448 -1q63 8 89.5 12t72.5 21.5t75 46.5zM1222 205q-8 -26 -15.5 -76.5t-14 -84t-28.5 -70t-58 -56.5q-86 -48 -189.5 -71.5t-202 -22t-201.5 18.5q-46 8 -81.5 18 t-76.5 27t-73 43.5t-52 61.5q-25 96 -57 292l6 16l18 9q223 -148 506.5 -148t507.5 148q21 -6 24 -23t-5 -45t-8 -37zM1403 1166q-26 -167 -111 -655q-5 -30 -27 -56t-43.5 -40t-54.5 -31q-252 -126 -610 -88q-248 27 -394 139q-15 12 -25.5 26.5t-17 35t-9 34t-6 39.5 t-5.5 35q-9 50 -26.5 150t-28 161.5t-23.5 147.5t-22 158q3 26 17.5 48.5t31.5 37.5t45 30t46 22.5t48 18.5q125 46 313 64q379 37 676 -50q155 -46 215 -122q16 -20 16.5 -51t-5.5 -54z" />
<glyph unicode="&#xf172;" d="M848 666q0 43 -41 66t-77 1q-43 -20 -42.5 -72.5t43.5 -70.5q39 -23 81 4t36 72zM928 682q8 -66 -36 -121t-110 -61t-119 40t-56 113q-2 49 25.5 93t72.5 64q70 31 141.5 -10t81.5 -118zM1100 1073q-20 -21 -53.5 -34t-53 -16t-63.5 -8q-155 -20 -324 0q-44 6 -63 9.5 t-52.5 16t-54.5 32.5q13 19 36 31t40 15.5t47 8.5q198 35 408 1q33 -5 51 -8.5t43 -16t39 -31.5zM1142 327q0 7 5.5 26.5t3 32t-17.5 16.5q-161 -106 -365 -106t-366 106l-12 -6l-5 -12q26 -154 41 -210q47 -81 204 -108q249 -46 428 53q34 19 49 51.5t22.5 85.5t12.5 71z M1272 1020q9 53 -8 75q-43 55 -155 88q-216 63 -487 36q-132 -12 -226 -46q-38 -15 -59.5 -25t-47 -34t-29.5 -54q8 -68 19 -138t29 -171t24 -137q1 -5 5 -31t7 -36t12 -27t22 -28q105 -80 284 -100q259 -28 440 63q24 13 39.5 23t31 29t19.5 40q48 267 80 473zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf173;" horiz-adv-x="1024" d="M944 207l80 -237q-23 -35 -111 -66t-177 -32q-104 -2 -190.5 26t-142.5 74t-95 106t-55.5 120t-16.5 118v544h-168v215q72 26 129 69.5t91 90t58 102t34 99t15 88.5q1 5 4.5 8.5t7.5 3.5h244v-424h333v-252h-334v-518q0 -30 6.5 -56t22.5 -52.5t49.5 -41.5t81.5 -14 q78 2 134 29z" />
<glyph unicode="&#xf174;" d="M1136 75l-62 183q-44 -22 -103 -22q-36 -1 -62 10.5t-38.5 31.5t-17.5 40.5t-5 43.5v398h257v194h-256v326h-188q-8 0 -9 -10q-5 -44 -17.5 -87t-39 -95t-77 -95t-118.5 -68v-165h130v-418q0 -57 21.5 -115t65 -111t121 -85.5t176.5 -30.5q69 1 136.5 25t85.5 50z M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf175;" horiz-adv-x="768" d="M765 237q8 -19 -5 -35l-350 -384q-10 -10 -23 -10q-14 0 -24 10l-355 384q-13 16 -5 35q9 19 29 19h224v1248q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1248h224q21 0 29 -19z" />
<glyph unicode="&#xf176;" horiz-adv-x="768" d="M765 1043q-9 -19 -29 -19h-224v-1248q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1248h-224q-21 0 -29 19t5 35l350 384q10 10 23 10q14 0 24 -10l355 -384q13 -16 5 -35z" />
<glyph unicode="&#xf177;" horiz-adv-x="1792" d="M1792 736v-192q0 -14 -9 -23t-23 -9h-1248v-224q0 -21 -19 -29t-35 5l-384 350q-10 10 -10 23q0 14 10 24l384 354q16 14 35 6q19 -9 19 -29v-224h1248q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf178;" horiz-adv-x="1792" d="M1728 643q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23z" />
<glyph unicode="&#xf179;" horiz-adv-x="1408" d="M1393 321q-39 -125 -123 -250q-129 -196 -257 -196q-49 0 -140 32q-86 32 -151 32q-61 0 -142 -33q-81 -34 -132 -34q-152 0 -301 259q-147 261 -147 503q0 228 113 374q112 144 284 144q72 0 177 -30q104 -30 138 -30q45 0 143 34q102 34 173 34q119 0 213 -65 q52 -36 104 -100q-79 -67 -114 -118q-65 -94 -65 -207q0 -124 69 -223t158 -126zM1017 1494q0 -61 -29 -136q-30 -75 -93 -138q-54 -54 -108 -72q-37 -11 -104 -17q3 149 78 257q74 107 250 148q1 -3 2.5 -11t2.5 -11q0 -4 0.5 -10t0.5 -10z" />
<glyph unicode="&#xf17a;" horiz-adv-x="1664" d="M682 530v-651l-682 94v557h682zM682 1273v-659h-682v565zM1664 530v-786l-907 125v661h907zM1664 1408v-794h-907v669z" />
<glyph unicode="&#xf17b;" horiz-adv-x="1408" d="M493 1053q16 0 27.5 11.5t11.5 27.5t-11.5 27.5t-27.5 11.5t-27 -11.5t-11 -27.5t11 -27.5t27 -11.5zM915 1053q16 0 27 11.5t11 27.5t-11 27.5t-27 11.5t-27.5 -11.5t-11.5 -27.5t11.5 -27.5t27.5 -11.5zM103 869q42 0 72 -30t30 -72v-430q0 -43 -29.5 -73t-72.5 -30 t-73 30t-30 73v430q0 42 30 72t73 30zM1163 850v-666q0 -46 -32 -78t-77 -32h-75v-227q0 -43 -30 -73t-73 -30t-73 30t-30 73v227h-138v-227q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73l-1 227h-74q-46 0 -78 32t-32 78v666h918zM931 1255q107 -55 171 -153.5t64 -215.5 h-925q0 117 64 215.5t172 153.5l-71 131q-7 13 5 20q13 6 20 -6l72 -132q95 42 201 42t201 -42l72 132q7 12 20 6q12 -7 5 -20zM1408 767v-430q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73v430q0 43 30 72.5t72 29.5q43 0 73 -29.5t30 -72.5z" />
<glyph unicode="&#xf17c;" d="M663 1125q-11 -1 -15.5 -10.5t-8.5 -9.5q-5 -1 -5 5q0 12 19 15h10zM750 1111q-4 -1 -11.5 6.5t-17.5 4.5q24 11 32 -2q3 -6 -3 -9zM399 684q-4 1 -6 -3t-4.5 -12.5t-5.5 -13.5t-10 -13q-7 -10 -1 -12q4 -1 12.5 7t12.5 18q1 3 2 7t2 6t1.5 4.5t0.5 4v3t-1 2.5t-3 2z M1254 325q0 18 -55 42q4 15 7.5 27.5t5 26t3 21.5t0.5 22.5t-1 19.5t-3.5 22t-4 20.5t-5 25t-5.5 26.5q-10 48 -47 103t-72 75q24 -20 57 -83q87 -162 54 -278q-11 -40 -50 -42q-31 -4 -38.5 18.5t-8 83.5t-11.5 107q-9 39 -19.5 69t-19.5 45.5t-15.5 24.5t-13 15t-7.5 7 q-14 62 -31 103t-29.5 56t-23.5 33t-15 40q-4 21 6 53.5t4.5 49.5t-44.5 25q-15 3 -44.5 18t-35.5 16q-8 1 -11 26t8 51t36 27q37 3 51 -30t4 -58q-11 -19 -2 -26.5t30 -0.5q13 4 13 36v37q-5 30 -13.5 50t-21 30.5t-23.5 15t-27 7.5q-107 -8 -89 -134q0 -15 -1 -15 q-9 9 -29.5 10.5t-33 -0.5t-15.5 5q1 57 -16 90t-45 34q-27 1 -41.5 -27.5t-16.5 -59.5q-1 -15 3.5 -37t13 -37.5t15.5 -13.5q10 3 16 14q4 9 -7 8q-7 0 -15.5 14.5t-9.5 33.5q-1 22 9 37t34 14q17 0 27 -21t9.5 -39t-1.5 -22q-22 -15 -31 -29q-8 -12 -27.5 -23.5 t-20.5 -12.5q-13 -14 -15.5 -27t7.5 -18q14 -8 25 -19.5t16 -19t18.5 -13t35.5 -6.5q47 -2 102 15q2 1 23 7t34.5 10.5t29.5 13t21 17.5q9 14 20 8q5 -3 6.5 -8.5t-3 -12t-16.5 -9.5q-20 -6 -56.5 -21.5t-45.5 -19.5q-44 -19 -70 -23q-25 -5 -79 2q-10 2 -9 -2t17 -19 q25 -23 67 -22q17 1 36 7t36 14t33.5 17.5t30 17t24.5 12t17.5 2.5t8.5 -11q0 -2 -1 -4.5t-4 -5t-6 -4.5t-8.5 -5t-9 -4.5t-10 -5t-9.5 -4.5q-28 -14 -67.5 -44t-66.5 -43t-49 -1q-21 11 -63 73q-22 31 -25 22q-1 -3 -1 -10q0 -25 -15 -56.5t-29.5 -55.5t-21 -58t11.5 -63 q-23 -6 -62.5 -90t-47.5 -141q-2 -18 -1.5 -69t-5.5 -59q-8 -24 -29 -3q-32 31 -36 94q-2 28 4 56q4 19 -1 18l-4 -5q-36 -65 10 -166q5 -12 25 -28t24 -20q20 -23 104 -90.5t93 -76.5q16 -15 17.5 -38t-14 -43t-45.5 -23q8 -15 29 -44.5t28 -54t7 -70.5q46 24 7 92 q-4 8 -10.5 16t-9.5 12t-2 6q3 5 13 9.5t20 -2.5q46 -52 166 -36q133 15 177 87q23 38 34 30q12 -6 10 -52q-1 -25 -23 -92q-9 -23 -6 -37.5t24 -15.5q3 19 14.5 77t13.5 90q2 21 -6.5 73.5t-7.5 97t23 70.5q15 18 51 18q1 37 34.5 53t72.5 10.5t60 -22.5zM626 1152 q3 17 -2.5 30t-11.5 15q-9 2 -9 -7q2 -5 5 -6q10 0 7 -15q-3 -20 8 -20q3 0 3 3zM1045 955q-2 8 -6.5 11.5t-13 5t-14.5 5.5q-5 3 -9.5 8t-7 8t-5.5 6.5t-4 4t-4 -1.5q-14 -16 7 -43.5t39 -31.5q9 -1 14.5 8t3.5 20zM867 1168q0 11 -5 19.5t-11 12.5t-9 3q-14 -1 -7 -7l4 -2 q14 -4 18 -31q0 -3 8 2zM921 1401q0 2 -2.5 5t-9 7t-9.5 6q-15 15 -24 15q-9 -1 -11.5 -7.5t-1 -13t-0.5 -12.5q-1 -4 -6 -10.5t-6 -9t3 -8.5q4 -3 8 0t11 9t15 9q1 1 9 1t15 2t9 7zM1486 60q20 -12 31 -24.5t12 -24t-2.5 -22.5t-15.5 -22t-23.5 -19.5t-30 -18.5 t-31.5 -16.5t-32 -15.5t-27 -13q-38 -19 -85.5 -56t-75.5 -64q-17 -16 -68 -19.5t-89 14.5q-18 9 -29.5 23.5t-16.5 25.5t-22 19.5t-47 9.5q-44 1 -130 1q-19 0 -57 -1.5t-58 -2.5q-44 -1 -79.5 -15t-53.5 -30t-43.5 -28.5t-53.5 -11.5q-29 1 -111 31t-146 43q-19 4 -51 9.5 t-50 9t-39.5 9.5t-33.5 14.5t-17 19.5q-10 23 7 66.5t18 54.5q1 16 -4 40t-10 42.5t-4.5 36.5t10.5 27q14 12 57 14t60 12q30 18 42 35t12 51q21 -73 -32 -106q-32 -20 -83 -15q-34 3 -43 -10q-13 -15 5 -57q2 -6 8 -18t8.5 -18t4.5 -17t1 -22q0 -15 -17 -49t-14 -48 q3 -17 37 -26q20 -6 84.5 -18.5t99.5 -20.5q24 -6 74 -22t82.5 -23t55.5 -4q43 6 64.5 28t23 48t-7.5 58.5t-19 52t-20 36.5q-121 190 -169 242q-68 74 -113 40q-11 -9 -15 15q-3 16 -2 38q1 29 10 52t24 47t22 42q8 21 26.5 72t29.5 78t30 61t39 54q110 143 124 195 q-12 112 -16 310q-2 90 24 151.5t106 104.5q39 21 104 21q53 1 106 -13.5t89 -41.5q57 -42 91.5 -121.5t29.5 -147.5q-5 -95 30 -214q34 -113 133 -218q55 -59 99.5 -163t59.5 -191q8 -49 5 -84.5t-12 -55.5t-20 -22q-10 -2 -23.5 -19t-27 -35.5t-40.5 -33.5t-61 -14 q-18 1 -31.5 5t-22.5 13.5t-13.5 15.5t-11.5 20.5t-9 19.5q-22 37 -41 30t-28 -49t7 -97q20 -70 1 -195q-10 -65 18 -100.5t73 -33t85 35.5q59 49 89.5 66.5t103.5 42.5q53 18 77 36.5t18.5 34.5t-25 28.5t-51.5 23.5q-33 11 -49.5 48t-15 72.5t15.5 47.5q1 -31 8 -56.5 t14.5 -40.5t20.5 -28.5t21 -19t21.5 -13t16.5 -9.5z" />
<glyph unicode="&#xf17d;" d="M1024 36q-42 241 -140 498h-2l-2 -1q-16 -6 -43 -16.5t-101 -49t-137 -82t-131 -114.5t-103 -148l-15 11q184 -150 418 -150q132 0 256 52zM839 643q-21 49 -53 111q-311 -93 -673 -93q-1 -7 -1 -21q0 -124 44 -236.5t124 -201.5q50 89 123.5 166.5t142.5 124.5t130.5 81 t99.5 48l37 13q4 1 13 3.5t13 4.5zM732 855q-120 213 -244 378q-138 -65 -234 -186t-128 -272q302 0 606 80zM1416 536q-210 60 -409 29q87 -239 128 -469q111 75 185 189.5t96 250.5zM611 1277q-1 0 -2 -1q1 1 2 1zM1201 1132q-185 164 -433 164q-76 0 -155 -19 q131 -170 246 -382q69 26 130 60.5t96.5 61.5t65.5 57t37.5 40.5zM1424 647q-3 232 -149 410l-1 -1q-9 -12 -19 -24.5t-43.5 -44.5t-71 -60.5t-100 -65t-131.5 -64.5q25 -53 44 -95q2 -6 6.5 -17.5t7.5 -16.5q36 5 74.5 7t73.5 2t69 -1.5t64 -4t56.5 -5.5t48 -6.5t36.5 -6 t25 -4.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf17e;" d="M1173 473q0 50 -19.5 91.5t-48.5 68.5t-73 49t-82.5 34t-87.5 23l-104 24q-30 7 -44 10.5t-35 11.5t-30 16t-16.5 21t-7.5 30q0 77 144 77q43 0 77 -12t54 -28.5t38 -33.5t40 -29t48 -12q47 0 75.5 32t28.5 77q0 55 -56 99.5t-142 67.5t-182 23q-68 0 -132 -15.5 t-119.5 -47t-89 -87t-33.5 -128.5q0 -61 19 -106.5t56 -75.5t80 -48.5t103 -32.5l146 -36q90 -22 112 -36q32 -20 32 -60q0 -39 -40 -64.5t-105 -25.5q-51 0 -91.5 16t-65 38.5t-45.5 45t-46 38.5t-54 16q-50 0 -75.5 -30t-25.5 -75q0 -92 122 -157.5t291 -65.5 q73 0 140 18.5t122.5 53.5t88.5 93.5t33 131.5zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5q-130 0 -234 80q-77 -16 -150 -16q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5q0 73 16 150q-80 104 -80 234q0 159 112.5 271.5t271.5 112.5q130 0 234 -80 q77 16 150 16q143 0 273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -73 -16 -150q80 -104 80 -234z" />
<glyph unicode="&#xf180;" horiz-adv-x="1280" d="M1000 1102l37 194q5 23 -9 40t-35 17h-712q-23 0 -38.5 -17t-15.5 -37v-1101q0 -7 6 -1l291 352q23 26 38 33.5t48 7.5h239q22 0 37 14.5t18 29.5q24 130 37 191q4 21 -11.5 40t-36.5 19h-294q-29 0 -48 19t-19 48v42q0 29 19 47.5t48 18.5h346q18 0 35 13.5t20 29.5z M1227 1324q-15 -73 -53.5 -266.5t-69.5 -350t-35 -173.5q-6 -22 -9 -32.5t-14 -32.5t-24.5 -33t-38.5 -21t-58 -10h-271q-13 0 -22 -10q-8 -9 -426 -494q-22 -25 -58.5 -28.5t-48.5 5.5q-55 22 -55 98v1410q0 55 38 102.5t120 47.5h888q95 0 127 -53t10 -159zM1227 1324 l-158 -790q4 17 35 173.5t69.5 350t53.5 266.5z" />
<glyph unicode="&#xf181;" d="M704 192v1024q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-1024q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1376 576v640q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-640q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408 q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf182;" horiz-adv-x="1280" d="M1280 480q0 -40 -28 -68t-68 -28q-51 0 -80 43l-227 341h-45v-132l247 -411q9 -15 9 -33q0 -26 -19 -45t-45 -19h-192v-272q0 -46 -33 -79t-79 -33h-160q-46 0 -79 33t-33 79v272h-192q-26 0 -45 19t-19 45q0 18 9 33l247 411v132h-45l-227 -341q-29 -43 -80 -43 q-40 0 -68 28t-28 68q0 29 16 53l256 384q73 107 176 107h384q103 0 176 -107l256 -384q16 -24 16 -53zM864 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
<glyph unicode="&#xf183;" horiz-adv-x="1024" d="M1024 832v-416q0 -40 -28 -68t-68 -28t-68 28t-28 68v352h-64v-912q0 -46 -33 -79t-79 -33t-79 33t-33 79v464h-64v-464q0 -46 -33 -79t-79 -33t-79 33t-33 79v912h-64v-352q0 -40 -28 -68t-68 -28t-68 28t-28 68v416q0 80 56 136t136 56h640q80 0 136 -56t56 -136z M736 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
<glyph unicode="&#xf184;" d="M773 234l350 473q16 22 24.5 59t-6 85t-61.5 79q-40 26 -83 25.5t-73.5 -17.5t-54.5 -45q-36 -40 -96 -40q-59 0 -95 40q-24 28 -54.5 45t-73.5 17.5t-84 -25.5q-46 -31 -60.5 -79t-6 -85t24.5 -59zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf185;" horiz-adv-x="1792" d="M1472 640q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5t45.5 -223.5t123 -184t184 -123t223.5 -45.5t223.5 45.5t184 123t123 184t45.5 223.5zM1748 363q-4 -15 -20 -20l-292 -96v-306q0 -16 -13 -26q-15 -10 -29 -4 l-292 94l-180 -248q-10 -13 -26 -13t-26 13l-180 248l-292 -94q-14 -6 -29 4q-13 10 -13 26v306l-292 96q-16 5 -20 20q-5 17 4 29l180 248l-180 248q-9 13 -4 29q4 15 20 20l292 96v306q0 16 13 26q15 10 29 4l292 -94l180 248q9 12 26 12t26 -12l180 -248l292 94 q14 6 29 -4q13 -10 13 -26v-306l292 -96q16 -5 20 -20q5 -16 -4 -29l-180 -248l180 -248q9 -12 4 -29z" />
<glyph unicode="&#xf186;" d="M1262 233q-54 -9 -110 -9q-182 0 -337 90t-245 245t-90 337q0 192 104 357q-201 -60 -328.5 -229t-127.5 -384q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51q144 0 273.5 61.5t220.5 171.5zM1465 318q-94 -203 -283.5 -324.5t-413.5 -121.5q-156 0 -298 61 t-245 164t-164 245t-61 298q0 153 57.5 292.5t156 241.5t235.5 164.5t290 68.5q44 2 61 -39q18 -41 -15 -72q-86 -78 -131.5 -181.5t-45.5 -218.5q0 -148 73 -273t198 -198t273 -73q118 0 228 51q41 18 72 -13q14 -14 17.5 -34t-4.5 -38z" />
<glyph unicode="&#xf187;" horiz-adv-x="1792" d="M1088 704q0 26 -19 45t-45 19h-256q-26 0 -45 -19t-19 -45t19 -45t45 -19h256q26 0 45 19t19 45zM1664 896v-960q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v960q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1728 1344v-256q0 -26 -19 -45t-45 -19h-1536 q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1536q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf188;" horiz-adv-x="1664" d="M1632 576q0 -26 -19 -45t-45 -19h-224q0 -171 -67 -290l208 -209q19 -19 19 -45t-19 -45q-18 -19 -45 -19t-45 19l-198 197q-5 -5 -15 -13t-42 -28.5t-65 -36.5t-82 -29t-97 -13v896h-128v-896q-51 0 -101.5 13.5t-87 33t-66 39t-43.5 32.5l-15 14l-183 -207 q-20 -21 -48 -21q-24 0 -43 16q-19 18 -20.5 44.5t15.5 46.5l202 227q-58 114 -58 274h-224q-26 0 -45 19t-19 45t19 45t45 19h224v294l-173 173q-19 19 -19 45t19 45t45 19t45 -19l173 -173h844l173 173q19 19 45 19t45 -19t19 -45t-19 -45l-173 -173v-294h224q26 0 45 -19 t19 -45zM1152 1152h-640q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5z" />
<glyph unicode="&#xf189;" horiz-adv-x="1920" d="M1917 1016q23 -64 -150 -294q-24 -32 -65 -85q-78 -100 -90 -131q-17 -41 14 -81q17 -21 81 -82h1l1 -1l1 -1l2 -2q141 -131 191 -221q3 -5 6.5 -12.5t7 -26.5t-0.5 -34t-25 -27.5t-59 -12.5l-256 -4q-24 -5 -56 5t-52 22l-20 12q-30 21 -70 64t-68.5 77.5t-61 58 t-56.5 15.5q-3 -1 -8 -3.5t-17 -14.5t-21.5 -29.5t-17 -52t-6.5 -77.5q0 -15 -3.5 -27.5t-7.5 -18.5l-4 -5q-18 -19 -53 -22h-115q-71 -4 -146 16.5t-131.5 53t-103 66t-70.5 57.5l-25 24q-10 10 -27.5 30t-71.5 91t-106 151t-122.5 211t-130.5 272q-6 16 -6 27t3 16l4 6 q15 19 57 19l274 2q12 -2 23 -6.5t16 -8.5l5 -3q16 -11 24 -32q20 -50 46 -103.5t41 -81.5l16 -29q29 -60 56 -104t48.5 -68.5t41.5 -38.5t34 -14t27 5q2 1 5 5t12 22t13.5 47t9.5 81t0 125q-2 40 -9 73t-14 46l-6 12q-25 34 -85 43q-13 2 5 24q17 19 38 30q53 26 239 24 q82 -1 135 -13q20 -5 33.5 -13.5t20.5 -24t10.5 -32t3.5 -45.5t-1 -55t-2.5 -70.5t-1.5 -82.5q0 -11 -1 -42t-0.5 -48t3.5 -40.5t11.5 -39t22.5 -24.5q8 -2 17 -4t26 11t38 34.5t52 67t68 107.5q60 104 107 225q4 10 10 17.5t11 10.5l4 3l5 2.5t13 3t20 0.5l288 2 q39 5 64 -2.5t31 -16.5z" />
<glyph unicode="&#xf18a;" horiz-adv-x="1792" d="M675 252q21 34 11 69t-45 50q-34 14 -73 1t-60 -46q-22 -34 -13 -68.5t43 -50.5t74.5 -2.5t62.5 47.5zM769 373q8 13 3.5 26.5t-17.5 18.5q-14 5 -28.5 -0.5t-21.5 -18.5q-17 -31 13 -45q14 -5 29 0.5t22 18.5zM943 266q-45 -102 -158 -150t-224 -12 q-107 34 -147.5 126.5t6.5 187.5q47 93 151.5 139t210.5 19q111 -29 158.5 -119.5t2.5 -190.5zM1255 426q-9 96 -89 170t-208.5 109t-274.5 21q-223 -23 -369.5 -141.5t-132.5 -264.5q9 -96 89 -170t208.5 -109t274.5 -21q223 23 369.5 141.5t132.5 264.5zM1563 422 q0 -68 -37 -139.5t-109 -137t-168.5 -117.5t-226 -83t-270.5 -31t-275 33.5t-240.5 93t-171.5 151t-65 199.5q0 115 69.5 245t197.5 258q169 169 341.5 236t246.5 -7q65 -64 20 -209q-4 -14 -1 -20t10 -7t14.5 0.5t13.5 3.5l6 2q139 59 246 59t153 -61q45 -63 0 -178 q-2 -13 -4.5 -20t4.5 -12.5t12 -7.5t17 -6q57 -18 103 -47t80 -81.5t34 -116.5zM1489 1046q42 -47 54.5 -108.5t-6.5 -117.5q-8 -23 -29.5 -34t-44.5 -4q-23 8 -34 29.5t-4 44.5q20 63 -24 111t-107 35q-24 -5 -45 8t-25 37q-5 24 8 44.5t37 25.5q60 13 119 -5.5t101 -65.5z M1670 1209q87 -96 112.5 -222.5t-13.5 -241.5q-9 -27 -34 -40t-52 -4t-40 34t-5 52q28 82 10 172t-80 158q-62 69 -148 95.5t-173 8.5q-28 -6 -52 9.5t-30 43.5t9.5 51.5t43.5 29.5q123 26 244 -11.5t208 -134.5z" />
<glyph unicode="&#xf18b;" d="M1133 -34q-171 -94 -368 -94q-196 0 -367 94q138 87 235.5 211t131.5 268q35 -144 132.5 -268t235.5 -211zM638 1394v-485q0 -252 -126.5 -459.5t-330.5 -306.5q-181 215 -181 495q0 187 83.5 349.5t229.5 269.5t325 137zM1536 638q0 -280 -181 -495 q-204 99 -330.5 306.5t-126.5 459.5v485q179 -30 325 -137t229.5 -269.5t83.5 -349.5z" />
<glyph unicode="&#xf18c;" horiz-adv-x="1408" d="M1402 433q-32 -80 -76 -138t-91 -88.5t-99 -46.5t-101.5 -14.5t-96.5 8.5t-86.5 22t-69.5 27.5t-46 22.5l-17 10q-113 -228 -289.5 -359.5t-384.5 -132.5q-19 0 -32 13t-13 32t13 31.5t32 12.5q173 1 322.5 107.5t251.5 294.5q-36 -14 -72 -23t-83 -13t-91 2.5t-93 28.5 t-92 59t-84.5 100t-74.5 146q114 47 214 57t167.5 -7.5t124.5 -56.5t88.5 -77t56.5 -82q53 131 79 291q-7 -1 -18 -2.5t-46.5 -2.5t-69.5 0.5t-81.5 10t-88.5 23t-84 42.5t-75 65t-54.5 94.5t-28.5 127.5q70 28 133.5 36.5t112.5 -1t92 -30t73.5 -50t56 -61t42 -63t27.5 -56 t16 -39.5l4 -16q12 122 12 195q-8 6 -21.5 16t-49 44.5t-63.5 71.5t-54 93t-33 112.5t12 127t70 138.5q73 -25 127.5 -61.5t84.5 -76.5t48 -85t20.5 -89t-0.5 -85.5t-13 -76.5t-19 -62t-17 -42l-7 -15q1 -5 1 -50.5t-1 -71.5q3 7 10 18.5t30.5 43t50.5 58t71 55.5t91.5 44.5 t112 14.5t132.5 -24q-2 -78 -21.5 -141.5t-50 -104.5t-69.5 -71.5t-81.5 -45.5t-84.5 -24t-80 -9.5t-67.5 1t-46.5 4.5l-17 3q-23 -147 -73 -283q6 7 18 18.5t49.5 41t77.5 52.5t99.5 42t117.5 20t129 -23.5t137 -77.5z" />
<glyph unicode="&#xf18d;" horiz-adv-x="1280" d="M1259 283v-66q0 -85 -57.5 -144.5t-138.5 -59.5h-57l-260 -269v269h-529q-81 0 -138.5 59.5t-57.5 144.5v66h1238zM1259 609v-255h-1238v255h1238zM1259 937v-255h-1238v255h1238zM1259 1077v-67h-1238v67q0 84 57.5 143.5t138.5 59.5h846q81 0 138.5 -59.5t57.5 -143.5z " />
<glyph unicode="&#xf18e;" d="M1152 640q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192h-352q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h352v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf190;" d="M1152 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-352v-192q0 -14 -9 -23t-23 -9q-12 0 -24 10l-319 319q-9 9 -9 23t9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h352q13 0 22.5 -9.5t9.5 -22.5zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf191;" d="M1024 960v-640q0 -26 -19 -45t-45 -19q-20 0 -37 12l-448 320q-27 19 -27 52t27 52l448 320q17 12 37 12q26 0 45 -19t19 -45zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5z M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf192;" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5 t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf193;" horiz-adv-x="1664" d="M1023 349l102 -204q-58 -179 -210 -290t-339 -111q-156 0 -288.5 77.5t-210 210t-77.5 288.5q0 181 104.5 330t274.5 211l17 -131q-122 -54 -195 -165.5t-73 -244.5q0 -185 131.5 -316.5t316.5 -131.5q126 0 232.5 65t165 175.5t49.5 236.5zM1571 249l58 -114l-256 -128 q-13 -7 -29 -7q-40 0 -57 35l-239 477h-472q-24 0 -42.5 16.5t-21.5 40.5l-96 779q-2 16 6 42q14 51 57 82.5t97 31.5q66 0 113 -47t47 -113q0 -69 -52 -117.5t-120 -41.5l37 -289h423v-128h-407l16 -128h455q40 0 57 -35l228 -455z" />
<glyph unicode="&#xf194;" d="M1292 898q10 216 -161 222q-231 8 -312 -261q44 19 82 19q85 0 74 -96q-4 -57 -74 -167t-105 -110q-43 0 -82 169q-13 54 -45 255q-30 189 -160 177q-59 -7 -164 -100l-81 -72l-81 -72l52 -67q76 52 87 52q57 0 107 -179q15 -55 45 -164.5t45 -164.5q68 -179 164 -179 q157 0 383 294q220 283 226 444zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf195;" horiz-adv-x="1152" d="M1152 704q0 -191 -94.5 -353t-256.5 -256.5t-353 -94.5h-160q-14 0 -23 9t-9 23v611l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v93l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v250q0 14 9 23t23 9h160 q14 0 23 -9t9 -23v-181l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-93l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-487q188 13 318 151t130 328q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf196;" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-352v-352q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v352h-352q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h352v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-352h352q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832 q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf197;" horiz-adv-x="2176" d="M620 416q-110 -64 -268 -64h-128v64h-64q-13 0 -22.5 23.5t-9.5 56.5q0 24 7 49q-58 2 -96.5 10.5t-38.5 20.5t38.5 20.5t96.5 10.5q-7 25 -7 49q0 33 9.5 56.5t22.5 23.5h64v64h128q158 0 268 -64h1113q42 -7 106.5 -18t80.5 -14q89 -15 150 -40.5t83.5 -47.5t22.5 -40 t-22.5 -40t-83.5 -47.5t-150 -40.5q-16 -3 -80.5 -14t-106.5 -18h-1113zM1739 668q53 -36 53 -92t-53 -92l81 -30q68 48 68 122t-68 122zM625 400h1015q-217 -38 -456 -80q-57 0 -113 -24t-83 -48l-28 -24l-288 -288q-26 -26 -70.5 -45t-89.5 -19h-96l-93 464h29 q157 0 273 64zM352 816h-29l93 464h96q46 0 90 -19t70 -45l288 -288q4 -4 11 -10.5t30.5 -23t48.5 -29t61.5 -23t72.5 -10.5l456 -80h-1015q-116 64 -273 64z" />
<glyph unicode="&#xf198;" horiz-adv-x="1664" d="M1519 760q62 0 103.5 -40.5t41.5 -101.5q0 -97 -93 -130l-172 -59l56 -167q7 -21 7 -47q0 -59 -42 -102t-101 -43q-47 0 -85.5 27t-53.5 72l-55 165l-310 -106l55 -164q8 -24 8 -47q0 -59 -42 -102t-102 -43q-47 0 -85 27t-53 72l-55 163l-153 -53q-29 -9 -50 -9 q-61 0 -101.5 40t-40.5 101q0 47 27.5 85t71.5 53l156 53l-105 313l-156 -54q-26 -8 -48 -8q-60 0 -101 40.5t-41 100.5q0 47 27.5 85t71.5 53l157 53l-53 159q-8 24 -8 47q0 60 42 102.5t102 42.5q47 0 85 -27t53 -72l54 -160l310 105l-54 160q-8 24 -8 47q0 59 42.5 102 t101.5 43q47 0 85.5 -27.5t53.5 -71.5l53 -161l162 55q21 6 43 6q60 0 102.5 -39.5t42.5 -98.5q0 -45 -30 -81.5t-74 -51.5l-157 -54l105 -316l164 56q24 8 46 8zM725 498l310 105l-105 315l-310 -107z" />
<glyph unicode="&#xf199;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM1280 352v436q-31 -35 -64 -55q-34 -22 -132.5 -85t-151.5 -99q-98 -69 -164 -69v0v0q-66 0 -164 69 q-46 32 -141.5 92.5t-142.5 92.5q-12 8 -33 27t-31 27v-436q0 -40 28 -68t68 -28h832q40 0 68 28t28 68zM1280 925q0 41 -27.5 70t-68.5 29h-832q-40 0 -68 -28t-28 -68q0 -37 30.5 -76.5t67.5 -64.5q47 -32 137.5 -89t129.5 -83q3 -2 17 -11.5t21 -14t21 -13t23.5 -13 t21.5 -9.5t22.5 -7.5t20.5 -2.5t20.5 2.5t22.5 7.5t21.5 9.5t23.5 13t21 13t21 14t17 11.5l267 174q35 23 66.5 62.5t31.5 73.5z" />
<glyph unicode="&#xf19a;" horiz-adv-x="1792" d="M127 640q0 163 67 313l367 -1005q-196 95 -315 281t-119 411zM1415 679q0 -19 -2.5 -38.5t-10 -49.5t-11.5 -44t-17.5 -59t-17.5 -58l-76 -256l-278 826q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-75 1 -202 10q-12 1 -20.5 -5t-11.5 -15t-1.5 -18.5t9 -16.5 t19.5 -8l80 -8l120 -328l-168 -504l-280 832q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-7 0 -23 0.5t-26 0.5q105 160 274.5 253.5t367.5 93.5q147 0 280.5 -53t238.5 -149h-10q-55 0 -92 -40.5t-37 -95.5q0 -12 2 -24t4 -21.5t8 -23t9 -21t12 -22.5t12.5 -21 t14.5 -24t14 -23q63 -107 63 -212zM909 573l237 -647q1 -6 5 -11q-126 -44 -255 -44q-112 0 -217 32zM1570 1009q95 -174 95 -369q0 -209 -104 -385.5t-279 -278.5l235 678q59 169 59 276q0 42 -6 79zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286 t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 -215q173 0 331.5 68t273 182.5t182.5 273t68 331.5t-68 331.5t-182.5 273t-273 182.5t-331.5 68t-331.5 -68t-273 -182.5t-182.5 -273t-68 -331.5t68 -331.5t182.5 -273 t273 -182.5t331.5 -68z" />
<glyph unicode="&#xf19b;" horiz-adv-x="1792" d="M1086 1536v-1536l-272 -128q-228 20 -414 102t-293 208.5t-107 272.5q0 140 100.5 263.5t275 205.5t391.5 108v-172q-217 -38 -356.5 -150t-139.5 -255q0 -152 154.5 -267t388.5 -145v1360zM1755 954l37 -390l-525 114l147 83q-119 70 -280 99v172q277 -33 481 -157z" />
<glyph unicode="&#xf19c;" horiz-adv-x="2048" d="M960 1536l960 -384v-128h-128q0 -26 -20.5 -45t-48.5 -19h-1526q-28 0 -48.5 19t-20.5 45h-128v128zM256 896h256v-768h128v768h256v-768h128v768h256v-768h128v768h256v-768h59q28 0 48.5 -19t20.5 -45v-64h-1664v64q0 26 20.5 45t48.5 19h59v768zM1851 -64 q28 0 48.5 -19t20.5 -45v-128h-1920v128q0 26 20.5 45t48.5 19h1782z" />
<glyph unicode="&#xf19d;" horiz-adv-x="2304" d="M1774 700l18 -316q4 -69 -82 -128t-235 -93.5t-323 -34.5t-323 34.5t-235 93.5t-82 128l18 316l574 -181q22 -7 48 -7t48 7zM2304 1024q0 -23 -22 -31l-1120 -352q-4 -1 -10 -1t-10 1l-652 206q-43 -34 -71 -111.5t-34 -178.5q63 -36 63 -109q0 -69 -58 -107l58 -433 q2 -14 -8 -25q-9 -11 -24 -11h-192q-15 0 -24 11q-10 11 -8 25l58 433q-58 38 -58 107q0 73 65 111q11 207 98 330l-333 104q-22 8 -22 31t22 31l1120 352q4 1 10 1t10 -1l1120 -352q22 -8 22 -31z" />
<glyph unicode="&#xf19e;" d="M859 579l13 -707q-62 11 -105 11q-41 0 -105 -11l13 707q-40 69 -168.5 295.5t-216.5 374.5t-181 287q58 -15 108 -15q43 0 111 15q63 -111 133.5 -229.5t167 -276.5t138.5 -227q37 61 109.5 177.5t117.5 190t105 176t107 189.5q54 -14 107 -14q56 0 114 14v0 q-28 -39 -60 -88.5t-49.5 -78.5t-56.5 -96t-49 -84q-146 -248 -353 -610z" />
<glyph unicode="&#xf1a0;" d="M768 750h725q12 -67 12 -128q0 -217 -91 -387.5t-259.5 -266.5t-386.5 -96q-157 0 -299 60.5t-245 163.5t-163.5 245t-60.5 299t60.5 299t163.5 245t245 163.5t299 60.5q300 0 515 -201l-209 -201q-123 119 -306 119q-129 0 -238.5 -65t-173.5 -176.5t-64 -243.5 t64 -243.5t173.5 -176.5t238.5 -65q87 0 160 24t120 60t82 82t51.5 87t22.5 78h-436v264z" />
<glyph unicode="&#xf1a1;" horiz-adv-x="1792" d="M1095 369q16 -16 0 -31q-62 -62 -199 -62t-199 62q-16 15 0 31q6 6 15 6t15 -6q48 -49 169 -49q120 0 169 49q6 6 15 6t15 -6zM788 550q0 -37 -26 -63t-63 -26t-63.5 26t-26.5 63q0 38 26.5 64t63.5 26t63 -26.5t26 -63.5zM1183 550q0 -37 -26.5 -63t-63.5 -26t-63 26 t-26 63t26 63.5t63 26.5t63.5 -26t26.5 -64zM1434 670q0 49 -35 84t-85 35t-86 -36q-130 90 -311 96l63 283l200 -45q0 -37 26 -63t63 -26t63.5 26.5t26.5 63.5t-26.5 63.5t-63.5 26.5q-54 0 -80 -50l-221 49q-19 5 -25 -16l-69 -312q-180 -7 -309 -97q-35 37 -87 37 q-50 0 -85 -35t-35 -84q0 -35 18.5 -64t49.5 -44q-6 -27 -6 -56q0 -142 140 -243t337 -101q198 0 338 101t140 243q0 32 -7 57q30 15 48 43.5t18 63.5zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191 t348 71t348 -71t286 -191t191 -286t71 -348z" />
<glyph unicode="&#xf1a2;" d="M939 407q13 -13 0 -26q-53 -53 -171 -53t-171 53q-13 13 0 26q5 6 13 6t13 -6q42 -42 145 -42t145 42q5 6 13 6t13 -6zM676 563q0 -31 -23 -54t-54 -23t-54 23t-23 54q0 32 22.5 54.5t54.5 22.5t54.5 -22.5t22.5 -54.5zM1014 563q0 -31 -23 -54t-54 -23t-54 23t-23 54 q0 32 22.5 54.5t54.5 22.5t54.5 -22.5t22.5 -54.5zM1229 666q0 42 -30 72t-73 30q-42 0 -73 -31q-113 78 -267 82l54 243l171 -39q1 -32 23.5 -54t53.5 -22q32 0 54.5 22.5t22.5 54.5t-22.5 54.5t-54.5 22.5q-48 0 -69 -43l-189 42q-17 5 -21 -13l-60 -268q-154 -6 -265 -83 q-30 32 -74 32q-43 0 -73 -30t-30 -72q0 -30 16 -55t42 -38q-5 -25 -5 -48q0 -122 120 -208.5t289 -86.5q170 0 290 86.5t120 208.5q0 25 -6 49q25 13 40.5 37.5t15.5 54.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf1a3;" d="M866 697l90 27v62q0 79 -58 135t-138 56t-138 -55.5t-58 -134.5v-283q0 -20 -14 -33.5t-33 -13.5t-32.5 13.5t-13.5 33.5v120h-151v-122q0 -82 57.5 -139t139.5 -57q81 0 138.5 56.5t57.5 136.5v280q0 19 13.5 33t33.5 14q19 0 32.5 -14t13.5 -33v-54zM1199 502v122h-150 v-126q0 -20 -13.5 -33.5t-33.5 -13.5q-19 0 -32.5 14t-13.5 33v123l-90 -26l-60 28v-123q0 -80 58 -137t139 -57t138.5 57t57.5 139zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103 t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf1a4;" horiz-adv-x="1920" d="M1062 824v118q0 42 -30 72t-72 30t-72 -30t-30 -72v-612q0 -175 -126 -299t-303 -124q-178 0 -303.5 125.5t-125.5 303.5v266h328v-262q0 -43 30 -72.5t72 -29.5t72 29.5t30 72.5v620q0 171 126.5 292t301.5 121q176 0 302 -122t126 -294v-136l-195 -58zM1592 602h328 v-266q0 -178 -125.5 -303.5t-303.5 -125.5q-177 0 -303 124.5t-126 300.5v268l131 -61l195 58v-270q0 -42 30 -71.5t72 -29.5t72 29.5t30 71.5v275z" />
<glyph unicode="&#xf1a5;" d="M1472 160v480h-704v704h-480q-93 0 -158.5 -65.5t-65.5 -158.5v-480h704v-704h480q93 0 158.5 65.5t65.5 158.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" />
<glyph unicode="&#xf1a6;" horiz-adv-x="2048" d="M328 1254h204v-983h-532v697h328v286zM328 435v369h-123v-369h123zM614 968v-697h205v697h-205zM614 1254v-204h205v204h-205zM901 968h533v-942h-533v163h328v82h-328v697zM1229 435v369h-123v-369h123zM1516 968h532v-942h-532v163h327v82h-327v697zM1843 435v369h-123 v-369h123z" />
<glyph unicode="&#xf1a7;" d="M1046 516q0 -64 -38 -109t-91 -45q-43 0 -70 15v277q28 17 70 17q53 0 91 -45.5t38 -109.5zM703 944q0 -64 -38 -109.5t-91 -45.5q-43 0 -70 15v277q28 17 70 17q53 0 91 -45t38 -109zM1265 513q0 134 -88 229t-213 95q-20 0 -39 -3q-23 -78 -78 -136q-87 -95 -211 -101 v-636l211 41v206q51 -19 117 -19q125 0 213 95t88 229zM922 940q0 134 -88.5 229t-213.5 95q-74 0 -141 -36h-186v-840l211 41v206q55 -19 116 -19q125 0 213.5 95t88.5 229zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf1a8;" horiz-adv-x="2038" d="M1222 607q75 3 143.5 -20.5t118 -58.5t101 -94.5t84 -108t75.5 -120.5q33 -56 78.5 -109t75.5 -80.5t99 -88.5q-48 -30 -108.5 -57.5t-138.5 -59t-114 -47.5q-44 37 -74 115t-43.5 164.5t-33 180.5t-42.5 168.5t-72.5 123t-122.5 48.5l-10 -2l-6 -4q4 -5 13 -14 q6 -5 28 -23.5t25.5 -22t19 -18t18 -20.5t11.5 -21t10.5 -27.5t4.5 -31t4 -40.5l1 -33q1 -26 -2.5 -57.5t-7.5 -52t-12.5 -58.5t-11.5 -53q-35 1 -101 -9.5t-98 -10.5q-39 0 -72 10q-2 16 -2 47q0 74 3 96q2 13 31.5 41.5t57 59t26.5 51.5q-24 2 -43 -24 q-36 -53 -111.5 -99.5t-136.5 -46.5q-25 0 -75.5 63t-106.5 139.5t-84 96.5q-6 4 -27 30q-482 -112 -513 -112q-16 0 -28 11t-12 27q0 15 8.5 26.5t22.5 14.5l486 106q-8 14 -8 25t5.5 17.5t16 11.5t20 7t23 4.5t18.5 4.5q4 1 15.5 7.5t17.5 6.5q15 0 28 -16t20 -33 q163 37 172 37q17 0 29.5 -11t12.5 -28q0 -15 -8.5 -26t-23.5 -14l-182 -40l-1 -16q-1 -26 81.5 -117.5t104.5 -91.5q47 0 119 80t72 129q0 36 -23.5 53t-51 18.5t-51 11.5t-23.5 34q0 16 10 34l-68 19q43 44 43 117q0 26 -5 58q82 16 144 16q44 0 71.5 -1.5t48.5 -8.5 t31 -13.5t20.5 -24.5t15.5 -33.5t17 -47.5t24 -60l50 25q-3 -40 -23 -60t-42.5 -21t-40 -6.5t-16.5 -20.5zM1282 842q-5 5 -13.5 15.5t-12 14.5t-10.5 11.5t-10 10.5l-8 8t-8.5 7.5t-8 5t-8.5 4.5q-7 3 -14.5 5t-20.5 2.5t-22 0.5h-32.5h-37.5q-126 0 -217 -43 q16 30 36 46.5t54 29.5t65.5 36t46 36.5t50 55t43.5 50.5q12 -9 28 -31.5t32 -36.5t38 -13l12 1v-76l22 -1q247 95 371 190q28 21 50 39t42.5 37.5t33 31t29.5 34t24 31t24.5 37t23 38t27 47.5t29.5 53l7 9q-2 -53 -43 -139q-79 -165 -205 -264t-306 -142q-14 -3 -42 -7.5 t-50 -9.5t-39 -14q3 -19 24.5 -46t21.5 -34q0 -11 -26 -30zM1061 -79q39 26 131.5 47.5t146.5 21.5q9 0 22.5 -15.5t28 -42.5t26 -50t24 -51t14.5 -33q-121 -45 -244 -45q-61 0 -125 11zM822 568l48 12l109 -177l-73 -48zM1323 51q3 -15 3 -16q0 -7 -17.5 -14.5t-46 -13 t-54 -9.5t-53.5 -7.5t-32 -4.5l-7 43q21 2 60.5 8.5t72 10t60.5 3.5h14zM866 679l-96 -20l-6 17q10 1 32.5 7t34.5 6q19 0 35 -10zM1061 45h31l10 -83l-41 -12v95zM1950 1535v1v-1zM1950 1535l-1 -5l-2 -2l1 3zM1950 1535l1 1z" />
<glyph unicode="&#xf1a9;" d="M1167 -50q-5 19 -24 5q-30 -22 -87 -39t-131 -17q-129 0 -193 49q-5 4 -13 4q-11 0 -26 -12q-7 -6 -7.5 -16t7.5 -20q34 -32 87.5 -46t102.5 -12.5t99 4.5q41 4 84.5 20.5t65 30t28.5 20.5q12 12 7 29zM1128 65q-19 47 -39 61q-23 15 -76 15q-47 0 -71 -10 q-29 -12 -78 -56q-26 -24 -12 -44q9 -8 17.5 -4.5t31.5 23.5q3 2 10.5 8.5t10.5 8.5t10 7t11.5 7t12.5 5t15 4.5t16.5 2.5t20.5 1q27 0 44.5 -7.5t23 -14.5t13.5 -22q10 -17 12.5 -20t12.5 1q23 12 14 34zM1483 346q0 22 -5 44.5t-16.5 45t-34 36.5t-52.5 14 q-33 0 -97 -41.5t-129 -83.5t-101 -42q-27 -1 -63.5 19t-76 49t-83.5 58t-100 49t-111 19q-115 -1 -197 -78.5t-84 -178.5q-2 -112 74 -164q29 -20 62.5 -28.5t103.5 -8.5q57 0 132 32.5t134 71t120 70.5t93 31q26 -1 65 -31.5t71.5 -67t68 -67.5t55.5 -32q35 -3 58.5 14 t55.5 63q28 41 42.5 101t14.5 106zM1536 506q0 -164 -62 -304.5t-166 -236t-242.5 -149.5t-290.5 -54t-293 57.5t-247.5 157t-170.5 241.5t-64 302q0 89 19.5 172.5t49 145.5t70.5 118.5t78.5 94t78.5 69.5t64.5 46.5t42.5 24.5q14 8 51 26.5t54.5 28.5t48 30t60.5 44 q36 28 58 72.5t30 125.5q129 -155 186 -193q44 -29 130 -68t129 -66q21 -13 39 -25t60.5 -46.5t76 -70.5t75 -95t69 -122t47 -148.5t19.5 -177.5z" />
<glyph unicode="&#xf1aa;" d="M1070 463l-160 -160l-151 -152l-30 -30q-65 -64 -151.5 -87t-171.5 -2q-16 -70 -72 -115t-129 -45q-85 0 -145 60.5t-60 145.5q0 72 44.5 128t113.5 72q-22 86 1 173t88 152l12 12l151 -152l-11 -11q-37 -37 -37 -89t37 -90q37 -37 89 -37t89 37l30 30l151 152l161 160z M729 1145l12 -12l-152 -152l-12 12q-37 37 -89 37t-89 -37t-37 -89.5t37 -89.5l29 -29l152 -152l160 -160l-151 -152l-161 160l-151 152l-30 30q-68 67 -90 159.5t5 179.5q-70 15 -115 71t-45 129q0 85 60 145.5t145 60.5q76 0 133.5 -49t69.5 -123q84 20 169.5 -3.5 t149.5 -87.5zM1536 78q0 -85 -60 -145.5t-145 -60.5q-74 0 -131 47t-71 118q-86 -28 -179.5 -6t-161.5 90l-11 12l151 152l12 -12q37 -37 89 -37t89 37t37 89t-37 89l-30 30l-152 152l-160 160l152 152l160 -160l152 -152l29 -30q64 -64 87.5 -150.5t2.5 -171.5 q76 -11 126.5 -68.5t50.5 -134.5zM1534 1202q0 -77 -51 -135t-127 -69q26 -85 3 -176.5t-90 -158.5l-12 -12l-151 152l12 12q37 37 37 89t-37 89t-89 37t-89 -37l-30 -30l-152 -152l-160 -160l-152 152l161 160l152 152l29 30q67 67 159 89.5t178 -3.5q11 75 68.5 126 t135.5 51q85 0 145 -60.5t60 -145.5z" />
<glyph unicode="&#xf1ab;" d="M654 458q-1 -3 -12.5 0.5t-31.5 11.5l-20 9q-44 20 -87 49q-7 5 -41 31.5t-38 28.5q-67 -103 -134 -181q-81 -95 -105 -110q-4 -2 -19.5 -4t-18.5 0q6 4 82 92q21 24 85.5 115t78.5 118q17 30 51 98.5t36 77.5q-8 1 -110 -33q-8 -2 -27.5 -7.5t-34.5 -9.5t-17 -5 q-2 -2 -2 -10.5t-1 -9.5q-5 -10 -31 -15q-23 -7 -47 0q-18 4 -28 21q-4 6 -5 23q6 2 24.5 5t29.5 6q58 16 105 32q100 35 102 35q10 2 43 19.5t44 21.5q9 3 21.5 8t14.5 5.5t6 -0.5q2 -12 -1 -33q0 -2 -12.5 -27t-26.5 -53.5t-17 -33.5q-25 -50 -77 -131l64 -28 q12 -6 74.5 -32t67.5 -28q4 -1 10.5 -25.5t4.5 -30.5zM449 944q3 -15 -4 -28q-12 -23 -50 -38q-30 -12 -60 -12q-26 3 -49 26q-14 15 -18 41l1 3q3 -3 19.5 -5t26.5 0t58 16q36 12 55 14q17 0 21 -17zM1147 815l63 -227l-139 42zM39 15l694 232v1032l-694 -233v-1031z M1280 332l102 -31l-181 657l-100 31l-216 -536l102 -31l45 110l211 -65zM777 1294l573 -184v380zM1088 -29l158 -13l-54 -160l-40 66q-130 -83 -276 -108q-58 -12 -91 -12h-84q-79 0 -199.5 39t-183.5 85q-8 7 -8 16q0 8 5 13.5t13 5.5q4 0 18 -7.5t30.5 -16.5t20.5 -11 q73 -37 159.5 -61.5t157.5 -24.5q95 0 167 14.5t157 50.5q15 7 30.5 15.5t34 19t28.5 16.5zM1536 1050v-1079l-774 246q-14 -6 -375 -127.5t-368 -121.5q-13 0 -18 13q0 1 -1 3v1078q3 9 4 10q5 6 20 11q106 35 149 50v384l558 -198q2 0 160.5 55t316 108.5t161.5 53.5 q20 0 20 -21v-418z" />
<glyph unicode="&#xf1ac;" horiz-adv-x="1792" d="M288 1152q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-128q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h128zM1664 989q58 -34 93 -93t35 -128v-768q0 -106 -75 -181t-181 -75h-864q-66 0 -113 47t-47 113v1536q0 40 28 68t68 28h672q40 0 88 -20t76 -48 l152 -152q28 -28 48 -76t20 -88v-163zM928 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM928 256v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM928 512v128q0 14 -9 23 t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1184 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1184 256v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128 q14 0 23 9t9 23zM1184 512v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 256v128q0 14 -9 23t-23 9h-128 q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 512v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1536 896v256h-160q-40 0 -68 28t-28 68v160h-640v-512h896z" />
<glyph unicode="&#xf1ad;" d="M1344 1536q26 0 45 -19t19 -45v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280zM512 1248v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 992v-64q0 -14 9 -23t23 -9h64q14 0 23 9 t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 736v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 480v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM384 160v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64 q14 0 23 9t9 23zM384 928v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 -96v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9 t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM896 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 928v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 160v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64 q14 0 23 9t9 23zM1152 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 928v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9 t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23z" />
<glyph unicode="&#xf1ae;" horiz-adv-x="1280" d="M1188 988l-292 -292v-824q0 -46 -33 -79t-79 -33t-79 33t-33 79v384h-64v-384q0 -46 -33 -79t-79 -33t-79 33t-33 79v824l-292 292q-28 28 -28 68t28 68t68 28t68 -28l228 -228h368l228 228q28 28 68 28t68 -28t28 -68t-28 -68zM864 1152q0 -93 -65.5 -158.5 t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
<glyph unicode="&#xf1b0;" horiz-adv-x="1664" d="M780 1064q0 -60 -19 -113.5t-63 -92.5t-105 -39q-76 0 -138 57.5t-92 135.5t-30 151q0 60 19 113.5t63 92.5t105 39q77 0 138.5 -57.5t91.5 -135t30 -151.5zM438 581q0 -80 -42 -139t-119 -59q-76 0 -141.5 55.5t-100.5 133.5t-35 152q0 80 42 139.5t119 59.5 q76 0 141.5 -55.5t100.5 -134t35 -152.5zM832 608q118 0 255 -97.5t229 -237t92 -254.5q0 -46 -17 -76.5t-48.5 -45t-64.5 -20t-76 -5.5q-68 0 -187.5 45t-182.5 45q-66 0 -192.5 -44.5t-200.5 -44.5q-183 0 -183 146q0 86 56 191.5t139.5 192.5t187.5 146t193 59zM1071 819 q-61 0 -105 39t-63 92.5t-19 113.5q0 74 30 151.5t91.5 135t138.5 57.5q61 0 105 -39t63 -92.5t19 -113.5q0 -73 -30 -151t-92 -135.5t-138 -57.5zM1503 923q77 0 119 -59.5t42 -139.5q0 -74 -35 -152t-100.5 -133.5t-141.5 -55.5q-77 0 -119 59t-42 139q0 74 35 152.5 t100.5 134t141.5 55.5z" />
<glyph unicode="&#xf1b1;" horiz-adv-x="768" d="M704 1008q0 -145 -57 -243.5t-152 -135.5l45 -821q2 -26 -16 -45t-44 -19h-192q-26 0 -44 19t-16 45l45 821q-95 37 -152 135.5t-57 243.5q0 128 42.5 249.5t117.5 200t160 78.5t160 -78.5t117.5 -200t42.5 -249.5z" />
<glyph unicode="&#xf1b2;" horiz-adv-x="1792" d="M896 -93l640 349v636l-640 -233v-752zM832 772l698 254l-698 254l-698 -254zM1664 1024v-768q0 -35 -18 -65t-49 -47l-704 -384q-28 -16 -61 -16t-61 16l-704 384q-31 17 -49 47t-18 65v768q0 40 23 73t61 47l704 256q22 8 44 8t44 -8l704 -256q38 -14 61 -47t23 -73z " />
<glyph unicode="&#xf1b3;" horiz-adv-x="2304" d="M640 -96l384 192v314l-384 -164v-342zM576 358l404 173l-404 173l-404 -173zM1664 -96l384 192v314l-384 -164v-342zM1600 358l404 173l-404 173l-404 -173zM1152 651l384 165v266l-384 -164v-267zM1088 1030l441 189l-441 189l-441 -189zM2176 512v-416q0 -36 -19 -67 t-52 -47l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-5 2 -7 4q-2 -2 -7 -4l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-33 16 -52 47t-19 67v416q0 38 21.5 70t56.5 48l434 186v400q0 38 21.5 70t56.5 48l448 192q23 10 50 10t50 -10l448 -192q35 -16 56.5 -48t21.5 -70 v-400l434 -186q36 -16 57 -48t21 -70z" />
<glyph unicode="&#xf1b4;" horiz-adv-x="2048" d="M1848 1197h-511v-124h511v124zM1596 771q-90 0 -146 -52.5t-62 -142.5h408q-18 195 -200 195zM1612 186q63 0 122 32t76 87h221q-100 -307 -427 -307q-214 0 -340.5 132t-126.5 347q0 208 130.5 345.5t336.5 137.5q138 0 240.5 -68t153 -179t50.5 -248q0 -17 -2 -47h-658 q0 -111 57.5 -171.5t166.5 -60.5zM277 236h296q205 0 205 167q0 180 -199 180h-302v-347zM277 773h281q78 0 123.5 36.5t45.5 113.5q0 144 -190 144h-260v-294zM0 1282h594q87 0 155 -14t126.5 -47.5t90 -96.5t31.5 -154q0 -181 -172 -263q114 -32 172 -115t58 -204 q0 -75 -24.5 -136.5t-66 -103.5t-98.5 -71t-121 -42t-134 -13h-611v1260z" />
<glyph unicode="&#xf1b5;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM499 1041h-371v-787h382q117 0 197 57.5t80 170.5q0 158 -143 200q107 52 107 164q0 57 -19.5 96.5 t-56.5 60.5t-79 29.5t-97 8.5zM477 723h-176v184h163q119 0 119 -90q0 -94 -106 -94zM486 388h-185v217h189q124 0 124 -113q0 -104 -128 -104zM1136 356q-68 0 -104 38t-36 107h411q1 10 1 30q0 132 -74.5 220.5t-203.5 88.5q-128 0 -210 -86t-82 -216q0 -135 79 -217 t213 -82q205 0 267 191h-138q-11 -34 -47.5 -54t-75.5 -20zM1126 722q113 0 124 -122h-254q4 56 39 89t91 33zM964 988h319v-77h-319v77z" />
<glyph unicode="&#xf1b6;" horiz-adv-x="1792" d="M1582 954q0 -101 -71.5 -172.5t-172.5 -71.5t-172.5 71.5t-71.5 172.5t71.5 172.5t172.5 71.5t172.5 -71.5t71.5 -172.5zM812 212q0 104 -73 177t-177 73q-27 0 -54 -6l104 -42q77 -31 109.5 -106.5t1.5 -151.5q-31 -77 -107 -109t-152 -1q-21 8 -62 24.5t-61 24.5 q32 -60 91 -96.5t130 -36.5q104 0 177 73t73 177zM1642 953q0 126 -89.5 215.5t-215.5 89.5q-127 0 -216.5 -89.5t-89.5 -215.5q0 -127 89.5 -216t216.5 -89q126 0 215.5 89t89.5 216zM1792 953q0 -189 -133.5 -322t-321.5 -133l-437 -319q-12 -129 -109 -218t-229 -89 q-121 0 -214 76t-118 192l-230 92v429l389 -157q79 48 173 48q13 0 35 -2l284 407q2 187 135.5 319t320.5 132q188 0 321.5 -133.5t133.5 -321.5z" />
<glyph unicode="&#xf1b7;" d="M1242 889q0 80 -57 136.5t-137 56.5t-136.5 -57t-56.5 -136q0 -80 56.5 -136.5t136.5 -56.5t137 56.5t57 136.5zM632 301q0 -83 -58 -140.5t-140 -57.5q-56 0 -103 29t-72 77q52 -20 98 -40q60 -24 120 1.5t85 86.5q24 60 -1.5 120t-86.5 84l-82 33q22 5 42 5 q82 0 140 -57.5t58 -140.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v153l172 -69q20 -92 93.5 -152t168.5 -60q104 0 181 70t87 173l345 252q150 0 255.5 105.5t105.5 254.5q0 150 -105.5 255.5t-255.5 105.5 q-148 0 -253 -104.5t-107 -252.5l-225 -322q-9 1 -28 1q-75 0 -137 -37l-297 119v468q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5zM1289 887q0 -100 -71 -170.5t-171 -70.5t-170.5 70.5t-70.5 170.5t70.5 171t170.5 71q101 0 171.5 -70.5t70.5 -171.5z " />
<glyph unicode="&#xf1b8;" horiz-adv-x="1792" d="M836 367l-15 -368l-2 -22l-420 29q-36 3 -67 31.5t-47 65.5q-11 27 -14.5 55t4 65t12 55t21.5 64t19 53q78 -12 509 -28zM449 953l180 -379l-147 92q-63 -72 -111.5 -144.5t-72.5 -125t-39.5 -94.5t-18.5 -63l-4 -21l-190 357q-17 26 -18 56t6 47l8 18q35 63 114 188 l-140 86zM1680 436l-188 -359q-12 -29 -36.5 -46.5t-43.5 -20.5l-18 -4q-71 -7 -219 -12l8 -164l-230 367l211 362l7 -173q170 -16 283 -5t170 33zM895 1360q-47 -63 -265 -435l-317 187l-19 12l225 356q20 31 60 45t80 10q24 -2 48.5 -12t42 -21t41.5 -33t36 -34.5 t36 -39.5t32 -35zM1550 1053l212 -363q18 -37 12.5 -76t-27.5 -74q-13 -20 -33 -37t-38 -28t-48.5 -22t-47 -16t-51.5 -14t-46 -12q-34 72 -265 436l313 195zM1407 1279l142 83l-220 -373l-419 20l151 86q-34 89 -75 166t-75.5 123.5t-64.5 80t-47 46.5l-17 13l405 -1 q31 3 58 -10.5t39 -28.5l11 -15q39 -61 112 -190z" />
<glyph unicode="&#xf1b9;" horiz-adv-x="2048" d="M480 448q0 66 -47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47t113 47t47 113zM516 768h1016l-89 357q-2 8 -14 17.5t-21 9.5h-768q-9 0 -21 -9.5t-14 -17.5zM1888 448q0 66 -47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47t113 47t47 113zM2048 544v-384 q0 -14 -9 -23t-23 -9h-96v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-1024v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-96q-14 0 -23 9t-9 23v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5t179 63.5h768q98 0 179 -63.5t104 -157.5 l105 -419h28q93 0 158.5 -65.5t65.5 -158.5z" />
<glyph unicode="&#xf1ba;" horiz-adv-x="2048" d="M1824 640q93 0 158.5 -65.5t65.5 -158.5v-384q0 -14 -9 -23t-23 -9h-96v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-1024v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-96q-14 0 -23 9t-9 23v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5 t179 63.5h128v224q0 14 9 23t23 9h448q14 0 23 -9t9 -23v-224h128q98 0 179 -63.5t104 -157.5l105 -419h28zM320 160q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47zM516 640h1016l-89 357q-2 8 -14 17.5t-21 9.5h-768q-9 0 -21 -9.5t-14 -17.5z M1728 160q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47z" />
<glyph unicode="&#xf1bb;" d="M1504 64q0 -26 -19 -45t-45 -19h-462q1 -17 6 -87.5t5 -108.5q0 -25 -18 -42.5t-43 -17.5h-320q-25 0 -43 17.5t-18 42.5q0 38 5 108.5t6 87.5h-462q-26 0 -45 19t-19 45t19 45l402 403h-229q-26 0 -45 19t-19 45t19 45l402 403h-197q-26 0 -45 19t-19 45t19 45l384 384 q19 19 45 19t45 -19l384 -384q19 -19 19 -45t-19 -45t-45 -19h-197l402 -403q19 -19 19 -45t-19 -45t-45 -19h-229l402 -403q19 -19 19 -45z" />
<glyph unicode="&#xf1bc;" d="M1127 326q0 32 -30 51q-193 115 -447 115q-133 0 -287 -34q-42 -9 -42 -52q0 -20 13.5 -34.5t35.5 -14.5q5 0 37 8q132 27 243 27q226 0 397 -103q19 -11 33 -11q19 0 33 13.5t14 34.5zM1223 541q0 40 -35 61q-237 141 -548 141q-153 0 -303 -42q-48 -13 -48 -64 q0 -25 17.5 -42.5t42.5 -17.5q7 0 37 8q122 33 251 33q279 0 488 -124q24 -13 38 -13q25 0 42.5 17.5t17.5 42.5zM1331 789q0 47 -40 70q-126 73 -293 110.5t-343 37.5q-204 0 -364 -47q-23 -7 -38.5 -25.5t-15.5 -48.5q0 -31 20.5 -52t51.5 -21q11 0 40 8q133 37 307 37 q159 0 309.5 -34t253.5 -95q21 -12 40 -12q29 0 50.5 20.5t21.5 51.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf1bd;" horiz-adv-x="1024" d="M1024 1233l-303 -582l24 -31h279v-415h-507l-44 -30l-142 -273l-30 -30h-301v303l303 583l-24 30h-279v415h507l44 30l142 273l30 30h301v-303z" />
<glyph unicode="&#xf1be;" horiz-adv-x="2304" d="M784 164l16 241l-16 523q-1 10 -7.5 17t-16.5 7q-9 0 -16 -7t-7 -17l-14 -523l14 -241q1 -10 7.5 -16.5t15.5 -6.5q22 0 24 23zM1080 193l11 211l-12 586q0 16 -13 24q-8 5 -16 5t-16 -5q-13 -8 -13 -24l-1 -6l-10 -579q0 -1 11 -236v-1q0 -10 6 -17q9 -11 23 -11 q11 0 20 9q9 7 9 20zM35 533l20 -128l-20 -126q-2 -9 -9 -9t-9 9l-17 126l17 128q2 9 9 9t9 -9zM121 612l26 -207l-26 -203q-2 -9 -10 -9q-9 0 -9 10l-23 202l23 207q0 9 9 9q8 0 10 -9zM401 159zM213 650l25 -245l-25 -237q0 -11 -11 -11q-10 0 -12 11l-21 237l21 245 q2 12 12 12q11 0 11 -12zM307 657l23 -252l-23 -244q-2 -13 -14 -13q-13 0 -13 13l-21 244l21 252q0 13 13 13q12 0 14 -13zM401 639l21 -234l-21 -246q-2 -16 -16 -16q-6 0 -10.5 4.5t-4.5 11.5l-20 246l20 234q0 6 4.5 10.5t10.5 4.5q14 0 16 -15zM784 164zM495 785 l21 -380l-21 -246q0 -7 -5 -12.5t-12 -5.5q-16 0 -18 18l-18 246l18 380q2 18 18 18q7 0 12 -5.5t5 -12.5zM589 871l19 -468l-19 -244q0 -8 -5.5 -13.5t-13.5 -5.5q-18 0 -20 19l-16 244l16 468q2 19 20 19q8 0 13.5 -5.5t5.5 -13.5zM687 911l18 -506l-18 -242 q-2 -21 -22 -21q-19 0 -21 21l-16 242l16 506q0 9 6.5 15.5t14.5 6.5q9 0 15 -6.5t7 -15.5zM1079 169v0v0zM881 915l15 -510l-15 -239q0 -10 -7.5 -17.5t-17.5 -7.5t-17 7t-8 18l-14 239l14 510q0 11 7.5 18t17.5 7t17.5 -7t7.5 -18zM980 896l14 -492l-14 -236q0 -11 -8 -19 t-19 -8t-19 8t-9 19l-12 236l12 492q1 12 9 20t19 8t18.5 -8t8.5 -20zM1192 404l-14 -231v0q0 -13 -9 -22t-22 -9t-22 9t-10 22l-6 114l-6 117l12 636v3q2 15 12 24q9 7 20 7q8 0 15 -5q14 -8 16 -26zM2304 423q0 -117 -83 -199.5t-200 -82.5h-786q-13 2 -22 11t-9 22v899 q0 23 28 33q85 34 181 34q195 0 338 -131.5t160 -323.5q53 22 110 22q117 0 200 -83t83 -201z" />
<glyph unicode="&#xf1c0;" d="M768 768q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127t443 -43zM768 0q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127 t443 -43zM768 384q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127t443 -43zM768 1536q208 0 385 -34.5t280 -93.5t103 -128v-128q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5 t-103 128v128q0 69 103 128t280 93.5t385 34.5z" />
<glyph unicode="&#xf1c1;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M894 465q33 -26 84 -56q59 7 117 7q147 0 177 -49q16 -22 2 -52q0 -1 -1 -2l-2 -2v-1q-6 -38 -71 -38q-48 0 -115 20t-130 53q-221 -24 -392 -83q-153 -262 -242 -262q-15 0 -28 7l-24 12q-1 1 -6 5q-10 10 -6 36q9 40 56 91.5t132 96.5q14 9 23 -6q2 -2 2 -4q52 85 107 197 q68 136 104 262q-24 82 -30.5 159.5t6.5 127.5q11 40 42 40h21h1q23 0 35 -15q18 -21 9 -68q-2 -6 -4 -8q1 -3 1 -8v-30q-2 -123 -14 -192q55 -164 146 -238zM318 54q52 24 137 158q-51 -40 -87.5 -84t-49.5 -74zM716 974q-15 -42 -2 -132q1 7 7 44q0 3 7 43q1 4 4 8 q-1 1 -1 2t-0.5 1.5t-0.5 1.5q-1 22 -13 36q0 -1 -1 -2v-2zM592 313q135 54 284 81q-2 1 -13 9.5t-16 13.5q-76 67 -127 176q-27 -86 -83 -197q-30 -56 -45 -83zM1238 329q-24 24 -140 24q76 -28 124 -28q14 0 18 1q0 1 -2 3z" />
<glyph unicode="&#xf1c2;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M233 768v-107h70l164 -661h159l128 485q7 20 10 46q2 16 2 24h4l3 -24q1 -3 3.5 -20t5.5 -26l128 -485h159l164 661h70v107h-300v-107h90l-99 -438q-5 -20 -7 -46l-2 -21h-4l-3 21q-1 5 -4 21t-5 25l-144 545h-114l-144 -545q-2 -9 -4.5 -24.5t-3.5 -21.5l-4 -21h-4l-2 21 q-2 26 -7 46l-99 438h90v107h-300z" />
<glyph unicode="&#xf1c3;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M429 106v-106h281v106h-75l103 161q5 7 10 16.5t7.5 13.5t3.5 4h2q1 -4 5 -10q2 -4 4.5 -7.5t6 -8t6.5 -8.5l107 -161h-76v-106h291v106h-68l-192 273l195 282h67v107h-279v-107h74l-103 -159q-4 -7 -10 -16.5t-9 -13.5l-2 -3h-2q-1 4 -5 10q-6 11 -17 23l-106 159h76v107 h-290v-107h68l189 -272l-194 -283h-68z" />
<glyph unicode="&#xf1c4;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M416 106v-106h327v106h-93v167h137q76 0 118 15q67 23 106.5 87t39.5 146q0 81 -37 141t-100 87q-48 19 -130 19h-368v-107h92v-555h-92zM769 386h-119v268h120q52 0 83 -18q56 -33 56 -115q0 -89 -62 -120q-31 -15 -78 -15z" />
<glyph unicode="&#xf1c5;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M1280 320v-320h-1024v192l192 192l128 -128l384 384zM448 512q-80 0 -136 56t-56 136t56 136t136 56t136 -56t56 -136t-56 -136t-136 -56z" />
<glyph unicode="&#xf1c6;" d="M640 1152v128h-128v-128h128zM768 1024v128h-128v-128h128zM640 896v128h-128v-128h128zM768 768v128h-128v-128h128zM1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400 v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-128v-128h-128v128h-512v-1536h1280zM781 593l107 -349q8 -27 8 -52q0 -83 -72.5 -137.5t-183.5 -54.5t-183.5 54.5t-72.5 137.5q0 25 8 52q21 63 120 396v128h128v-128h79 q22 0 39 -13t23 -34zM640 128q53 0 90.5 19t37.5 45t-37.5 45t-90.5 19t-90.5 -19t-37.5 -45t37.5 -45t90.5 -19z" />
<glyph unicode="&#xf1c7;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M620 686q20 -8 20 -30v-544q0 -22 -20 -30q-8 -2 -12 -2q-12 0 -23 9l-166 167h-131q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h131l166 167q16 15 35 7zM1037 -3q31 0 50 24q129 159 129 363t-129 363q-16 21 -43 24t-47 -14q-21 -17 -23.5 -43.5t14.5 -47.5 q100 -123 100 -282t-100 -282q-17 -21 -14.5 -47.5t23.5 -42.5q18 -15 40 -15zM826 145q27 0 47 20q87 93 87 219t-87 219q-18 19 -45 20t-46 -17t-20 -44.5t18 -46.5q52 -57 52 -131t-52 -131q-19 -20 -18 -46.5t20 -44.5q20 -17 44 -17z" />
<glyph unicode="&#xf1c8;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M768 768q52 0 90 -38t38 -90v-384q0 -52 -38 -90t-90 -38h-384q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h384zM1260 766q20 -8 20 -30v-576q0 -22 -20 -30q-8 -2 -12 -2q-14 0 -23 9l-265 266v90l265 266q9 9 23 9q4 0 12 -2z" />
<glyph unicode="&#xf1c9;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M480 768q8 11 21 12.5t24 -6.5l51 -38q11 -8 12.5 -21t-6.5 -24l-182 -243l182 -243q8 -11 6.5 -24t-12.5 -21l-51 -38q-11 -8 -24 -6.5t-21 12.5l-226 301q-14 19 0 38zM1282 467q14 -19 0 -38l-226 -301q-8 -11 -21 -12.5t-24 6.5l-51 38q-11 8 -12.5 21t6.5 24l182 243 l-182 243q-8 11 -6.5 24t12.5 21l51 38q11 8 24 6.5t21 -12.5zM662 6q-13 2 -20.5 13t-5.5 24l138 831q2 13 13 20.5t24 5.5l63 -10q13 -2 20.5 -13t5.5 -24l-138 -831q-2 -13 -13 -20.5t-24 -5.5z" />
<glyph unicode="&#xf1ca;" d="M1497 709v-198q-101 -23 -198 -23q-65 -136 -165.5 -271t-181.5 -215.5t-128 -106.5q-80 -45 -162 3q-28 17 -60.5 43.5t-85 83.5t-102.5 128.5t-107.5 184t-105.5 244t-91.5 314.5t-70.5 390h283q26 -218 70 -398.5t104.5 -317t121.5 -235.5t140 -195q169 169 287 406 q-142 72 -223 220t-81 333q0 192 104 314.5t284 122.5q178 0 273 -105.5t95 -297.5q0 -159 -58 -286q-7 -1 -19.5 -3t-46 -2t-63 6t-62 25.5t-50.5 51.5q31 103 31 184q0 87 -29 132t-79 45q-53 0 -85 -49.5t-32 -140.5q0 -186 105 -293.5t267 -107.5q62 0 121 14z" />
<glyph unicode="&#xf1cb;" horiz-adv-x="1792" d="M216 367l603 -402v359l-334 223zM154 511l193 129l-193 129v-258zM973 -35l603 402l-269 180l-334 -223v-359zM896 458l272 182l-272 182l-272 -182zM485 733l334 223v359l-603 -402zM1445 640l193 -129v258zM1307 733l269 180l-603 402v-359zM1792 913v-546 q0 -41 -34 -64l-819 -546q-21 -13 -43 -13t-43 13l-819 546q-34 23 -34 64v546q0 41 34 64l819 546q21 13 43 13t43 -13l819 -546q34 -23 34 -64z" />
<glyph unicode="&#xf1cc;" horiz-adv-x="2048" d="M1800 764q111 -46 179.5 -145.5t68.5 -221.5q0 -164 -118 -280.5t-285 -116.5q-4 0 -11.5 0.5t-10.5 0.5h-1209h-1h-2h-5q-170 10 -288 125.5t-118 280.5q0 110 55 203t147 147q-12 39 -12 82q0 115 82 196t199 81q95 0 172 -58q75 154 222.5 248t326.5 94 q166 0 306 -80.5t221.5 -218.5t81.5 -301q0 -6 -0.5 -18t-0.5 -18zM468 498q0 -122 84 -193t208 -71q137 0 240 99q-16 20 -47.5 56.5t-43.5 50.5q-67 -65 -144 -65q-55 0 -93.5 33.5t-38.5 87.5q0 53 38.5 87t91.5 34q44 0 84.5 -21t73 -55t65 -75t69 -82t77 -75t97 -55 t121.5 -21q121 0 204.5 71.5t83.5 190.5q0 121 -84 192t-207 71q-143 0 -241 -97q14 -16 29.5 -34t34.5 -40t29 -34q66 64 142 64q52 0 92 -33t40 -84q0 -57 -37 -91.5t-94 -34.5q-43 0 -82.5 21t-72 55t-65.5 75t-69.5 82t-77.5 75t-96.5 55t-118.5 21q-122 0 -207 -70.5 t-85 -189.5z" />
<glyph unicode="&#xf1cd;" horiz-adv-x="1792" d="M896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 1408q-190 0 -361 -90l194 -194q82 28 167 28t167 -28l194 194q-171 90 -361 90zM218 279l194 194 q-28 82 -28 167t28 167l-194 194q-90 -171 -90 -361t90 -361zM896 -128q190 0 361 90l-194 194q-82 -28 -167 -28t-167 28l-194 -194q171 -90 361 -90zM896 256q159 0 271.5 112.5t112.5 271.5t-112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5 t271.5 -112.5zM1380 473l194 -194q90 171 90 361t-90 361l-194 -194q28 -82 28 -167t-28 -167z" />
<glyph unicode="&#xf1ce;" horiz-adv-x="1792" d="M1760 640q0 -176 -68.5 -336t-184 -275.5t-275.5 -184t-336 -68.5t-336 68.5t-275.5 184t-184 275.5t-68.5 336q0 213 97 398.5t265 305.5t374 151v-228q-221 -45 -366.5 -221t-145.5 -406q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5 t136.5 204t51 248.5q0 230 -145.5 406t-366.5 221v228q206 -31 374 -151t265 -305.5t97 -398.5z" />
<glyph unicode="&#xf1d0;" horiz-adv-x="1792" d="M19 662q8 217 116 406t305 318h5q0 -1 -1 -3q-8 -8 -28 -33.5t-52 -76.5t-60 -110.5t-44.5 -135.5t-14 -150.5t39 -157.5t108.5 -154q50 -50 102 -69.5t90.5 -11.5t69.5 23.5t47 32.5l16 16q39 51 53 116.5t6.5 122.5t-21 107t-26.5 80l-14 29q-10 25 -30.5 49.5t-43 41 t-43.5 29.5t-35 19l-13 6l104 115q39 -17 78 -52t59 -61l19 -27q1 48 -18.5 103.5t-40.5 87.5l-20 31l161 183l160 -181q-33 -46 -52.5 -102.5t-22.5 -90.5l-4 -33q22 37 61.5 72.5t67.5 52.5l28 17l103 -115q-44 -14 -85 -50t-60 -65l-19 -29q-31 -56 -48 -133.5t-7 -170 t57 -156.5q33 -45 77.5 -60.5t85 -5.5t76 26.5t57.5 33.5l21 16q60 53 96.5 115t48.5 121.5t10 121.5t-18 118t-37 107.5t-45.5 93t-45 72t-34.5 47.5l-13 17q-14 13 -7 13l10 -3q40 -29 62.5 -46t62 -50t64 -58t58.5 -65t55.5 -77t45.5 -88t38 -103t23.5 -117t10.5 -136 q3 -259 -108 -465t-312 -321t-456 -115q-185 0 -351 74t-283.5 198t-184 293t-60.5 353z" />
<glyph unicode="&#xf1d1;" horiz-adv-x="1792" d="M874 -102v-66q-208 6 -385 109.5t-283 275.5l58 34q29 -49 73 -99l65 57q148 -168 368 -212l-17 -86q65 -12 121 -13zM276 428l-83 -28q22 -60 49 -112l-57 -33q-98 180 -98 385t98 385l57 -33q-30 -56 -49 -112l82 -28q-35 -100 -35 -212q0 -109 36 -212zM1528 251 l58 -34q-106 -172 -283 -275.5t-385 -109.5v66q56 1 121 13l-17 86q220 44 368 212l65 -57q44 50 73 99zM1377 805l-233 -80q14 -42 14 -85t-14 -85l232 -80q-31 -92 -98 -169l-185 162q-57 -67 -147 -85l48 -241q-52 -10 -98 -10t-98 10l48 241q-90 18 -147 85l-185 -162 q-67 77 -98 169l232 80q-14 42 -14 85t14 85l-233 80q33 93 99 169l185 -162q59 68 147 86l-48 240q44 10 98 10t98 -10l-48 -240q88 -18 147 -86l185 162q66 -76 99 -169zM874 1448v-66q-65 -2 -121 -13l17 -86q-220 -42 -368 -211l-65 56q-38 -42 -73 -98l-57 33 q106 172 282 275.5t385 109.5zM1705 640q0 -205 -98 -385l-57 33q27 52 49 112l-83 28q36 103 36 212q0 112 -35 212l82 28q-19 56 -49 112l57 33q98 -180 98 -385zM1585 1063l-57 -33q-35 56 -73 98l-65 -56q-148 169 -368 211l17 86q-56 11 -121 13v66q209 -6 385 -109.5 t282 -275.5zM1748 640q0 173 -67.5 331t-181.5 272t-272 181.5t-331 67.5t-331 -67.5t-272 -181.5t-181.5 -272t-67.5 -331t67.5 -331t181.5 -272t272 -181.5t331 -67.5t331 67.5t272 181.5t181.5 272t67.5 331zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71 t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
<glyph unicode="&#xf1d2;" d="M582 228q0 -66 -93 -66q-107 0 -107 63q0 64 98 64q102 0 102 -61zM546 694q0 -85 -74 -85q-77 0 -77 84q0 90 77 90q36 0 55 -25.5t19 -63.5zM712 769v125q-78 -29 -135 -29q-50 29 -110 29q-86 0 -145 -57t-59 -143q0 -50 29.5 -102t73.5 -67v-3q-38 -17 -38 -85 q0 -53 41 -77v-3q-113 -37 -113 -139q0 -45 20 -78.5t54 -51t72 -25.5t81 -8q224 0 224 188q0 67 -48 99t-126 46q-27 5 -51.5 20.5t-24.5 39.5q0 44 49 52q77 15 122 70t45 134q0 24 -10 52q37 9 49 13zM771 350h137q-2 27 -2 82v387q0 46 2 69h-137q3 -23 3 -71v-392 q0 -50 -3 -75zM1280 366v121q-30 -21 -68 -21q-53 0 -53 82v225h52q9 0 26.5 -1t26.5 -1v117h-105q0 82 3 102h-140q4 -24 4 -55v-47h-60v-117q36 3 37 3q3 0 11 -0.5t12 -0.5v-2h-2v-217q0 -37 2.5 -64t11.5 -56.5t24.5 -48.5t43.5 -31t66 -12q64 0 108 24zM924 1072 q0 36 -24 63.5t-60 27.5t-60.5 -27t-24.5 -64q0 -36 25 -62.5t60 -26.5t59.5 27t24.5 62zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf1d3;" horiz-adv-x="1792" d="M595 22q0 100 -165 100q-158 0 -158 -104q0 -101 172 -101q151 0 151 105zM536 777q0 61 -30 102t-89 41q-124 0 -124 -145q0 -135 124 -135q119 0 119 137zM805 1101v-202q-36 -12 -79 -22q16 -43 16 -84q0 -127 -73 -216.5t-197 -112.5q-40 -8 -59.5 -27t-19.5 -58 q0 -31 22.5 -51.5t58 -32t78.5 -22t86 -25.5t78.5 -37.5t58 -64t22.5 -98.5q0 -304 -363 -304q-69 0 -130 12.5t-116 41t-87.5 82t-32.5 127.5q0 165 182 225v4q-67 41 -67 126q0 109 63 137v4q-72 24 -119.5 108.5t-47.5 165.5q0 139 95 231.5t235 92.5q96 0 178 -47 q98 0 218 47zM1123 220h-222q4 45 4 134v609q0 94 -4 128h222q-4 -33 -4 -124v-613q0 -89 4 -134zM1724 442v-196q-71 -39 -174 -39q-62 0 -107 20t-70 50t-39.5 78t-18.5 92t-4 103v351h2v4q-7 0 -19 1t-18 1q-21 0 -59 -6v190h96v76q0 54 -6 89h227q-6 -41 -6 -165h171 v-190q-15 0 -43.5 2t-42.5 2h-85v-365q0 -131 87 -131q61 0 109 33zM1148 1389q0 -58 -39 -101.5t-96 -43.5q-58 0 -98 43.5t-40 101.5q0 59 39.5 103t98.5 44q58 0 96.5 -44.5t38.5 -102.5z" />
<glyph unicode="&#xf1d4;" d="M809 532l266 499h-112l-157 -312q-24 -48 -44 -92l-42 92l-155 312h-120l263 -493v-324h101v318zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf1d5;" horiz-adv-x="1280" d="M842 964q0 -80 -57 -136.5t-136 -56.5q-60 0 -111 35q-62 -67 -115 -146q-247 -371 -202 -859q1 -22 -12.5 -38.5t-34.5 -18.5h-5q-20 0 -35 13.5t-17 33.5q-14 126 -3.5 247.5t29.5 217t54 186t69 155.5t74 125q61 90 132 165q-16 35 -16 77q0 80 56.5 136.5t136.5 56.5 t136.5 -56.5t56.5 -136.5zM1223 953q0 -158 -78 -292t-212.5 -212t-292.5 -78q-64 0 -131 14q-21 5 -32.5 23.5t-6.5 39.5q5 20 23 31.5t39 7.5q51 -13 108 -13q97 0 186 38t153 102t102 153t38 186t-38 186t-102 153t-153 102t-186 38t-186 -38t-153 -102t-102 -153 t-38 -186q0 -114 52 -218q10 -20 3.5 -40t-25.5 -30t-39.5 -3t-30.5 26q-64 123 -64 265q0 119 46.5 227t124.5 186t186 124t226 46q158 0 292.5 -78t212.5 -212.5t78 -292.5z" />
<glyph unicode="&#xf1d6;" horiz-adv-x="1792" d="M270 730q-8 19 -8 52q0 20 11 49t24 45q-1 22 7.5 53t22.5 43q0 139 92.5 288.5t217.5 209.5q139 66 324 66q133 0 266 -55q49 -21 90 -48t71 -56t55 -68t42 -74t32.5 -84.5t25.5 -89.5t22 -98l1 -5q55 -83 55 -150q0 -14 -9 -40t-9 -38q0 -1 1.5 -3.5t3.5 -5t2 -3.5 q77 -114 120.5 -214.5t43.5 -208.5q0 -43 -19.5 -100t-55.5 -57q-9 0 -19.5 7.5t-19 17.5t-19 26t-16 26.5t-13.5 26t-9 17.5q-1 1 -3 1l-5 -4q-59 -154 -132 -223q20 -20 61.5 -38.5t69 -41.5t35.5 -65q-2 -4 -4 -16t-7 -18q-64 -97 -302 -97q-53 0 -110.5 9t-98 20 t-104.5 30q-15 5 -23 7q-14 4 -46 4.5t-40 1.5q-41 -45 -127.5 -65t-168.5 -20q-35 0 -69 1.5t-93 9t-101 20.5t-74.5 40t-32.5 64q0 40 10 59.5t41 48.5q11 2 40.5 13t49.5 12q4 0 14 2q2 2 2 4l-2 3q-48 11 -108 105.5t-73 156.5l-5 3q-4 0 -12 -20q-18 -41 -54.5 -74.5 t-77.5 -37.5h-1q-4 0 -6 4.5t-5 5.5q-23 54 -23 100q0 275 252 466z" />
<glyph unicode="&#xf1d7;" horiz-adv-x="2048" d="M580 1075q0 41 -25 66t-66 25q-43 0 -76 -25.5t-33 -65.5q0 -39 33 -64.5t76 -25.5q41 0 66 24.5t25 65.5zM1323 568q0 28 -25.5 50t-65.5 22q-27 0 -49.5 -22.5t-22.5 -49.5q0 -28 22.5 -50.5t49.5 -22.5q40 0 65.5 22t25.5 51zM1087 1075q0 41 -24.5 66t-65.5 25 q-43 0 -76 -25.5t-33 -65.5q0 -39 33 -64.5t76 -25.5q41 0 65.5 24.5t24.5 65.5zM1722 568q0 28 -26 50t-65 22q-27 0 -49.5 -22.5t-22.5 -49.5q0 -28 22.5 -50.5t49.5 -22.5q39 0 65 22t26 51zM1456 965q-31 4 -70 4q-169 0 -311 -77t-223.5 -208.5t-81.5 -287.5 q0 -78 23 -152q-35 -3 -68 -3q-26 0 -50 1.5t-55 6.5t-44.5 7t-54.5 10.5t-50 10.5l-253 -127l72 218q-290 203 -290 490q0 169 97.5 311t264 223.5t363.5 81.5q176 0 332.5 -66t262 -182.5t136.5 -260.5zM2048 404q0 -117 -68.5 -223.5t-185.5 -193.5l55 -181l-199 109 q-150 -37 -218 -37q-169 0 -311 70.5t-223.5 191.5t-81.5 264t81.5 264t223.5 191.5t311 70.5q161 0 303 -70.5t227.5 -192t85.5 -263.5z" />
<glyph unicode="&#xf1d8;" horiz-adv-x="1792" d="M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-453 185l-242 -295q-18 -23 -49 -23q-13 0 -22 4q-19 7 -30.5 23.5t-11.5 36.5v349l864 1059l-1069 -925l-395 162q-37 14 -40 55q-2 40 32 59l1664 960q15 9 32 9q20 0 36 -11z" />
<glyph unicode="&#xf1d9;" horiz-adv-x="1792" d="M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-527 215l-298 -327q-18 -21 -47 -21q-14 0 -23 4q-19 7 -30 23.5t-11 36.5v452l-472 193q-37 14 -40 55q-3 39 32 59l1664 960q35 21 68 -2zM1422 26l221 1323l-1434 -827l336 -137 l863 639l-478 -797z" />
<glyph unicode="&#xf1da;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298zM896 928v-448q0 -14 -9 -23 t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf1db;" d="M768 1280q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf1dc;" horiz-adv-x="1792" d="M1682 -128q-44 0 -132.5 3.5t-133.5 3.5q-44 0 -132 -3.5t-132 -3.5q-24 0 -37 20.5t-13 45.5q0 31 17 46t39 17t51 7t45 15q33 21 33 140l-1 391q0 21 -1 31q-13 4 -50 4h-675q-38 0 -51 -4q-1 -10 -1 -31l-1 -371q0 -142 37 -164q16 -10 48 -13t57 -3.5t45 -15 t20 -45.5q0 -26 -12.5 -48t-36.5 -22q-47 0 -139.5 3.5t-138.5 3.5q-43 0 -128 -3.5t-127 -3.5q-23 0 -35.5 21t-12.5 45q0 30 15.5 45t36 17.5t47.5 7.5t42 15q33 23 33 143l-1 57v813q0 3 0.5 26t0 36.5t-1.5 38.5t-3.5 42t-6.5 36.5t-11 31.5t-16 18q-15 10 -45 12t-53 2 t-41 14t-18 45q0 26 12 48t36 22q46 0 138.5 -3.5t138.5 -3.5q42 0 126.5 3.5t126.5 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17 -43.5t-38.5 -14.5t-49.5 -4t-43 -13q-35 -21 -35 -160l1 -320q0 -21 1 -32q13 -3 39 -3h699q25 0 38 3q1 11 1 32l1 320q0 139 -35 160 q-18 11 -58.5 12.5t-66 13t-25.5 49.5q0 26 12.5 48t37.5 22q44 0 132 -3.5t132 -3.5q43 0 129 3.5t129 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17.5 -44t-40 -14.5t-51.5 -3t-44 -12.5q-35 -23 -35 -161l1 -943q0 -119 34 -140q16 -10 46 -13.5t53.5 -4.5t41.5 -15.5t18 -44.5 q0 -26 -12 -48t-36 -22z" />
<glyph unicode="&#xf1dd;" horiz-adv-x="1280" d="M1278 1347v-73q0 -29 -18.5 -61t-42.5 -32q-50 0 -54 -1q-26 -6 -32 -31q-3 -11 -3 -64v-1152q0 -25 -18 -43t-43 -18h-108q-25 0 -43 18t-18 43v1218h-143v-1218q0 -25 -17.5 -43t-43.5 -18h-108q-26 0 -43.5 18t-17.5 43v496q-147 12 -245 59q-126 58 -192 179 q-64 117 -64 259q0 166 88 286q88 118 209 159q111 37 417 37h479q25 0 43 -18t18 -43z" />
<glyph unicode="&#xf1de;" d="M352 128v-128h-352v128h352zM704 256q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM864 640v-128h-864v128h864zM224 1152v-128h-224v128h224zM1536 128v-128h-736v128h736zM576 1280q26 0 45 -19t19 -45v-256 q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM1216 768q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM1536 640v-128h-224v128h224zM1536 1152v-128h-864v128h864z" />
<glyph unicode="&#xf1e0;" d="M1216 512q133 0 226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5t-226.5 93.5t-93.5 226.5q0 12 2 34l-360 180q-92 -86 -218 -86q-133 0 -226.5 93.5t-93.5 226.5t93.5 226.5t226.5 93.5q126 0 218 -86l360 180q-2 22 -2 34q0 133 93.5 226.5t226.5 93.5 t226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5q-126 0 -218 86l-360 -180q2 -22 2 -34t-2 -34l360 -180q92 86 218 86z" />
<glyph unicode="&#xf1e1;" d="M1280 341q0 88 -62.5 151t-150.5 63q-84 0 -145 -58l-241 120q2 16 2 23t-2 23l241 120q61 -58 145 -58q88 0 150.5 63t62.5 151t-62.5 150.5t-150.5 62.5t-151 -62.5t-63 -150.5q0 -7 2 -23l-241 -120q-62 57 -145 57q-88 0 -150.5 -62.5t-62.5 -150.5t62.5 -150.5 t150.5 -62.5q83 0 145 57l241 -120q-2 -16 -2 -23q0 -88 63 -150.5t151 -62.5t150.5 62.5t62.5 150.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf1e2;" horiz-adv-x="1792" d="M571 947q-10 25 -34 35t-49 0q-108 -44 -191 -127t-127 -191q-10 -25 0 -49t35 -34q13 -5 24 -5q42 0 60 40q34 84 98.5 148.5t148.5 98.5q25 11 35 35t0 49zM1513 1303l46 -46l-244 -243l68 -68q19 -19 19 -45.5t-19 -45.5l-64 -64q89 -161 89 -343q0 -143 -55.5 -273.5 t-150 -225t-225 -150t-273.5 -55.5t-273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5q182 0 343 -89l64 64q19 19 45.5 19t45.5 -19l68 -68zM1521 1359q-10 -10 -22 -10q-13 0 -23 10l-91 90q-9 10 -9 23t9 23q10 9 23 9t23 -9l90 -91 q10 -9 10 -22.5t-10 -22.5zM1751 1129q-11 -9 -23 -9t-23 9l-90 91q-10 9 -10 22.5t10 22.5q9 10 22.5 10t22.5 -10l91 -90q9 -10 9 -23t-9 -23zM1792 1312q0 -14 -9 -23t-23 -9h-96q-14 0 -23 9t-9 23t9 23t23 9h96q14 0 23 -9t9 -23zM1600 1504v-96q0 -14 -9 -23t-23 -9 t-23 9t-9 23v96q0 14 9 23t23 9t23 -9t9 -23zM1751 1449l-91 -90q-10 -10 -22 -10q-13 0 -23 10q-10 9 -10 22.5t10 22.5l90 91q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />
<glyph unicode="&#xf1e3;" horiz-adv-x="1792" d="M609 720l287 208l287 -208l-109 -336h-355zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM1515 186q149 203 149 454v3l-102 -89l-240 224l63 323 l134 -12q-150 206 -389 282l53 -124l-287 -159l-287 159l53 124q-239 -76 -389 -282l135 12l62 -323l-240 -224l-102 89v-3q0 -251 149 -454l30 132l326 -40l139 -298l-116 -69q117 -39 240 -39t240 39l-116 69l139 298l326 40z" />
<glyph unicode="&#xf1e4;" horiz-adv-x="1792" d="M448 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM256 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM832 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM66 768q-28 0 -47 19t-19 46v129h514v-129q0 -27 -19 -46t-46 -19h-383zM1216 224v-192q0 -14 -9 -23t-23 -9h-192 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1600 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23 zM1408 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1016v-13h-514v10q0 104 -382 102q-382 -1 -382 -102v-10h-514v13q0 17 8.5 43t34 64t65.5 75.5t110.5 76t160 67.5t224 47.5t293.5 18.5t293 -18.5t224 -47.5 t160.5 -67.5t110.5 -76t65.5 -75.5t34 -64t8.5 -43zM1792 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 962v-129q0 -27 -19 -46t-46 -19h-384q-27 0 -46 19t-19 46v129h514z" />
<glyph unicode="&#xf1e5;" horiz-adv-x="1792" d="M704 1216v-768q0 -26 -19 -45t-45 -19v-576q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v512l249 873q7 23 31 23h424zM1024 1216v-704h-256v704h256zM1792 320v-512q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v576q-26 0 -45 19t-19 45v768h424q24 0 31 -23z M736 1504v-224h-352v224q0 14 9 23t23 9h288q14 0 23 -9t9 -23zM1408 1504v-224h-352v224q0 14 9 23t23 9h288q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf1e6;" horiz-adv-x="1792" d="M1755 1083q37 -37 37 -90t-37 -91l-401 -400l150 -150l-160 -160q-163 -163 -389.5 -186.5t-411.5 100.5l-362 -362h-181v181l362 362q-124 185 -100.5 411.5t186.5 389.5l160 160l150 -150l400 401q38 37 91 37t90 -37t37 -90.5t-37 -90.5l-400 -401l234 -234l401 400 q38 37 91 37t90 -37z" />
<glyph unicode="&#xf1e7;" horiz-adv-x="1792" d="M873 796q0 -83 -63.5 -142.5t-152.5 -59.5t-152.5 59.5t-63.5 142.5q0 84 63.5 143t152.5 59t152.5 -59t63.5 -143zM1375 796q0 -83 -63 -142.5t-153 -59.5q-89 0 -152.5 59.5t-63.5 142.5q0 84 63.5 143t152.5 59q90 0 153 -59t63 -143zM1600 616v667q0 87 -32 123.5 t-111 36.5h-1112q-83 0 -112.5 -34t-29.5 -126v-673q43 -23 88.5 -40t81 -28t81 -18.5t71 -11t70 -4t58.5 -0.5t56.5 2t44.5 2q68 1 95 -27q6 -6 10 -9q26 -25 61 -51q7 91 118 87q5 0 36.5 -1.5t43 -2t45.5 -1t53 1t54.5 4.5t61 8.5t62 13.5t67 19.5t67.5 27t72 34.5z M1763 621q-121 -149 -372 -252q84 -285 -23 -465q-66 -113 -183 -148q-104 -32 -182 15q-86 51 -82 164l-1 326v1q-8 2 -24.5 6t-23.5 5l-1 -338q4 -114 -83 -164q-79 -47 -183 -15q-117 36 -182 150q-105 180 -22 463q-251 103 -372 252q-25 37 -4 63t60 -1q3 -2 11 -7 t11 -8v694q0 72 47 123t114 51h1257q67 0 114 -51t47 -123v-694l21 15q39 27 60 1t-4 -63z" />
<glyph unicode="&#xf1e8;" horiz-adv-x="1792" d="M896 1102v-434h-145v434h145zM1294 1102v-434h-145v434h145zM1294 342l253 254v795h-1194v-1049h326v-217l217 217h398zM1692 1536v-1013l-434 -434h-326l-217 -217h-217v217h-398v1158l109 289h1483z" />
<glyph unicode="&#xf1e9;" d="M773 217v-127q-1 -292 -6 -305q-12 -32 -51 -40q-54 -9 -181.5 38t-162.5 89q-13 15 -17 36q-1 12 4 26q4 10 34 47t181 216q1 0 60 70q15 19 39.5 24.5t49.5 -3.5q24 -10 37.5 -29t12.5 -42zM624 468q-3 -55 -52 -70l-120 -39q-275 -88 -292 -88q-35 2 -54 36 q-12 25 -17 75q-8 76 1 166.5t30 124.5t56 32q13 0 202 -77q70 -29 115 -47l84 -34q23 -9 35.5 -30.5t11.5 -48.5zM1450 171q-7 -54 -91.5 -161t-135.5 -127q-37 -14 -63 7q-14 10 -184 287l-47 77q-14 21 -11.5 46t19.5 46q35 43 83 26q1 -1 119 -40q203 -66 242 -79.5 t47 -20.5q28 -22 22 -61zM778 803q5 -102 -54 -122q-58 -17 -114 71l-378 598q-8 35 19 62q41 43 207.5 89.5t224.5 31.5q40 -10 49 -45q3 -18 22 -305.5t24 -379.5zM1440 695q3 -39 -26 -59q-15 -10 -329 -86q-67 -15 -91 -23l1 2q-23 -6 -46 4t-37 32q-30 47 0 87 q1 1 75 102q125 171 150 204t34 39q28 19 65 2q48 -23 123 -133.5t81 -167.5v-3z" />
<glyph unicode="&#xf1ea;" horiz-adv-x="2048" d="M1024 1024h-384v-384h384v384zM1152 384v-128h-640v128h640zM1152 1152v-640h-640v640h640zM1792 384v-128h-512v128h512zM1792 640v-128h-512v128h512zM1792 896v-128h-512v128h512zM1792 1152v-128h-512v128h512zM256 192v960h-128v-960q0 -26 19 -45t45 -19t45 19 t19 45zM1920 192v1088h-1536v-1088q0 -33 -11 -64h1483q26 0 45 19t19 45zM2048 1408v-1216q0 -80 -56 -136t-136 -56h-1664q-80 0 -136 56t-56 136v1088h256v128h1792z" />
<glyph unicode="&#xf1eb;" horiz-adv-x="2048" d="M1024 13q-20 0 -93 73.5t-73 93.5q0 32 62.5 54t103.5 22t103.5 -22t62.5 -54q0 -20 -73 -93.5t-93 -73.5zM1294 284q-2 0 -40 25t-101.5 50t-128.5 25t-128.5 -25t-101 -50t-40.5 -25q-18 0 -93.5 75t-75.5 93q0 13 10 23q78 77 196 121t233 44t233 -44t196 -121 q10 -10 10 -23q0 -18 -75.5 -93t-93.5 -75zM1567 556q-11 0 -23 8q-136 105 -252 154.5t-268 49.5q-85 0 -170.5 -22t-149 -53t-113.5 -62t-79 -53t-31 -22q-17 0 -92 75t-75 93q0 12 10 22q132 132 320 205t380 73t380 -73t320 -205q10 -10 10 -22q0 -18 -75 -93t-92 -75z M1838 827q-11 0 -22 9q-179 157 -371.5 236.5t-420.5 79.5t-420.5 -79.5t-371.5 -236.5q-11 -9 -22 -9q-17 0 -92.5 75t-75.5 93q0 13 10 23q187 186 445 288t527 102t527 -102t445 -288q10 -10 10 -23q0 -18 -75.5 -93t-92.5 -75z" />
<glyph unicode="&#xf1ec;" horiz-adv-x="1792" d="M384 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1152 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5 t37.5 90.5zM384 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1152 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 768q0 53 -37.5 90.5t-90.5 37.5 t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1536 0v384q0 52 -38 90t-90 38t-90 -38t-38 -90v-384q0 -52 38 -90t90 -38t90 38t38 90zM1152 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5z M1536 1088v256q0 26 -19 45t-45 19h-1280q-26 0 -45 -19t-19 -45v-256q0 -26 19 -45t45 -19h1280q26 0 45 19t19 45zM1536 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1408v-1536q0 -52 -38 -90t-90 -38 h-1408q-52 0 -90 38t-38 90v1536q0 52 38 90t90 38h1408q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf1ed;" d="M1519 890q18 -84 -4 -204q-87 -444 -565 -444h-44q-25 0 -44 -16.5t-24 -42.5l-4 -19l-55 -346l-2 -15q-5 -26 -24.5 -42.5t-44.5 -16.5h-251q-21 0 -33 15t-9 36q9 56 26.5 168t26.5 168t27 167.5t27 167.5q5 37 43 37h131q133 -2 236 21q175 39 287 144q102 95 155 246 q24 70 35 133q1 6 2.5 7.5t3.5 1t6 -3.5q79 -59 98 -162zM1347 1172q0 -107 -46 -236q-80 -233 -302 -315q-113 -40 -252 -42q0 -1 -90 -1l-90 1q-100 0 -118 -96q-2 -8 -85 -530q-1 -10 -12 -10h-295q-22 0 -36.5 16.5t-11.5 38.5l232 1471q5 29 27.5 48t51.5 19h598 q34 0 97.5 -13t111.5 -32q107 -41 163.5 -123t56.5 -196z" />
<glyph unicode="&#xf1ee;" horiz-adv-x="1792" d="M441 864q32 0 52 -26q266 -364 362 -774h-446q-127 441 -367 749q-12 16 -3 33.5t29 17.5h373zM1000 507q-49 -199 -125 -393q-79 310 -256 594q40 221 44 449q211 -340 337 -650zM1099 1216q235 -324 384.5 -698.5t184.5 -773.5h-451q-41 665 -553 1472h435zM1792 640 q0 -424 -101 -812q-67 560 -359 1083q-25 301 -106 584q-4 16 5.5 28.5t25.5 12.5h359q21 0 38.5 -13t22.5 -33q115 -409 115 -850z" />
<glyph unicode="&#xf1f0;" horiz-adv-x="2304" d="M1975 546h-138q14 37 66 179l3 9q4 10 10 26t9 26l12 -55zM531 611l-58 295q-11 54 -75 54h-268l-2 -13q311 -79 403 -336zM710 960l-162 -438l-17 89q-26 70 -85 129.5t-131 88.5l135 -510h175l261 641h-176zM849 318h166l104 642h-166zM1617 944q-69 27 -149 27 q-123 0 -201 -59t-79 -153q-1 -102 145 -174q48 -23 67 -41t19 -39q0 -30 -30 -46t-69 -16q-86 0 -156 33l-22 11l-23 -144q74 -34 185 -34q130 -1 208.5 59t80.5 160q0 106 -140 174q-49 25 -71 42t-22 38q0 22 24.5 38.5t70.5 16.5q70 1 124 -24l15 -8zM2042 960h-128 q-65 0 -87 -54l-246 -588h174l35 96h212q5 -22 20 -96h154zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf1f1;" horiz-adv-x="2304" d="M671 603h-13q-47 0 -47 -32q0 -22 20 -22q17 0 28 15t12 39zM1066 639h62v3q1 4 0.5 6.5t-1 7t-2 8t-4.5 6.5t-7.5 5t-11.5 2q-28 0 -36 -38zM1606 603h-12q-48 0 -48 -32q0 -22 20 -22q17 0 28 15t12 39zM1925 629q0 41 -30 41q-19 0 -31 -20t-12 -51q0 -42 28 -42 q20 0 32.5 20t12.5 52zM480 770h87l-44 -262h-56l32 201l-71 -201h-39l-4 200l-34 -200h-53l44 262h81l2 -163zM733 663q0 -6 -4 -42q-16 -101 -17 -113h-47l1 22q-20 -26 -58 -26q-23 0 -37.5 16t-14.5 42q0 39 26 60.5t73 21.5q14 0 23 -1q0 3 0.5 5.5t1 4.5t0.5 3 q0 20 -36 20q-29 0 -59 -10q0 4 7 48q38 11 67 11q74 0 74 -62zM889 721l-8 -49q-22 3 -41 3q-27 0 -27 -17q0 -8 4.5 -12t21.5 -11q40 -19 40 -60q0 -72 -87 -71q-34 0 -58 6q0 2 7 49q29 -8 51 -8q32 0 32 19q0 7 -4.5 11.5t-21.5 12.5q-43 20 -43 59q0 72 84 72 q30 0 50 -4zM977 721h28l-7 -52h-29q-2 -17 -6.5 -40.5t-7 -38.5t-2.5 -18q0 -16 19 -16q8 0 16 2l-8 -47q-21 -7 -40 -7q-43 0 -45 47q0 12 8 56q3 20 25 146h55zM1180 648q0 -23 -7 -52h-111q-3 -22 10 -33t38 -11q30 0 58 14l-9 -54q-30 -8 -57 -8q-95 0 -95 95 q0 55 27.5 90.5t69.5 35.5q35 0 55.5 -21t20.5 -56zM1319 722q-13 -23 -22 -62q-22 2 -31 -24t-25 -128h-56l3 14q22 130 29 199h51l-3 -33q14 21 25.5 29.5t28.5 4.5zM1506 763l-9 -57q-28 14 -50 14q-31 0 -51 -27.5t-20 -70.5q0 -30 13.5 -47t38.5 -17q21 0 48 13 l-10 -59q-28 -8 -50 -8q-45 0 -71.5 30.5t-26.5 82.5q0 70 35.5 114.5t91.5 44.5q26 0 61 -13zM1668 663q0 -18 -4 -42q-13 -79 -17 -113h-46l1 22q-20 -26 -59 -26q-23 0 -37 16t-14 42q0 39 25.5 60.5t72.5 21.5q15 0 23 -1q2 7 2 13q0 20 -36 20q-29 0 -59 -10q0 4 8 48 q38 11 67 11q73 0 73 -62zM1809 722q-14 -24 -21 -62q-23 2 -31.5 -23t-25.5 -129h-56l3 14q19 104 29 199h52q0 -11 -4 -33q15 21 26.5 29.5t27.5 4.5zM1950 770h56l-43 -262h-53l3 19q-23 -23 -52 -23q-31 0 -49.5 24t-18.5 64q0 53 27.5 92t64.5 39q31 0 53 -29z M2061 640q0 148 -72.5 273t-198 198t-273.5 73q-181 0 -328 -110q127 -116 171 -284h-50q-44 150 -158 253q-114 -103 -158 -253h-50q44 168 171 284q-147 110 -328 110q-148 0 -273.5 -73t-198 -198t-72.5 -273t72.5 -273t198 -198t273.5 -73q181 0 328 110 q-120 111 -165 264h50q46 -138 152 -233q106 95 152 233h50q-45 -153 -165 -264q147 -110 328 -110q148 0 273.5 73t198 198t72.5 273zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf1f2;" horiz-adv-x="2304" d="M313 759q0 -51 -36 -84q-29 -26 -89 -26h-17v220h17q61 0 89 -27q36 -31 36 -83zM2089 824q0 -52 -64 -52h-19v101h20q63 0 63 -49zM380 759q0 74 -50 120.5t-129 46.5h-95v-333h95q74 0 119 38q60 51 60 128zM410 593h65v333h-65v-333zM730 694q0 40 -20.5 62t-75.5 42 q-29 10 -39.5 19t-10.5 23q0 16 13.5 26.5t34.5 10.5q29 0 53 -27l34 44q-41 37 -98 37q-44 0 -74 -27.5t-30 -67.5q0 -35 18 -55.5t64 -36.5q37 -13 45 -19q19 -12 19 -34q0 -20 -14 -33.5t-36 -13.5q-48 0 -71 44l-42 -40q44 -64 115 -64q51 0 83 30.5t32 79.5zM1008 604 v77q-37 -37 -78 -37q-49 0 -80.5 32.5t-31.5 82.5q0 48 31.5 81.5t77.5 33.5q43 0 81 -38v77q-40 20 -80 20q-74 0 -125.5 -50.5t-51.5 -123.5t51 -123.5t125 -50.5q42 0 81 19zM2240 0v527q-65 -40 -144.5 -84t-237.5 -117t-329.5 -137.5t-417.5 -134.5t-504 -118h1569 q26 0 45 19t19 45zM1389 757q0 75 -53 128t-128 53t-128 -53t-53 -128t53 -128t128 -53t128 53t53 128zM1541 584l144 342h-71l-90 -224l-89 224h-71l142 -342h35zM1714 593h184v56h-119v90h115v56h-115v74h119v57h-184v-333zM2105 593h80l-105 140q76 16 76 94q0 47 -31 73 t-87 26h-97v-333h65v133h9zM2304 1274v-1268q0 -56 -38.5 -95t-93.5 -39h-2040q-55 0 -93.5 39t-38.5 95v1268q0 56 38.5 95t93.5 39h2040q55 0 93.5 -39t38.5 -95z" />
<glyph unicode="&#xf1f3;" horiz-adv-x="2304" d="M119 854h89l-45 108zM740 328l74 79l-70 79h-163v-49h142v-55h-142v-54h159zM898 406l99 -110v217zM1186 453q0 33 -40 33h-84v-69h83q41 0 41 36zM1475 457q0 29 -42 29h-82v-61h81q43 0 43 32zM1197 923q0 29 -42 29h-82v-60h81q43 0 43 31zM1656 854h89l-44 108z M699 1009v-271h-66v212l-94 -212h-57l-94 212v-212h-132l-25 60h-135l-25 -60h-70l116 271h96l110 -257v257h106l85 -184l77 184h108zM1255 453q0 -20 -5.5 -35t-14 -25t-22.5 -16.5t-26 -10t-31.5 -4.5t-31.5 -1t-32.5 0.5t-29.5 0.5v-91h-126l-80 90l-83 -90h-256v271h260 l80 -89l82 89h207q109 0 109 -89zM964 794v-56h-217v271h217v-57h-152v-49h148v-55h-148v-54h152zM2304 235v-229q0 -55 -38.5 -94.5t-93.5 -39.5h-2040q-55 0 -93.5 39.5t-38.5 94.5v678h111l25 61h55l25 -61h218v46l19 -46h113l20 47v-47h541v99l10 1q10 0 10 -14v-86h279 v23q23 -12 55 -18t52.5 -6.5t63 0.5t51.5 1l25 61h56l25 -61h227v58l34 -58h182v378h-180v-44l-25 44h-185v-44l-23 44h-249q-69 0 -109 -22v22h-172v-22q-24 22 -73 22h-628l-43 -97l-43 97h-198v-44l-22 44h-169l-78 -179v391q0 55 38.5 94.5t93.5 39.5h2040 q55 0 93.5 -39.5t38.5 -94.5v-678h-120q-51 0 -81 -22v22h-177q-55 0 -78 -22v22h-316v-22q-31 22 -87 22h-209v-22q-23 22 -91 22h-234l-54 -58l-50 58h-349v-378h343l55 59l52 -59h211v89h21q59 0 90 13v-102h174v99h8q8 0 10 -2t2 -10v-87h529q57 0 88 24v-24h168 q60 0 95 17zM1546 469q0 -23 -12 -43t-34 -29q25 -9 34 -26t9 -46v-54h-65v45q0 33 -12 43.5t-46 10.5h-69v-99h-65v271h154q48 0 77 -15t29 -58zM1269 936q0 -24 -12.5 -44t-33.5 -29q26 -9 34.5 -25.5t8.5 -46.5v-53h-65q0 9 0.5 26.5t0 25t-3 18.5t-8.5 16t-17.5 8.5 t-29.5 3.5h-70v-98h-64v271l153 -1q49 0 78 -14.5t29 -57.5zM1798 327v-56h-216v271h216v-56h-151v-49h148v-55h-148v-54zM1372 1009v-271h-66v271h66zM2065 357q0 -86 -102 -86h-126v58h126q34 0 34 25q0 16 -17 21t-41.5 5t-49.5 3.5t-42 22.5t-17 55q0 39 26 60t66 21 h130v-57h-119q-36 0 -36 -25q0 -16 17.5 -20.5t42 -4t49 -2.5t42 -21.5t17.5 -54.5zM2304 407v-101q-24 -35 -88 -35h-125v58h125q33 0 33 25q0 13 -12.5 19t-31 5.5t-40 2t-40 8t-31 24t-12.5 48.5q0 39 26.5 60t66.5 21h129v-57h-118q-36 0 -36 -25q0 -20 29 -22t68.5 -5 t56.5 -26zM2139 1008v-270h-92l-122 203v-203h-132l-26 60h-134l-25 -60h-75q-129 0 -129 133q0 138 133 138h63v-59q-7 0 -28 1t-28.5 0.5t-23 -2t-21.5 -6.5t-14.5 -13.5t-11.5 -23t-3 -33.5q0 -38 13.5 -58t49.5 -20h29l92 213h97l109 -256v256h99l114 -188v188h66z" />
<glyph unicode="&#xf1f4;" horiz-adv-x="2304" d="M745 630q0 -37 -25.5 -61.5t-62.5 -24.5q-29 0 -46.5 16t-17.5 44q0 37 25 62.5t62 25.5q28 0 46.5 -16.5t18.5 -45.5zM1530 779q0 -42 -22 -57t-66 -15l-32 -1l17 107q2 11 13 11h18q22 0 35 -2t25 -12.5t12 -30.5zM1881 630q0 -36 -25.5 -61t-61.5 -25q-29 0 -47 16 t-18 44q0 37 25 62.5t62 25.5q28 0 46.5 -16.5t18.5 -45.5zM513 801q0 59 -38.5 85.5t-100.5 26.5h-160q-19 0 -21 -19l-65 -408q-1 -6 3 -11t10 -5h76q20 0 22 19l18 110q1 8 7 13t15 6.5t17 1.5t19 -1t14 -1q86 0 135 48.5t49 134.5zM822 489l41 261q1 6 -3 11t-10 5h-76 q-14 0 -17 -33q-27 40 -95 40q-72 0 -122.5 -54t-50.5 -127q0 -59 34.5 -94t92.5 -35q28 0 58 12t48 32q-4 -12 -4 -21q0 -16 13 -16h69q19 0 22 19zM1269 752q0 5 -4 9.5t-9 4.5h-77q-11 0 -18 -10l-106 -156l-44 150q-5 16 -22 16h-75q-5 0 -9 -4.5t-4 -9.5q0 -2 19.5 -59 t42 -123t23.5 -70q-82 -112 -82 -120q0 -13 13 -13h77q11 0 18 10l255 368q2 2 2 7zM1649 801q0 59 -38.5 85.5t-100.5 26.5h-159q-20 0 -22 -19l-65 -408q-1 -6 3 -11t10 -5h82q12 0 16 13l18 116q1 8 7 13t15 6.5t17 1.5t19 -1t14 -1q86 0 135 48.5t49 134.5zM1958 489 l41 261q1 6 -3 11t-10 5h-76q-14 0 -17 -33q-26 40 -95 40q-72 0 -122.5 -54t-50.5 -127q0 -59 34.5 -94t92.5 -35q29 0 59 12t47 32q0 -1 -2 -9t-2 -12q0 -16 13 -16h69q19 0 22 19zM2176 898v1q0 14 -13 14h-74q-11 0 -13 -11l-65 -416l-1 -2q0 -5 4 -9.5t10 -4.5h66 q19 0 21 19zM392 764q-5 -35 -26 -46t-60 -11l-33 -1l17 107q2 11 13 11h19q40 0 58 -11.5t12 -48.5zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf1f5;" horiz-adv-x="2304" d="M1597 633q0 -69 -21 -106q-19 -35 -52 -35q-23 0 -41 9v224q29 30 57 30q57 0 57 -122zM2035 669h-110q6 98 56 98q51 0 54 -98zM476 534q0 59 -33 91.5t-101 57.5q-36 13 -52 24t-16 25q0 26 38 26q58 0 124 -33l18 112q-67 32 -149 32q-77 0 -123 -38q-48 -39 -48 -109 q0 -58 32.5 -90.5t99.5 -56.5q39 -14 54.5 -25.5t15.5 -27.5q0 -31 -48 -31q-29 0 -70 12.5t-72 30.5l-18 -113q72 -41 168 -41q81 0 129 37q51 41 51 117zM771 749l19 111h-96v135l-129 -21l-18 -114l-46 -8l-17 -103h62v-219q0 -84 44 -120q38 -30 111 -30q32 0 79 11v118 q-32 -7 -44 -7q-42 0 -42 50v197h77zM1087 724v139q-15 3 -28 3q-32 0 -55.5 -16t-33.5 -46l-10 56h-131v-471h150v306q26 31 82 31q16 0 26 -2zM1124 389h150v471h-150v-471zM1746 638q0 122 -45 179q-40 52 -111 52q-64 0 -117 -56l-8 47h-132v-645l150 25v151 q36 -11 68 -11q83 0 134 56q61 65 61 202zM1278 986q0 33 -23 56t-56 23t-56 -23t-23 -56t23 -56.5t56 -23.5t56 23.5t23 56.5zM2176 629q0 113 -48 176q-50 64 -144 64q-96 0 -151.5 -66t-55.5 -180q0 -128 63 -188q55 -55 161 -55q101 0 160 40l-16 103q-57 -31 -128 -31 q-43 0 -63 19q-23 19 -28 66h248q2 14 2 52zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf1f6;" horiz-adv-x="2048" d="M1558 684q61 -356 298 -556q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-180.5 74.5t-75.5 180.5zM1024 -176q16 0 16 16t-16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5zM2026 1424q8 -10 7.5 -23.5t-10.5 -22.5 l-1872 -1622q-10 -8 -23.5 -7t-21.5 11l-84 96q-8 10 -7.5 23.5t10.5 21.5l186 161q-19 32 -19 66q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q124 -18 219 -82.5t148 -157.5 l418 363q10 8 23.5 7t21.5 -11z" />
<glyph unicode="&#xf1f7;" horiz-adv-x="2048" d="M1040 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM503 315l877 760q-42 88 -132.5 146.5t-223.5 58.5q-93 0 -169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -384 -137 -645zM1856 128 q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-180.5 74.5t-75.5 180.5l149 129h757q-166 187 -227 459l111 97q61 -356 298 -556zM1942 1520l84 -96q8 -10 7.5 -23.5t-10.5 -22.5l-1872 -1622q-10 -8 -23.5 -7t-21.5 11l-84 96q-8 10 -7.5 23.5t10.5 21.5l186 161 q-19 32 -19 66q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q124 -18 219 -82.5t148 -157.5l418 363q10 8 23.5 7t21.5 -11z" />
<glyph unicode="&#xf1f8;" horiz-adv-x="1408" d="M512 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM768 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1024 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704 q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167 q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf1f9;" d="M1150 462v-109q0 -50 -36.5 -89t-94 -60.5t-118 -32.5t-117.5 -11q-205 0 -342.5 139t-137.5 346q0 203 136 339t339 136q34 0 75.5 -4.5t93 -18t92.5 -34t69 -56.5t28 -81v-109q0 -16 -16 -16h-118q-16 0 -16 16v70q0 43 -65.5 67.5t-137.5 24.5q-140 0 -228.5 -91.5 t-88.5 -237.5q0 -151 91.5 -249.5t233.5 -98.5q68 0 138 24t70 66v70q0 7 4.5 11.5t10.5 4.5h119q6 0 11 -4.5t5 -11.5zM768 1280q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf1fa;" d="M972 761q0 108 -53.5 169t-147.5 61q-63 0 -124 -30.5t-110 -84.5t-79.5 -137t-30.5 -180q0 -112 53.5 -173t150.5 -61q96 0 176 66.5t122.5 166t42.5 203.5zM1536 640q0 -111 -37 -197t-98.5 -135t-131.5 -74.5t-145 -27.5q-6 0 -15.5 -0.5t-16.5 -0.5q-95 0 -142 53 q-28 33 -33 83q-52 -66 -131.5 -110t-173.5 -44q-161 0 -249.5 95.5t-88.5 269.5q0 157 66 290t179 210.5t246 77.5q87 0 155 -35.5t106 -99.5l2 19l11 56q1 6 5.5 12t9.5 6h118q5 0 13 -11q5 -5 3 -16l-120 -614q-5 -24 -5 -48q0 -39 12.5 -52t44.5 -13q28 1 57 5.5t73 24 t77 50t57 89.5t24 137q0 292 -174 466t-466 174q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51q228 0 405 144q11 9 24 8t21 -12l41 -49q8 -12 7 -24q-2 -13 -12 -22q-102 -83 -227.5 -128t-258.5 -45q-156 0 -298 61 t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q344 0 556 -212t212 -556z" />
<glyph unicode="&#xf1fb;" horiz-adv-x="1792" d="M1698 1442q94 -94 94 -226.5t-94 -225.5l-225 -223l104 -104q10 -10 10 -23t-10 -23l-210 -210q-10 -10 -23 -10t-23 10l-105 105l-603 -603q-37 -37 -90 -37h-203l-256 -128l-64 64l128 256v203q0 53 37 90l603 603l-105 105q-10 10 -10 23t10 23l210 210q10 10 23 10 t23 -10l104 -104l223 225q93 94 225.5 94t226.5 -94zM512 64l576 576l-192 192l-576 -576v-192h192z" />
<glyph unicode="&#xf1fc;" horiz-adv-x="1792" d="M1615 1536q70 0 122.5 -46.5t52.5 -116.5q0 -63 -45 -151q-332 -629 -465 -752q-97 -91 -218 -91q-126 0 -216.5 92.5t-90.5 219.5q0 128 92 212l638 579q59 54 130 54zM706 502q39 -76 106.5 -130t150.5 -76l1 -71q4 -213 -129.5 -347t-348.5 -134q-123 0 -218 46.5 t-152.5 127.5t-86.5 183t-29 220q7 -5 41 -30t62 -44.5t59 -36.5t46 -17q41 0 55 37q25 66 57.5 112.5t69.5 76t88 47.5t103 25.5t125 10.5z" />
<glyph unicode="&#xf1fd;" horiz-adv-x="1792" d="M1792 128v-384h-1792v384q45 0 85 14t59 27.5t47 37.5q30 27 51.5 38t56.5 11t55.5 -11t52.5 -38q29 -25 47 -38t58 -27t86 -14q45 0 85 14.5t58 27t48 37.5q21 19 32.5 27t31 15t43.5 7q35 0 56.5 -11t51.5 -38q28 -24 47 -37.5t59 -27.5t85 -14t85 14t59 27.5t47 37.5 q30 27 51.5 38t56.5 11q34 0 55.5 -11t51.5 -38q28 -24 47 -37.5t59 -27.5t85 -14zM1792 448v-192q-35 0 -55.5 11t-52.5 38q-29 25 -47 38t-58 27t-85 14q-46 0 -86 -14t-58 -27t-47 -38q-22 -19 -33 -27t-31 -15t-44 -7q-35 0 -56.5 11t-51.5 38q-29 25 -47 38t-58 27 t-86 14q-45 0 -85 -14.5t-58 -27t-48 -37.5q-21 -19 -32.5 -27t-31 -15t-43.5 -7q-35 0 -56.5 11t-51.5 38q-28 24 -47 37.5t-59 27.5t-85 14q-46 0 -86 -14t-58 -27t-47 -38q-30 -27 -51.5 -38t-56.5 -11v192q0 80 56 136t136 56h64v448h256v-448h256v448h256v-448h256v448 h256v-448h64q80 0 136 -56t56 -136zM512 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150zM1024 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51 t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150zM1536 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150z" />
<glyph unicode="&#xf1fe;" horiz-adv-x="2048" d="M2048 0v-128h-2048v1536h128v-1408h1920zM1664 1024l256 -896h-1664v576l448 576l576 -576z" />
<glyph unicode="&#xf200;" horiz-adv-x="1792" d="M768 646l546 -546q-106 -108 -247.5 -168t-298.5 -60q-209 0 -385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103v-762zM955 640h773q0 -157 -60 -298.5t-168 -247.5zM1664 768h-768v768q209 0 385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf201;" horiz-adv-x="2048" d="M2048 0v-128h-2048v1536h128v-1408h1920zM1920 1248v-435q0 -21 -19.5 -29.5t-35.5 7.5l-121 121l-633 -633q-10 -10 -23 -10t-23 10l-233 233l-416 -416l-192 192l585 585q10 10 23 10t23 -10l233 -233l464 464l-121 121q-16 16 -7.5 35.5t29.5 19.5h435q14 0 23 -9 t9 -23z" />
<glyph unicode="&#xf202;" horiz-adv-x="1792" d="M1292 832q0 -6 10 -41q10 -29 25 -49.5t41 -34t44 -20t55 -16.5q325 -91 325 -332q0 -146 -105.5 -242.5t-254.5 -96.5q-59 0 -111.5 18.5t-91.5 45.5t-77 74.5t-63 87.5t-53.5 103.5t-43.5 103t-39.5 106.5t-35.5 95q-32 81 -61.5 133.5t-73.5 96.5t-104 64t-142 20 q-96 0 -183 -55.5t-138 -144.5t-51 -185q0 -160 106.5 -279.5t263.5 -119.5q177 0 258 95q56 63 83 116l84 -152q-15 -34 -44 -70l1 -1q-131 -152 -388 -152q-147 0 -269.5 79t-190.5 207.5t-68 274.5q0 105 43.5 206t116 176.5t172 121.5t204.5 46q87 0 159 -19t123.5 -50 t95 -80t72.5 -99t58.5 -117t50.5 -124.5t50 -130.5t55 -127q96 -200 233 -200q81 0 138.5 48.5t57.5 128.5q0 42 -19 72t-50.5 46t-72.5 31.5t-84.5 27t-87.5 34t-81 52t-65 82t-39 122.5q-3 16 -3 33q0 110 87.5 192t198.5 78q78 -3 120.5 -14.5t90.5 -53.5h-1 q12 -11 23 -24.5t26 -36t19 -27.5l-129 -99q-26 49 -54 70v1q-23 21 -97 21q-49 0 -84 -33t-35 -83z" />
<glyph unicode="&#xf203;" d="M1432 484q0 173 -234 239q-35 10 -53 16.5t-38 25t-29 46.5q0 2 -2 8.5t-3 12t-1 7.5q0 36 24.5 59.5t60.5 23.5q54 0 71 -15h-1q20 -15 39 -51l93 71q-39 54 -49 64q-33 29 -67.5 39t-85.5 10q-80 0 -142 -57.5t-62 -137.5q0 -7 2 -23q16 -96 64.5 -140t148.5 -73 q29 -8 49 -15.5t45 -21.5t38.5 -34.5t13.5 -46.5v-5q1 -58 -40.5 -93t-100.5 -35q-97 0 -167 144q-23 47 -51.5 121.5t-48 125.5t-54 110.5t-74 95.5t-103.5 60.5t-147 24.5q-101 0 -192 -56t-144 -148t-50 -192v-1q4 -108 50.5 -199t133.5 -147.5t196 -56.5q186 0 279 110 q20 27 31 51l-60 109q-42 -80 -99 -116t-146 -36q-115 0 -191 87t-76 204q0 105 82 189t186 84q112 0 170 -53.5t104 -172.5q8 -21 25.5 -68.5t28.5 -76.5t31.5 -74.5t38.5 -74t45.5 -62.5t55.5 -53.5t66 -33t80 -13.5q107 0 183 69.5t76 174.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf204;" horiz-adv-x="2048" d="M1152 640q0 104 -40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5t-198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5zM1920 640q0 104 -40.5 198.5 t-109.5 163.5t-163.5 109.5t-198.5 40.5h-386q119 -90 188.5 -224t69.5 -288t-69.5 -288t-188.5 -224h386q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5zM2048 640q0 -130 -51 -248.5t-136.5 -204t-204 -136.5t-248.5 -51h-768q-130 0 -248.5 51t-204 136.5 t-136.5 204t-51 248.5t51 248.5t136.5 204t204 136.5t248.5 51h768q130 0 248.5 -51t204 -136.5t136.5 -204t51 -248.5z" />
<glyph unicode="&#xf205;" horiz-adv-x="2048" d="M0 640q0 130 51 248.5t136.5 204t204 136.5t248.5 51h768q130 0 248.5 -51t204 -136.5t136.5 -204t51 -248.5t-51 -248.5t-136.5 -204t-204 -136.5t-248.5 -51h-768q-130 0 -248.5 51t-204 136.5t-136.5 204t-51 248.5zM1408 128q104 0 198.5 40.5t163.5 109.5 t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5t-198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5z" />
<glyph unicode="&#xf206;" horiz-adv-x="2304" d="M762 384h-314q-40 0 -57.5 35t6.5 67l188 251q-65 31 -137 31q-132 0 -226 -94t-94 -226t94 -226t226 -94q115 0 203 72.5t111 183.5zM576 512h186q-18 85 -75 148zM1056 512l288 384h-480l-99 -132q105 -103 126 -252h165zM2176 448q0 132 -94 226t-226 94 q-60 0 -121 -24l174 -260q15 -23 10 -49t-27 -40q-15 -11 -36 -11q-35 0 -53 29l-174 260q-93 -95 -93 -225q0 -132 94 -226t226 -94t226 94t94 226zM2304 448q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 97 39.5 183.5t109.5 149.5l-65 98l-353 -469 q-18 -26 -51 -26h-197q-23 -164 -149 -274t-294 -110q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q114 0 215 -55l137 183h-224q-26 0 -45 19t-19 45t19 45t45 19h384v-128h435l-85 128h-222q-26 0 -45 19t-19 45t19 45t45 19h256q33 0 53 -28l267 -400 q91 44 192 44q185 0 316.5 -131.5t131.5 -316.5z" />
<glyph unicode="&#xf207;" d="M384 320q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1408 320q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1362 716l-72 384q-5 23 -22.5 37.5t-40.5 14.5 h-918q-23 0 -40.5 -14.5t-22.5 -37.5l-72 -384q-5 -30 14 -53t49 -23h1062q30 0 49 23t14 53zM1136 1328q0 20 -14 34t-34 14h-640q-20 0 -34 -14t-14 -34t14 -34t34 -14h640q20 0 34 14t14 34zM1536 603v-603h-128v-128q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5v128h-768v-128q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5v128h-128v603q0 112 25 223l103 454q9 78 97.5 137t230 89t312.5 30t312.5 -30t230 -89t97.5 -137l105 -454q23 -102 23 -223z" />
<glyph unicode="&#xf208;" horiz-adv-x="2048" d="M1463 704q0 -35 -25 -60.5t-61 -25.5h-702q-36 0 -61 25.5t-25 60.5t25 60.5t61 25.5h702q36 0 61 -25.5t25 -60.5zM1677 704q0 86 -23 170h-982q-36 0 -61 25t-25 60q0 36 25 61t61 25h908q-88 143 -235 227t-320 84q-177 0 -327.5 -87.5t-238 -237.5t-87.5 -327 q0 -86 23 -170h982q36 0 61 -25t25 -60q0 -36 -25 -61t-61 -25h-908q88 -143 235.5 -227t320.5 -84q132 0 253 51.5t208 139t139 208t52 253.5zM2048 959q0 -35 -25 -60t-61 -25h-131q17 -85 17 -170q0 -167 -65.5 -319.5t-175.5 -263t-262.5 -176t-319.5 -65.5 q-246 0 -448.5 133t-301.5 350h-189q-36 0 -61 25t-25 61q0 35 25 60t61 25h132q-17 85 -17 170q0 167 65.5 319.5t175.5 263t262.5 176t320.5 65.5q245 0 447.5 -133t301.5 -350h188q36 0 61 -25t25 -61z" />
<glyph unicode="&#xf209;" horiz-adv-x="1280" d="M953 1158l-114 -328l117 -21q165 451 165 518q0 56 -38 56q-57 0 -130 -225zM654 471l33 -88q37 42 71 67l-33 5.5t-38.5 7t-32.5 8.5zM362 1367q0 -98 159 -521q18 10 49 10q15 0 75 -5l-121 351q-75 220 -123 220q-19 0 -29 -17.5t-10 -37.5zM283 608q0 -36 51.5 -119 t117.5 -153t100 -70q14 0 25.5 13t11.5 27q0 24 -32 102q-13 32 -32 72t-47.5 89t-61.5 81t-62 32q-20 0 -45.5 -27t-25.5 -47zM125 273q0 -41 25 -104q59 -145 183.5 -227t281.5 -82q227 0 382 170q152 169 152 427q0 43 -1 67t-11.5 62t-30.5 56q-56 49 -211.5 75.5 t-270.5 26.5q-37 0 -49 -11q-12 -5 -12 -35q0 -34 21.5 -60t55.5 -40t77.5 -23.5t87.5 -11.5t85 -4t70 0h23q24 0 40 -19q15 -19 19 -55q-28 -28 -96 -54q-61 -22 -93 -46q-64 -46 -108.5 -114t-44.5 -137q0 -31 18.5 -88.5t18.5 -87.5l-3 -12q-4 -12 -4 -14 q-137 10 -146 216q-8 -2 -41 -2q2 -7 2 -21q0 -53 -40.5 -89.5t-94.5 -36.5q-82 0 -166.5 78t-84.5 159q0 34 33 67q52 -64 60 -76q77 -104 133 -104q12 0 26.5 8.5t14.5 20.5q0 34 -87.5 145t-116.5 111q-43 0 -70 -44.5t-27 -90.5zM11 264q0 101 42.5 163t136.5 88 q-28 74 -28 104q0 62 61 123t122 61q29 0 70 -15q-163 462 -163 567q0 80 41 130.5t119 50.5q131 0 325 -581q6 -17 8 -23q6 16 29 79.5t43.5 118.5t54 127.5t64.5 123t70.5 86.5t76.5 36q71 0 112 -49t41 -122q0 -108 -159 -550q61 -15 100.5 -46t58.5 -78t26 -93.5 t7 -110.5q0 -150 -47 -280t-132 -225t-211 -150t-278 -55q-111 0 -223 42q-149 57 -258 191.5t-109 286.5z" />
<glyph unicode="&#xf20a;" horiz-adv-x="2048" d="M785 528h207q-14 -158 -98.5 -248.5t-214.5 -90.5q-162 0 -254.5 116t-92.5 316q0 194 93 311.5t233 117.5q148 0 232 -87t97 -247h-203q-5 64 -35.5 99t-81.5 35q-57 0 -88.5 -60.5t-31.5 -177.5q0 -48 5 -84t18 -69.5t40 -51.5t66 -18q95 0 109 139zM1497 528h206 q-14 -158 -98 -248.5t-214 -90.5q-162 0 -254.5 116t-92.5 316q0 194 93 311.5t233 117.5q148 0 232 -87t97 -247h-204q-4 64 -35 99t-81 35q-57 0 -88.5 -60.5t-31.5 -177.5q0 -48 5 -84t18 -69.5t39.5 -51.5t65.5 -18q49 0 76.5 38t33.5 101zM1856 647q0 207 -15.5 307 t-60.5 161q-6 8 -13.5 14t-21.5 15t-16 11q-86 63 -697 63q-625 0 -710 -63q-5 -4 -17.5 -11.5t-21 -14t-14.5 -14.5q-45 -60 -60 -159.5t-15 -308.5q0 -208 15 -307.5t60 -160.5q6 -8 15 -15t20.5 -14t17.5 -12q44 -33 239.5 -49t470.5 -16q610 0 697 65q5 4 17 11t20.5 14 t13.5 16q46 60 61 159t15 309zM2048 1408v-1536h-2048v1536h2048z" />
<glyph unicode="&#xf20b;" d="M992 912v-496q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v496q0 112 -80 192t-192 80h-272v-1152q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v1344q0 14 9 23t23 9h464q135 0 249 -66.5t180.5 -180.5t66.5 -249zM1376 1376v-880q0 -135 -66.5 -249t-180.5 -180.5 t-249 -66.5h-464q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h160q14 0 23 -9t9 -23v-768h272q112 0 192 80t80 192v880q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" />
<glyph unicode="&#xf20c;" d="M1311 694v-114q0 -24 -13.5 -38t-37.5 -14h-202q-24 0 -38 14t-14 38v114q0 24 14 38t38 14h202q24 0 37.5 -14t13.5 -38zM821 464v250q0 53 -32.5 85.5t-85.5 32.5h-133q-68 0 -96 -52q-28 52 -96 52h-130q-53 0 -85.5 -32.5t-32.5 -85.5v-250q0 -22 21 -22h55 q22 0 22 22v230q0 24 13.5 38t38.5 14h94q24 0 38 -14t14 -38v-230q0 -22 21 -22h54q22 0 22 22v230q0 24 14 38t38 14h97q24 0 37.5 -14t13.5 -38v-230q0 -22 22 -22h55q21 0 21 22zM1410 560v154q0 53 -33 85.5t-86 32.5h-264q-53 0 -86 -32.5t-33 -85.5v-410 q0 -21 22 -21h55q21 0 21 21v180q31 -42 94 -42h191q53 0 86 32.5t33 85.5zM1536 1176v-1072q0 -96 -68 -164t-164 -68h-1072q-96 0 -164 68t-68 164v1072q0 96 68 164t164 68h1072q96 0 164 -68t68 -164z" />
<glyph unicode="&#xf20d;" d="M915 450h-294l147 551zM1001 128h311l-324 1024h-440l-324 -1024h311l383 314zM1536 1120v-960q0 -118 -85 -203t-203 -85h-960q-118 0 -203 85t-85 203v960q0 118 85 203t203 85h960q118 0 203 -85t85 -203z" />
<glyph unicode="&#xf20e;" horiz-adv-x="2048" d="M2048 641q0 -21 -13 -36.5t-33 -19.5l-205 -356q3 -9 3 -18q0 -20 -12.5 -35.5t-32.5 -19.5l-193 -337q3 -8 3 -16q0 -23 -16.5 -40t-40.5 -17q-25 0 -41 18h-400q-17 -20 -43 -20t-43 20h-399q-17 -20 -43 -20q-23 0 -40 16.5t-17 40.5q0 8 4 20l-193 335 q-20 4 -32.5 19.5t-12.5 35.5q0 9 3 18l-206 356q-20 5 -32.5 20.5t-12.5 35.5q0 21 13.5 36.5t33.5 19.5l199 344q0 1 -0.5 3t-0.5 3q0 36 34 51l209 363q-4 10 -4 18q0 24 17 40.5t40 16.5q26 0 44 -21h396q16 21 43 21t43 -21h398q18 21 44 21q23 0 40 -16.5t17 -40.5 q0 -6 -4 -18l207 -358q23 -1 39 -17.5t16 -38.5q0 -13 -7 -27l187 -324q19 -4 31.5 -19.5t12.5 -35.5zM1063 -158h389l-342 354h-143l-342 -354h360q18 16 39 16t39 -16zM112 654q1 -4 1 -13q0 -10 -2 -15l208 -360q2 0 4.5 -1t5.5 -2.5l5 -2.5l188 199v347l-187 194 q-13 -8 -29 -10zM986 1438h-388l190 -200l554 200h-280q-16 -16 -38 -16t-38 16zM1689 226q1 6 5 11l-64 68l-17 -79h76zM1583 226l22 105l-252 266l-296 -307l63 -64h463zM1495 -142l16 28l65 310h-427l333 -343q8 4 13 5zM578 -158h5l342 354h-373v-335l4 -6q14 -5 22 -13 zM552 226h402l64 66l-309 321l-157 -166v-221zM359 226h163v189l-168 -177q4 -8 5 -12zM358 1051q0 -1 0.5 -2t0.5 -2q0 -16 -8 -29l171 -177v269zM552 1121v-311l153 -157l297 314l-223 236zM556 1425l-4 -8v-264l205 74l-191 201q-6 -2 -10 -3zM1447 1438h-16l-621 -224 l213 -225zM1023 946l-297 -315l311 -319l296 307zM688 634l-136 141v-284zM1038 270l-42 -44h85zM1374 618l238 -251l132 624l-3 5l-1 1zM1718 1018q-8 13 -8 29v2l-216 376q-5 1 -13 5l-437 -463l310 -327zM522 1142v223l-163 -282zM522 196h-163l163 -283v283zM1607 196 l-48 -227l130 227h-82zM1729 266l207 361q-2 10 -2 14q0 1 3 16l-171 296l-129 -612l77 -82q5 3 15 7z" />
<glyph unicode="&#xf210;" d="M0 856q0 131 91.5 226.5t222.5 95.5h742l352 358v-1470q0 -132 -91.5 -227t-222.5 -95h-780q-131 0 -222.5 95t-91.5 227v790zM1232 102l-176 180v425q0 46 -32 79t-78 33h-484q-46 0 -78 -33t-32 -79v-492q0 -46 32.5 -79.5t77.5 -33.5h770z" />
<glyph unicode="&#xf211;" d="M934 1386q-317 -121 -556 -362.5t-358 -560.5q-20 89 -20 176q0 208 102.5 384.5t278.5 279t384 102.5q82 0 169 -19zM1203 1267q93 -65 164 -155q-389 -113 -674.5 -400.5t-396.5 -676.5q-93 72 -155 162q112 386 395 671t667 399zM470 -67q115 356 379.5 622t619.5 384 q40 -92 54 -195q-292 -120 -516 -345t-343 -518q-103 14 -194 52zM1536 -125q-193 50 -367 115q-135 -84 -290 -107q109 205 274 370.5t369 275.5q-21 -152 -101 -284q65 -175 115 -370z" />
<glyph unicode="&#xf212;" horiz-adv-x="2048" d="M1893 1144l155 -1272q-131 0 -257 57q-200 91 -393 91q-226 0 -374 -148q-148 148 -374 148q-193 0 -393 -91q-128 -57 -252 -57h-5l155 1272q224 127 482 127q233 0 387 -106q154 106 387 106q258 0 482 -127zM1398 157q129 0 232 -28.5t260 -93.5l-124 1021 q-171 78 -368 78q-224 0 -374 -141q-150 141 -374 141q-197 0 -368 -78l-124 -1021q105 43 165.5 65t148.5 39.5t178 17.5q202 0 374 -108q172 108 374 108zM1438 191l-55 907q-211 -4 -359 -155q-152 155 -374 155q-176 0 -336 -66l-114 -941q124 51 228.5 76t221.5 25 q209 0 374 -102q172 107 374 102z" />
<glyph unicode="&#xf213;" horiz-adv-x="2048" d="M1500 165v733q0 21 -15 36t-35 15h-93q-20 0 -35 -15t-15 -36v-733q0 -20 15 -35t35 -15h93q20 0 35 15t15 35zM1216 165v531q0 20 -15 35t-35 15h-101q-20 0 -35 -15t-15 -35v-531q0 -20 15 -35t35 -15h101q20 0 35 15t15 35zM924 165v429q0 20 -15 35t-35 15h-101 q-20 0 -35 -15t-15 -35v-429q0 -20 15 -35t35 -15h101q20 0 35 15t15 35zM632 165v362q0 20 -15 35t-35 15h-101q-20 0 -35 -15t-15 -35v-362q0 -20 15 -35t35 -15h101q20 0 35 15t15 35zM2048 311q0 -166 -118 -284t-284 -118h-1244q-166 0 -284 118t-118 284 q0 116 63 214.5t168 148.5q-10 34 -10 73q0 113 80.5 193.5t193.5 80.5q102 0 180 -67q45 183 194 300t338 117q149 0 275 -73.5t199.5 -199.5t73.5 -275q0 -66 -14 -122q135 -33 221 -142.5t86 -247.5z" />
<glyph unicode="&#xf214;" d="M0 1536h1536v-1392l-776 -338l-760 338v1392zM1436 209v926h-1336v-926l661 -294zM1436 1235v201h-1336v-201h1336zM181 937v-115h-37v115h37zM181 789v-115h-37v115h37zM181 641v-115h-37v115h37zM181 493v-115h-37v115h37zM181 345v-115h-37v115h37zM207 202l15 34 l105 -47l-15 -33zM343 142l15 34l105 -46l-15 -34zM478 82l15 34l105 -46l-15 -34zM614 23l15 33l104 -46l-15 -34zM797 10l105 46l15 -33l-105 -47zM932 70l105 46l15 -34l-105 -46zM1068 130l105 46l15 -34l-105 -46zM1203 189l105 47l15 -34l-105 -46zM259 1389v-36h-114 v36h114zM421 1389v-36h-115v36h115zM583 1389v-36h-115v36h115zM744 1389v-36h-114v36h114zM906 1389v-36h-114v36h114zM1068 1389v-36h-115v36h115zM1230 1389v-36h-115v36h115zM1391 1389v-36h-114v36h114zM181 1049v-79h-37v115h115v-36h-78zM421 1085v-36h-115v36h115z M583 1085v-36h-115v36h115zM744 1085v-36h-114v36h114zM906 1085v-36h-114v36h114zM1068 1085v-36h-115v36h115zM1230 1085v-36h-115v36h115zM1355 970v79h-78v36h115v-115h-37zM1355 822v115h37v-115h-37zM1355 674v115h37v-115h-37zM1355 526v115h37v-115h-37zM1355 378 v115h37v-115h-37zM1355 230v115h37v-115h-37zM760 265q-129 0 -221 91.5t-92 221.5q0 129 92 221t221 92q130 0 221.5 -92t91.5 -221q0 -130 -91.5 -221.5t-221.5 -91.5zM595 646q0 -36 19.5 -56.5t49.5 -25t64 -7t64 -2t49.5 -9t19.5 -30.5q0 -49 -112 -49q-97 0 -123 51 h-3l-31 -63q67 -42 162 -42q29 0 56.5 5t55.5 16t45.5 33t17.5 53q0 46 -27.5 69.5t-67.5 27t-79.5 3t-67 5t-27.5 25.5q0 21 20.5 33t40.5 15t41 3q34 0 70.5 -11t51.5 -34h3l30 58q-3 1 -21 8.5t-22.5 9t-19.5 7t-22 7t-20 4.5t-24 4t-23 1q-29 0 -56.5 -5t-54 -16.5 t-43 -34t-16.5 -53.5z" />
<glyph unicode="&#xf215;" horiz-adv-x="2048" d="M863 504q0 112 -79.5 191.5t-191.5 79.5t-191 -79.5t-79 -191.5t79 -191t191 -79t191.5 79t79.5 191zM1726 505q0 112 -79 191t-191 79t-191.5 -79t-79.5 -191q0 -113 79.5 -192t191.5 -79t191 79.5t79 191.5zM2048 1314v-1348q0 -44 -31.5 -75.5t-76.5 -31.5h-1832 q-45 0 -76.5 31.5t-31.5 75.5v1348q0 44 31.5 75.5t76.5 31.5h431q44 0 76 -31.5t32 -75.5v-161h754v161q0 44 32 75.5t76 31.5h431q45 0 76.5 -31.5t31.5 -75.5z" />
<glyph unicode="&#xf216;" horiz-adv-x="2048" d="M1430 953zM1690 749q148 0 253 -98.5t105 -244.5q0 -157 -109 -261.5t-267 -104.5q-85 0 -162 27.5t-138 73.5t-118 106t-109 126.5t-103.5 132.5t-108.5 126t-117 106t-136 73.5t-159 27.5q-154 0 -251.5 -91.5t-97.5 -244.5q0 -157 104 -250t263 -93q100 0 208 37.5 t193 98.5q5 4 21 18.5t30 24t22 9.5q14 0 24.5 -10.5t10.5 -24.5q0 -24 -60 -77q-101 -88 -234.5 -142t-260.5 -54q-133 0 -245.5 58t-180 165t-67.5 241q0 205 141.5 341t347.5 136q120 0 226.5 -43.5t185.5 -113t151.5 -153t139 -167.5t133.5 -153.5t149.5 -113 t172.5 -43.5q102 0 168.5 61.5t66.5 162.5q0 95 -64.5 159t-159.5 64q-30 0 -81.5 -18.5t-68.5 -18.5q-20 0 -35.5 15t-15.5 35q0 18 8.5 57t8.5 59q0 159 -107.5 263t-266.5 104q-58 0 -111.5 -18.5t-84 -40.5t-55.5 -40.5t-33 -18.5q-15 0 -25.5 10.5t-10.5 25.5 q0 19 25 46q59 67 147 103.5t182 36.5q191 0 318 -125.5t127 -315.5q0 -37 -4 -66q57 15 115 15z" />
<glyph unicode="&#xf217;" horiz-adv-x="1664" d="M1216 832q0 26 -19 45t-45 19h-128v128q0 26 -19 45t-45 19t-45 -19t-19 -45v-128h-128q-26 0 -45 -19t-19 -45t19 -45t45 -19h128v-128q0 -26 19 -45t45 -19t45 19t19 45v128h128q26 0 45 19t19 45zM640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920 q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf218;" horiz-adv-x="1664" d="M1280 832q0 26 -19 45t-45 19t-45 -19l-147 -146v293q0 26 -19 45t-45 19t-45 -19t-19 -45v-293l-147 146q-19 19 -45 19t-45 -19t-19 -45t19 -45l256 -256q19 -19 45 -19t45 19l256 256q19 19 19 45zM640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920 q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf219;" horiz-adv-x="2048" d="M212 768l623 -665l-300 665h-323zM1024 -4l349 772h-698zM538 896l204 384h-262l-288 -384h346zM1213 103l623 665h-323zM683 896h682l-204 384h-274zM1510 896h346l-288 384h-262zM1651 1382l384 -512q14 -18 13 -41.5t-17 -40.5l-960 -1024q-18 -20 -47 -20t-47 20 l-960 1024q-16 17 -17 40.5t13 41.5l384 512q18 26 51 26h1152q33 0 51 -26z" />
<glyph unicode="&#xf21a;" horiz-adv-x="2048" d="M1811 -19q19 19 45 19t45 -19l128 -128l-90 -90l-83 83l-83 -83q-18 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83 q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-128 128l90 90l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83q19 19 45 19t45 -19l83 -83l83 83 q19 19 45 19t45 -19l83 -83zM237 19q-19 -19 -45 -19t-45 19l-128 128l90 90l83 -82l83 82q19 19 45 19t45 -19l83 -82l64 64v293l-210 314q-17 26 -7 56.5t40 40.5l177 58v299h128v128h256v128h256v-128h256v-128h128v-299l177 -58q30 -10 40 -40.5t-7 -56.5l-210 -314 v-293l19 18q19 19 45 19t45 -19l83 -82l83 82q19 19 45 19t45 -19l128 -128l-90 -90l-83 83l-83 -83q-18 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83l-83 -83 q-19 -19 -45 -19t-45 19l-83 83l-83 -83q-19 -19 -45 -19t-45 19l-83 83zM640 1152v-128l384 128l384 -128v128h-128v128h-512v-128h-128z" />
<glyph unicode="&#xf21b;" d="M576 0l96 448l-96 128l-128 64zM832 0l128 640l-128 -64l-96 -128zM992 1010q-2 4 -4 6q-10 8 -96 8q-70 0 -167 -19q-7 -2 -21 -2t-21 2q-97 19 -167 19q-86 0 -96 -8q-2 -2 -4 -6q2 -18 4 -27q2 -3 7.5 -6.5t7.5 -10.5q2 -4 7.5 -20.5t7 -20.5t7.5 -17t8.5 -17t9 -14 t12 -13.5t14 -9.5t17.5 -8t20.5 -4t24.5 -2q36 0 59 12.5t32.5 30t14.5 34.5t11.5 29.5t17.5 12.5h12q11 0 17.5 -12.5t11.5 -29.5t14.5 -34.5t32.5 -30t59 -12.5q13 0 24.5 2t20.5 4t17.5 8t14 9.5t12 13.5t9 14t8.5 17t7.5 17t7 20.5t7.5 20.5q2 7 7.5 10.5t7.5 6.5 q2 9 4 27zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 61 4.5 118t19 125.5t37.5 123.5t63.5 103.5t93.5 74.5l-90 220h214q-22 64 -22 128q0 12 2 32q-194 40 -194 96q0 57 210 99q17 62 51.5 134t70.5 114q32 37 76 37q30 0 84 -31t84 -31t84 31 t84 31q44 0 76 -37q36 -42 70.5 -114t51.5 -134q210 -42 210 -99q0 -56 -194 -96q7 -81 -20 -160h214l-82 -225q63 -33 107.5 -96.5t65.5 -143.5t29 -151.5t8 -148.5z" />
<glyph unicode="&#xf21c;" horiz-adv-x="2304" d="M2301 500q12 -103 -22 -198.5t-99 -163.5t-158.5 -106t-196.5 -31q-161 11 -279.5 125t-134.5 274q-12 111 27.5 210.5t118.5 170.5l-71 107q-96 -80 -151 -194t-55 -244q0 -27 -18.5 -46.5t-45.5 -19.5h-256h-69q-23 -164 -149 -274t-294 -110q-185 0 -316.5 131.5 t-131.5 316.5t131.5 316.5t316.5 131.5q76 0 152 -27l24 45q-123 110 -304 110h-64q-26 0 -45 19t-19 45t19 45t45 19h128q78 0 145 -13.5t116.5 -38.5t71.5 -39.5t51 -36.5h512h115l-85 128h-222q-30 0 -49 22.5t-14 52.5q4 23 23 38t43 15h253q33 0 53 -28l70 -105 l114 114q19 19 46 19h101q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-179l115 -172q131 63 275 36q143 -26 244 -134.5t118 -253.5zM448 128q115 0 203 72.5t111 183.5h-314q-35 0 -55 31q-18 32 -1 63l147 277q-47 13 -91 13q-132 0 -226 -94t-94 -226t94 -226 t226 -94zM1856 128q132 0 226 94t94 226t-94 226t-226 94q-60 0 -121 -24l174 -260q15 -23 10 -49t-27 -40q-15 -11 -36 -11q-35 0 -53 29l-174 260q-93 -95 -93 -225q0 -132 94 -226t226 -94z" />
<glyph unicode="&#xf21d;" d="M1408 0q0 -63 -61.5 -113.5t-164 -81t-225 -46t-253.5 -15.5t-253.5 15.5t-225 46t-164 81t-61.5 113.5q0 49 33 88.5t91 66.5t118 44.5t131 29.5q26 5 48 -10.5t26 -41.5q5 -26 -10.5 -48t-41.5 -26q-58 -10 -106 -23.5t-76.5 -25.5t-48.5 -23.5t-27.5 -19.5t-8.5 -12 q3 -11 27 -26.5t73 -33t114 -32.5t160.5 -25t201.5 -10t201.5 10t160.5 25t114 33t73 33.5t27 27.5q-1 4 -8.5 11t-27.5 19t-48.5 23.5t-76.5 25t-106 23.5q-26 4 -41.5 26t-10.5 48q4 26 26 41.5t48 10.5q71 -12 131 -29.5t118 -44.5t91 -66.5t33 -88.5zM1024 896v-384 q0 -26 -19 -45t-45 -19h-64v-384q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v384h-64q-26 0 -45 19t-19 45v384q0 53 37.5 90.5t90.5 37.5h384q53 0 90.5 -37.5t37.5 -90.5zM928 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5 t158.5 -65.5t65.5 -158.5z" />
<glyph unicode="&#xf21e;" horiz-adv-x="1792" d="M1280 512h305q-5 -6 -10 -10.5t-9 -7.5l-3 -4l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-5 2 -21 20h369q22 0 39.5 13.5t22.5 34.5l70 281l190 -667q6 -20 23 -33t39 -13q21 0 38 13t23 33l146 485l56 -112q18 -35 57 -35zM1792 940q0 -145 -103 -300h-369l-111 221 q-8 17 -25.5 27t-36.5 8q-45 -5 -56 -46l-129 -430l-196 686q-6 20 -23.5 33t-39.5 13t-39 -13.5t-22 -34.5l-116 -464h-423q-103 155 -103 300q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124 t127 -344z" />
<glyph unicode="&#xf221;" horiz-adv-x="1280" d="M1152 960q0 -221 -147.5 -384.5t-364.5 -187.5v-260h224q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v260q-150 16 -271.5 103t-186 224t-52.5 292 q11 134 80.5 249t182 188t245.5 88q170 19 319 -54t236 -212t87 -306zM128 960q0 -185 131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5z" />
<glyph unicode="&#xf222;" d="M1472 1408q26 0 45 -19t19 -45v-416q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v262l-382 -383q126 -156 126 -359q0 -117 -45.5 -223.5t-123 -184t-184 -123t-223.5 -45.5t-223.5 45.5t-184 123t-123 184t-45.5 223.5t45.5 223.5t123 184t184 123t223.5 45.5 q203 0 359 -126l382 382h-261q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h416zM576 0q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
<glyph unicode="&#xf223;" horiz-adv-x="1280" d="M830 1220q145 -72 233.5 -210.5t88.5 -305.5q0 -221 -147.5 -384.5t-364.5 -187.5v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-217 24 -364.5 187.5 t-147.5 384.5q0 167 88.5 305.5t233.5 210.5q-165 96 -228 273q-6 16 3.5 29.5t26.5 13.5h69q21 0 29 -20q44 -106 140 -171t214 -65t214 65t140 171q8 20 37 20h61q17 0 26.5 -13.5t3.5 -29.5q-63 -177 -228 -273zM576 256q185 0 316.5 131.5t131.5 316.5t-131.5 316.5 t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
<glyph unicode="&#xf224;" d="M1024 1504q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q126 -158 126 -359q0 -221 -147.5 -384.5t-364.5 -187.5v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64 q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-149 16 -270.5 103t-186.5 223.5t-53 291.5q16 204 160 353.5t347 172.5q118 14 228 -19t198 -103l255 254h-134q-14 0 -23 9t-9 23v64zM576 256q185 0 316.5 131.5t131.5 316.5t-131.5 316.5 t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
<glyph unicode="&#xf225;" horiz-adv-x="1792" d="M1280 1504q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q126 -158 126 -359q0 -221 -147.5 -384.5t-364.5 -187.5v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64 q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-217 24 -364.5 187.5t-147.5 384.5q0 201 126 359l-52 53l-101 -111q-9 -10 -22 -10.5t-23 7.5l-48 44q-10 8 -10.5 21.5t8.5 23.5l105 115l-111 112v-134q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9 t-9 23v288q0 26 19 45t45 19h288q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-133l106 -107l86 94q9 10 22 10.5t23 -7.5l48 -44q10 -8 10.5 -21.5t-8.5 -23.5l-90 -99l57 -56q158 126 359 126t359 -126l255 254h-134q-14 0 -23 9t-9 23v64zM832 256q185 0 316.5 131.5 t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
<glyph unicode="&#xf226;" horiz-adv-x="1792" d="M1790 1007q12 -155 -52.5 -292t-186 -224t-271.5 -103v-260h224q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-512v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23 t23 9h224v260q-150 16 -271.5 103t-186 224t-52.5 292q17 206 164.5 356.5t352.5 169.5q206 21 377 -94q171 115 377 94q205 -19 352.5 -169.5t164.5 -356.5zM896 647q128 131 128 313t-128 313q-128 -131 -128 -313t128 -313zM576 512q115 0 218 57q-154 165 -154 391 q0 224 154 391q-103 57 -218 57q-185 0 -316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5zM1152 128v260q-137 15 -256 94q-119 -79 -256 -94v-260h512zM1216 512q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5q-115 0 -218 -57q154 -167 154 -391 q0 -226 -154 -391q103 -57 218 -57z" />
<glyph unicode="&#xf227;" horiz-adv-x="1920" d="M1536 1120q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q76 -95 107.5 -214t9.5 -247q-31 -182 -166 -312t-318 -156q-210 -29 -384.5 80t-241.5 300q-117 6 -221 57.5t-177.5 133t-113.5 192.5t-32 230 q9 135 78 252t182 191.5t248 89.5q118 14 227.5 -19t198.5 -103l255 254h-134q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q59 -74 93 -169q182 -9 328 -124l255 254h-134q-14 0 -23 9 t-9 23v64zM1024 704q0 20 -4 58q-162 -25 -271 -150t-109 -292q0 -20 4 -58q162 25 271 150t109 292zM128 704q0 -168 111 -294t276 -149q-3 29 -3 59q0 210 135 369.5t338 196.5q-53 120 -163.5 193t-245.5 73q-185 0 -316.5 -131.5t-131.5 -316.5zM1088 -128 q185 0 316.5 131.5t131.5 316.5q0 168 -111 294t-276 149q3 -29 3 -59q0 -210 -135 -369.5t-338 -196.5q53 -120 163.5 -193t245.5 -73z" />
<glyph unicode="&#xf228;" horiz-adv-x="2048" d="M1664 1504q0 14 9 23t23 9h288q26 0 45 -19t19 -45v-288q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v134l-254 -255q76 -95 107.5 -214t9.5 -247q-32 -180 -164.5 -310t-313.5 -157q-223 -34 -409 90q-117 -78 -256 -93v-132h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23 t-23 -9h-96v-96q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v96h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96v132q-155 17 -279.5 109.5t-187 237.5t-39.5 307q25 187 159.5 322.5t320.5 164.5q224 34 410 -90q146 97 320 97q201 0 359 -126l255 254h-134q-14 0 -23 9 t-9 23v64zM896 391q128 131 128 313t-128 313q-128 -131 -128 -313t128 -313zM128 704q0 -185 131.5 -316.5t316.5 -131.5q117 0 218 57q-154 167 -154 391t154 391q-101 57 -218 57q-185 0 -316.5 -131.5t-131.5 -316.5zM1216 256q185 0 316.5 131.5t131.5 316.5 t-131.5 316.5t-316.5 131.5q-117 0 -218 -57q154 -167 154 -391t-154 -391q101 -57 218 -57z" />
<glyph unicode="&#xf229;" d="M1472 1408q26 0 45 -19t19 -45v-416q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v262l-213 -214l140 -140q9 -10 9 -23t-9 -22l-46 -46q-9 -9 -22 -9t-23 9l-140 141l-78 -79q126 -156 126 -359q0 -117 -45.5 -223.5t-123 -184t-184 -123t-223.5 -45.5t-223.5 45.5 t-184 123t-123 184t-45.5 223.5t45.5 223.5t123 184t184 123t223.5 45.5q203 0 359 -126l78 78l-172 172q-9 10 -9 23t9 22l46 46q9 9 22 9t23 -9l172 -172l213 213h-261q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h416zM576 0q185 0 316.5 131.5t131.5 316.5t-131.5 316.5 t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
<glyph unicode="&#xf22a;" horiz-adv-x="1280" d="M640 892q217 -24 364.5 -187.5t147.5 -384.5q0 -167 -87 -306t-236 -212t-319 -54q-133 15 -245.5 88t-182 188t-80.5 249q-12 155 52.5 292t186 224t271.5 103v132h-160q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h160v165l-92 -92q-10 -9 -23 -9t-22 9l-46 46q-9 9 -9 22 t9 23l202 201q19 19 45 19t45 -19l202 -201q9 -10 9 -23t-9 -22l-46 -46q-9 -9 -22 -9t-23 9l-92 92v-165h160q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-160v-132zM576 -128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5 t131.5 -316.5t316.5 -131.5z" />
<glyph unicode="&#xf22b;" horiz-adv-x="2048" d="M1901 621q19 -19 19 -45t-19 -45l-294 -294q-9 -10 -22.5 -10t-22.5 10l-45 45q-10 9 -10 22.5t10 22.5l185 185h-294v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-132q-24 -217 -187.5 -364.5t-384.5 -147.5q-167 0 -306 87t-212 236t-54 319q15 133 88 245.5 t188 182t249 80.5q155 12 292 -52.5t224 -186t103 -271.5h132v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224h294l-185 185q-10 9 -10 22.5t10 22.5l45 45q9 10 22.5 10t22.5 -10zM576 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5 t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
<glyph unicode="&#xf22c;" horiz-adv-x="1280" d="M1152 960q0 -221 -147.5 -384.5t-364.5 -187.5v-612q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v612q-217 24 -364.5 187.5t-147.5 384.5q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5zM576 512q185 0 316.5 131.5 t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
<glyph unicode="&#xf22d;" horiz-adv-x="1280" d="M1024 576q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1152 576q0 -117 -45.5 -223.5t-123 -184t-184 -123t-223.5 -45.5t-223.5 45.5t-184 123t-123 184t-45.5 223.5t45.5 223.5t123 184t184 123 t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5z" />
<glyph unicode="&#xf22e;" horiz-adv-x="1792" />
<glyph unicode="&#xf22f;" horiz-adv-x="1792" />
<glyph unicode="&#xf230;" d="M1451 1408q35 0 60 -25t25 -60v-1366q0 -35 -25 -60t-60 -25h-391v595h199l30 232h-229v148q0 56 23.5 84t91.5 28l122 1v207q-63 9 -178 9q-136 0 -217.5 -80t-81.5 -226v-171h-200v-232h200v-595h-735q-35 0 -60 25t-25 60v1366q0 35 25 60t60 25h1366z" />
<glyph unicode="&#xf231;" horiz-adv-x="1280" d="M0 939q0 108 37.5 203.5t103.5 166.5t152 123t185 78t202 26q158 0 294 -66.5t221 -193.5t85 -287q0 -96 -19 -188t-60 -177t-100 -149.5t-145 -103t-189 -38.5q-68 0 -135 32t-96 88q-10 -39 -28 -112.5t-23.5 -95t-20.5 -71t-26 -71t-32 -62.5t-46 -77.5t-62 -86.5 l-14 -5l-9 10q-15 157 -15 188q0 92 21.5 206.5t66.5 287.5t52 203q-32 65 -32 169q0 83 52 156t132 73q61 0 95 -40.5t34 -102.5q0 -66 -44 -191t-44 -187q0 -63 45 -104.5t109 -41.5q55 0 102 25t78.5 68t56 95t38 110.5t20 111t6.5 99.5q0 173 -109.5 269.5t-285.5 96.5 q-200 0 -334 -129.5t-134 -328.5q0 -44 12.5 -85t27 -65t27 -45.5t12.5 -30.5q0 -28 -15 -73t-37 -45q-2 0 -17 3q-51 15 -90.5 56t-61 94.5t-32.5 108t-11 106.5z" />
<glyph unicode="&#xf232;" d="M985 562q13 0 97.5 -44t89.5 -53q2 -5 2 -15q0 -33 -17 -76q-16 -39 -71 -65.5t-102 -26.5q-57 0 -190 62q-98 45 -170 118t-148 185q-72 107 -71 194v8q3 91 74 158q24 22 52 22q6 0 18 -1.5t19 -1.5q19 0 26.5 -6.5t15.5 -27.5q8 -20 33 -88t25 -75q0 -21 -34.5 -57.5 t-34.5 -46.5q0 -7 5 -15q34 -73 102 -137q56 -53 151 -101q12 -7 22 -7q15 0 54 48.5t52 48.5zM782 32q127 0 243.5 50t200.5 134t134 200.5t50 243.5t-50 243.5t-134 200.5t-200.5 134t-243.5 50t-243.5 -50t-200.5 -134t-134 -200.5t-50 -243.5q0 -203 120 -368l-79 -233 l242 77q158 -104 345 -104zM782 1414q153 0 292.5 -60t240.5 -161t161 -240.5t60 -292.5t-60 -292.5t-161 -240.5t-240.5 -161t-292.5 -60q-195 0 -365 94l-417 -134l136 405q-108 178 -108 389q0 153 60 292.5t161 240.5t240.5 161t292.5 60z" />
<glyph unicode="&#xf233;" horiz-adv-x="1792" d="M128 128h1024v128h-1024v-128zM128 640h1024v128h-1024v-128zM1696 192q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM128 1152h1024v128h-1024v-128zM1696 704q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1696 1216 q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1792 384v-384h-1792v384h1792zM1792 896v-384h-1792v384h1792zM1792 1408v-384h-1792v384h1792z" />
<glyph unicode="&#xf234;" horiz-adv-x="2048" d="M704 640q-159 0 -271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5t-112.5 -271.5t-271.5 -112.5zM1664 512h352q13 0 22.5 -9.5t9.5 -22.5v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-352v-352q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5 t-9.5 22.5v352h-352q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h352v352q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5v-352zM928 288q0 -52 38 -90t90 -38h256v-238q-68 -50 -171 -50h-874q-121 0 -194 69t-73 190q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q19 0 39 -17q79 -61 154.5 -91.5t164.5 -30.5t164.5 30.5t154.5 91.5q20 17 39 17q132 0 217 -96h-223q-52 0 -90 -38t-38 -90v-192z" />
<glyph unicode="&#xf235;" horiz-adv-x="2048" d="M704 640q-159 0 -271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5t-112.5 -271.5t-271.5 -112.5zM1781 320l249 -249q9 -9 9 -23q0 -13 -9 -22l-136 -136q-9 -9 -22 -9q-14 0 -23 9l-249 249l-249 -249q-9 -9 -23 -9q-13 0 -22 9l-136 136 q-9 9 -9 22q0 14 9 23l249 249l-249 249q-9 9 -9 23q0 13 9 22l136 136q9 9 22 9q14 0 23 -9l249 -249l249 249q9 9 23 9q13 0 22 -9l136 -136q9 -9 9 -22q0 -14 -9 -23zM1283 320l-181 -181q-37 -37 -37 -91q0 -53 37 -90l83 -83q-21 -3 -44 -3h-874q-121 0 -194 69 t-73 190q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q19 0 39 -17q154 -122 319 -122t319 122q20 17 39 17q28 0 57 -6q-28 -27 -41 -50t-13 -56q0 -54 37 -91z" />
<glyph unicode="&#xf236;" horiz-adv-x="2048" d="M256 512h1728q26 0 45 -19t19 -45v-448h-256v256h-1536v-256h-256v1216q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-704zM832 832q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM2048 576v64q0 159 -112.5 271.5t-271.5 112.5h-704 q-26 0 -45 -19t-19 -45v-384h1152z" />
<glyph unicode="&#xf237;" d="M1536 1536l-192 -448h192v-192h-274l-55 -128h329v-192h-411l-357 -832l-357 832h-411v192h329l-55 128h-274v192h192l-192 448h256l323 -768h378l323 768h256zM768 320l108 256h-216z" />
<glyph unicode="&#xf238;" d="M1088 1536q185 0 316.5 -93.5t131.5 -226.5v-896q0 -130 -125.5 -222t-305.5 -97l213 -202q16 -15 8 -35t-30 -20h-1056q-22 0 -30 20t8 35l213 202q-180 5 -305.5 97t-125.5 222v896q0 133 131.5 226.5t316.5 93.5h640zM768 192q80 0 136 56t56 136t-56 136t-136 56 t-136 -56t-56 -136t56 -136t136 -56zM1344 768v512h-1152v-512h1152z" />
<glyph unicode="&#xf239;" d="M1088 1536q185 0 316.5 -93.5t131.5 -226.5v-896q0 -130 -125.5 -222t-305.5 -97l213 -202q16 -15 8 -35t-30 -20h-1056q-22 0 -30 20t8 35l213 202q-180 5 -305.5 97t-125.5 222v896q0 133 131.5 226.5t316.5 93.5h640zM288 224q66 0 113 47t47 113t-47 113t-113 47 t-113 -47t-47 -113t47 -113t113 -47zM704 768v512h-544v-512h544zM1248 224q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47zM1408 768v512h-576v-512h576z" />
<glyph unicode="&#xf23a;" horiz-adv-x="1792" d="M597 1115v-1173q0 -25 -12.5 -42.5t-36.5 -17.5q-17 0 -33 8l-465 233q-21 10 -35.5 33.5t-14.5 46.5v1140q0 20 10 34t29 14q14 0 44 -15l511 -256q3 -3 3 -5zM661 1014l534 -866l-534 266v600zM1792 996v-1054q0 -25 -14 -40.5t-38 -15.5t-47 13l-441 220zM1789 1116 q0 -3 -256.5 -419.5t-300.5 -487.5l-390 634l324 527q17 28 52 28q14 0 26 -6l541 -270q4 -2 4 -6z" />
<glyph unicode="&#xf23b;" d="M809 532l266 499h-112l-157 -312q-24 -48 -44 -92l-42 92l-155 312h-120l263 -493v-324h101v318zM1536 1408v-1536h-1536v1536h1536z" />
<glyph unicode="&#xf23c;" horiz-adv-x="2296" d="M478 -139q-8 -16 -27 -34.5t-37 -25.5q-25 -9 -51.5 3.5t-28.5 31.5q-1 22 40 55t68 38q23 4 34 -21.5t2 -46.5zM1819 -139q7 -16 26 -34.5t38 -25.5q25 -9 51.5 3.5t27.5 31.5q2 22 -39.5 55t-68.5 38q-22 4 -33 -21.5t-2 -46.5zM1867 -30q13 -27 56.5 -59.5t77.5 -41.5 q45 -13 82 4.5t37 50.5q0 46 -67.5 100.5t-115.5 59.5q-40 5 -63.5 -37.5t-6.5 -76.5zM428 -30q-13 -27 -56 -59.5t-77 -41.5q-45 -13 -82 4.5t-37 50.5q0 46 67.5 100.5t115.5 59.5q40 5 63 -37.5t6 -76.5zM1158 1094h1q-41 0 -76 -15q27 -8 44 -30.5t17 -49.5 q0 -35 -27 -60t-65 -25q-52 0 -80 43q-5 -23 -5 -42q0 -74 56 -126.5t135 -52.5q80 0 136 52.5t56 126.5t-56 126.5t-136 52.5zM1462 1312q-99 109 -220.5 131.5t-245.5 -44.5q27 60 82.5 96.5t118 39.5t121.5 -17t99.5 -74.5t44.5 -131.5zM2212 73q8 -11 -11 -42 q7 -23 7 -40q1 -56 -44.5 -112.5t-109.5 -91.5t-118 -37q-48 -2 -92 21.5t-66 65.5q-687 -25 -1259 0q-23 -41 -66.5 -65t-92.5 -22q-86 3 -179.5 80.5t-92.5 160.5q2 22 7 40q-19 31 -11 42q6 10 31 1q14 22 41 51q-7 29 2 38q11 10 39 -4q29 20 59 34q0 29 13 37 q23 12 51 -16q35 5 61 -2q18 -4 38 -19v73q-11 0 -18 2q-53 10 -97 44.5t-55 87.5q-9 38 0 81q15 62 93 95q2 17 19 35.5t36 23.5t33 -7.5t19 -30.5h13q46 -5 60 -23q3 -3 5 -7q10 1 30.5 3.5t30.5 3.5q-15 11 -30 17q-23 40 -91 43q0 6 1 10q-62 2 -118.5 18.5t-84.5 47.5 q-32 36 -42.5 92t-2.5 112q16 126 90 179q23 16 52 4.5t32 -40.5q0 -1 1.5 -14t2.5 -21t3 -20t5.5 -19t8.5 -10q27 -14 76 -12q48 46 98 74q-40 4 -162 -14l47 46q61 58 163 111q145 73 282 86q-20 8 -41 15.5t-47 14t-42.5 10.5t-47.5 11t-43 10q595 126 904 -139 q98 -84 158 -222q85 -10 121 9h1q5 3 8.5 10t5.5 19t3 19.5t3 21.5l1 14q3 28 32 40t52 -5q73 -52 91 -178q7 -57 -3.5 -113t-42.5 -91q-28 -32 -83.5 -48.5t-115.5 -18.5v-10q-71 -2 -95 -43q-14 -5 -31 -17q11 -1 32 -3.5t30 -3.5q1 4 5 8q16 18 60 23h13q5 18 19 30t33 8 t36 -23t19 -36q79 -32 93 -95q9 -40 1 -81q-12 -53 -56 -88t-97 -44q-10 -2 -17 -2q0 -49 -1 -73q20 15 38 19q26 7 61 2q28 28 51 16q14 -9 14 -37q33 -16 59 -34q27 13 38 4q10 -10 2 -38q28 -30 41 -51q23 8 31 -1zM1937 1025q0 -29 -9 -54q82 -32 112 -132 q4 37 -9.5 98.5t-41.5 90.5q-20 19 -36 17t-16 -20zM1859 925q35 -42 47.5 -108.5t-0.5 -124.5q67 13 97 45q13 14 18 28q-3 64 -31 114.5t-79 66.5q-15 -15 -52 -21zM1822 921q-30 0 -44 1q42 -115 53 -239q21 0 43 3q16 68 1 135t-53 100zM258 839q30 100 112 132 q-9 25 -9 54q0 18 -16.5 20t-35.5 -17q-28 -29 -41.5 -90.5t-9.5 -98.5zM294 737q29 -31 97 -45q-13 58 -0.5 124.5t47.5 108.5v0q-37 6 -52 21q-51 -16 -78.5 -66t-31.5 -115q9 -17 18 -28zM471 683q14 124 73 235q-19 -4 -55 -18l-45 -19v1q-46 -89 -20 -196q25 -3 47 -3z M1434 644q8 -38 16.5 -108.5t11.5 -89.5q3 -18 9.5 -21.5t23.5 4.5q40 20 62 85.5t23 125.5q-24 2 -146 4zM1152 1285q-116 0 -199 -82.5t-83 -198.5q0 -117 83 -199.5t199 -82.5t199 82.5t83 199.5q0 116 -83 198.5t-199 82.5zM1380 646q-106 2 -211 0v1q-1 -27 2.5 -86 t13.5 -66q29 -14 93.5 -14.5t95.5 10.5q9 3 11 39t-0.5 69.5t-4.5 46.5zM1112 447q8 4 9.5 48t-0.5 88t-4 63v1q-212 -3 -214 -3q-4 -20 -7 -62t0 -83t14 -46q34 -15 101 -16t101 10zM718 636q-16 -59 4.5 -118.5t77.5 -84.5q15 -8 24 -5t12 21q3 16 8 90t10 103 q-69 -2 -136 -6zM591 510q3 -23 -34 -36q132 -141 271.5 -240t305.5 -154q172 49 310.5 146t293.5 250q-33 13 -30 34l3 9v1v-1q-17 2 -50 5.5t-48 4.5q-26 -90 -82 -132q-51 -38 -82 1q-5 6 -9 14q-7 13 -17 62q-2 -5 -5 -9t-7.5 -7t-8 -5.5t-9.5 -4l-10 -2.5t-12 -2 l-12 -1.5t-13.5 -1t-13.5 -0.5q-106 -9 -163 11q-4 -17 -10 -26.5t-21 -15t-23 -7t-36 -3.5q-2 0 -3 -0.5t-3 -0.5h-3q-179 -17 -203 40q-2 -63 -56 -54q-47 8 -91 54q-12 13 -20 26q-17 29 -26 65q-58 -6 -87 -10q1 -2 4 -10zM507 -118q3 14 3 30q-17 71 -51 130t-73 70 q-41 12 -101.5 -14.5t-104.5 -80t-39 -107.5q35 -53 100 -93t119 -42q51 -2 94 28t53 79zM510 53q23 -63 27 -119q195 113 392 174q-98 52 -180.5 120t-179.5 165q-6 -4 -29 -13q0 -2 -1 -5t-1 -4q31 -18 22 -37q-12 -23 -56 -34q-10 -13 -29 -24h-1q-2 -83 1 -150 q19 -34 35 -73zM579 -113q532 -21 1145 0q-254 147 -428 196q-76 -35 -156 -57q-8 -3 -16 0q-65 21 -129 49q-208 -60 -416 -188h-1v-1q1 0 1 1zM1763 -67q4 54 28 120q14 38 33 71l-1 -1q3 77 3 153q-15 8 -30 25q-42 9 -56 33q-9 20 22 38q-2 4 -2 9q-16 4 -28 12 q-204 -190 -383 -284q198 -59 414 -176zM2155 -90q5 54 -39 107.5t-104 80t-102 14.5q-38 -11 -72.5 -70.5t-51.5 -129.5q0 -16 3 -30q10 -49 53 -79t94 -28q54 2 119 42t100 93z" />
<glyph unicode="&#xf23d;" horiz-adv-x="2304" d="M1524 -25q0 -68 -48 -116t-116 -48t-116.5 48t-48.5 116t48.5 116.5t116.5 48.5t116 -48.5t48 -116.5zM775 -25q0 -68 -48.5 -116t-116.5 -48t-116 48t-48 116t48 116.5t116 48.5t116.5 -48.5t48.5 -116.5zM0 1469q57 -60 110.5 -104.5t121 -82t136 -63t166 -45.5 t200 -31.5t250 -18.5t304 -9.5t372.5 -2.5q139 0 244.5 -5t181 -16.5t124 -27.5t71 -39.5t24 -51.5t-19.5 -64t-56.5 -76.5t-89.5 -91t-116 -104.5t-139 -119q-185 -157 -286 -247q29 51 76.5 109t94 105.5t94.5 98.5t83 91.5t54 80.5t13 70t-45.5 55.5t-116.5 41t-204 23.5 t-304 5q-168 -2 -314 6t-256 23t-204.5 41t-159.5 51.5t-122.5 62.5t-91.5 66.5t-68 71.5t-50.5 69.5t-40 68t-36.5 59.5z" />
<glyph unicode="&#xf23e;" horiz-adv-x="1792" d="M896 1472q-169 0 -323 -66t-265.5 -177.5t-177.5 -265.5t-66 -323t66 -323t177.5 -265.5t265.5 -177.5t323 -66t323 66t265.5 177.5t177.5 265.5t66 323t-66 323t-177.5 265.5t-265.5 177.5t-323 66zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348 t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM496 704q16 0 16 -16v-480q0 -16 -16 -16h-32q-16 0 -16 16v480q0 16 16 16h32zM896 640q53 0 90.5 -37.5t37.5 -90.5q0 -35 -17.5 -64t-46.5 -46v-114q0 -14 -9 -23 t-23 -9h-64q-14 0 -23 9t-9 23v114q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5zM896 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM544 928v-96 q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v96q0 93 65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5v-96q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v96q0 146 -103 249t-249 103t-249 -103t-103 -249zM1408 192v512q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-512 q0 -26 19 -45t45 -19h896q26 0 45 19t19 45z" />
<glyph unicode="&#xf240;" horiz-adv-x="2304" d="M1920 1024v-768h-1664v768h1664zM2048 448h128v384h-128v288q0 14 -9 23t-23 9h-1856q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h1856q14 0 23 9t9 23v288zM2304 832v-384q0 -53 -37.5 -90.5t-90.5 -37.5v-160q0 -66 -47 -113t-113 -47h-1856q-66 0 -113 47t-47 113 v960q0 66 47 113t113 47h1856q66 0 113 -47t47 -113v-160q53 0 90.5 -37.5t37.5 -90.5z" />
<glyph unicode="&#xf241;" horiz-adv-x="2304" d="M256 256v768h1280v-768h-1280zM2176 960q53 0 90.5 -37.5t37.5 -90.5v-384q0 -53 -37.5 -90.5t-90.5 -37.5v-160q0 -66 -47 -113t-113 -47h-1856q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1856q66 0 113 -47t47 -113v-160zM2176 448v384h-128v288q0 14 -9 23t-23 9 h-1856q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h1856q14 0 23 9t9 23v288h128z" />
<glyph unicode="&#xf242;" horiz-adv-x="2304" d="M256 256v768h896v-768h-896zM2176 960q53 0 90.5 -37.5t37.5 -90.5v-384q0 -53 -37.5 -90.5t-90.5 -37.5v-160q0 -66 -47 -113t-113 -47h-1856q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1856q66 0 113 -47t47 -113v-160zM2176 448v384h-128v288q0 14 -9 23t-23 9 h-1856q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h1856q14 0 23 9t9 23v288h128z" />
<glyph unicode="&#xf243;" horiz-adv-x="2304" d="M256 256v768h512v-768h-512zM2176 960q53 0 90.5 -37.5t37.5 -90.5v-384q0 -53 -37.5 -90.5t-90.5 -37.5v-160q0 -66 -47 -113t-113 -47h-1856q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1856q66 0 113 -47t47 -113v-160zM2176 448v384h-128v288q0 14 -9 23t-23 9 h-1856q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h1856q14 0 23 9t9 23v288h128z" />
<glyph unicode="&#xf244;" horiz-adv-x="2304" d="M2176 960q53 0 90.5 -37.5t37.5 -90.5v-384q0 -53 -37.5 -90.5t-90.5 -37.5v-160q0 -66 -47 -113t-113 -47h-1856q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1856q66 0 113 -47t47 -113v-160zM2176 448v384h-128v288q0 14 -9 23t-23 9h-1856q-14 0 -23 -9t-9 -23 v-960q0 -14 9 -23t23 -9h1856q14 0 23 9t9 23v288h128z" />
<glyph unicode="&#xf245;" horiz-adv-x="1280" d="M1133 493q31 -30 14 -69q-17 -40 -59 -40h-382l201 -476q10 -25 0 -49t-34 -35l-177 -75q-25 -10 -49 0t-35 34l-191 452l-312 -312q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v1504q0 42 40 59q12 5 24 5q27 0 45 -19z" />
<glyph unicode="&#xf246;" horiz-adv-x="1024" d="M832 1408q-320 0 -320 -224v-416h128v-128h-128v-544q0 -224 320 -224h64v-128h-64q-272 0 -384 146q-112 -146 -384 -146h-64v128h64q320 0 320 224v544h-128v128h128v416q0 224 -320 224h-64v128h64q272 0 384 -146q112 146 384 146h64v-128h-64z" />
<glyph unicode="&#xf247;" horiz-adv-x="2048" d="M2048 1152h-128v-1024h128v-384h-384v128h-1280v-128h-384v384h128v1024h-128v384h384v-128h1280v128h384v-384zM1792 1408v-128h128v128h-128zM128 1408v-128h128v128h-128zM256 -128v128h-128v-128h128zM1664 0v128h128v1024h-128v128h-1280v-128h-128v-1024h128v-128 h1280zM1920 -128v128h-128v-128h128zM1280 896h384v-768h-896v256h-384v768h896v-256zM512 512h640v512h-640v-512zM1536 256v512h-256v-384h-384v-128h640z" />
<glyph unicode="&#xf248;" horiz-adv-x="2304" d="M2304 768h-128v-640h128v-384h-384v128h-896v-128h-384v384h128v128h-384v-128h-384v384h128v640h-128v384h384v-128h896v128h384v-384h-128v-128h384v128h384v-384zM2048 1024v-128h128v128h-128zM1408 1408v-128h128v128h-128zM128 1408v-128h128v128h-128zM256 256 v128h-128v-128h128zM1536 384h-128v-128h128v128zM384 384h896v128h128v640h-128v128h-896v-128h-128v-640h128v-128zM896 -128v128h-128v-128h128zM2176 -128v128h-128v-128h128zM2048 128v640h-128v128h-384v-384h128v-384h-384v128h-384v-128h128v-128h896v128h128z" />
<glyph unicode="&#xf249;" d="M1024 288v-416h-928q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1344q40 0 68 -28t28 -68v-928h-416q-40 0 -68 -28t-28 -68zM1152 256h381q-15 -82 -65 -132l-184 -184q-50 -50 -132 -65v381z" />
<glyph unicode="&#xf24a;" d="M1400 256h-248v-248q29 10 41 22l185 185q12 12 22 41zM1120 384h288v896h-1280v-1280h896v288q0 40 28 68t68 28zM1536 1312v-1024q0 -40 -20 -88t-48 -76l-184 -184q-28 -28 -76 -48t-88 -20h-1024q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1344q40 0 68 -28t28 -68 z" />
<glyph unicode="&#xf24b;" horiz-adv-x="2304" d="M1951 538q0 -26 -15.5 -44.5t-38.5 -23.5q-8 -2 -18 -2h-153v140h153q10 0 18 -2q23 -5 38.5 -23.5t15.5 -44.5zM1933 751q0 -25 -15 -42t-38 -21q-3 -1 -15 -1h-139v129h139q3 0 8.5 -0.5t6.5 -0.5q23 -4 38 -21.5t15 -42.5zM728 587v308h-228v-308q0 -58 -38 -94.5 t-105 -36.5q-108 0 -229 59v-112q53 -15 121 -23t109 -9l42 -1q328 0 328 217zM1442 403v113q-99 -52 -200 -59q-108 -8 -169 41t-61 142t61 142t169 41q101 -7 200 -58v112q-48 12 -100 19.5t-80 9.5l-28 2q-127 6 -218.5 -14t-140.5 -60t-71 -88t-22 -106t22 -106t71 -88 t140.5 -60t218.5 -14q101 4 208 31zM2176 518q0 54 -43 88.5t-109 39.5v3q57 8 89 41.5t32 79.5q0 55 -41 88t-107 36q-3 0 -12 0.5t-14 0.5h-455v-510h491q74 0 121.5 36.5t47.5 96.5zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90 t90 38h2048q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf24c;" horiz-adv-x="2304" d="M858 295v693q-106 -41 -172 -135.5t-66 -211.5t66 -211.5t172 -134.5zM1362 641q0 117 -66 211.5t-172 135.5v-694q106 41 172 135.5t66 211.5zM1577 641q0 -159 -78.5 -294t-213.5 -213.5t-294 -78.5q-119 0 -227.5 46.5t-187 125t-125 187t-46.5 227.5q0 159 78.5 294 t213.5 213.5t294 78.5t294 -78.5t213.5 -213.5t78.5 -294zM1960 634q0 139 -55.5 261.5t-147.5 205.5t-213.5 131t-252.5 48h-301q-176 0 -323.5 -81t-235 -230t-87.5 -335q0 -171 87 -317.5t236 -231.5t323 -85h301q129 0 251.5 50.5t214.5 135t147.5 202.5t55.5 246z M2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf24d;" horiz-adv-x="1792" d="M1664 -96v1088q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5v-1088q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5zM1792 992v-1088q0 -66 -47 -113t-113 -47h-1088q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1088q66 0 113 -47t47 -113 zM1408 1376v-160h-128v160q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5v-1088q0 -13 9.5 -22.5t22.5 -9.5h160v-128h-160q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1088q66 0 113 -47t47 -113z" />
<glyph unicode="&#xf24e;" horiz-adv-x="2304" d="M1728 1088l-384 -704h768zM448 1088l-384 -704h768zM1269 1280q-14 -40 -45.5 -71.5t-71.5 -45.5v-1291h608q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1344q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h608v1291q-40 14 -71.5 45.5t-45.5 71.5h-491q-14 0 -23 9t-9 23v64 q0 14 9 23t23 9h491q21 57 70 92.5t111 35.5t111 -35.5t70 -92.5h491q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-491zM1088 1264q33 0 56.5 23.5t23.5 56.5t-23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5zM2176 384q0 -73 -46.5 -131t-117.5 -91 t-144.5 -49.5t-139.5 -16.5t-139.5 16.5t-144.5 49.5t-117.5 91t-46.5 131q0 11 35 81t92 174.5t107 195.5t102 184t56 100q18 33 56 33t56 -33q4 -7 56 -100t102 -184t107 -195.5t92 -174.5t35 -81zM896 384q0 -73 -46.5 -131t-117.5 -91t-144.5 -49.5t-139.5 -16.5 t-139.5 16.5t-144.5 49.5t-117.5 91t-46.5 131q0 11 35 81t92 174.5t107 195.5t102 184t56 100q18 33 56 33t56 -33q4 -7 56 -100t102 -184t107 -195.5t92 -174.5t35 -81z" />
<glyph unicode="&#xf250;" d="M1408 1408q0 -261 -106.5 -461.5t-266.5 -306.5q160 -106 266.5 -306.5t106.5 -461.5h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1472q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96q0 261 106.5 461.5t266.5 306.5q-160 106 -266.5 306.5t-106.5 461.5h-96q-14 0 -23 9 t-9 23v64q0 14 9 23t23 9h1472q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96zM874 700q77 29 149 92.5t129.5 152.5t92.5 210t35 253h-1024q0 -132 35 -253t92.5 -210t129.5 -152.5t149 -92.5q19 -7 30.5 -23.5t11.5 -36.5t-11.5 -36.5t-30.5 -23.5q-77 -29 -149 -92.5 t-129.5 -152.5t-92.5 -210t-35 -253h1024q0 132 -35 253t-92.5 210t-129.5 152.5t-149 92.5q-19 7 -30.5 23.5t-11.5 36.5t11.5 36.5t30.5 23.5z" />
<glyph unicode="&#xf251;" d="M1408 1408q0 -261 -106.5 -461.5t-266.5 -306.5q160 -106 266.5 -306.5t106.5 -461.5h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1472q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96q0 261 106.5 461.5t266.5 306.5q-160 106 -266.5 306.5t-106.5 461.5h-96q-14 0 -23 9 t-9 23v64q0 14 9 23t23 9h1472q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96zM1280 1408h-1024q0 -66 9 -128h1006q9 61 9 128zM1280 -128q0 130 -34 249.5t-90.5 208t-126.5 152t-146 94.5h-230q-76 -31 -146 -94.5t-126.5 -152t-90.5 -208t-34 -249.5h1024z" />
<glyph unicode="&#xf252;" d="M1408 1408q0 -261 -106.5 -461.5t-266.5 -306.5q160 -106 266.5 -306.5t106.5 -461.5h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1472q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96q0 261 106.5 461.5t266.5 306.5q-160 106 -266.5 306.5t-106.5 461.5h-96q-14 0 -23 9 t-9 23v64q0 14 9 23t23 9h1472q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96zM1280 1408h-1024q0 -206 85 -384h854q85 178 85 384zM1223 192q-54 141 -145.5 241.5t-194.5 142.5h-230q-103 -42 -194.5 -142.5t-145.5 -241.5h910z" />
<glyph unicode="&#xf253;" d="M1408 1408q0 -261 -106.5 -461.5t-266.5 -306.5q160 -106 266.5 -306.5t106.5 -461.5h96q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1472q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h96q0 261 106.5 461.5t266.5 306.5q-160 106 -266.5 306.5t-106.5 461.5h-96q-14 0 -23 9 t-9 23v64q0 14 9 23t23 9h1472q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-96zM874 700q77 29 149 92.5t129.5 152.5t92.5 210t35 253h-1024q0 -132 35 -253t92.5 -210t129.5 -152.5t149 -92.5q19 -7 30.5 -23.5t11.5 -36.5t-11.5 -36.5t-30.5 -23.5q-137 -51 -244 -196 h700q-107 145 -244 196q-19 7 -30.5 23.5t-11.5 36.5t11.5 36.5t30.5 23.5z" />
<glyph unicode="&#xf254;" d="M1504 -64q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9h-1472q-14 0 -23 9t-9 23v128q0 14 9 23t23 9h1472zM130 0q3 55 16 107t30 95t46 87t53.5 76t64.5 69.5t66 60t70.5 55t66.5 47.5t65 43q-43 28 -65 43t-66.5 47.5t-70.5 55t-66 60t-64.5 69.5t-53.5 76t-46 87 t-30 95t-16 107h1276q-3 -55 -16 -107t-30 -95t-46 -87t-53.5 -76t-64.5 -69.5t-66 -60t-70.5 -55t-66.5 -47.5t-65 -43q43 -28 65 -43t66.5 -47.5t70.5 -55t66 -60t64.5 -69.5t53.5 -76t46 -87t30 -95t16 -107h-1276zM1504 1536q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9 h-1472q-14 0 -23 9t-9 23v128q0 14 9 23t23 9h1472z" />
<glyph unicode="&#xf255;" d="M768 1152q-53 0 -90.5 -37.5t-37.5 -90.5v-128h-32v93q0 48 -32 81.5t-80 33.5q-46 0 -79 -33t-33 -79v-429l-32 30v172q0 48 -32 81.5t-80 33.5q-46 0 -79 -33t-33 -79v-224q0 -47 35 -82l310 -296q39 -39 39 -102q0 -26 19 -45t45 -19h640q26 0 45 19t19 45v25 q0 41 10 77l108 436q10 36 10 77v246q0 48 -32 81.5t-80 33.5q-46 0 -79 -33t-33 -79v-32h-32v125q0 40 -25 72.5t-64 40.5q-14 2 -23 2q-46 0 -79 -33t-33 -79v-128h-32v122q0 51 -32.5 89.5t-82.5 43.5q-5 1 -13 1zM768 1280q84 0 149 -50q57 34 123 34q59 0 111 -27 t86 -76q27 7 59 7q100 0 170 -71.5t70 -171.5v-246q0 -51 -13 -108l-109 -436q-6 -24 -6 -71q0 -80 -56 -136t-136 -56h-640q-84 0 -138 58.5t-54 142.5l-308 296q-76 73 -76 175v224q0 99 70.5 169.5t169.5 70.5q11 0 16 -1q6 95 75.5 160t164.5 65q52 0 98 -21 q72 69 174 69z" />
<glyph unicode="&#xf256;" horiz-adv-x="1792" d="M880 1408q-46 0 -79 -33t-33 -79v-656h-32v528q0 46 -33 79t-79 33t-79 -33t-33 -79v-528v-256l-154 205q-38 51 -102 51q-53 0 -90.5 -37.5t-37.5 -90.5q0 -43 26 -77l384 -512q38 -51 102 -51h688q34 0 61 22t34 56l76 405q5 32 5 59v498q0 46 -33 79t-79 33t-79 -33 t-33 -79v-272h-32v528q0 46 -33 79t-79 33t-79 -33t-33 -79v-528h-32v656q0 46 -33 79t-79 33zM880 1536q68 0 125.5 -35.5t88.5 -96.5q19 4 42 4q99 0 169.5 -70.5t70.5 -169.5v-17q105 6 180.5 -64t75.5 -175v-498q0 -40 -8 -83l-76 -404q-14 -79 -76.5 -131t-143.5 -52 h-688q-60 0 -114.5 27.5t-90.5 74.5l-384 512q-51 68 -51 154q0 106 75 181t181 75q78 0 128 -34v434q0 99 70.5 169.5t169.5 70.5q23 0 42 -4q31 61 88.5 96.5t125.5 35.5z" />
<glyph unicode="&#xf257;" horiz-adv-x="1792" d="M1073 -128h-177q-163 0 -226 141q-23 49 -23 102v5q-62 30 -98.5 88.5t-36.5 127.5q0 38 5 48h-261q-106 0 -181 75t-75 181t75 181t181 75h113l-44 17q-74 28 -119.5 93.5t-45.5 145.5q0 106 75 181t181 75q46 0 91 -17l628 -239h401q106 0 181 -75t75 -181v-668 q0 -88 -54 -157.5t-140 -90.5l-339 -85q-92 -23 -186 -23zM1024 583l-155 -71l-163 -74q-30 -14 -48 -41.5t-18 -60.5q0 -46 33 -79t79 -33q26 0 46 10l338 154q-49 10 -80.5 50t-31.5 90v55zM1344 272q0 46 -33 79t-79 33q-26 0 -46 -10l-290 -132q-28 -13 -37 -17 t-30.5 -17t-29.5 -23.5t-16 -29t-8 -40.5q0 -50 31.5 -82t81.5 -32q20 0 38 9l352 160q30 14 48 41.5t18 60.5zM1112 1024l-650 248q-24 8 -46 8q-53 0 -90.5 -37.5t-37.5 -90.5q0 -40 22.5 -73t59.5 -47l526 -200v-64h-640q-53 0 -90.5 -37.5t-37.5 -90.5t37.5 -90.5 t90.5 -37.5h535l233 106v198q0 63 46 106l111 102h-69zM1073 0q82 0 155 19l339 85q43 11 70 45.5t27 78.5v668q0 53 -37.5 90.5t-90.5 37.5h-308l-136 -126q-36 -33 -36 -82v-296q0 -46 33 -77t79 -31t79 35t33 81v208h32v-208q0 -70 -57 -114q52 -8 86.5 -48.5t34.5 -93.5 q0 -42 -23 -78t-61 -53l-310 -141h91z" />
<glyph unicode="&#xf258;" horiz-adv-x="2048" d="M1151 1536q61 0 116 -28t91 -77l572 -781q118 -159 118 -359v-355q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v177l-286 143h-546q-80 0 -136 56t-56 136v32q0 119 84.5 203.5t203.5 84.5h420l42 128h-686q-100 0 -173.5 67.5t-81.5 166.5q-65 79 -65 182v32 q0 80 56 136t136 56h959zM1920 -64v355q0 157 -93 284l-573 781q-39 52 -103 52h-959q-26 0 -45 -19t-19 -45q0 -32 1.5 -49.5t9.5 -40.5t25 -43q10 31 35.5 50t56.5 19h832v-32h-832q-26 0 -45 -19t-19 -45q0 -44 3 -58q8 -44 44 -73t81 -29h640h91q40 0 68 -28t28 -68 q0 -15 -5 -30l-64 -192q-10 -29 -35 -47.5t-56 -18.5h-443q-66 0 -113 -47t-47 -113v-32q0 -26 19 -45t45 -19h561q16 0 29 -7l317 -158q24 -13 38.5 -36t14.5 -50v-197q0 -26 19 -45t45 -19h384q26 0 45 19t19 45z" />
<glyph unicode="&#xf259;" horiz-adv-x="2048" d="M816 1408q-48 0 -79.5 -34t-31.5 -82q0 -14 3 -28l150 -624h-26l-116 482q-9 38 -39.5 62t-69.5 24q-47 0 -79 -34t-32 -81q0 -11 4 -29q3 -13 39 -161t68 -282t32 -138v-227l-307 230q-34 26 -77 26q-52 0 -89.5 -36.5t-37.5 -88.5q0 -67 56 -110l507 -379 q34 -26 76 -26h694q33 0 59 20.5t34 52.5l100 401q8 30 10 88t9 86l116 478q3 12 3 26q0 46 -33 79t-80 33q-38 0 -69 -25.5t-40 -62.5l-99 -408h-26l132 547q3 14 3 28q0 47 -32 80t-80 33q-38 0 -68.5 -24t-39.5 -62l-145 -602h-127l-164 682q-9 38 -39.5 62t-68.5 24z M1461 -256h-694q-85 0 -153 51l-507 380q-50 38 -78.5 94t-28.5 118q0 105 75 179t180 74q25 0 49.5 -5.5t41.5 -11t41 -20.5t35 -23t38.5 -29.5t37.5 -28.5l-123 512q-7 35 -7 59q0 93 60 162t152 79q14 87 80.5 144.5t155.5 57.5q83 0 148 -51.5t85 -132.5l103 -428 l83 348q20 81 85 132.5t148 51.5q87 0 152.5 -54t82.5 -139q93 -10 155 -78t62 -161q0 -30 -7 -57l-116 -477q-5 -22 -5 -67q0 -51 -13 -108l-101 -401q-19 -75 -79.5 -122.5t-137.5 -47.5z" />
<glyph unicode="&#xf25a;" horiz-adv-x="1792" d="M640 1408q-53 0 -90.5 -37.5t-37.5 -90.5v-512v-384l-151 202q-41 54 -107 54q-52 0 -89 -38t-37 -90q0 -43 26 -77l384 -512q38 -51 102 -51h718q22 0 39.5 13.5t22.5 34.5l92 368q24 96 24 194v217q0 41 -28 71t-68 30t-68 -28t-28 -68h-32v61q0 48 -32 81.5t-80 33.5 q-46 0 -79 -33t-33 -79v-64h-32v90q0 55 -37 94.5t-91 39.5q-53 0 -90.5 -37.5t-37.5 -90.5v-96h-32v570q0 55 -37 94.5t-91 39.5zM640 1536q107 0 181.5 -77.5t74.5 -184.5v-220q22 2 32 2q99 0 173 -69q47 21 99 21q113 0 184 -87q27 7 56 7q94 0 159 -67.5t65 -161.5 v-217q0 -116 -28 -225l-92 -368q-16 -64 -68 -104.5t-118 -40.5h-718q-60 0 -114.5 27.5t-90.5 74.5l-384 512q-51 68 -51 154q0 105 74.5 180.5t179.5 75.5q71 0 130 -35v547q0 106 75 181t181 75zM768 128v384h-32v-384h32zM1024 128v384h-32v-384h32zM1280 128v384h-32 v-384h32z" />
<glyph unicode="&#xf25b;" d="M1288 889q60 0 107 -23q141 -63 141 -226v-177q0 -94 -23 -186l-85 -339q-21 -86 -90.5 -140t-157.5 -54h-668q-106 0 -181 75t-75 181v401l-239 628q-17 45 -17 91q0 106 75 181t181 75q80 0 145.5 -45.5t93.5 -119.5l17 -44v113q0 106 75 181t181 75t181 -75t75 -181 v-261q27 5 48 5q69 0 127.5 -36.5t88.5 -98.5zM1072 896q-33 0 -60.5 -18t-41.5 -48l-74 -163l-71 -155h55q50 0 90 -31.5t50 -80.5l154 338q10 20 10 46q0 46 -33 79t-79 33zM1293 761q-22 0 -40.5 -8t-29 -16t-23.5 -29.5t-17 -30.5t-17 -37l-132 -290q-10 -20 -10 -46 q0 -46 33 -79t79 -33q33 0 60.5 18t41.5 48l160 352q9 18 9 38q0 50 -32 81.5t-82 31.5zM128 1120q0 -22 8 -46l248 -650v-69l102 111q43 46 106 46h198l106 233v535q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5v-640h-64l-200 526q-14 37 -47 59.5t-73 22.5 q-53 0 -90.5 -37.5t-37.5 -90.5zM1180 -128q44 0 78.5 27t45.5 70l85 339q19 73 19 155v91l-141 -310q-17 -38 -53 -61t-78 -23q-53 0 -93.5 34.5t-48.5 86.5q-44 -57 -114 -57h-208v32h208q46 0 81 33t35 79t-31 79t-77 33h-296q-49 0 -82 -36l-126 -136v-308 q0 -53 37.5 -90.5t90.5 -37.5h668z" />
<glyph unicode="&#xf25c;" horiz-adv-x="1973" d="M857 992v-117q0 -13 -9.5 -22t-22.5 -9h-298v-812q0 -13 -9 -22.5t-22 -9.5h-135q-13 0 -22.5 9t-9.5 23v812h-297q-13 0 -22.5 9t-9.5 22v117q0 14 9 23t23 9h793q13 0 22.5 -9.5t9.5 -22.5zM1895 995l77 -961q1 -13 -8 -24q-10 -10 -23 -10h-134q-12 0 -21 8.5 t-10 20.5l-46 588l-189 -425q-8 -19 -29 -19h-120q-20 0 -29 19l-188 427l-45 -590q-1 -12 -10 -20.5t-21 -8.5h-135q-13 0 -23 10q-9 10 -9 24l78 961q1 12 10 20.5t21 8.5h142q20 0 29 -19l220 -520q10 -24 20 -51q3 7 9.5 24.5t10.5 26.5l221 520q9 19 29 19h141 q13 0 22 -8.5t10 -20.5z" />
<glyph unicode="&#xf25d;" horiz-adv-x="1792" d="M1042 833q0 88 -60 121q-33 18 -117 18h-123v-281h162q66 0 102 37t36 105zM1094 548l205 -373q8 -17 -1 -31q-8 -16 -27 -16h-152q-20 0 -28 17l-194 365h-155v-350q0 -14 -9 -23t-23 -9h-134q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h294q128 0 190 -24q85 -31 134 -109 t49 -180q0 -92 -42.5 -165.5t-115.5 -109.5q6 -10 9 -16zM896 1376q-150 0 -286 -58.5t-234.5 -157t-157 -234.5t-58.5 -286t58.5 -286t157 -234.5t234.5 -157t286 -58.5t286 58.5t234.5 157t157 234.5t58.5 286t-58.5 286t-157 234.5t-234.5 157t-286 58.5zM1792 640 q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
<glyph unicode="&#xf25e;" horiz-adv-x="1792" d="M605 303q153 0 257 104q14 18 3 36l-45 82q-6 13 -24 17q-16 2 -27 -11l-4 -3q-4 -4 -11.5 -10t-17.5 -13t-23.5 -14.5t-28.5 -13.5t-33.5 -9.5t-37.5 -3.5q-76 0 -125 50t-49 127q0 76 48 125.5t122 49.5q37 0 71.5 -14t50.5 -28l16 -14q11 -11 26 -10q16 2 24 14l53 78 q13 20 -2 39q-3 4 -11 12t-30 23.5t-48.5 28t-67.5 22.5t-86 10q-148 0 -246 -96.5t-98 -240.5q0 -146 97 -241.5t247 -95.5zM1235 303q153 0 257 104q14 18 4 36l-45 82q-8 14 -25 17q-16 2 -27 -11l-4 -3q-4 -4 -11.5 -10t-17.5 -13t-23.5 -14.5t-28.5 -13.5t-33.5 -9.5 t-37.5 -3.5q-76 0 -125 50t-49 127q0 76 48 125.5t122 49.5q37 0 71.5 -14t50.5 -28l16 -14q11 -11 26 -10q16 2 24 14l53 78q13 20 -2 39q-3 4 -11 12t-30 23.5t-48.5 28t-67.5 22.5t-86 10q-147 0 -245.5 -96.5t-98.5 -240.5q0 -146 97 -241.5t247 -95.5zM896 1376 q-150 0 -286 -58.5t-234.5 -157t-157 -234.5t-58.5 -286t58.5 -286t157 -234.5t234.5 -157t286 -58.5t286 58.5t234.5 157t157 234.5t58.5 286t-58.5 286t-157 234.5t-234.5 157t-286 58.5zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191 t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71z" />
<glyph unicode="&#xf260;" horiz-adv-x="2048" d="M736 736l384 -384l-384 -384l-672 672l672 672l168 -168l-96 -96l-72 72l-480 -480l480 -480l193 193l-289 287zM1312 1312l672 -672l-672 -672l-168 168l96 96l72 -72l480 480l-480 480l-193 -193l289 -287l-96 -96l-384 384z" />
<glyph unicode="&#xf261;" horiz-adv-x="1792" d="M717 182l271 271l-279 279l-88 -88l192 -191l-96 -96l-279 279l279 279l40 -40l87 87l-127 128l-454 -454zM1075 190l454 454l-454 454l-271 -271l279 -279l88 88l-192 191l96 96l279 -279l-279 -279l-40 40l-87 -88zM1792 640q0 -182 -71 -348t-191 -286t-286 -191 t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
<glyph unicode="&#xf262;" horiz-adv-x="2304" d="M651 539q0 -39 -27.5 -66.5t-65.5 -27.5q-39 0 -66.5 27.5t-27.5 66.5q0 38 27.5 65.5t66.5 27.5q38 0 65.5 -27.5t27.5 -65.5zM1805 540q0 -39 -27.5 -66.5t-66.5 -27.5t-66.5 27.5t-27.5 66.5t27.5 66t66.5 27t66.5 -27t27.5 -66zM765 539q0 79 -56.5 136t-136.5 57 t-136.5 -56.5t-56.5 -136.5t56.5 -136.5t136.5 -56.5t136.5 56.5t56.5 136.5zM1918 540q0 80 -56.5 136.5t-136.5 56.5q-79 0 -136 -56.5t-57 -136.5t56.5 -136.5t136.5 -56.5t136.5 56.5t56.5 136.5zM850 539q0 -116 -81.5 -197.5t-196.5 -81.5q-116 0 -197.5 82t-81.5 197 t82 196.5t197 81.5t196.5 -81.5t81.5 -196.5zM2004 540q0 -115 -81.5 -196.5t-197.5 -81.5q-115 0 -196.5 81.5t-81.5 196.5t81.5 196.5t196.5 81.5q116 0 197.5 -81.5t81.5 -196.5zM1040 537q0 191 -135.5 326.5t-326.5 135.5q-125 0 -231 -62t-168 -168.5t-62 -231.5 t62 -231.5t168 -168.5t231 -62q191 0 326.5 135.5t135.5 326.5zM1708 1110q-254 111 -556 111q-319 0 -573 -110q117 0 223 -45.5t182.5 -122.5t122 -183t45.5 -223q0 115 43.5 219.5t118 180.5t177.5 123t217 50zM2187 537q0 191 -135 326.5t-326 135.5t-326.5 -135.5 t-135.5 -326.5t135.5 -326.5t326.5 -135.5t326 135.5t135 326.5zM1921 1103h383q-44 -51 -75 -114.5t-40 -114.5q110 -151 110 -337q0 -156 -77 -288t-209 -208.5t-287 -76.5q-133 0 -249 56t-196 155q-47 -56 -129 -179q-11 22 -53.5 82.5t-74.5 97.5 q-80 -99 -196.5 -155.5t-249.5 -56.5q-155 0 -287 76.5t-209 208.5t-77 288q0 186 110 337q-9 51 -40 114.5t-75 114.5h365q149 100 355 156.5t432 56.5q224 0 421 -56t348 -157z" />
<glyph unicode="&#xf263;" horiz-adv-x="1280" d="M640 629q-188 0 -321 133t-133 320q0 188 133 321t321 133t321 -133t133 -321q0 -187 -133 -320t-321 -133zM640 1306q-92 0 -157.5 -65.5t-65.5 -158.5q0 -92 65.5 -157.5t157.5 -65.5t157.5 65.5t65.5 157.5q0 93 -65.5 158.5t-157.5 65.5zM1163 574q13 -27 15 -49.5 t-4.5 -40.5t-26.5 -38.5t-42.5 -37t-61.5 -41.5q-115 -73 -315 -94l73 -72l267 -267q30 -31 30 -74t-30 -73l-12 -13q-31 -30 -74 -30t-74 30q-67 68 -267 268l-267 -268q-31 -30 -74 -30t-73 30l-12 13q-31 30 -31 73t31 74l267 267l72 72q-203 21 -317 94 q-39 25 -61.5 41.5t-42.5 37t-26.5 38.5t-4.5 40.5t15 49.5q10 20 28 35t42 22t56 -2t65 -35q5 -4 15 -11t43 -24.5t69 -30.5t92 -24t113 -11q91 0 174 25.5t120 50.5l38 25q33 26 65 35t56 2t42 -22t28 -35z" />
<glyph unicode="&#xf264;" d="M927 956q0 -66 -46.5 -112.5t-112.5 -46.5t-112.5 46.5t-46.5 112.5t46.5 112.5t112.5 46.5t112.5 -46.5t46.5 -112.5zM1141 593q-10 20 -28 32t-47.5 9.5t-60.5 -27.5q-10 -8 -29 -20t-81 -32t-127 -20t-124 18t-86 36l-27 18q-31 25 -60.5 27.5t-47.5 -9.5t-28 -32 q-22 -45 -2 -74.5t87 -73.5q83 -53 226 -67l-51 -52q-142 -142 -191 -190q-22 -22 -22 -52.5t22 -52.5l9 -9q22 -22 52.5 -22t52.5 22l191 191q114 -115 191 -191q22 -22 52.5 -22t52.5 22l9 9q22 22 22 52.5t-22 52.5l-191 190l-52 52q141 14 225 67q67 44 87 73.5t-2 74.5 zM1092 956q0 134 -95 229t-229 95t-229 -95t-95 -229t95 -229t229 -95t229 95t95 229zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf265;" horiz-adv-x="1720" d="M1565 1408q65 0 110 -45.5t45 -110.5v-519q0 -176 -68 -336t-182.5 -275t-274 -182.5t-334.5 -67.5q-176 0 -335.5 67.5t-274.5 182.5t-183 275t-68 336v519q0 64 46 110t110 46h1409zM861 344q47 0 82 33l404 388q37 35 37 85q0 49 -34.5 83.5t-83.5 34.5q-47 0 -82 -33 l-323 -310l-323 310q-35 33 -81 33q-49 0 -83.5 -34.5t-34.5 -83.5q0 -51 36 -85l405 -388q33 -33 81 -33z" />
<glyph unicode="&#xf266;" horiz-adv-x="2304" d="M1494 -103l-295 695q-25 -49 -158.5 -305.5t-198.5 -389.5q-1 -1 -27.5 -0.5t-26.5 1.5q-82 193 -255.5 587t-259.5 596q-21 50 -66.5 107.5t-103.5 100.5t-102 43q0 5 -0.5 24t-0.5 27h583v-50q-39 -2 -79.5 -16t-66.5 -43t-10 -64q26 -59 216.5 -499t235.5 -540 q31 61 140 266.5t131 247.5q-19 39 -126 281t-136 295q-38 69 -201 71v50l513 -1v-47q-60 -2 -93.5 -25t-12.5 -69q33 -70 87 -189.5t86 -187.5q110 214 173 363q24 55 -10 79.5t-129 26.5q1 7 1 25v24q64 0 170.5 0.5t180 1t92.5 0.5v-49q-62 -2 -119 -33t-90 -81 l-213 -442q13 -33 127.5 -290t121.5 -274l441 1017q-14 38 -49.5 62.5t-65 31.5t-55.5 8v50l460 -4l1 -2l-1 -44q-139 -4 -201 -145q-526 -1216 -559 -1291h-49z" />
<glyph unicode="&#xf267;" horiz-adv-x="1792" d="M949 643q0 -26 -16.5 -45t-41.5 -19q-26 0 -45 16.5t-19 41.5q0 26 17 45t42 19t44 -16.5t19 -41.5zM964 585l350 581q-9 -8 -67.5 -62.5t-125.5 -116.5t-136.5 -127t-117 -110.5t-50.5 -51.5l-349 -580q7 7 67 62t126 116.5t136 127t117 111t50 50.5zM1611 640 q0 -201 -104 -371q-3 2 -17 11t-26.5 16.5t-16.5 7.5q-13 0 -13 -13q0 -10 59 -44q-74 -112 -184.5 -190.5t-241.5 -110.5l-16 67q-1 10 -15 10q-5 0 -8 -5.5t-2 -9.5l16 -68q-72 -15 -146 -15q-199 0 -372 105q1 2 13 20.5t21.5 33.5t9.5 19q0 13 -13 13q-6 0 -17 -14.5 t-22.5 -34.5t-13.5 -23q-113 75 -192 187.5t-110 244.5l69 15q10 3 10 15q0 5 -5.5 8t-10.5 2l-68 -15q-14 72 -14 139q0 206 109 379q2 -1 18.5 -12t30 -19t17.5 -8q13 0 13 12q0 6 -12.5 15.5t-32.5 21.5l-20 12q77 112 189 189t244 107l15 -67q2 -10 15 -10q5 0 8 5.5 t2 10.5l-15 66q71 13 134 13q204 0 379 -109q-39 -56 -39 -65q0 -13 12 -13q11 0 48 64q111 -75 187.5 -186t107.5 -241l-56 -12q-10 -2 -10 -16q0 -5 5.5 -8t9.5 -2l57 13q14 -72 14 -140zM1696 640q0 163 -63.5 311t-170.5 255t-255 170.5t-311 63.5t-311 -63.5 t-255 -170.5t-170.5 -255t-63.5 -311t63.5 -311t170.5 -255t255 -170.5t311 -63.5t311 63.5t255 170.5t170.5 255t63.5 311zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191 t191 -286t71 -348z" />
<glyph unicode="&#xf268;" horiz-adv-x="1792" d="M893 1536q240 2 451 -120q232 -134 352 -372l-742 39q-160 9 -294 -74.5t-185 -229.5l-276 424q128 159 311 245.5t383 87.5zM146 1131l337 -663q72 -143 211 -217t293 -45l-230 -451q-212 33 -385 157.5t-272.5 316t-99.5 411.5q0 267 146 491zM1732 962 q58 -150 59.5 -310.5t-48.5 -306t-153 -272t-246 -209.5q-230 -133 -498 -119l405 623q88 131 82.5 290.5t-106.5 277.5zM896 942q125 0 213.5 -88.5t88.5 -213.5t-88.5 -213.5t-213.5 -88.5t-213.5 88.5t-88.5 213.5t88.5 213.5t213.5 88.5z" />
<glyph unicode="&#xf269;" horiz-adv-x="1792" d="M903 -256q-283 0 -504.5 150.5t-329.5 398.5q-58 131 -67 301t26 332.5t111 312t179 242.5l-11 -281q11 14 68 15.5t70 -15.5q42 81 160.5 138t234.5 59q-54 -45 -119.5 -148.5t-58.5 -163.5q25 -8 62.5 -13.5t63 -7.5t68 -4t50.5 -3q15 -5 9.5 -45.5t-30.5 -75.5 q-5 -7 -16.5 -18.5t-56.5 -35.5t-101 -34l15 -189l-139 67q-18 -43 -7.5 -81.5t36 -66.5t65.5 -41.5t81 -6.5q51 9 98 34.5t83.5 45t73.5 17.5q61 -4 89.5 -33t19.5 -65q-1 -2 -2.5 -5.5t-8.5 -12.5t-18 -15.5t-31.5 -10.5t-46.5 -1q-60 -95 -144.5 -135.5t-209.5 -29.5 q74 -61 162.5 -82.5t168.5 -6t154.5 52t128 87.5t80.5 104q43 91 39 192.5t-37.5 188.5t-78.5 125q87 -38 137 -79.5t77 -112.5q15 170 -57.5 343t-209.5 284q265 -77 412 -279.5t151 -517.5q2 -127 -40.5 -255t-123.5 -238t-189 -196t-247.5 -135.5t-288.5 -49.5z" />
<glyph unicode="&#xf26a;" horiz-adv-x="1792" d="M1493 1308q-165 110 -359 110q-155 0 -293 -73t-240 -200q-75 -93 -119.5 -218t-48.5 -266v-42q4 -141 48.5 -266t119.5 -218q102 -127 240 -200t293 -73q194 0 359 110q-121 -108 -274.5 -168t-322.5 -60q-29 0 -43 1q-175 8 -333 82t-272 193t-181 281t-67 339 q0 182 71 348t191 286t286 191t348 71h3q168 -1 320.5 -60.5t273.5 -167.5zM1792 640q0 -192 -77 -362.5t-213 -296.5q-104 -63 -222 -63q-137 0 -255 84q154 56 253.5 233t99.5 405q0 227 -99 404t-253 234q119 83 254 83q119 0 226 -65q135 -125 210.5 -295t75.5 -361z " />
<glyph unicode="&#xf26b;" horiz-adv-x="1792" d="M1792 599q0 -56 -7 -104h-1151q0 -146 109.5 -244.5t257.5 -98.5q99 0 185.5 46.5t136.5 130.5h423q-56 -159 -170.5 -281t-267.5 -188.5t-321 -66.5q-187 0 -356 83q-228 -116 -394 -116q-237 0 -237 263q0 115 45 275q17 60 109 229q199 360 475 606 q-184 -79 -427 -354q63 274 283.5 449.5t501.5 175.5q30 0 45 -1q255 117 433 117q64 0 116 -13t94.5 -40.5t66.5 -76.5t24 -115q0 -116 -75 -286q101 -182 101 -390zM1722 1239q0 83 -53 132t-137 49q-108 0 -254 -70q121 -47 222.5 -131.5t170.5 -195.5q51 135 51 216z M128 2q0 -86 48.5 -132.5t134.5 -46.5q115 0 266 83q-122 72 -213.5 183t-137.5 245q-98 -205 -98 -332zM632 715h728q-5 142 -113 237t-251 95q-144 0 -251.5 -95t-112.5 -237z" />
<glyph unicode="&#xf26c;" horiz-adv-x="2048" d="M1792 288v960q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1248v-960q0 -66 -47 -113t-113 -47h-736v-128h352q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23 v64q0 14 9 23t23 9h352v128h-736q-66 0 -113 47t-47 113v960q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
<glyph unicode="&#xf26d;" horiz-adv-x="1792" d="M138 1408h197q-70 -64 -126 -149q-36 -56 -59 -115t-30 -125.5t-8.5 -120t10.5 -132t21 -126t28 -136.5q4 -19 6 -28q51 -238 81 -329q57 -171 152 -275h-272q-48 0 -82 34t-34 82v1304q0 48 34 82t82 34zM1346 1408h308q48 0 82 -34t34 -82v-1304q0 -48 -34 -82t-82 -34 h-178q212 210 196 565l-469 -101q-2 -45 -12 -82t-31 -72t-59.5 -59.5t-93.5 -36.5q-123 -26 -199 40q-32 27 -53 61t-51.5 129t-64.5 258q-35 163 -45.5 263t-5.5 139t23 77q20 41 62.5 73t102.5 45q45 12 83.5 6.5t67 -17t54 -35t43 -48t34.5 -56.5l468 100 q-68 175 -180 287z" />
<glyph unicode="&#xf26e;" d="M1401 -11l-6 -6q-113 -114 -259 -175q-154 -64 -317 -64q-165 0 -317 64q-148 63 -259 175q-113 112 -175 258q-42 103 -54 189q-4 28 48 36q51 8 56 -20q1 -1 1 -4q18 -90 46 -159q50 -124 152 -226q98 -98 226 -152q132 -56 276 -56q143 0 276 56q128 55 225 152l6 6 q10 10 25 6q12 -3 33 -22q36 -37 17 -58zM929 604l-66 -66l63 -63q21 -21 -7 -49q-17 -17 -32 -17q-10 0 -19 10l-62 61l-66 -66q-5 -5 -15 -5q-15 0 -31 16l-2 2q-18 15 -18 29q0 7 8 17l66 65l-66 66q-16 16 14 45q18 18 31 18q6 0 13 -5l65 -66l65 65q18 17 48 -13 q27 -27 11 -44zM1400 547q0 -118 -46 -228q-45 -105 -126 -186q-80 -80 -187 -126t-228 -46t-228 46t-187 126q-82 82 -125 186q-15 32 -15 40h-1q-9 27 43 44q50 16 60 -12q37 -99 97 -167h1v339v2q3 136 102 232q105 103 253 103q147 0 251 -103t104 -249 q0 -147 -104.5 -251t-250.5 -104q-58 0 -112 16q-28 11 -13 61q16 51 44 43l14 -3q14 -3 32.5 -6t30.5 -3q104 0 176 71.5t72 174.5q0 101 -72 171q-71 71 -175 71q-107 0 -178 -80q-64 -72 -64 -160v-413q110 -67 242 -67q96 0 185 36.5t156 103.5t103.5 155t36.5 183 q0 198 -141 339q-140 140 -339 140q-200 0 -340 -140q-53 -53 -77 -87l-2 -2q-8 -11 -13 -15.5t-21.5 -9.5t-38.5 3q-21 5 -36.5 16.5t-15.5 26.5v680q0 15 10.5 26.5t27.5 11.5h877q30 0 30 -55t-30 -55h-811v-483h1q40 42 102 84t108 61q109 46 231 46q121 0 228 -46 t187 -126q81 -81 126 -186q46 -112 46 -229zM1369 1128q9 -8 9 -18t-5.5 -18t-16.5 -21q-26 -26 -39 -26q-9 0 -16 7q-106 91 -207 133q-128 56 -276 56q-133 0 -262 -49q-27 -10 -45 37q-9 25 -8 38q3 16 16 20q130 57 299 57q164 0 316 -64q137 -58 235 -152z" />
<glyph unicode="&#xf270;" horiz-adv-x="1792" d="M1551 60q15 6 26 3t11 -17.5t-15 -33.5q-13 -16 -44 -43.5t-95.5 -68t-141 -74t-188 -58t-229.5 -24.5q-119 0 -238 31t-209 76.5t-172.5 104t-132.5 105t-84 87.5q-8 9 -10 16.5t1 12t8 7t11.5 2t11.5 -4.5q192 -117 300 -166q389 -176 799 -90q190 40 391 135z M1758 175q11 -16 2.5 -69.5t-28.5 -102.5q-34 -83 -85 -124q-17 -14 -26 -9t0 24q21 45 44.5 121.5t6.5 98.5q-5 7 -15.5 11.5t-27 6t-29.5 2.5t-35 0t-31.5 -2t-31 -3t-22.5 -2q-6 -1 -13 -1.5t-11 -1t-8.5 -1t-7 -0.5h-5.5h-4.5t-3 0.5t-2 1.5l-1.5 3q-6 16 47 40t103 30 q46 7 108 1t76 -24zM1364 618q0 -31 13.5 -64t32 -58t37.5 -46t33 -32l13 -11l-227 -224q-40 37 -79 75.5t-58 58.5l-19 20q-11 11 -25 33q-38 -59 -97.5 -102.5t-127.5 -63.5t-140 -23t-137.5 21t-117.5 65.5t-83 113t-31 162.5q0 84 28 154t72 116.5t106.5 83t122.5 57 t130 34.5t119.5 18.5t99.5 6.5v127q0 65 -21 97q-34 53 -121 53q-6 0 -16.5 -1t-40.5 -12t-56 -29.5t-56 -59.5t-48 -96l-294 27q0 60 22 119t67 113t108 95t151.5 65.5t190.5 24.5q100 0 181 -25t129.5 -61.5t81 -83t45 -86t12.5 -73.5v-589zM692 597q0 -86 70 -133 q66 -44 139 -22q84 25 114 123q14 45 14 101v162q-59 -2 -111 -12t-106.5 -33.5t-87 -71t-32.5 -114.5z" />
<glyph unicode="&#xf271;" horiz-adv-x="1792" d="M1536 1280q52 0 90 -38t38 -90v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128zM1152 1376v-288q0 -14 9 -23t23 -9 h64q14 0 23 9t9 23v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM384 1376v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM1536 -128v1024h-1408v-1024h1408zM896 448h224q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-224 v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224z" />
<glyph unicode="&#xf272;" horiz-adv-x="1792" d="M1152 416v-64q0 -14 -9 -23t-23 -9h-576q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h576q14 0 23 -9t9 -23zM128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23 t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47 t47 -113v-96h128q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf273;" horiz-adv-x="1792" d="M1111 151l-46 -46q-9 -9 -22 -9t-23 9l-188 189l-188 -189q-10 -9 -23 -9t-22 9l-46 46q-9 9 -9 22t9 23l189 188l-189 188q-9 10 -9 23t9 22l46 46q9 9 22 9t23 -9l188 -188l188 188q10 9 23 9t22 -9l46 -46q9 -9 9 -22t-9 -23l-188 -188l188 -188q9 -10 9 -23t-9 -22z M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280 q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf274;" horiz-adv-x="1792" d="M1303 572l-512 -512q-10 -9 -23 -9t-23 9l-288 288q-9 10 -9 23t9 22l46 46q9 9 22 9t23 -9l220 -220l444 444q10 9 23 9t22 -9l46 -46q9 -9 9 -22t-9 -23zM128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23 t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47 t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
<glyph unicode="&#xf275;" horiz-adv-x="1792" d="M448 1536q26 0 45 -19t19 -45v-891l536 429q17 14 40 14q26 0 45 -19t19 -45v-379l536 429q17 14 40 14q26 0 45 -19t19 -45v-1152q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h384z" />
<glyph unicode="&#xf276;" horiz-adv-x="1024" d="M512 448q66 0 128 15v-655q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v655q61 -15 128 -15zM512 1536q212 0 362 -150t150 -362t-150 -362t-362 -150t-362 150t-150 362t150 362t362 150zM512 1312q14 0 23 9t9 23t-9 23t-23 9q-146 0 -249 -103t-103 -249 q0 -14 9 -23t23 -9t23 9t9 23q0 119 84.5 203.5t203.5 84.5z" />
<glyph unicode="&#xf277;" horiz-adv-x="1792" d="M1745 1239q10 -10 10 -23t-10 -23l-141 -141q-28 -28 -68 -28h-1344q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h576v64q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-64h512q40 0 68 -28zM768 320h256v-512q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v512zM1600 768 q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-1344q-40 0 -68 28l-141 141q-10 10 -10 23t10 23l141 141q28 28 68 28h512v192h256v-192h576z" />
<glyph unicode="&#xf278;" horiz-adv-x="2048" d="M2020 1525q28 -20 28 -53v-1408q0 -20 -11 -36t-29 -23l-640 -256q-24 -11 -48 0l-616 246l-616 -246q-10 -5 -24 -5q-19 0 -36 11q-28 20 -28 53v1408q0 20 11 36t29 23l640 256q24 11 48 0l616 -246l616 246q32 13 60 -6zM736 1390v-1270l576 -230v1270zM128 1173 v-1270l544 217v1270zM1920 107v1270l-544 -217v-1270z" />
<glyph unicode="&#xf279;" horiz-adv-x="1792" d="M512 1536q13 0 22.5 -9.5t9.5 -22.5v-1472q0 -20 -17 -28l-480 -256q-7 -4 -15 -4q-13 0 -22.5 9.5t-9.5 22.5v1472q0 20 17 28l480 256q7 4 15 4zM1760 1536q13 0 22.5 -9.5t9.5 -22.5v-1472q0 -20 -17 -28l-480 -256q-7 -4 -15 -4q-13 0 -22.5 9.5t-9.5 22.5v1472 q0 20 17 28l480 256q7 4 15 4zM640 1536q8 0 14 -3l512 -256q18 -10 18 -29v-1472q0 -13 -9.5 -22.5t-22.5 -9.5q-8 0 -14 3l-512 256q-18 10 -18 29v1472q0 13 9.5 22.5t22.5 9.5z" />
<glyph unicode="&#xf27a;" horiz-adv-x="1792" d="M640 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1408 640q0 53 -37.5 90.5t-90.5 37.5 t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-110 0 -211 18q-173 -173 -435 -229q-52 -10 -86 -13q-12 -1 -22 6t-13 18q-4 15 20 37q5 5 23.5 21.5t25.5 23.5t23.5 25.5t24 31.5t20.5 37 t20 48t14.5 57.5t12.5 72.5q-146 90 -229.5 216.5t-83.5 269.5q0 174 120 321.5t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />
<glyph unicode="&#xf27b;" horiz-adv-x="1792" d="M640 640q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1024 640q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 -53 -37.5 -90.5t-90.5 -37.5 t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5 t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51 t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 130 71 248.5t191 204.5t286 136.5t348 50.5t348 -50.5t286 -136.5t191 -204.5t71 -248.5z" />
<glyph unicode="&#xf27c;" horiz-adv-x="1024" d="M512 345l512 295v-591l-512 -296v592zM0 640v-591l512 296zM512 1527v-591l-512 -296v591zM512 936l512 295v-591z" />
<glyph unicode="&#xf27d;" horiz-adv-x="1792" d="M1709 1018q-10 -236 -332 -651q-333 -431 -562 -431q-142 0 -240 263q-44 160 -132 482q-72 262 -157 262q-18 0 -127 -76l-77 98q24 21 108 96.5t130 115.5q156 138 241 146q95 9 153 -55.5t81 -203.5q44 -287 66 -373q55 -249 120 -249q51 0 154 161q101 161 109 246 q13 139 -109 139q-57 0 -121 -26q120 393 459 382q251 -8 236 -326z" />
<glyph unicode="&#xf27e;" d="M0 1408h1536v-1536h-1536v1536zM1085 293l-221 631l221 297h-634l221 -297l-221 -631l317 -304z" />
<glyph unicode="&#xf280;" d="M0 1408h1536v-1536h-1536v1536zM908 1088l-12 -33l75 -83l-31 -114l25 -25l107 57l107 -57l25 25l-31 114l75 83l-12 33h-95l-53 96h-32l-53 -96h-95zM641 925q32 0 44.5 -16t11.5 -63l174 21q0 55 -17.5 92.5t-50.5 56t-69 25.5t-85 7q-133 0 -199 -57.5t-66 -182.5v-72 h-96v-128h76q20 0 20 -8v-382q0 -14 -5 -20t-18 -7l-73 -7v-88h448v86l-149 14q-6 1 -8.5 1.5t-3.5 2.5t-0.5 4t1 7t0.5 10v387h191l38 128h-231q-6 0 -2 6t4 9v80q0 27 1.5 40.5t7.5 28t19.5 20t36.5 5.5zM1248 96v86l-54 9q-7 1 -9.5 2.5t-2.5 3t1 7.5t1 12v520h-275 l-23 -101l83 -22q23 -7 23 -27v-370q0 -14 -6 -18.5t-20 -6.5l-70 -9v-86h352z" />
<glyph unicode="&#xf281;" horiz-adv-x="1792" d="M1792 690q0 -58 -29.5 -105.5t-79.5 -72.5q12 -46 12 -96q0 -155 -106.5 -287t-290.5 -208.5t-400 -76.5t-399.5 76.5t-290 208.5t-106.5 287q0 47 11 94q-51 25 -82 73.5t-31 106.5q0 82 58 140.5t141 58.5q85 0 145 -63q218 152 515 162l116 521q3 13 15 21t26 5 l369 -81q18 37 54 59.5t79 22.5q62 0 106 -43.5t44 -105.5t-44 -106t-106 -44t-105.5 43.5t-43.5 105.5l-334 74l-104 -472q300 -9 519 -160q58 61 143 61q83 0 141 -58.5t58 -140.5zM418 491q0 -62 43.5 -106t105.5 -44t106 44t44 106t-44 105.5t-106 43.5q-61 0 -105 -44 t-44 -105zM1228 136q11 11 11 26t-11 26q-10 10 -25 10t-26 -10q-41 -42 -121 -62t-160 -20t-160 20t-121 62q-11 10 -26 10t-25 -10q-11 -10 -11 -25.5t11 -26.5q43 -43 118.5 -68t122.5 -29.5t91 -4.5t91 4.5t122.5 29.5t118.5 68zM1225 341q62 0 105.5 44t43.5 106 q0 61 -44 105t-105 44q-62 0 -106 -43.5t-44 -105.5t44 -106t106 -44z" />
<glyph unicode="&#xf282;" horiz-adv-x="1792" d="M69 741h1q16 126 58.5 241.5t115 217t167.5 176t223.5 117.5t276.5 43q231 0 414 -105.5t294 -303.5q104 -187 104 -442v-188h-1125q1 -111 53.5 -192.5t136.5 -122.5t189.5 -57t213 -3t208 46.5t173.5 84.5v-377q-92 -55 -229.5 -92t-312.5 -38t-316 53 q-189 73 -311.5 249t-124.5 372q-3 242 111 412t325 268q-48 -60 -78 -125.5t-46 -159.5h635q8 77 -8 140t-47 101.5t-70.5 66.5t-80.5 41t-75 20.5t-56 8.5l-22 1q-135 -5 -259.5 -44.5t-223.5 -104.5t-176 -140.5t-138 -163.5z" />
<glyph unicode="&#xf283;" horiz-adv-x="2304" d="M0 32v608h2304v-608q0 -66 -47 -113t-113 -47h-1984q-66 0 -113 47t-47 113zM640 256v-128h384v128h-384zM256 256v-128h256v128h-256zM2144 1408q66 0 113 -47t47 -113v-224h-2304v224q0 66 47 113t113 47h1984z" />
<glyph unicode="&#xf284;" horiz-adv-x="1792" d="M1549 857q55 0 85.5 -28.5t30.5 -83.5t-34 -82t-91 -27h-136v-177h-25v398h170zM1710 267l-4 -11l-5 -10q-113 -230 -330.5 -366t-474.5 -136q-182 0 -348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71q244 0 454.5 -124t329.5 -338l2 -4l8 -16 q-30 -15 -136.5 -68.5t-163.5 -84.5q-6 -3 -479 -268q384 -183 799 -366zM896 -234q250 0 462.5 132.5t322.5 357.5l-287 129q-72 -140 -206 -222t-292 -82q-151 0 -280 75t-204 204t-75 280t75 280t204 204t280 75t280 -73.5t204 -204.5l280 143q-116 208 -321 329 t-443 121q-119 0 -232.5 -31.5t-209 -87.5t-176.5 -137t-137 -176.5t-87.5 -209t-31.5 -232.5t31.5 -232.5t87.5 -209t137 -176.5t176.5 -137t209 -87.5t232.5 -31.5z" />
<glyph unicode="&#xf285;" horiz-adv-x="1792" d="M1427 827l-614 386l92 151h855zM405 562l-184 116v858l1183 -743zM1424 697l147 -95v-858l-532 335zM1387 718l-500 -802h-855l356 571z" />
<glyph unicode="&#xf286;" horiz-adv-x="1792" d="M640 528v224q0 16 -16 16h-96q-16 0 -16 -16v-224q0 -16 16 -16h96q16 0 16 16zM1152 528v224q0 16 -16 16h-96q-16 0 -16 -16v-224q0 -16 16 -16h96q16 0 16 16zM1664 496v-752h-640v320q0 80 -56 136t-136 56t-136 -56t-56 -136v-320h-640v752q0 16 16 16h96 q16 0 16 -16v-112h128v624q0 16 16 16h96q16 0 16 -16v-112h128v112q0 16 16 16h96q16 0 16 -16v-112h128v112q0 6 2.5 9.5t8.5 5t9.5 2t11.5 0t9 -0.5v391q-32 15 -32 50q0 23 16.5 39t38.5 16t38.5 -16t16.5 -39q0 -35 -32 -50v-17q45 10 83 10q21 0 59.5 -7.5t54.5 -7.5 q17 0 47 7.5t37 7.5q16 0 16 -16v-210q0 -15 -35 -21.5t-62 -6.5q-18 0 -54.5 7.5t-55.5 7.5q-40 0 -90 -12v-133q1 0 9 0.5t11.5 0t9.5 -2t8.5 -5t2.5 -9.5v-112h128v112q0 16 16 16h96q16 0 16 -16v-112h128v112q0 16 16 16h96q16 0 16 -16v-624h128v112q0 16 16 16h96 q16 0 16 -16z" />
<glyph unicode="&#xf287;" horiz-adv-x="2304" d="M2288 731q16 -8 16 -27t-16 -27l-320 -192q-8 -5 -16 -5q-9 0 -16 4q-16 10 -16 28v128h-858q37 -58 83 -165q16 -37 24.5 -55t24 -49t27 -47t27 -34t31.5 -26t33 -8h96v96q0 14 9 23t23 9h320q14 0 23 -9t9 -23v-320q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v96h-96 q-32 0 -61 10t-51 23.5t-45 40.5t-37 46t-33.5 57t-28.5 57.5t-28 60.5q-23 53 -37 81.5t-36 65t-44.5 53.5t-46.5 17h-360q-22 -84 -91 -138t-157 -54q-106 0 -181 75t-75 181t75 181t181 75q88 0 157 -54t91 -138h104q24 0 46.5 17t44.5 53.5t36 65t37 81.5q19 41 28 60.5 t28.5 57.5t33.5 57t37 46t45 40.5t51 23.5t61 10h107q21 57 70 92.5t111 35.5q80 0 136 -56t56 -136t-56 -136t-136 -56q-62 0 -111 35.5t-70 92.5h-107q-17 0 -33 -8t-31.5 -26t-27 -34t-27 -47t-24 -49t-24.5 -55q-46 -107 -83 -165h1114v128q0 18 16 28t32 -1z" />
<glyph unicode="&#xf288;" horiz-adv-x="1792" d="M1150 774q0 -56 -39.5 -95t-95.5 -39h-253v269h253q56 0 95.5 -39.5t39.5 -95.5zM1329 774q0 130 -91.5 222t-222.5 92h-433v-896h180v269h253q130 0 222 91.5t92 221.5zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348 t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
<glyph unicode="&#xf289;" horiz-adv-x="2304" d="M1645 438q0 59 -34 106.5t-87 68.5q-7 -45 -23 -92q-7 -24 -27.5 -38t-44.5 -14q-12 0 -24 3q-31 10 -45 38.5t-4 58.5q23 71 23 143q0 123 -61 227.5t-166 165.5t-228 61q-134 0 -247 -73t-167 -194q108 -28 188 -106q22 -23 22 -55t-22 -54t-54 -22t-55 22 q-75 75 -180 75q-106 0 -181 -74.5t-75 -180.5t75 -180.5t181 -74.5h1046q79 0 134.5 55.5t55.5 133.5zM1798 438q0 -142 -100.5 -242t-242.5 -100h-1046q-169 0 -289 119.5t-120 288.5q0 153 100 267t249 136q62 184 221 298t354 114q235 0 408.5 -158.5t196.5 -389.5 q116 -25 192.5 -118.5t76.5 -214.5zM2048 438q0 -175 -97 -319q-23 -33 -64 -33q-24 0 -43 13q-26 17 -32 48.5t12 57.5q71 104 71 233t-71 233q-18 26 -12 57t32 49t57.5 11.5t49.5 -32.5q97 -142 97 -318zM2304 438q0 -244 -134 -443q-23 -34 -64 -34q-23 0 -42 13 q-26 18 -32.5 49t11.5 57q108 164 108 358q0 195 -108 357q-18 26 -11.5 57.5t32.5 48.5q26 18 57 12t49 -33q134 -198 134 -442z" />
<glyph unicode="&#xf28a;" d="M1500 -13q0 -89 -63 -152.5t-153 -63.5t-153.5 63.5t-63.5 152.5q0 90 63.5 153.5t153.5 63.5t153 -63.5t63 -153.5zM1267 268q-115 -15 -192.5 -102.5t-77.5 -205.5q0 -74 33 -138q-146 -78 -379 -78q-109 0 -201 21t-153.5 54.5t-110.5 76.5t-76 85t-44.5 83 t-23.5 66.5t-6 39.5q0 19 4.5 42.5t18.5 56t36.5 58t64 43.5t94.5 18t94 -17.5t63 -41t35.5 -53t17.5 -49t4 -33.5q0 -34 -23 -81q28 -27 82 -42t93 -17l40 -1q115 0 190 51t75 133q0 26 -9 48.5t-31.5 44.5t-49.5 41t-74 44t-93.5 47.5t-119.5 56.5q-28 13 -43 20 q-116 55 -187 100t-122.5 102t-72 125.5t-20.5 162.5q0 78 20.5 150t66 137.5t112.5 114t166.5 77t221.5 28.5q120 0 220 -26t164.5 -67t109.5 -94t64 -105.5t19 -103.5q0 -46 -15 -82.5t-36.5 -58t-48.5 -36t-49 -19.5t-39 -5h-8h-32t-39 5t-44 14t-41 28t-37 46t-24 70.5 t-10 97.5q-15 16 -59 25.5t-81 10.5l-37 1q-68 0 -117.5 -31t-70.5 -70t-21 -76q0 -24 5 -43t24 -46t53 -51t97 -53.5t150 -58.5q76 -25 138.5 -53.5t109 -55.5t83 -59t60.5 -59.5t41 -62.5t26.5 -62t14.5 -63.5t6 -62t1 -62.5z" />
<glyph unicode="&#xf28b;" d="M704 352v576q0 14 -9 23t-23 9h-256q-14 0 -23 -9t-9 -23v-576q0 -14 9 -23t23 -9h256q14 0 23 9t9 23zM1152 352v576q0 14 -9 23t-23 9h-256q-14 0 -23 -9t-9 -23v-576q0 -14 9 -23t23 -9h256q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103 t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf28c;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM768 96q148 0 273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273 t73 -273t198 -198t273 -73zM864 320q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-192zM480 320q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-192z" />
<glyph unicode="&#xf28d;" d="M1088 352v576q0 14 -9 23t-23 9h-576q-14 0 -23 -9t-9 -23v-576q0 -14 9 -23t23 -9h576q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
<glyph unicode="&#xf28e;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM768 96q148 0 273 73t198 198t73 273t-73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273 t73 -273t198 -198t273 -73zM480 320q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h576q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-576z" />
<glyph unicode="&#xf290;" horiz-adv-x="1792" d="M1757 128l35 -313q3 -28 -16 -50q-19 -21 -48 -21h-1664q-29 0 -48 21q-19 22 -16 50l35 313h1722zM1664 967l86 -775h-1708l86 775q3 24 21 40.5t43 16.5h256v-128q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5v128h384v-128q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5v128h256q25 0 43 -16.5t21 -40.5zM1280 1152v-256q0 -26 -19 -45t-45 -19t-45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-256q0 -26 -19 -45t-45 -19t-45 19t-19 45v256q0 159 112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
<glyph unicode="&#xf291;" horiz-adv-x="2048" d="M1920 768q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5h-15l-115 -662q-8 -46 -44 -76t-82 -30h-1280q-46 0 -82 30t-44 76l-115 662h-15q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5h1792zM485 -32q26 2 43.5 22.5t15.5 46.5l-32 416q-2 26 -22.5 43.5 t-46.5 15.5t-43.5 -22.5t-15.5 -46.5l32 -416q2 -25 20.5 -42t43.5 -17h5zM896 32v416q0 26 -19 45t-45 19t-45 -19t-19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45zM1280 32v416q0 26 -19 45t-45 19t-45 -19t-19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45zM1632 27l32 416 q2 26 -15.5 46.5t-43.5 22.5t-46.5 -15.5t-22.5 -43.5l-32 -416q-2 -26 15.5 -46.5t43.5 -22.5h5q25 0 43.5 17t20.5 42zM476 1244l-93 -412h-132l101 441q19 88 89 143.5t160 55.5h167q0 26 19 45t45 19h384q26 0 45 -19t19 -45h167q90 0 160 -55.5t89 -143.5l101 -441 h-132l-93 412q-11 44 -45.5 72t-79.5 28h-167q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45h-167q-45 0 -79.5 -28t-45.5 -72z" />
<glyph unicode="&#xf292;" horiz-adv-x="1792" d="M991 512l64 256h-254l-64 -256h254zM1759 1016l-56 -224q-7 -24 -31 -24h-327l-64 -256h311q15 0 25 -12q10 -14 6 -28l-56 -224q-5 -24 -31 -24h-327l-81 -328q-7 -24 -31 -24h-224q-16 0 -26 12q-9 12 -6 28l78 312h-254l-81 -328q-7 -24 -31 -24h-225q-15 0 -25 12 q-9 12 -6 28l78 312h-311q-15 0 -25 12q-9 12 -6 28l56 224q7 24 31 24h327l64 256h-311q-15 0 -25 12q-10 14 -6 28l56 224q5 24 31 24h327l81 328q7 24 32 24h224q15 0 25 -12q9 -12 6 -28l-78 -312h254l81 328q7 24 32 24h224q15 0 25 -12q9 -12 6 -28l-78 -312h311 q15 0 25 -12q9 -12 6 -28z" />
<glyph unicode="&#xf293;" d="M841 483l148 -148l-149 -149zM840 1094l149 -149l-148 -148zM710 -130l464 464l-306 306l306 306l-464 464v-611l-255 255l-93 -93l320 -321l-320 -321l93 -93l255 255v-611zM1429 640q0 -209 -32 -365.5t-87.5 -257t-140.5 -162.5t-181.5 -86.5t-219.5 -24.5 t-219.5 24.5t-181.5 86.5t-140.5 162.5t-87.5 257t-32 365.5t32 365.5t87.5 257t140.5 162.5t181.5 86.5t219.5 24.5t219.5 -24.5t181.5 -86.5t140.5 -162.5t87.5 -257t32 -365.5z" />
<glyph unicode="&#xf294;" horiz-adv-x="1024" d="M596 113l173 172l-173 172v-344zM596 823l173 172l-173 172v-344zM628 640l356 -356l-539 -540v711l-297 -296l-108 108l372 373l-372 373l108 108l297 -296v711l539 -540z" />
<glyph unicode="&#xf295;" d="M1280 256q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM512 1024q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5 t112.5 -271.5zM1440 1344q0 -20 -13 -38l-1056 -1408q-19 -26 -51 -26h-160q-26 0 -45 19t-19 45q0 20 13 38l1056 1408q19 26 51 26h160q26 0 45 -19t19 -45zM768 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" />
<glyph unicode="&#xf296;" horiz-adv-x="1792" d="M104 830l792 -1015l-868 630q-18 13 -25 34.5t0 42.5l101 308v0zM566 830h660l-330 -1015v0zM368 1442l198 -612h-462l198 612q8 23 33 23t33 -23zM1688 830l101 -308q7 -21 0 -42.5t-25 -34.5l-868 -630l792 1015v0zM1688 830h-462l198 612q8 23 33 23t33 -23z" />
<glyph unicode="&#xf297;" horiz-adv-x="1792" d="M384 704h160v224h-160v-224zM1221 372v92q-104 -36 -243 -38q-135 -1 -259.5 46.5t-220.5 122.5l1 -96q88 -80 212 -128.5t272 -47.5q129 0 238 49zM640 704h640v224h-640v-224zM1792 736q0 -187 -99 -352q89 -102 89 -229q0 -157 -129.5 -268t-313.5 -111 q-122 0 -225 52.5t-161 140.5q-19 -1 -57 -1t-57 1q-58 -88 -161 -140.5t-225 -52.5q-184 0 -313.5 111t-129.5 268q0 127 89 229q-99 165 -99 352q0 209 120 385.5t326.5 279.5t449.5 103t449.5 -103t326.5 -279.5t120 -385.5z" />
<glyph unicode="&#xf298;" d="M515 625v-128h-252v128h252zM515 880v-127h-252v127h252zM1273 369v-128h-341v128h341zM1273 625v-128h-672v128h672zM1273 880v-127h-672v127h672zM1408 20v1240q0 8 -6 14t-14 6h-32l-378 -256l-210 171l-210 -171l-378 256h-32q-8 0 -14 -6t-6 -14v-1240q0 -8 6 -14 t14 -6h1240q8 0 14 6t6 14zM553 1130l185 150h-406zM983 1130l221 150h-406zM1536 1260v-1240q0 -62 -43 -105t-105 -43h-1240q-62 0 -105 43t-43 105v1240q0 62 43 105t105 43h1240q62 0 105 -43t43 -105z" />
<glyph unicode="&#xf299;" horiz-adv-x="1792" d="M896 720q-104 196 -160 278q-139 202 -347 318q-34 19 -70 36q-89 40 -94 32t34 -38l39 -31q62 -43 112.5 -93.5t94.5 -116.5t70.5 -113t70.5 -131q9 -17 13 -25q44 -84 84 -153t98 -154t115.5 -150t131 -123.5t148.5 -90.5q153 -66 154 -60q1 3 -49 37q-53 36 -81 57 q-77 58 -179 211t-185 310zM549 177q-76 60 -132.5 125t-98 143.5t-71 154.5t-58.5 186t-52 209t-60.5 252t-76.5 289q273 0 497.5 -36t379 -92t271 -144.5t185.5 -172.5t110 -198.5t56 -199.5t12.5 -198.5t-9.5 -173t-20 -143.5t-13 -107l323 -327h-104l-281 285 q-22 -2 -91.5 -14t-121.5 -19t-138 -6t-160.5 17t-167.5 59t-179 111z" />
<glyph unicode="&#xf29a;" horiz-adv-x="1792" d="M1374 879q-6 26 -28.5 39.5t-48.5 7.5q-261 -62 -401 -62t-401 62q-26 6 -48.5 -7.5t-28.5 -39.5t7.5 -48.5t39.5 -28.5q194 -46 303 -58q-2 -158 -15.5 -269t-26.5 -155.5t-41 -115.5l-9 -21q-10 -25 1 -49t36 -34q9 -4 23 -4q44 0 60 41l8 20q54 139 71 259h42 q17 -120 71 -259l8 -20q16 -41 60 -41q14 0 23 4q25 10 36 34t1 49l-9 21q-28 71 -41 115.5t-26.5 155.5t-15.5 269q109 12 303 58q26 6 39.5 28.5t7.5 48.5zM1024 1024q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5z M1600 640q0 -143 -55.5 -273.5t-150 -225t-225 -150t-273.5 -55.5t-273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5zM896 1408q-156 0 -298 -61t-245 -164t-164 -245t-61 -298t61 -298 t164 -245t245 -164t298 -61t298 61t245 164t164 245t61 298t-61 298t-164 245t-245 164t-298 61zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
<glyph unicode="&#xf29b;" d="M1438 723q34 -35 29 -82l-44 -551q-4 -42 -34.5 -70t-71.5 -28q-6 0 -9 1q-44 3 -72.5 36.5t-25.5 77.5l35 429l-143 -8q55 -113 55 -240q0 -216 -148 -372l-137 137q91 101 91 235q0 145 -102.5 248t-247.5 103q-134 0 -236 -92l-137 138q120 114 284 141l264 300 l-149 87l-181 -161q-33 -30 -77 -27.5t-73 35.5t-26.5 77t34.5 73l239 213q26 23 60 26.5t64 -14.5l488 -283q36 -21 48 -68q17 -67 -26 -117l-205 -232l371 20q49 3 83 -32zM1240 1180q-74 0 -126 52t-52 126t52 126t126 52t126.5 -52t52.5 -126t-52.5 -126t-126.5 -52z M613 -62q106 0 196 61l139 -139q-146 -116 -335 -116q-148 0 -273.5 73t-198.5 198t-73 273q0 188 116 336l139 -139q-60 -88 -60 -197q0 -145 102.5 -247.5t247.5 -102.5z" />
<glyph unicode="&#xf29c;" d="M880 336v-160q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v160q0 14 9 23t23 9h160q14 0 23 -9t9 -23zM1136 832q0 -50 -15 -90t-45.5 -69t-52 -44t-59.5 -36q-32 -18 -46.5 -28t-26 -24t-11.5 -29v-32q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v68q0 35 10.5 64.5 t24 47.5t39 35.5t41 25.5t44.5 21q53 25 75 43t22 49q0 42 -43.5 71.5t-95.5 29.5q-56 0 -95 -27q-29 -20 -80 -83q-9 -12 -25 -12q-11 0 -19 6l-108 82q-10 7 -12 20t5 23q122 192 349 192q129 0 238.5 -89.5t109.5 -214.5zM768 1280q-130 0 -248.5 -51t-204 -136.5 t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5 t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf29d;" horiz-adv-x="1408" d="M366 1225q-64 0 -110 45.5t-46 110.5q0 64 46 109.5t110 45.5t109.5 -45.5t45.5 -109.5q0 -65 -45.5 -110.5t-109.5 -45.5zM917 583q0 -50 -30 -67.5t-63.5 -6.5t-47.5 34l-367 438q-7 12 -14 15.5t-11 1.5l-3 -3q-7 -8 4 -21l122 -139l1 -354l-161 -457 q-67 -192 -92 -234q-16 -26 -28 -32q-50 -26 -103 -1q-29 13 -41.5 43t-9.5 57q2 17 197 618l5 416l-85 -164l35 -222q4 -24 -1 -42t-14 -27.5t-19 -16t-17 -7.5l-7 -2q-19 -3 -34.5 3t-24 16t-14 22t-7.5 19.5t-2 9.5l-46 299l211 381q23 34 113 34q75 0 107 -40l424 -521 q7 -5 14 -17l3 -3l-1 -1q7 -13 7 -29zM514 433q43 -113 88.5 -225t69.5 -168l24 -55q36 -93 42 -125q11 -70 -36 -97q-35 -22 -66 -16t-51 22t-29 35h-1q-6 16 -8 25l-124 351zM1338 -159q31 -49 31 -57q0 -5 -3 -7q-9 -5 -14.5 0.5t-15.5 26t-16 30.5q-114 172 -423 661 q3 -1 7 1t7 4l3 2q11 9 11 17z" />
<glyph unicode="&#xf29e;" horiz-adv-x="2304" d="M504 542h171l-1 265zM1530 641q0 87 -50.5 140t-146.5 53h-54v-388h52q91 0 145 57t54 138zM956 1018l1 -756q0 -14 -9.5 -24t-23.5 -10h-216q-14 0 -23.5 10t-9.5 24v62h-291l-55 -81q-10 -15 -28 -15h-267q-21 0 -30.5 18t3.5 35l556 757q9 14 27 14h332q14 0 24 -10 t10 -24zM1783 641q0 -193 -125.5 -303t-324.5 -110h-270q-14 0 -24 10t-10 24v756q0 14 10 24t24 10h268q200 0 326 -109t126 -302zM1939 640q0 -11 -0.5 -29t-8 -71.5t-21.5 -102t-44.5 -108t-73.5 -102.5h-51q38 45 66.5 104.5t41.5 112t21 98t9 72.5l1 27q0 8 -0.5 22.5 t-7.5 60t-20 91.5t-41 111.5t-66 124.5h43q41 -47 72 -107t45.5 -111.5t23 -96t10.5 -70.5zM2123 640q0 -11 -0.5 -29t-8 -71.5t-21.5 -102t-45 -108t-74 -102.5h-51q38 45 66.5 104.5t41.5 112t21 98t9 72.5l1 27q0 8 -0.5 22.5t-7.5 60t-19.5 91.5t-40.5 111.5t-66 124.5 h43q41 -47 72 -107t45.5 -111.5t23 -96t10.5 -70.5zM2304 640q0 -11 -0.5 -29t-8 -71.5t-21.5 -102t-44.5 -108t-73.5 -102.5h-51q38 45 66 104.5t41 112t21 98t9 72.5l1 27q0 8 -0.5 22.5t-7.5 60t-19.5 91.5t-40.5 111.5t-66 124.5h43q41 -47 72 -107t45.5 -111.5t23 -96 t9.5 -70.5z" />
<glyph unicode="&#xf2a0;" horiz-adv-x="1408" d="M617 -153q0 11 -13 58t-31 107t-20 69q-1 4 -5 26.5t-8.5 36t-13.5 21.5q-15 14 -51 14q-23 0 -70 -5.5t-71 -5.5q-34 0 -47 11q-6 5 -11 15.5t-7.5 20t-6.5 24t-5 18.5q-37 128 -37 255t37 255q1 4 5 18.5t6.5 24t7.5 20t11 15.5q13 11 47 11q24 0 71 -5.5t70 -5.5 q36 0 51 14q9 8 13.5 21.5t8.5 36t5 26.5q2 9 20 69t31 107t13 58q0 22 -43.5 52.5t-75.5 42.5q-20 8 -45 8q-34 0 -98 -18q-57 -17 -96.5 -40.5t-71 -66t-46 -70t-45.5 -94.5q-6 -12 -9 -19q-49 -107 -68 -216t-19 -244t19 -244t68 -216q56 -122 83 -161q63 -91 179 -127 l6 -2q64 -18 98 -18q25 0 45 8q32 12 75.5 42.5t43.5 52.5zM776 760q-26 0 -45 19t-19 45.5t19 45.5q37 37 37 90q0 52 -37 91q-19 19 -19 45t19 45t45 19t45 -19q75 -75 75 -181t-75 -181q-21 -19 -45 -19zM957 579q-27 0 -45 19q-19 19 -19 45t19 45q112 114 112 272 t-112 272q-19 19 -19 45t19 45t45 19t45 -19q150 -150 150 -362t-150 -362q-18 -19 -45 -19zM1138 398q-27 0 -45 19q-19 19 -19 45t19 45q90 91 138.5 208t48.5 245t-48.5 245t-138.5 208q-19 19 -19 45t19 45t45 19t45 -19q109 -109 167 -249t58 -294t-58 -294t-167 -249 q-18 -19 -45 -19z" />
<glyph unicode="&#xf2a1;" horiz-adv-x="2176" d="M192 352q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM704 352q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM704 864q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM1472 352 q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM1984 352q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM1472 864q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM1984 864 q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM1984 1376q-66 0 -113 -47t-47 -113t47 -113t113 -47t113 47t47 113t-47 113t-113 47zM384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 192q0 -80 -56 -136 t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 704q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 704q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 1216q0 -80 -56 -136t-136 -56 t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 1216q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM2176 192q0 -80 -56 -136t-136 -56t-136 56 t-56 136t56 136t136 56t136 -56t56 -136zM1664 704q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM2176 704q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 1216q0 -80 -56 -136t-136 -56t-136 56t-56 136 t56 136t136 56t136 -56t56 -136zM2176 1216q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136z" />
<glyph unicode="&#xf2a2;" horiz-adv-x="1792" d="M128 -192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM320 0q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM365 365l256 -256l-90 -90l-256 256zM704 384q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45z M1411 704q0 -59 -11.5 -108.5t-37.5 -93.5t-44 -67.5t-53 -64.5q-31 -35 -45.5 -54t-33.5 -50t-26.5 -64t-7.5 -74q0 -159 -112.5 -271.5t-271.5 -112.5q-26 0 -45 19t-19 45t19 45t45 19q106 0 181 75t75 181q0 57 11.5 105.5t37 91t43.5 66.5t52 63q40 46 59.5 72 t37.5 74.5t18 103.5q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5q0 -26 -19 -45t-45 -19t-45 19t-19 45q0 117 45.5 223.5t123 184t184 123t223.5 45.5t223.5 -45.5t184 -123t123 -184t45.5 -223.5zM896 576q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45 t45 19t45 -19t19 -45zM1184 704q0 -26 -19 -45t-45 -19t-45 19t-19 45q0 93 -65.5 158.5t-158.5 65.5q-92 0 -158 -65.5t-66 -158.5q0 -26 -19 -45t-45 -19t-45 19t-19 45q0 146 103 249t249 103t249 -103t103 -249zM1578 993q10 -25 -1 -49t-36 -34q-9 -4 -23 -4 q-19 0 -35.5 11t-23.5 30q-68 178 -224 295q-21 16 -25 42t12 47q17 21 43 25t47 -12q183 -137 266 -351zM1788 1074q9 -25 -1.5 -49t-35.5 -34q-11 -4 -23 -4q-44 0 -60 41q-92 238 -297 393q-22 16 -25.5 42t12.5 47q16 22 42 25.5t47 -12.5q235 -175 341 -449z" />
<glyph unicode="&#xf2a3;" horiz-adv-x="2304" d="M1032 576q-59 2 -84 55q-17 34 -48 53.5t-68 19.5q-53 0 -90.5 -37.5t-37.5 -90.5q0 -56 36 -89l10 -8q34 -31 82 -31q37 0 68 19.5t48 53.5q25 53 84 55zM1600 704q0 56 -36 89l-10 8q-34 31 -82 31q-37 0 -68 -19.5t-48 -53.5q-25 -53 -84 -55q59 -2 84 -55 q17 -34 48 -53.5t68 -19.5q53 0 90.5 37.5t37.5 90.5zM1174 925q-17 -35 -55 -48t-73 4q-62 31 -134 31q-51 0 -99 -17q3 0 9.5 0.5t9.5 0.5q92 0 170.5 -50t118.5 -133q17 -36 3.5 -73.5t-49.5 -54.5q-18 -9 -39 -9q21 0 39 -9q36 -17 49.5 -54.5t-3.5 -73.5 q-40 -83 -118.5 -133t-170.5 -50h-6q-16 2 -44 4l-290 27l-239 -120q-14 -7 -29 -7q-40 0 -57 35l-160 320q-11 23 -4 47.5t29 37.5l209 119l148 267q17 155 91.5 291.5t195.5 236.5q31 25 70.5 21.5t64.5 -34.5t21.5 -70t-34.5 -65q-70 -59 -117 -128q123 84 267 101 q40 5 71.5 -19t35.5 -64q5 -40 -19 -71.5t-64 -35.5q-84 -10 -159 -55q46 10 99 10q115 0 218 -50q36 -18 49 -55.5t-5 -73.5zM2137 1085l160 -320q11 -23 4 -47.5t-29 -37.5l-209 -119l-148 -267q-17 -155 -91.5 -291.5t-195.5 -236.5q-26 -22 -61 -22q-45 0 -74 35 q-25 31 -21.5 70t34.5 65q70 59 117 128q-123 -84 -267 -101q-4 -1 -12 -1q-36 0 -63.5 24t-31.5 60q-5 40 19 71.5t64 35.5q84 10 159 55q-46 -10 -99 -10q-115 0 -218 50q-36 18 -49 55.5t5 73.5q17 35 55 48t73 -4q62 -31 134 -31q51 0 99 17q-3 0 -9.5 -0.5t-9.5 -0.5 q-92 0 -170.5 50t-118.5 133q-17 36 -3.5 73.5t49.5 54.5q18 9 39 9q-21 0 -39 9q-36 17 -49.5 54.5t3.5 73.5q40 83 118.5 133t170.5 50h6h1q14 -2 42 -4l291 -27l239 120q14 7 29 7q40 0 57 -35z" />
<glyph unicode="&#xf2a4;" horiz-adv-x="1792" d="M1056 704q0 -26 19 -45t45 -19t45 19t19 45q0 146 -103 249t-249 103t-249 -103t-103 -249q0 -26 19 -45t45 -19t45 19t19 45q0 93 66 158.5t158 65.5t158 -65.5t66 -158.5zM835 1280q-117 0 -223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5q0 -26 19 -45t45 -19t45 19 t19 45q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -55 -18 -103.5t-37.5 -74.5t-59.5 -72q-34 -39 -52 -63t-43.5 -66.5t-37 -91t-11.5 -105.5q0 -106 -75 -181t-181 -75q-26 0 -45 -19t-19 -45t19 -45t45 -19q159 0 271.5 112.5t112.5 271.5q0 41 7.5 74 t26.5 64t33.5 50t45.5 54q35 41 53 64.5t44 67.5t37.5 93.5t11.5 108.5q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5zM591 561l226 -226l-579 -579q-12 -12 -29 -12t-29 12l-168 168q-12 12 -12 29t12 29zM1612 1524l168 -168q12 -12 12 -29t-12 -30l-233 -233 l-26 -25l-71 -71q-66 153 -195 258l91 91l207 207q13 12 30 12t29 -12z" />
<glyph unicode="&#xf2a5;" d="M866 1021q0 -27 -13 -94q-11 -50 -31.5 -150t-30.5 -150q-2 -11 -4.5 -12.5t-13.5 -2.5q-20 -2 -31 -2q-58 0 -84 49.5t-26 113.5q0 88 35 174t103 124q28 14 51 14q28 0 36.5 -16.5t8.5 -47.5zM1352 597q0 14 -39 75.5t-52 66.5q-21 8 -34 8q-91 0 -226 -77l-2 2 q3 22 27.5 135t24.5 178q0 233 -242 233q-24 0 -68 -6q-94 -17 -168.5 -89.5t-111.5 -166.5t-37 -189q0 -146 80.5 -225t227.5 -79q25 0 25 -3t-1 -5q-4 -34 -26 -117q-14 -52 -51.5 -101t-82.5 -49q-42 0 -42 47q0 24 10.5 47.5t25 39.5t29.5 28.5t26 20t11 8.5q0 3 -7 10 q-24 22 -58.5 36.5t-65.5 14.5q-35 0 -63.5 -34t-41 -75t-12.5 -75q0 -88 51.5 -142t138.5 -54q82 0 155 53t117.5 126t65.5 153q6 22 15.5 66.5t14.5 66.5q3 12 14 18q118 60 227 60q48 0 127 -18q1 -1 4 -1q5 0 9.5 4.5t4.5 8.5zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf2a6;" horiz-adv-x="1535" d="M744 1231q0 24 -2 38.5t-8.5 30t-21 23t-37.5 7.5q-39 0 -78 -23q-105 -58 -159 -190.5t-54 -269.5q0 -44 8.5 -85.5t26.5 -80.5t52.5 -62.5t81.5 -23.5q4 0 18 -0.5t20 0t16 3t15 8.5t7 16q16 77 48 231.5t48 231.5q19 91 19 146zM1498 575q0 -7 -7.5 -13.5t-15.5 -6.5 l-6 1q-22 3 -62 11t-72 12.5t-63 4.5q-167 0 -351 -93q-15 -8 -21 -27q-10 -36 -24.5 -105.5t-22.5 -100.5q-23 -91 -70 -179.5t-112.5 -164.5t-154.5 -123t-185 -47q-135 0 -214.5 83.5t-79.5 219.5q0 53 19.5 117t63 116.5t97.5 52.5q38 0 120 -33.5t83 -61.5 q0 -1 -16.5 -12.5t-39.5 -31t-46 -44.5t-39 -61t-16 -74q0 -33 16.5 -53t48.5 -20q45 0 85 31.5t66.5 78t48 105.5t32.5 107t16 90v9q0 2 -3.5 3.5t-8.5 1.5h-10t-10 -0.5t-6 -0.5q-227 0 -352 122.5t-125 348.5q0 108 34.5 221t96 210t156 167.5t204.5 89.5q52 9 106 9 q374 0 374 -360q0 -98 -38 -273t-43 -211l3 -3q101 57 182.5 88t167.5 31q22 0 53 -13q19 -7 80 -102.5t61 -116.5z" />
<glyph unicode="&#xf2a7;" horiz-adv-x="1664" d="M831 863q32 0 59 -18l222 -148q61 -40 110 -97l146 -170q40 -46 29 -106l-72 -413q-6 -32 -29.5 -53.5t-55.5 -25.5l-527 -56l-352 -32h-9q-39 0 -67.5 28t-28.5 68q0 37 27 64t65 32l260 32h-448q-41 0 -69.5 30t-26.5 71q2 39 32 65t69 26l442 1l-521 64q-41 5 -66 37 t-19 73q6 35 34.5 57.5t65.5 22.5h10l481 -60l-351 94q-38 10 -62 41.5t-18 68.5q6 36 33 58.5t62 22.5q6 0 20 -2l448 -96l217 -37q1 0 3 -0.5t3 -0.5q23 0 30.5 23t-12.5 36l-186 125q-35 23 -42 63.5t18 73.5q27 38 76 38zM761 661l186 -125l-218 37l-5 2l-36 38 l-238 262q-1 1 -2.5 3.5t-2.5 3.5q-24 31 -18.5 70t37.5 64q31 23 68 17.5t64 -33.5l142 -147l-4 -4t-5 -4q-32 -45 -23 -99t55 -85zM1648 1115l15 -266q4 -73 -11 -147l-48 -219q-12 -59 -67 -87l-106 -54q2 62 -39 109l-146 170q-53 61 -117 103l-222 148q-34 23 -76 23 q-51 0 -88 -37l-235 312q-25 33 -18 73.5t41 63.5q33 22 71.5 14t62.5 -40l266 -352l-262 455q-21 35 -10.5 75t47.5 59q35 18 72.5 6t57.5 -46l241 -420l-136 337q-15 35 -4.5 74t44.5 56q37 19 76 6t56 -51l193 -415l101 -196q8 -15 23 -17.5t27 7.5t11 26l-12 224 q-2 41 26 71t69 31q39 0 67 -28.5t30 -67.5z" />
<glyph unicode="&#xf2a8;" horiz-adv-x="1792" d="M335 180q-2 0 -6 2q-86 57 -168.5 145t-139.5 180q-21 30 -21 69q0 9 2 19t4 18t7 18t8.5 16t10.5 17t10 15t12 15.5t11 14.5q184 251 452 365q-110 198 -110 211q0 19 17 29q116 64 128 64q18 0 28 -16l124 -229q92 19 192 19q266 0 497.5 -137.5t378.5 -369.5 q20 -31 20 -69t-20 -69q-91 -142 -218.5 -253.5t-278.5 -175.5q110 -198 110 -211q0 -20 -17 -29q-116 -64 -127 -64q-19 0 -29 16l-124 229l-64 119l-444 820l7 7q-58 -24 -99 -47q3 -5 127 -234t243 -449t119 -223q0 -7 -9 -9q-13 -3 -72 -3q-57 0 -60 7l-456 841 q-39 -28 -82 -68q24 -43 214 -393.5t190 -354.5q0 -10 -11 -10q-14 0 -82.5 22t-72.5 28l-106 197l-224 413q-44 -53 -78 -106q2 -3 18 -25t23 -34l176 -327q0 -10 -10 -10zM1165 282l49 -91q273 111 450 385q-180 277 -459 389q67 -64 103 -148.5t36 -176.5 q0 -106 -47 -200.5t-132 -157.5zM848 896q0 -20 14 -34t34 -14q86 0 147 -61t61 -147q0 -20 14 -34t34 -14t34 14t14 34q0 126 -89 215t-215 89q-20 0 -34 -14t-14 -34zM1214 961l-9 4l7 -7z" />
<glyph unicode="&#xf2a9;" horiz-adv-x="1280" d="M1050 430q0 -215 -147 -374q-148 -161 -378 -161q-232 0 -378 161q-147 159 -147 374q0 147 68 270.5t189 196.5t268 73q96 0 182 -31q-32 -62 -39 -126q-66 28 -143 28q-167 0 -280.5 -123t-113.5 -291q0 -170 112.5 -288.5t281.5 -118.5t281 118.5t112 288.5 q0 89 -32 166q66 13 123 49q41 -98 41 -212zM846 619q0 -192 -79.5 -345t-238.5 -253l-14 -1q-29 0 -62 5q83 32 146.5 102.5t99.5 154.5t58.5 189t30 192.5t7.5 178.5q0 69 -3 103q55 -160 55 -326zM791 947v-2q-73 214 -206 440q88 -59 142.5 -186.5t63.5 -251.5z M1035 744q-83 0 -160 75q218 120 290 247q19 37 21 56q-42 -94 -139.5 -166.5t-204.5 -97.5q-35 54 -35 113q0 37 17 79t43 68q46 44 157 74q59 16 106 58.5t74 100.5q74 -105 74 -253q0 -109 -24 -170q-32 -77 -88.5 -130.5t-130.5 -53.5z" />
<glyph unicode="&#xf2aa;" d="M1050 495q0 78 -28 147q-41 -25 -85 -34q22 -50 22 -114q0 -117 -77 -198.5t-193 -81.5t-193.5 81.5t-77.5 198.5q0 115 78 199.5t193 84.5q53 0 98 -19q4 43 27 87q-60 21 -125 21q-154 0 -257.5 -108.5t-103.5 -263.5t103.5 -261t257.5 -106t257.5 106.5t103.5 260.5z M872 850q2 -24 2 -71q0 -63 -5 -123t-20.5 -132.5t-40.5 -130t-68.5 -106t-100.5 -70.5q21 -3 42 -3h10q219 139 219 411q0 116 -38 225zM872 850q-4 80 -44 171.5t-98 130.5q92 -156 142 -302zM1207 955q0 102 -51 174q-41 -86 -124 -109q-69 -19 -109 -53.5t-40 -99.5 q0 -40 24 -77q74 17 140.5 67t95.5 115q-4 -52 -74.5 -111.5t-138.5 -97.5q52 -52 110 -52q51 0 90 37t60 90q17 43 17 117zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" />
<glyph unicode="&#xf2ab;" d="M1279 388q0 22 -22 27q-67 15 -118 59t-80 108q-7 19 -7 25q0 15 19.5 26t43 17t43 20.5t19.5 36.5q0 19 -18.5 31.5t-38.5 12.5q-12 0 -32 -8t-31 -8q-4 0 -12 2q5 95 5 114q0 79 -17 114q-36 78 -103 121.5t-152 43.5q-199 0 -275 -165q-17 -35 -17 -114q0 -19 5 -114 q-4 -2 -14 -2q-12 0 -32 7.5t-30 7.5q-21 0 -38.5 -12t-17.5 -32q0 -21 19.5 -35.5t43 -20.5t43 -17t19.5 -26q0 -6 -7 -25q-64 -138 -198 -167q-22 -5 -22 -27q0 -46 137 -68q2 -5 6 -26t11.5 -30.5t23.5 -9.5q12 0 37.5 4.5t39.5 4.5q35 0 67 -15t54 -32.5t57.5 -32.5 t76.5 -15q43 0 79 15t57.5 32.5t53.5 32.5t67 15q14 0 39.5 -4t38.5 -4q16 0 23 10t11 30t6 25q137 22 137 68zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
<glyph unicode="&#xf2ac;" horiz-adv-x="1664" d="M848 1408q134 1 240.5 -68.5t163.5 -192.5q27 -58 27 -179q0 -47 -9 -191q14 -7 28 -7q18 0 51 13.5t51 13.5q29 0 56 -18t27 -46q0 -32 -31.5 -54t-69 -31.5t-69 -29t-31.5 -47.5q0 -15 12 -43q37 -82 102.5 -150t144.5 -101q28 -12 80 -23q28 -6 28 -35 q0 -70 -219 -103q-7 -11 -11 -39t-14 -46.5t-33 -18.5q-20 0 -62 6.5t-64 6.5q-37 0 -62 -5q-32 -5 -63 -22.5t-58 -38t-58 -40.5t-76 -33.5t-99 -13.5q-52 0 -96.5 13.5t-75 33.5t-57.5 40.5t-58 38t-62 22.5q-26 5 -63 5q-24 0 -65.5 -7.5t-58.5 -7.5q-25 0 -35 18.5 t-14 47.5t-11 40q-219 33 -219 103q0 29 28 35q52 11 80 23q78 32 144.5 101t102.5 150q12 28 12 43q0 28 -31.5 47.5t-69.5 29.5t-69.5 31.5t-31.5 52.5q0 27 26 45.5t55 18.5q15 0 48 -13t53 -13q18 0 32 7q-9 142 -9 190q0 122 27 180q64 137 172 198t264 63z" />
<glyph unicode="&#xf2ad;" d="M1280 388q0 22 -22 27q-67 14 -118 58t-80 109q-7 14 -7 25q0 15 19.5 26t42.5 17t42.5 20.5t19.5 36.5q0 19 -18.5 31.5t-38.5 12.5q-11 0 -31 -8t-32 -8q-4 0 -12 2q5 63 5 115q0 78 -17 114q-36 78 -102.5 121.5t-152.5 43.5q-198 0 -275 -165q-18 -38 -18 -115 q0 -38 6 -114q-10 -2 -15 -2q-11 0 -31.5 8t-30.5 8q-20 0 -37.5 -12.5t-17.5 -32.5q0 -21 19.5 -35.5t42.5 -20.5t42.5 -17t19.5 -26q0 -11 -7 -25q-64 -138 -198 -167q-22 -5 -22 -27q0 -47 138 -69q2 -5 6 -26t11 -30.5t23 -9.5q13 0 38.5 5t38.5 5q35 0 67.5 -15 t54.5 -32.5t57.5 -32.5t76.5 -15q43 0 79 15t57.5 32.5t54 32.5t67.5 15q13 0 39 -4.5t39 -4.5q15 0 22.5 9.5t11.5 31t5 24.5q138 22 138 69zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960 q119 0 203.5 -84.5t84.5 -203.5z" />
<glyph unicode="&#xf2ae;" horiz-adv-x="2304" d="M2304 1536q-69 -46 -125 -92t-89 -81t-59.5 -71.5t-37.5 -57.5t-22 -44.5t-14 -29.5q-10 -18 -35.5 -136.5t-48.5 -164.5q-15 -29 -50 -60.5t-67.5 -50.5t-72.5 -41t-48 -28q-47 -31 -151 -231q-341 14 -630 -158q-92 -53 -303 -179q47 16 86 31t55 22l15 7 q71 27 163 64.5t133.5 53.5t108 34.5t142.5 31.5q186 31 465 -7q1 0 10 -3q11 -6 14 -17t-3 -22l-194 -345q-15 -29 -47 -22q-128 24 -354 24q-146 0 -402 -44.5t-392 -46.5q-82 -1 -149 13t-107 37t-61 40t-33 34l-1 1v2q0 6 6 6q138 0 371 55q192 366 374.5 524t383.5 158 q5 0 14.5 -0.5t38 -5t55 -12t61.5 -24.5t63 -39.5t54 -59t40 -82.5l102 177q2 4 21 42.5t44.5 86.5t61 109.5t84 133.5t100.5 137q66 82 128 141.5t121.5 96.5t92.5 53.5t88 39.5z" />
<glyph unicode="&#xf2b0;" d="M1322 640q0 -45 -5 -76l-236 14l224 -78q-19 -73 -58 -141l-214 103l177 -158q-44 -61 -107 -108l-157 178l103 -215q-61 -37 -140 -59l-79 228l14 -240q-38 -6 -76 -6t-76 6l14 238l-78 -226q-74 19 -140 59l103 215l-157 -178q-59 43 -108 108l178 158l-214 -104 q-39 69 -58 141l224 79l-237 -14q-5 42 -5 76q0 35 5 77l238 -14l-225 79q19 73 58 140l214 -104l-177 159q46 61 107 108l158 -178l-103 215q67 39 140 58l77 -224l-13 236q36 6 75 6q38 0 76 -6l-14 -237l78 225q74 -19 140 -59l-103 -214l158 178q61 -47 107 -108 l-177 -159l213 104q37 -62 58 -141l-224 -78l237 14q5 -31 5 -77zM1352 640q0 160 -78.5 295.5t-213 214t-292.5 78.5q-119 0 -227 -46.5t-186.5 -125t-124.5 -187.5t-46 -229q0 -119 46 -228t124.5 -187.5t186.5 -125t227 -46.5q158 0 292.5 78.5t213 214t78.5 294.5z M1425 1023v-766l-657 -383l-657 383v766l657 383zM768 -183l708 412v823l-708 411l-708 -411v-823zM1536 1088v-896l-768 -448l-768 448v896l768 448z" />
<glyph unicode="&#xf2b1;" horiz-adv-x="1664" d="M339 1318h691l-26 -72h-665q-110 0 -188.5 -79t-78.5 -189v-771q0 -95 60.5 -169.5t153.5 -93.5q23 -5 98 -5v-72h-45q-140 0 -239.5 100t-99.5 240v771q0 140 99.5 240t239.5 100zM1190 1536h247l-482 -1294q-23 -61 -40.5 -103.5t-45 -98t-54 -93.5t-64.5 -78.5 t-79.5 -65t-95.5 -41t-116 -18.5v195q163 26 220 182q20 52 20 105q0 54 -20 106l-285 733h228l187 -585zM1664 978v-1111h-795q37 55 45 73h678v1038q0 85 -49.5 155t-129.5 99l25 67q101 -34 163.5 -123.5t62.5 -197.5z" />
<glyph unicode="&#xf2b2;" horiz-adv-x="1792" d="M852 1227q0 -29 -17 -52.5t-45 -23.5t-45 23.5t-17 52.5t17 52.5t45 23.5t45 -23.5t17 -52.5zM688 -149v114q0 30 -20.5 51.5t-50.5 21.5t-50 -21.5t-20 -51.5v-114q0 -30 20.5 -52t49.5 -22q30 0 50.5 22t20.5 52zM860 -149v114q0 30 -20 51.5t-50 21.5t-50.5 -21.5 t-20.5 -51.5v-114q0 -30 20.5 -52t50.5 -22q29 0 49.5 22t20.5 52zM1034 -149v114q0 30 -20.5 51.5t-50.5 21.5t-50.5 -21.5t-20.5 -51.5v-114q0 -30 20.5 -52t50.5 -22t50.5 22t20.5 52zM1208 -149v114q0 30 -20.5 51.5t-50.5 21.5t-50.5 -21.5t-20.5 -51.5v-114 q0 -30 20.5 -52t50.5 -22t50.5 22t20.5 52zM1476 535q-84 -160 -232 -259.5t-323 -99.5q-123 0 -229.5 51.5t-178.5 137t-113 197.5t-41 232q0 88 21 174q-104 -175 -104 -390q0 -162 65 -312t185 -251q30 57 91 57q56 0 86 -50q32 50 87 50q56 0 86 -50q32 50 87 50t87 -50 q30 50 86 50q28 0 52.5 -15.5t37.5 -40.5q112 94 177 231.5t73 287.5zM1326 564q0 75 -72 75q-17 0 -47 -6q-95 -19 -149 -19q-226 0 -226 243q0 86 30 204q-83 -127 -83 -275q0 -150 89 -260.5t235 -110.5q111 0 210 70q13 48 13 79zM884 1223q0 50 -32 89.5t-81 39.5 t-81 -39.5t-32 -89.5q0 -51 31.5 -90.5t81.5 -39.5t81.5 39.5t31.5 90.5zM1513 884q0 96 -37.5 179t-113 137t-173.5 54q-77 0 -149 -35t-127 -94q-48 -159 -48 -268q0 -104 45.5 -157t147.5 -53q53 0 142 19q36 6 53 6q51 0 77.5 -28t26.5 -80q0 -26 -4 -46 q75 68 117.5 165.5t42.5 200.5zM1792 667q0 -111 -33.5 -249.5t-93.5 -204.5q-58 -64 -195 -142.5t-228 -104.5l-4 -1v-114q0 -43 -29.5 -75t-72.5 -32q-56 0 -86 50q-32 -50 -87 -50t-87 50q-30 -50 -86 -50q-55 0 -87 50q-30 -50 -86 -50q-47 0 -75 33.5t-28 81.5 q-90 -68 -198 -68q-118 0 -211 80q54 1 106 20q-113 31 -182 127q32 -7 71 -7q89 0 164 46q-192 192 -240 306q-24 56 -24 160q0 57 9 125.5t31.5 146.5t55 141t86.5 105t120 42q59 0 81 -52q19 29 42 54q2 3 12 13t13 16q10 15 23 38t25 42t28 39q87 111 211.5 177 t260.5 66q35 0 62 -4q59 64 146 64q83 0 140 -57q5 -5 5 -12q0 -5 -6 -13.5t-12.5 -16t-16 -17l-10.5 -10.5q17 -6 36 -18t19 -24q0 -6 -16 -25q157 -138 197 -378q25 30 60 30q45 0 100 -49q90 -80 90 -279z" />
<glyph unicode="&#xf2b3;" d="M917 631q0 33 -6 64h-362v-132h217q-12 -76 -74.5 -120.5t-142.5 -44.5q-99 0 -169 71.5t-70 170.5t70 170.5t169 71.5q93 0 153 -59l104 101q-108 100 -257 100q-160 0 -272 -112.5t-112 -271.5t112 -271.5t272 -112.5q165 0 266.5 105t101.5 270zM1262 585h109v110 h-109v110h-110v-110h-110v-110h110v-110h110v110zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
<glyph unicode="&#xf2b4;" d="M1536 1024v-839q0 -48 -49 -62q-174 -52 -338 -52q-73 0 -215.5 29.5t-227.5 29.5q-164 0 -370 -48v-338h-160v1368q-63 25 -101 81t-38 124q0 91 64 155t155 64t155 -64t64 -155q0 -68 -38 -124t-101 -81v-68q190 44 343 44q99 0 198 -15q14 -2 111.5 -22.5t149.5 -20.5 q77 0 165 18q11 2 80 21t89 19q26 0 45 -19t19 -45z" />
<glyph unicode="&#xf2b5;" horiz-adv-x="1792" />
<glyph unicode="&#xf2b6;" horiz-adv-x="1792" />
<glyph unicode="&#xf2b7;" horiz-adv-x="1792" />
<glyph unicode="&#xf2b8;" horiz-adv-x="1792" />
<glyph unicode="&#xf2b9;" horiz-adv-x="1792" />
<glyph unicode="&#xf2ba;" horiz-adv-x="1792" />
<glyph unicode="&#xf2bb;" horiz-adv-x="1792" />
<glyph unicode="&#xf2bc;" horiz-adv-x="1792" />
<glyph unicode="&#xf2bd;" horiz-adv-x="1792" />
<glyph unicode="&#xf2be;" horiz-adv-x="1792" />
<glyph unicode="&#xf500;" horiz-adv-x="1792" />
</font>
</defs></svg>

Antes

Largura:  |  Altura:  |  Tamanho: 382 KiB

Arquivo binário não exibido.
Arquivo binário não exibido.
-10074
Ver Arquivo
Diferenças do arquivo suprimidas por serem muito extensas Carregar Diff
-4
Ver Arquivo
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
-169
Ver Arquivo
@@ -1,169 +0,0 @@
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({"sphinx-rtd-theme":[function(require,module,exports){
var jQuery = (typeof(window) != 'undefined') ? window.jQuery : require('jquery');
// Sphinx theme nav state
function ThemeNav () {
var nav = {
navBar: null,
win: null,
winScroll: false,
winResize: false,
linkScroll: false,
winPosition: 0,
winHeight: null,
docHeight: null,
isRunning: false
};
nav.enable = function () {
var self = this;
if (!self.isRunning) {
self.isRunning = true;
jQuery(function ($) {
self.init($);
self.reset();
self.win.on('hashchange', self.reset);
// Set scroll monitor
self.win.on('scroll', function () {
if (!self.linkScroll) {
self.winScroll = true;
}
});
setInterval(function () { if (self.winScroll) self.onScroll(); }, 25);
// Set resize monitor
self.win.on('resize', function () {
self.winResize = true;
});
setInterval(function () { if (self.winResize) self.onResize(); }, 25);
self.onResize();
});
};
};
nav.init = function ($) {
var doc = $(document),
self = this;
this.navBar = $('div.wy-side-scroll:first');
this.win = $(window);
// Set up javascript UX bits
$(document)
// Shift nav in mobile when clicking the menu.
.on('click', "[data-toggle='wy-nav-top']", function() {
$("[data-toggle='wy-nav-shift']").toggleClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
})
// Nav menu link click operations
.on('click', ".wy-menu-vertical .current ul li a", function() {
var target = $(this);
// Close menu when you click a link.
$("[data-toggle='wy-nav-shift']").removeClass("shift");
$("[data-toggle='rst-versions']").toggleClass("shift");
// Handle dynamic display of l3 and l4 nav lists
self.toggleCurrent(target);
self.hashChange();
})
.on('click', "[data-toggle='rst-current-version']", function() {
$("[data-toggle='rst-versions']").toggleClass("shift-up");
})
// Make tables responsive
$("table.docutils:not(.field-list)")
.wrap("<div class='wy-table-responsive'></div>");
// Add expand links to all parents of nested ul
$('.wy-menu-vertical ul').not('.simple').siblings('a').each(function () {
var link = $(this);
expand = $('<span class="toctree-expand"></span>');
expand.on('click', function (ev) {
self.toggleCurrent(link);
ev.stopPropagation();
return false;
});
link.prepend(expand);
});
};
nav.reset = function () {
// Get anchor from URL and open up nested nav
var anchor = encodeURI(window.location.hash);
if (anchor) {
try {
var link = $('.wy-menu-vertical')
.find('[href="' + anchor + '"]');
// If we didn't find a link, it may be because we clicked on
// something that is not in the sidebar (eg: when using
// sphinxcontrib.httpdomain it generates headerlinks but those
// aren't picked up and placed in the toctree). So let's find
// the closest header in the document and try with that one.
if (link.length === 0) {
var doc_link = $('.document a[href="' + anchor + '"]');
var closest_section = doc_link.closest('div.section');
// Try again with the closest section entry.
link = $('.wy-menu-vertical')
.find('[href="#' + closest_section.attr("id") + '"]');
}
$('.wy-menu-vertical li.toctree-l1 li.current')
.removeClass('current');
link.closest('li.toctree-l2').addClass('current');
link.closest('li.toctree-l3').addClass('current');
link.closest('li.toctree-l4').addClass('current');
}
catch (err) {
console.log("Error expanding nav for anchor", err);
}
}
};
nav.onScroll = function () {
this.winScroll = false;
var newWinPosition = this.win.scrollTop(),
winBottom = newWinPosition + this.winHeight,
navPosition = this.navBar.scrollTop(),
newNavPosition = navPosition + (newWinPosition - this.winPosition);
if (newWinPosition < 0 || winBottom > this.docHeight) {
return;
}
this.navBar.scrollTop(newNavPosition);
this.winPosition = newWinPosition;
};
nav.onResize = function () {
this.winResize = false;
this.winHeight = this.win.height();
this.docHeight = $(document).height();
};
nav.hashChange = function () {
this.linkScroll = true;
this.win.one('hashchange', function () {
this.linkScroll = false;
});
};
nav.toggleCurrent = function (elem) {
var parent_li = elem.closest('li');
parent_li.siblings('li.current').removeClass('current');
parent_li.siblings().find('li.current').removeClass('current');
parent_li.find('> ul li.current').removeClass('current');
parent_li.toggleClass('current');
}
return nav;
};
module.exports.ThemeNav = ThemeNav();
if (typeof(window) != 'undefined') {
window.SphinxRtdTheme = { StickyNav: module.exports.ThemeNav };
}
},{"jquery":"jquery"}]},{},["sphinx-rtd-theme"]);
Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 90 B

Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 90 B

-69
Ver Arquivo
@@ -1,69 +0,0 @@
.highlight .hll { background-color: #ffffcc }
.highlight { background: #eeffcc; }
.highlight .c { color: #408090; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #FF0000 } /* Error */
.highlight .k { color: #007020; font-weight: bold } /* Keyword */
.highlight .o { color: #666666 } /* Operator */
.highlight .ch { color: #408090; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #408090; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #007020 } /* Comment.Preproc */
.highlight .cpf { color: #408090; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #408090; font-style: italic } /* Comment.Single */
.highlight .cs { color: #408090; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF0000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #00A000 } /* Generic.Inserted */
.highlight .go { color: #333333 } /* Generic.Output */
.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #0044DD } /* Generic.Traceback */
.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #007020 } /* Keyword.Pseudo */
.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #902000 } /* Keyword.Type */
.highlight .m { color: #208050 } /* Literal.Number */
.highlight .s { color: #4070a0 } /* Literal.String */
.highlight .na { color: #4070a0 } /* Name.Attribute */
.highlight .nb { color: #007020 } /* Name.Builtin */
.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
.highlight .no { color: #60add5 } /* Name.Constant */
.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #007020 } /* Name.Exception */
.highlight .nf { color: #06287e } /* Name.Function */
.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #bb60d5 } /* Name.Variable */
.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #208050 } /* Literal.Number.Bin */
.highlight .mf { color: #208050 } /* Literal.Number.Float */
.highlight .mh { color: #208050 } /* Literal.Number.Hex */
.highlight .mi { color: #208050 } /* Literal.Number.Integer */
.highlight .mo { color: #208050 } /* Literal.Number.Oct */
.highlight .sa { color: #4070a0 } /* Literal.String.Affix */
.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
.highlight .sc { color: #4070a0 } /* Literal.String.Char */
.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */
.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #4070a0 } /* Literal.String.Double */
.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
.highlight .sx { color: #c65d09 } /* Literal.String.Other */
.highlight .sr { color: #235388 } /* Literal.String.Regex */
.highlight .s1 { color: #4070a0 } /* Literal.String.Single */
.highlight .ss { color: #517918 } /* Literal.String.Symbol */
.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #06287e } /* Name.Function.Magic */
.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */
.highlight .il { color: #208050 } /* Literal.Number.Integer.Long */
-758
Ver Arquivo
@@ -1,758 +0,0 @@
/*
* searchtools.js_t
* ~~~~~~~~~~~~~~~~
*
* Sphinx JavaScript utilities for the full-text search.
*
* :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
/* Non-minified version JS is _stemmer.js if file is provided */
/**
* Porter Stemmer
*/
var Stemmer = function() {
var step2list = {
ational: 'ate',
tional: 'tion',
enci: 'ence',
anci: 'ance',
izer: 'ize',
bli: 'ble',
alli: 'al',
entli: 'ent',
eli: 'e',
ousli: 'ous',
ization: 'ize',
ation: 'ate',
ator: 'ate',
alism: 'al',
iveness: 'ive',
fulness: 'ful',
ousness: 'ous',
aliti: 'al',
iviti: 'ive',
biliti: 'ble',
logi: 'log'
};
var step3list = {
icate: 'ic',
ative: '',
alize: 'al',
iciti: 'ic',
ical: 'ic',
ful: '',
ness: ''
};
var c = "[^aeiou]"; // consonant
var v = "[aeiouy]"; // vowel
var C = c + "[^aeiouy]*"; // consonant sequence
var V = v + "[aeiou]*"; // vowel sequence
var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0
var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1
var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1
var s_v = "^(" + C + ")?" + v; // vowel in stem
this.stemWord = function (w) {
var stem;
var suffix;
var firstch;
var origword = w;
if (w.length < 3)
return w;
var re;
var re2;
var re3;
var re4;
firstch = w.substr(0,1);
if (firstch == "y")
w = firstch.toUpperCase() + w.substr(1);
// Step 1a
re = /^(.+?)(ss|i)es$/;
re2 = /^(.+?)([^s])s$/;
if (re.test(w))
w = w.replace(re,"$1$2");
else if (re2.test(w))
w = w.replace(re2,"$1$2");
// Step 1b
re = /^(.+?)eed$/;
re2 = /^(.+?)(ed|ing)$/;
if (re.test(w)) {
var fp = re.exec(w);
re = new RegExp(mgr0);
if (re.test(fp[1])) {
re = /.$/;
w = w.replace(re,"");
}
}
else if (re2.test(w)) {
var fp = re2.exec(w);
stem = fp[1];
re2 = new RegExp(s_v);
if (re2.test(stem)) {
w = stem;
re2 = /(at|bl|iz)$/;
re3 = new RegExp("([^aeiouylsz])\\1$");
re4 = new RegExp("^" + C + v + "[^aeiouwxy]$");
if (re2.test(w))
w = w + "e";
else if (re3.test(w)) {
re = /.$/;
w = w.replace(re,"");
}
else if (re4.test(w))
w = w + "e";
}
}
// Step 1c
re = /^(.+?)y$/;
if (re.test(w)) {
var fp = re.exec(w);
stem = fp[1];
re = new RegExp(s_v);
if (re.test(stem))
w = stem + "i";
}
// Step 2
re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/;
if (re.test(w)) {
var fp = re.exec(w);
stem = fp[1];
suffix = fp[2];
re = new RegExp(mgr0);
if (re.test(stem))
w = stem + step2list[suffix];
}
// Step 3
re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/;
if (re.test(w)) {
var fp = re.exec(w);
stem = fp[1];
suffix = fp[2];
re = new RegExp(mgr0);
if (re.test(stem))
w = stem + step3list[suffix];
}
// Step 4
re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/;
re2 = /^(.+?)(s|t)(ion)$/;
if (re.test(w)) {
var fp = re.exec(w);
stem = fp[1];
re = new RegExp(mgr1);
if (re.test(stem))
w = stem;
}
else if (re2.test(w)) {
var fp = re2.exec(w);
stem = fp[1] + fp[2];
re2 = new RegExp(mgr1);
if (re2.test(stem))
w = stem;
}
// Step 5
re = /^(.+?)e$/;
if (re.test(w)) {
var fp = re.exec(w);
stem = fp[1];
re = new RegExp(mgr1);
re2 = new RegExp(meq1);
re3 = new RegExp("^" + C + v + "[^aeiouwxy]$");
if (re.test(stem) || (re2.test(stem) && !(re3.test(stem))))
w = stem;
}
re = /ll$/;
re2 = new RegExp(mgr1);
if (re.test(w) && re2.test(w)) {
re = /.$/;
w = w.replace(re,"");
}
// and turn initial Y back to y
if (firstch == "y")
w = firstch.toLowerCase() + w.substr(1);
return w;
}
}
/**
* Simple result scoring code.
*/
var Scorer = {
// Implement the following function to further tweak the score for each result
// The function takes a result array [filename, title, anchor, descr, score]
// and returns the new score.
/*
score: function(result) {
return result[4];
},
*/
// query matches the full name of an object
objNameMatch: 11,
// or matches in the last dotted part of the object name
objPartialMatch: 6,
// Additive scores depending on the priority of the object
objPrio: {0: 15, // used to be importantResults
1: 5, // used to be objectResults
2: -5}, // used to be unimportantResults
// Used when the priority is not in the mapping.
objPrioDefault: 0,
// query found in title
title: 15,
// query found in terms
term: 5
};
var splitChars = (function() {
var result = {};
var singles = [96, 180, 187, 191, 215, 247, 749, 885, 903, 907, 909, 930, 1014, 1648,
1748, 1809, 2416, 2473, 2481, 2526, 2601, 2609, 2612, 2615, 2653, 2702,
2706, 2729, 2737, 2740, 2857, 2865, 2868, 2910, 2928, 2948, 2961, 2971,
2973, 3085, 3089, 3113, 3124, 3213, 3217, 3241, 3252, 3295, 3341, 3345,
3369, 3506, 3516, 3633, 3715, 3721, 3736, 3744, 3748, 3750, 3756, 3761,
3781, 3912, 4239, 4347, 4681, 4695, 4697, 4745, 4785, 4799, 4801, 4823,
4881, 5760, 5901, 5997, 6313, 7405, 8024, 8026, 8028, 8030, 8117, 8125,
8133, 8181, 8468, 8485, 8487, 8489, 8494, 8527, 11311, 11359, 11687, 11695,
11703, 11711, 11719, 11727, 11735, 12448, 12539, 43010, 43014, 43019, 43587,
43696, 43713, 64286, 64297, 64311, 64317, 64319, 64322, 64325, 65141];
var i, j, start, end;
for (i = 0; i < singles.length; i++) {
result[singles[i]] = true;
}
var ranges = [[0, 47], [58, 64], [91, 94], [123, 169], [171, 177], [182, 184], [706, 709],
[722, 735], [741, 747], [751, 879], [888, 889], [894, 901], [1154, 1161],
[1318, 1328], [1367, 1368], [1370, 1376], [1416, 1487], [1515, 1519], [1523, 1568],
[1611, 1631], [1642, 1645], [1750, 1764], [1767, 1773], [1789, 1790], [1792, 1807],
[1840, 1868], [1958, 1968], [1970, 1983], [2027, 2035], [2038, 2041], [2043, 2047],
[2070, 2073], [2075, 2083], [2085, 2087], [2089, 2307], [2362, 2364], [2366, 2383],
[2385, 2391], [2402, 2405], [2419, 2424], [2432, 2436], [2445, 2446], [2449, 2450],
[2483, 2485], [2490, 2492], [2494, 2509], [2511, 2523], [2530, 2533], [2546, 2547],
[2554, 2564], [2571, 2574], [2577, 2578], [2618, 2648], [2655, 2661], [2672, 2673],
[2677, 2692], [2746, 2748], [2750, 2767], [2769, 2783], [2786, 2789], [2800, 2820],
[2829, 2830], [2833, 2834], [2874, 2876], [2878, 2907], [2914, 2917], [2930, 2946],
[2955, 2957], [2966, 2968], [2976, 2978], [2981, 2983], [2987, 2989], [3002, 3023],
[3025, 3045], [3059, 3076], [3130, 3132], [3134, 3159], [3162, 3167], [3170, 3173],
[3184, 3191], [3199, 3204], [3258, 3260], [3262, 3293], [3298, 3301], [3312, 3332],
[3386, 3388], [3390, 3423], [3426, 3429], [3446, 3449], [3456, 3460], [3479, 3481],
[3518, 3519], [3527, 3584], [3636, 3647], [3655, 3663], [3674, 3712], [3717, 3718],
[3723, 3724], [3726, 3731], [3752, 3753], [3764, 3772], [3774, 3775], [3783, 3791],
[3802, 3803], [3806, 3839], [3841, 3871], [3892, 3903], [3949, 3975], [3980, 4095],
[4139, 4158], [4170, 4175], [4182, 4185], [4190, 4192], [4194, 4196], [4199, 4205],
[4209, 4212], [4226, 4237], [4250, 4255], [4294, 4303], [4349, 4351], [4686, 4687],
[4702, 4703], [4750, 4751], [4790, 4791], [4806, 4807], [4886, 4887], [4955, 4968],
[4989, 4991], [5008, 5023], [5109, 5120], [5741, 5742], [5787, 5791], [5867, 5869],
[5873, 5887], [5906, 5919], [5938, 5951], [5970, 5983], [6001, 6015], [6068, 6102],
[6104, 6107], [6109, 6111], [6122, 6127], [6138, 6159], [6170, 6175], [6264, 6271],
[6315, 6319], [6390, 6399], [6429, 6469], [6510, 6511], [6517, 6527], [6572, 6592],
[6600, 6607], [6619, 6655], [6679, 6687], [6741, 6783], [6794, 6799], [6810, 6822],
[6824, 6916], [6964, 6980], [6988, 6991], [7002, 7042], [7073, 7085], [7098, 7167],
[7204, 7231], [7242, 7244], [7294, 7400], [7410, 7423], [7616, 7679], [7958, 7959],
[7966, 7967], [8006, 8007], [8014, 8015], [8062, 8063], [8127, 8129], [8141, 8143],
[8148, 8149], [8156, 8159], [8173, 8177], [8189, 8303], [8306, 8307], [8314, 8318],
[8330, 8335], [8341, 8449], [8451, 8454], [8456, 8457], [8470, 8472], [8478, 8483],
[8506, 8507], [8512, 8516], [8522, 8525], [8586, 9311], [9372, 9449], [9472, 10101],
[10132, 11263], [11493, 11498], [11503, 11516], [11518, 11519], [11558, 11567],
[11622, 11630], [11632, 11647], [11671, 11679], [11743, 11822], [11824, 12292],
[12296, 12320], [12330, 12336], [12342, 12343], [12349, 12352], [12439, 12444],
[12544, 12548], [12590, 12592], [12687, 12689], [12694, 12703], [12728, 12783],
[12800, 12831], [12842, 12880], [12896, 12927], [12938, 12976], [12992, 13311],
[19894, 19967], [40908, 40959], [42125, 42191], [42238, 42239], [42509, 42511],
[42540, 42559], [42592, 42593], [42607, 42622], [42648, 42655], [42736, 42774],
[42784, 42785], [42889, 42890], [42893, 43002], [43043, 43055], [43062, 43071],
[43124, 43137], [43188, 43215], [43226, 43249], [43256, 43258], [43260, 43263],
[43302, 43311], [43335, 43359], [43389, 43395], [43443, 43470], [43482, 43519],
[43561, 43583], [43596, 43599], [43610, 43615], [43639, 43641], [43643, 43647],
[43698, 43700], [43703, 43704], [43710, 43711], [43715, 43738], [43742, 43967],
[44003, 44015], [44026, 44031], [55204, 55215], [55239, 55242], [55292, 55295],
[57344, 63743], [64046, 64047], [64110, 64111], [64218, 64255], [64263, 64274],
[64280, 64284], [64434, 64466], [64830, 64847], [64912, 64913], [64968, 65007],
[65020, 65135], [65277, 65295], [65306, 65312], [65339, 65344], [65371, 65381],
[65471, 65473], [65480, 65481], [65488, 65489], [65496, 65497]];
for (i = 0; i < ranges.length; i++) {
start = ranges[i][0];
end = ranges[i][1];
for (j = start; j <= end; j++) {
result[j] = true;
}
}
return result;
})();
function splitQuery(query) {
var result = [];
var start = -1;
for (var i = 0; i < query.length; i++) {
if (splitChars[query.charCodeAt(i)]) {
if (start !== -1) {
result.push(query.slice(start, i));
start = -1;
}
} else if (start === -1) {
start = i;
}
}
if (start !== -1) {
result.push(query.slice(start));
}
return result;
}
/**
* Search Module
*/
var Search = {
_index : null,
_queued_query : null,
_pulse_status : -1,
init : function() {
var params = $.getQueryParameters();
if (params.q) {
var query = params.q[0];
$('input[name="q"]')[0].value = query;
this.performSearch(query);
}
},
loadIndex : function(url) {
$.ajax({type: "GET", url: url, data: null,
dataType: "script", cache: true,
complete: function(jqxhr, textstatus) {
if (textstatus != "success") {
document.getElementById("searchindexloader").src = url;
}
}});
},
setIndex : function(index) {
var q;
this._index = index;
if ((q = this._queued_query) !== null) {
this._queued_query = null;
Search.query(q);
}
},
hasIndex : function() {
return this._index !== null;
},
deferQuery : function(query) {
this._queued_query = query;
},
stopPulse : function() {
this._pulse_status = 0;
},
startPulse : function() {
if (this._pulse_status >= 0)
return;
function pulse() {
var i;
Search._pulse_status = (Search._pulse_status + 1) % 4;
var dotString = '';
for (i = 0; i < Search._pulse_status; i++)
dotString += '.';
Search.dots.text(dotString);
if (Search._pulse_status > -1)
window.setTimeout(pulse, 500);
}
pulse();
},
/**
* perform a search for something (or wait until index is loaded)
*/
performSearch : function(query) {
// create the required interface elements
this.out = $('#search-results');
this.title = $('<h2>' + _('Searching') + '</h2>').appendTo(this.out);
this.dots = $('<span></span>').appendTo(this.title);
this.status = $('<p style="display: none"></p>').appendTo(this.out);
this.output = $('<ul class="search"/>').appendTo(this.out);
$('#search-progress').text(_('Preparing search...'));
this.startPulse();
// index already loaded, the browser was quick!
if (this.hasIndex())
this.query(query);
else
this.deferQuery(query);
},
/**
* execute search (requires search index to be loaded)
*/
query : function(query) {
var i;
var stopwords = ["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"];
// stem the searchterms and add them to the correct list
var stemmer = new Stemmer();
var searchterms = [];
var excluded = [];
var hlterms = [];
var tmp = splitQuery(query);
var objectterms = [];
for (i = 0; i < tmp.length; i++) {
if (tmp[i] !== "") {
objectterms.push(tmp[i].toLowerCase());
}
if ($u.indexOf(stopwords, tmp[i].toLowerCase()) != -1 || tmp[i].match(/^\d+$/) ||
tmp[i] === "") {
// skip this "word"
continue;
}
// stem the word
var word = stemmer.stemWord(tmp[i].toLowerCase());
// prevent stemmer from cutting word smaller than two chars
if(word.length < 3 && tmp[i].length >= 3) {
word = tmp[i];
}
var toAppend;
// select the correct list
if (word[0] == '-') {
toAppend = excluded;
word = word.substr(1);
}
else {
toAppend = searchterms;
hlterms.push(tmp[i].toLowerCase());
}
// only add if not already in the list
if (!$u.contains(toAppend, word))
toAppend.push(word);
}
var highlightstring = '?highlight=' + $.urlencode(hlterms.join(" "));
// console.debug('SEARCH: searching for:');
// console.info('required: ', searchterms);
// console.info('excluded: ', excluded);
// prepare search
var terms = this._index.terms;
var titleterms = this._index.titleterms;
// array of [filename, title, anchor, descr, score]
var results = [];
$('#search-progress').empty();
// lookup as object
for (i = 0; i < objectterms.length; i++) {
var others = [].concat(objectterms.slice(0, i),
objectterms.slice(i+1, objectterms.length));
results = results.concat(this.performObjectSearch(objectterms[i], others));
}
// lookup as search terms in fulltext
results = results.concat(this.performTermsSearch(searchterms, excluded, terms, titleterms));
// let the scorer override scores with a custom scoring function
if (Scorer.score) {
for (i = 0; i < results.length; i++)
results[i][4] = Scorer.score(results[i]);
}
// now sort the results by score (in opposite order of appearance, since the
// display function below uses pop() to retrieve items) and then
// alphabetically
results.sort(function(a, b) {
var left = a[4];
var right = b[4];
if (left > right) {
return 1;
} else if (left < right) {
return -1;
} else {
// same score: sort alphabetically
left = a[1].toLowerCase();
right = b[1].toLowerCase();
return (left > right) ? -1 : ((left < right) ? 1 : 0);
}
});
// for debugging
//Search.lastresults = results.slice(); // a copy
//console.info('search results:', Search.lastresults);
// print the results
var resultCount = results.length;
function displayNextItem() {
// results left, load the summary and display it
if (results.length) {
var item = results.pop();
var listItem = $('<li style="display:none"></li>');
if (DOCUMENTATION_OPTIONS.FILE_SUFFIX === '') {
// dirhtml builder
var dirname = item[0] + '/';
if (dirname.match(/\/index\/$/)) {
dirname = dirname.substring(0, dirname.length-6);
} else if (dirname == 'index/') {
dirname = '';
}
listItem.append($('<a/>').attr('href',
DOCUMENTATION_OPTIONS.URL_ROOT + dirname +
highlightstring + item[2]).html(item[1]));
} else {
// normal html builders
listItem.append($('<a/>').attr('href',
item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX +
highlightstring + item[2]).html(item[1]));
}
if (item[3]) {
listItem.append($('<span> (' + item[3] + ')</span>'));
Search.output.append(listItem);
listItem.slideDown(5, function() {
displayNextItem();
});
} else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
var suffix = DOCUMENTATION_OPTIONS.SOURCELINK_SUFFIX;
$.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + '_sources/' + item[5] + (item[5].slice(-suffix.length) === suffix ? '' : suffix),
dataType: "text",
complete: function(jqxhr, textstatus) {
var data = jqxhr.responseText;
if (data !== '' && data !== undefined) {
listItem.append(Search.makeSearchSummary(data, searchterms, hlterms));
}
Search.output.append(listItem);
listItem.slideDown(5, function() {
displayNextItem();
});
}});
} else {
// no source available, just display title
Search.output.append(listItem);
listItem.slideDown(5, function() {
displayNextItem();
});
}
}
// search finished, update title and status message
else {
Search.stopPulse();
Search.title.text(_('Search Results'));
if (!resultCount)
Search.status.text(_('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.'));
else
Search.status.text(_('Search finished, found %s page(s) matching the search query.').replace('%s', resultCount));
Search.status.fadeIn(500);
}
}
displayNextItem();
},
/**
* search for object names
*/
performObjectSearch : function(object, otherterms) {
var filenames = this._index.filenames;
var docnames = this._index.docnames;
var objects = this._index.objects;
var objnames = this._index.objnames;
var titles = this._index.titles;
var i;
var results = [];
for (var prefix in objects) {
for (var name in objects[prefix]) {
var fullname = (prefix ? prefix + '.' : '') + name;
if (fullname.toLowerCase().indexOf(object) > -1) {
var score = 0;
var parts = fullname.split('.');
// check for different match types: exact matches of full name or
// "last name" (i.e. last dotted part)
if (fullname == object || parts[parts.length - 1] == object) {
score += Scorer.objNameMatch;
// matches in last name
} else if (parts[parts.length - 1].indexOf(object) > -1) {
score += Scorer.objPartialMatch;
}
var match = objects[prefix][name];
var objname = objnames[match[1]][2];
var title = titles[match[0]];
// If more than one term searched for, we require other words to be
// found in the name/title/description
if (otherterms.length > 0) {
var haystack = (prefix + ' ' + name + ' ' +
objname + ' ' + title).toLowerCase();
var allfound = true;
for (i = 0; i < otherterms.length; i++) {
if (haystack.indexOf(otherterms[i]) == -1) {
allfound = false;
break;
}
}
if (!allfound) {
continue;
}
}
var descr = objname + _(', in ') + title;
var anchor = match[3];
if (anchor === '')
anchor = fullname;
else if (anchor == '-')
anchor = objnames[match[1]][1] + '-' + fullname;
// add custom score for some objects according to scorer
if (Scorer.objPrio.hasOwnProperty(match[2])) {
score += Scorer.objPrio[match[2]];
} else {
score += Scorer.objPrioDefault;
}
results.push([docnames[match[0]], fullname, '#'+anchor, descr, score, filenames[match[0]]]);
}
}
}
return results;
},
/**
* search for full-text terms in the index
*/
performTermsSearch : function(searchterms, excluded, terms, titleterms) {
var docnames = this._index.docnames;
var filenames = this._index.filenames;
var titles = this._index.titles;
var i, j, file;
var fileMap = {};
var scoreMap = {};
var results = [];
// perform the search on the required terms
for (i = 0; i < searchterms.length; i++) {
var word = searchterms[i];
var files = [];
var _o = [
{files: terms[word], score: Scorer.term},
{files: titleterms[word], score: Scorer.title}
];
// no match but word was a required one
if ($u.every(_o, function(o){return o.files === undefined;})) {
break;
}
// found search word in contents
$u.each(_o, function(o) {
var _files = o.files;
if (_files === undefined)
return
if (_files.length === undefined)
_files = [_files];
files = files.concat(_files);
// set score for the word in each file to Scorer.term
for (j = 0; j < _files.length; j++) {
file = _files[j];
if (!(file in scoreMap))
scoreMap[file] = {}
scoreMap[file][word] = o.score;
}
});
// create the mapping
for (j = 0; j < files.length; j++) {
file = files[j];
if (file in fileMap)
fileMap[file].push(word);
else
fileMap[file] = [word];
}
}
// now check if the files don't contain excluded terms
for (file in fileMap) {
var valid = true;
// check if all requirements are matched
if (fileMap[file].length != searchterms.length)
continue;
// ensure that none of the excluded terms is in the search result
for (i = 0; i < excluded.length; i++) {
if (terms[excluded[i]] == file ||
titleterms[excluded[i]] == file ||
$u.contains(terms[excluded[i]] || [], file) ||
$u.contains(titleterms[excluded[i]] || [], file)) {
valid = false;
break;
}
}
// if we have still a valid result we can add it to the result list
if (valid) {
// select one (max) score for the file.
// for better ranking, we should calculate ranking by using words statistics like basic tf-idf...
var score = $u.max($u.map(fileMap[file], function(w){return scoreMap[file][w]}));
results.push([docnames[file], titles[file], '', null, score, filenames[file]]);
}
}
return results;
},
/**
* helper function to return a node containing the
* search summary for a given text. keywords is a list
* of stemmed words, hlwords is the list of normal, unstemmed
* words. the first one is used to find the occurrence, the
* latter for highlighting it.
*/
makeSearchSummary : function(text, keywords, hlwords) {
var textLower = text.toLowerCase();
var start = 0;
$.each(keywords, function() {
var i = textLower.indexOf(this.toLowerCase());
if (i > -1)
start = i;
});
start = Math.max(start - 120, 0);
var excerpt = ((start > 0) ? '...' : '') +
$.trim(text.substr(start, 240)) +
((start + 240 - text.length) ? '...' : '');
var rv = $('<div class="context"></div>').text(excerpt);
$.each(hlwords, function() {
rv = rv.highlightText(this, 'highlighted');
});
return rv;
}
};
$(document).ready(function() {
Search.init();
});
-999
Ver Arquivo
@@ -1,999 +0,0 @@
// Underscore.js 1.3.1
// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
// Underscore is freely distributable under the MIT license.
// Portions of Underscore are inspired or borrowed from Prototype,
// Oliver Steele's Functional, and John Resig's Micro-Templating.
// For all details and documentation:
// http://documentcloud.github.com/underscore
(function() {
// Baseline setup
// --------------
// Establish the root object, `window` in the browser, or `global` on the server.
var root = this;
// Save the previous value of the `_` variable.
var previousUnderscore = root._;
// Establish the object that gets returned to break out of a loop iteration.
var breaker = {};
// Save bytes in the minified (but not gzipped) version:
var ArrayProto = Array.prototype, ObjProto = Object.prototype, FuncProto = Function.prototype;
// Create quick reference variables for speed access to core prototypes.
var slice = ArrayProto.slice,
unshift = ArrayProto.unshift,
toString = ObjProto.toString,
hasOwnProperty = ObjProto.hasOwnProperty;
// All **ECMAScript 5** native function implementations that we hope to use
// are declared here.
var
nativeForEach = ArrayProto.forEach,
nativeMap = ArrayProto.map,
nativeReduce = ArrayProto.reduce,
nativeReduceRight = ArrayProto.reduceRight,
nativeFilter = ArrayProto.filter,
nativeEvery = ArrayProto.every,
nativeSome = ArrayProto.some,
nativeIndexOf = ArrayProto.indexOf,
nativeLastIndexOf = ArrayProto.lastIndexOf,
nativeIsArray = Array.isArray,
nativeKeys = Object.keys,
nativeBind = FuncProto.bind;
// Create a safe reference to the Underscore object for use below.
var _ = function(obj) { return new wrapper(obj); };
// Export the Underscore object for **Node.js**, with
// backwards-compatibility for the old `require()` API. If we're in
// the browser, add `_` as a global object via a string identifier,
// for Closure Compiler "advanced" mode.
if (typeof exports !== 'undefined') {
if (typeof module !== 'undefined' && module.exports) {
exports = module.exports = _;
}
exports._ = _;
} else {
root['_'] = _;
}
// Current version.
_.VERSION = '1.3.1';
// Collection Functions
// --------------------
// The cornerstone, an `each` implementation, aka `forEach`.
// Handles objects with the built-in `forEach`, arrays, and raw objects.
// Delegates to **ECMAScript 5**'s native `forEach` if available.
var each = _.each = _.forEach = function(obj, iterator, context) {
if (obj == null) return;
if (nativeForEach && obj.forEach === nativeForEach) {
obj.forEach(iterator, context);
} else if (obj.length === +obj.length) {
for (var i = 0, l = obj.length; i < l; i++) {
if (i in obj && iterator.call(context, obj[i], i, obj) === breaker) return;
}
} else {
for (var key in obj) {
if (_.has(obj, key)) {
if (iterator.call(context, obj[key], key, obj) === breaker) return;
}
}
}
};
// Return the results of applying the iterator to each element.
// Delegates to **ECMAScript 5**'s native `map` if available.
_.map = _.collect = function(obj, iterator, context) {
var results = [];
if (obj == null) return results;
if (nativeMap && obj.map === nativeMap) return obj.map(iterator, context);
each(obj, function(value, index, list) {
results[results.length] = iterator.call(context, value, index, list);
});
if (obj.length === +obj.length) results.length = obj.length;
return results;
};
// **Reduce** builds up a single result from a list of values, aka `inject`,
// or `foldl`. Delegates to **ECMAScript 5**'s native `reduce` if available.
_.reduce = _.foldl = _.inject = function(obj, iterator, memo, context) {
var initial = arguments.length > 2;
if (obj == null) obj = [];
if (nativeReduce && obj.reduce === nativeReduce) {
if (context) iterator = _.bind(iterator, context);
return initial ? obj.reduce(iterator, memo) : obj.reduce(iterator);
}
each(obj, function(value, index, list) {
if (!initial) {
memo = value;
initial = true;
} else {
memo = iterator.call(context, memo, value, index, list);
}
});
if (!initial) throw new TypeError('Reduce of empty array with no initial value');
return memo;
};
// The right-associative version of reduce, also known as `foldr`.
// Delegates to **ECMAScript 5**'s native `reduceRight` if available.
_.reduceRight = _.foldr = function(obj, iterator, memo, context) {
var initial = arguments.length > 2;
if (obj == null) obj = [];
if (nativeReduceRight && obj.reduceRight === nativeReduceRight) {
if (context) iterator = _.bind(iterator, context);
return initial ? obj.reduceRight(iterator, memo) : obj.reduceRight(iterator);
}
var reversed = _.toArray(obj).reverse();
if (context && !initial) iterator = _.bind(iterator, context);
return initial ? _.reduce(reversed, iterator, memo, context) : _.reduce(reversed, iterator);
};
// Return the first value which passes a truth test. Aliased as `detect`.
_.find = _.detect = function(obj, iterator, context) {
var result;
any(obj, function(value, index, list) {
if (iterator.call(context, value, index, list)) {
result = value;
return true;
}
});
return result;
};
// Return all the elements that pass a truth test.
// Delegates to **ECMAScript 5**'s native `filter` if available.
// Aliased as `select`.
_.filter = _.select = function(obj, iterator, context) {
var results = [];
if (obj == null) return results;
if (nativeFilter && obj.filter === nativeFilter) return obj.filter(iterator, context);
each(obj, function(value, index, list) {
if (iterator.call(context, value, index, list)) results[results.length] = value;
});
return results;
};
// Return all the elements for which a truth test fails.
_.reject = function(obj, iterator, context) {
var results = [];
if (obj == null) return results;
each(obj, function(value, index, list) {
if (!iterator.call(context, value, index, list)) results[results.length] = value;
});
return results;
};
// Determine whether all of the elements match a truth test.
// Delegates to **ECMAScript 5**'s native `every` if available.
// Aliased as `all`.
_.every = _.all = function(obj, iterator, context) {
var result = true;
if (obj == null) return result;
if (nativeEvery && obj.every === nativeEvery) return obj.every(iterator, context);
each(obj, function(value, index, list) {
if (!(result = result && iterator.call(context, value, index, list))) return breaker;
});
return result;
};
// Determine if at least one element in the object matches a truth test.
// Delegates to **ECMAScript 5**'s native `some` if available.
// Aliased as `any`.
var any = _.some = _.any = function(obj, iterator, context) {
iterator || (iterator = _.identity);
var result = false;
if (obj == null) return result;
if (nativeSome && obj.some === nativeSome) return obj.some(iterator, context);
each(obj, function(value, index, list) {
if (result || (result = iterator.call(context, value, index, list))) return breaker;
});
return !!result;
};
// Determine if a given value is included in the array or object using `===`.
// Aliased as `contains`.
_.include = _.contains = function(obj, target) {
var found = false;
if (obj == null) return found;
if (nativeIndexOf && obj.indexOf === nativeIndexOf) return obj.indexOf(target) != -1;
found = any(obj, function(value) {
return value === target;
});
return found;
};
// Invoke a method (with arguments) on every item in a collection.
_.invoke = function(obj, method) {
var args = slice.call(arguments, 2);
return _.map(obj, function(value) {
return (_.isFunction(method) ? method || value : value[method]).apply(value, args);
});
};
// Convenience version of a common use case of `map`: fetching a property.
_.pluck = function(obj, key) {
return _.map(obj, function(value){ return value[key]; });
};
// Return the maximum element or (element-based computation).
_.max = function(obj, iterator, context) {
if (!iterator && _.isArray(obj)) return Math.max.apply(Math, obj);
if (!iterator && _.isEmpty(obj)) return -Infinity;
var result = {computed : -Infinity};
each(obj, function(value, index, list) {
var computed = iterator ? iterator.call(context, value, index, list) : value;
computed >= result.computed && (result = {value : value, computed : computed});
});
return result.value;
};
// Return the minimum element (or element-based computation).
_.min = function(obj, iterator, context) {
if (!iterator && _.isArray(obj)) return Math.min.apply(Math, obj);
if (!iterator && _.isEmpty(obj)) return Infinity;
var result = {computed : Infinity};
each(obj, function(value, index, list) {
var computed = iterator ? iterator.call(context, value, index, list) : value;
computed < result.computed && (result = {value : value, computed : computed});
});
return result.value;
};
// Shuffle an array.
_.shuffle = function(obj) {
var shuffled = [], rand;
each(obj, function(value, index, list) {
if (index == 0) {
shuffled[0] = value;
} else {
rand = Math.floor(Math.random() * (index + 1));
shuffled[index] = shuffled[rand];
shuffled[rand] = value;
}
});
return shuffled;
};
// Sort the object's values by a criterion produced by an iterator.
_.sortBy = function(obj, iterator, context) {
return _.pluck(_.map(obj, function(value, index, list) {
return {
value : value,
criteria : iterator.call(context, value, index, list)
};
}).sort(function(left, right) {
var a = left.criteria, b = right.criteria;
return a < b ? -1 : a > b ? 1 : 0;
}), 'value');
};
// Groups the object's values by a criterion. Pass either a string attribute
// to group by, or a function that returns the criterion.
_.groupBy = function(obj, val) {
var result = {};
var iterator = _.isFunction(val) ? val : function(obj) { return obj[val]; };
each(obj, function(value, index) {
var key = iterator(value, index);
(result[key] || (result[key] = [])).push(value);
});
return result;
};
// Use a comparator function to figure out at what index an object should
// be inserted so as to maintain order. Uses binary search.
_.sortedIndex = function(array, obj, iterator) {
iterator || (iterator = _.identity);
var low = 0, high = array.length;
while (low < high) {
var mid = (low + high) >> 1;
iterator(array[mid]) < iterator(obj) ? low = mid + 1 : high = mid;
}
return low;
};
// Safely convert anything iterable into a real, live array.
_.toArray = function(iterable) {
if (!iterable) return [];
if (iterable.toArray) return iterable.toArray();
if (_.isArray(iterable)) return slice.call(iterable);
if (_.isArguments(iterable)) return slice.call(iterable);
return _.values(iterable);
};
// Return the number of elements in an object.
_.size = function(obj) {
return _.toArray(obj).length;
};
// Array Functions
// ---------------
// Get the first element of an array. Passing **n** will return the first N
// values in the array. Aliased as `head`. The **guard** check allows it to work
// with `_.map`.
_.first = _.head = function(array, n, guard) {
return (n != null) && !guard ? slice.call(array, 0, n) : array[0];
};
// Returns everything but the last entry of the array. Especcialy useful on
// the arguments object. Passing **n** will return all the values in
// the array, excluding the last N. The **guard** check allows it to work with
// `_.map`.
_.initial = function(array, n, guard) {
return slice.call(array, 0, array.length - ((n == null) || guard ? 1 : n));
};
// Get the last element of an array. Passing **n** will return the last N
// values in the array. The **guard** check allows it to work with `_.map`.
_.last = function(array, n, guard) {
if ((n != null) && !guard) {
return slice.call(array, Math.max(array.length - n, 0));
} else {
return array[array.length - 1];
}
};
// Returns everything but the first entry of the array. Aliased as `tail`.
// Especially useful on the arguments object. Passing an **index** will return
// the rest of the values in the array from that index onward. The **guard**
// check allows it to work with `_.map`.
_.rest = _.tail = function(array, index, guard) {
return slice.call(array, (index == null) || guard ? 1 : index);
};
// Trim out all falsy values from an array.
_.compact = function(array) {
return _.filter(array, function(value){ return !!value; });
};
// Return a completely flattened version of an array.
_.flatten = function(array, shallow) {
return _.reduce(array, function(memo, value) {
if (_.isArray(value)) return memo.concat(shallow ? value : _.flatten(value));
memo[memo.length] = value;
return memo;
}, []);
};
// Return a version of the array that does not contain the specified value(s).
_.without = function(array) {
return _.difference(array, slice.call(arguments, 1));
};
// Produce a duplicate-free version of the array. If the array has already
// been sorted, you have the option of using a faster algorithm.
// Aliased as `unique`.
_.uniq = _.unique = function(array, isSorted, iterator) {
var initial = iterator ? _.map(array, iterator) : array;
var result = [];
_.reduce(initial, function(memo, el, i) {
if (0 == i || (isSorted === true ? _.last(memo) != el : !_.include(memo, el))) {
memo[memo.length] = el;
result[result.length] = array[i];
}
return memo;
}, []);
return result;
};
// Produce an array that contains the union: each distinct element from all of
// the passed-in arrays.
_.union = function() {
return _.uniq(_.flatten(arguments, true));
};
// Produce an array that contains every item shared between all the
// passed-in arrays. (Aliased as "intersect" for back-compat.)
_.intersection = _.intersect = function(array) {
var rest = slice.call(arguments, 1);
return _.filter(_.uniq(array), function(item) {
return _.every(rest, function(other) {
return _.indexOf(other, item) >= 0;
});
});
};
// Take the difference between one array and a number of other arrays.
// Only the elements present in just the first array will remain.
_.difference = function(array) {
var rest = _.flatten(slice.call(arguments, 1));
return _.filter(array, function(value){ return !_.include(rest, value); });
};
// Zip together multiple lists into a single array -- elements that share
// an index go together.
_.zip = function() {
var args = slice.call(arguments);
var length = _.max(_.pluck(args, 'length'));
var results = new Array(length);
for (var i = 0; i < length; i++) results[i] = _.pluck(args, "" + i);
return results;
};
// If the browser doesn't supply us with indexOf (I'm looking at you, **MSIE**),
// we need this function. Return the position of the first occurrence of an
// item in an array, or -1 if the item is not included in the array.
// Delegates to **ECMAScript 5**'s native `indexOf` if available.
// If the array is large and already in sort order, pass `true`
// for **isSorted** to use binary search.
_.indexOf = function(array, item, isSorted) {
if (array == null) return -1;
var i, l;
if (isSorted) {
i = _.sortedIndex(array, item);
return array[i] === item ? i : -1;
}
if (nativeIndexOf && array.indexOf === nativeIndexOf) return array.indexOf(item);
for (i = 0, l = array.length; i < l; i++) if (i in array && array[i] === item) return i;
return -1;
};
// Delegates to **ECMAScript 5**'s native `lastIndexOf` if available.
_.lastIndexOf = function(array, item) {
if (array == null) return -1;
if (nativeLastIndexOf && array.lastIndexOf === nativeLastIndexOf) return array.lastIndexOf(item);
var i = array.length;
while (i--) if (i in array && array[i] === item) return i;
return -1;
};
// Generate an integer Array containing an arithmetic progression. A port of
// the native Python `range()` function. See
// [the Python documentation](http://docs.python.org/library/functions.html#range).
_.range = function(start, stop, step) {
if (arguments.length <= 1) {
stop = start || 0;
start = 0;
}
step = arguments[2] || 1;
var len = Math.max(Math.ceil((stop - start) / step), 0);
var idx = 0;
var range = new Array(len);
while(idx < len) {
range[idx++] = start;
start += step;
}
return range;
};
// Function (ahem) Functions
// ------------------
// Reusable constructor function for prototype setting.
var ctor = function(){};
// Create a function bound to a given object (assigning `this`, and arguments,
// optionally). Binding with arguments is also known as `curry`.
// Delegates to **ECMAScript 5**'s native `Function.bind` if available.
// We check for `func.bind` first, to fail fast when `func` is undefined.
_.bind = function bind(func, context) {
var bound, args;
if (func.bind === nativeBind && nativeBind) return nativeBind.apply(func, slice.call(arguments, 1));
if (!_.isFunction(func)) throw new TypeError;
args = slice.call(arguments, 2);
return bound = function() {
if (!(this instanceof bound)) return func.apply(context, args.concat(slice.call(arguments)));
ctor.prototype = func.prototype;
var self = new ctor;
var result = func.apply(self, args.concat(slice.call(arguments)));
if (Object(result) === result) return result;
return self;
};
};
// Bind all of an object's methods to that object. Useful for ensuring that
// all callbacks defined on an object belong to it.
_.bindAll = function(obj) {
var funcs = slice.call(arguments, 1);
if (funcs.length == 0) funcs = _.functions(obj);
each(funcs, function(f) { obj[f] = _.bind(obj[f], obj); });
return obj;
};
// Memoize an expensive function by storing its results.
_.memoize = function(func, hasher) {
var memo = {};
hasher || (hasher = _.identity);
return function() {
var key = hasher.apply(this, arguments);
return _.has(memo, key) ? memo[key] : (memo[key] = func.apply(this, arguments));
};
};
// Delays a function for the given number of milliseconds, and then calls
// it with the arguments supplied.
_.delay = function(func, wait) {
var args = slice.call(arguments, 2);
return setTimeout(function(){ return func.apply(func, args); }, wait);
};
// Defers a function, scheduling it to run after the current call stack has
// cleared.
_.defer = function(func) {
return _.delay.apply(_, [func, 1].concat(slice.call(arguments, 1)));
};
// Returns a function, that, when invoked, will only be triggered at most once
// during a given window of time.
_.throttle = function(func, wait) {
var context, args, timeout, throttling, more;
var whenDone = _.debounce(function(){ more = throttling = false; }, wait);
return function() {
context = this; args = arguments;
var later = function() {
timeout = null;
if (more) func.apply(context, args);
whenDone();
};
if (!timeout) timeout = setTimeout(later, wait);
if (throttling) {
more = true;
} else {
func.apply(context, args);
}
whenDone();
throttling = true;
};
};
// Returns a function, that, as long as it continues to be invoked, will not
// be triggered. The function will be called after it stops being called for
// N milliseconds.
_.debounce = function(func, wait) {
var timeout;
return function() {
var context = this, args = arguments;
var later = function() {
timeout = null;
func.apply(context, args);
};
clearTimeout(timeout);
timeout = setTimeout(later, wait);
};
};
// Returns a function that will be executed at most one time, no matter how
// often you call it. Useful for lazy initialization.
_.once = function(func) {
var ran = false, memo;
return function() {
if (ran) return memo;
ran = true;
return memo = func.apply(this, arguments);
};
};
// Returns the first function passed as an argument to the second,
// allowing you to adjust arguments, run code before and after, and
// conditionally execute the original function.
_.wrap = function(func, wrapper) {
return function() {
var args = [func].concat(slice.call(arguments, 0));
return wrapper.apply(this, args);
};
};
// Returns a function that is the composition of a list of functions, each
// consuming the return value of the function that follows.
_.compose = function() {
var funcs = arguments;
return function() {
var args = arguments;
for (var i = funcs.length - 1; i >= 0; i--) {
args = [funcs[i].apply(this, args)];
}
return args[0];
};
};
// Returns a function that will only be executed after being called N times.
_.after = function(times, func) {
if (times <= 0) return func();
return function() {
if (--times < 1) { return func.apply(this, arguments); }
};
};
// Object Functions
// ----------------
// Retrieve the names of an object's properties.
// Delegates to **ECMAScript 5**'s native `Object.keys`
_.keys = nativeKeys || function(obj) {
if (obj !== Object(obj)) throw new TypeError('Invalid object');
var keys = [];
for (var key in obj) if (_.has(obj, key)) keys[keys.length] = key;
return keys;
};
// Retrieve the values of an object's properties.
_.values = function(obj) {
return _.map(obj, _.identity);
};
// Return a sorted list of the function names available on the object.
// Aliased as `methods`
_.functions = _.methods = function(obj) {
var names = [];
for (var key in obj) {
if (_.isFunction(obj[key])) names.push(key);
}
return names.sort();
};
// Extend a given object with all the properties in passed-in object(s).
_.extend = function(obj) {
each(slice.call(arguments, 1), function(source) {
for (var prop in source) {
obj[prop] = source[prop];
}
});
return obj;
};
// Fill in a given object with default properties.
_.defaults = function(obj) {
each(slice.call(arguments, 1), function(source) {
for (var prop in source) {
if (obj[prop] == null) obj[prop] = source[prop];
}
});
return obj;
};
// Create a (shallow-cloned) duplicate of an object.
_.clone = function(obj) {
if (!_.isObject(obj)) return obj;
return _.isArray(obj) ? obj.slice() : _.extend({}, obj);
};
// Invokes interceptor with the obj, and then returns obj.
// The primary purpose of this method is to "tap into" a method chain, in
// order to perform operations on intermediate results within the chain.
_.tap = function(obj, interceptor) {
interceptor(obj);
return obj;
};
// Internal recursive comparison function.
function eq(a, b, stack) {
// Identical objects are equal. `0 === -0`, but they aren't identical.
// See the Harmony `egal` proposal: http://wiki.ecmascript.org/doku.php?id=harmony:egal.
if (a === b) return a !== 0 || 1 / a == 1 / b;
// A strict comparison is necessary because `null == undefined`.
if (a == null || b == null) return a === b;
// Unwrap any wrapped objects.
if (a._chain) a = a._wrapped;
if (b._chain) b = b._wrapped;
// Invoke a custom `isEqual` method if one is provided.
if (a.isEqual && _.isFunction(a.isEqual)) return a.isEqual(b);
if (b.isEqual && _.isFunction(b.isEqual)) return b.isEqual(a);
// Compare `[[Class]]` names.
var className = toString.call(a);
if (className != toString.call(b)) return false;
switch (className) {
// Strings, numbers, dates, and booleans are compared by value.
case '[object String]':
// Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is
// equivalent to `new String("5")`.
return a == String(b);
case '[object Number]':
// `NaN`s are equivalent, but non-reflexive. An `egal` comparison is performed for
// other numeric values.
return a != +a ? b != +b : (a == 0 ? 1 / a == 1 / b : a == +b);
case '[object Date]':
case '[object Boolean]':
// Coerce dates and booleans to numeric primitive values. Dates are compared by their
// millisecond representations. Note that invalid dates with millisecond representations
// of `NaN` are not equivalent.
return +a == +b;
// RegExps are compared by their source patterns and flags.
case '[object RegExp]':
return a.source == b.source &&
a.global == b.global &&
a.multiline == b.multiline &&
a.ignoreCase == b.ignoreCase;
}
if (typeof a != 'object' || typeof b != 'object') return false;
// Assume equality for cyclic structures. The algorithm for detecting cyclic
// structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.
var length = stack.length;
while (length--) {
// Linear search. Performance is inversely proportional to the number of
// unique nested structures.
if (stack[length] == a) return true;
}
// Add the first object to the stack of traversed objects.
stack.push(a);
var size = 0, result = true;
// Recursively compare objects and arrays.
if (className == '[object Array]') {
// Compare array lengths to determine if a deep comparison is necessary.
size = a.length;
result = size == b.length;
if (result) {
// Deep compare the contents, ignoring non-numeric properties.
while (size--) {
// Ensure commutative equality for sparse arrays.
if (!(result = size in a == size in b && eq(a[size], b[size], stack))) break;
}
}
} else {
// Objects with different constructors are not equivalent.
if ('constructor' in a != 'constructor' in b || a.constructor != b.constructor) return false;
// Deep compare objects.
for (var key in a) {
if (_.has(a, key)) {
// Count the expected number of properties.
size++;
// Deep compare each member.
if (!(result = _.has(b, key) && eq(a[key], b[key], stack))) break;
}
}
// Ensure that both objects contain the same number of properties.
if (result) {
for (key in b) {
if (_.has(b, key) && !(size--)) break;
}
result = !size;
}
}
// Remove the first object from the stack of traversed objects.
stack.pop();
return result;
}
// Perform a deep comparison to check if two objects are equal.
_.isEqual = function(a, b) {
return eq(a, b, []);
};
// Is a given array, string, or object empty?
// An "empty" object has no enumerable own-properties.
_.isEmpty = function(obj) {
if (_.isArray(obj) || _.isString(obj)) return obj.length === 0;
for (var key in obj) if (_.has(obj, key)) return false;
return true;
};
// Is a given value a DOM element?
_.isElement = function(obj) {
return !!(obj && obj.nodeType == 1);
};
// Is a given value an array?
// Delegates to ECMA5's native Array.isArray
_.isArray = nativeIsArray || function(obj) {
return toString.call(obj) == '[object Array]';
};
// Is a given variable an object?
_.isObject = function(obj) {
return obj === Object(obj);
};
// Is a given variable an arguments object?
_.isArguments = function(obj) {
return toString.call(obj) == '[object Arguments]';
};
if (!_.isArguments(arguments)) {
_.isArguments = function(obj) {
return !!(obj && _.has(obj, 'callee'));
};
}
// Is a given value a function?
_.isFunction = function(obj) {
return toString.call(obj) == '[object Function]';
};
// Is a given value a string?
_.isString = function(obj) {
return toString.call(obj) == '[object String]';
};
// Is a given value a number?
_.isNumber = function(obj) {
return toString.call(obj) == '[object Number]';
};
// Is the given value `NaN`?
_.isNaN = function(obj) {
// `NaN` is the only value for which `===` is not reflexive.
return obj !== obj;
};
// Is a given value a boolean?
_.isBoolean = function(obj) {
return obj === true || obj === false || toString.call(obj) == '[object Boolean]';
};
// Is a given value a date?
_.isDate = function(obj) {
return toString.call(obj) == '[object Date]';
};
// Is the given value a regular expression?
_.isRegExp = function(obj) {
return toString.call(obj) == '[object RegExp]';
};
// Is a given value equal to null?
_.isNull = function(obj) {
return obj === null;
};
// Is a given variable undefined?
_.isUndefined = function(obj) {
return obj === void 0;
};
// Has own property?
_.has = function(obj, key) {
return hasOwnProperty.call(obj, key);
};
// Utility Functions
// -----------------
// Run Underscore.js in *noConflict* mode, returning the `_` variable to its
// previous owner. Returns a reference to the Underscore object.
_.noConflict = function() {
root._ = previousUnderscore;
return this;
};
// Keep the identity function around for default iterators.
_.identity = function(value) {
return value;
};
// Run a function **n** times.
_.times = function (n, iterator, context) {
for (var i = 0; i < n; i++) iterator.call(context, i);
};
// Escape a string for HTML interpolation.
_.escape = function(string) {
return (''+string).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;').replace(/'/g, '&#x27;').replace(/\//g,'&#x2F;');
};
// Add your own custom functions to the Underscore object, ensuring that
// they're correctly added to the OOP wrapper as well.
_.mixin = function(obj) {
each(_.functions(obj), function(name){
addToWrapper(name, _[name] = obj[name]);
});
};
// Generate a unique integer id (unique within the entire client session).
// Useful for temporary DOM ids.
var idCounter = 0;
_.uniqueId = function(prefix) {
var id = idCounter++;
return prefix ? prefix + id : id;
};
// By default, Underscore uses ERB-style template delimiters, change the
// following template settings to use alternative delimiters.
_.templateSettings = {
evaluate : /<%([\s\S]+?)%>/g,
interpolate : /<%=([\s\S]+?)%>/g,
escape : /<%-([\s\S]+?)%>/g
};
// When customizing `templateSettings`, if you don't want to define an
// interpolation, evaluation or escaping regex, we need one that is
// guaranteed not to match.
var noMatch = /.^/;
// Within an interpolation, evaluation, or escaping, remove HTML escaping
// that had been previously added.
var unescape = function(code) {
return code.replace(/\\\\/g, '\\').replace(/\\'/g, "'");
};
// JavaScript micro-templating, similar to John Resig's implementation.
// Underscore templating handles arbitrary delimiters, preserves whitespace,
// and correctly escapes quotes within interpolated code.
_.template = function(str, data) {
var c = _.templateSettings;
var tmpl = 'var __p=[],print=function(){__p.push.apply(__p,arguments);};' +
'with(obj||{}){__p.push(\'' +
str.replace(/\\/g, '\\\\')
.replace(/'/g, "\\'")
.replace(c.escape || noMatch, function(match, code) {
return "',_.escape(" + unescape(code) + "),'";
})
.replace(c.interpolate || noMatch, function(match, code) {
return "'," + unescape(code) + ",'";
})
.replace(c.evaluate || noMatch, function(match, code) {
return "');" + unescape(code).replace(/[\r\n\t]/g, ' ') + ";__p.push('";
})
.replace(/\r/g, '\\r')
.replace(/\n/g, '\\n')
.replace(/\t/g, '\\t')
+ "');}return __p.join('');";
var func = new Function('obj', '_', tmpl);
if (data) return func(data, _);
return function(data) {
return func.call(this, data, _);
};
};
// Add a "chain" function, which will delegate to the wrapper.
_.chain = function(obj) {
return _(obj).chain();
};
// The OOP Wrapper
// ---------------
// If Underscore is called as a function, it returns a wrapped object that
// can be used OO-style. This wrapper holds altered versions of all the
// underscore functions. Wrapped objects may be chained.
var wrapper = function(obj) { this._wrapped = obj; };
// Expose `wrapper.prototype` as `_.prototype`
_.prototype = wrapper.prototype;
// Helper function to continue chaining intermediate results.
var result = function(obj, chain) {
return chain ? _(obj).chain() : obj;
};
// A method to easily add functions to the OOP wrapper.
var addToWrapper = function(name, func) {
wrapper.prototype[name] = function() {
var args = slice.call(arguments);
unshift.call(args, this._wrapped);
return result(func.apply(_, args), this._chain);
};
};
// Add all of the Underscore functions to the wrapper object.
_.mixin(_);
// Add all mutator Array functions to the wrapper.
each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) {
var method = ArrayProto[name];
wrapper.prototype[name] = function() {
var wrapped = this._wrapped;
method.apply(wrapped, arguments);
var length = wrapped.length;
if ((name == 'shift' || name == 'splice') && length === 0) delete wrapped[0];
return result(wrapped, this._chain);
};
});
// Add all accessor Array functions to the wrapper.
each(['concat', 'join', 'slice'], function(name) {
var method = ArrayProto[name];
wrapper.prototype[name] = function() {
return result(method.apply(this._wrapped, arguments), this._chain);
};
});
// Start chaining a wrapped Underscore object.
wrapper.prototype.chain = function() {
this._chain = true;
return this;
};
// Extracts the result from a wrapped and chained object.
wrapper.prototype.value = function() {
return this._wrapped;
};
}).call(this);
-31
Ver Arquivo
@@ -1,31 +0,0 @@
// Underscore.js 1.3.1
// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
// Underscore is freely distributable under the MIT license.
// Portions of Underscore are inspired or borrowed from Prototype,
// Oliver Steele's Functional, and John Resig's Micro-Templating.
// For all details and documentation:
// http://documentcloud.github.com/underscore
(function(){function q(a,c,d){if(a===c)return a!==0||1/a==1/c;if(a==null||c==null)return a===c;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return false;switch(e){case "[object String]":return a==String(c);case "[object Number]":return a!=+a?c!=+c:a==0?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source==
c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if(typeof a!="object"||typeof c!="object")return false;for(var f=d.length;f--;)if(d[f]==a)return true;d.push(a);var f=0,g=true;if(e=="[object Array]"){if(f=a.length,g=f==c.length)for(;f--;)if(!(g=f in a==f in c&&q(a[f],c[f],d)))break}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return false;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&q(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c,
h)&&!f--)break;g=!f}}d.pop();return g}var r=this,G=r._,n={},k=Array.prototype,o=Object.prototype,i=k.slice,H=k.unshift,l=o.toString,I=o.hasOwnProperty,w=k.forEach,x=k.map,y=k.reduce,z=k.reduceRight,A=k.filter,B=k.every,C=k.some,p=k.indexOf,D=k.lastIndexOf,o=Array.isArray,J=Object.keys,s=Function.prototype.bind,b=function(a){return new m(a)};if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports)exports=module.exports=b;exports._=b}else r._=b;b.VERSION="1.3.1";var j=b.each=
b.forEach=function(a,c,d){if(a!=null)if(w&&a.forEach===w)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e<f;e++){if(e in a&&c.call(d,a[e],e,a)===n)break}else for(e in a)if(b.has(a,e)&&c.call(d,a[e],e,a)===n)break};b.map=b.collect=function(a,c,b){var e=[];if(a==null)return e;if(x&&a.map===x)return a.map(c,b);j(a,function(a,g,h){e[e.length]=c.call(b,a,g,h)});if(a.length===+a.length)e.length=a.length;return e};b.reduce=b.foldl=b.inject=function(a,c,d,e){var f=arguments.length>2;a==
null&&(a=[]);if(y&&a.reduce===y)return e&&(c=b.bind(c,e)),f?a.reduce(c,d):a.reduce(c);j(a,function(a,b,i){f?d=c.call(e,d,a,b,i):(d=a,f=true)});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(z&&a.reduceRight===z)return e&&(c=b.bind(c,e)),f?a.reduceRight(c,d):a.reduceRight(c);var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect=
function(a,c,b){var e;E(a,function(a,g,h){if(c.call(b,a,g,h))return e=a,true});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(A&&a.filter===A)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(B&&a.every===B)return a.every(c,b);j(a,function(a,g,h){if(!(e=
e&&c.call(b,a,g,h)))return n});return e};var E=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(C&&a.some===C)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return n});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;return p&&a.indexOf===p?a.indexOf(c)!=-1:b=E(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck=
function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b<e.computed&&(e={value:a,computed:b})});
return e.value};b.shuffle=function(a){var b=[],d;j(a,function(a,f){f==0?b[0]=a:(d=Math.floor(Math.random()*(f+1)),b[f]=b[d],b[d]=a)});return b};b.sortBy=function(a,c,d){return b.pluck(b.map(a,function(a,b,g){return{value:a,criteria:c.call(d,a,b,g)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]};j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a,
c,d){d||(d=b.identity);for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?e=g+1:f=g}return e};b.toArray=function(a){return!a?[]:a.toArray?a.toArray():b.isArray(a)?i.call(a):b.isArguments(a)?i.call(a):b.values(a)};b.size=function(a){return b.toArray(a).length};b.first=b.head=function(a,b,d){return b!=null&&!d?i.call(a,0,b):a[0]};b.initial=function(a,b,d){return i.call(a,0,a.length-(b==null||d?1:b))};b.last=function(a,b,d){return b!=null&&!d?i.call(a,Math.max(a.length-b,0)):a[a.length-1]};b.rest=
b.tail=function(a,b,d){return i.call(a,b==null||d?1:b)};b.compact=function(a){return b.filter(a,function(a){return!!a})};b.flatten=function(a,c){return b.reduce(a,function(a,e){if(b.isArray(e))return a.concat(c?e:b.flatten(e));a[a.length]=e;return a},[])};b.without=function(a){return b.difference(a,i.call(arguments,1))};b.uniq=b.unique=function(a,c,d){var d=d?b.map(a,d):a,e=[];b.reduce(d,function(d,g,h){if(0==h||(c===true?b.last(d)!=g:!b.include(d,g)))d[d.length]=g,e[e.length]=a[h];return d},[]);
return e};b.union=function(){return b.uniq(b.flatten(arguments,true))};b.intersection=b.intersect=function(a){var c=i.call(arguments,1);return b.filter(b.uniq(a),function(a){return b.every(c,function(c){return b.indexOf(c,a)>=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1));return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e<c;e++)d[e]=b.pluck(a,""+e);return d};b.indexOf=function(a,c,
d){if(a==null)return-1;var e;if(d)return d=b.sortedIndex(a,c),a[d]===c?d:-1;if(p&&a.indexOf===p)return a.indexOf(c);for(d=0,e=a.length;d<e;d++)if(d in a&&a[d]===c)return d;return-1};b.lastIndexOf=function(a,b){if(a==null)return-1;if(D&&a.lastIndexOf===D)return a.lastIndexOf(b);for(var d=a.length;d--;)if(d in a&&a[d]===b)return d;return-1};b.range=function(a,b,d){arguments.length<=1&&(b=a||0,a=0);for(var d=arguments[2]||1,e=Math.max(Math.ceil((b-a)/d),0),f=0,g=Array(e);f<e;)g[f++]=a,a+=d;return g};
var F=function(){};b.bind=function(a,c){var d,e;if(a.bind===s&&s)return s.apply(a,i.call(arguments,1));if(!b.isFunction(a))throw new TypeError;e=i.call(arguments,2);return d=function(){if(!(this instanceof d))return a.apply(c,e.concat(i.call(arguments)));F.prototype=a.prototype;var b=new F,g=a.apply(b,e.concat(i.call(arguments)));return Object(g)===g?g:b}};b.bindAll=function(a){var c=i.call(arguments,1);c.length==0&&(c=b.functions(a));j(c,function(c){a[c]=b.bind(a[c],a)});return a};b.memoize=function(a,
c){var d={};c||(c=b.identity);return function(){var e=c.apply(this,arguments);return b.has(d,e)?d[e]:d[e]=a.apply(this,arguments)}};b.delay=function(a,b){var d=i.call(arguments,2);return setTimeout(function(){return a.apply(a,d)},b)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(i.call(arguments,1)))};b.throttle=function(a,c){var d,e,f,g,h,i=b.debounce(function(){h=g=false},c);return function(){d=this;e=arguments;var b;f||(f=setTimeout(function(){f=null;h&&a.apply(d,e);i()},c));g?h=true:
a.apply(d,e);i();g=true}};b.debounce=function(a,b){var d;return function(){var e=this,f=arguments;clearTimeout(d);d=setTimeout(function(){d=null;a.apply(e,f)},b)}};b.once=function(a){var b=false,d;return function(){if(b)return d;b=true;return d=a.apply(this,arguments)}};b.wrap=function(a,b){return function(){var d=[a].concat(i.call(arguments,0));return b.apply(this,d)}};b.compose=function(){var a=arguments;return function(){for(var b=arguments,d=a.length-1;d>=0;d--)b=[a[d].apply(this,b)];return b[0]}};
b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=J||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.defaults=function(a){j(i.call(arguments,
1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return q(a,b,[])};b.isEmpty=function(a){if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=o||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)};
b.isArguments=function(a){return l.call(a)=="[object Arguments]"};if(!b.isArguments(arguments))b.isArguments=function(a){return!(!a||!b.has(a,"callee"))};b.isFunction=function(a){return l.call(a)=="[object Function]"};b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"};
b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a,b){return I.call(a,b)};b.noConflict=function(){r._=G;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e<a;e++)b.call(d,e)};b.escape=function(a){return(""+a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")};b.mixin=function(a){j(b.functions(a),
function(c){K(c,b[c]=a[c])})};var L=0;b.uniqueId=function(a){var b=L++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var t=/.^/,u=function(a){return a.replace(/\\\\/g,"\\").replace(/\\'/g,"'")};b.template=function(a,c){var d=b.templateSettings,d="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(d.escape||t,function(a,b){return"',_.escape("+
u(b)+"),'"}).replace(d.interpolate||t,function(a,b){return"',"+u(b)+",'"}).replace(d.evaluate||t,function(a,b){return"');"+u(b).replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",e=new Function("obj","_",d);return c?e(c,b):function(a){return e.call(this,a,b)}};b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var v=function(a,c){return c?b(a).chain():a},K=function(a,c){m.prototype[a]=
function(){var a=i.call(arguments);H.call(a,this._wrapped);return v(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return v(d,this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return v(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain=
true;return this};m.prototype.value=function(){return this._wrapped}}).call(this);
Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 214 B

BIN
Ver Arquivo
Arquivo binário não exibido.

Antes

Largura:  |  Altura:  |  Tamanho: 203 B

-808
Ver Arquivo
@@ -1,808 +0,0 @@
/*
* websupport.js
* ~~~~~~~~~~~~~
*
* sphinx.websupport utilities for all documentation.
*
* :copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
(function($) {
$.fn.autogrow = function() {
return this.each(function() {
var textarea = this;
$.fn.autogrow.resize(textarea);
$(textarea)
.focus(function() {
textarea.interval = setInterval(function() {
$.fn.autogrow.resize(textarea);
}, 500);
})
.blur(function() {
clearInterval(textarea.interval);
});
});
};
$.fn.autogrow.resize = function(textarea) {
var lineHeight = parseInt($(textarea).css('line-height'), 10);
var lines = textarea.value.split('\n');
var columns = textarea.cols;
var lineCount = 0;
$.each(lines, function() {
lineCount += Math.ceil(this.length / columns) || 1;
});
var height = lineHeight * (lineCount + 1);
$(textarea).css('height', height);
};
})(jQuery);
(function($) {
var comp, by;
function init() {
initEvents();
initComparator();
}
function initEvents() {
$(document).on("click", 'a.comment-close', function(event) {
event.preventDefault();
hide($(this).attr('id').substring(2));
});
$(document).on("click", 'a.vote', function(event) {
event.preventDefault();
handleVote($(this));
});
$(document).on("click", 'a.reply', function(event) {
event.preventDefault();
openReply($(this).attr('id').substring(2));
});
$(document).on("click", 'a.close-reply', function(event) {
event.preventDefault();
closeReply($(this).attr('id').substring(2));
});
$(document).on("click", 'a.sort-option', function(event) {
event.preventDefault();
handleReSort($(this));
});
$(document).on("click", 'a.show-proposal', function(event) {
event.preventDefault();
showProposal($(this).attr('id').substring(2));
});
$(document).on("click", 'a.hide-proposal', function(event) {
event.preventDefault();
hideProposal($(this).attr('id').substring(2));
});
$(document).on("click", 'a.show-propose-change', function(event) {
event.preventDefault();
showProposeChange($(this).attr('id').substring(2));
});
$(document).on("click", 'a.hide-propose-change', function(event) {
event.preventDefault();
hideProposeChange($(this).attr('id').substring(2));
});
$(document).on("click", 'a.accept-comment', function(event) {
event.preventDefault();
acceptComment($(this).attr('id').substring(2));
});
$(document).on("click", 'a.delete-comment', function(event) {
event.preventDefault();
deleteComment($(this).attr('id').substring(2));
});
$(document).on("click", 'a.comment-markup', function(event) {
event.preventDefault();
toggleCommentMarkupBox($(this).attr('id').substring(2));
});
}
/**
* Set comp, which is a comparator function used for sorting and
* inserting comments into the list.
*/
function setComparator() {
// If the first three letters are "asc", sort in ascending order
// and remove the prefix.
if (by.substring(0,3) == 'asc') {
var i = by.substring(3);
comp = function(a, b) { return a[i] - b[i]; };
} else {
// Otherwise sort in descending order.
comp = function(a, b) { return b[by] - a[by]; };
}
// Reset link styles and format the selected sort option.
$('a.sel').attr('href', '#').removeClass('sel');
$('a.by' + by).removeAttr('href').addClass('sel');
}
/**
* Create a comp function. If the user has preferences stored in
* the sortBy cookie, use those, otherwise use the default.
*/
function initComparator() {
by = 'rating'; // Default to sort by rating.
// If the sortBy cookie is set, use that instead.
if (document.cookie.length > 0) {
var start = document.cookie.indexOf('sortBy=');
if (start != -1) {
start = start + 7;
var end = document.cookie.indexOf(";", start);
if (end == -1) {
end = document.cookie.length;
by = unescape(document.cookie.substring(start, end));
}
}
}
setComparator();
}
/**
* Show a comment div.
*/
function show(id) {
$('#ao' + id).hide();
$('#ah' + id).show();
var context = $.extend({id: id}, opts);
var popup = $(renderTemplate(popupTemplate, context)).hide();
popup.find('textarea[name="proposal"]').hide();
popup.find('a.by' + by).addClass('sel');
var form = popup.find('#cf' + id);
form.submit(function(event) {
event.preventDefault();
addComment(form);
});
$('#s' + id).after(popup);
popup.slideDown('fast', function() {
getComments(id);
});
}
/**
* Hide a comment div.
*/
function hide(id) {
$('#ah' + id).hide();
$('#ao' + id).show();
var div = $('#sc' + id);
div.slideUp('fast', function() {
div.remove();
});
}
/**
* Perform an ajax request to get comments for a node
* and insert the comments into the comments tree.
*/
function getComments(id) {
$.ajax({
type: 'GET',
url: opts.getCommentsURL,
data: {node: id},
success: function(data, textStatus, request) {
var ul = $('#cl' + id);
var speed = 100;
$('#cf' + id)
.find('textarea[name="proposal"]')
.data('source', data.source);
if (data.comments.length === 0) {
ul.html('<li>No comments yet.</li>');
ul.data('empty', true);
} else {
// If there are comments, sort them and put them in the list.
var comments = sortComments(data.comments);
speed = data.comments.length * 100;
appendComments(comments, ul);
ul.data('empty', false);
}
$('#cn' + id).slideUp(speed + 200);
ul.slideDown(speed);
},
error: function(request, textStatus, error) {
showError('Oops, there was a problem retrieving the comments.');
},
dataType: 'json'
});
}
/**
* Add a comment via ajax and insert the comment into the comment tree.
*/
function addComment(form) {
var node_id = form.find('input[name="node"]').val();
var parent_id = form.find('input[name="parent"]').val();
var text = form.find('textarea[name="comment"]').val();
var proposal = form.find('textarea[name="proposal"]').val();
if (text == '') {
showError('Please enter a comment.');
return;
}
// Disable the form that is being submitted.
form.find('textarea,input').attr('disabled', 'disabled');
// Send the comment to the server.
$.ajax({
type: "POST",
url: opts.addCommentURL,
dataType: 'json',
data: {
node: node_id,
parent: parent_id,
text: text,
proposal: proposal
},
success: function(data, textStatus, error) {
// Reset the form.
if (node_id) {
hideProposeChange(node_id);
}
form.find('textarea')
.val('')
.add(form.find('input'))
.removeAttr('disabled');
var ul = $('#cl' + (node_id || parent_id));
if (ul.data('empty')) {
$(ul).empty();
ul.data('empty', false);
}
insertComment(data.comment);
var ao = $('#ao' + node_id);
ao.find('img').attr({'src': opts.commentBrightImage});
if (node_id) {
// if this was a "root" comment, remove the commenting box
// (the user can get it back by reopening the comment popup)
$('#ca' + node_id).slideUp();
}
},
error: function(request, textStatus, error) {
form.find('textarea,input').removeAttr('disabled');
showError('Oops, there was a problem adding the comment.');
}
});
}
/**
* Recursively append comments to the main comment list and children
* lists, creating the comment tree.
*/
function appendComments(comments, ul) {
$.each(comments, function() {
var div = createCommentDiv(this);
ul.append($(document.createElement('li')).html(div));
appendComments(this.children, div.find('ul.comment-children'));
// To avoid stagnating data, don't store the comments children in data.
this.children = null;
div.data('comment', this);
});
}
/**
* After adding a new comment, it must be inserted in the correct
* location in the comment tree.
*/
function insertComment(comment) {
var div = createCommentDiv(comment);
// To avoid stagnating data, don't store the comments children in data.
comment.children = null;
div.data('comment', comment);
var ul = $('#cl' + (comment.node || comment.parent));
var siblings = getChildren(ul);
var li = $(document.createElement('li'));
li.hide();
// Determine where in the parents children list to insert this comment.
for(i=0; i < siblings.length; i++) {
if (comp(comment, siblings[i]) <= 0) {
$('#cd' + siblings[i].id)
.parent()
.before(li.html(div));
li.slideDown('fast');
return;
}
}
// If we get here, this comment rates lower than all the others,
// or it is the only comment in the list.
ul.append(li.html(div));
li.slideDown('fast');
}
function acceptComment(id) {
$.ajax({
type: 'POST',
url: opts.acceptCommentURL,
data: {id: id},
success: function(data, textStatus, request) {
$('#cm' + id).fadeOut('fast');
$('#cd' + id).removeClass('moderate');
},
error: function(request, textStatus, error) {
showError('Oops, there was a problem accepting the comment.');
}
});
}
function deleteComment(id) {
$.ajax({
type: 'POST',
url: opts.deleteCommentURL,
data: {id: id},
success: function(data, textStatus, request) {
var div = $('#cd' + id);
if (data == 'delete') {
// Moderator mode: remove the comment and all children immediately
div.slideUp('fast', function() {
div.remove();
});
return;
}
// User mode: only mark the comment as deleted
div
.find('span.user-id:first')
.text('[deleted]').end()
.find('div.comment-text:first')
.text('[deleted]').end()
.find('#cm' + id + ', #dc' + id + ', #ac' + id + ', #rc' + id +
', #sp' + id + ', #hp' + id + ', #cr' + id + ', #rl' + id)
.remove();
var comment = div.data('comment');
comment.username = '[deleted]';
comment.text = '[deleted]';
div.data('comment', comment);
},
error: function(request, textStatus, error) {
showError('Oops, there was a problem deleting the comment.');
}
});
}
function showProposal(id) {
$('#sp' + id).hide();
$('#hp' + id).show();
$('#pr' + id).slideDown('fast');
}
function hideProposal(id) {
$('#hp' + id).hide();
$('#sp' + id).show();
$('#pr' + id).slideUp('fast');
}
function showProposeChange(id) {
$('#pc' + id).hide();
$('#hc' + id).show();
var textarea = $('#pt' + id);
textarea.val(textarea.data('source'));
$.fn.autogrow.resize(textarea[0]);
textarea.slideDown('fast');
}
function hideProposeChange(id) {
$('#hc' + id).hide();
$('#pc' + id).show();
var textarea = $('#pt' + id);
textarea.val('').removeAttr('disabled');
textarea.slideUp('fast');
}
function toggleCommentMarkupBox(id) {
$('#mb' + id).toggle();
}
/** Handle when the user clicks on a sort by link. */
function handleReSort(link) {
var classes = link.attr('class').split(/\s+/);
for (var i=0; i<classes.length; i++) {
if (classes[i] != 'sort-option') {
by = classes[i].substring(2);
}
}
setComparator();
// Save/update the sortBy cookie.
var expiration = new Date();
expiration.setDate(expiration.getDate() + 365);
document.cookie= 'sortBy=' + escape(by) +
';expires=' + expiration.toUTCString();
$('ul.comment-ul').each(function(index, ul) {
var comments = getChildren($(ul), true);
comments = sortComments(comments);
appendComments(comments, $(ul).empty());
});
}
/**
* Function to process a vote when a user clicks an arrow.
*/
function handleVote(link) {
if (!opts.voting) {
showError("You'll need to login to vote.");
return;
}
var id = link.attr('id');
if (!id) {
// Didn't click on one of the voting arrows.
return;
}
// If it is an unvote, the new vote value is 0,
// Otherwise it's 1 for an upvote, or -1 for a downvote.
var value = 0;
if (id.charAt(1) != 'u') {
value = id.charAt(0) == 'u' ? 1 : -1;
}
// The data to be sent to the server.
var d = {
comment_id: id.substring(2),
value: value
};
// Swap the vote and unvote links.
link.hide();
$('#' + id.charAt(0) + (id.charAt(1) == 'u' ? 'v' : 'u') + d.comment_id)
.show();
// The div the comment is displayed in.
var div = $('div#cd' + d.comment_id);
var data = div.data('comment');
// If this is not an unvote, and the other vote arrow has
// already been pressed, unpress it.
if ((d.value !== 0) && (data.vote === d.value * -1)) {
$('#' + (d.value == 1 ? 'd' : 'u') + 'u' + d.comment_id).hide();
$('#' + (d.value == 1 ? 'd' : 'u') + 'v' + d.comment_id).show();
}
// Update the comments rating in the local data.
data.rating += (data.vote === 0) ? d.value : (d.value - data.vote);
data.vote = d.value;
div.data('comment', data);
// Change the rating text.
div.find('.rating:first')
.text(data.rating + ' point' + (data.rating == 1 ? '' : 's'));
// Send the vote information to the server.
$.ajax({
type: "POST",
url: opts.processVoteURL,
data: d,
error: function(request, textStatus, error) {
showError('Oops, there was a problem casting that vote.');
}
});
}
/**
* Open a reply form used to reply to an existing comment.
*/
function openReply(id) {
// Swap out the reply link for the hide link
$('#rl' + id).hide();
$('#cr' + id).show();
// Add the reply li to the children ul.
var div = $(renderTemplate(replyTemplate, {id: id})).hide();
$('#cl' + id)
.prepend(div)
// Setup the submit handler for the reply form.
.find('#rf' + id)
.submit(function(event) {
event.preventDefault();
addComment($('#rf' + id));
closeReply(id);
})
.find('input[type=button]')
.click(function() {
closeReply(id);
});
div.slideDown('fast', function() {
$('#rf' + id).find('textarea').focus();
});
}
/**
* Close the reply form opened with openReply.
*/
function closeReply(id) {
// Remove the reply div from the DOM.
$('#rd' + id).slideUp('fast', function() {
$(this).remove();
});
// Swap out the hide link for the reply link
$('#cr' + id).hide();
$('#rl' + id).show();
}
/**
* Recursively sort a tree of comments using the comp comparator.
*/
function sortComments(comments) {
comments.sort(comp);
$.each(comments, function() {
this.children = sortComments(this.children);
});
return comments;
}
/**
* Get the children comments from a ul. If recursive is true,
* recursively include childrens' children.
*/
function getChildren(ul, recursive) {
var children = [];
ul.children().children("[id^='cd']")
.each(function() {
var comment = $(this).data('comment');
if (recursive)
comment.children = getChildren($(this).find('#cl' + comment.id), true);
children.push(comment);
});
return children;
}
/** Create a div to display a comment in. */
function createCommentDiv(comment) {
if (!comment.displayed && !opts.moderator) {
return $('<div class="moderate">Thank you! Your comment will show up '
+ 'once it is has been approved by a moderator.</div>');
}
// Prettify the comment rating.
comment.pretty_rating = comment.rating + ' point' +
(comment.rating == 1 ? '' : 's');
// Make a class (for displaying not yet moderated comments differently)
comment.css_class = comment.displayed ? '' : ' moderate';
// Create a div for this comment.
var context = $.extend({}, opts, comment);
var div = $(renderTemplate(commentTemplate, context));
// If the user has voted on this comment, highlight the correct arrow.
if (comment.vote) {
var direction = (comment.vote == 1) ? 'u' : 'd';
div.find('#' + direction + 'v' + comment.id).hide();
div.find('#' + direction + 'u' + comment.id).show();
}
if (opts.moderator || comment.text != '[deleted]') {
div.find('a.reply').show();
if (comment.proposal_diff)
div.find('#sp' + comment.id).show();
if (opts.moderator && !comment.displayed)
div.find('#cm' + comment.id).show();
if (opts.moderator || (opts.username == comment.username))
div.find('#dc' + comment.id).show();
}
return div;
}
/**
* A simple template renderer. Placeholders such as <%id%> are replaced
* by context['id'] with items being escaped. Placeholders such as <#id#>
* are not escaped.
*/
function renderTemplate(template, context) {
var esc = $(document.createElement('div'));
function handle(ph, escape) {
var cur = context;
$.each(ph.split('.'), function() {
cur = cur[this];
});
return escape ? esc.text(cur || "").html() : cur;
}
return template.replace(/<([%#])([\w\.]*)\1>/g, function() {
return handle(arguments[2], arguments[1] == '%' ? true : false);
});
}
/** Flash an error message briefly. */
function showError(message) {
$(document.createElement('div')).attr({'class': 'popup-error'})
.append($(document.createElement('div'))
.attr({'class': 'error-message'}).text(message))
.appendTo('body')
.fadeIn("slow")
.delay(2000)
.fadeOut("slow");
}
/** Add a link the user uses to open the comments popup. */
$.fn.comment = function() {
return this.each(function() {
var id = $(this).attr('id').substring(1);
var count = COMMENT_METADATA[id];
var title = count + ' comment' + (count == 1 ? '' : 's');
var image = count > 0 ? opts.commentBrightImage : opts.commentImage;
var addcls = count == 0 ? ' nocomment' : '';
$(this)
.append(
$(document.createElement('a')).attr({
href: '#',
'class': 'sphinx-comment-open' + addcls,
id: 'ao' + id
})
.append($(document.createElement('img')).attr({
src: image,
alt: 'comment',
title: title
}))
.click(function(event) {
event.preventDefault();
show($(this).attr('id').substring(2));
})
)
.append(
$(document.createElement('a')).attr({
href: '#',
'class': 'sphinx-comment-close hidden',
id: 'ah' + id
})
.append($(document.createElement('img')).attr({
src: opts.closeCommentImage,
alt: 'close',
title: 'close'
}))
.click(function(event) {
event.preventDefault();
hide($(this).attr('id').substring(2));
})
);
});
};
var opts = {
processVoteURL: '/_process_vote',
addCommentURL: '/_add_comment',
getCommentsURL: '/_get_comments',
acceptCommentURL: '/_accept_comment',
deleteCommentURL: '/_delete_comment',
commentImage: '/static/_static/comment.png',
closeCommentImage: '/static/_static/comment-close.png',
loadingImage: '/static/_static/ajax-loader.gif',
commentBrightImage: '/static/_static/comment-bright.png',
upArrow: '/static/_static/up.png',
downArrow: '/static/_static/down.png',
upArrowPressed: '/static/_static/up-pressed.png',
downArrowPressed: '/static/_static/down-pressed.png',
voting: false,
moderator: false
};
if (typeof COMMENT_OPTIONS != "undefined") {
opts = jQuery.extend(opts, COMMENT_OPTIONS);
}
var popupTemplate = '\
<div class="sphinx-comments" id="sc<%id%>">\
<p class="sort-options">\
Sort by:\
<a href="#" class="sort-option byrating">best rated</a>\
<a href="#" class="sort-option byascage">newest</a>\
<a href="#" class="sort-option byage">oldest</a>\
</p>\
<div class="comment-header">Comments</div>\
<div class="comment-loading" id="cn<%id%>">\
loading comments... <img src="<%loadingImage%>" alt="" /></div>\
<ul id="cl<%id%>" class="comment-ul"></ul>\
<div id="ca<%id%>">\
<p class="add-a-comment">Add a comment\
(<a href="#" class="comment-markup" id="ab<%id%>">markup</a>):</p>\
<div class="comment-markup-box" id="mb<%id%>">\
reStructured text markup: <i>*emph*</i>, <b>**strong**</b>, \
<code>``code``</code>, \
code blocks: <code>::</code> and an indented block after blank line</div>\
<form method="post" id="cf<%id%>" class="comment-form" action="">\
<textarea name="comment" cols="80"></textarea>\
<p class="propose-button">\
<a href="#" id="pc<%id%>" class="show-propose-change">\
Propose a change &#9657;\
</a>\
<a href="#" id="hc<%id%>" class="hide-propose-change">\
Propose a change &#9663;\
</a>\
</p>\
<textarea name="proposal" id="pt<%id%>" cols="80"\
spellcheck="false"></textarea>\
<input type="submit" value="Add comment" />\
<input type="hidden" name="node" value="<%id%>" />\
<input type="hidden" name="parent" value="" />\
</form>\
</div>\
</div>';
var commentTemplate = '\
<div id="cd<%id%>" class="sphinx-comment<%css_class%>">\
<div class="vote">\
<div class="arrow">\
<a href="#" id="uv<%id%>" class="vote" title="vote up">\
<img src="<%upArrow%>" />\
</a>\
<a href="#" id="uu<%id%>" class="un vote" title="vote up">\
<img src="<%upArrowPressed%>" />\
</a>\
</div>\
<div class="arrow">\
<a href="#" id="dv<%id%>" class="vote" title="vote down">\
<img src="<%downArrow%>" id="da<%id%>" />\
</a>\
<a href="#" id="du<%id%>" class="un vote" title="vote down">\
<img src="<%downArrowPressed%>" />\
</a>\
</div>\
</div>\
<div class="comment-content">\
<p class="tagline comment">\
<span class="user-id"><%username%></span>\
<span class="rating"><%pretty_rating%></span>\
<span class="delta"><%time.delta%></span>\
</p>\
<div class="comment-text comment"><#text#></div>\
<p class="comment-opts comment">\
<a href="#" class="reply hidden" id="rl<%id%>">reply &#9657;</a>\
<a href="#" class="close-reply" id="cr<%id%>">reply &#9663;</a>\
<a href="#" id="sp<%id%>" class="show-proposal">proposal &#9657;</a>\
<a href="#" id="hp<%id%>" class="hide-proposal">proposal &#9663;</a>\
<a href="#" id="dc<%id%>" class="delete-comment hidden">delete</a>\
<span id="cm<%id%>" class="moderation hidden">\
<a href="#" id="ac<%id%>" class="accept-comment">accept</a>\
</span>\
</p>\
<pre class="proposal" id="pr<%id%>">\
<#proposal_diff#>\
</pre>\
<ul class="comment-children" id="cl<%id%>"></ul>\
</div>\
<div class="clearleft"></div>\
</div>\
</div>';
var replyTemplate = '\
<li>\
<div class="reply-div" id="rd<%id%>">\
<form id="rf<%id%>">\
<textarea name="comment" cols="80"></textarea>\
<input type="submit" value="Add reply" />\
<input type="button" value="Cancel" />\
<input type="hidden" name="parent" value="<%id%>" />\
<input type="hidden" name="node" value="" />\
</form>\
</div>\
</li>';
$(document).ready(function() {
init();
});
})(jQuery);
$(document).ready(function() {
// add comment anchors for all paragraphs that are commentable
$('.sphinx-has-comment').comment();
// highlight search words in search results
$("div.context").each(function() {
var params = $.getQueryParameters();
var terms = (params.q) ? params.q[0].split(/\s+/) : [];
var result = $(this);
$.each(terms, function() {
result.highlightText(this.toLowerCase(), 'highlighted');
});
});
// directly open comment window if requested
var anchor = document.location.hash;
if (anchor.substring(0, 9) == '#comment-') {
$('#ao' + anchor.substring(9)).click();
document.location.hash = '#s' + anchor.substring(9);
}
});
+1
Ver Arquivo
@@ -0,0 +1 @@
from braindecode.version import __version__
+3
Ver Arquivo
@@ -0,0 +1,3 @@
"""
Loader code for some datasets.
"""
+399
Ver Arquivo
@@ -0,0 +1,399 @@
import logging
import re
from glob import glob
import os.path
import numpy as np
import h5py
import mne
log = logging.getLogger(__name__)
class BBCIDataset(object):
"""
Loader class for files created by saving BBCI files in matlab (make
sure to save with '-v7.3' in matlab, see
https://de.mathworks.com/help/matlab/import_export/mat-file-versions.html#buk6i87
)
Parameters
----------
filename: str
load_sensor_names: list of str, optional
Also speeds up loading if you only load some sensors.
None means load all sensors.
check_class_names: bool, optional
check if the class names are part of some known class names at
Translational NeuroTechnology Lab, AG Ball, Freiburg, Germany.
"""
def __init__(self, filename, load_sensor_names=None, check_class_names=False):
self.__dict__.update(locals())
del self.self
def load(self):
cnt = self._load_continuous_signal()
cnt = self._add_markers(cnt)
return cnt
def _load_continuous_signal(self):
wanted_chan_inds, wanted_sensor_names = self._determine_sensors()
fs = self._determine_samplingrate()
with h5py.File(self.filename, 'r') as h5file:
samples = int(h5file['nfo']['T'][0, 0])
cnt_signal_shape = (samples, len(wanted_chan_inds))
continuous_signal = np.ones(cnt_signal_shape,
dtype=np.float32) * np.nan
for chan_ind_arr, chan_ind_set in enumerate(wanted_chan_inds):
# + 1 because matlab/this hdf5-naming logic
# has 1-based indexing
# i.e ch1,ch2,....
chan_set_name = 'ch' + str(chan_ind_set + 1)
# first 0 to unpack into vector, before it is 1xN matrix
chan_signal = h5file[chan_set_name][
:].squeeze() # already load into memory
continuous_signal[:, chan_ind_arr] = chan_signal
assert not np.any(
np.isnan(continuous_signal)), "No NaNs expected in signal"
# Assume we cant know channel type here automatically
ch_types = ['misc'] * len(wanted_chan_inds)
info = mne.create_info(ch_names=wanted_sensor_names, sfreq=fs,
ch_types=ch_types)
cnt = mne.io.RawArray(continuous_signal.T, info)
return cnt
def _determine_sensors(self):
all_sensor_names = self.get_all_sensors(self.filename, pattern=None)
if self.load_sensor_names is None:
# if no sensor names given, take all EEG-chans
eeg_sensor_names = all_sensor_names
eeg_sensor_names = filter(lambda s: not s.startswith('BIP'),
eeg_sensor_names)
eeg_sensor_names = filter(lambda s: not s.startswith('E'),
eeg_sensor_names)
eeg_sensor_names = filter(lambda s: not s.startswith('Microphone'),
eeg_sensor_names)
eeg_sensor_names = filter(lambda s: not s.startswith('Breath'),
eeg_sensor_names)
eeg_sensor_names = filter(lambda s: not s.startswith('GSR'),
eeg_sensor_names)
eeg_sensor_names = list(eeg_sensor_names)
assert (len(eeg_sensor_names) == 128 or
len(eeg_sensor_names) == 64 or
len(eeg_sensor_names) == 32 or
len(eeg_sensor_names) == 16), (
"Recheck this code if you have different sensors...")
self.load_sensor_names = eeg_sensor_names
chan_inds = self._determine_chan_inds(all_sensor_names,
self.load_sensor_names)
return chan_inds, self.load_sensor_names
def _determine_samplingrate(self):
with h5py.File(self.filename, 'r') as h5file:
fs = h5file['nfo']['fs'][0, 0]
assert isinstance(fs, int) or fs.is_integer()
fs = int(fs)
return fs
@staticmethod
def _determine_chan_inds(all_sensor_names, sensor_names):
assert sensor_names is not None
chan_inds = [all_sensor_names.index(s) for s in sensor_names]
assert len(chan_inds) == len(sensor_names), ("All"
"sensors should be there.")
assert len(set(chan_inds)) == len(chan_inds), ("No"
"duplicated sensors wanted.")
return chan_inds
@staticmethod
def get_all_sensors(filename, pattern=None):
"""
Get all sensors that exist in the given file.
Parameters
----------
filename: str
pattern: str, optional
Only return those sensor names that match the given pattern.
Returns
-------
sensor_names: list of str
Sensor names that match the pattern or all sensor names in the file.
"""
with h5py.File(filename, 'r') as h5file:
clab_set = h5file['nfo']['clab'][:].squeeze()
all_sensor_names = [''.join(chr(c) for c in h5file[obj_ref]) for
obj_ref in clab_set]
if pattern is not None:
all_sensor_names = filter(
lambda sname: re.search(pattern, sname),
all_sensor_names)
return all_sensor_names
def _add_markers(self, cnt):
with h5py.File(self.filename, 'r') as h5file:
event_times_in_ms = h5file['mrk']['time'][:].squeeze()
event_classes = h5file['mrk']['event']['desc'][:].squeeze().astype(np.int64)
# Check whether class names known and correct order
class_name_set = h5file['nfo']['className'][:].squeeze()
all_class_names = [''.join(chr(c) for c in h5file[obj_ref])
for obj_ref in class_name_set]
if self.check_class_names:
_check_class_names(
all_class_names, event_times_in_ms, event_classes,)
event_times_in_samples = event_times_in_ms * cnt.info['sfreq'] / 1000.0
event_times_in_samples = np.uint32(np.round(event_times_in_samples))
# Check if there are markers at the same time
previous_i_sample = -1
for i_event, (i_sample, id_class) in enumerate(
zip(event_times_in_samples, event_classes)):
if i_sample == previous_i_sample:
log.warning("Same sample has at least two markers.\n"
"{:d}: ({:.0f} and {:.0f}).\n".format(i_sample,
event_classes[
i_event - 1],
event_classes[
i_event]) +
"Marker codes will be summed.")
previous_i_sample = i_sample
# Now create stim chan
stim_chan = np.zeros_like(cnt.get_data()[0])
for i_sample, id_class in zip(event_times_in_samples, event_classes):
stim_chan[i_sample] += id_class
info = mne.create_info(ch_names=['STI 014'],
sfreq=cnt.info['sfreq'],
ch_types=['stim'])
stim_cnt = mne.io.RawArray(stim_chan[None], info, verbose='WARNING')
cnt = cnt.add_channels([stim_cnt])
event_arr = [event_times_in_samples,
[0] * len(event_times_in_samples),
event_classes]
cnt.info['events'] = np.array(event_arr).T
return cnt
def _check_class_names(all_class_names, event_times_in_ms, event_classes, ):
"""
Checks if the class names are part of some known class names used in
translational neurotechnology lab, AG Ball, Freiburg.
Logs warning in case class names are not known.
Parameters
----------
all_class_names: list of str
event_times_in_ms: list of number
event_classes: list of number
"""
if all_class_names == ['Right Hand', 'Left Hand', 'Rest', 'Feet']:
pass
elif ((all_class_names == ['1', '10', '11', '111', '12', '13',
'150',
'2', '20', '22', '3', '30', '33', '4',
'40', '44', '99']) or
(all_class_names == ['1', '10', '11', '12', '13', '150',
'2', '20', '22', '3', '30', '33',
'4', '40', '44', '99']) or
(all_class_names == ['1', '2', '3', '4'])):
pass # Semantic classes
elif all_class_names == ['Rest', 'Feet', 'Left Hand', 'Right Hand']:
# Have to swap from
# ['Rest', 'Feet', 'Left Hand', 'Right Hand']
# to
# ['Right Hand', 'Left Hand', 'Rest', 'Feet']
right_mask = event_classes == 4
left_mask = event_classes == 3
rest_mask = event_classes == 1
feet_mask = event_classes == 2
event_classes[right_mask] = 1
event_classes[left_mask] = 2
event_classes[rest_mask] = 3
event_classes[feet_mask] = 4
log.warn("Swapped class names {:s}... might cause problems...".format(
all_class_names))
elif all_class_names == ['Right Hand Start', 'Left Hand Start',
'Rest Start', 'Feet Start',
'Right Hand End',
'Left Hand End', 'Rest End', 'Feet End']:
pass
elif all_class_names == ['Right Hand', 'Left Hand', 'Rest',
'Feet', 'Face', 'Navigation', 'Music',
'Rotation',
'Subtraction', 'Words']:
pass # robot hall 10 class decoding
elif (all_class_names == ['RightHand', 'Feet', 'Rotation', 'Words',
'\x00\x00', '\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'RightHand_End', '\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'Feet_End', '\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'Rotation_End', '\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'Words_End'] or
all_class_names == ['RightHand', 'Feet', 'Rotation',
'Words',
'Rest', '\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'RightHand_End', '\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00',
'\x00\x00', 'Feet_End',
'\x00\x00', '\x00\x00',
'\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00',
'\x00\x00', 'Rotation_End',
'\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00',
'\x00\x00', '\x00\x00',
'Words_End', '\x00\x00',
'\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00', '\x00\x00',
'\x00\x00',
'\x00\x00', '\x00\x00',
'Rest_End']):
pass # weird stuff when we recorded cursor in robot hall
# on 2016-09-14 and 2016-09-16 :D
elif (all_class_names == ['0004', '0016', '0032', '0056', '0064',
'0088', '0095', '0120']):
pass
elif (all_class_names == ['0004', '0056', '0088', '0120']):
pass
elif (all_class_names == ['0004', '0016', '0032', '0048', '0056',
'0064', '0080', '0088', '0095', '0120']):
pass
elif (all_class_names == ['0004', '0016', '0056', '0088', '0120',
'__']):
pass
elif (all_class_names == ['0004', '0056', '0088', '0120', '__']):
pass
elif (all_class_names == ['0004', '0032', '0048', '0056', '0064',
'0080', '0088', '0095', '0120', '__']):
pass
elif (all_class_names == ['0004', '0056', '0080', '0088', '0096',
'0120', '__']):
pass
elif (all_class_names == ['0004', '0032', '0056', '0064', '0080',
'0088', '0095', '0120']):
pass
elif (all_class_names == ['0004', '0032', '0048', '0056', '0064',
'0080', '0088', '0095', '0120']):
pass
elif (all_class_names == ['0004', '0016', '0032', '0048', '0056',
'0064', '0080', '0088', '0095', '0096',
'0120']):
pass
elif (all_class_names == ['4', '16', '32', '56', '64', '88', '95',
'120']):
pass
elif (all_class_names == ['4', '56', '88', '120']):
pass
elif (all_class_names == ['4', '16', '32', '48', '56',
'64', '80', '88', '95', '120']):
pass
elif (all_class_names == ['0', '4', '56', '88', '120']):
pass
elif (all_class_names == ['0', '4', '16', '56', '88', '120']):
pass
elif (all_class_names == ['0', '4', '32', '48', '56', '64', '80',
'88', '95', '120']):
pass
elif (all_class_names == ['0', '4', '56', '80', '88', '96', '120']):
pass
elif (all_class_names == ['4', '32', '56', '64', '80', '88', '95',
'120']):
pass
elif (all_class_names == ['One', 'Two', 'Three', 'Four']):
pass
elif (
all_class_names == ['1', '10', '11', '12', '2', '20', '3', '30',
'4', '40']):
pass
elif (
all_class_names == ['1', '10', '12', '13', '2', '20', '3', '30',
'4', '40']):
pass
elif (
all_class_names == ['1', '10', '13', '2', '20', '3', '30', '4',
'40', '99']):
pass
elif (all_class_names == ['1', '10', '11', '14', '18', '20', '21',
'24', '251', '252', '28', '30', '4',
'8']):
pass
elif (all_class_names == ['1', '10', '11', '14', '18', '20', '21',
'24', '252', '253', '28', '30', '4',
'8']):
pass
elif len(event_times_in_ms) == len(all_class_names):
pass # weird neuroone(?) logic where class names have event classes
elif (all_class_names == ['Right_hand_stimulus_onset',
'Feet_stimulus_onset',
'Rotation_stimulus_onset',
'Words_stimulus_onset',
'Right_hand_stimulus_offset',
'Feet_stimulus_offset',
'Rotation_stimulus_offset',
'Words_stimulus_offset']):
pass
else:
# remove this whole if else stuffs?
log.warn("Unknown class names {:s}".format(
all_class_names))
def load_bbci_sets_from_folder(folder, runs='all'):
"""
Load bbci datasets from files in given folder.
Parameters
----------
folder: str
Folder with .BBCI.mat files inside
runs: list of int
If you only want to load specific runs.
Assumes filenames with such kind of part: S001R02 for Run 2.
Tries to match this regex: ``'S[0-9]{3,3}R[0-9]{2,2}_'``.
Returns
-------
"""
bbci_mat_files = sorted(glob(os.path.join(folder, '*.BBCI.mat')))
if runs != 'all':
file_run_numbers = [int(re.search('S[0-9]{3,3}R[0-9]{2,2}_', f).group()[5:7])
for f in bbci_mat_files]
indices = [file_run_numbers.index(num) for num in runs]
wanted_files = np.array(bbci_mat_files)[indices]
else:
wanted_files = bbci_mat_files
cnts = []
for f in wanted_files:
log.info("Loading {:s}".format(f))
cnts.append(BBCIDataset(f).load())
return cnts
+79
Ver Arquivo
@@ -0,0 +1,79 @@
import numpy as np
import mne
from scipy.io import loadmat
class BCICompetition4Set2A(object):
def __init__(self, filename, load_sensor_names=None,
labels_filename=None):
assert load_sensor_names is None
self.__dict__.update(locals())
del self.self
def load(self):
cnt = self.extract_data()
events, artifact_trial_mask = self.extract_events(cnt)
cnt.info['events'] = events
cnt.info['artifact_trial_mask'] = artifact_trial_mask
return cnt
def extract_data(self):
raw_edf = mne.io.read_raw_edf(self.filename, stim_channel='auto')
raw_edf.load_data()
# correct nan values
data = raw_edf.get_data()
# do not correct stimulus channel
assert raw_edf.ch_names[-1] == 'STI 014'
for i_chan in range(data.shape[0] - 1):
# first set to nan, than replace nans by nanmean.
this_chan = data[i_chan]
data[i_chan] = np.where(this_chan == np.min(this_chan),
np.nan, this_chan)
mask = np.isnan(data[i_chan])
chan_mean = np.nanmean(data[i_chan])
data[i_chan, mask] = chan_mean
gdf_events = raw_edf.find_edf_events()
raw_edf = mne.io.RawArray(data, raw_edf.info, verbose='WARNING')
# remember gdf events
raw_edf.info['gdf_events'] = gdf_events
return raw_edf
def extract_events(self, raw_edf):
# all events
events = np.array(list(zip(
raw_edf.info['gdf_events'][1],
raw_edf.info['gdf_events'][2])))
# only trial onset events
trial_mask = [ev_code in [769, 770, 771, 772, 783]
for ev_code in events[:,1]]
trial_events = events[trial_mask]
assert (len(trial_events) == 288), (
"Got {:d} markers".format(len(trial_events)))
# event markers 769,770 -> 1,2
trial_events[:, 1] = trial_events[:, 1] - 768
# possibly overwrite with markers from labels file
if self.labels_filename is not None:
classes = loadmat(self.labels_filename)['classlabel'].squeeze()
trial_events[:, 1] = classes
unique_classes = np.unique(trial_events[:, 1])
assert np.array_equal([1, 2, 3 ,4], unique_classes), (
"Expect 1,2,3,4 as class labels, got {:s}".format(
str(unique_classes))
)
# now also create 0-1 vector for rejected trials
trial_start_events = events[events[:, 1] == 768]
assert len(trial_start_events) == len(trial_events)
artifact_trial_mask = np.zeros(len(trial_events), dtype=np.uint8)
artifact_events = events[events[:, 1] == 1023]
for artifact_time in artifact_events[:, 0]:
i_trial = trial_start_events[:, 0].tolist().index(artifact_time)
artifact_trial_mask[i_trial] = 1
# mne expects events with 3 ints each:
events = np.zeros((len(trial_events), 3), dtype=np.int32)
events[:,0] = trial_events[:,0]
events[:,2] = trial_events[:,1]
return events, artifact_trial_mask
+45
Ver Arquivo
@@ -0,0 +1,45 @@
from abc import ABC, abstractmethod
class LazyDataset(ABC):
""" Class implementing an abstract lazy data set. Custom lazy data sets
have to override file_paths, X and y as well as the load_lazy function to
load trials or crops. """
def __init__(self):
self.file_paths = "Not implemented: a list of all file paths"
self.X = ("Not implemented: a list of empty ndarrays with number of "
"samples as second dimension")
self.y = "Not implemented: a list of all targets"
@abstractmethod
def load_lazy(self, path, start_i, stop_i):
""" Loading procedure that gets a file path, start and stop indices.
Is supposed to return a trial / crop together with its target
Parameters
----------
path: str
file path
start_i: int
start index of signal crop
stop_i: int
stop index of signal crop
"""
raise NotImplementedError
def __len__(self):
return len(self.X)
def __getitem__(self, idx):
""" Returns a two-tuple of example, label """
try:
idx, start_i, stop_i = idx
except (TypeError, ValueError):
start_i = 0
stop_i = None
file_path = self.file_paths[idx]
x = self.load_lazy(file_path, start_i, stop_i)
if x.ndim == 2:
x = x[:, :, None]
return x, self.y[idx]
+41
Ver Arquivo
@@ -0,0 +1,41 @@
import logging
from braindecode.mne_ext.signalproc import resample_cnt, \
concatenate_raws_with_events
log = logging.getLogger(__name__)
class MultipleSetLoader(object):
"""
Class to load multiple sets.
Resamples individual sets down to lowest common sampling frequency,
if necessary.
Parameters
----------
set_loaders: object with load method: () -> MNE Raw object
The individual set loaders.
"""
def __init__(self, set_loaders):
self.set_loaders = set_loaders
def load(self):
cnt = self.set_loaders[0].load()
for loader in self.set_loaders[1:]:
next_cnt = loader.load()
# always sample down to lowest common denominator
if next_cnt.fs > cnt.fs:
log.warning("Next set has larger sampling rate ({:d}) "
"than before ({:d}), resampling next set".format(
next_cnt.fs, cnt.fs))
next_cnt = resample_cnt(next_cnt, cnt.fs)
if next_cnt.fs < cnt.fs:
log.warning("Next set has smaller sampling rate ({:d}) "
"than before ({:d}), resampling set so far".format(
next_cnt.fs, cnt.fs))
cnt = resample_cnt(cnt, next_cnt.fs)
cnt = concatenate_raws_with_events(cnt, next_cnt)
return cnt
+223
Ver Arquivo
@@ -0,0 +1,223 @@
import numpy as np
import math
CHANNEL_10_20_APPROX = ('angle',
('Fpz',(0.000, 4.000)),
('Fp1',(-3.500, 3.500)),
('Fp2',(3.500, 3.500)),
('AFp3h',(-1.000, 3.500)),
('AFp4h',(1.000, 3.500)),
('AF7',(-4.000, 3.000)),
('AF3',(-2.000, 3.000)),
('AFz',(0.000, 3.000)),
('AF4',(2.000, 3.000)),
('AF8',(4.000, 3.000)),
('AFF5h',(-2.500, 2.500)),
('AFF1',(-0.500, 2.500)),
('AFF2',(0.500, 2.500)),
('AFF6h',(2.500, 2.500)),
('F7',(-4.000, 2.000)),
('F5',(-3.000, 2.000)),
('F3',(-2.000, 2.000)),
('F1',(-1.000, 2.000)),
('Fz',(0.000, 2.000)),
('F2',(1.000, 2.000)),
('F4',(2.000, 2.000)),
('F6',(3.000, 2.000)),
('F8',(4.000, 2.000)),
('FFT7h',(-3.500, 1.500)),
('FFC5h',(-2.500, 1.500)),
('FFC3h',(-1.500, 1.500)),
('FFC1h',(-0.500, 1.500)),
('FFC2h',(0.500, 1.500)),
('FFC4h',(1.500, 1.500)),
('FFC6h',(2.500, 1.500)),
('FFT8h',(3.500, 1.500)),
('FT9',(-5.000, 1.000)),
('FT7',(-4.000, 1.000)),
('FC5',(-3.000, 1.000)),
('FC3',(-2.000, 1.000)),
('FC1',(-1.000, 1.000)),
('FCz',(0.000, 1.000)),
('FC2',(1.000, 1.000)),
('FC4',(2.000, 1.000)),
('FC6',(3.000, 1.000)),
('FT8',(4.000, 1.000)),
('FT10',(5.000, 1.000)),
('FTT9h',(-4.500, 0.500)),
('FTT7h',(-3.500, 0.500)),
('FCC5h',(-2.500, 0.500)),
('FCC3h',(-1.500, 0.500)),
('FCC1h',(-0.500, 0.500)),
('FCC2h',(0.500, 0.500)),
('FCC4h',(1.500, 0.500)),
('FCC6h',(2.500, 0.500)),
('FTT8h',(3.500, 0.500)),
('FTT10h',(4.500, 0.500)),
('M1',(-5.000, 0.000)),
# notsure if correct:
('T9', (-4.500, 0.000)),
('T7',(-4.000, 0.000)),
('C5',(-3.000, 0.000)),
('C3',(-2.000, 0.000)),
('C1',(-1.000, 0.000)),
('Cz',(0.000, 0.000)),
('C2',(1.000, 0.000)),
('C4',(2.000, 0.000)),
('C6',(3.000, 0.000)),
('T8',(4.000, 0.000)),
('T10', (4.500, 0.000)),
('M2',(5.000, 0.000)),
('TTP7h',(-3.500, -0.500)),
('CCP5h',(-2.500, -0.500)),
('CCP3h',(-1.500, -0.500)),
('CCP1h',(-0.500, -0.500)),
('CCP2h',(0.500, -0.500)),
('CCP4h',(1.500, -0.500)),
('CCP6h',(2.500, -0.500)),
('TTP8h',(3.500, -0.500)),
('TP7',(-4.000, -1.000)),
('CP5',(-3.000, -1.000)),
('CP3',(-2.000, -1.000)),
('CP1',(-1.000, -1.000)),
('CPz',(0.000, -1.000)),
('CP2',(1.000, -1.000)),
('CP4',(2.000, -1.000)),
('CP6',(3.000, -1.000)),
('TP8',(4.000, -1.000)),
('TPP9h',(-4.500, -1.500)),
('TPP7h',(-3.500, -1.500)),
('CPP5h',(-2.500, -1.500)),
('CPP3h',(-1.500, -1.500)),
('CPP1h',(-0.500, -1.500)),
('CPP2h',(0.500, -1.500)),
('CPP4h',(1.500, -1.500)),
('CPP6h',(2.500, -1.500)),
('TPP8h',(3.500, -1.500)),
('TPP10h',(4.500, -1.500)),
('P9',(-5.000, -2.000)),
('P7',(-4.000, -2.000)),
('P5',(-3.000, -2.000)),
('P3',(-2.000, -2.000)),
('P1',(-1.000, -2.000)),
('Pz',(0.000, -2.000)),
('P2',(1.000, -2.000)),
('P4',(2.000, -2.000)),
('P6',(3.000, -2.000)),
('P8',(4.000, -2.000)),
('P10',(5.000, -2.000)),
('PPO9h',(-4.500, -2.500)),
('PPO5h',(-3.000, -2.500)),
('PPO1',(-0.650, -2.500)),
('PPO2',(0.650, -2.500)),
('PPO6h',(3.000, -2.500)),
('PPO10h',(4.500, -2.500)),
('PO9',(-5.000, -3.000)),
('PO7',(-4.000, -3.000)),
('PO5',(-3.000, -3.000)),
('PO3',(-2.000, -3.000)),
('PO1',(-1.000, -3.000)),
('POz',(0.000, -3.000)),
('PO2',(1.000, -3.000)),
('PO4',(2.000, -3.000)),
('PO6',(3.000, -3.000)),
('PO8',(4.000, -3.000)),
('PO10',(5.000, -3.000)),
('POO9h',(-4.500, -3.250)),
('POO3h',(-2.000, -3.250)),
('POO4h',(2.000, -3.250)),
('POO10h',(4.500, -3.250)),
('O1',(-2.500, -3.750)),
('Oz',(0.000, -3.750)),
('O2',(2.500, -3.750)),
('OI1h',(1.500, -4.250)),
('OI2h',(-1.500, -4.250)),
('I1',(1.000, -4.500)),
('Iz',(0.000, -4.500)),
('I2',(-1.000, -4.500)),
)
def get_channelpos(channame, chan_pos_list):
if chan_pos_list[0] == 'angle':
return get_channelpos_from_angle(channame, chan_pos_list[1:])
elif chan_pos_list[0] == 'cartesian':
channame = channame.lower()
for name, coords in chan_pos_list[1:]:
if name.lower() == channame:
return coords[0], coords[1]
return None
else:
raise ValueError("Unknown first element "
"{:s} (should be type of positions)".format(
chan_pos_list[0]))
def get_channelpos_from_angle(channame, chan_pos_list=CHANNEL_10_20_APPROX):
"""Return the x/y position of a channel.
This method calculates the stereographic projection of a channel
from ``CHANNEL_10_20``, suitable for a scalp plot.
Parameters
----------
channame : str
Name of the channel, the search is case insensitive.
chan_pos_list=CHANNEL_10_20_APPROX,
interpolation='bilinear'
Returns
-------
x, y : float or None
The projected point on the plane if the point is known,
otherwise ``None``
Examples
--------
>>> plot.get_channelpos_from_angle('C2')
(0.1720792096741632, 0.0)
>>> # the channels are case insensitive
>>> plot.get_channelpos_from_angle('c2')
(0.1720792096741632, 0.0)
>>> # lookup for an invalid channel
>>> plot.get_channelpos_from_angle('foo')
None
"""
channame = channame.lower()
for i in chan_pos_list:
if i[0].lower() == channame:
# convert the 90/4th angular position into x, y, z
p = i[1]
x, y = _convert_2d_angle_to_2d_coord(*p)
return x, y
return None
def _convert_2d_angle_to_2d_coord(a,b):
# convert the 90/4th angular position into x, y, z
ea, eb = a * (90 / 4), b * (90 / 4)
ea = ea * math.pi / 180
eb = eb * math.pi / 180
x = math.sin(ea) * math.cos(eb)
y = math.sin(eb)
z = math.cos(ea) * math.cos(eb)
# Calculate the stereographic projection.
# Given a unit sphere with radius ``r = 1`` and center at
# the origin. Project the point ``p = (x, y, z)`` from the
# sphere's South pole (0, 0, -1) on a plane on the sphere's
# North pole (0, 0, 1).
#
# The formula is:
#
# P' = P * (2r / (r + z))
#
# We changed the values to move the point of projection
# further below the south pole
mu = 1 / (1.3 + z)
x *= mu
y *= mu
return x, y
+3
Ver Arquivo
@@ -0,0 +1,3 @@
"""
Utilities for data manipulation.
"""
+330
Ver Arquivo
@@ -0,0 +1,330 @@
import numpy as np
from numpy.random import RandomState
def get_balanced_batches(n_trials, rng, shuffle, n_batches=None,
batch_size=None):
"""Create indices for batches balanced in size
(batches will have maximum size difference of 1).
Supply either batch size or number of batches. Resulting batches
will not have the given batch size but rather the next largest batch size
that allows to split the set into balanced batches (maximum size difference 1).
Parameters
----------
n_trials : int
Size of set.
rng : RandomState
shuffle : bool
Whether to shuffle indices before splitting set.
n_batches : int, optional
batch_size : int, optional
Returns
-------
"""
assert batch_size is not None or n_batches is not None
if n_batches is None:
n_batches = int(np.round(n_trials / float(batch_size)))
if n_batches > 0:
min_batch_size = n_trials // n_batches
n_batches_with_extra_trial = n_trials % n_batches
else:
n_batches = 1
min_batch_size = n_trials
n_batches_with_extra_trial = 0
assert n_batches_with_extra_trial < n_batches
all_inds = np.array(range(n_trials))
if shuffle:
rng.shuffle(all_inds)
i_start_trial = 0
i_stop_trial = 0
batches = []
for i_batch in range(n_batches):
i_stop_trial += min_batch_size
if i_batch < n_batches_with_extra_trial:
i_stop_trial += 1
batch_inds = all_inds[range(i_start_trial, i_stop_trial)]
batches.append(batch_inds)
i_start_trial = i_stop_trial
assert i_start_trial == n_trials
return batches
class BalancedBatchSizeIterator(object):
"""
Create batches of balanced size.
Parameters
----------
batch_size: int
Resulting batches will not necessarily have the given batch size
but rather the next largest batch size that allows to split the set into
balanced batches (maximum size difference 1).
seed: int
Random seed for initialization of `numpy.RandomState` random generator
that shuffles the batches.
"""
def __init__(self, batch_size, seed=328774):
self.batch_size = batch_size
self.seed = seed
self.rng = RandomState(self.seed)
def get_batches(self, dataset, shuffle):
n_trials = dataset.X.shape[0]
batches = get_balanced_batches(n_trials,
batch_size=self.batch_size,
rng=self.rng,
shuffle=shuffle)
for batch_inds in batches:
batch_X = dataset.X[batch_inds]
batch_y = dataset.y[batch_inds]
# add empty fourth dimension if necessary
if batch_X.ndim == 3:
batch_X = batch_X[:, :, :, None]
yield (batch_X, batch_y)
def reset_rng(self):
self.rng = RandomState(self.seed)
class ClassBalancedBatchSizeIterator(object):
"""
Create batches of balanced size, that are also balanced per class, i.e.
each class should be sampled roughly with the same frequency during
training.
Parameters
----------
batch_size: int
Resulting batches will not necessarily have the given batch size
but rather the next largest batch size that allows to split the set into
balanced batches (maximum size difference 1).
seed: int
Random seed for initialization of `numpy.RandomState` random generator
that shuffles the batches.
"""
def __init__(self, batch_size, seed=328774):
self.batch_size = batch_size
self.seed = seed
self.rng = RandomState(self.seed)
def get_batches(self, dataset, shuffle):
n_trials = dataset.X.shape[0]
batches = get_balanced_batches(n_trials,
batch_size=self.batch_size,
rng=self.rng,
shuffle=shuffle)
if shuffle:
n_classes = np.max(dataset.y) + 1
class_probabilities = [np.mean(dataset.y == i_class)
for i_class in range(n_classes)]
class_probabilities = np.array(class_probabilities)
# choose trials in inverse probability of class
trial_probabilities = [1.0 / class_probabilities[y]
for y in dataset.y]
trial_probabilities = np.array(trial_probabilities) / np.sum(
trial_probabilities)
i_trial_to_balanced = self.rng.choice(n_trials, n_trials,
p=trial_probabilities)
for batch_inds in batches:
if shuffle:
batch_inds = [i_trial_to_balanced[i_trial] for i_trial in
batch_inds]
batch_X = dataset.X[batch_inds]
batch_y = dataset.y[batch_inds]
# add empty fourth dimension if necessary
if batch_X.ndim == 3:
batch_X = batch_X[:, :, :, None]
yield (batch_X, batch_y)
def reset_rng(self):
self.rng = RandomState(self.seed)
class CropsFromTrialsIterator(object):
"""
Iterator sampling crops out the trials so that each sample
(after receptive size of the ConvNet) in each trial is predicted.
Predicting the given input batches can lead to some samples
being predicted multiple times, if the receptive field size
(input_time_length - n_preds_per_input + 1) is not a divisor
of the trial length. :func:`compute_preds_per_trial_from_crops`
can help with removing the overlapped predictions again for evaluation.
Parameters
----------
batch_size: int
input_time_length: int
Input time length of the ConvNet, determines size of batches in
3rd dimension.
n_preds_per_input: int
Number of predictions ConvNet makes per one input. Can be computed
by making a forward pass with the given input time length, the
output length in 3rd dimension is n_preds_per_input.
seed: int
Random seed for initialization of `numpy.RandomState` random generator
that shuffles the batches.
See Also
--------
braindecode.experiments.monitors.compute_preds_per_trial_from_crops : Assigns predictions to trials, removes overlaps.
"""
def __init__(self, batch_size, input_time_length, n_preds_per_input,
seed=(2017, 6, 28)):
self.batch_size = batch_size
self.input_time_length = input_time_length
self.n_preds_per_input = n_preds_per_input
self.seed = seed
self.rng = RandomState(self.seed)
def reset_rng(self):
self.rng = RandomState(self.seed)
def get_batches(self, dataset, shuffle):
# start always at first predictable sample, so
# start at end of receptive field
n_receptive_field = self.input_time_length - self.n_preds_per_input + 1
i_trial_starts = [n_receptive_field - 1] * len(dataset.X)
i_trial_stops = [trial.shape[1] for trial in dataset.X]
# Check whether input lengths ok
input_lens = i_trial_stops
for i_trial, input_len in enumerate(input_lens):
assert input_len >= self.input_time_length, (
"Input length {:d} of trial {:d} is smaller than the "
"input time length {:d}".format(input_len, i_trial,
self.input_time_length))
start_stop_blocks_per_trial = _compute_start_stop_block_inds(
i_trial_starts, i_trial_stops, self.input_time_length,
self.n_preds_per_input, check_preds_smaller_trial_len=True)
for i_trial, trial_blocks in enumerate(start_stop_blocks_per_trial):
assert trial_blocks[0][0] == 0
assert trial_blocks[-1][1] == i_trial_stops[i_trial]
return self._yield_block_batches(dataset.X, dataset.y,
start_stop_blocks_per_trial,
shuffle=shuffle)
def _yield_block_batches(self, X, y, start_stop_blocks_per_trial, shuffle):
# add trial nr to start stop blocks and flatten at same time
i_trial_start_stop_block = [(i_trial, start, stop)
for i_trial, block in
enumerate(start_stop_blocks_per_trial)
for (start, stop) in block]
i_trial_start_stop_block = np.array(i_trial_start_stop_block)
if i_trial_start_stop_block.ndim == 1:
i_trial_start_stop_block = i_trial_start_stop_block[None,:]
blocks_per_batch = get_balanced_batches(len(i_trial_start_stop_block),
batch_size=self.batch_size,
rng=self.rng,
shuffle=shuffle)
for i_blocks in blocks_per_batch:
start_stop_blocks = i_trial_start_stop_block[i_blocks]
batch = _create_batch_from_i_trial_start_stop_blocks(
X, y, start_stop_blocks, self.n_preds_per_input)
yield batch
def _compute_start_stop_block_inds(i_trial_starts, i_trial_stops,
input_time_length, n_preds_per_input,
check_preds_smaller_trial_len):
"""
Compute start stop block inds for all trials
Parameters
----------
i_trial_starts: 1darray/list of int
Indices of first samples to predict(!).
i_trial_stops: 1darray/list of int
Indices one past last sample to predict.
input_time_length: int
n_preds_per_input: int
check_preds_smaller_trial_len: bool
Check whether predictions fit inside trial
Returns
-------
start_stop_blocks_per_trial: list of list of (int, int)
Per trial, a list of 2-tuples indicating start and stop index
of the inputs needed to predict entire trial.
"""
# create start stop indices for all batches still 2d trial -> start stop
start_stop_blocks_per_trial = []
for i_trial in range(len(i_trial_starts)):
i_trial_start = i_trial_starts[i_trial]
i_trial_stop = i_trial_stops[i_trial]
start_stop_blocks = _get_start_stop_blocks_for_trial(
i_trial_start, i_trial_stop, input_time_length,
n_preds_per_input)
if check_preds_smaller_trial_len:
# check that block is correct, all predicted samples together
# should be the trial samples
all_predicted_samples = [
range(stop - n_preds_per_input,
stop) for _,stop in start_stop_blocks]
# this check takes about 50 ms in performance test
# whereas loop itself takes only 5 ms.. deactivate it if not necessary
assert np.array_equal(
range(i_trial_starts[i_trial], i_trial_stops[i_trial]),
np.unique(np.concatenate(all_predicted_samples)))
start_stop_blocks_per_trial.append(start_stop_blocks)
return start_stop_blocks_per_trial
def _get_start_stop_blocks_for_trial(i_trial_start, i_trial_stop,
input_time_length, n_preds_per_input):
"""
Compute start stop block inds for one trial
Parameters
----------
i_trial_start: int
Index of first sample to predict(!).
i_trial_stops: 1daray/list of int
Index one past last sample to predict.
input_time_length: int
n_preds_per_input: int
Returns
-------
start_stop_blocks: list of (int, int)
A list of 2-tuples indicating start and stop index
of the inputs needed to predict entire trial.
"""
start_stop_blocks = []
i_window_stop = i_trial_start # now when we add sample preds in loop,
# first sample of trial corresponds to first prediction
while i_window_stop < i_trial_stop:
i_window_stop += n_preds_per_input
i_adjusted_stop = min(i_window_stop, i_trial_stop)
i_window_start = i_adjusted_stop - input_time_length
start_stop_blocks.append((i_window_start, i_adjusted_stop))
return start_stop_blocks
def _create_batch_from_i_trial_start_stop_blocks(X, y, i_trial_start_stop_block,
n_preds_per_input=None):
Xs = []
ys = []
for i_trial, start, stop in i_trial_start_stop_block:
Xs.append(X[i_trial][:,start:stop])
if not hasattr(y[i_trial], '__len__'):
ys.append(y[i_trial])
else:
assert n_preds_per_input is not None
ys.append(y[i_trial][stop-n_preds_per_input:stop])
batch_X = np.array(Xs)
batch_y = np.array(ys)
# add empty fourth dimension if necessary
if batch_X.ndim == 3:
batch_X = batch_X[:,:,:, None]
return batch_X, batch_y
+123
Ver Arquivo
@@ -0,0 +1,123 @@
from torch.utils.data import DataLoader
from numpy.random import RandomState
from functools import partial
import torch as th
import numpy as np
from braindecode.datautil.iterators import _compute_start_stop_block_inds, \
get_balanced_batches
def custom_collate(batch, rng_state=None):
""" Puts each data field into a ndarray with outer dimension batch size.
Taken and adapted from pytorch to return ndarrays instead of tensors:
https://pytorch.org/docs/0.4.1/_modules/torch/utils/data/dataloader.html
this function is needed, since tensors require more system RAM which we
want to decrease using lazy loading
"""
elem_type = type(batch[0])
if elem_type.__module__ == 'numpy':
if rng_state is not None:
th.random.set_rng_state(rng_state)
return np.stack([b for b in batch], 0)
elif isinstance(batch[0], tuple):
transposed = zip(*batch)
return [custom_collate(samples, rng_state) for samples in transposed]
class LazyCropsFromTrialsIterator(object):
""" This is basically the same code as CropsFromTrialsIterator adapted to
work with lazy datasets. It uses pytorch DataLoader to load recordings
from hdd with multiple threads when the data is actually needed. Reduces
overall RAM requirements.
Parameters
----------
input_time_length: int
Input time length of the ConvNet, determines size of batches in
3rd dimension.
n_preds_per_input: int
Number of predictions ConvNet makes per one input. Can be computed
by making a forward pass with the given input time length, the
output length in 3rd dimension is n_preds_per_input.
batch_size: int
seed: int
Random seed for initialization of `numpy.RandomState` random generator
that shuffles the batches.
num_workers: int
The number of workers to load crops in parallel
collate_fn: func
Merges a list of samples to form a mini-batch
check_preds_smaller_trial_len: bool
Checking validity of predictions and trial lengths. Disable to decrease
runtime.
"""
def __init__(self, input_time_length, n_preds_per_input, batch_size,
seed=328774, num_workers=0, collate_fn=custom_collate,
check_preds_smaller_trial_len=True,
reset_rng_after_each_batch=False):
self.batch_size = batch_size
self.seed = seed
self.rng = RandomState(self.seed)
self.input_time_length = input_time_length
self.n_preds_per_input = n_preds_per_input
self.num_workers = num_workers
self.collate_fn = collate_fn
self.check_preds_smaller_trial_len = check_preds_smaller_trial_len
self.reset_rng_after_each_batch = reset_rng_after_each_batch
def reset_rng(self):
self.rng = RandomState(self.seed)
def get_batches(self, dataset, shuffle):
# in pytorch 1.0.0, internal random state is changed when using a
# DataLoader, even if num_workers is 0. this did not happen in torch
# 0.4.0 and breaks our equality tests of traditional and lazy loading
# therefore, in the collate function of every batch, reset to the
# random state before iterating through batches.
if self.reset_rng_after_each_batch:
random_state = th.random.get_rng_state()
collate_fn = partial(self.collate_fn, rng_state=random_state)
else:
collate_fn = partial(self.collate_fn, rng_state=None)
batch_indeces = self._get_batch_indeces(dataset=dataset,
shuffle=shuffle)
data_loader = DataLoader(dataset=dataset, batch_sampler=batch_indeces,
num_workers=self.num_workers,
pin_memory=False, collate_fn=collate_fn)
return data_loader
def _get_batch_indeces(self, dataset, shuffle):
# start always at first predictable sample, so
# start at end of receptive field
n_receptive_field = self.input_time_length - self.n_preds_per_input + 1
i_trial_starts = [n_receptive_field - 1] * len(dataset.X)
i_trial_stops = [trial.shape[1] for trial in dataset.X]
# Check whether input lengths ok
input_lens = i_trial_stops
for i_trial, input_len in enumerate(input_lens):
assert input_len >= self.input_time_length, (
"Input length {:d} of trial {:d} is smaller than the "
"input time length {:d}".format(input_len, i_trial,
self.input_time_length))
start_stop_blocks_per_trial = _compute_start_stop_block_inds(
i_trial_starts, i_trial_stops, self.input_time_length,
self.n_preds_per_input,
check_preds_smaller_trial_len=self.check_preds_smaller_trial_len)
for i_trial, trial_blocks in enumerate(start_stop_blocks_per_trial):
assert trial_blocks[0][0] == 0
assert trial_blocks[-1][1] == i_trial_stops[i_trial]
i_trial_start_stop_block = np.array([
(i_trial, start, stop) for i_trial, block in
enumerate(start_stop_blocks_per_trial) for start, stop in block])
batches = get_balanced_batches(
n_trials=len(i_trial_start_stop_block), rng=self.rng,
shuffle=shuffle, batch_size=self.batch_size)
return [i_trial_start_stop_block[batch_ind] for batch_ind in batches]
+38
Ver Arquivo
@@ -0,0 +1,38 @@
class SignalAndTarget(object):
"""
Simple data container class.
Parameters
----------
X: 3darray or list of 2darrays
The input signal per trial.
y: 1darray or list
Labels for each trial.
"""
def __init__(self, X, y):
assert len(X) == len(y)
self.X = X
self.y = y
def apply_to_X_y(fn, *sets):
"""
Apply a function to all `X` and `y` attributes of all given sets.
Applies function to list of X arrays and to list of y arrays separately.
Parameters
----------
fn: function
Function to apply
sets: :class:`.SignalAndTarget` objects
Returns
-------
result_set: :class:`.SignalAndTarget`
Dataset with X and y as the result of the
application of the function.
"""
X = fn(*[s.X for s in sets])
y = fn(*[s.y for s in sets])
return SignalAndTarget(X,y)
+222
Ver Arquivo
@@ -0,0 +1,222 @@
import logging
import pandas as pd
import numpy as np
import scipy
import scipy.signal
log = logging.getLogger(__name__)
def exponential_running_standardize(data, factor_new=0.001,
init_block_size=None, eps=1e-4):
"""
Perform exponential running standardization.
Compute the exponental running mean :math:`m_t` at time `t` as
:math:`m_t=\mathrm{factornew} \cdot mean(x_t) + (1 - \mathrm{factornew}) \cdot m_{t-1}`.
Then, compute exponential running variance :math:`v_t` at time `t` as
:math:`v_t=\mathrm{factornew} \cdot (m_t - x_t)^2 + (1 - \mathrm{factornew}) \cdot v_{t-1}`.
Finally, standardize the data point :math:`x_t` at time `t` as:
:math:`x'_t=(x_t - m_t) / max(\sqrt{v_t}, eps)`.
Parameters
----------
data: 2darray (time, channels)
factor_new: float
init_block_size: int
Standardize data before to this index with regular standardization.
eps: float
Stabilizer for division by zero variance.
Returns
-------
standardized: 2darray (time, channels)
Standardized data.
"""
df = pd.DataFrame(data)
meaned = df.ewm(alpha=factor_new).mean()
demeaned = df - meaned
squared = demeaned * demeaned
square_ewmed = squared.ewm(alpha=factor_new).mean()
standardized = demeaned / np.maximum(eps, np.sqrt(np.array(square_ewmed)))
standardized = np.array(standardized)
if init_block_size is not None:
other_axis = tuple(range(1, len(data.shape)))
init_mean = np.mean(data[0:init_block_size], axis=other_axis,
keepdims=True)
init_std = np.std(data[0:init_block_size], axis=other_axis,
keepdims=True)
init_block_standardized = (data[0:init_block_size] - init_mean) / \
np.maximum(eps, init_std)
standardized[0:init_block_size] = init_block_standardized
return standardized
def exponential_running_demean(data, factor_new=0.001, init_block_size=None):
"""
Perform exponential running demeanining.
Compute the exponental running mean :math:`m_t` at time `t` as
:math:`m_t=\mathrm{factornew} \cdot mean(x_t) + (1 - \mathrm{factornew}) \cdot m_{t-1}`.
Deman the data point :math:`x_t` at time `t` as:
:math:`x'_t=(x_t - m_t)`.
Parameters
----------
data: 2darray (time, channels)
factor_new: float
init_block_size: int
Demean data before to this index with regular demeaning.
Returns
-------
demeaned: 2darray (time, channels)
Demeaned data.
"""
df = pd.DataFrame(data)
meaned = df.ewm(alpha=factor_new).mean()
demeaned = df - meaned
demeaned = np.array(demeaned)
if init_block_size is not None:
other_axis = tuple(range(1, len(data.shape)))
init_mean = np.mean(data[0:init_block_size], axis=other_axis,
keepdims=True)
demeaned[0:init_block_size] = (data[0:init_block_size] - init_mean)
return demeaned
def highpass_cnt(data, low_cut_hz, fs, filt_order=3, axis=0):
"""
Highpass signal applying **causal** butterworth filter of given order.
Parameters
----------
data: 2d-array
Time x channels
low_cut_hz: float
fs: float
filt_order: int
Returns
-------
highpassed_data: 2d-array
Data after applying highpass filter.
"""
if (low_cut_hz is None) or (low_cut_hz == 0):
log.info("Not doing any highpass, since low 0 or None")
return data.copy()
b, a = scipy.signal.butter(filt_order, low_cut_hz / (fs / 2.0),
btype='highpass')
assert filter_is_stable(a)
data_highpassed = scipy.signal.lfilter(b, a, data, axis=axis)
return data_highpassed
def lowpass_cnt(data, high_cut_hz, fs, filt_order=3, axis=0):
"""
Lowpass signal applying **causal** butterworth filter of given order.
Parameters
----------
data: 2d-array
Time x channels
high_cut_hz: float
fs: float
filt_order: int
Returns
-------
lowpassed_data: 2d-array
Data after applying lowpass filter.
"""
if (high_cut_hz is None) or (high_cut_hz == fs / 2.0):
log.info(
"Not doing any lowpass, since high cut hz is None or nyquist freq.")
return data.copy()
b, a = scipy.signal.butter(filt_order, high_cut_hz / (fs / 2.0),
btype='lowpass')
assert filter_is_stable(a)
data_lowpassed = scipy.signal.lfilter(b, a, data, axis=axis)
return data_lowpassed
def bandpass_cnt(data, low_cut_hz, high_cut_hz, fs, filt_order=3, axis=0,
filtfilt=False):
"""
Bandpass signal applying **causal** butterworth filter of given order.
Parameters
----------
data: 2d-array
Time x channels
low_cut_hz: float
high_cut_hz: float
fs: float
filt_order: int
filtfilt: bool
Whether to use filtfilt instead of lfilter
Returns
-------
bandpassed_data: 2d-array
Data after applying bandpass filter.
"""
if (low_cut_hz == 0 or low_cut_hz is None) and (
high_cut_hz == None or high_cut_hz == fs / 2.0):
log.info("Not doing any bandpass, since low 0 or None and "
"high None or nyquist frequency")
return data.copy()
if low_cut_hz == 0 or low_cut_hz == None:
log.info("Using lowpass filter since low cut hz is 0 or None")
return lowpass_cnt(data, high_cut_hz, fs, filt_order=filt_order, axis=axis)
if high_cut_hz == None or high_cut_hz == (fs / 2.0):
log.info(
"Using highpass filter since high cut hz is None or nyquist freq")
return highpass_cnt(data, low_cut_hz, fs, filt_order=filt_order, axis=axis)
nyq_freq = 0.5 * fs
low = low_cut_hz / nyq_freq
high = high_cut_hz / nyq_freq
b, a = scipy.signal.butter(filt_order, [low, high], btype='bandpass')
assert filter_is_stable(a), "Filter should be stable..."
if filtfilt:
data_bandpassed = scipy.signal.filtfilt(b, a, data, axis=axis)
else:
data_bandpassed = scipy.signal.lfilter(b, a, data, axis=axis)
return data_bandpassed
def filter_is_stable(a):
"""
Check if filter coefficients of IIR filter are stable.
Parameters
----------
a: list or 1darray of number
Denominator filter coefficients a.
Returns
-------
is_stable: bool
Filter is stable or not.
Notes
----
Filter is stable if absolute value of all roots is smaller than 1,
see [1]_.
References
----------
.. [1] HYRY, "SciPy 'lfilter' returns only NaNs" StackOverflow,
http://stackoverflow.com/a/8812737/1469195
"""
assert a[0] == 1.0, (
"a[0] should normally be zero, did you accidentally supply b?\n"
"a: {:s}".format(str(a)))
# from http://stackoverflow.com/a/8812737/1469195
return np.all(np.abs(np.roots(a))<1)
+190
Ver Arquivo
@@ -0,0 +1,190 @@
import numpy as np
from braindecode.datautil.iterators import get_balanced_batches
from braindecode.datautil.signal_target import apply_to_X_y, SignalAndTarget
def concatenate_sets(sets):
"""
Concatenate all sets together.
Parameters
----------
sets: list of :class:`.SignalAndTarget`
Returns
-------
concatenated_set: :class:`.SignalAndTarget`
"""
concatenated_set = sets[0]
for s in sets[1:]:
concatenated_set = concatenate_two_sets(concatenated_set, s)
return concatenated_set
def concatenate_two_sets(set_a, set_b):
"""
Concatenate two sets together.
Parameters
----------
set_a, set_b: :class:`.SignalAndTarget`
Returns
-------
concatenated_set: :class:`.SignalAndTarget`
"""
new_X = concatenate_np_array_or_add_lists(set_a.X, set_b.X)
new_y = concatenate_np_array_or_add_lists(set_a.y, set_b.y)
return SignalAndTarget(new_X, new_y)
def concatenate_np_array_or_add_lists(a, b):
if hasattr(a, 'ndim') and hasattr(b, 'ndim'):
new = np.concatenate((a, b), axis=0)
else:
if hasattr(a, 'ndim'):
a = a.tolist()
if hasattr(b, 'ndim'):
b = b.tolist()
new = a + b
return new
def split_into_two_sets(dataset, first_set_fraction=None, n_first_set=None):
"""
Split set into two sets either by fraction of first set or by number
of trials in first set.
Parameters
----------
dataset: :class:`.SignalAndTarget`
first_set_fraction: float, optional
Fraction of trials in first set.
n_first_set: int, optional
Number of trials in first set
Returns
-------
first_set, second_set: :class:`.SignalAndTarget`
The two splitted sets.
"""
assert (first_set_fraction is None) != (n_first_set is None), (
"Pass either first_set_fraction or n_first_set")
if n_first_set is None:
n_first_set = int(round(len(dataset.X) * first_set_fraction))
assert n_first_set < len(dataset.X)
first_set = apply_to_X_y(lambda a: a[:n_first_set], dataset)
second_set = apply_to_X_y(lambda a: a[n_first_set:], dataset)
return first_set, second_set
def select_examples(dataset, indices):
"""
Select examples from dataset.
Parameters
----------
dataset: :class:`.SignalAndTarget`
indices: list of int, 1d-array of int
Indices to select
Returns
-------
reduced_set: :class:`.SignalAndTarget`
Dataset with only examples selected.
"""
# probably not necessary
indices = np.array(indices)
if hasattr(dataset.X, 'ndim'):
# numpy array
new_X = np.array(dataset.X)[indices]
else:
# list
new_X = [dataset.X[i] for i in indices]
new_y = np.asarray(dataset.y)[indices]
return SignalAndTarget(new_X, new_y)
def split_into_train_valid_test(dataset, n_folds, i_test_fold, rng=None):
"""
Split datasets into folds, select one valid fold, one test fold and merge rest as train fold.
Parameters
----------
dataset: :class:`.SignalAndTarget`
n_folds: int
Number of folds to split dataset into.
i_test_fold: int
Index of the test fold (0-based). Validation fold will be immediately preceding fold.
rng: `numpy.random.RandomState`, optional
Random Generator for shuffling, None means no shuffling
Returns
-------
reduced_set: :class:`.SignalAndTarget`
Dataset with only examples selected.
"""
n_trials = len(dataset.X)
if n_trials < n_folds:
raise ValueError("Less Trials: {:d} than folds: {:d}".format(
n_trials, n_folds
))
shuffle = rng is not None
folds = get_balanced_batches(
n_trials, rng, shuffle, n_batches=n_folds)
test_inds = folds[i_test_fold]
valid_inds = folds[i_test_fold - 1]
all_inds = list(range(n_trials))
train_inds = np.setdiff1d(all_inds, np.union1d(test_inds, valid_inds))
assert np.intersect1d(train_inds, valid_inds).size == 0
assert np.intersect1d(train_inds, test_inds).size == 0
assert np.intersect1d(valid_inds, test_inds).size == 0
assert np.array_equal(np.sort(
np.union1d(train_inds, np.union1d(valid_inds, test_inds))),
all_inds)
train_set = select_examples(dataset, train_inds)
valid_set = select_examples(dataset, valid_inds)
test_set = select_examples(dataset, test_inds)
return train_set, valid_set, test_set
def split_into_train_test(dataset, n_folds, i_test_fold, rng=None):
"""
Split datasets into folds, select one test fold and merge rest as train fold.
Parameters
----------
dataset: :class:`.SignalAndTarget`
n_folds: int
Number of folds to split dataset into.
i_test_fold: int
Index of the test fold (0-based)
rng: `numpy.random.RandomState`, optional
Random Generator for shuffling, None means no shuffling
Returns
-------
reduced_set: :class:`.SignalAndTarget`
Dataset with only examples selected.
"""
n_trials = len(dataset.X)
if n_trials < n_folds:
raise ValueError("Less Trials: {:d} than folds: {:d}".format(
n_trials, n_folds
))
shuffle = rng is not None
folds = get_balanced_batches(n_trials, rng, shuffle,
n_batches=n_folds)
test_inds = folds[i_test_fold]
all_inds = list(range(n_trials))
train_inds = np.setdiff1d(all_inds, test_inds)
assert np.intersect1d(train_inds, test_inds).size == 0
assert np.array_equal(np.sort(np.union1d(train_inds, test_inds)),
all_inds)
train_set = select_examples(dataset, train_inds)
test_set = select_examples(dataset, test_inds)
return train_set, test_set
+625
Ver Arquivo
@@ -0,0 +1,625 @@
import logging
from collections import OrderedDict, Counter
from copy import deepcopy
import numpy as np
from braindecode.datautil.signal_target import SignalAndTarget
from braindecode.datautil.util import ms_to_samples
log = logging.getLogger(__name__)
def create_signal_target_from_raw_mne(
raw, name_to_start_codes, epoch_ival_ms,
name_to_stop_codes=None,
prepad_trials_to_n_samples=None,
one_hot_labels=False,
one_label_per_trial=True):
"""
Create SignalTarget set from given `mne.io.RawArray`.
Parameters
----------
raw: `mne.io.RawArray`
name_to_start_codes: OrderedDict (str -> int or list of int)
Ordered dictionary mapping class names to marker code or marker codes.
y-labels will be assigned in increasing key order, i.e.
first classname gets y-value 0, second classname y-value 1, etc.
epoch_ival_ms: iterable of (int,int)
Epoching interval in milliseconds. In case only `name_to_codes` given,
represents start offset and stop offset from start markers. In case
`name_to_stop_codes` given, represents offset from start marker
and offset from stop marker. E.g. [500, -500] would mean 500ms
after the start marker until 500 ms before the stop marker.
name_to_stop_codes: dict (str -> int or list of int), optional
Dictionary mapping class names to stop marker code or stop marker codes.
Order does not matter, dictionary should contain each class in
`name_to_codes` dictionary.
prepad_trials_to_n_samples: int
Pad trials that would be too short with the signal before it (only
valid if name_to_stop_codes is not None).
one_hot_labels: bool, optional
Whether to have the labels in a one-hot format, e.g. [0,0,1] or to
have them just as an int, e.g. 2
one_label_per_trial: bool, optional
Whether to have a timeseries of labels or just a single label per trial.
Returns
-------
dataset: :class:`.SignalAndTarget`
Dataset with `X` as the trial signals and `y` as the trial labels.
"""
data = raw.get_data()
events = np.array([raw.info['events'][:,0],
raw.info['events'][:,2]]).T
fs = raw.info['sfreq']
return create_signal_target(
data, events, fs, name_to_start_codes,
epoch_ival_ms,
name_to_stop_codes=name_to_stop_codes,
prepad_trials_to_n_samples=prepad_trials_to_n_samples,
one_hot_labels=one_hot_labels,
one_label_per_trial=one_label_per_trial)
def create_signal_target(data, events, fs, name_to_start_codes, epoch_ival_ms,
name_to_stop_codes=None, prepad_trials_to_n_samples=None,
one_hot_labels=False, one_label_per_trial=True):
"""
Create SignalTarget set given continuous data.
Parameters
----------
data: 2d-array of number
The continuous recorded data. Channels x times order.
events: 2d-array
Dimensions: Number of events, 2. For each event, should contain sample
index and marker code.
fs: number
Sampling rate.
name_to_start_codes: OrderedDict (str -> int or list of int)
Ordered dictionary mapping class names to marker code or marker codes.
y-labels will be assigned in increasing key order, i.e.
first classname gets y-value 0, second classname y-value 1, etc.
epoch_ival_ms: iterable of (int,int)
Epoching interval in milliseconds. In case only `name_to_codes` given,
represents start offset and stop offset from start markers. In case
`name_to_stop_codes` given, represents offset from start marker
and offset from stop marker. E.g. [500, -500] would mean 500ms
after the start marker until 500 ms before the stop marker.
name_to_stop_codes: dict (str -> int or list of int), optional
Dictionary mapping class names to stop marker code or stop marker codes.
Order does not matter, dictionary should contain each class in
`name_to_codes` dictionary.
prepad_trials_to_n_samples: int, optional
Pad trials that would be too short with the signal before it (only
valid if name_to_stop_codes is not None).
one_hot_labels: bool, optional
Whether to have the labels in a one-hot format, e.g. [0,0,1] or to
have them just as an int, e.g. 2
one_label_per_trial: bool, optional
Whether to have a timeseries of labels or just a single label per trial.
Returns
-------
dataset: :class:`.SignalAndTarget`
Dataset with `X` as the trial signals and `y` as the trial labels.
"""
if name_to_stop_codes is None:
return _create_signal_target_from_start_and_ival(
data, events, fs, name_to_start_codes, epoch_ival_ms,
one_hot_labels=one_hot_labels,
one_label_per_trial=one_label_per_trial)
else:
return _create_signal_target_from_start_and_stop(
data, events, fs, name_to_start_codes, epoch_ival_ms,
name_to_stop_codes, prepad_trials_to_n_samples,
one_hot_labels=one_hot_labels,
one_label_per_trial=one_label_per_trial)
def _to_mrk_code_to_name_and_y(name_to_codes):
# Create mapping from marker code to class name and y=classindex
mrk_code_to_name_and_y = {}
for i_class, class_name in enumerate(name_to_codes):
codes = name_to_codes[class_name]
if hasattr(codes, '__len__'):
for code in codes:
assert code not in mrk_code_to_name_and_y
mrk_code_to_name_and_y[code] = (class_name, i_class)
else:
assert codes not in mrk_code_to_name_and_y
mrk_code_to_name_and_y[codes] = (class_name, i_class)
return mrk_code_to_name_and_y
def _create_signal_target_from_start_and_ival(
data, events, fs, name_to_codes, epoch_ival_ms,
one_hot_labels, one_label_per_trial):
cnt_y, i_start_stops = _create_cnt_y_and_trial_bounds_from_start_and_ival(
data.shape[1], events, fs, name_to_codes, epoch_ival_ms
)
signal_target = _create_signal_target_from_cnt_y_start_stops(
data, cnt_y, i_start_stops, prepad_trials_to_n_samples=None,
one_hot_labels=one_hot_labels,
one_label_per_trial=one_label_per_trial)
# make into arrray as all should have same dimensions
signal_target.X = np.array(signal_target.X, dtype=np.float32)
signal_target.y = np.array(signal_target.y, dtype=np.int64)
return signal_target
def _create_cnt_y_and_trial_bounds_from_start_and_ival(
n_samples, events, fs, name_to_start_codes, epoch_ival_ms):
ival_in_samples = ms_to_samples(np.array(epoch_ival_ms), fs)
start_offset = np.int32(np.round(ival_in_samples[0]))
# we will use ceil but exclusive...
stop_offset = np.int32(np.ceil(ival_in_samples[1]))
mrk_code_to_name_and_y = _to_mrk_code_to_name_and_y(name_to_start_codes)
class_to_n_trials = Counter()
n_classes = len(name_to_start_codes)
cnt_y = np.zeros((n_samples, n_classes), dtype=np.int64)
i_start_stops = []
for i_sample, mrk_code in zip(events[:, 0], events[:, 1]):
start_sample = int(i_sample) + start_offset
stop_sample = int(i_sample) + stop_offset
if mrk_code in mrk_code_to_name_and_y:
if start_sample < 0:
log.warning(
"Ignore trial with marker code {:d}, would start at "
"sample {:d}".format(mrk_code, start_sample))
continue
if stop_sample > n_samples:
log.warning("Ignore trial with marker code {:d}, would end at "
"sample {:d} of {:d}".format(
mrk_code, stop_sample - 1, n_samples - 1))
continue
name, this_y = mrk_code_to_name_and_y[mrk_code]
i_start_stops.append((start_sample, stop_sample))
cnt_y[start_sample:stop_sample, this_y] = 1
class_to_n_trials[name] += 1
log.info("Trial per class:\n{:s}".format(str(class_to_n_trials)))
return cnt_y, i_start_stops
def _create_signal_target_from_start_and_stop(
data, events, fs, name_to_start_codes, epoch_ival_ms,
name_to_stop_codes, prepad_trials_to_n_samples,
one_hot_labels, one_label_per_trial, ):
assert np.array_equal(list(name_to_start_codes.keys()),
list(name_to_stop_codes.keys()))
cnt_y, i_start_stops = _create_cnt_y_and_trial_bounds_from_start_stop(
data.shape[1],events, fs,name_to_start_codes, epoch_ival_ms,
name_to_stop_codes)
signal_target = _create_signal_target_from_cnt_y_start_stops(
data, cnt_y, i_start_stops,
prepad_trials_to_n_samples=prepad_trials_to_n_samples,
one_hot_labels=one_hot_labels, one_label_per_trial=one_label_per_trial)
return signal_target
def _create_cnt_y_and_trial_bounds_from_start_stop(
n_samples, events, fs, name_to_start_codes, epoch_ival_ms,
name_to_stop_codes):
"""
Create a one-hot-encoded continuous marker array (cnt_y).
Parameters
----------
n_samples: int
Number of samples=timesteps in the recorded data.
events: 2d-array
Dimensions: Number of events, 2. For each event, should contain sample
index and marker code.
fs: number
Sampling rate.
name_to_start_codes: OrderedDict (str -> int or list of int)
Ordered dictionary mapping class names to marker code or marker codes.
y-labels will be assigned in increasing key order, i.e.
first classname gets y-value 0, second classname y-value 1, etc.
epoch_ival_ms: iterable of (int,int)
Epoching interval in milliseconds. In case only `name_to_codes` given,
represents start offset and stop offset from start markers. In case
`name_to_stop_codes` given, represents offset from start marker
and offset from stop marker. E.g. [500, -500] would mean 500ms
after the start marker until 500 ms before the stop marker.
name_to_stop_codes: dict (str -> int or list of int), optional
Dictionary mapping class names to stop marker code or stop marker codes.
Order does not matter, dictionary should contain each class in
`name_to_codes` dictionary.
Returns
-------
cnt_y: 2d-array
Timeseries of one-hot-labels, time x classes.
trial_bounds: list of (int,int)
List of (trial_start, trial_stop) tuples.
"""
assert np.array_equal(list(name_to_start_codes.keys()),
list(name_to_stop_codes.keys()))
events = np.asarray(events)
ival_in_samples = ms_to_samples(np.array(epoch_ival_ms), fs)
start_offset = np.int32(np.round(ival_in_samples[0]))
# we will use ceil but exclusive...
stop_offset = np.int32(np.ceil(ival_in_samples[1]))
start_code_to_name_and_y = _to_mrk_code_to_name_and_y(name_to_start_codes)
# Ensure all stop marker codes are iterables
for name in name_to_stop_codes:
codes = name_to_stop_codes[name]
if not hasattr(codes, '__len__'):
name_to_stop_codes[name] = [codes]
all_stop_codes = np.concatenate(list(name_to_stop_codes.values())
).astype(np.int64)
class_to_n_trials = Counter()
n_classes = len(name_to_start_codes)
cnt_y = np.zeros((n_samples, n_classes), dtype=np.int64)
event_samples = events[:, 0]
event_codes = events[:, 1]
i_start_stops = []
i_event = 0
first_start_code_found = False
while i_event < len(events):
while i_event < len(events) and (
event_codes[i_event] not in start_code_to_name_and_y):
i_event += 1
if i_event < len(events):
start_sample = event_samples[i_event]
start_code = event_codes[i_event]
start_name = start_code_to_name_and_y[start_code][0]
start_y = start_code_to_name_and_y[start_code][1]
i_event += 1
first_start_code_found = True
waiting_for_end_code = True
while i_event < len(events) and (
event_codes[i_event] not in all_stop_codes):
if event_codes[i_event] in start_code_to_name_and_y:
log.warning(
"New start marker {:.0f} at {:.0f} samples found, "
"no end marker for earlier start marker {:.0f} "
"at {:.0f} samples found.".format(
event_codes[i_event], event_samples[i_event],
start_code, start_sample))
start_sample = event_samples[i_event]
start_name = start_code_to_name_and_y[start_code][0]
start_code = event_codes[i_event]
start_y = start_code_to_name_and_y[start_code][1]
i_event += 1
if i_event == len(events):
if waiting_for_end_code:
log.warning(("No end marker for start marker code {:.0f} "
"at sample {:.0f} found.").format(start_code,
start_sample))
elif (not first_start_code_found):
log.warning("No markers found at all.")
break
stop_sample = event_samples[i_event]
stop_code = event_codes[i_event]
assert stop_code in name_to_stop_codes[start_name]
i_start = int(start_sample) + start_offset
i_stop = int(stop_sample) + stop_offset
cnt_y[i_start:i_stop, start_y] = 1
i_start_stops.append((i_start, i_stop))
class_to_n_trials[start_name] += 1
waiting_for_end_code = False
log.info("Trial per class:\n{:s}".format(str(class_to_n_trials)))
return cnt_y, i_start_stops
def _create_signal_target_from_cnt_y_start_stops(
data,
cnt_y,
i_start_stops,
prepad_trials_to_n_samples,
one_hot_labels,
one_label_per_trial):
if prepad_trials_to_n_samples is not None:
new_i_start_stops = []
for i_start, i_stop in i_start_stops:
if (i_stop - i_start) > prepad_trials_to_n_samples:
new_i_start_stops.append((i_start, i_stop))
elif i_stop >= prepad_trials_to_n_samples:
new_i_start_stops.append(
(i_stop - prepad_trials_to_n_samples, i_stop))
else:
log.warning("Could not pad trial enough, therefore not "
"not using trial from {:d} to {:d}".format(
i_start, i_stop
))
continue
else:
new_i_start_stops = i_start_stops
X = []
y = []
for i_start, i_stop in new_i_start_stops:
if i_start < 0:
log.warning("Trial start too early, therefore not "
"not using trial from {:d} to {:d}".format(
i_start, i_stop
))
continue
if i_stop > data.shape[1]:
log.warning("Trial stop too late (past {:d}), therefore not "
"not using trial from {:d} to {:d}".format(
data.shape[1] - 1,
i_start, i_stop
))
continue
X.append(data[:, i_start:i_stop].astype(np.float32))
y.append(cnt_y[i_start:i_stop])
# take last label always
if one_label_per_trial:
new_y = []
for this_y in y:
# if destroying one hot later, just set most occuring class to 1
unique_labels, counts = np.unique(
this_y, axis=0, return_counts=True)
if not one_hot_labels:
meaned_y = np.mean(this_y, axis=0)
this_new_y = np.zeros_like(meaned_y)
this_new_y[np.argmax(meaned_y)] = 1
else:
# take most frequency occurring label combination
this_new_y = unique_labels[np.argmax(counts)]
if len(unique_labels) > 1:
log.warning("Different labels within one trial: {:s},"
"setting single trial label to {:s}".format(
str(unique_labels), str(this_new_y)
))
new_y.append(this_new_y)
y = new_y
if not one_hot_labels:
# change from one-hot-encoding to regular encoding
# with -1 as indication none of the classes are present
new_y = []
for this_y in y:
if one_label_per_trial:
if np.sum(this_y) == 0:
this_new_y = -1
else:
this_new_y = np.argmax(this_y)
if np.sum(this_y) > 1:
log.warning(
"Have multiple active classes and will convert to "
"lowest class")
else:
if np.max(np.sum(this_y, axis=1)) > 1:
log.warning(
"Have multiple active classes and will convert to "
"lowest class")
this_new_y = np.argmax(this_y, axis=1)
this_new_y[np.sum(this_y, axis=1) == 0] = -1
new_y.append(this_new_y)
y = new_y
if one_label_per_trial:
y = np.array(y, dtype=np.int64)
return SignalAndTarget(X, y)
def create_signal_target_with_breaks_from_mne(
cnt, name_to_start_codes,
trial_epoch_ival_ms,
name_to_stop_codes,
min_break_length_ms, max_break_length_ms,
break_epoch_ival_ms,
prepad_trials_to_n_samples=None):
"""
Create SignalTarget set from given `mne.io.RawArray`.
Parameters
----------
cnt: `mne.io.RawArray`
name_to_start_codes: OrderedDict (str -> int or list of int)
Ordered dictionary mapping class names to marker code or marker codes.
y-labels will be assigned in increasing key order, i.e.
first classname gets y-value 0, second classname y-value 1, etc.
trial_epoch_ival_ms: iterable of (int,int)
Epoching interval in milliseconds. Represents offset from start marker
and offset from stop marker. E.g. [500, -500] would mean 500ms
after the start marker until 500 ms before the stop marker.
name_to_stop_codes: dict (str -> int or list of int), optional
Dictionary mapping class names to stop marker code or stop marker codes.
Order does not matter, dictionary should contain each class in
`name_to_codes` dictionary.
min_break_length_ms: number
Breaks below this length are excluded.
max_break_length_ms: number
Breaks above this length are excluded.
break_epoch_ival_ms: number
Break ival, offset from trial end to start of the break in ms and
offset from trial start to end of break in ms.
prepad_trials_to_n_samples: int
Pad trials that would be too short with the signal before it (only
valid if name_to_stop_codes is not None).
Returns
-------
dataset: :class:`.SignalAndTarget`
Dataset with `X` as the trial signals and `y` as the trial labels.
Labels as timeseries and of integers, i.e., not one-hot encoded.
"""
assert 'Break' not in name_to_start_codes
# Create new marker codes for start and stop of breaks
# Use marker codes that did not exist in the given marker codes...
all_start_codes = np.concatenate(
[np.atleast_1d(vals) for vals in name_to_start_codes.values()])
all_stop_codes = np.concatenate(
[np.atleast_1d(vals) for vals in name_to_stop_codes.values()])
break_start_code = -1
while break_start_code in np.concatenate((all_start_codes, all_stop_codes)):
break_start_code -= 1
break_stop_code = break_start_code - 1
while break_stop_code in np.concatenate((all_start_codes, all_stop_codes)):
break_stop_code -= 1
events = cnt.info['events'][:, [0, 2]]
# later trial segment ival will be added when creating set
# so remove it here
break_epoch_ival_ms = np.array(break_epoch_ival_ms) - (
np.array(trial_epoch_ival_ms))
events_with_breaks = add_breaks(events, cnt.info['sfreq'],
break_start_code, break_stop_code,
name_to_start_codes, name_to_stop_codes,
min_break_length_ms=min_break_length_ms,
max_break_length_ms=max_break_length_ms,
break_start_offset_ms=break_epoch_ival_ms[
0],
break_stop_offset_ms=break_epoch_ival_ms[
1])
name_to_start_codes_with_breaks = deepcopy(name_to_start_codes)
name_to_start_codes_with_breaks['Break'] = break_start_code
name_to_stop_codes_with_breaks = deepcopy(name_to_stop_codes)
name_to_stop_codes_with_breaks['Break'] = break_stop_code
data = cnt.get_data()
fs = cnt.info['sfreq']
signal_target = create_signal_target(
data, events_with_breaks, fs,
name_to_start_codes_with_breaks, trial_epoch_ival_ms,
name_to_stop_codes_with_breaks,
prepad_trials_to_n_samples=prepad_trials_to_n_samples,
one_hot_labels=False,
one_label_per_trial=False)
return signal_target
def add_breaks(
events, fs, break_start_code, break_stop_code, name_to_start_codes,
name_to_stop_codes, min_break_length_ms=None,
max_break_length_ms=None, break_start_offset_ms=None,
break_stop_offset_ms=None):
"""
Add break events to given events.
Parameters
----------
events: 2d-array
Dimensions: Number of events, 2. For each event, should contain sample
index and marker code.
fs: number
Sampling rate.
break_start_code: int
Marker code that will be used for break start markers.
break_stop_code: int
Marker code that will be used for break stop markers.
name_to_start_codes: OrderedDict (str -> int or list of int)
Ordered dictionary mapping class names to start marker code or
start marker codes.
name_to_stop_codes: dict (str -> int or list of int), optional
Dictionary mapping class names to stop marker code or stop marker codes.
min_break_length_ms: number, optional
Minimum length in milliseconds a break should have to be included.
max_break_length_ms: number, optional
Maximum length in milliseconds a break can have to be included.
break_start_offset_ms: number, optional
What offset from trial end to start of the break in ms.
break_stop_offset_ms: number, optional
What offset from next trial start end to previous break end in ms.
Returns
-------
events: 2d-array
Events with break start and stop markers.
"""
min_samples = (None if min_break_length_ms is None
else ms_to_samples(min_break_length_ms, fs))
max_samples = (None if max_break_length_ms is None
else ms_to_samples(max_break_length_ms, fs))
orig_events = events
break_starts, break_stops = _extract_break_start_stop_ms(
events, name_to_start_codes, name_to_stop_codes)
break_durations = break_stops - break_starts
valid_mask = np.array([True] * len(break_starts))
if min_samples is not None:
valid_mask[break_durations < min_samples] = False
if max_samples is not None:
valid_mask[break_durations > max_samples] = False
if sum(valid_mask) == 0:
return deepcopy(events)
break_starts = break_starts[valid_mask]
break_stops = break_stops[valid_mask]
if break_start_offset_ms is not None:
break_starts += int(round(ms_to_samples(break_start_offset_ms, fs)))
if break_stop_offset_ms is not None:
break_stops += int(round(ms_to_samples(break_stop_offset_ms, fs)))
break_events = np.zeros((len(break_starts) * 2, 2))
break_events[0::2, 0] = break_starts
break_events[1::2, 0] = break_stops
break_events[0::2, 1] = break_start_code
break_events[1::2, 1] = break_stop_code
new_events = np.concatenate((orig_events, break_events))
# sort events
sort_order = np.argsort(new_events[:, 0], kind='mergesort')
new_events = new_events[sort_order]
return new_events
def _extract_break_start_stop_ms(events, name_to_start_codes,
name_to_stop_codes):
assert len(events[0]) == 2, "expect only 2dimensional event array here"
start_code_to_name_and_y = _to_mrk_code_to_name_and_y(name_to_start_codes)
# Ensure all stop marker codes are iterables
for name in name_to_stop_codes:
codes = name_to_stop_codes[name]
if not hasattr(codes, '__len__'):
name_to_stop_codes[name] = [codes]
all_stop_codes = np.concatenate(list(name_to_stop_codes.values())).astype(
np.int32)
event_samples = events[:, 0]
event_codes = events[:, 1]
break_starts = []
break_stops = []
i_event = 0
while i_event < len(events):
while (i_event < len(events)) and (
event_codes[i_event] not in all_stop_codes):
i_event += 1
if i_event < len(events):
# one sample after start
stop_sample = event_samples[i_event]
stop_code = event_codes[i_event]
i_event += 1
while (i_event < len(events)) and (
event_codes[i_event] not in start_code_to_name_and_y):
if event_codes[i_event] in all_stop_codes:
log.warning(
"New end marker {:.0f} at {:.0f} samples found, "
"no start marker for earlier end marker {:.0f} "
"at {:.0f} samples found.".format(
event_codes[i_event],
event_samples[i_event],
stop_code, stop_sample))
stop_sample = event_samples[i_event]
stop_code = event_codes[i_event]
i_event += 1
if i_event == len(events):
break
start_sample = event_samples[i_event]
start_code = event_codes[i_event]
assert start_code in start_code_to_name_and_y
# let's start one after stop of the trial and stop one efore
# start of the trial to ensure that markers will be
# in right order
break_starts.append(stop_sample + 1)
break_stops.append(start_sample - 1)
return np.array(break_starts), np.array(break_stops)
+37
Ver Arquivo
@@ -0,0 +1,37 @@
def ms_to_samples(ms, fs):
"""
Compute milliseconds to number of samples.
Parameters
----------
ms: number
Milliseconds
fs: number
Sampling rate
Returns
-------
n_samples: int
Number of samples
"""
return ms * fs / 1000.0
def samples_to_ms(n_samples, fs):
"""
Compute milliseconds to number of samples.
Parameters
----------
n_samples: number
Number of samples
fs: number
Sampling rate
Returns
-------
milliseconds: int
"""
return n_samples * 1000.0 / fs
+3
Ver Arquivo
@@ -0,0 +1,3 @@
"""
Convenience classes for experiments, including monitoring and stop criteria.
"""
+492
Ver Arquivo
@@ -0,0 +1,492 @@
import logging
from collections import OrderedDict
from copy import deepcopy
import time
import pandas as pd
import torch as th
import numpy as np
from braindecode.datautil.splitters import concatenate_sets
from braindecode.experiments.loggers import Printer
from braindecode.experiments.stopcriteria import MaxEpochs, ColumnBelow, Or
from braindecode.torch_ext.util import np_to_var
log = logging.getLogger(__name__)
class RememberBest(object):
"""
Class to remember and restore
the parameters of the model and the parameters of the
optimizer at the epoch with the best performance.
Parameters
----------
column_name: str
The lowest value in this column should indicate the epoch with the
best performance (e.g. misclass might make sense).
Attributes
----------
best_epoch: int
Index of best epoch
"""
def __init__(self, column_name):
self.column_name = column_name
self.best_epoch = 0
self.lowest_val = float('inf')
self.model_state_dict = None
self.optimizer_state_dict = None
def remember_epoch(self, epochs_df, model, optimizer):
"""
Remember this epoch: Remember parameter values in case this epoch
has the best performance so far.
Parameters
----------
epochs_df: `pandas.Dataframe`
Dataframe containing the column `column_name` with which performance
is evaluated.
model: `torch.nn.Module`
optimizer: `torch.optim.Optimizer`
"""
i_epoch = len(epochs_df) - 1
current_val = float(epochs_df[self.column_name].iloc[-1])
if current_val <= self.lowest_val:
self.best_epoch = i_epoch
self.lowest_val = current_val
self.model_state_dict = deepcopy(model.state_dict())
self.optimizer_state_dict = deepcopy(optimizer.state_dict())
log.info("New best {:s}: {:5f}".format(self.column_name,
current_val))
log.info("")
def reset_to_best_model(self, epochs_df, model, optimizer):
"""
Reset parameters to parameters at best epoch and remove rows
after best epoch from epochs dataframe.
Modifies parameters of model and optimizer, changes epochs_df in-place.
Parameters
----------
epochs_df: `pandas.Dataframe`
model: `torch.nn.Module`
optimizer: `torch.optim.Optimizer`
"""
# Remove epochs past the best one from epochs dataframe
epochs_df.drop(range(self.best_epoch+1, len(epochs_df)), inplace=True)
model.load_state_dict(self.model_state_dict)
optimizer.load_state_dict(self.optimizer_state_dict)
class Experiment(object):
"""
Class that performs one experiment on training, validation and test set.
It trains as follows:
1. Train on training set until a given stop criterion is fulfilled
2. Reset to the best epoch, i.e. reset parameters of the model and the
optimizer to the state at the best epoch ("best" according to a given
criterion)
3. Continue training on the combined training + validation set until the
loss on the validation set is as low as it was on the best epoch for the
training set. (or until the ConvNet was trained twice as many epochs as
the best epoch to prevent infinite training)
Parameters
----------
model: `torch.nn.Module`
train_set: :class:`.SignalAndTarget`
valid_set: :class:`.SignalAndTarget`
test_set: :class:`.SignalAndTarget`
iterator: iterator object
loss_function: function
Function mapping predictions and targets to a loss:
(predictions: `torch.autograd.Variable`,
targets:`torch.autograd.Variable`)
-> loss: `torch.autograd.Variable`
optimizer: `torch.optim.Optimizer`
model_constraint: object
Object with apply function that takes model and constraints its
parameters. `None` for no constraint.
monitors: list of objects
List of objects with monitor_epoch and monitor_set method, should
monitor the traning progress.
stop_criterion: object
Object with `should_stop` method, that takes in monitoring dataframe
and returns if training should stop:
remember_best_column: str
Name of column to use for storing parameters of best model. Lowest value
should indicate best performance in this column.
run_after_early_stop: bool
Whether to continue running after early stop
model_loss_function: function, optional
Function (model -> loss) to add a model loss like L2 regularization.
Note that this loss is not accounted for in monitoring at the moment.
batch_modifier: object, optional
Object with modify method, that can change the batch, e.g. for data
augmentation
cuda: bool, optional
Whether to use cuda.
pin_memory: bool, optional
Whether to pin memory of inputs and targets of batch.
do_early_stop: bool
Whether to do an early stop at all. If true, reset to best model
even in case experiment does not run after early stop.
reset_after_second_run: bool
If true, reset to best model when second run did not find a valid loss
below or equal to the best train loss of first run.
log_0_epoch: bool
Whether to compute monitor values and log them before the
start of training.
loggers: list of :class:`.Logger`
How to show computed metrics.
Attributes
----------
epochs_df: `pandas.DataFrame`
Monitoring values for all epochs.
"""
def __init__(self, model, train_set, valid_set, test_set,
iterator, loss_function, optimizer, model_constraint,
monitors, stop_criterion, remember_best_column,
run_after_early_stop,
model_loss_function=None,
batch_modifier=None, cuda=True, pin_memory=False,
do_early_stop=True,
reset_after_second_run=False,
log_0_epoch=True,
loggers=('print',)):
if run_after_early_stop or reset_after_second_run:
assert do_early_stop == True, ("Can only run after early stop or "
"reset after second run if doing an early stop")
if do_early_stop:
assert valid_set is not None
assert remember_best_column is not None
self.model = model
self.datasets = OrderedDict(
(('train', train_set), ('valid', valid_set), ('test', test_set)))
if valid_set is None:
self.datasets.pop('valid')
assert run_after_early_stop == False
assert do_early_stop == False
if test_set is None:
self.datasets.pop('test')
self.iterator = iterator
self.loss_function = loss_function
self.optimizer = optimizer
self.model_constraint = model_constraint
self.monitors = monitors
self.stop_criterion = stop_criterion
self.remember_best_column = remember_best_column
self.run_after_early_stop = run_after_early_stop
self.model_loss_function = model_loss_function
self.batch_modifier = batch_modifier
self.cuda = cuda
self.epochs_df = pd.DataFrame()
self.before_stop_df = None
self.rememberer = None
self.pin_memory = pin_memory
self.do_early_stop = do_early_stop
self.reset_after_second_run = reset_after_second_run
self.log_0_epoch = log_0_epoch
self.loggers = loggers
def run(self):
"""
Run complete training.
"""
self.setup_training()
log.info("Run until first stop...")
self.run_until_first_stop()
if self.do_early_stop:
# always setup for second stop, in order to get best model
# even if not running after early stop...
log.info("Setup for second stop...")
self.setup_after_stop_training()
if self.run_after_early_stop:
log.info("Run until second stop...")
loss_to_reach = float(self.epochs_df['train_loss'].iloc[-1])
self.run_until_second_stop()
if (float(self.epochs_df['valid_loss'].iloc[-1]) > loss_to_reach
and self.reset_after_second_run):
# if no valid loss was found below the best train loss on 1st
# run, reset model to the epoch with lowest valid_misclass
log.info("Resetting to best epoch {:d}".format(
self.rememberer.best_epoch))
self.rememberer.reset_to_best_model(self.epochs_df,
self.model,
self.optimizer)
def setup_training(self):
"""
Setup training, i.e. transform model to cuda,
initialize monitoring.
"""
# reset remember best extension in case you rerun some experiment
if self.do_early_stop:
self.rememberer = RememberBest(self.remember_best_column)
if self.loggers == ('print',):
self.loggers = [Printer()]
self.epochs_df = pd.DataFrame()
if self.cuda:
assert th.cuda.is_available(), "Cuda not available"
self.model.cuda()
def run_until_first_stop(self):
"""
Run training and evaluation using only training set for training
until stop criterion is fulfilled.
"""
self.run_until_stop(self.datasets, remember_best=self.do_early_stop)
def run_until_second_stop(self):
"""
Run training and evaluation using combined training + validation set
for training.
Runs until loss on validation set decreases below loss on training set
of best epoch or until as many epochs trained after as before
first stop.
"""
datasets = self.datasets
datasets['train'] = concatenate_sets([datasets['train'],
datasets['valid']])
self.run_until_stop(datasets, remember_best=True)
def run_until_stop(self, datasets, remember_best):
"""
Run training and evaluation on given datasets until stop criterion is
fulfilled.
Parameters
----------
datasets: OrderedDict
Dictionary with train, valid and test as str mapping to
:class:`.SignalAndTarget` objects.
remember_best: bool
Whether to remember parameters at best epoch.
"""
if self.log_0_epoch:
self.monitor_epoch(datasets)
self.log_epoch()
if remember_best:
self.rememberer.remember_epoch(self.epochs_df, self.model,
self.optimizer)
self.iterator.reset_rng()
while not self.stop_criterion.should_stop(self.epochs_df):
self.run_one_epoch(datasets, remember_best)
def run_one_epoch(self, datasets, remember_best):
"""
Run training and evaluation on given datasets for one epoch.
Parameters
----------
datasets: OrderedDict
Dictionary with train, valid and test as str mapping to
:class:`.SignalAndTarget` objects.
remember_best: bool
Whether to remember parameters if this epoch is best epoch.
"""
batch_generator = self.iterator.get_batches(datasets['train'],
shuffle=True)
start_train_epoch_time = time.time()
for inputs, targets in batch_generator:
if self.batch_modifier is not None:
inputs, targets = self.batch_modifier.process(inputs,
targets)
# could happen that batch modifier has removed all inputs...
if len(inputs) > 0:
self.train_batch(inputs, targets)
end_train_epoch_time = time.time()
log.info("Time only for training updates: {:.2f}s".format(
end_train_epoch_time - start_train_epoch_time))
self.monitor_epoch(datasets)
self.log_epoch()
if remember_best:
self.rememberer.remember_epoch(self.epochs_df, self.model,
self.optimizer)
def train_batch(self, inputs, targets):
"""
Train on given inputs and targets.
Parameters
----------
inputs: `torch.autograd.Variable`
targets: `torch.autograd.Variable`
"""
self.model.train()
input_vars = np_to_var(inputs, pin_memory=self.pin_memory)
target_vars = np_to_var(targets, pin_memory=self.pin_memory)
if self.cuda:
input_vars = input_vars.cuda()
target_vars = target_vars.cuda()
self.optimizer.zero_grad()
outputs = self.model(input_vars)
loss = self.loss_function(outputs, target_vars)
if self.model_loss_function is not None:
loss = loss + self.model_loss_function(self.model)
loss.backward()
self.optimizer.step()
if self.model_constraint is not None:
self.model_constraint.apply(self.model)
def eval_on_batch(self, inputs, targets):
"""
Evaluate given inputs and targets.
Parameters
----------
inputs: `torch.autograd.Variable`
targets: `torch.autograd.Variable`
Returns
-------
predictions: `torch.autograd.Variable`
loss: `torch.autograd.Variable`
"""
self.model.eval()
with th.no_grad():
input_vars = np_to_var(inputs, pin_memory=self.pin_memory)
target_vars = np_to_var(targets, pin_memory=self.pin_memory)
if self.cuda:
input_vars = input_vars.cuda()
target_vars = target_vars.cuda()
outputs = self.model(input_vars)
loss = self.loss_function(outputs, target_vars)
if hasattr(outputs, 'cpu'):
outputs = outputs.cpu().detach().numpy()
else:
# assume it is iterable
outputs = [o.cpu().detach().numpy() for o in outputs]
loss = loss.cpu().detach().numpy()
return outputs, loss
def monitor_epoch(self, datasets):
"""
Evaluate one epoch for given datasets.
Stores results in `epochs_df`
Parameters
----------
datasets: OrderedDict
Dictionary with train, valid and test as str mapping to
:class:`.SignalAndTarget` objects.
"""
result_dicts_per_monitor = OrderedDict()
for m in self.monitors:
result_dicts_per_monitor[m] = OrderedDict()
result_dict = m.monitor_epoch()
if result_dict is not None:
result_dicts_per_monitor[m].update(result_dict)
for setname in datasets:
assert setname in ['train', 'valid', 'test']
dataset = datasets[setname]
batch_generator = self.iterator.get_batches(dataset, shuffle=False)
if hasattr(batch_generator, "__len__"):
# prevent loading of data to estimate number of batches when
# using lazy iterators
n_batches = len(batch_generator)
else:
# iterating through traditional iterators is cheap, since
# nothing is loaded, recreate generator afterwards
n_batches = sum(1 for i in batch_generator)
batch_generator = self.iterator.get_batches(dataset,
shuffle=False)
all_preds, all_targets = None, None
all_losses, all_batch_sizes = [], []
for inputs, targets in batch_generator:
preds, loss = self.eval_on_batch(inputs, targets)
all_losses.append(loss)
all_batch_sizes.append(len(targets))
if all_preds is None:
assert all_targets is None
# first batch size is largest
max_size, n_classes, n_preds_per_input = preds.shape
# pre-allocate memory for all predictions and targets
all_preds = np.nan * np.ones(
(n_batches * max_size, n_classes, n_preds_per_input),
dtype=np.float32)
all_preds[:len(preds)] = preds
all_targets = np.nan * np.ones((n_batches * max_size))
all_targets[:len(targets)] = targets
else:
start_i = sum(all_batch_sizes[:-1])
stop_i = sum(all_batch_sizes)
all_preds[start_i:stop_i] = preds
all_targets[start_i:stop_i] = targets
# check for unequal batches
unequal_batches = len(set(all_batch_sizes)) > 1
all_batch_sizes = sum(all_batch_sizes)
# remove nan rows in case of unequal batch sizes
if unequal_batches:
assert np.sum(np.isnan(all_preds[:all_batch_sizes - 1])) == 0
assert np.sum(np.isnan(all_preds[all_batch_sizes:])) > 0
range_to_delete = range(all_batch_sizes, len(all_preds))
all_preds = np.delete(all_preds, range_to_delete, axis=0)
all_targets = np.delete(all_targets, range_to_delete, axis=0)
assert np.sum(np.isnan(all_preds)) == 0, (
"There are still nans in predictions")
assert np.sum(np.isnan(all_targets)) == 0, (
"There are still nans in targets")
# add empty dimension
# monitors expect n_batches x ...
all_preds = all_preds[np.newaxis, :]
all_targets = all_targets[np.newaxis, :]
all_batch_sizes = [all_batch_sizes]
all_losses = [all_losses]
for m in self.monitors:
result_dict = m.monitor_set(setname, all_preds, all_losses,
all_batch_sizes, all_targets,
dataset)
if result_dict is not None:
result_dicts_per_monitor[m].update(result_dict)
row_dict = OrderedDict()
for m in self.monitors:
row_dict.update(result_dicts_per_monitor[m])
self.epochs_df = self.epochs_df.append(row_dict, ignore_index=True)
assert set(self.epochs_df.columns) == set(row_dict.keys()), (
"Columns of dataframe: {:s}\n and keys of dict {:s} not same")\
.format(str(set(self.epochs_df.columns)), str(set(row_dict.keys())))
self.epochs_df = self.epochs_df[list(row_dict.keys())]
def log_epoch(self):
"""
Print monitoring values for this epoch.
"""
for logger in self.loggers:
logger.log_epoch(self.epochs_df)
def setup_after_stop_training(self):
"""
Setup training after first stop.
Resets parameters to best parameters and updates stop criterion.
"""
# also remember old monitor chans, will be put back into
# monitor chans after experiment finished
self.before_stop_df = deepcopy(self.epochs_df)
self.rememberer.reset_to_best_model(self.epochs_df, self.model,
self.optimizer)
loss_to_reach = float(self.epochs_df['train_loss'].iloc[-1])
self.stop_criterion = Or(stop_criteria=[
MaxEpochs(max_epochs=self.rememberer.best_epoch * 2),
ColumnBelow(column_name='valid_loss', target_value=loss_to_reach)])
log.info("Train loss to reach {:.5f}".format(loss_to_reach))
+48
Ver Arquivo
@@ -0,0 +1,48 @@
from abc import ABC, abstractmethod
import logging
log = logging.getLogger(__name__)
class Logger(ABC):
@abstractmethod
def log_epoch(self, epochs_df):
raise NotImplementedError("Need to implement the log_epoch function!")
class Printer(Logger):
"""
Prints output to the terminal using Python's logging module.
"""
def log_epoch(self, epochs_df):
# -1 due to doing one monitor at start of training
i_epoch = len(epochs_df) - 1
log.info("Epoch {:d}".format(i_epoch))
last_row = epochs_df.iloc[-1]
for key, val in last_row.iteritems():
log.info("{:25s} {:.5f}".format(key, val))
log.info("")
class TensorboardWriter(Logger):
"""
Logs all values for tensorboard visualiuzation using tensorboardX.
Parameters
----------
log_dir: string
Directory path to log the output to
"""
def __init__(self, log_dir):
# import inside to prevent dependency of braindecode onto tensorboardX
from tensorboardX import SummaryWriter
self.writer = SummaryWriter(log_dir)
def log_epoch(self, epochs_df):
# -1 due to doing one monitor at start of training
i_epoch = len(epochs_df) - 1
last_row = epochs_df.iloc[-1]
for key, val in last_row.iteritems():
val = last_row[key]
self.writer.add_scalar(key, val, i_epoch)
+374
Ver Arquivo
@@ -0,0 +1,374 @@
import numpy as np
import time
class MisclassMonitor(object):
"""
Monitor the examplewise misclassification rate.
Parameters
----------
col_suffix: str, optional
Name of the column in the monitoring output.
threshold_for_binary_case: bool, optional
In case of binary classification with only one output prediction
per target, define the threshold for separating the classes, i.e.
0.5 for sigmoid outputs, or np.log(0.5) for log sigmoid outputs
"""
def __init__(self, col_suffix='misclass', threshold_for_binary_case=None):
self.col_suffix = col_suffix
self.threshold_for_binary_case = threshold_for_binary_case
def monitor_epoch(self, ):
return
def monitor_set(self, setname, all_preds, all_losses,
all_batch_sizes, all_targets, dataset):
all_pred_labels = []
all_target_labels = []
for i_batch in range(len(all_batch_sizes)):
preds = all_preds[i_batch]
# preds could be examples x classes x time
# or just
# examples x classes
# make sure not to remove first dimension if it only has size one
if preds.ndim > 1:
only_one_row = preds.shape[0] == 1
pred_labels = np.argmax(preds, axis=1).squeeze()
# add first dimension again if needed
if only_one_row:
pred_labels = pred_labels[None]
else:
assert self.threshold_for_binary_case is not None, (
"In case of only one output, please supply the "
"threshold_for_binary_case parameter")
# binary classification case... assume logits
pred_labels = np.int32(preds > self.threshold_for_binary_case)
# now examples x time or examples
all_pred_labels.extend(pred_labels)
targets = all_targets[i_batch]
if targets.ndim > pred_labels.ndim:
# targets may be one-hot-encoded
targets = np.argmax(targets, axis=1)
elif targets.ndim < pred_labels.ndim:
# targets may not have time dimension,
# in that case just repeat targets on time dimension
extra_dim = pred_labels.ndim -1
targets = np.repeat(np.expand_dims(targets, extra_dim),
pred_labels.shape[extra_dim],
extra_dim)
assert targets.shape == pred_labels.shape
all_target_labels.extend(targets)
all_pred_labels = np.array(all_pred_labels)
all_target_labels = np.array(all_target_labels)
assert all_pred_labels.shape == all_target_labels.shape
misclass = 1 - np.mean(all_target_labels == all_pred_labels)
column_name = "{:s}_{:s}".format(setname, self.col_suffix)
return {column_name: float(misclass)}
def compute_pred_labels_from_trial_preds(
all_preds, threshold_for_binary_case=None):
all_pred_labels = []
for i_batch in range(len(all_preds)):
preds = all_preds[i_batch]
# preds could be examples x classes x time
# or just
# examples x classes
# make sure not to remove first dimension if it only has size one
if preds.ndim > 1:
only_one_row = preds.shape[0] == 1
pred_labels = np.argmax(preds, axis=1).squeeze()
# add first dimension again if needed
if only_one_row:
pred_labels = pred_labels[None]
else:
assert threshold_for_binary_case is not None, (
"In case of only one output, please supply the "
"threshold_for_binary_case parameter")
# binary classification case... assume logits
pred_labels = np.int32(preds > threshold_for_binary_case)
# now examples x time or examples
all_pred_labels.extend(pred_labels)
all_pred_labels = np.array(all_pred_labels)
return all_pred_labels
class AveragePerClassMisclassMonitor(object):
"""
Compute average of misclasses per class,
useful if classes are highly imbalanced.
Parameters
----------
col_suffix: str
Name of the column in the monitoring output.
"""
def __init__(self, col_suffix='misclass'):
self.col_suffix = col_suffix
def monitor_epoch(self, ):
return
def monitor_set(self, setname, all_preds, all_losses,
all_batch_sizes, all_targets, dataset):
all_pred_labels = []
all_target_labels = []
for i_batch in range(len(all_batch_sizes)):
preds = all_preds[i_batch]
# preds could be examples x classes x time
# or just
# examples x classes
# make sure not to remove first dimension if it only has size one
only_one_row = preds.shape[0] == 1
n_classes = preds.shape[1]
pred_labels = np.argmax(preds, axis=1).squeeze()
# add first dimension again if needed
if only_one_row:
pred_labels = pred_labels[None]
# now examples x time or examples
all_pred_labels.extend(pred_labels)
targets = all_targets[i_batch]
if targets.ndim > pred_labels.ndim:
# targets may be one-hot-encoded
targets = np.argmax(targets, axis=1)
elif targets.ndim < pred_labels.ndim:
# targets may not have time dimension,
# in that case just repeat targets on time dimension
extra_dim = pred_labels.ndim - 1
targets = np.repeat(np.expand_dims(targets, extra_dim),
pred_labels.shape[extra_dim],
extra_dim)
assert targets.shape == pred_labels.shape
all_target_labels.extend(targets)
all_pred_labels = np.array(all_pred_labels)
all_target_labels = np.array(all_target_labels)
assert all_pred_labels.shape == all_target_labels.shape
acc_per_class = []
for i_class in range(n_classes):
mask = all_target_labels == i_class
acc = np.mean(all_pred_labels[mask] ==
all_target_labels[mask])
acc_per_class.append(acc)
misclass = 1 - np.mean(acc_per_class)
column_name = "{:s}_{:s}".format(setname, self.col_suffix)
return {column_name: float(misclass)}
class LossMonitor(object):
"""
Monitor the examplewise loss.
"""
def monitor_epoch(self,):
return
def monitor_set(self, setname, all_preds, all_losses,
all_batch_sizes, all_targets, dataset):
batch_weights = np.array(all_batch_sizes)/ float(
np.sum(all_batch_sizes))
loss_per_batch = [np.mean(loss) for loss in all_losses]
mean_loss = np.sum(batch_weights * loss_per_batch)
column_name = "{:s}_loss".format(setname)
return {column_name: mean_loss}
class CroppedTrialMisclassMonitor(object):
"""
Compute trialwise misclasses from predictions for crops.
Parameters
----------
input_time_length: int
Temporal length of one input to the model.
"""
def __init__(self, input_time_length=None):
self.input_time_length = input_time_length
def monitor_epoch(self,):
return
def monitor_set(self, setname, all_preds, all_losses,
all_batch_sizes, all_targets, dataset):
"""Assuming one hot encoding for now"""
assert self.input_time_length is not None, "Need to know input time length..."
# First case that each trial only has a single label
if not hasattr(dataset.y[0], '__len__'):
all_pred_labels = compute_trial_labels_from_crop_preds(
all_preds, self.input_time_length, dataset.X)
assert all_pred_labels.shape == dataset.y.shape
all_trial_labels = dataset.y
else:
all_trial_labels, all_pred_labels = (
self._compute_trial_pred_labels_from_cnt_y(dataset, all_preds))
assert all_pred_labels.shape == all_trial_labels.shape
misclass = 1 - np.mean(all_pred_labels == all_trial_labels)
column_name = "{:s}_misclass".format(setname)
return {column_name: float(misclass)}
def _compute_pred_labels(self, dataset, all_preds, ):
preds_per_trial = compute_preds_per_trial_from_crops(
all_preds, self.input_time_length, dataset.X)
all_pred_labels = [np.argmax(np.mean(p, axis=1))
for p in preds_per_trial]
all_pred_labels = np.array(all_pred_labels)
assert all_pred_labels.shape == dataset.y.shape
return all_pred_labels
def _compute_trial_pred_labels_from_cnt_y(self, dataset, all_preds, ):
# Todo: please test this
# we only want the preds that are for the same labels as the last label in y
# (there might be parts of other class-data at start, for trialwise misclass we assume
# they are contained in other trials at the end...)
preds_per_trial = compute_preds_per_trial_from_crops(
all_preds, self.input_time_length, dataset.X)
trial_labels = []
trial_pred_labels = []
for trial_pred, trial_y in zip(preds_per_trial, dataset.y):
# first cut to the part actually having predictions
trial_y = trial_y[-trial_pred.shape[1]:]
wanted_class = trial_y[-1]
trial_labels.append(wanted_class)
# extract the first marker different from the wanted class
# by starting from the back of the trial
i_last_sample = np.flatnonzero(trial_y[::-1] != wanted_class)
if len(i_last_sample) > 0:
i_last_sample = i_last_sample[0]
# remember last sample is now from back
trial_pred = trial_pred[:, -i_last_sample:]
trial_pred_label = np.argmax(np.mean(trial_pred, axis=1))
trial_pred_labels.append(trial_pred_label)
trial_labels = np.array(trial_labels)
trial_pred_labels = np.array(trial_pred_labels)
return trial_labels, trial_pred_labels
def compute_trial_labels_from_crop_preds(all_preds, input_time_length, X):
"""
Compute predicted trial labels from arrays of crop predictions
Parameters
----------
all_preds: list of 2darrays (classes x time)
All predictions for the crops.
input_time_length: int
Temporal length of one input to the model.
X: ndarray
Input tensor the crops were taken from.
Returns
-------
pred_labels_per_trial: 1darray
Predicted label for each trial.
"""
preds_per_trial = compute_preds_per_trial_from_crops(
all_preds, input_time_length, X)
pred_labels_per_trial = [np.argmax(np.mean(p, axis=1))
for p in preds_per_trial]
pred_labels_per_trial = np.array(pred_labels_per_trial)
return pred_labels_per_trial
def compute_preds_per_trial_from_crops(all_preds, input_time_length,
X, ):
"""
Compute predictions per trial from predictions for crops.
Parameters
----------
all_preds: list of 2darrays (classes x time)
All predictions for the crops.
input_time_length: int
Temporal length of one input to the model.
X: ndarray
Input tensor the crops were taken from.
Returns
-------
preds_per_trial: list of 2darrays (classes x time)
Predictions for each trial, without overlapping predictions.
"""
n_preds_per_input = all_preds[0].shape[2]
n_receptive_field = input_time_length - n_preds_per_input + 1
n_preds_per_trial = [trial.shape[1] - n_receptive_field + 1
for trial in X]
preds_per_trial = compute_preds_per_trial_from_n_preds_per_trial(
all_preds, n_preds_per_trial)
return preds_per_trial
def compute_preds_per_trial_from_n_preds_per_trial(
all_preds, n_preds_per_trial):
"""
Compute predictions per trial from predictions for crops.
Parameters
----------
all_preds: list of 2darrays (classes x time)
All predictions for the crops.
input_time_length: int
Temporal length of one input to the model.
n_preds_per_trial: list of int
Number of predictions for each trial.
Returns
-------
preds_per_trial: list of 2darrays (classes x time)
Predictions for each trial, without overlapping predictions.
"""
# all_preds_arr has shape forward_passes x classes x time
all_preds_arr = np.concatenate(all_preds, axis=0)
preds_per_trial = []
i_pred_block = 0
for i_trial in range(len(n_preds_per_trial)):
n_needed_preds = n_preds_per_trial[i_trial]
preds_this_trial = []
while n_needed_preds > 0:
# - n_needed_preds: only has an effect
# in case there are more samples than we actually still need
# in the block.
# That can happen since final block of a trial can overlap
# with block before so we can have some redundant preds.
pred_samples = all_preds_arr[i_pred_block,:,
-n_needed_preds:]
preds_this_trial.append(pred_samples)
n_needed_preds -= pred_samples.shape[1]
i_pred_block += 1
preds_this_trial = np.concatenate(preds_this_trial, axis=1)
preds_per_trial.append(preds_this_trial)
assert i_pred_block == len(all_preds_arr), (
"Expect that all prediction forward passes are needed, "
"used {:d}, existing {:d}".format(
i_pred_block, len(all_preds_arr)))
return preds_per_trial
class RuntimeMonitor(object):
"""
Monitor the runtime of each epoch.
First epoch will have runtime 0.
"""
def __init__(self):
self.last_call_time = None
def monitor_epoch(self,):
cur_time = time.time()
if self.last_call_time is None:
# just in case of first call
self.last_call_time = cur_time
epoch_runtime = cur_time - self.last_call_time
self.last_call_time = cur_time
return {'runtime': epoch_runtime}
def monitor_set(self, setname, all_preds, all_losses,
all_batch_sizes, all_targets, dataset):
return {}
+139
Ver Arquivo
@@ -0,0 +1,139 @@
import numpy as np
class MaxEpochs(object):
"""
Stop when given number of epochs reached:
Parameters
----------
max_epochs: int
"""
def __init__(self, max_epochs):
self.max_epochs = max_epochs
def should_stop(self, epochs_df):
# Keep in mind epoch 0 without training is also part of dataframe
return len(epochs_df) - 1 >= self.max_epochs
class Or(object):
"""
Stop when one of the given stop criteria is triggered.
Parameters
----------
stop_criteria: iterable of stop criteria objects
"""
def __init__(self, stop_criteria):
self.stop_criteria = stop_criteria
self.triggered = dict([(s, False) for s in stop_criteria])
def should_stop(self, epochs_df):
# Update dictionary of which criterion was triggered ...
for s in self.stop_criteria:
self.triggered[s] = s.should_stop(epochs_df)
# Then check if any of them was triggered.
return np.any(list(self.triggered.values()))
def was_triggered(self, criterion):
"""
Return if given criterion was triggered in the last call to should stop.
Parameters
----------
criterion: stop criterion
Returns
-------
triggered: bool
"""
return self.triggered[criterion]
class And(object):
"""
Stop when all of the given stop criteria are triggered.
Parameters
----------
stop_criteria: iterable of stop criteria objects
"""
def __init__(self, stop_criteria):
self.stop_criteria = stop_criteria
def should_stop(self, epochs_df):
# Update dictionary of which criterion was triggered ...
for s in self.stop_criteria:
self.triggered[s] = s.should_stop(epochs_df)
# Then check if all of them were triggered.
return np.all(list(self.triggered.values()))
def was_triggered(self, criterion):
"""
Return if given criterion was triggered in the last call to should stop.
Parameters
----------
criterion: stop criterion
Returns
-------
triggered: bool
"""
return self.triggered[criterion]
class NoDecrease(object):
""" Stops if there is no decrease on a given monitor channel
for given number of epochs.
Parameters
----------
column_name: str
Name of column to monitor for decrease.
num_epochs: str
Number of epochs to wait before stopping when there is no decrease.
min_decrease: float, optional
Minimum relative decrease that counts as a decrease. E.g. 0.1 means
only 10% decreases count as a decrease and reset the counter.
"""
def __init__(self, column_name, num_epochs, min_decrease=1e-6):
self.column_name = column_name
self.num_epochs = num_epochs
self.min_decrease = min_decrease
self.best_epoch = 0
self.lowest_val = float('inf')
def should_stop(self, epochs_df):
# -1 due to doing one monitor at start of training
i_epoch = len(epochs_df) - 1
current_val = float(epochs_df[self.column_name].iloc[-1])
if current_val < ((1 - self.min_decrease) * self.lowest_val):
self.best_epoch = i_epoch
self.lowest_val = current_val
return (i_epoch - self.best_epoch) >= self.num_epochs
class ColumnBelow():
"""
Stops if the given column is below the given value.
Parameters
----------
column_name: str
Name of column to monitor.
target_value: float
When column decreases below this value, criterion will say to stop.
"""
def __init__(self, column_name, target_value):
self.column_name = column_name
self.target_value = target_value
def should_stop(self, epochs_df):
# -1 due to doing one monitor at start of training
current_val = float(epochs_df[self.column_name].iloc[-1])
return current_val < self.target_value
+3
Ver Arquivo
@@ -0,0 +1,3 @@
"""
Extensions for the MNE library.
"""
+90
Ver Arquivo
@@ -0,0 +1,90 @@
import logging
from copy import deepcopy
import resampy
from mne.io.base import concatenate_raws
import mne
log = logging.getLogger(__name__)
def concatenate_raws_with_events(raws):
"""
Concatenates `mne.io.RawArray` objects, respects `info['events']` attributes
and concatenates them correctly. Also does not modify `raws[0]` inplace
as the :func:`concatenate_raws` function of MNE does.
Parameters
----------
raws: list of `mne.io.RawArray`
Returns
-------
concatenated_raw: `mne.io.RawArray`
"""
# prevent in-place modification of raws[0]
raws[0] = deepcopy(raws[0])
event_lists = [r.info['events'] for r in raws]
new_raw, new_events = concatenate_raws(raws, events_list=event_lists)
new_raw.info['events'] = new_events
return new_raw
def resample_cnt(cnt, new_fs):
"""
Resample continuous recording using `resampy`.
Parameters
----------
cnt: `mne.io.RawArray`
new_fs: float
New sampling rate.
Returns
-------
resampled: `mne.io.RawArray`
Resampled object.
"""
if new_fs == cnt.info['sfreq']:
log.info(
"Just copying data, no resampling, since new sampling rate same.")
return deepcopy(cnt)
log.warning("This is not causal, uses future data....")
log.info("Resampling from {:f} to {:f} Hz.".format(
cnt.info['sfreq'], new_fs
))
data = cnt.get_data().T
new_data = resampy.resample(data, cnt.info['sfreq'],
new_fs, axis=0, filter='kaiser_fast').T
old_fs = cnt.info['sfreq']
new_info = deepcopy(cnt.info)
new_info['sfreq'] = new_fs
events = new_info['events']
event_samples_old = cnt.info['events'][:, 0]
event_samples = event_samples_old * new_fs / float(old_fs)
events[:, 0] = event_samples
return mne.io.RawArray(new_data, new_info)
def mne_apply(func, raw, verbose='WARNING'):
"""
Apply function to data of `mne.io.RawArray`.
Parameters
----------
func: function
Should accept 2d-array (channels x time) and return modified 2d-array
raw: `mne.io.RawArray`
verbose: bool
Whether to log creation of new `mne.io.RawArray`.
Returns
-------
transformed_set: Copy of `raw` with data transformed by given function.
"""
new_data = func(raw.get_data())
return mne.io.RawArray(new_data, raw.info, verbose=verbose)
+3
Ver Arquivo
@@ -0,0 +1,3 @@
"""
Some predefined network architectures for EEG decoding.
"""
+300
Ver Arquivo
@@ -0,0 +1,300 @@
import time
import numpy as np
from numpy.random import RandomState
import torch as th
from braindecode.experiments.monitors import LossMonitor, MisclassMonitor, \
RuntimeMonitor, CroppedTrialMisclassMonitor, \
compute_trial_labels_from_crop_preds, compute_pred_labels_from_trial_preds
from braindecode.experiments.stopcriteria import MaxEpochs
from braindecode.datautil.iterators import BalancedBatchSizeIterator, \
CropsFromTrialsIterator
from braindecode.experiments.experiment import Experiment
from braindecode.datautil.signal_target import SignalAndTarget
from braindecode.models.util import to_dense_prediction_model
from braindecode.torch_ext.schedulers import CosineAnnealing, ScheduledOptimizer
from braindecode.torch_ext.util import np_to_var, var_to_np
import logging
log = logging.getLogger(__name__)
def find_optimizer(optimizer_name):
optim_found = False
for name in th.optim.__dict__.keys():
if name.lower() == optimizer_name.lower():
optimizer = th.optim.__dict__[name]
optim_found = True
break
if not optim_found:
raise ValueError("Unknown optimizer {:s}".format(optimizer))
return \
optimizer
class BaseModel(object):
def cuda(self):
"""Move underlying model to GPU."""
self._ensure_network_exists()
assert not self.compiled,\
("Call cuda before compiling model, otherwise optimization will not work")
self.network = self.network.cuda()
self.cuda = True
return self
def parameters(self):
"""
Return parameters of underlying torch model.
Returns
-------
parameters: list of torch tensors
"""
self._ensure_network_exists()
return self.network.parameters()
def _ensure_network_exists(self):
if not hasattr(self, 'network'):
self.network = self.create_network()
self.cuda = False
self.compiled = False
def compile(self, loss, optimizer, extra_monitors=None, cropped=False, iterator_seed=0):
"""
Setup training for this model.
Parameters
----------
loss: function (predictions, targets) -> torch scalar
optimizer: `torch.optim.Optimizer` or string
Either supply an optimizer or the name of the class (e.g. 'adam')
extra_monitors: List of Braindecode monitors, optional
In case you want to monitor additional values except for loss, misclass and runtime.
cropped: bool
Whether to perform cropped decoding, see cropped decoding tutorial.
iterator_seed: int
Seed to seed the iterator random generator.
Returns
-------
"""
self.loss = loss
self._ensure_network_exists()
if cropped:
model_already_dense = np.any([
hasattr(m, 'dilation') and (m.dilation != 1) and
(m.dilation) != (1, 1) for m in self.network.modules()
])
if not model_already_dense:
to_dense_prediction_model(self.network)
else:
log.info("Seems model was already converted to dense model...")
if not hasattr(optimizer, 'step'):
optimizer_class = find_optimizer(optimizer)
optimizer = optimizer_class(self.network.parameters())
self.optimizer = optimizer
self.extra_monitors = extra_monitors
# Already setting it here, so multiple calls to fit
# will lead to different batches being drawn
self.seed_rng = RandomState(iterator_seed)
self.cropped = cropped
self.compiled = True
def fit(self, train_X, train_y, epochs, batch_size, input_time_length=None,
validation_data=None, model_constraint=None,
remember_best_column=None, scheduler=None,
log_0_epoch=True):
"""
Fit the model using the given training data.
Will set `epochs_df` variable with a pandas dataframe to the history
of the training process.
Parameters
----------
train_X: ndarray
Training input data
train_y: 1darray
Training labels
epochs: int
Number of epochs to train
batch_size: int
input_time_length: int, optional
Super crop size, what temporal size is pushed forward through
the network, see cropped decoding tuturial.
validation_data: (ndarray, 1darray), optional
X and y for validation set if wanted
model_constraint: object, optional
You can supply :class:`.MaxNormDefaultConstraint` if wanted.
remember_best_column: string, optional
In case you want to do an early stopping/reset parameters to some
"best" epoch, define here the monitored value whose minimum
determines the best epoch.
scheduler: 'cosine' or None, optional
Whether to use cosine annealing (:class:`.CosineAnnealing`).
log_0_epoch: bool
Whether to compute the metrics once before training as well.
Returns
-------
exp:
Underlying braindecode :class:`.Experiment`
"""
if (not hasattr(self, 'compiled')) or (not self.compiled):
raise ValueError("Compile the model first by calling model.compile(loss, optimizer, metrics)")
if self.cropped and input_time_length is None:
raise ValueError("In cropped mode, need to specify input_time_length,"
"which is the number of timesteps that will be pushed through"
"the network in a single pass.")
if self.cropped:
self.network.eval()
test_input = np_to_var(np.ones(
(1, train_X.shape[1], input_time_length,) + train_X.shape[3:],
dtype=np.float32))
while len(test_input.size()) < 4:
test_input = test_input.unsqueeze(-1)
if self.cuda:
test_input = test_input.cuda()
out = self.network(test_input)
n_preds_per_input = out.cpu().data.numpy().shape[2]
self.iterator = CropsFromTrialsIterator(
batch_size=batch_size, input_time_length=input_time_length,
n_preds_per_input=n_preds_per_input,
seed=self.seed_rng.randint(0, np.iinfo(np.int32).max-1))
else:
self.iterator = BalancedBatchSizeIterator(
batch_size=batch_size,
seed=self.seed_rng.randint(0, np.iinfo(np.int32).max-1))
if log_0_epoch:
stop_criterion = MaxEpochs(epochs)
else:
stop_criterion = MaxEpochs(epochs - 1)
train_set = SignalAndTarget(train_X, train_y)
optimizer = self.optimizer
if scheduler is not None:
assert scheduler == 'cosine', (
"Supply either 'cosine' or None as scheduler.")
n_updates_per_epoch = sum(
[1 for _ in self.iterator.get_batches(train_set, shuffle=True)])
n_updates_per_period = n_updates_per_epoch * epochs
if scheduler == 'cosine':
scheduler = CosineAnnealing(n_updates_per_period)
schedule_weight_decay = False
if optimizer.__class__.__name__ == 'AdamW':
schedule_weight_decay = True
optimizer = ScheduledOptimizer(scheduler, self.optimizer,
schedule_weight_decay=schedule_weight_decay)
loss_function = self.loss
if self.cropped:
loss_function = lambda outputs, targets:\
self.loss(th.mean(outputs, dim=2), targets)
if validation_data is not None:
valid_set = SignalAndTarget(validation_data[0], validation_data[1])
else:
valid_set = None
test_set = None
self.monitors = [LossMonitor()]
if self.cropped:
self.monitors.append(CroppedTrialMisclassMonitor(input_time_length))
else:
self.monitors.append(MisclassMonitor())
if self.extra_monitors is not None:
self.monitors.extend(self.extra_monitors)
self.monitors.append(RuntimeMonitor())
exp = Experiment(self.network, train_set, valid_set, test_set,
iterator=self.iterator,
loss_function=loss_function, optimizer=optimizer,
model_constraint=model_constraint,
monitors=self.monitors,
stop_criterion=stop_criterion,
remember_best_column=remember_best_column,
run_after_early_stop=False, cuda=self.cuda,
log_0_epoch=log_0_epoch,
do_early_stop=(remember_best_column is not None))
exp.run()
self.epochs_df = exp.epochs_df
return exp
def evaluate(self, X,y):
"""
Evaluate, i.e., compute metrics on given inputs and targets.
Parameters
----------
X: ndarray
Input data.
y: 1darray
Targets.
Returns
-------
result: dict
Dictionary with result metrics.
"""
stop_criterion = MaxEpochs(0)
train_set = SignalAndTarget(X, y)
model_constraint = None
valid_set = None
test_set = None
loss_function = self.loss
if self.cropped:
loss_function = lambda outputs, targets: \
self.loss(th.mean(outputs, dim=2), targets)
# reset runtime monitor if exists...
for monitor in self.monitors:
if hasattr(monitor, 'last_call_time'):
monitor.last_call_time = time.time()
exp = Experiment(self.network, train_set, valid_set, test_set,
iterator=self.iterator,
loss_function=loss_function, optimizer=self.optimizer,
model_constraint=model_constraint,
monitors=self.monitors,
stop_criterion=stop_criterion,
remember_best_column=None,
run_after_early_stop=False, cuda=self.cuda,
log_0_epoch=True,
do_early_stop=False)
exp.monitor_epoch({'train': train_set})
result_dict = dict([(key.replace('train_', ''), val)
for key, val in
dict(exp.epochs_df.iloc[0]).items()])
return result_dict
def predict(self, X, threshold_for_binary_case=None):
"""
Predict the labels for given input data.
Parameters
----------
X: ndarray
Input data.
threshold_for_binary_case: float, optional
In case of a model with single output, the threshold for assigning,
label 0 or 1, e.g. 0.5.
Returns
-------
pred_labels: 1darray
Predicted labels per trial.
"""
all_preds = []
with th.no_grad():
for b_X, _ in self.iterator.get_batches(SignalAndTarget(X, X), False):
b_X_var = np_to_var(b_X)
if self.cuda:
b_X_var = b_X_var.cuda()
all_preds.append(var_to_np(self.network(b_X_var)))
if self.cropped:
pred_labels = compute_trial_labels_from_crop_preds(
all_preds, self.iterator.input_time_length, X)
else:
pred_labels = compute_pred_labels_from_trial_preds(
all_preds, threshold_for_binary_case)
return pred_labels
+194
Ver Arquivo
@@ -0,0 +1,194 @@
import numpy as np
from torch import nn
from torch.nn import init
from torch.nn.functional import elu
from braindecode.models.base import BaseModel
from braindecode.torch_ext.modules import Expression, AvgPool2dWithConv
from braindecode.torch_ext.functions import identity
from braindecode.torch_ext.util import np_to_var
class Deep4Net(BaseModel):
"""
Deep ConvNet model from [1]_.
References
----------
.. [1] Schirrmeister, R. T., Springenberg, J. T., Fiederer, L. D. J.,
Glasstetter, M., Eggensperger, K., Tangermann, M., Hutter, F. & Ball, T. (2017).
Deep learning with convolutional neural networks for EEG decoding and
visualization.
Human Brain Mapping , Aug. 2017. Online: http://dx.doi.org/10.1002/hbm.23730
"""
def __init__(self, in_chans,
n_classes,
input_time_length,
final_conv_length,
n_filters_time=25,
n_filters_spat=25,
filter_time_length=10,
pool_time_length=3,
pool_time_stride=3,
n_filters_2=50,
filter_length_2=10,
n_filters_3=100,
filter_length_3=10,
n_filters_4=200,
filter_length_4=10,
first_nonlin=elu,
first_pool_mode='max',
first_pool_nonlin=identity,
later_nonlin=elu,
later_pool_mode='max',
later_pool_nonlin=identity,
drop_prob=0.5,
double_time_convs=False,
split_first_layer=True,
batch_norm=True,
batch_norm_alpha=0.1,
stride_before_pool=False):
if final_conv_length == 'auto':
assert input_time_length is not None
self.__dict__.update(locals())
del self.self
def create_network(self):
if self.stride_before_pool:
conv_stride = self.pool_time_stride
pool_stride = 1
else:
conv_stride = 1
pool_stride = self.pool_time_stride
pool_class_dict = dict(max=nn.MaxPool2d, mean=AvgPool2dWithConv)
first_pool_class = pool_class_dict[self.first_pool_mode]
later_pool_class = pool_class_dict[self.later_pool_mode]
model = nn.Sequential()
if self.split_first_layer:
model.add_module('dimshuffle', Expression(_transpose_time_to_spat))
model.add_module('conv_time', nn.Conv2d(1, self.n_filters_time,
(
self.filter_time_length, 1),
stride=1, ))
model.add_module('conv_spat',
nn.Conv2d(self.n_filters_time, self.n_filters_spat,
(1, self.in_chans),
stride=(conv_stride, 1),
bias=not self.batch_norm))
n_filters_conv = self.n_filters_spat
else:
model.add_module('conv_time',
nn.Conv2d(self.in_chans, self.n_filters_time,
(self.filter_time_length, 1),
stride=(conv_stride, 1),
bias=not self.batch_norm))
n_filters_conv = self.n_filters_time
if self.batch_norm:
model.add_module('bnorm',
nn.BatchNorm2d(n_filters_conv,
momentum=self.batch_norm_alpha,
affine=True,
eps=1e-5),)
model.add_module('conv_nonlin', Expression(self.first_nonlin))
model.add_module('pool',
first_pool_class(
kernel_size=(self.pool_time_length, 1),
stride=(pool_stride, 1)))
model.add_module('pool_nonlin', Expression(self.first_pool_nonlin))
def add_conv_pool_block(model, n_filters_before,
n_filters, filter_length, block_nr):
suffix = '_{:d}'.format(block_nr)
model.add_module('drop' + suffix,
nn.Dropout(p=self.drop_prob))
model.add_module('conv' + suffix,
nn.Conv2d(n_filters_before, n_filters,
(filter_length, 1),
stride=(conv_stride, 1),
bias=not self.batch_norm))
if self.batch_norm:
model.add_module('bnorm' + suffix,
nn.BatchNorm2d(n_filters,
momentum=self.batch_norm_alpha,
affine=True,
eps=1e-5))
model.add_module('nonlin' + suffix,
Expression(self.later_nonlin))
model.add_module('pool' + suffix,
later_pool_class(
kernel_size=(self.pool_time_length, 1),
stride=(pool_stride, 1)))
model.add_module('pool_nonlin' + suffix,
Expression(self.later_pool_nonlin))
add_conv_pool_block(model, n_filters_conv, self.n_filters_2,
self.filter_length_2, 2)
add_conv_pool_block(model, self.n_filters_2, self.n_filters_3,
self.filter_length_3, 3)
add_conv_pool_block(model, self.n_filters_3, self.n_filters_4,
self.filter_length_4, 4)
model.eval()
if self.final_conv_length == 'auto':
out = model(np_to_var(np.ones(
(1, self.in_chans, self.input_time_length,1),
dtype=np.float32)))
n_out_time = out.cpu().data.numpy().shape[2]
self.final_conv_length = n_out_time
model.add_module('conv_classifier',
nn.Conv2d(self.n_filters_4, self.n_classes,
(self.final_conv_length, 1), bias=True))
model.add_module('softmax', nn.LogSoftmax(dim=1))
model.add_module('squeeze', Expression(_squeeze_final_output))
# Initialization, xavier is same as in our paper...
# was default from lasagne
init.xavier_uniform_(model.conv_time.weight, gain=1)
# maybe no bias in case of no split layer and batch norm
if self.split_first_layer or (not self.batch_norm):
init.constant_(model.conv_time.bias, 0)
if self.split_first_layer:
init.xavier_uniform_(model.conv_spat.weight, gain=1)
if not self.batch_norm:
init.constant_(model.conv_spat.bias, 0)
if self.batch_norm:
init.constant_(model.bnorm.weight, 1)
init.constant_(model.bnorm.bias, 0)
param_dict = dict(list(model.named_parameters()))
for block_nr in range(2,5):
conv_weight = param_dict['conv_{:d}.weight'.format(block_nr)]
init.xavier_uniform_(conv_weight, gain=1)
if not self.batch_norm:
conv_bias = param_dict['conv_{:d}.bias'.format(block_nr)]
init.constant_(conv_bias, 0)
else:
bnorm_weight = param_dict['bnorm_{:d}.weight'.format(block_nr)]
bnorm_bias = param_dict['bnorm_{:d}.bias'.format(block_nr)]
init.constant_(bnorm_weight, 1)
init.constant_(bnorm_bias, 0)
init.xavier_uniform_(model.conv_classifier.weight, gain=1)
init.constant_(model.conv_classifier.bias, 0)
# Start in eval mode
model.eval()
return model
# remove empty dim at end and potentially remove empty time dim
# do not just use squeeze as we never want to remove first dim
def _squeeze_final_output(x):
assert x.size()[3] == 1
x = x[:,:,:,0]
if x.size()[2] == 1:
x = x[:,:,0]
return x
def _transpose_time_to_spat(x):
return x.permute(0, 3, 2, 1)
+236
Ver Arquivo
@@ -0,0 +1,236 @@
import numpy as np
import torch as th
from torch import nn
from torch.nn import init
from torch.nn.functional import elu
from braindecode.models.base import BaseModel
from braindecode.torch_ext.init import glorot_weight_zero_bias
from braindecode.torch_ext.modules import Expression
from braindecode.torch_ext.util import np_to_var
class Conv2dWithConstraint(nn.Conv2d):
def __init__(self, *args, max_norm=1, **kwargs):
self.max_norm = max_norm
super(Conv2dWithConstraint, self).__init__(*args, **kwargs)
def forward(self, x):
self.weight.data = th.renorm(self.weight.data, p=2, dim=0,
maxnorm=self.max_norm)
return super(Conv2dWithConstraint, self).forward(x)
class EEGNetv4(BaseModel):
"""
EEGNet v4 model from [EEGNet4]_.
Notes
-----
This implementation is not guaranteed to be correct, has not been checked
by original authors, only reimplemented from the paper description.
References
----------
.. [EEGNet4] Lawhern, V. J., Solon, A. J., Waytowich, N. R., Gordon,
S. M., Hung, C. P., & Lance, B. J. (2018).
EEGNet: A Compact Convolutional Network for EEG-based
Brain-Computer Interfaces.
arXiv preprint arXiv:1611.08024.
"""
def __init__(self, in_chans,
n_classes,
final_conv_length='auto',
input_time_length=None,
pool_mode='mean',
F1=8,
D=2,
F2=16, # usually set to F1*D (?)
kernel_length=64,
third_kernel_size=(8, 4),
drop_prob=0.25
):
if final_conv_length == 'auto':
assert input_time_length is not None
self.__dict__.update(locals())
del self.self
def create_network(self):
pool_class = dict(max=nn.MaxPool2d, mean=nn.AvgPool2d)[self.pool_mode]
model = nn.Sequential()
# b c 0 1
# now to b 1 0 c
model.add_module('dimshuffle', Expression(_transpose_to_b_1_c_0))
model.add_module('conv_temporal', nn.Conv2d(
1, self.F1, (1, self.kernel_length), stride=1, bias=False,
padding=(0, self.kernel_length // 2,)))
model.add_module('bnorm_temporal', nn.BatchNorm2d(
self.F1, momentum=0.01, affine=True, eps=1e-3), )
model.add_module('conv_spatial', Conv2dWithConstraint(
self.F1, self.F1 * self.D, (self.in_chans, 1), max_norm=1, stride=1, bias=False,
groups=self.F1,
padding=(0, 0)))
model.add_module('bnorm_1', nn.BatchNorm2d(
self.F1 * self.D, momentum=0.01, affine=True, eps=1e-3), )
model.add_module('elu_1', Expression(elu))
model.add_module('pool_1', pool_class(
kernel_size=(1, 4), stride=(1, 4)))
model.add_module('drop_1', nn.Dropout(p=self.drop_prob))
# https://discuss.pytorch.org/t/how-to-modify-a-conv2d-to-depthwise-separable-convolution/15843/7
model.add_module('conv_separable_depth', nn.Conv2d(
self.F1 * self.D, self.F1 * self.D, (1, 16), stride=1, bias=False, groups=self.F1 * self.D,
padding=(0, 16 // 2)))
model.add_module('conv_separable_point', nn.Conv2d(
self.F1 * self.D, self.F2, (1, 1), stride=1, bias=False,
padding=(0, 0)))
model.add_module('bnorm_2', nn.BatchNorm2d(
self.F2, momentum=0.01, affine=True, eps=1e-3), )
model.add_module('elu_2', Expression(elu))
model.add_module('pool_2', pool_class(
kernel_size=(1, 8), stride=(1, 8)))
model.add_module('drop_2', nn.Dropout(p=self.drop_prob))
out = model(np_to_var(np.ones(
(1, self.in_chans, self.input_time_length, 1),
dtype=np.float32)))
n_out_virtual_chans = out.cpu().data.numpy().shape[2]
if self.final_conv_length == 'auto':
n_out_time = out.cpu().data.numpy().shape[3]
self.final_conv_length = n_out_time
model.add_module('conv_classifier', nn.Conv2d(
self.F2, self.n_classes,
(n_out_virtual_chans, self.final_conv_length,), bias=True))
model.add_module('softmax', nn.LogSoftmax())
# Transpose back to the the logic of braindecode,
# so time in third dimension (axis=2)
model.add_module('permute_back', Expression(_transpose_1_0))
model.add_module('squeeze', Expression(_squeeze_final_output))
glorot_weight_zero_bias(model)
return model
def _transpose_to_b_1_c_0(x):
return x.permute(0, 3, 1, 2)
def _transpose_1_0(x):
return x.permute(0, 1, 3, 2)
# remove empty dim at end and potentially remove empty time dim
# do not just use squeeze as we never want to remove first dim
def _squeeze_final_output(x):
assert x.size()[3] == 1
x = x[:, :, :, 0]
if x.size()[2] == 1:
x = x[:, :, 0]
return x
class EEGNet(object):
"""
EEGNet model from [EEGNet]_.
Notes
-----
This implementation is not guaranteed to be correct, has not been checked
by original authors, only reimplemented from the paper description.
References
----------
.. [EEGNet] Lawhern, V. J., Solon, A. J., Waytowich, N. R., Gordon,
S. M., Hung, C. P., & Lance, B. J. (2016).
EEGNet: A Compact Convolutional Network for EEG-based
Brain-Computer Interfaces.
arXiv preprint arXiv:1611.08024.
"""
def __init__(self, in_chans,
n_classes,
final_conv_length='auto',
input_time_length=None,
pool_mode='max',
second_kernel_size=(2,32),
third_kernel_size=(8,4),
drop_prob=0.25
):
if final_conv_length == 'auto':
assert input_time_length is not None
self.__dict__.update(locals())
del self.self
def create_network(self):
pool_class = dict(max=nn.MaxPool2d, mean=nn.AvgPool2d)[self.pool_mode]
model = nn.Sequential()
n_filters_1 = 16
model.add_module('conv_1', nn.Conv2d(
self.in_chans, n_filters_1, (1, 1), stride=1, bias=True))
model.add_module('bnorm_1', nn.BatchNorm2d(
n_filters_1, momentum=0.01, affine=True, eps=1e-3),)
model.add_module('elu_1', Expression(elu))
# transpose to examples x 1 x (virtual, not EEG) channels x time
model.add_module('permute_1', Expression(lambda x: x.permute(0,3,1,2)))
model.add_module('drop_1', nn.Dropout(p=self.drop_prob))
n_filters_2 = 4
# keras padds unequal padding more in front, so padding
# too large should be ok.
# Not padding in time so that croped training makes sense
# https://stackoverflow.com/questions/43994604/padding-with-even-kernel-size-in-a-convolutional-layer-in-keras-theano
model.add_module('conv_2', nn.Conv2d(
1, n_filters_2, self.second_kernel_size, stride=1,
padding=(self.second_kernel_size[0] // 2, 0),
bias=True))
model.add_module('bnorm_2',nn.BatchNorm2d(
n_filters_2, momentum=0.01, affine=True, eps=1e-3),)
model.add_module('elu_2', Expression(elu))
model.add_module('pool_2', pool_class(
kernel_size=(2, 4), stride=(2, 4)))
model.add_module('drop_2', nn.Dropout(p=self.drop_prob))
n_filters_3 = 4
model.add_module('conv_3', nn.Conv2d(
n_filters_2, n_filters_3, self.third_kernel_size, stride=1,
padding=(self.third_kernel_size[0] // 2, 0),
bias=True))
model.add_module('bnorm_3',nn.BatchNorm2d(
n_filters_3, momentum=0.01, affine=True, eps=1e-3),)
model.add_module('elu_3', Expression(elu))
model.add_module('pool_3', pool_class(
kernel_size=(2, 4), stride=(2, 4)))
model.add_module('drop_3', nn.Dropout(p=self.drop_prob))
out = model(np_to_var(np.ones(
(1, self.in_chans, self.input_time_length, 1),
dtype=np.float32)))
n_out_virtual_chans = out.cpu().data.numpy().shape[2]
if self.final_conv_length == 'auto':
n_out_time = out.cpu().data.numpy().shape[3]
self.final_conv_length = n_out_time
model.add_module('conv_classifier', nn.Conv2d(
n_filters_3, self.n_classes,
(n_out_virtual_chans, self.final_conv_length,), bias=True))
model.add_module('softmax', nn.LogSoftmax())
# Transpose back to the the logic of braindecode,
# so time in third dimension (axis=2)
model.add_module('permute_2', Expression(lambda x: x.permute(0,1,3,2)))
model.add_module('squeeze', Expression(_squeeze_final_output))
glorot_weight_zero_bias(model)
return model
+108
Ver Arquivo
@@ -0,0 +1,108 @@
import torch as th
from torch import nn
from torch.nn import ConstantPad2d
from braindecode.models.base import BaseModel
from braindecode.models.deep4 import Deep4Net
from braindecode.models.shallow_fbcsp import ShallowFBCSPNet
from braindecode.models.util import to_dense_prediction_model
class HybridNet(BaseModel):
"""
Wrapper for HybridNetModule
"""
def __init__(self, in_chans, n_classes, input_time_length):
self.in_chans = in_chans
self.n_classes = n_classes
self.input_time_length = input_time_length
def create_network(self):
return HybridNetModule(
in_chans=self.in_chans,
n_classes=self.n_classes,
input_time_length=self.input_time_length
)
class HybridNetModule(nn.Module):
"""
Hybrid ConvNet model from [3]_.
Very hardcoded at the moment.
References
----------
.. [3] Schirrmeister, R. T., Springenberg, J. T., Fiederer, L. D. J.,
Glasstetter, M., Eggensperger, K., Tangermann, M., Hutter, F. & Ball, T. (2017).
Deep learning with convolutional neural networks for EEG decoding and
visualization.
Human Brain Mapping , Aug. 2017. Online: http://dx.doi.org/10.1002/hbm.23730
"""
def __init__(self, in_chans, n_classes, input_time_length):
super(HybridNetModule, self).__init__()
deep_model = Deep4Net(in_chans, n_classes, n_filters_time=20,
n_filters_spat=30,
n_filters_2=40,
n_filters_3=50,
n_filters_4=60,
input_time_length=input_time_length,
final_conv_length=2).create_network()
shallow_model = ShallowFBCSPNet(in_chans, n_classes,
input_time_length=input_time_length,
n_filters_time=30,
n_filters_spat=40,
filter_time_length=28,
final_conv_length=29,
).create_network()
reduced_deep_model = nn.Sequential()
for name, module in deep_model.named_children():
if name == 'conv_classifier':
new_conv_layer = nn.Conv2d(module.in_channels, 60,
kernel_size=module.kernel_size,
stride=module.stride)
reduced_deep_model.add_module('deep_final_conv', new_conv_layer)
break
reduced_deep_model.add_module(name, module)
reduced_shallow_model = nn.Sequential()
for name, module in shallow_model.named_children():
if name == 'conv_classifier':
new_conv_layer = nn.Conv2d(module.in_channels, 40,
kernel_size=module.kernel_size,
stride=module.stride)
reduced_shallow_model.add_module('shallow_final_conv',
new_conv_layer)
break
reduced_shallow_model.add_module(name, module)
to_dense_prediction_model(reduced_deep_model)
to_dense_prediction_model(reduced_shallow_model)
self.reduced_deep_model = reduced_deep_model
self.reduced_shallow_model = reduced_shallow_model
self.final_conv = nn.Conv2d(100, n_classes, kernel_size=(1, 1),
stride=1)
def create_network(self):
return self
def forward(self, x):
deep_out = self.reduced_deep_model(x)
shallow_out = self.reduced_shallow_model(x)
n_diff_deep_shallow = deep_out.size()[2] - shallow_out.size()[2]
if n_diff_deep_shallow < 0:
deep_out = ConstantPad2d((0, 0, -n_diff_deep_shallow, 0), 0)(
deep_out)
elif n_diff_deep_shallow > 0:
shallow_out = ConstantPad2d((0, 0, n_diff_deep_shallow, 0), 0)(
shallow_out)
merged_out = th.cat((deep_out, shallow_out), dim=1)
linear_out = self.final_conv(merged_out)
softmaxed = nn.LogSoftmax(dim=1)(linear_out)
squeezed = softmaxed.squeeze(3)
return squeezed
+119
Ver Arquivo
@@ -0,0 +1,119 @@
import numpy as np
from torch import nn
from torch.nn import init
from braindecode.models.base import BaseModel
from braindecode.torch_ext.modules import Expression
from braindecode.torch_ext.functions import safe_log, square
from braindecode.torch_ext.util import np_to_var
class ShallowFBCSPNet(BaseModel):
"""
Shallow ConvNet model from [2]_.
References
----------
.. [2] Schirrmeister, R. T., Springenberg, J. T., Fiederer, L. D. J.,
Glasstetter, M., Eggensperger, K., Tangermann, M., Hutter, F. & Ball, T. (2017).
Deep learning with convolutional neural networks for EEG decoding and
visualization.
Human Brain Mapping , Aug. 2017. Online: http://dx.doi.org/10.1002/hbm.23730
"""
def __init__(self, in_chans,
n_classes,
input_time_length=None,
n_filters_time=40,
filter_time_length=25,
n_filters_spat=40,
pool_time_length=75,
pool_time_stride=15,
final_conv_length=30,
conv_nonlin=square,
pool_mode='mean',
pool_nonlin=safe_log,
split_first_layer=True,
batch_norm=True,
batch_norm_alpha=0.1,
drop_prob=0.5):
if final_conv_length == 'auto':
assert input_time_length is not None
self.__dict__.update(locals())
del self.self
def create_network(self):
pool_class = dict(max=nn.MaxPool2d, mean=nn.AvgPool2d)[self.pool_mode]
model = nn.Sequential()
if self.split_first_layer:
model.add_module('dimshuffle', Expression(_transpose_time_to_spat))
model.add_module('conv_time', nn.Conv2d(1, self.n_filters_time,
(
self.filter_time_length, 1),
stride=1, ))
model.add_module('conv_spat',
nn.Conv2d(self.n_filters_time, self.n_filters_spat,
(1, self.in_chans), stride=1,
bias=not self.batch_norm))
n_filters_conv = self.n_filters_spat
else:
model.add_module('conv_time',
nn.Conv2d(self.in_chans, self.n_filters_time,
(self.filter_time_length, 1),
stride=1,
bias=not self.batch_norm))
n_filters_conv = self.n_filters_time
if self.batch_norm:
model.add_module('bnorm',
nn.BatchNorm2d(n_filters_conv,
momentum=self.batch_norm_alpha,
affine=True),)
model.add_module('conv_nonlin', Expression(self.conv_nonlin))
model.add_module('pool',
pool_class(kernel_size=(self.pool_time_length, 1),
stride=(self.pool_time_stride, 1)))
model.add_module('pool_nonlin', Expression(self.pool_nonlin))
model.add_module('drop', nn.Dropout(p=self.drop_prob))
if self.final_conv_length == 'auto':
out = model(np_to_var(np.ones(
(1, self.in_chans, self.input_time_length,1),
dtype=np.float32)))
n_out_time = out.cpu().data.numpy().shape[2]
self.final_conv_length = n_out_time
model.add_module('conv_classifier',
nn.Conv2d(n_filters_conv, self.n_classes,
(self.final_conv_length, 1), bias=True))
model.add_module('softmax', nn.LogSoftmax(dim=1))
model.add_module('squeeze', Expression(_squeeze_final_output))
# Initialization, xavier is same as in paper...
init.xavier_uniform_(model.conv_time.weight, gain=1)
# maybe no bias in case of no split layer and batch norm
if self.split_first_layer or (not self.batch_norm):
init.constant_(model.conv_time.bias, 0)
if self.split_first_layer:
init.xavier_uniform_(model.conv_spat.weight, gain=1)
if not self.batch_norm:
init.constant_(model.conv_spat.bias, 0)
if self.batch_norm:
init.constant_(model.bnorm.weight, 1)
init.constant_(model.bnorm.bias, 0)
init.xavier_uniform_(model.conv_classifier.weight, gain=1)
init.constant_(model.conv_classifier.bias, 0)
return model
# remove empty dim at end and potentially remove empty time dim
# do not just use squeeze as we never want to remove first dim
def _squeeze_final_output(x):
assert x.size()[3] == 1
x = x[:,:,:,0]
if x.size()[2] == 1:
x = x[:,:,0]
return x
def _transpose_time_to_spat(x):
return x.permute(0, 3, 2, 1)
+45
Ver Arquivo
@@ -0,0 +1,45 @@
import numpy as np
def to_dense_prediction_model(model, axis=(2, 3)):
"""
Transform a sequential model with strides to a model that outputs
dense predictions by removing the strides and instead inserting dilations.
Modifies model in-place.
Parameters
----------
model
axis: int or (int,int)
Axis to transform (in terms of intermediate output axes)
can either be 2, 3, or (2,3).
Notes
-----
Does not yet work correctly for average pooling.
Prior to version 0.1.7, there had been a bug that could move strides
backwards one layer.
"""
if not hasattr(axis, '__len__'):
axis = [axis]
assert all([ax in [2, 3] for ax in axis]), "Only 2 and 3 allowed for axis"
axis = np.array(axis) - 2
stride_so_far = np.array([1, 1])
for module in model.modules():
if hasattr(module, 'dilation'):
assert module.dilation == 1 or (module.dilation == (1, 1)), (
"Dilation should equal 1 before conversion, maybe the model is "
"already converted?")
new_dilation = [1, 1]
for ax in axis:
new_dilation[ax] = int(stride_so_far[ax])
module.dilation = tuple(new_dilation)
if hasattr(module, 'stride'):
if not hasattr(module.stride, '__len__'):
module.stride = (module.stride, module.stride)
stride_so_far *= np.array(module.stride)
new_stride = list(module.stride)
for ax in axis:
new_stride[ax] = 1
module.stride = tuple(new_stride)
+3
Ver Arquivo
@@ -0,0 +1,3 @@
"""
Torch extensions, for example new functions or modules.
"""
+27
Ver Arquivo
@@ -0,0 +1,27 @@
import torch as th
class MaxNormDefaultConstraint(object):
"""
Applies max L2 norm 2 to the weights until the final layer and L2 norm 0.5
to the weights of the final layer as done in [1]_.
References
----------
.. [1] Schirrmeister, R. T., Springenberg, J. T., Fiederer, L. D. J.,
Glasstetter, M., Eggensperger, K., Tangermann, M., Hutter, F. & Ball, T. (2017).
Deep learning with convolutional neural networks for EEG decoding and
visualization.
Human Brain Mapping , Aug. 2017. Online: http://dx.doi.org/10.1002/hbm.23730
"""
def apply(self, model):
last_weight = None
for name, module in list(model.named_children()):
if hasattr(module, 'weight') and (
not module.__class__.__name__.startswith('BatchNorm')):
module.weight.data = th.renorm(module.weight.data,2,0,maxnorm=2)
last_weight = module.weight
if last_weight is not None:
last_weight.data = th.renorm(last_weight.data,2,0,maxnorm=0.5)
+13
Ver Arquivo
@@ -0,0 +1,13 @@
import torch as th
def square(x):
return x * x
def safe_log(x, eps=1e-6):
""" Prevents :math:`log(0)` by using :math:`log(max(x, eps))`."""
return th.log(th.clamp(x, min=eps))
def identity(x):
return x
+23
Ver Arquivo
@@ -0,0 +1,23 @@
from torch.nn import init
def glorot_weight_zero_bias(model):
"""
Initalize parameters of all modules
by initializing weights with glorot uniform/xavier initialization,
and setting biases to zero.
Weights from batch norm layers are set to 1.
Parameters
----------
model: Module
"""
for module in model.modules():
if hasattr(module, 'weight'):
if not ('BatchNorm' in module.__class__.__name__):
init.xavier_uniform_(module.weight, gain=1)
else:
init.constant_(module.weight, 1)
if hasattr(module, 'bias'):
if module.bias is not None:
init.constant_(module.bias, 0)
+83
Ver Arquivo
@@ -0,0 +1,83 @@
import torch as th
def log_categorical_crossentropy_1_hot(logpreds, targets, dims=None):
"""
Returns log categorical crossentropy for given log-predictions and targets,
targets should be one-hot-encoded.
Computes :math:`-\mathrm{logpreds} \cdot \mathrm{targets}`
Parameters
----------
logpreds: `torch.autograd.Variable`
Logarithm of softmax output.
targets: `torch.autograd.Variable`
One-hot encoded targets
dims: int or iterable of int, optional.
Compute sum across these dims
Returns
-------
loss: `torch.autograd.Variable`
:math:`-\mathrm{logpreds} \cdot \mathrm{targets}`
"""
assert logpreds.size() == targets.size()
result = -logpreds * targets
# Sum across dims if axis given or more than 1 dim
if dims is not None:
if not hasattr(dims, '__len__'):
dims = [dims]
for dim in dims:
result = th.sum(result, dim=int(dim))
return result
def log_categorical_crossentropy(log_preds, targets, class_weights=None):
"""
Returns log categorical crossentropy for given log-predictions and targets.
Computes :math:`-\mathrm{logpreds} \cdot \mathrm{targets}` if you assume
targets to be one-hot-encoded. Also works for targets that are not
one-hot-encoded, in this case only uses targets that are in the range
of the expected class labels, i.e., [0,log_preds.size()[1]-1].
Parameters
----------
log_preds: torch.autograd.Variable`
Logarithm of softmax output.
targets: `torch.autograd.Variable`
class_weights: list of int, optional
Weights given to loss of different classes
Returns
-------
loss: `torch.autograd.Variable`
"""
if log_preds.size() == targets.size():
assert class_weights is None, (
"Class weights not implemented for one-hot")
return log_categorical_crossentropy_1_hot(log_preds, targets)
n_classes = log_preds.size()[1]
n_elements = 0
losses = []
for i_class in range(n_classes):
mask = targets == i_class
mask = mask.type_as(log_preds)
n_elements -= th.sum(mask)
this_loss = th.sum(mask * log_preds[:,i_class])
if class_weights is not None:
this_loss = this_loss * class_weights[i_class]
losses.append(this_loss)
return th.sum(th.stack(losses)) / n_elements
def l2_loss(model):
losses = [th.sum(p * p) for p in model.parameters()]
return sum(losses)
def l1_loss(model):
losses = [th.sum(th.abs(p)) for p in model.parameters()]
return sum(losses)
+128
Ver Arquivo
@@ -0,0 +1,128 @@
import numpy as np
import torch
import torch.nn.functional as F
from braindecode.torch_ext.util import np_to_var
class Expression(torch.nn.Module):
"""
Compute given expression on forward pass.
Parameters
----------
expression_fn: function
Should accept variable number of objects of type
`torch.autograd.Variable` to compute its output.
"""
def __init__(self, expression_fn):
super(Expression, self).__init__()
self.expression_fn = expression_fn
def forward(self, *x):
return self.expression_fn(*x)
def __repr__(self):
if (hasattr(self.expression_fn, 'func') and
hasattr(self.expression_fn, 'kwargs')):
expression_str = "{:s} {:s}".format(
self.expression_fn.func.__name__,
str(self.expression_fn.kwargs))
elif hasattr(self.expression_fn, '__name__'):
expression_str = self.expression_fn.__name__
else:
expression_str = repr(self.expression_fn)
return (self.__class__.__name__ + '(' +
'expression=' + str(expression_str) + ')')
class AvgPool2dWithConv(torch.nn.Module):
"""
Compute average pooling using a convolution, to have the dilation parameter.
Parameters
----------
kernel_size: (int,int)
Size of the pooling region.
stride: (int,int)
Stride of the pooling operation.
dilation: int or (int,int)
Dilation applied to the pooling filter.
padding: int or (int,int)
Padding applied before the pooling operation.
"""
def __init__(self, kernel_size, stride, dilation=1, padding=0):
super(AvgPool2dWithConv, self).__init__()
self.kernel_size = kernel_size
self.stride = stride
self.dilation = dilation
self.padding = padding
# don't name them "weights" to
# make sure these are not accidentally used by some procedure
# that initializes parameters or something
self._pool_weights = None
def forward(self, x):
# Create weights for the convolution on demand:
# size or type of x changed...
in_channels = x.size()[1]
weight_shape = (in_channels, 1,
self.kernel_size[0], self.kernel_size[1])
if self._pool_weights is None or (
(tuple(self._pool_weights.size()) != tuple(weight_shape)) or (
self._pool_weights.is_cuda != x.is_cuda
) or (
self._pool_weights.data.type() != x.data.type()
)):
n_pool = np.prod(self.kernel_size)
weights = np_to_var(
np.ones(weight_shape, dtype=np.float32) / float(n_pool))
weights = weights.type_as(x)
if x.is_cuda:
weights = weights.cuda()
self._pool_weights = weights
pooled = F.conv2d(x, self._pool_weights, bias=None, stride=self.stride,
dilation=self.dilation,
padding=self.padding,
groups=in_channels,)
return pooled
class IntermediateOutputWrapper(torch.nn.Module):
"""Wraps network model such that outputs of intermediate layers can be returned.
forward() returns list of intermediate activations in a network during forward pass.
Parameters
----------
to_select : list
list of module names for which activation should be returned
model : model object
network model
Examples
--------
>>> model = Deep4Net()
>>> select_modules = ['conv_spat','conv_2','conv_3','conv_4'] # Specify intermediate outputs
>>> model_pert = IntermediateOutputWrapper(select_modules,model) # Wrap model
"""
def __init__(self, to_select, model):
if not len(list(model.children()))==len(list(model.named_children())):
raise Exception('All modules in model need to have names!')
super(IntermediateOutputWrapper, self).__init__()
modules_list = model.named_children()
for key, module in modules_list:
self.add_module(key, module)
self._modules[key].load_state_dict(module.state_dict())
self._to_select = to_select
def forward(self,x):
# Call modules individually and append activation to output if module is in to_select
o = []
for name, module in self._modules.items():
x = module(x)
if name in self._to_select:
o.append(x)
return o
+84
Ver Arquivo
@@ -0,0 +1,84 @@
import math
import torch
from torch.optim.optimizer import Optimizer
class AdamW(Optimizer):
"""Implements Adam algorithm with weight decay fixed as in [AdamW]_` .
Parameters
----------
params: iterable
Iterable of parameters to optimize or dicts defining parameter groups
lr: float, optional
Learning rate.
betas: Tuple[float, float], optional
Coefficients used for computing running averages of gradient and its square
eps: float, optional
Term added to the denominator to improve numerical stability
weight_decay: float, optional
The "fixed" weight decay.
References
----------
.. [AdamW] Loshchilov, I. & Hutter, F. (2017).
Fixing Weight Decay Regularization in Adam.
arXiv preprint arXiv:1711.05101.
Online: https://arxiv.org/abs/1711.05101
"""
def __init__(self, params, lr=1e-3, betas=(0.9, 0.999), eps=1e-8,
weight_decay=0):
defaults = dict(lr=lr, betas=betas, eps=eps,
weight_decay=weight_decay)
super(AdamW, self).__init__(params, defaults)
def step(self, closure=None):
"""Performs a single optimization step.
Arguments:
closure (callable, optional): A closure that reevaluates the model
and returns the loss.
"""
loss = None
if closure is not None:
loss = closure()
for group in self.param_groups:
for p in group['params']:
if p.grad is None:
continue
grad = p.grad.data
state = self.state[p]
# State initialization
if len(state) == 0:
state['step'] = 0
# Exponential moving average of gradient values
state['exp_avg'] = grad.new().resize_as_(grad).zero_()
# Exponential moving average of squared gradient values
state['exp_avg_sq'] = grad.new().resize_as_(grad).zero_()
exp_avg, exp_avg_sq = state['exp_avg'], state['exp_avg_sq']
beta1, beta2 = group['betas']
state['step'] += 1
# Decay the first and second moment running average coefficient
exp_avg.mul_(beta1).add_(1 - beta1, grad)
exp_avg_sq.mul_(beta2).addcmul_(1 - beta2, grad, grad)
denom = exp_avg_sq.sqrt().add_(group['eps'])
bias_correction1 = 1 - beta1 ** state['step']
bias_correction2 = 1 - beta2 ** state['step']
step_size = group['lr'] * math.sqrt(bias_correction2) / bias_correction1
p.data.addcdiv_(-step_size, exp_avg, denom)
if group['weight_decay'] != 0:
p.data.add_(-group['weight_decay'], p.data)
return loss
+65
Ver Arquivo
@@ -0,0 +1,65 @@
import numpy as np
class ScheduledOptimizer(object):
def __init__(self, scheduler, optimizer,
schedule_weight_decay):
self.scheduler = scheduler
self.optimizer = optimizer
self.schedule_weight_decay = schedule_weight_decay
self.initial_lrs = list(map(
lambda group: group['lr'], optimizer.param_groups))
self.initial_weight_decays = list(map(
lambda group: group['weight_decay'], optimizer.param_groups))
self.i_update = 0
def step(self):
for group, initial_lr, initial_wd in zip(
self.optimizer.param_groups,
self.initial_lrs,
self.initial_weight_decays):
group['lr'] = self.scheduler.get_lr(initial_lr, self.i_update)
if self.schedule_weight_decay:
group['weight_decay'] = self.scheduler.get_weight_decay(
initial_wd, self.i_update)
self.optimizer.step()
self.i_update += 1
def state_dict(self):
return self.optimizer.state_dict()
def load_state_dict(self, state_dict):
self.optimizer.load_state_dict(state_dict)
def zero_grad(self):
self.optimizer.zero_grad()
class CosineAnnealing(object):
def __init__(self, n_updates_per_period,):
if not hasattr(n_updates_per_period, '__len__'):
n_updates_per_period = [n_updates_per_period]
assert np.all(np.array(n_updates_per_period) > 0)
self.update_period_boundaries = np.cumsum(n_updates_per_period)
self.update_period_boundaries = np.concatenate((
[0], self.update_period_boundaries))
def get_lr(self, initial_val, i_update):
# i_update + 1 in error message since first update is i_update=0
assert i_update < self.update_period_boundaries[-1], (
"More updates ({:d}) than expected ({:d})".format(
i_update + 1, self.update_period_boundaries[-1]))
i_end_period = np.searchsorted(self.update_period_boundaries,
i_update, side='right')
assert i_end_period > 0
i_start_update = self.update_period_boundaries[i_end_period - 1]
i_end_update = self.update_period_boundaries[i_end_period]
i_update = i_update - i_start_update
assert i_update >= 0
n_updates_this_period = i_end_update - i_start_update
fraction_period = i_update / np.float64(n_updates_this_period)
return initial_val * (0.5 * np.cos(np.pi * fraction_period) + 0.5)
def get_weight_decay(self, initial_val, i_update):
return self.get_lr(initial_val, i_update)
+76
Ver Arquivo
@@ -0,0 +1,76 @@
import torch as th
from torch.autograd import Variable
import numpy as np
import random
def np_to_var(X, requires_grad=False, dtype=None, pin_memory=False,
**tensor_kwargs):
"""
Convenience function to transform numpy array to `torch.Tensor`.
Converts `X` to ndarray using asarray if necessary.
Parameters
----------
X: ndarray or list or number
Input arrays
requires_grad: bool
passed on to Variable constructor
dtype: numpy dtype, optional
var_kwargs:
passed on to Variable constructor
Returns
-------
var: `torch.Tensor`
"""
if not hasattr(X, '__len__'):
X = [X]
X = np.asarray(X)
if dtype is not None:
X = X.astype(dtype)
X_tensor = th.tensor(X, requires_grad=requires_grad, **tensor_kwargs)
if pin_memory:
X_tensor = X_tensor.pin_memory()
return X_tensor
def var_to_np(var):
"""Convenience function to transform `torch.Tensor` to numpy
array.
Should work both for CPU and GPU."""
return var.cpu().data.numpy()
def set_random_seeds(seed, cuda):
"""
Set seeds for python random module numpy.random and torch.
Parameters
----------
seed: int
Random seed.
cuda: bool
Whether to set cuda seed with torch.
"""
random.seed(seed)
th.manual_seed(seed)
if cuda:
th.cuda.manual_seed_all(seed)
np.random.seed(seed)
def confirm_gpu_availability():
"""
Should crash if gpu not available, attempts to create a FloatTensor on GPU.
Returns
-------
success: bool
Always returns true, should crash if gpu not available
"""
a = th.FloatTensor(1).cuda()
# Just make sure a is not somehow removed by any smart compiling,
# probably not necessary.
return a is not None
+210
Ver Arquivo
@@ -0,0 +1,210 @@
import os
import errno
import numpy as np
def corr(a, b):
"""
Computes correlation only between terms of a and terms of b, not within
a and b.
Parameters
----------
a, b: 2darray, features x samples
Returns
-------
Correlation between features in x and features in y
"""
# Difference to numpy:
# Correlation only between terms of x and y
# not between x and x or y and y
this_cov = cov(a, b)
return _cov_to_corr(this_cov, a, b)
def cov(a, b):
"""
Computes covariance only between terms of a and terms of b, not within
a and b.
Parameters
----------
a, b: 2darray, features x samples
Returns
-------
Covariance between features in x and features in y
"""
demeaned_a = a - np.mean(a, axis=1, keepdims=True)
demeaned_b = b - np.mean(b, axis=1, keepdims=True)
this_cov = np.dot(demeaned_a, demeaned_b.T) / (b.shape[1] - 1)
return this_cov
def _cov_to_corr(this_cov, a, b):
# computing "unbiased" corr
# ddof=1 for unbiased..
var_a = np.var(a, axis=1, ddof=1)
var_b = np.var(b, axis=1, ddof=1)
return _cov_and_var_to_corr(this_cov, var_a, var_b)
def _cov_and_var_to_corr(this_cov, var_a, var_b):
divisor = np.outer(np.sqrt(var_a), np.sqrt(var_b))
return this_cov / divisor
def wrap_reshape_apply_fn(stat_fn, a, b, axis_a, axis_b):
"""
Reshape two nd-arrays into 2d-arrays, apply function and reshape
result back.
Parameters
----------
stat_fn: function
Function to apply to 2d-arrays
a: nd-array: nd-array
b: nd-array
axis_a: int or list of int
sample axis
axis_b: int or list of int
sample axis
Returns
-------
result: nd-array
The result reshaped to remaining_dims_a + remaining_dims_b
"""
if not hasattr(axis_a, '__len__'):
axis_a = [axis_a]
if not hasattr(axis_b, '__len__'):
axis_b = [axis_b]
other_axis_a = [i for i in range(a.ndim) if i not in axis_a]
other_axis_b = [i for i in range(b.ndim) if i not in axis_b]
transposed_topo_a = a.transpose(tuple(other_axis_a) + tuple(axis_a))
n_stat_axis_a = [a.shape[i] for i in axis_a]
n_other_axis_a = [a.shape[i] for i in other_axis_a]
flat_topo_a = transposed_topo_a.reshape(np.prod(n_other_axis_a),
np.prod(n_stat_axis_a))
transposed_topo_b = b.transpose(tuple(other_axis_b) + tuple(axis_b))
n_stat_axis_b = [b.shape[i] for i in axis_b]
n_other_axis_b = [b.shape[i] for i in other_axis_b]
flat_topo_b = transposed_topo_b.reshape(np.prod(n_other_axis_b),
np.prod(n_stat_axis_b))
assert np.array_equal(n_stat_axis_a, n_stat_axis_b)
stat_result = stat_fn(flat_topo_a, flat_topo_b)
topo_result = stat_result.reshape(
tuple(n_other_axis_a) + tuple(n_other_axis_b))
return topo_result
class FuncAndArgs(object):
"""Container for a function and its arguments.
Useful in case you want to pass a function and its arguments
to another function without creating a new class.
You can call the new instance either with the apply method or
the ()-call operator:
>>> FuncAndArgs(max, 2,3).apply(4)
4
>>> FuncAndArgs(max, 2,3)(4)
4
>>> FuncAndArgs(sum, [3,4])(8)
15
"""
def __init__(self, func, *args, **kwargs):
self.func = func
self.args = args
self.kwargs = kwargs
def apply(self, *other_args, **other_kwargs):
all_args = self.args + other_args
all_kwargs = self.kwargs.copy()
all_kwargs.update(other_kwargs)
return self.func(*all_args, **all_kwargs)
def __call__(self, *other_args, **other_kwargs):
return self.apply(*other_args, **other_kwargs)
def add_message_to_exception(exc, additional_message):
# give some more info...
# see http://www.ianbicking.org/blog/2007/09/re-raising-exceptions.html
args = exc.args
if not args:
arg0 = ''
else:
arg0 = args[0]
arg0 += additional_message
exc.args = (arg0, ) + args[1:]
def dict_compare(d1, d2):
"""From http://stackoverflow.com/a/18860653/1469195"""
d1_keys = set(d1.keys())
d2_keys = set(d2.keys())
intersect_keys = d1_keys.intersection(d2_keys)
added = d1_keys - d2_keys
removed = d2_keys - d1_keys
modified = {o : (d1[o], d2[o]) for o in intersect_keys if d1[o] != d2[o]}
same = set(o for o in intersect_keys if d1[o] == d2[o])
return added, removed, modified, same
def dict_equal(d1,d2):
d1_keys = set(d1.keys())
d2_keys = set(d2.keys())
intersect_keys = d1_keys.intersection(d2_keys)
modified = {o : (d1[o], d2[o]) for o in intersect_keys if d1[o] != d2[o]}
return (intersect_keys == d2_keys and intersect_keys == d1_keys and
len(modified) == 0)
def dict_is_subset(d1,d2):
added, removed, modified, same = dict_compare(d1, d2)
return (len(added) == 0 and len(modified) == 0)
def merge_dicts(*dict_args):
'''
Given any number of dicts, shallow copy and merge into a new dict,
precedence goes to key value pairs in latter dicts.
http://stackoverflow.com/a/26853961
'''
result = {}
for dictionary in dict_args:
result.update(dictionary)
return result
def touch_file(path):
# from http://stackoverflow.com/a/12654798/1469195
basedir = os.path.dirname(path)
if not os.path.exists(basedir):
os.makedirs(basedir)
with open(path, 'a'):
os.utime(path, None)
def to_tuple(sequence_or_element, length=None):
if hasattr(sequence_or_element, '__len__'):
assert length is None
return tuple(sequence_or_element)
else:
if length is None:
return (sequence_or_element, )
else:
return (sequence_or_element,) * length
def mkdir_p(path):
try:
os.makedirs(path)
except OSError as exc: # Python >2.5
if exc.errno == errno.EEXIST and os.path.isdir(path):
pass
else:
raise
def select_inverse_inds(arr, inds):
mask = np.ones(len(arr),dtype=bool)
mask[inds] = False
return arr[mask]
+1
Ver Arquivo
@@ -0,0 +1 @@
__version__ = "0.4.7"
+3
Ver Arquivo
@@ -0,0 +1,3 @@
"""
Functions for visualisations, especially of the ConvNets.
"""
+170
Ver Arquivo
@@ -0,0 +1,170 @@
import numpy as np
import torch
def calc_Hout(Hin, kernel, stride, dilation):
Hout = np.floor((Hin-dilation*(kernel-1)-1)/stride+1)
return Hout
def calc_Hin(Hout, kernel, stride, dilation):
Hin = np.ceil((Hout-1)*stride+1+dilation*(kernel-1))
return Hin
def calc_receptive_field_size(model,layer_ind,start_receptive_field=np.ones((2))):
"""Calculate receptive field size for unit in specific layer of the network
Only tested for 2d convolutions/poolings. Dimshuffle operations may lead to a wrong result
Parameters
----------
model : model object
Network model
layer_ind: int
Index of the layer of interest in `model.children()`
start_receptive_field: int, optional
How many units are looked at in specified layer (default: [1,1])
Returns
-------
receptive_field_size : numpy array
[HxW] in the input layer
"""
receptive_field = start_receptive_field
children = list(model.children())[:layer_ind][::-1]
for child in children:
if isinstance(child,torch.nn.Sequential):
receptive_field = calc_receptive_field(child,-1)
elif isinstance(child,torch.nn.Conv2d) or isinstance(child,torch.nn.MaxPool2d) or isinstance(child,torch.nn.AvgPool2d):
receptive_field = calc_Hin(receptive_field,np.asarray(child.kernel_size),
np.asarray(child.stride), np.asarray(child.dilation))
receptive_field_size = receptive_field.astype(np.int)
return receptive_field_size
def get_max_act_index(activations,unique_per_input=True,n_units=None):
"""Retrieve index of maximum activation in a feature map
Parameters
----------
activations : numpy array
[Nx1xHxW] can only take 1 filter
unique_per_input : bool, optional
Specifies if only 1 index (maximum) for each input is returned (default: True)
n_units : int, optional
How many indeces are returned in total. If None all (default: None)
Returns
-------
units : numpy array
[Nx4] with the columns `Input_i`,`Filter(0)`,`H_i`,`W_i` indeces of the units
units_activation : numpy array
Activation of the units
"""
assert len(activations.shape)==4,"Has to be 4d array"
assert activations.shape[1] == 1,"Can only handle individual filter activations"
activations_sorted = activations.argsort(axis=None)[::-1]
activations_sorted_ind = np.unravel_index(activations_sorted,activations.shape)
unique_ind = np.arange(len(activations_sorted_ind[0]))
if unique_per_input:
a,unique_ind = np.unique(activations_sorted_ind[0],return_index=True)
unique_ind = sorted(unique_ind)
if n_units==None:
n_units = len(unique_ind)
activations_sorted_ind = np.asarray(activations_sorted_ind).T
units = activations_sorted_ind[unique_ind[:n_units],:].astype(np.int)
units_activation = activations.flat[activations_sorted[unique_ind[:n_units]]]
return units,units_activation
def calc_receptive_field_for_units_2d(units,receptive_field_size):
recptive_field_tmp = receptive_field_size[np.newaxis,np.newaxis,:,:]
start_inds = units[:,0,]
stop_inds = start_inds+receptive_field_tmp
return start_inds,stop_inds
def get_input_windows_from_units_2d(inputs,units,receptive_field_size):
"""Cut input windows in receptive field of specified units from inputs
Parameters
----------
inputs : numpy array
[NxCxHxW] Inputs x Channels x Time x W
units : numpy array
[Mx4] unit indeces specifying Input and time indeces.
Second dimension consists of Input x Filter(1) x H x W indeces. Can only handle 1 filter.
receptive_field_size : int
Size of receptive field of units on input
Returns
-------
windows : numpy array
Cut input windows
"""
windows = np.zeros((units.shape[0],inputs.shape[1],receptive_field_size[0],receptive_field_size[1]))
for i,unit in enumerate(units):
windows[i] = inputs[unit[0],:,
unit[2]:unit[2]+receptive_field_size[0],
unit[3]:unit[3]+receptive_field_size[1]]
return windows
def most_activating_input_windows(inputs,activations,receptive_field_size,top_percentage=0.05):
"""Get the input windows that evoked highest activation in a feature map
Parameters
----------
inputs : numpy array
[NxCxTx1] Inputs used for the calculation of activations
activations : numpy array
[NxFxHx1] Activations
receptive_field_size : numpy array
[Wx1] Receptive field of a unit of the layer on the input
top_percentage : float, optional
How many of the most activating input windows should be returned (default: top 5%)
Returns
-------
input_windows : numpy array
[FxUxCxWx1] Returns `U` (resulting from top_percentage) input windows for each filter
"""
n_units = int(inputs.shape[0]*top_percentage)
input_windows = np.zeros((activations.shape[1],n_units,inputs.shape[1],
receptive_field_size[0],receptive_field_size[1]))
for filt in range(activations.shape[1]):
units,w = get_max_act_index(activations[:,[filt]],n_units=n_units)
w = w.squeeze()
windows_tmp = get_input_windows_from_units_2d(inputs,units,receptive_field_size)
input_windows[filt] = windows_tmp
return input_windows
def activation_reverse_correlation(inputs,activations,receptive_field_size):
"""Get reverse correlations for filters
Parameters
----------
inputs : numpy array
[NxCxTx1] Inputs used for the calculation of activations
activations : numpy array
[NxFxHx1] Activations
receptive_field_size : numpy array
[Wx1] Receptive field of a unit of the layer on the input
Returns
-------
reverse_corr : numpy array
[FxCxWx1] Reverse correlations over all input windows for each filter
"""
reverse_corr = np.zeros((activations.shape[1],inputs.shape[1],
receptive_field_size[0],receptive_field_size[1]))
for filt in range(activations.shape[1]):
act_tmp = activations[:,filt]
divisor = 0
for start_ind in range(activations.shape[2]):
end_ind = start_ind+receptive_field_size[0]
w = act_tmp[:,[start_ind],:,np.newaxis]
windows_tmp = inputs[:,:,start_ind:end_ind]
reverse_corr[filt] += np.sum(w*windows_tmp,axis=0)
divisor += np.sum(np.abs(w))
reverse_corr[filt] /= divisor
return reverse_corr
+297
Ver Arquivo
@@ -0,0 +1,297 @@
import logging
import numpy as np
from braindecode.datautil.iterators import get_balanced_batches
from braindecode.util import wrap_reshape_apply_fn, corr
log = logging.getLogger(__name__)
def phase_perturbation(amps,phases,rng=None):
"""Takes amps and phases of BxCxF with B input, C channels, F frequencies
Shifts spectral phases randomly U(-pi,pi) for input and frequencies, but same for all channels
Parameters
----------
amps : numpy array
Spectral amplitude (not used)
phases : numpy array
Spectral phases
rng : object
Random Generator
Returns
-------
amps : numpy array
Input amps (not modified)
phases_pert : numpy array
Shifted phases
pert_vals : numpy array
Absolute phase shifts
"""
if rng is None:
rng = np.random.RandomState()
noise_shape = list(phases.shape)
noise_shape[1] = 1 # Do not sample noise for channels individually
# Sample phase perturbation noise
phase_noise = rng.uniform(-np.pi,np.pi,noise_shape).astype(np.float32)
phase_noise_rep = phase_noise.repeat(phases.shape[1],axis=1)
# Apply noise to inputs
phases_pert = phases+phase_noise_rep
phases_pert[phases_pert<-np.pi] += 2*np.pi
phases_pert[phases_pert>np.pi] -= 2*np.pi
pert_vals = np.abs(phase_noise)
return amps,phases_pert,pert_vals
def amp_perturbation_additive(amps,phases,rng=None):
"""Takes amplitudes and phases of BxCxF with B input, C channels, F frequencies
Adds additive noise N(0,0.02) to amplitudes
Parameters
----------
amps : numpy array
Spectral amplitude
phases : numpy array
Spectral phases (not used)
rng : object
Random Seed
Returns
-------
amps_pert : numpy array
Scaled amplitudes
phases_pert : numpy array
Input phases (not modified)
pert_vals : numpy array
Amplitude noise
"""
if rng is None:
rng = np.random.RandomState()
amp_noise = rng.normal(0,1,amps.shape).astype(np.float32)
amps_pert = amps+amp_noise
amps_pert[amps_pert<0] = 0
amp_noise = amps_pert-amps
return amps_pert,phases,amp_noise
def amp_perturbation_multiplicative(amps,phases,rng=None):
"""Takes amplitude and phases of BxCxF with B input, C channels, F frequencies
Adds multiplicative noise N(1,0.02) to amplitudes
Parameters
----------
amps : numpy array
Spectral amplitude
phases : numpy array
Spectral phases (not used)
rng : object
Random Seed
Returns
-------
amps_pert : numpy array
Scaled amplitudes
phases_pert : numpy array
Input phases (not modified)
pert_vals : numpy array
Amplitude scaling factor
"""
if rng is None:
rng = np.random.RandomState()
amp_noise = rng.normal(1,0.02,amps.shape).astype(np.float32)
amps_pert = amps*amp_noise
amps_pert[amps_pert<0] = 0
return amps_pert,phases,amp_noise
def correlate_feature_maps(x,y):
"""Takes two activation matrices of the form Bx[F]xT where B is batch size, F number of filters (optional) and T time points
Returns correlations of the corresponding activations over T
Parameters
----------
x : numpy array
Activations Bx[F]xT
y : numpy array
Activations Bx[F]xT
Returns
correlations : numpy array
Correlations of `x` and `y` Bx[F]
"""
shape_x = x.shape
shape_y = y.shape
assert np.array_equal(shape_x,shape_y)
assert len(shape_x)<4
x = x.reshape((-1,shape_x[-1]))
y = y.reshape((-1,shape_y[-1]))
x = (x-x.mean(axis=1,keepdims=True))/x.std(axis=1,keepdims=True)
y = (y-y.mean(axis=1,keepdims=True))/y.std(axis=1,keepdims=True)
tmp_corr = x*y
corr_ = tmp_corr.sum(axis=1)
#corr_ = np.zeros((x.shape[0]))
#for i in range(x.shape[0]):
# # Correlation of standardized variables
# corr_[i] = np.correlate((x[i]-x[i].mean())/x[i].std(),(y[i]-y[i].mean())/y[i].std())
correlations = corr_.reshape(*shape_x[:-1])
return correlations
def mean_diff_feature_maps(x,y):
"""Takes two activation matrices of the form BxFxT where B is batch size, F number of filters and T time points
Returns mean difference between feature map activations
Parameters
----------
x : numpy array
Activations Bx[F]xT
y : numpy array
Activations Bx[F]xT
Returns
mean_diff : numpy array
Mean difference between `x` and `y` Bx[F]
"""
mean_diff = np.mean(x-y,axis=2)
return mean_diff
def spectral_perturbation_correlation(pert_fn, diff_fn, pred_fn, n_layers, inputs, n_iterations,
batch_size=30,
seed=((2017, 7, 10))):
"""Calculates perturbation correlations for layers in network by perturbing either amplitudes or phases
Parameters
----------
pert_fn : function
Function that perturbs spectral phase and amplitudes of inputs
diff_fn : function
Function that calculates difference between original and perturbed activations
pred_fn : function
Function that returns a list of activations.
Each entry in the list corresponds to the output of 1 layer in a network
n_layers : int
Number of layers pred_fn returns activations for.
inputs : numpy array
Original inputs that are used for perturbation [B,X,T,1]
Phase perturbations are sampled for each input individually, but applied to all X of that input
n_iterations : int
Number of iterations of correlation computation. The higher the better
batch_size : int
Number of inputs that are used for one forward pass. (Concatenated for all inputs)
Returns
-------
pert_corrs : numpy array
List of length n_layers containing average perturbation correlations over iterations
L x CxFrxFi (Channels,Frequencies,Filters)
"""
rng = np.random.RandomState(seed)
# Get batch indeces
batch_inds = get_balanced_batches(
n_trials=len(inputs), rng=rng, shuffle=False, batch_size=batch_size)
# Calculate layer activations and reshape
log.info("Compute original predictions...")
orig_preds = [pred_fn(inputs[inds])
for inds in batch_inds]
use_shape = []
for l in range(n_layers):
tmp = list(orig_preds[0][l].shape)
tmp.extend([1]*(4-len(tmp)))
tmp[0] = len(inputs)
use_shape.append(tmp)
orig_preds_layers = [np.concatenate([orig_preds[o][l] for o in range(len(orig_preds))]).reshape(use_shape[l])
for l in range(n_layers)]
# Compute FFT of inputs
fft_input = np.fft.rfft(inputs, n=inputs.shape[2], axis=2)
amps = np.abs(fft_input)
phases = np.angle(fft_input)
pert_corrs = [0]*n_layers
for i in range(n_iterations):
log.info("Iteration {:d}...".format(i))
log.info("Sample perturbation...")
amps_pert,phases_pert,pert_vals = pert_fn(amps,phases,rng=rng)
# Compute perturbed inputs
log.info("Compute perturbed complex inputs...")
fft_pert = amps_pert*np.exp(1j*phases_pert)
log.info("Compute perturbed real inputs...")
inputs_pert = np.fft.irfft(fft_pert, n=inputs.shape[2], axis=2).astype(np.float32)
# Calculate layer activations for perturbed inputs
log.info("Compute new predictions...")
new_preds = [pred_fn(inputs_pert[inds])
for inds in batch_inds]
new_preds_layers = [np.concatenate([new_preds[o][l] for o in range(len(new_preds))]).reshape(use_shape[l])
for l in range(n_layers)]
for l in range(n_layers):
log.info("Layer {:d}...".format(l))
# Calculate difference of original and perturbed feature map activations
log.info("Compute activation difference...")
preds_diff = diff_fn(new_preds_layers[l][:,:,:,0],orig_preds_layers[l][:,:,:,0])
# Calculate feature map differences with perturbations
log.info("Compute correlation...")
pert_corrs_tmp = wrap_reshape_apply_fn(corr,
pert_vals[:,:,:,0],preds_diff,
axis_a=(0,), axis_b=(0))
pert_corrs[l] += pert_corrs_tmp
pert_corrs = [pert_corrs[l]/n_iterations for l in range(n_layers)] #mean over iterations
return pert_corrs
def compute_amplitude_prediction_correlations(pred_fn, examples, n_iterations,
perturb_fn=amp_perturbation_additive,
batch_size=30,
seed=((2017, 7, 10))):
"""
Perturb input amplitudes and compute correlation between amplitude
perturbations and prediction changes when pushing perturbed input through
the prediction function.
For more details, see [EEGDeepLearning]_.
Parameters
----------
pred_fn: function
Function accepting an numpy input and returning prediction.
examples: ndarray
Numpy examples, first axis should be example axis.
n_iterations: int
Number of iterations to compute.
perturb_fn: function, optional
Function accepting amplitude array and random generator and returning
perturbation. Default is Gaussian perturbation.
batch_size: int, optional
Batch size for computing predictions.
seed: int, optional
Random generator seed
Returns
-------
amplitude_pred_corrs: ndarray
Correlations between amplitude perturbations and prediction changes
for all sensors and frequency bins.
References
----------
.. [EEGDeepLearning] Schirrmeister, R. T., Springenberg, J. T., Fiederer, L. D. J.,
Glasstetter, M., Eggensperger, K., Tangermann, M., Hutter, F. & Ball, T. (2017).
Deep learning with convolutional neural networks for EEG decoding and
visualization.
Human Brain Mapping , Aug. 2017. Online: http://dx.doi.org/10.1002/hbm.23730
"""
pred_fn_new = lambda x: [pred_fn(x)]
pred_corrs = spectral_perturbation_correlation(perturb_fn, mean_diff_feature_maps,
pred_fn_new, 1, examples, n_iterations,
batch_size=batch_size, seed=seed)
return pred_corrs[0]
+172
Ver Arquivo
@@ -0,0 +1,172 @@
# coding=utf-8
import math
import numpy as np
from scipy import interpolate
import matplotlib.pyplot as plt
from matplotlib import patches
from matplotlib.path import Path
from matplotlib import cm
from braindecode.datasets.sensor_positions import CHANNEL_10_20_APPROX, \
get_channelpos
def ax_scalp(v, channels,
ax=None, annotate=False,
vmin=None, vmax=None, cmap=cm.coolwarm,
scalp_line_width=1,
scalp_line_style='solid',
chan_pos_list=CHANNEL_10_20_APPROX,
interpolation='bilinear',
fontsize=8):
"""Draw a scalp plot.
Draws a scalp plot on an existing axes. The method takes an array of
values and an array of the corresponding channel names. It matches
the channel names with an channel position list
to project them correctly on the scalp.
Parameters
----------
v : 1d-array of floats
The values for the channels
channels : 1d array of strings
The corresponding channel names for the values in ``v``
ax : Axes, optional
The axes to draw the scalp plot on. If not provided, the
currently activated axes (i.e. ``gca()``) will be taken
annotate : Boolean, optional
Draw the channel names next to the channel markers.
vmin, vmax : float, optional
The display limits for the values in ``v``. If the data in ``v``
contains values between -3..3 and ``vmin`` and ``vmax`` are set
to -1 and 1, all values smaller than -1 and bigger than 1 will
appear the same as -1 and 1. If not set, the maximum absolute
value in ``v`` is taken to calculate both values.
cmap : matplotlib.colors.colormap, optional
A colormap to define the color transitions.
scalp_line_width: float
Line width for outline of scalp
scalp_line_style: float
Line style for outline of scalp
chan_pos_list: iterable of tuples
First entry should be 'angle' or 'cartesian',
remaining entries 2-tuples of x and y.
interpolation: str
Returns
-------
ax : Axes
the axes on which the plot was drawn
Notes
-----
Code adapted from Wyrm [1]_ toolbox https://github.com/bbci/wyrm.
References
----------
.. [1] Schirrmeister, R. T., Springenberg, J. T., Fiederer, L. D. J.,
Glasstetter, M., Eggensperger, K., Tangermann, M., Hutter, F. & Ball, T. (2017).
Deep learning with convolutional neural networks for EEG decoding and
visualization.
Human Brain Mapping , Aug. 2017. Online: http://dx.doi.org/10.1002/hbm.23730
"""
if ax is None:
ax = plt.gca()
assert len(v) == len(channels), "Should be as many values as channels"
assert interpolation == 'bilinear' or interpolation == 'nearest'
if vmin is None:
# added by me (robintibor@gmail.com)
assert vmax is None
vmin, vmax = -np.max(np.abs(v)), np.max(np.abs(v))
# what if we have an unknown channel?
points = [get_channelpos(c, chan_pos_list) for c in channels]
for c in channels:
assert get_channelpos(c, chan_pos_list) is not None, (
"Expect " + c + " to exist in positions")
z = [v[i] for i in range(len(points))]
# calculate the interpolation
x = [i[0] for i in points]
y = [i[1] for i in points]
# interpolate the in-between values
xx = np.linspace(min(x), max(x), 500)
yy = np.linspace(min(y), max(y), 500)
if interpolation == 'bilinear':
xx_grid, yy_grid = np.meshgrid(xx, yy)
f = interpolate.LinearNDInterpolator(list(zip(x, y)), z)
zz = f(xx_grid, yy_grid)
else:
assert interpolation == 'nearest'
f = interpolate.NearestNDInterpolator(list(zip(x, y)), z)
assert len(xx) == len(yy)
zz = np.ones((len(xx), len(yy)))
for i_x in xrange(len(xx)):
for i_y in xrange(len(yy)):
# somehow this is correct. don't know why :(
zz[i_y, i_x] = f(xx[i_x], yy[i_y])
# zz[i_x,i_y] = f(xx[i_x], yy[i_y])
assert not np.any(np.isnan(zz))
# plot map
image = ax.imshow(zz, vmin=vmin, vmax=vmax, cmap=cmap,
extent=[min(x), max(x), min(y), max(y)], origin='lower',
interpolation=interpolation)
if scalp_line_width > 0:
# paint the head
ax.add_artist(plt.Circle((0, 0), 1, linestyle=scalp_line_style,
linewidth=scalp_line_width, fill=False))
# add a nose
ax.plot([-0.1, 0, 0.1], [1, 1.1, 1], color='black',
linewidth=scalp_line_width, linestyle=scalp_line_style)
# add ears
_add_ears(ax, scalp_line_width, scalp_line_style)
# add markers at channels positions
# set the axes limits, so the figure is centered on the scalp
ax.set_ylim([-1.05, 1.15])
ax.set_xlim([-1.15, 1.15])
# hide the frame and ticks
ax.set_frame_on(False)
ax.set_xticks([])
ax.set_yticks([])
# draw the channel names
if annotate:
for i in zip(channels, list(zip(x, y))):
ax.annotate(" " + i[0], i[1], horizontalalignment="center",
verticalalignment='center', fontsize=fontsize)
ax.set_aspect(1)
return image
def _add_ears(ax, linewidth, linestyle):
start_x = np.cos(10 * np.pi / 180.0)
start_y = np.sin(10 * np.pi / 180.0)
end_x = np.cos(-15 * np.pi / 180.0)
end_y = np.sin(-15 * np.pi / 180.0)
verts = [
(start_x, start_y),
(start_x + 0.05, start_y + 0.05), # out up
(start_x + 0.1, start_y), # further out, back down
(start_x + 0.11, (end_y * 0.7 + start_y * 0.3)), # midpoint
(end_x + 0.14, end_y), # down out start
(end_x + 0.05, end_y - 0.05), # down out further
(end_x, end_y), # endpoint
]
codes = [Path.MOVETO] + [Path.CURVE3] * (len(verts) - 1)
path = Path(verts, codes)
patch = patches.PathPatch(path, facecolor='none',
linestyle=linestyle, linewidth=linewidth)
ax.add_patch(patch)
verts_left = [(-x, y) for x, y in verts]
path_left = Path(verts_left, codes)
patch_left = patches.PathPatch(path_left, facecolor='none',
linestyle=linestyle, linewidth=linewidth)
ax.add_patch(patch_left)
+89
Ver Arquivo
@@ -0,0 +1,89 @@
from scipy.optimize import leastsq
import numpy as np
def err_fn_sin(p,x,y):
return (y-fit_fn_sin(x,*p)).flat
def err_fn_lin(p,x,y):
return (y-fit_fn_lin(x,*p)).flat
def fit_fn_lin(x,*kwargs):
return kwargs[0]+kwargs[1]*x
def fit_fn_sin(x,*kwargs):
freqs = kwargs[0]
amps = kwargs[1]
phases = kwargs[2]
offset = kwargs[3]
sig = np.zeros((len(x)))+offset
sig += amps*np.cos(x*freqs+phases)
return sig
def signal_fit(signals,fs):
"""Fits sinusoid and linear function to signals
see sinfit.fit_fn_sin and sinfit.fit_fn_lin
Parameters
----------
signals : numpy array
[FxCxTx1] Filters x Channels x Time x 1
fs : float
Sampling frequency
Returns
-------
params_sin : numpy array
[FxCx4] Parameters of sinusoid fit
Parameters are: Frequency,Amplitude,Phase,DCOffset
params_lin : numpy array
[FxCx2] Parameters of sinusoid fit
Parameters are: Frequency,Amplitude,Phase,DCOffset
err_sin : numpy array
[FxCx1] MSE for sinusoid fit
err_lin : numpy array
[FxCx1] MSE for linear fit
"""
params_sin = []
params_lin = []
err_sin = []
err_lin = []
freqs = np.fft.rfftfreq(signals.shape[2], d=1.0/fs)[1:]
x = np.linspace(0,signals.shape[2]/fs,signals.shape[2])*2*np.pi
for filt in range(signals.shape[0]):
params_sin_tmp = []
params_lin_tmp = []
err_sin_tmp = []
err_lin_tmp = []
for ch in range(signals.shape[1]):
X_tmp = signals[filt,ch].squeeze()
fft_X = np.fft.rfft(X_tmp,axis=0)
amps_mean = np.abs(fft_X)[1:]
phases_mean = np.angle(fft_X)[1:]
offset = X_tmp.mean()
sort = np.argsort(amps_mean)[::-1][0]
p0 = [freqs[sort],amps_mean[sort],phases_mean[sort],offset]
fit_sin_ch = leastsq(err_fn_sin, p0, args=(x, X_tmp),maxfev=100000)
fit_lin_ch = leastsq(err_fn_lin, [0,0], args=(x, X_tmp),maxfev=100000)
err_sin_ch = np.square(fit_fn_sin(x,*fit_sin_ch[0]) - X_tmp).mean()
err_lin_ch = np.square(fit_fn_lin(x,*fit_lin_ch[0]) - X_tmp).mean()
params_sin_tmp.append(fit_sin_ch[0])
params_lin_tmp.append(fit_lin_ch[0])
err_sin_tmp.append(err_sin_ch)
err_lin_tmp.append(err_lin_ch)
params_sin.append(params_sin_tmp)
params_lin.append(params_lin_tmp)
err_sin.append(err_sin_tmp)
err_lin.append(err_lin_tmp)
params_sin = np.asarray(params_sin)
params_lin = np.asarray(params_lin)
err_sin = np.asarray(err_sin)
err_lin = np.asarray(err_lin)
return params_sin,params_lin,err_sin,err_lin
+33
Ver Arquivo
@@ -0,0 +1,33 @@
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = python3.5 -msphinx
SPHINXPROJ = Braindecode
SOURCEDIR = .
BUILDDIR = ../../braindecode-docs/
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
apidoc:
sphinx-apidoc -M -o source ../braindecode/
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
removeipynbcheckpoints: Makefile
rm -rf notebooks/.ipynb_checkpoints/ notebooks/visualization/.ipynb_checkpoints/
removesource: Makefile
rm -rf source/
rmanddoc: removesource removeipynbcheckpoints apidoc html
echo "Done"
+215
Ver Arquivo
@@ -0,0 +1,215 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Braindecode documentation build configuration file, created by
# sphinx-quickstart on Sat Jul 1 01:51:38 2017.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('..'))
import matplotlib
matplotlib.use('agg')
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.todo',
'sphinx.ext.coverage',
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
#'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
'sphinx.ext.napoleon',
'nbsphinx',
'sphinx.ext.autosummary', #https://stackoverflow.com/a/21665947/1469195
'sphinx.ext.linkcode', #https://github.com/Lasagne/Lasagne/blob/a497f4b3f434911df989d03f1647e5f15366ebd0/docs/conf.py#L37
]
# Resolve function for the linkcode extension.
# See https://github.com/Lasagne/Lasagne/blob/a497f4b3f434911df989d03f1647e5f15366ebd0/docs/conf.py#L37
def linkcode_resolve(domain, info):
def find_source():
import braindecode
# try to find the file and line number, based on code from numpy:
# https://github.com/numpy/numpy/blob/master/doc/source/conf.py#L286
obj = sys.modules[info['module']]
for part in info['fullname'].split('.'):
obj = getattr(obj, part)
import inspect
import os
fn = inspect.getsourcefile(obj)
fn = os.path.relpath(fn, start=os.path.dirname(braindecode.__file__))
source, lineno = inspect.getsourcelines(obj)
return fn, lineno, lineno + len(source) - 1
if domain != 'py' or not info['module']:
return None
try:
filename = 'braindecode/%s#L%d-L%d' % find_source()
except Exception:
filename = info['module'].replace('.', '/') + '.py'
return "https://github.com/robintibor/braindecode/blob/master/%s" % filename
autosummary_generate = True #https://stackoverflow.com/a/21665947/1469195
autodoc_member_order = 'bysource'
## Default flags used by autodoc directives
autodoc_default_flags = ['members', 'show-inheritance']
exclude_patterns = ['_build', '_templates']
napoleon_google_docstring = False
napoleon_use_param = False
napoleon_use_ivar = True
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = 'Braindecode'
copyright = '2018, Robin Tibor Schirrmeister'
author = 'Robin Tibor Schirrmeister'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
import braindecode
version = braindecode.__version__
# The full version, including alpha/beta/rc tags.
release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True
# -- Options for HTML output ----------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
#html_theme = 'alabaster'
import sphinx_rtd_theme
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# -- Options for HTMLHelp output ------------------------------------------
# Output file base name for HTML help builder.
htmlhelp_basename = 'Braindecodedoc'
# -- Options for LaTeX output ---------------------------------------------
latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#
# 'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#
# 'preamble': '',
# Latex figure (float) alignment
#
# 'figure_align': 'htbp',
}
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'Braindecode.tex', 'Braindecode Documentation',
'Robin Tibor Schirrmeister', 'manual'),
]
# -- Options for manual page output ---------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'braindecode', 'Braindecode Documentation',
[author], 1)
]
# -- Options for Texinfo output -------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'Braindecode', 'Braindecode Documentation',
author, 'Braindecode', 'One line description of project.',
'Miscellaneous'),
]

Alguns arquivos não foram exibidos porque demasiados arquivos foram alterados neste diff Mostrar Mais