Damien Accorsi 10 лет назад
Родитель
Сommit
6433b73e8d
100 измененных файлов: 22112 добавлений и 34 удалений
  1. 32 32
      README.md
  2. 228 0
      README.md~
  3. 1 1
      bin/run.sh
  4. 16 0
      bin/run.sh~
  5. 1 1
      install/requirements.txt
  6. 4 0
      tracim/MANIFEST.in
  7. 24 0
      tracim/README.txt
  8. 1 0
      tracim/__init__.py
  9. 11 0
      tracim/app.wsgi
  10. 80 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/dashboard.mak.py
  11. 91 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/folder_toolbars.mak.py
  12. 86 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/index.mak.py
  13. 157 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_anonymous.mak.py
  14. 241 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated.mak.py
  15. 126 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated_left_treeview_right_toolbar.mak.py
  16. 196 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/pod.mak.py
  17. 199 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_folder_get_one.mak.py
  18. 428 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_forms.mak.py
  19. 119 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_all.mak.py
  20. 162 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_one.mak.py
  21. 494 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_widgets.mak.py
  22. 84 0
      tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/workspace_toolbars.mak.py
  23. 141 0
      tracim/development.ini.base
  24. 149 0
      tracim/development.ini~
  25. 73 0
      tracim/migration/env.py
  26. 22 0
      tracim/migration/script.py.mako
  27. 0 0
      tracim/migration/versions/empty.txt
  28. 49 0
      tracim/setup.cfg
  29. 49 0
      tracim/setup.cfg~
  30. 76 0
      tracim/setup.py
  31. 76 0
      tracim/setup.py~
  32. 26 0
      tracim/test.ini
  33. 2 0
      tracim/tracim/__init__.py
  34. 2 0
      tracim/tracim/config/__init__.py
  35. 118 0
      tracim/tracim/config/app_cfg.py
  36. 101 0
      tracim/tracim/config/deployment.ini_tmpl
  37. 9 0
      tracim/tracim/config/environment.py
  38. 39 0
      tracim/tracim/config/middleware.py
  39. 432 0
      tracim/tracim/controllers/__init__.py
  40. 19 0
      tracim/tracim/controllers/admin/__init__.py
  41. 350 0
      tracim/tracim/controllers/admin/user.py
  42. 268 0
      tracim/tracim/controllers/admin/workspace.py
  43. 617 0
      tracim/tracim/controllers/content.py
  44. 22 0
      tracim/tracim/controllers/controller.template
  45. 62 0
      tracim/tracim/controllers/debug.py
  46. 51 0
      tracim/tracim/controllers/error.py
  47. 31 0
      tracim/tracim/controllers/help.py
  48. 117 0
      tracim/tracim/controllers/root.py
  49. 36 0
      tracim/tracim/controllers/template.py
  50. 135 0
      tracim/tracim/controllers/user.py
  51. 183 0
      tracim/tracim/controllers/workspace.py
  52. Двоичные данные
      tracim/tracim/i18n/fr/LC_MESSAGES/tracim.mo
  53. 1822 0
      tracim/tracim/i18n/fr/LC_MESSAGES/tracim.po
  54. 24 0
      tracim/tracim/i18n/ru/LC_MESSAGES/pboard.po
  55. 37 0
      tracim/tracim/lib/__init__.py
  56. 51 0
      tracim/tracim/lib/app_globals.py
  57. 65 0
      tracim/tracim/lib/auth.py
  58. 137 0
      tracim/tracim/lib/base.py
  59. 230 0
      tracim/tracim/lib/content.py
  60. 432 0
      tracim/tracim/lib/dbapi.py
  61. 19 0
      tracim/tracim/lib/group.py
  62. 227 0
      tracim/tracim/lib/helpers.py
  63. 58 0
      tracim/tracim/lib/predicates.py
  64. 205 0
      tracim/tracim/lib/user.py
  65. 94 0
      tracim/tracim/lib/userworkspace.py
  66. 93 0
      tracim/tracim/lib/workspace.py
  67. 63 0
      tracim/tracim/model/__init__.py
  68. 269 0
      tracim/tracim/model/auth.py
  69. 908 0
      tracim/tracim/model/data.py
  70. 22 0
      tracim/tracim/model/model.template
  71. 869 0
      tracim/tracim/model/serializers.py
  72. 444 0
      tracim/tracim/public/assets/css/bootstrap-theme.css
  73. 1 0
      tracim/tracim/public/assets/css/bootstrap-theme.css.map
  74. 5 0
      tracim/tracim/public/assets/css/bootstrap-theme.min.css
  75. 6323 0
      tracim/tracim/public/assets/css/bootstrap.css
  76. 1 0
      tracim/tracim/public/assets/css/bootstrap.css.map
  77. 5 0
      tracim/tracim/public/assets/css/bootstrap.min.css
  78. 167 0
      tracim/tracim/public/assets/css/dashboard.css
  79. 6 0
      tracim/tracim/public/assets/css/docs.min.css
  80. 1672 0
      tracim/tracim/public/assets/font-awesome-4.2.0/css/font-awesome.css
  81. 4 0
      tracim/tracim/public/assets/font-awesome-4.2.0/css/font-awesome.min.css
  82. Двоичные данные
      tracim/tracim/public/assets/font-awesome-4.2.0/fonts/FontAwesome.otf
  83. Двоичные данные
      tracim/tracim/public/assets/font-awesome-4.2.0/fonts/fontawesome-webfont.eot
  84. 520 0
      tracim/tracim/public/assets/font-awesome-4.2.0/fonts/fontawesome-webfont.svg
  85. Двоичные данные
      tracim/tracim/public/assets/font-awesome-4.2.0/fonts/fontawesome-webfont.ttf
  86. Двоичные данные
      tracim/tracim/public/assets/font-awesome-4.2.0/fonts/fontawesome-webfont.woff
  87. 16 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/bordered-pulled.less
  88. 11 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/core.less
  89. 6 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/fixed-width.less
  90. 17 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/font-awesome.less
  91. 552 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/icons.less
  92. 13 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/larger.less
  93. 19 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/list.less
  94. 25 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/mixins.less
  95. 14 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/path.less
  96. 20 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/rotated-flipped.less
  97. 29 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/spinning.less
  98. 20 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/stacked.less
  99. 561 0
      tracim/tracim/public/assets/font-awesome-4.2.0/less/variables.less
  100. 0 0
      tracim/tracim/public/assets/font-awesome-4.2.0/scss/_bordered-pulled.scss

+ 32 - 32
README.md Просмотреть файл

@@ -1,10 +1,10 @@
1 1
 # Introduction to POD #
2 2
 
3
-Pod is collaborative software designed to allow people to work on and share various data and document types. 
3
+Tracim is collaborative software designed to allow people to work on and share various data and document types. 
4 4
 
5 5
 It is [AGPL licenced](http://fr.wikipedia.org/wiki/GNU_Affero_General_Public_License) software.
6 6
 
7
-Pod is licensed under the terms of the 
7
+Tracim is licensed under the terms of the 
8 8
 [GNU Affero General Public License](http://www.gnu.org/licenses/agpl.txt)
9 9
 as published by the [Free Software Foundation](http://www.fsf.org/).
10 10
 
@@ -53,9 +53,9 @@ If you work on a local database, then you also need to install PostgreSQL:
53 53
 
54 54
 Get the sources from Bitbucket:
55 55
 
56
-    git clone https://bitbucket.org/lebouquetin/pod.git
56
+    git clone https://bitbucket.org/lebouquetin/tracim.git
57 57
 
58
-**Note: Now everything is documented to be executed from the pod directory newly created.**
58
+**Note: Now everything is documented to be executed from the tracim directory newly created.**
59 59
 
60 60
 ### Setup a database ###
61 61
 
@@ -75,8 +75,8 @@ If you changed the file, reload PostgreSQL:
75 75
 
76 76
 #### Create a new database and user on PostgreSQL ####
77 77
 
78
-We suppose you will create a user named _poduser_ with passowrd _podpassword_
79
-and a database _poddb_
78
+We suppose you will create a user named _tracimuser_ with passowrd _tracimpassword_
79
+and a database _tracimdb_
80 80
 
81 81
 First login as root, then su as postgre and run a PostgreSQL client:
82 82
 
@@ -90,9 +90,9 @@ First login as root, then su as postgre and run a PostgreSQL client:
90 90
     
91 91
 Now, type the following commands:
92 92
 
93
-    CREATE ROLE poduser WITH LOGIN PASSWORD 'podpassword';
94
-    CREATE DATABASE poddb OWNER poduser;
95
-    GRANT ALL PRIVILEGES ON DATABASE poddb TO poduser;
93
+    CREATE ROLE tracimuser WITH LOGIN PASSWORD 'tracimpassword';
94
+    CREATE DATABASE tracimdb OWNER tracimuser;
95
+    GRANT ALL PRIVILEGES ON DATABASE tracimdb TO tracimuser;
96 96
 
97 97
 At the end, you can quit the psql client by running the \q quit command:
98 98
 
@@ -103,12 +103,12 @@ At the end, you can quit the psql client by running the \q quit command:
103 103
 
104 104
 You can test your newly created user by running the following command:
105 105
 
106
-    psql -h 127.0.0.1 -W -U poduser poddb -c 'SELECT NOW();'
106
+    psql -h 127.0.0.1 -W -U tracimuser tracimdb -c 'SELECT NOW();'
107 107
 
108 108
 The result should be similar to:
109 109
 
110
-    user@hostname:~$ psql -h 127.0.0.1 -W -U poduser poddb -c 'SELECT NOW();'
111
-    Password for user poduser: 
110
+    user@hostname:~$ psql -h 127.0.0.1 -W -U tracimuser tracimdb -c 'SELECT NOW();'
111
+    Password for user tracimuser: 
112 112
                   now              
113 113
     -------------------------------
114 114
      2014-06-16 11:35:48.590838+02
@@ -118,22 +118,22 @@ The result should be similar to:
118 118
 
119 119
 Your database is now ready. Fill it with the required schema and data by importing SQL:
120 120
 
121
-    psql -h 127.0.0.1 -W -U poduser poddb < doc/database/pod-init-database.sql
121
+    psql -h 127.0.0.1 -W -U tracimuser tracimdb < doc/database/tracim-init-database.sql
122 122
 
123 123
 You can test it through the following command:
124 124
 
125
-    user@hostname:~$ psql -h 127.0.0.1 -W -U poduser poddb -c 'SELECT * from pod_user;'
125
+    user@hostname:~$ psql -h 127.0.0.1 -W -U tracimuser tracimdb -c 'SELECT * from tracim_user;'
126 126
 
127 127
 You should find the admin@localhost user entry.
128 128
 
129 129
 ### Setup python virtualenv ###
130 130
 
131
-Pod uses virtualenv as deployment environment. This ensure that there will be no 
132
-conflict between system-wide python modules and pod required ones.
131
+Tracim uses virtualenv as deployment environment. This ensure that there will be no 
132
+conflict between system-wide python modules and tracim required ones.
133 133
 
134 134
     virtualenv -p /usr/bin/python3 tg2env
135 135
     source tg2env/bin/activate
136
-    cd pod && python setup.py develop && cd -
136
+    cd tracim && python setup.py develop && cd -
137 137
     pip install -r install/requirements.txt
138 138
     
139 139
 Notes:
@@ -145,14 +145,14 @@ Notes:
145 145
 
146 146
 ### Create configuration ###
147 147
 
148
-    cp pod/development.ini.base pod/development.ini
148
+    cp tracim/development.ini.base tracim/development.ini
149 149
 
150 150
 #### Database 
151 151
 
152 152
 Configure database in the development.ini file. This is defined as sqlalchemy.url
153 153
 and the default value is below:
154 154
 
155
-    sqlalchemy.url = postgresql://pod_user:pod_user_password@127.0.0.1:5432/pod
155
+    sqlalchemy.url = postgresql://tracim_user:tracim_user_password@127.0.0.1:5432/tracim
156 156
 
157 157
 #### Listening port
158 158
 
@@ -167,7 +167,7 @@ The default language is English. You can change it to french by uncommenting the
167 167
     lang = fr_FR
168 168
 
169 169
     
170
-### Running Pod as standalone ###
170
+### Running Tracim as standalone ###
171 171
 
172 172
 Now you can run the standalone server:
173 173
 
@@ -176,7 +176,7 @@ Now you can run the standalone server:
176 176
 Which should result in something like this:
177 177
 
178 178
     13:53:49,982 INFO  [gearbox] Starting subprocess with file monitor
179
-    13:53:50,646 WARNI [py.warnings] /tmp/pod/protov1/tg2env/lib/python3.2/site-packages/tw2/core/validation.py:12: ImportWarning: Not importing directory '/tmp/pod/protov1/tg2env/lib/python3.2/site-packages/tw2/core/i18n': missing __init__.py
179
+    13:53:50,646 WARNI [py.warnings] /tmp/tracim/protov1/tg2env/lib/python3.2/site-packages/tw2/core/validation.py:12: ImportWarning: Not importing directory '/tmp/tracim/protov1/tg2env/lib/python3.2/site-packages/tw2/core/i18n': missing __init__.py
180 180
       from .i18n import _
181 181
     
182 182
     13:53:50,862 INFO  [gearbox] Starting server in PID 11174.
@@ -190,7 +190,7 @@ You can now enter the application at [http://localhost:8080](http://localhost:80
190 190
 Enjoy :)
191 191
 
192 192
 
193
-### Running Pod through Apache WSGI ###
193
+### Running Tracim through Apache WSGI ###
194 194
 
195 195
 #### Dependencies ####
196 196
 
@@ -206,18 +206,18 @@ Example of Apache WSGI configuration. This configuration refers to productionapp
206 206
         ServerAdmin webmaster@archipeldata.com
207 207
         ServerName demo.archipeldata.com
208 208
 
209
-        WSGIProcessGroup pod
210
-        WSGIDaemonProcess pod user=www-data group=adm threads=4 python-path=/opt/podinstall/tg2env/lib/python3.2/site-packages
211
-        WSGIScriptAlias / /opt/podinstall/pod/productionapp.wsgi
209
+        WSGIProcessGroup tracim
210
+        WSGIDaemonProcess tracim user=www-data group=adm threads=4 python-path=/opt/traciminstall/tg2env/lib/python3.2/site-packages
211
+        WSGIScriptAlias / /opt/traciminstall/tracim/productionapp.wsgi
212 212
 
213 213
         #Serve static files directly without TurboGears
214
-        Alias /img     /opt/podinstall/pod/pod/public/img/
215
-        Alias /favicon.ico /opt/podinstall/pod/pod/public/favicon.ico
216
-        Alias /css        /opt/podinstall/pod/pod/public/css
217
-        Alias /javascript /opt/podinstall/pod/pod/public/javascript
214
+        Alias /img     /opt/traciminstall/tracim/tracim/public/img/
215
+        Alias /favicon.ico /opt/traciminstall/tracim/tracim/public/favicon.ico
216
+        Alias /css        /opt/traciminstall/tracim/tracim/public/css
217
+        Alias /javascript /opt/traciminstall/tracim/tracim/public/javascript
218 218
 
219
-        CustomLog /var/log/apache2/demopod-access.log combined
220
-        ErrorLog /var/log/apache2/demopod-error.log
219
+        CustomLog /var/log/apache2/demotracim-access.log combined
220
+        ErrorLog /var/log/apache2/demotracim-error.log
221 221
         LogLevel debug
222 222
     </VirtualHost>
223 223
 
@@ -225,4 +225,4 @@ Example of Apache WSGI configuration. This configuration refers to productionapp
225 225
 
226 226
 If you need help, contact us. If you want to help, contact us. So... contact us ;)
227 227
 
228
-Damien Accorsi - damien.accorsi@free.fr
228
+Damien Accorsi - damien.accorsi@free.fr

+ 228 - 0
README.md~ Просмотреть файл

@@ -0,0 +1,228 @@
1
+# Introduction to POD #
2
+
3
+Tracim is collaborative software designed to allow people to work on and share various data and document types. 
4
+
5
+It is [AGPL licenced](http://fr.wikipedia.org/wiki/GNU_Affero_General_Public_License) software.
6
+
7
+Tracim is licensed under the terms of the 
8
+[GNU Affero General Public License](http://www.gnu.org/licenses/agpl.txt)
9
+as published by the [Free Software Foundation](http://www.fsf.org/).
10
+
11
+It is currently unstable, it is recommended to use it for test purpose only.
12
+
13
+It's a python 3 web application based on [TurboGears](http://www.turbogears.org/); it uses [PostgreSQL](http://www.postgresql.org/) as storage engine.
14
+
15
+## Features ##
16
+
17
+* Data and document sharing: text documents, files, contact, calendar, comments
18
+* Data and document status
19
+* Full traceability
20
+* Access control management, document granularity.
21
+
22
+It allows to keep private and shared data in the same place.
23
+The ACL is based on share with groups or individual users.
24
+
25
+## Give it a try ##
26
+
27
+### Online demo ###
28
+The fastest way to test it is to test the demo:
29
+
30
+* http://demo.archipeldata.com
31
+* login: demo@localhost
32
+* password: demo
33
+
34
+### Install your own instance ###
35
+
36
+The other way to test it is to install it on your computer. See documentation below.
37
+
38
+## Installation ##
39
+
40
+### Dependencies###
41
+
42
+Note: the following information is for Debian. For other OS, adapt the package names.
43
+
44
+You'll need to install the following packages:
45
+
46
+    apt-get install realpath python3 python-virtualenv python3-dev python-pip build-essential postgresql-server-dev-all
47
+
48
+If you work on a local database, then you also need to install PostgreSQL:
49
+
50
+    apt-get install postgresql postgresql-client
51
+
52
+### Get the source ###
53
+
54
+Get the sources from Bitbucket:
55
+
56
+    git clone https://bitbucket.org/lebouquetin/pod.git
57
+
58
+**Note: Now everything is documented to be executed from the pod directory newly created.**
59
+
60
+### Setup a database ###
61
+
62
+#### Allowing local connections on PostgreSQL ####
63
+
64
+Check the pg_hba.conf file, it should allow connection for user/pass through loopback IP address.
65
+The file should include the following configuration:
66
+
67
+    # IPv4 local connections:
68
+    host    all             all             127.0.0.1/32            md5
69
+
70
+Note: on Debian, the pg\_hba file is found at /etc/postgresql/9.1/main/pg_hba.conf
71
+
72
+If you changed the file, reload PostgreSQL:
73
+
74
+    service postgresql reload
75
+
76
+#### Create a new database and user on PostgreSQL ####
77
+
78
+We suppose you will create a user named _poduser_ with passowrd _podpassword_
79
+and a database _poddb_
80
+
81
+First login as root, then su as postgre and run a PostgreSQL client:
82
+
83
+    root@hostname:~# su postgres
84
+    postgres@hostname:/root$ psql
85
+    psql (9.1.13)
86
+    Type "help" for help.
87
+    
88
+    postgres=# 
89
+    
90
+    
91
+Now, type the following commands:
92
+
93
+    CREATE ROLE poduser WITH LOGIN PASSWORD 'podpassword';
94
+    CREATE DATABASE poddb OWNER poduser;
95
+    GRANT ALL PRIVILEGES ON DATABASE poddb TO poduser;
96
+
97
+At the end, you can quit the psql client by running the \q quit command:
98
+
99
+    postgres=# \q
100
+    postgres@mozart:/root$
101
+
102
+#### Test the database access ####
103
+
104
+You can test your newly created user by running the following command:
105
+
106
+    psql -h 127.0.0.1 -W -U poduser poddb -c 'SELECT NOW();'
107
+
108
+The result should be similar to:
109
+
110
+    user@hostname:~$ psql -h 127.0.0.1 -W -U poduser poddb -c 'SELECT NOW();'
111
+    Password for user poduser: 
112
+                  now              
113
+    -------------------------------
114
+     2014-06-16 11:35:48.590838+02
115
+    (1 row)
116
+
117
+#### Setup the database schema and initial data ####
118
+
119
+Your database is now ready. Fill it with the required schema and data by importing SQL:
120
+
121
+    psql -h 127.0.0.1 -W -U poduser poddb < doc/database/pod-init-database.sql
122
+
123
+You can test it through the following command:
124
+
125
+    user@hostname:~$ psql -h 127.0.0.1 -W -U poduser poddb -c 'SELECT * from pod_user;'
126
+
127
+You should find the admin@localhost user entry.
128
+
129
+### Setup python virtualenv ###
130
+
131
+Tracim uses virtualenv as deployment environment. This ensure that there will be no 
132
+conflict between system-wide python modules and pod required ones.
133
+
134
+    virtualenv -p /usr/bin/python3 tg2env
135
+    source tg2env/bin/activate
136
+    cd pod && python setup.py develop && cd -
137
+    pip install -r install/requirements.txt
138
+    
139
+Notes:
140
+
141
+* Debian: you may get errors with stevedore/pbr which is not supported by python 3.2
142
+(debian version of python 3). This is not a real problem
143
+* Ubuntu (at least 14.04): you should remove _distribute_ and _wsgiref _
144
+  from the requirements.txt file
145
+
146
+### Create configuration ###
147
+
148
+    cp pod/development.ini.base pod/development.ini
149
+
150
+#### Database 
151
+
152
+Configure database in the development.ini file. This is defined as sqlalchemy.url
153
+and the default value is below:
154
+
155
+    sqlalchemy.url = postgresql://pod_user:pod_user_password@127.0.0.1:5432/pod
156
+
157
+#### Listening port
158
+
159
+Default configuration is to listen on port 8080. If you want to adapt this to your environment, edit the .ini file and setup the port you want:
160
+
161
+    port = 8080
162
+
163
+#### Interface language
164
+
165
+The default language is English. You can change it to french by uncommenting the following line in the .ini file:
166
+
167
+    lang = fr_FR
168
+
169
+    
170
+### Running Tracim as standalone ###
171
+
172
+Now you can run the standalone server:
173
+
174
+    ./bin/run.sh
175
+    
176
+Which should result in something like this:
177
+
178
+    13:53:49,982 INFO  [gearbox] Starting subprocess with file monitor
179
+    13:53:50,646 WARNI [py.warnings] /tmp/pod/protov1/tg2env/lib/python3.2/site-packages/tw2/core/validation.py:12: ImportWarning: Not importing directory '/tmp/pod/protov1/tg2env/lib/python3.2/site-packages/tw2/core/i18n': missing __init__.py
180
+      from .i18n import _
181
+    
182
+    13:53:50,862 INFO  [gearbox] Starting server in PID 11174.
183
+    Starting HTTP server on http://0.0.0.0:8080
184
+    
185
+You can now enter the application at [http://localhost:8080](http://localhost:8080) and login:
186
+
187
+* user : admin@localhost
188
+* password : admin
189
+    
190
+Enjoy :)
191
+
192
+
193
+### Running Tracim through Apache WSGI ###
194
+
195
+#### Dependencies ####
196
+
197
+Install dependencies:
198
+
199
+    apt-get install apache2 libapache2-mod-wsgi-py3
200
+
201
+#### WSGI configuration ####
202
+
203
+Example of Apache WSGI configuration. This configuration refers to productionapp.wsgi which is a copy of the file *app.wsgi* available in the repo. (this file has to be updated to match with your environment and installation)
204
+
205
+    <VirtualHost *:80>
206
+        ServerAdmin webmaster@archipeldata.com
207
+        ServerName demo.archipeldata.com
208
+
209
+        WSGIProcessGroup pod
210
+        WSGIDaemonProcess pod user=www-data group=adm threads=4 python-path=/opt/podinstall/tg2env/lib/python3.2/site-packages
211
+        WSGIScriptAlias / /opt/podinstall/pod/productionapp.wsgi
212
+
213
+        #Serve static files directly without TurboGears
214
+        Alias /img     /opt/podinstall/pod/pod/public/img/
215
+        Alias /favicon.ico /opt/podinstall/pod/pod/public/favicon.ico
216
+        Alias /css        /opt/podinstall/pod/pod/public/css
217
+        Alias /javascript /opt/podinstall/pod/pod/public/javascript
218
+
219
+        CustomLog /var/log/apache2/demopod-access.log combined
220
+        ErrorLog /var/log/apache2/demopod-error.log
221
+        LogLevel debug
222
+    </VirtualHost>
223
+
224
+### Help required ###
225
+
226
+If you need help, contact us. If you want to help, contact us. So... contact us ;)
227
+
228
+Damien Accorsi - damien.accorsi@free.fr

+ 1 - 1
bin/run.sh Просмотреть файл

@@ -10,7 +10,7 @@ ROOT_FOLDER=${POD_INSTALL_FULL_PATH}
10 10
 
11 11
 cd ${ROOT_FOLDER}
12 12
 source tg2env/bin/activate
13
-cd ${ROOT_FOLDER}/pod/
13
+cd ${ROOT_FOLDER}/tracim/
14 14
 gearbox serve -c development.ini --reload --debug
15 15
 cd ${OLD_PATH}
16 16
 

+ 16 - 0
bin/run.sh~ Просмотреть файл

@@ -0,0 +1,16 @@
1
+#!/bin/bash
2
+
3
+OLD_PATH=`pwd`
4
+
5
+POD_BIN_PATH=`dirname $0`
6
+POD_INSTALL_PATH=`dirname ${POD_BIN_PATH}`
7
+POD_INSTALL_FULL_PATH=`realpath ${POD_INSTALL_PATH}`
8
+
9
+ROOT_FOLDER=${POD_INSTALL_FULL_PATH}
10
+
11
+cd ${ROOT_FOLDER}
12
+source tg2env/bin/activate
13
+cd ${ROOT_FOLDER}/pod/
14
+gearbox serve -c development.ini --reload --debug
15
+cd ${OLD_PATH}
16
+

+ 1 - 1
install/requirements.txt Просмотреть файл

@@ -7,7 +7,7 @@ PasteDeploy==1.5.2
7 7
 Pillow==2.4.0
8 8
 SQLAlchemy==0.9.4
9 9
 Tempita==0.5.3dev
10
-TurboGears2==2.3.2
10
+TurboGears2==2.3.3
11 11
 WebOb==1.4
12 12
 WebTest==1.4.3
13 13
 alembic==0.6.5

+ 4 - 0
tracim/MANIFEST.in Просмотреть файл

@@ -0,0 +1,4 @@
1
+recursive-include tracim/public *
2
+include tracim/public/favicon.ico
3
+recursive-include tracim/i18n *
4
+recursive-include tracim/templates *

+ 24 - 0
tracim/README.txt Просмотреть файл

@@ -0,0 +1,24 @@
1
+This file is for you to describe the pod application. Typically
2
+you would include information such as the information below:
3
+
4
+Installation and Setup
5
+======================
6
+
7
+Install ``pod`` using the setup.py script::
8
+
9
+    $ cd pod
10
+    $ python setup.py develop
11
+
12
+Create the project database for any model classes defined::
13
+
14
+    $ gearbox setup-app
15
+
16
+Start the paste http server::
17
+
18
+    $ gearbox serve
19
+
20
+While developing you may want the server to reload after changes in package files (or its dependencies) are saved. This can be achieved easily by adding the --reload option::
21
+
22
+    $ gearbox serve --reload --debug
23
+
24
+Then you are ready to go.

+ 1 - 0
tracim/__init__.py Просмотреть файл

@@ -0,0 +1 @@
1
+__author__ = 'damien'

+ 11 - 0
tracim/app.wsgi Просмотреть файл

@@ -0,0 +1,11 @@
1
+APP_CONFIG = "/home/daccorsi/sources/pod/pod/development.ini"
2
+
3
+#Setup logging
4
+import logging
5
+# logging.config.fileConfig(APP_CONFIG)
6
+
7
+#Load the application
8
+from paste.deploy import loadapp
9
+application = loadapp('config:%s' % APP_CONFIG)
10
+application.debug = True
11
+

+ 80 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/dashboard.mak.py Просмотреть файл

@@ -0,0 +1,80 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984376.263731
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/dashboard.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/dashboard.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['title']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'TIM')] = ns
25
+
26
+def _mako_inherit(template, context):
27
+    _mako_generate_namespaces(context)
28
+    return runtime._inherit_from(context, 'local:templates.master_authenticated', _template_uri)
29
+def render_body(context,**pageargs):
30
+    __M_caller = context.caller_stack._push_frame()
31
+    try:
32
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
33
+        TIM = _mako_get_namespace(context, 'TIM')
34
+        _ = context.get('_', UNDEFINED)
35
+        tg = context.get('tg', UNDEFINED)
36
+        __M_writer = context.writer()
37
+        __M_writer('\n')
38
+        __M_writer('\n\n')
39
+        __M_writer('\n\n<div class="container-fluid">\n    <div class="row-fluid">\n        <div>\n            <div class="row">\n                <h1 class="col-sm-6 col-sm-offset-3 text-center">')
40
+        __M_writer(escape(TIM.ICO(32, 'status/dialog-information')))
41
+        __M_writer(' ')
42
+        __M_writer(escape(_("Welcome to your dashboard")))
43
+        __M_writer('</h1>\n            </div>\n            <div class="row">\n                <div class="col-sm-5 col-sm-offset-4">\n                    <div class="well">\n                        <h2 style="margin-top: 0;">')
44
+        __M_writer(escape(_('What to do ?')))
45
+        __M_writer('</h2>\n                        <h3>\n                            ')
46
+        __M_writer(escape(TIM.ICO(32, 'places/folder-remote')))
47
+        __M_writer(' <a href="')
48
+        __M_writer(escape(tg.url('/workspaces')))
49
+        __M_writer('">')
50
+        __M_writer(escape(_('Go to my workspaces')))
51
+        __M_writer('</a>\n                        </h3>\n                        <h3>\n                            ')
52
+        __M_writer(escape(TIM.ICO(32, 'actions/contact-new')))
53
+        __M_writer(' <a href="')
54
+        __M_writer(escape(tg.url('/user/me')))
55
+        __M_writer('">')
56
+        __M_writer(escape(_('Go to my profile')))
57
+        __M_writer('</a>\n                        </h3>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n\n')
58
+        return ''
59
+    finally:
60
+        context.caller_stack._pop_frame()
61
+
62
+
63
+def render_title(context):
64
+    __M_caller = context.caller_stack._push_frame()
65
+    try:
66
+        _ = context.get('_', UNDEFINED)
67
+        __M_writer = context.writer()
68
+        __M_writer('\n    ')
69
+        __M_writer(escape(_('Dashboard')))
70
+        __M_writer('\n')
71
+        return ''
72
+    finally:
73
+        context.caller_stack._pop_frame()
74
+
75
+
76
+"""
77
+__M_BEGIN_METADATA
78
+{"source_encoding": "utf-8", "line_map": {"23": 2, "29": 0, "37": 1, "38": 2, "39": 6, "40": 12, "41": 12, "42": 12, "43": 12, "44": 17, "45": 17, "46": 19, "47": 19, "48": 19, "49": 19, "50": 19, "51": 19, "52": 22, "53": 22, "54": 22, "55": 22, "56": 22, "57": 22, "63": 4, "68": 4, "69": 5, "70": 5, "76": 70}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/dashboard.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/dashboard.mak"}
79
+__M_END_METADATA
80
+"""

+ 91 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/folder_toolbars.mak.py Просмотреть файл

@@ -0,0 +1,91 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984364.207344
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/folder_toolbars.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/folder_toolbars.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['SECURED_FOLDER']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'TIM')] = ns
25
+
26
+def render_body(context,**pageargs):
27
+    __M_caller = context.caller_stack._push_frame()
28
+    try:
29
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
30
+        __M_writer = context.writer()
31
+        __M_writer('\n\n')
32
+        __M_writer('\n\n')
33
+        return ''
34
+    finally:
35
+        context.caller_stack._pop_frame()
36
+
37
+
38
+def render_SECURED_FOLDER(context,user,workspace,folder):
39
+    __M_caller = context.caller_stack._push_frame()
40
+    try:
41
+        TIM = _mako_get_namespace(context, 'TIM')
42
+        h = context.get('h', UNDEFINED)
43
+        _ = context.get('_', UNDEFINED)
44
+        tg = context.get('tg', UNDEFINED)
45
+        __M_writer = context.writer()
46
+        __M_writer('\n    ')
47
+        edit_disabled = ('', 'disabled')[folder.selected_revision!='latest' or folder.status.id[:6]=='closed'] 
48
+        
49
+        __M_writer('\n    ')
50
+
51
+        ## FIXME - This control should be based on the user role
52
+        move_disabled = ('', 'disabled')[folder.selected_revision!='latest' or folder.status.id[:6]=='closed']
53
+            
54
+        
55
+        __M_writer('\n    \n    ')
56
+        delete_or_archive_disabled = ('', 'disabled')[folder.selected_revision!='latest'] 
57
+        
58
+        __M_writer(' \n')
59
+        if h.user_role(user, workspace)>2:
60
+            __M_writer('        <div class="btn-group btn-group-vertical">\n')
61
+            __M_writer('            <a title="')
62
+            __M_writer(escape(_('Edit current folder')))
63
+            __M_writer('" class="btn btn-default ')
64
+            __M_writer(escape(edit_disabled))
65
+            __M_writer('" data-toggle="modal" data-target="#folder-edit-modal-dialog" data-remote="')
66
+            __M_writer(escape(tg.url('/workspaces/{}/folders/{}/edit'.format(folder.workspace.id, folder.id))))
67
+            __M_writer('" >')
68
+            __M_writer(escape(TIM.ICO(32, 'apps/accessories-text-editor')))
69
+            __M_writer('</a>\n        </div>\n        <p></p>\n')
70
+        __M_writer('    \n    <div class="btn-group btn-group-vertical">\n')
71
+        if user.profile.id>=3 or h.user_role(user, workspace)>=4:
72
+            __M_writer('            <a title="')
73
+            __M_writer(escape(_('Move current folder')))
74
+            __M_writer('" class="btn btn-default ')
75
+            __M_writer(escape(move_disabled))
76
+            __M_writer('" data-toggle="modal" data-target="#folder-move-modal-dialog" data-remote="')
77
+            __M_writer(escape(tg.url('/workspaces/{}/folders/{}/location/{}/edit'.format(folder.workspace.id, folder.id, folder.id))))
78
+            __M_writer('" >')
79
+            __M_writer(escape(TIM.ICO(32, 'actions/item-move')))
80
+            __M_writer('</a>\n')
81
+        __M_writer('    </div>\n    <p></p>\n\n')
82
+        return ''
83
+    finally:
84
+        context.caller_stack._pop_frame()
85
+
86
+
87
+"""
88
+__M_BEGIN_METADATA
89
+{"source_encoding": "utf-8", "line_map": {"23": 1, "26": 0, "31": 1, "32": 27, "38": 3, "46": 3, "47": 4, "49": 4, "50": 5, "55": 8, "56": 10, "58": 10, "59": 11, "60": 12, "61": 14, "62": 14, "63": 14, "64": 14, "65": 14, "66": 14, "67": 14, "68": 14, "69": 14, "70": 18, "71": 20, "72": 22, "73": 22, "74": 22, "75": 22, "76": 22, "77": 22, "78": 22, "79": 22, "80": 22, "81": 24, "87": 81}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/folder_toolbars.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/folder_toolbars.mak"}
90
+__M_END_METADATA
91
+"""

+ 86 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/index.mak.py Просмотреть файл

@@ -0,0 +1,86 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984367.807793
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/index.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/index.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['title']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'TIM')] = ns
25
+
26
+def _mako_inherit(template, context):
27
+    _mako_generate_namespaces(context)
28
+    return runtime._inherit_from(context, 'local:templates.master_anonymous', _template_uri)
29
+def render_body(context,**pageargs):
30
+    __M_caller = context.caller_stack._push_frame()
31
+    try:
32
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
33
+        TIM = _mako_get_namespace(context, 'TIM')
34
+        dict = context.get('dict', UNDEFINED)
35
+        tg = context.get('tg', UNDEFINED)
36
+        h = context.get('h', UNDEFINED)
37
+        came_from = context.get('came_from', UNDEFINED)
38
+        _ = context.get('_', UNDEFINED)
39
+        login_counter = context.get('login_counter', UNDEFINED)
40
+        __M_writer = context.writer()
41
+        __M_writer('\n')
42
+        __M_writer('\n\n')
43
+        __M_writer('\n\n\n<div class="container-fluid">\n    <div class="row-fluid">\n        <div>\n            <div class="row">\n                <div class="col-sm-offset-3 col-sm-5">\n                    <h1 class="text-center" style="color: ')
44
+        __M_writer(escape(h.WEBSITE_HOME_TITLE_COLOR))
45
+        __M_writer(';"><b>')
46
+        __M_writer(escape(h.WEBSITE_TITLE))
47
+        __M_writer('</b></h1>\n                </div>\n            </div>\n            <div class="row">\n                <div class="col-sm-offset-3 col-sm-2">\n                    <a class="thumbnail">\n                        <img src="')
48
+        __M_writer(escape(h.WEBSITE_HOME_IMAGE_URL))
49
+        __M_writer('" alt="">\n                    </a>\n                </div>\n                <div class="col-sm-3">\n                    <div class="well">\n                    \n                    <h2 style="margin-top: 0;">')
50
+        __M_writer(escape(TIM.ICO(32, 'status/status-locked')))
51
+        __M_writer(' ')
52
+        __M_writer(escape(_('Login')))
53
+        __M_writer('</h2>\n                    <form role="form" method="POST" action="')
54
+        __M_writer(escape(tg.url('/login_handler', params=dict(came_from=came_from, __logins=login_counter))))
55
+        __M_writer('">\n                        <div class="form-group">\n                            <div class="input-group">\n                                <div class="input-group-addon"><i class="fa fa-envelope-o"></i></div>\n                                <input type="email" name="login" class="form-control" placeholder="')
56
+        __M_writer(escape(_('Enter email')))
57
+        __M_writer('">\n                            </div>\n                        </div>\n                        <div class="form-group">\n                            <div class="input-group">\n                                <div class="input-group-addon"><i class="fa fa-key"></i></div>\n                                <input type="password" name="password" class="form-control" placeholder="')
58
+        __M_writer(escape(_('Enter password')))
59
+        __M_writer('">\n                            </div>\n                        </div>\n                        <div class="checkbox">\n                            <label>\n                                <input type="checkbox" id="loginremember" name="remember" value="2252000"/> ')
60
+        __M_writer(escape(_('Remember me')))
61
+        __M_writer('\n                            </label>\n                        </div>\n                        <div class="text-right">\n                            <button type="submit" class="btn btn-small btn-success">\n                                <i class="fa fa-check"></i> ')
62
+        __M_writer(escape(_('Login')))
63
+        __M_writer('\n                            </button>\n                        </div>\n                    </form>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n\n\n')
64
+        return ''
65
+    finally:
66
+        context.caller_stack._pop_frame()
67
+
68
+
69
+def render_title(context):
70
+    __M_caller = context.caller_stack._push_frame()
71
+    try:
72
+        h = context.get('h', UNDEFINED)
73
+        __M_writer = context.writer()
74
+        __M_writer('\n  ')
75
+        __M_writer(h.WEBSITE_TITLE)
76
+        __M_writer('\n')
77
+        return ''
78
+    finally:
79
+        context.caller_stack._pop_frame()
80
+
81
+
82
+"""
83
+__M_BEGIN_METADATA
84
+{"source_encoding": "utf-8", "line_map": {"23": 2, "29": 0, "41": 1, "42": 2, "43": 6, "44": 14, "45": 14, "46": 14, "47": 14, "48": 20, "49": 20, "50": 26, "51": 26, "52": 26, "53": 26, "54": 27, "55": 27, "56": 31, "57": 31, "58": 37, "59": 37, "60": 42, "61": 42, "62": 47, "63": 47, "69": 4, "74": 4, "75": 5, "76": 5, "82": 76}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/index.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/index.mak"}
85
+__M_END_METADATA
86
+"""

+ 157 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_anonymous.mak.py Просмотреть файл

@@ -0,0 +1,157 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984367.828948
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_anonymous.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_anonymous.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['footer', 'body_class', 'meta', 'title', 'main_menu', 'content_wrapper']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'TIM')] = ns
25
+
26
+def render_body(context,**pageargs):
27
+    __M_caller = context.caller_stack._push_frame()
28
+    try:
29
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
30
+        tg = context.get('tg', UNDEFINED)
31
+        self = context.get('self', UNDEFINED)
32
+        h = context.get('h', UNDEFINED)
33
+        __M_writer = context.writer()
34
+        __M_writer('\n<!DOCTYPE html>\n<html style="height: 100%;">\n    <head>\n\t    ')
35
+        __M_writer(escape(self.meta()))
36
+        __M_writer('\n        <meta charset="utf-8">\n\t    <title>')
37
+        __M_writer(escape(self.title()))
38
+        __M_writer('</title>\n        <meta http-equiv="X-UA-Compatible" content="IE=edge">\n        <meta name="viewport" content="width=device-width, initial-scale=1">\n        <meta name="description" content="">\n        <meta name="author" content="">\n        <link rel="icon" href="../../favicon.ico">\n        <link href="')
39
+        __M_writer(escape(tg.url('/assets/css/bootstrap.min.css')))
40
+        __M_writer('" rel="stylesheet">\n        <link href="')
41
+        __M_writer(escape(tg.url('/assets/css/dashboard.css')))
42
+        __M_writer('" rel="stylesheet">\n        <link href="')
43
+        __M_writer(escape(tg.url('/assets/font-awesome-4.2.0/css/font-awesome.css')))
44
+        __M_writer('" rel="stylesheet">\n    </head>\n\n    <body class="')
45
+        __M_writer(escape(self.body_class()))
46
+        __M_writer('" style="\n    height: 100%;\n    background: url(')
47
+        __M_writer(escape(h.WEBSITE_HOME_BACKGROUND_IMAGE_URL))
48
+        __M_writer(') no-repeat center bottom scroll;\n    -webkit-background-size: cover;\n    -moz-background-size: cover;\n    background-size: cover;\n    -o-background-size: cover;">\n        <script src="')
49
+        __M_writer(escape(tg.url('/assets/js/jquery.min.js')))
50
+        __M_writer('"></script>\n')
51
+        __M_writer('\n        <div class="container-fluid">\n            ')
52
+        __M_writer(escape(self.main_menu()))
53
+        __M_writer('\n            ')
54
+        __M_writer(escape(self.content_wrapper()))
55
+        __M_writer('\n            ')
56
+        __M_writer(escape(self.footer()))
57
+        __M_writer('\n        </div>\n\n        <script src="')
58
+        __M_writer(escape(tg.url('/assets/js/bootstrap.min.js')))
59
+        __M_writer('"></script>\n')
60
+        __M_writer("        <script>\n            $( document ).ready(function() {\n                $('.alert-ok').removeClass('alert-ok').addClass('alert-info');\n                $('.alert-error').removeClass('alert-error').addClass('alert-danger');\n            });\n        </script>\n\n        ")
61
+        __M_writer(h.tracker_js())
62
+        __M_writer('\n    </body>\n\n')
63
+        __M_writer('\n\n')
64
+        __M_writer('\n\n')
65
+        __M_writer('\n\n')
66
+        __M_writer('\n\n')
67
+        __M_writer('\n\n\n')
68
+        __M_writer('\n\n</html>\n')
69
+        return ''
70
+    finally:
71
+        context.caller_stack._pop_frame()
72
+
73
+
74
+def render_footer(context):
75
+    __M_caller = context.caller_stack._push_frame()
76
+    try:
77
+        h = context.get('h', UNDEFINED)
78
+        _ = context.get('_', UNDEFINED)
79
+        __M_writer = context.writer()
80
+        __M_writer('\n    <div class="pod-footer footer hidden-tablet hidden-phone text-center">\n        <p>\n            <a href="http://trac.im">')
81
+        __M_writer(escape(_('Create your own email-ready collaborative workspace on trac.im')))
82
+        __M_writer('</a> &mdash;\n            copyright &copy; 2013 - ')
83
+        __M_writer(escape(h.current_year()))
84
+        __M_writer(' tracim project.\n        </p>\n    </div>\n')
85
+        return ''
86
+    finally:
87
+        context.caller_stack._pop_frame()
88
+
89
+
90
+def render_body_class(context):
91
+    __M_caller = context.caller_stack._push_frame()
92
+    try:
93
+        __M_writer = context.writer()
94
+        return ''
95
+    finally:
96
+        context.caller_stack._pop_frame()
97
+
98
+
99
+def render_meta(context):
100
+    __M_caller = context.caller_stack._push_frame()
101
+    try:
102
+        response = context.get('response', UNDEFINED)
103
+        __M_writer = context.writer()
104
+        __M_writer('\n    <meta charset="')
105
+        __M_writer(escape(response.charset))
106
+        __M_writer('" />\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\n')
107
+        return ''
108
+    finally:
109
+        context.caller_stack._pop_frame()
110
+
111
+
112
+def render_title(context):
113
+    __M_caller = context.caller_stack._push_frame()
114
+    try:
115
+        __M_writer = context.writer()
116
+        return ''
117
+    finally:
118
+        context.caller_stack._pop_frame()
119
+
120
+
121
+def render_main_menu(context):
122
+    __M_caller = context.caller_stack._push_frame()
123
+    try:
124
+        tg = context.get('tg', UNDEFINED)
125
+        __M_writer = context.writer()
126
+        __M_writer('\n    <div class="navbar navbar-fixed-top navbar-fixed-top-transparent" role="navigation">\n        <div class="container-fluid">\n            <div class="navbar-header">\n                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">\n                    <span class="sr-only">Toggle navigation</span>\n                    <span class="icon-bar"></span>\n                    <span class="icon-bar"></span>\n                    <span class="icon-bar"></span>\n                </button>\n                <a class="navbar-brand" href="')
127
+        __M_writer(escape(tg.url('/')))
128
+        __M_writer('">\n')
129
+        __M_writer('                  <img src="')
130
+        __M_writer(escape(tg.url('/assets/img/logo.png')))
131
+        __M_writer('" class="pull-left" style="margin: -13px 0.5em 0 -13px;"/>\n                </a>\n            </div>\n        </div>\n    </div>\n')
132
+        return ''
133
+    finally:
134
+        context.caller_stack._pop_frame()
135
+
136
+
137
+def render_content_wrapper(context):
138
+    __M_caller = context.caller_stack._push_frame()
139
+    try:
140
+        TIM = _mako_get_namespace(context, 'TIM')
141
+        self = context.get('self', UNDEFINED)
142
+        __M_writer = context.writer()
143
+        __M_writer('\n    ')
144
+        __M_writer(escape(TIM.FLASH_MSG('col-sm-5 col-sm-offset-3')))
145
+        __M_writer('\n    ')
146
+        __M_writer(escape(self.body()))
147
+        __M_writer('\n')
148
+        return ''
149
+    finally:
150
+        context.caller_stack._pop_frame()
151
+
152
+
153
+"""
154
+__M_BEGIN_METADATA
155
+{"source_encoding": "utf-8", "line_map": {"128": 84, "129": 86, "130": 86, "131": 86, "137": 50, "143": 50, "144": 51, "145": 51, "146": 52, "147": 52, "23": 1, "153": 147, "26": 0, "34": 1, "35": 5, "36": 5, "37": 7, "38": 7, "39": 13, "40": 13, "41": 14, "42": 14, "43": 15, "44": 15, "45": 18, "46": 18, "47": 20, "48": 20, "49": 25, "50": 25, "51": 27, "52": 29, "53": 29, "54": 30, "55": 30, "56": 31, "57": 31, "58": 34, "59": 34, "60": 40, "61": 47, "62": 47, "63": 53, "64": 55, "65": 60, "66": 62, "67": 71, "68": 91, "74": 64, "80": 64, "81": 67, "82": 67, "83": 68, "84": 68, "90": 55, "99": 57, "104": 57, "105": 58, "106": 58, "112": 62, "121": 74, "126": 74, "127": 84}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_anonymous.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_anonymous.mak"}
156
+__M_END_METADATA
157
+"""

+ 241 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated.mak.py Просмотреть файл

@@ -0,0 +1,241 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984364.273212
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['footer', 'body_class', 'meta', 'title', 'main_menu', 'content_wrapper']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'TIM')] = ns
25
+
26
+def render_body(context,**pageargs):
27
+    __M_caller = context.caller_stack._push_frame()
28
+    try:
29
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
30
+        tg = context.get('tg', UNDEFINED)
31
+        self = context.get('self', UNDEFINED)
32
+        h = context.get('h', UNDEFINED)
33
+        __M_writer = context.writer()
34
+        __M_writer('\r\n<!DOCTYPE html>\r\n<html>\r\n    <head>\r\n\t    ')
35
+        __M_writer(escape(self.meta()))
36
+        __M_writer('\r\n        <meta charset="utf-8">\r\n\t    <title>')
37
+        __M_writer(escape(self.title()))
38
+        __M_writer('</title>\r\n        <meta http-equiv="X-UA-Compatible" content="IE=edge">\r\n        <meta name="viewport" content="width=device-width, initial-scale=1">\r\n        <meta name="description" content="">\r\n        <meta name="author" content="">\r\n        <link rel="icon" href="../../favicon.ico">\r\n        <link href="')
39
+        __M_writer(escape(tg.url('/assets/css/bootstrap.min.css')))
40
+        __M_writer('" rel="stylesheet">\r\n        <link href="')
41
+        __M_writer(escape(tg.url('/assets/css/dashboard.css')))
42
+        __M_writer('" rel="stylesheet">\r\n        <link href="')
43
+        __M_writer(escape(tg.url('/assets/font-awesome-4.2.0/css/font-awesome.css')))
44
+        __M_writer('" rel="stylesheet">\r\n    </head>\r\n\r\n    <body class="')
45
+        __M_writer(escape(self.body_class()))
46
+        __M_writer('">\r\n        <script src="')
47
+        __M_writer(escape(tg.url('/assets/js/jquery.min.js')))
48
+        __M_writer('"></script>\r\n\r\n        <div class="container-fluid">\r\n            ')
49
+        __M_writer(escape(self.main_menu()))
50
+        __M_writer('\r\n            ')
51
+        __M_writer(escape(self.content_wrapper()))
52
+        __M_writer('\r\n            ')
53
+        __M_writer(escape(self.footer()))
54
+        __M_writer('\r\n        </div>\r\n\r\n        <script src="')
55
+        __M_writer(escape(tg.url('/assets/js/bootstrap.min.js')))
56
+        __M_writer('"></script>\r\n        ')
57
+        __M_writer(h.tracker_js())
58
+        __M_writer('\r\n    </body>\r\n\r\n')
59
+        __M_writer('\r\n\r\n')
60
+        __M_writer('\r\n\r\n')
61
+        __M_writer('\r\n\r\n')
62
+        __M_writer('\r\n\r\n')
63
+        __M_writer('\r\n\r\n\r\n')
64
+        __M_writer('\r\n\r\n</html>\r\n')
65
+        return ''
66
+    finally:
67
+        context.caller_stack._pop_frame()
68
+
69
+
70
+def render_footer(context):
71
+    __M_caller = context.caller_stack._push_frame()
72
+    try:
73
+        h = context.get('h', UNDEFINED)
74
+        _ = context.get('_', UNDEFINED)
75
+        __M_writer = context.writer()
76
+        __M_writer('\r\n    <div class="pod-footer footer hidden-tablet hidden-phone text-center">\r\n        <p>\r\n            <a href="http://trac.im">')
77
+        __M_writer(escape(_('Create your own email-ready collaborative workspace on trac.im')))
78
+        __M_writer('</a> &mdash;\r\n            copyright &copy; 2013 - ')
79
+        __M_writer(escape(h.current_year()))
80
+        __M_writer(' tracim project.\r\n        </p>\r\n    </div>\r\n    \r\n    <script type="text/javascript">\r\n        $(function () {\r\n            $("[rel=\'tooltip\']").tooltip();\r\n        });\r\n    </script>\r\n')
81
+        return ''
82
+    finally:
83
+        context.caller_stack._pop_frame()
84
+
85
+
86
+def render_body_class(context):
87
+    __M_caller = context.caller_stack._push_frame()
88
+    try:
89
+        __M_writer = context.writer()
90
+        return ''
91
+    finally:
92
+        context.caller_stack._pop_frame()
93
+
94
+
95
+def render_meta(context):
96
+    __M_caller = context.caller_stack._push_frame()
97
+    try:
98
+        response = context.get('response', UNDEFINED)
99
+        __M_writer = context.writer()
100
+        __M_writer('\r\n    <meta charset="')
101
+        __M_writer(escape(response.charset))
102
+        __M_writer('" />\r\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\r\n')
103
+        return ''
104
+    finally:
105
+        context.caller_stack._pop_frame()
106
+
107
+
108
+def render_title(context):
109
+    __M_caller = context.caller_stack._push_frame()
110
+    try:
111
+        __M_writer = context.writer()
112
+        __M_writer('  ')
113
+        return ''
114
+    finally:
115
+        context.caller_stack._pop_frame()
116
+
117
+
118
+def render_main_menu(context):
119
+    __M_caller = context.caller_stack._push_frame()
120
+    try:
121
+        TIM = _mako_get_namespace(context, 'TIM')
122
+        h = context.get('h', UNDEFINED)
123
+        tg = context.get('tg', UNDEFINED)
124
+        fake_api = context.get('fake_api', UNDEFINED)
125
+        request = context.get('request', UNDEFINED)
126
+        _ = context.get('_', UNDEFINED)
127
+        __M_writer = context.writer()
128
+        __M_writer('\r\n    <div class="navbar navbar-fixed-top" role="navigation">\r\n        <div class="container-fluid">\r\n            <div class="navbar-header">\r\n                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">\r\n                    <span class="sr-only">Toggle navigation</span>\r\n                    <span class="icon-bar"></span>\r\n                    <span class="icon-bar"></span>\r\n                    <span class="icon-bar"></span>\r\n                </button>\r\n                <a class="navbar-brand" href="')
129
+        __M_writer(escape(tg.url('/')))
130
+        __M_writer('">\r\n')
131
+        __M_writer('                  <img src="')
132
+        __M_writer(escape(tg.url('/assets/img/logo.png')))
133
+        __M_writer('" class="pull-left" style="height: 48px; margin: -13px 0.5em 0 -13px;"/>\r\n                </a>\r\n            </div>\r\n            <div class="navbar-collapse collapse">\r\n')
134
+        if request.identity:
135
+            __M_writer('                    <ul class="nav navbar-nav navbar-left">\r\n                        <li><a href="')
136
+            __M_writer(escape(tg.url('/dashboard')))
137
+            __M_writer('">')
138
+            __M_writer(escape(TIM.ICO(16, 'places/user-desktop')))
139
+            __M_writer(' ')
140
+            __M_writer(escape(_('Dashboard')))
141
+            __M_writer('</a></li>\r\n                        <li><a href="')
142
+            __M_writer(escape(tg.url('/workspaces')))
143
+            __M_writer('">')
144
+            __M_writer(escape(TIM.ICO(16, 'places/folder-remote')))
145
+            __M_writer(' ')
146
+            __M_writer(escape(_('Workspace')))
147
+            __M_writer('</a></li>\r\n\r\n')
148
+            if fake_api.current_user.profile.id>=2:
149
+                __M_writer('                            <li class="dropdown">\r\n                              <a href="#" class="dropdown-toggle" data-toggle="dropdown">')
150
+                __M_writer(escape(TIM.ICO(16, 'categories/preferences-system')))
151
+                __M_writer(' ')
152
+                __M_writer(escape(_('Admin')))
153
+                __M_writer(' <b class="caret"></b></a>\r\n                              <ul class="dropdown-menu">\r\n                                <li><a href="')
154
+                __M_writer(escape(tg.url('/admin/users')))
155
+                __M_writer('">')
156
+                __M_writer(escape(TIM.ICO(16, 'apps/system-users')))
157
+                __M_writer(' ')
158
+                __M_writer(escape(_('Users')))
159
+                __M_writer('</a></li>\r\n                                <li><a href="')
160
+                __M_writer(escape(tg.url('/admin/workspaces')))
161
+                __M_writer('">')
162
+                __M_writer(escape(TIM.ICO(16, 'places/folder-remote')))
163
+                __M_writer(' ')
164
+                __M_writer(escape(_('Workspaces')))
165
+                __M_writer('</a></li>\r\n')
166
+                __M_writer('                              </ul>\r\n                            </li>\r\n')
167
+            __M_writer('\r\n')
168
+            if h.is_debug_mode():
169
+                __M_writer('                          <li class="dropdown">\r\n                              <a href="#" class="dropdown-toggle" data-toggle="dropdown">')
170
+                __M_writer(escape(TIM.ICO(16, 'categories/applications-system')))
171
+                __M_writer(' Debug <b class="caret"></b></a>\r\n                              <ul class="dropdown-menu">\r\n                                <li><a href="')
172
+                __M_writer(escape(tg.url('/debug/environ')))
173
+                __M_writer('">')
174
+                __M_writer(escape(TIM.ICO(16, 'apps/internet-web-browser')))
175
+                __M_writer(' request.environ</a></li>\r\n                                <li><a href="')
176
+                __M_writer(escape(tg.url('/debug/identity')))
177
+                __M_writer('">')
178
+                __M_writer(escape(TIM.ICO(16, 'actions/contact-new')))
179
+                __M_writer(' request.identity</a></li>\r\n                                <li class="divider" role="presentation"></li>\r\n                                <li><a href="')
180
+                __M_writer(escape(tg.url('/debug/iconset-fa')))
181
+                __M_writer('">')
182
+                __M_writer(escape(TIM.ICO(16, 'mimetypes/image-x-generic')))
183
+                __M_writer(' Icon set - Font Awesome</a></li>\r\n                                <li><a href="')
184
+                __M_writer(escape(tg.url('/debug/iconset-tango')))
185
+                __M_writer('">')
186
+                __M_writer(escape(TIM.ICO(16, 'mimetypes/image-x-generic')))
187
+                __M_writer(' Icon set - Tango Icons</a></li>\r\n                              </ul>\r\n                          </li>\r\n')
188
+            __M_writer('                    </ul>\r\n')
189
+        __M_writer('\r\n                <ul class="nav navbar-nav navbar-right">\r\n\r\n')
190
+        if request.identity:
191
+            __M_writer('                        <li class="dropdown">\r\n                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">\r\n                              ')
192
+            __M_writer(escape(request.identity['user'].display_name))
193
+            __M_writer('\r\n                            </a>\r\n                            <ul class="dropdown-menu pull-right">\r\n                                <li>\r\n                                  <a href="')
194
+            __M_writer(escape(tg.url('/user/me')))
195
+            __M_writer('">')
196
+            __M_writer(TIM.ICO(16, 'actions/contact-new'))
197
+            __M_writer(' ')
198
+            __M_writer(escape(_('My account')))
199
+            __M_writer('</a>\r\n                                </li>\r\n                                <li class="divider" role="presentation"></li>\r\n                                <li>\r\n                                  <a href="')
200
+            __M_writer(escape(tg.url('/logout_handler')))
201
+            __M_writer('">\r\n                                  ')
202
+            __M_writer(TIM.ICO(16, 'status/status-locked'))
203
+            __M_writer(' ')
204
+            __M_writer(escape(_('Logout')))
205
+            __M_writer('</a>\r\n                                </li>\r\n                            </ul>\r\n                        </li>\r\n')
206
+        else:
207
+            __M_writer('                        <li><a href="')
208
+            __M_writer(escape(tg.url('/')))
209
+            __M_writer('">')
210
+            __M_writer(escape(TIM.ICO(16, 'status/status-unlocked')))
211
+            __M_writer(' ')
212
+            __M_writer(escape(_('Login')))
213
+            __M_writer('</a></li>\r\n')
214
+        __M_writer('\r\n')
215
+        __M_writer('                </ul>\r\n            </div>\r\n        </div>\r\n    </div>\r\n')
216
+        return ''
217
+    finally:
218
+        context.caller_stack._pop_frame()
219
+
220
+
221
+def render_content_wrapper(context):
222
+    __M_caller = context.caller_stack._push_frame()
223
+    try:
224
+        TIM = _mako_get_namespace(context, 'TIM')
225
+        self = context.get('self', UNDEFINED)
226
+        __M_writer = context.writer()
227
+        __M_writer('\r\n    ')
228
+        __M_writer(escape(TIM.FLASH_MSG('col-sm-11')))
229
+        __M_writer('\r\n    ')
230
+        __M_writer(escape(self.body()))
231
+        __M_writer('\r\n')
232
+        return ''
233
+    finally:
234
+        context.caller_stack._pop_frame()
235
+
236
+
237
+"""
238
+__M_BEGIN_METADATA
239
+{"source_encoding": "utf-8", "line_map": {"23": 1, "26": 0, "34": 1, "35": 5, "36": 5, "37": 7, "38": 7, "39": 13, "40": 13, "41": 14, "42": 14, "43": 15, "44": 15, "45": 18, "46": 18, "47": 19, "48": 19, "49": 22, "50": 22, "51": 23, "52": 23, "53": 24, "54": 24, "55": 27, "56": 27, "57": 28, "58": 28, "59": 34, "60": 36, "61": 41, "62": 43, "63": 58, "64": 157, "70": 45, "76": 45, "77": 48, "78": 48, "79": 49, "80": 49, "86": 36, "95": 38, "100": 38, "101": 39, "102": 39, "108": 43, "112": 43, "118": 61, "128": 61, "129": 71, "130": 71, "131": 73, "132": 73, "133": 73, "134": 77, "135": 78, "136": 79, "137": 79, "138": 79, "139": 79, "140": 79, "141": 79, "142": 80, "143": 80, "144": 80, "145": 80, "146": 80, "147": 80, "148": 82, "149": 83, "150": 84, "151": 84, "152": 84, "153": 84, "154": 86, "155": 86, "156": 86, "157": 86, "158": 86, "159": 86, "160": 87, "161": 87, "162": 87, "163": 87, "164": 87, "165": 87, "166": 91, "167": 94, "168": 95, "169": 96, "170": 97, "171": 97, "172": 99, "173": 99, "174": 99, "175": 99, "176": 100, "177": 100, "178": 100, "179": 100, "180": 102, "181": 102, "182": 102, "183": 102, "184": 103, "185": 103, "186": 103, "187": 103, "188": 107, "189": 109, "190": 112, "191": 122, "192": 124, "193": 124, "194": 128, "195": 128, "196": 128, "197": 128, "198": 128, "199": 128, "200": 132, "201": 132, "202": 133, "203": 133, "204": 133, "205": 133, "206": 137, "207": 138, "208": 138, "209": 138, "210": 138, "211": 138, "212": 138, "213": 138, "214": 140, "215": 153, "221": 31, "227": 31, "228": 32, "229": 32, "230": 33, "231": 33, "237": 231}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated.mak"}
240
+__M_END_METADATA
241
+"""

+ 126 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated_left_treeview_right_toolbar.mak.py Просмотреть файл

@@ -0,0 +1,126 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984364.224995
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated_left_treeview_right_toolbar.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated_left_treeview_right_toolbar.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['REQUIRED_DIALOGS', 'content_wrapper', 'SIDEBAR_RIGHT_CONTENT', 'SIDEBAR_LEFT_CONTENT', 'FOOTER_CONTENT_LIKE_SCRIPTS_AND_CSS']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'TIM')] = ns
25
+
26
+def _mako_inherit(template, context):
27
+    _mako_generate_namespaces(context)
28
+    return runtime._inherit_from(context, 'local:templates.master_authenticated', _template_uri)
29
+def render_body(context,**pageargs):
30
+    __M_caller = context.caller_stack._push_frame()
31
+    try:
32
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
33
+        __M_writer = context.writer()
34
+        __M_writer('\n')
35
+        __M_writer('\n\n')
36
+        __M_writer('\n')
37
+        __M_writer('\n')
38
+        __M_writer('\n')
39
+        __M_writer('\n\n')
40
+        __M_writer('\n\n')
41
+        return ''
42
+    finally:
43
+        context.caller_stack._pop_frame()
44
+
45
+
46
+def render_REQUIRED_DIALOGS(context):
47
+    __M_caller = context.caller_stack._push_frame()
48
+    try:
49
+        __M_writer = context.writer()
50
+        return ''
51
+    finally:
52
+        context.caller_stack._pop_frame()
53
+
54
+
55
+def render_content_wrapper(context):
56
+    __M_caller = context.caller_stack._push_frame()
57
+    try:
58
+        TIM = _mako_get_namespace(context, 'TIM')
59
+        self = context.get('self', UNDEFINED)
60
+        tg = context.get('tg', UNDEFINED)
61
+        __M_writer = context.writer()
62
+        __M_writer('\n    <div class="container-fluid">\n        <div class="row-fluid">\n        \n')
63
+        __M_writer('            <div id="sidebar-left" class="fixed-width-sidebar col-sm-2 sidebar" >\n                <div class="btn-group" style="position: absolute; right: 2px; top: 4px; ">\n                    <button id="toggle-left-sidebar-width" type="button" class="btn btn-link"><i class="fa fa-angle-double-right"></i></button>\n                </div>\n                ')
64
+        __M_writer(escape(self.SIDEBAR_LEFT_CONTENT()))
65
+        __M_writer('\n            </div>\n')
66
+        __M_writer('\n')
67
+        __M_writer('            <div id="sidebar-right" class="col-sm-1 col-md-1 col-sm-offset-11 sidebar" style="background-color: #FFF;">\n                ')
68
+        __M_writer(escape(self.SIDEBAR_RIGHT_CONTENT()))
69
+        __M_writer('\n            </div> <!-- # End of side bar right -->\n')
70
+        __M_writer('            \n        <div>\n            ')
71
+        __M_writer(escape(TIM.FLASH_MSG('col-sm-9 col-sm-offset-2')))
72
+        __M_writer('\n            \n            <div class="row">\n                <div class="col-sm-9 col-sm-offset-2 main">\n')
73
+        __M_writer('                    ')
74
+        __M_writer(escape(self.body()))
75
+        __M_writer('\n')
76
+        __M_writer('                </div>\n            </div>\n        </div>\n    </div>\n    ')
77
+        __M_writer(escape(self.REQUIRED_DIALOGS()))
78
+        __M_writer('\n    \n')
79
+        __M_writer('    <script src="')
80
+        __M_writer(escape(tg.url('/assets/js/jquery.min.js')))
81
+        __M_writer('"></script>\n    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->\n    <script src="')
82
+        __M_writer(escape(tg.url('/assets/js/ie10-viewport-bug-workaround.js')))
83
+        __M_writer('"></script>\n    <script>\n        $(function () {\n            $(\'#toggle-left-sidebar-width\').click( function() {\n              sidebar = $(\'#sidebar-left\');\n              buttonIcon = $(\'> i\', this);\n              if (sidebar.hasClass(\'fixed-width-sidebar\')) {\n                sidebar.removeClass(\'fixed-width-sidebar\')\n                sidebar.removeClass(\'col-sm-2\');\n                \n                buttonIcon.removeClass(\'fa-angle-double-right\');\n                buttonIcon.addClass(\'fa-angle-double-left\');\n              } else {\n                sidebar.addClass(\'fixed-width-sidebar\')\n                sidebar.addClass(\'col-sm-2\');\n                buttonIcon.removeClass(\'fa-angle-double-left\');\n                buttonIcon.addClass(\'fa-angle-double-right\');\n              }\n            });\n\n            $(\'#current-page-breadcrumb-toggle-button\').click( function() {\n              $(\'#current-page-breadcrumb\').toggle();\n            });\n        });\n    </script>\n    <!-- TinyMCE ================================================== -->\n    <script src="')
84
+        __M_writer(escape(tg.url('/assets/tinymce/js/tinymce/tinymce.min.js')))
85
+        __M_writer('"></script>\n    <script>\n      tinymce.init({\n          menubar:false,\n          statusbar:true,\n          plugins: [ "table", "image", "charmap", "autolink" ],\n\n          skin : \'custom\',\n          selector:\'.pod-rich-textarea\',\n          toolbar: [\n              "undo redo | bold italic underline strikethrough | bullist numlist outdent indent | table | charmap | styleselect | alignleft aligncenter alignright",\n          ]\n      });\n    </script>\n    \n    <!-- JSTree ================================================== -->\n    <link rel="stylesheet" href="')
86
+        __M_writer(escape(tg.url('/assets/jstree/themes/default/style.min.css')))
87
+        __M_writer('" />\n    <script src="')
88
+        __M_writer(escape(tg.url('/assets/jstree/jstree.min.js')))
89
+        __M_writer('"></script>\n\n')
90
+        return ''
91
+    finally:
92
+        context.caller_stack._pop_frame()
93
+
94
+
95
+def render_SIDEBAR_RIGHT_CONTENT(context):
96
+    __M_caller = context.caller_stack._push_frame()
97
+    try:
98
+        __M_writer = context.writer()
99
+        return ''
100
+    finally:
101
+        context.caller_stack._pop_frame()
102
+
103
+
104
+def render_SIDEBAR_LEFT_CONTENT(context):
105
+    __M_caller = context.caller_stack._push_frame()
106
+    try:
107
+        __M_writer = context.writer()
108
+        return ''
109
+    finally:
110
+        context.caller_stack._pop_frame()
111
+
112
+
113
+def render_FOOTER_CONTENT_LIKE_SCRIPTS_AND_CSS(context):
114
+    __M_caller = context.caller_stack._push_frame()
115
+    try:
116
+        __M_writer = context.writer()
117
+        return ''
118
+    finally:
119
+        context.caller_stack._pop_frame()
120
+
121
+
122
+"""
123
+__M_BEGIN_METADATA
124
+{"source_encoding": "utf-8", "line_map": {"23": 2, "29": 0, "34": 1, "35": 2, "36": 4, "37": 5, "38": 6, "39": 7, "40": 94, "46": 6, "55": 9, "62": 9, "63": 14, "64": 18, "65": 18, "66": 21, "67": 23, "68": 24, "69": 24, "70": 27, "71": 29, "72": 29, "73": 34, "74": 34, "75": 34, "76": 36, "77": 40, "78": 40, "79": 47, "80": 47, "81": 47, "82": 49, "83": 49, "84": 75, "85": 75, "86": 91, "87": 91, "88": 92, "89": 92, "95": 5, "104": 4, "113": 7, "122": 113}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated_left_treeview_right_toolbar.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/master_authenticated_left_treeview_right_toolbar.mak"}
125
+__M_END_METADATA
126
+"""

+ 196 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/pod.mak.py Просмотреть файл

@@ -0,0 +1,196 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984364.065033
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/pod.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/pod.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['HELP_MODAL_DIALOG_BUTTON', 'ICO', 'TINYMCE_INIT_SCRIPT', 'FLASH_MSG', 'MODAL_DIALOG', 'HELP_MODAL_DIALOG', 'ICO_URL', 'NO_CONTENT_INFO', 'ICO_BADGED', 'ICO_FA_BADGED']
14
+
15
+
16
+def render_body(context,**pageargs):
17
+    __M_caller = context.caller_stack._push_frame()
18
+    try:
19
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
20
+        __M_writer = context.writer()
21
+        __M_writer('\n')
22
+        __M_writer('\n')
23
+        __M_writer('\n')
24
+        __M_writer('\n\n')
25
+        __M_writer('\n')
26
+        __M_writer('\n\n')
27
+        __M_writer('\n                \n')
28
+        __M_writer('\n\n')
29
+        __M_writer('\n\n')
30
+        __M_writer('\n\n\n')
31
+        return ''
32
+    finally:
33
+        context.caller_stack._pop_frame()
34
+
35
+
36
+def render_HELP_MODAL_DIALOG_BUTTON(context,help_page,css_special_style=''):
37
+    __M_caller = context.caller_stack._push_frame()
38
+    try:
39
+        tg = context.get('tg', UNDEFINED)
40
+        def ICO(icon_size,icon_path,title=''):
41
+            return render_ICO(context,icon_size,icon_path,title)
42
+        __M_writer = context.writer()
43
+        __M_writer('<a style="')
44
+        __M_writer(escape(css_special_style))
45
+        __M_writer('" data-toggle="modal" data-target="#help-modal-dialog-')
46
+        __M_writer(escape(help_page))
47
+        __M_writer('" data-remote="')
48
+        __M_writer(escape(tg.url('/help/page/{}?mode=modal'.format(help_page))))
49
+        __M_writer('" >')
50
+        __M_writer(escape(ICO(16, 'apps/help-browser')))
51
+        __M_writer('</a>')
52
+        return ''
53
+    finally:
54
+        context.caller_stack._pop_frame()
55
+
56
+
57
+def render_ICO(context,icon_size,icon_path,title=''):
58
+    __M_caller = context.caller_stack._push_frame()
59
+    try:
60
+        h = context.get('h', UNDEFINED)
61
+        __M_writer = context.writer()
62
+        __M_writer('<img src="')
63
+        __M_writer(h.IconPath(icon_size, icon_path))
64
+        __M_writer('" alt="" title="')
65
+        __M_writer(escape(title))
66
+        __M_writer('"/>')
67
+        return ''
68
+    finally:
69
+        context.caller_stack._pop_frame()
70
+
71
+
72
+def render_TINYMCE_INIT_SCRIPT(context,selector):
73
+    __M_caller = context.caller_stack._push_frame()
74
+    try:
75
+        __M_writer = context.writer()
76
+        __M_writer('\n    <script>\n        tinymce.init({\n            menubar:false,\n            statusbar:true,\n            plugins: [ "table", "image", "charmap", "fullscreen", "autolink" ],\n\n            skin : \'custom\',\n            selector:\'')
77
+        __M_writer(escape(selector))
78
+        __M_writer('\',\n            toolbar: [\n              "undo redo | bold italic underline strikethrough | bullist numlist outdent indent | table | charmap | styleselect | alignleft aligncenter alignright | fullscreen",\n            ]\n        });\n    </script>\n')
79
+        return ''
80
+    finally:
81
+        context.caller_stack._pop_frame()
82
+
83
+
84
+def render_FLASH_MSG(context,css_class=''):
85
+    __M_caller = context.caller_stack._push_frame()
86
+    try:
87
+        tg = context.get('tg', UNDEFINED)
88
+        __M_writer = context.writer()
89
+        __M_writer('\n    ')
90
+        flash=tg.flash_obj.render('flash', use_js=False) 
91
+        
92
+        __M_writer('\n')
93
+        if flash:
94
+            __M_writer('        <div class="row">\n            <div class="')
95
+            __M_writer(escape(css_class))
96
+            __M_writer('">\n                ')
97
+            __M_writer(flash)
98
+            __M_writer('\n            </div>\n        </div>\n')
99
+            __M_writer("        <script>\n            $( document ).ready(function() {\n                $('.alert-ok').removeClass('alert-ok').addClass('alert-info');\n                $('.alert-error').removeClass('alert-error').addClass('alert-danger');\n            });\n        </script>\n")
100
+        return ''
101
+    finally:
102
+        context.caller_stack._pop_frame()
103
+
104
+
105
+def render_MODAL_DIALOG(context,css_id,modal_size=''):
106
+    __M_caller = context.caller_stack._push_frame()
107
+    try:
108
+        __M_writer = context.writer()
109
+        __M_writer('\n    <div id="')
110
+        __M_writer(escape(css_id))
111
+        __M_writer('" class="modal" tabindex="-1" role="dialog" aria-hidden="true">\n        <div class="modal-dialog ')
112
+        __M_writer(escape(modal_size))
113
+        __M_writer('">\n            <div class="modal-content">\n            </div>\n        </div>\n    </div>\n')
114
+        return ''
115
+    finally:
116
+        context.caller_stack._pop_frame()
117
+
118
+
119
+def render_HELP_MODAL_DIALOG(context,help_page):
120
+    __M_caller = context.caller_stack._push_frame()
121
+    try:
122
+        __M_writer = context.writer()
123
+        __M_writer('<div id="help-modal-dialog-')
124
+        __M_writer(escape(help_page))
125
+        __M_writer('" class="modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"></div></div></div>')
126
+        return ''
127
+    finally:
128
+        context.caller_stack._pop_frame()
129
+
130
+
131
+def render_ICO_URL(context,icon_size,icon_path):
132
+    __M_caller = context.caller_stack._push_frame()
133
+    try:
134
+        h = context.get('h', UNDEFINED)
135
+        __M_writer = context.writer()
136
+        __M_writer(h.IconPath(icon_size, icon_path))
137
+        return ''
138
+    finally:
139
+        context.caller_stack._pop_frame()
140
+
141
+
142
+def render_NO_CONTENT_INFO(context,message):
143
+    __M_caller = context.caller_stack._push_frame()
144
+    try:
145
+        def ICO(icon_size,icon_path,title=''):
146
+            return render_ICO(context,icon_size,icon_path,title)
147
+        __M_writer = context.writer()
148
+        __M_writer('<div class="alert alert-warning" role="alert">')
149
+        __M_writer(escape(ICO(32, 'status/dialog-information')))
150
+        __M_writer(' ')
151
+        __M_writer(message)
152
+        __M_writer('</div>')
153
+        return ''
154
+    finally:
155
+        context.caller_stack._pop_frame()
156
+
157
+
158
+def render_ICO_BADGED(context,icon_size,icon_path,title='',css_class='badge'):
159
+    __M_caller = context.caller_stack._push_frame()
160
+    try:
161
+        def ICO(icon_size,icon_path,title=''):
162
+            return render_ICO(context,icon_size,icon_path,title)
163
+        __M_writer = context.writer()
164
+        __M_writer('<span class="')
165
+        __M_writer(escape(css_class))
166
+        __M_writer('" rel="tooltip" data-toggle="tooltip" data-placement="bottom" title="')
167
+        __M_writer(escape(title))
168
+        __M_writer('">')
169
+        __M_writer(escape(ICO(icon_size, icon_path, title)))
170
+        __M_writer('</span>')
171
+        return ''
172
+    finally:
173
+        context.caller_stack._pop_frame()
174
+
175
+
176
+def render_ICO_FA_BADGED(context,fa_class='fa fa-flag',title='',css_style=''):
177
+    __M_caller = context.caller_stack._push_frame()
178
+    try:
179
+        __M_writer = context.writer()
180
+        __M_writer('<i style="')
181
+        __M_writer(escape(css_style))
182
+        __M_writer('" class="')
183
+        __M_writer(escape(fa_class))
184
+        __M_writer('" rel="tooltip" data-toggle="tooltip" data-placement="bottom" title="')
185
+        __M_writer(escape(title))
186
+        __M_writer('"></i>')
187
+        return ''
188
+    finally:
189
+        context.caller_stack._pop_frame()
190
+
191
+
192
+"""
193
+__M_BEGIN_METADATA
194
+{"source_encoding": "utf-8", "line_map": {"192": 186, "131": 1, "150": 9, "136": 1, "151": 9, "142": 9, "16": 0, "152": 9, "148": 9, "21": 1, "22": 2, "23": 3, "24": 4, "25": 6, "26": 7, "27": 9, "28": 18, "29": 34, "30": 56, "176": 4, "36": 7, "165": 3, "166": 3, "167": 3, "168": 3, "169": 3, "170": 3, "43": 7, "44": 7, "45": 7, "46": 7, "47": 7, "48": 7, "49": 7, "50": 7, "51": 7, "180": 4, "158": 3, "182": 4, "183": 4, "184": 4, "57": 2, "186": 4, "62": 2, "63": 2, "64": 2, "65": 2, "66": 2, "164": 3, "181": 4, "72": 20, "76": 20, "77": 28, "78": 28, "84": 36, "185": 4, "89": 36, "90": 37, "92": 37, "93": 38, "94": 39, "95": 40, "96": 40, "97": 41, "98": 41, "99": 49, "105": 11, "109": 11, "110": 12, "111": 12, "112": 13, "113": 13, "119": 6, "123": 6, "124": 6, "125": 6, "149": 9}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/pod.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/pod.mak"}
195
+__M_END_METADATA
196
+"""

+ 199 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_folder_get_one.mak.py Просмотреть файл

@@ -0,0 +1,199 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984363.898257
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_folder_get_one.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_folder_get_one.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['REQUIRED_DIALOGS', 'SIDEBAR_RIGHT_CONTENT', 'SIDEBAR_LEFT_CONTENT', 'title']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('FORMS', context._clean_inheritance_tokens(), templateuri='tracim.templates.user_workspace_forms', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'FORMS')] = ns
25
+
26
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
27
+    context.namespaces[(__name__, 'TIM')] = ns
28
+
29
+    ns = runtime.TemplateNamespace('WIDGETS', context._clean_inheritance_tokens(), templateuri='tracim.templates.user_workspace_widgets', callables=None,  calling_uri=_template_uri)
30
+    context.namespaces[(__name__, 'WIDGETS')] = ns
31
+
32
+    ns = runtime.TemplateNamespace('TOOLBAR', context._clean_inheritance_tokens(), templateuri='tracim.templates.folder_toolbars', callables=None,  calling_uri=_template_uri)
33
+    context.namespaces[(__name__, 'TOOLBAR')] = ns
34
+
35
+def _mako_inherit(template, context):
36
+    _mako_generate_namespaces(context)
37
+    return runtime._inherit_from(context, 'local:templates.master_authenticated_left_treeview_right_toolbar', _template_uri)
38
+def render_body(context,**pageargs):
39
+    __M_caller = context.caller_stack._push_frame()
40
+    try:
41
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
42
+        FORMS = _mako_get_namespace(context, 'FORMS')
43
+        TIM = _mako_get_namespace(context, 'TIM')
44
+        result = context.get('result', UNDEFINED)
45
+        WIDGETS = _mako_get_namespace(context, 'WIDGETS')
46
+        h = context.get('h', UNDEFINED)
47
+        fake_api = context.get('fake_api', UNDEFINED)
48
+        _ = context.get('_', UNDEFINED)
49
+        __M_writer = context.writer()
50
+        __M_writer('\n\n')
51
+        __M_writer('\n')
52
+        __M_writer('\n')
53
+        __M_writer('\n')
54
+        __M_writer('\n\n')
55
+        __M_writer('\n\n')
56
+        __M_writer('\n\n')
57
+        __M_writer('\n\n')
58
+        __M_writer('\n\n')
59
+        __M_writer('\n<h1 class="page-header">\n    ')
60
+        __M_writer(escape(TIM.ICO(32, 'places/jstree-folder')))
61
+        __M_writer(' ')
62
+        __M_writer(escape(result.folder.label))
63
+        __M_writer('\n\n    <button id="current-page-breadcrumb-toggle-button" class="btn btn-link" title="')
64
+        __M_writer(escape(_('Show localisation')))
65
+        __M_writer('"><i class="fa fa-map-marker"></i></button>\n</h1>\n')
66
+        __M_writer(escape(WIDGETS.BREADCRUMB('current-page-breadcrumb', fake_api.breadcrumb)))
67
+        __M_writer('\n\n<div style="margin: -1.5em auto 1em auto;">\n  <p>')
68
+        __M_writer(_('created on {} by <b>{}</b>').format(h.date_time_in_long_format(result.folder.created), result.folder.owner.name))
69
+        __M_writer('</p>\n</div>\n<p>   \n    <b>')
70
+        __M_writer(escape(_('Content:')))
71
+        __M_writer('</b>\n')
72
+        if result.folder.allowed_content.folder:
73
+            __M_writer('        ')
74
+            __M_writer(escape(TIM.ICO_BADGED(16, 'places/jstree-folder', _('sub-folders'))))
75
+            __M_writer('\n')
76
+        if result.folder.allowed_content.thread:
77
+            __M_writer('        ')
78
+            __M_writer(escape(TIM.ICO_BADGED(16, 'apps/internet-group-chat', _('threads'))))
79
+            __M_writer('\n')
80
+        if result.folder.allowed_content.file:
81
+            __M_writer('        ')
82
+            __M_writer(escape(TIM.ICO_BADGED(16, 'mimetypes/text-x-generic-template', _('files'))))
83
+            __M_writer('\n')
84
+        if result.folder.allowed_content.page:
85
+            __M_writer('        ')
86
+            __M_writer(escape(TIM.ICO_BADGED(16, 'mimetypes/text-html', _('pages'))))
87
+            __M_writer('\n')
88
+        __M_writer('</p>\n<hr class="pod-panel-separator"/>\n\n')
89
+        if result.folder.allowed_content.folder:
90
+            if h.user_role(fake_api.current_user, result.folder.workspace)<=2: # User must be a content manager to be allowed to create folders
91
+                __M_writer('        ')
92
+                __M_writer(escape(WIDGETS.SECURED_SECTION_TITLE(fake_api.current_user, result.folder.workspace, 'sub-folders', _('Sub-folders'))))
93
+                __M_writer('\n')
94
+            else:
95
+                __M_writer('        ')
96
+                __M_writer(escape(WIDGETS.SECURED_SECTION_TITLE(fake_api.current_user, result.folder.workspace, 'sub-folders', _('Sub-folders'), 'folder-new', _('create new folder...'))))
97
+                __M_writer('\n        ')
98
+                __M_writer(escape(FORMS.NEW_FOLDER_FORM('folder-new', result.folder.workspace.id, result.folder.id)))
99
+                __M_writer('\n')
100
+            __M_writer('    <p>\n        ')
101
+            __M_writer(escape(WIDGETS.FOLDER_LIST('subfolder-list', result.folder.workspace.id, fake_api.current_folder_subfolders)))
102
+            __M_writer('\n    </p>\n    <hr/>\n')
103
+        __M_writer('\n')
104
+        if result.folder.allowed_content.thread:
105
+            __M_writer('    ')
106
+            __M_writer(escape(WIDGETS.SECURED_SECTION_TITLE(fake_api.current_user, result.folder.workspace, 'threads', _('Threads'), 'thread-new', _('start new thread...'))))
107
+            __M_writer('\n    ')
108
+            __M_writer(escape(FORMS.NEW_THREAD_FORM('thread-new', result.folder.workspace.id, result.folder.id)))
109
+            __M_writer('\n\n    <p>\n        ')
110
+            __M_writer(escape(WIDGETS.THREAD_LIST('thread-list', result.folder.workspace.id, fake_api.current_folder_threads)))
111
+            __M_writer('\n    </p>\n    <hr/>\n')
112
+        __M_writer('\n')
113
+        if result.folder.allowed_content.file:
114
+            __M_writer('    ')
115
+            __M_writer(escape(WIDGETS.SECURED_SECTION_TITLE(fake_api.current_user, result.folder.workspace, 'files', _('Files'), 'file-new', _('add new file...'))))
116
+            __M_writer('\n    ')
117
+            __M_writer(escape(FORMS.NEW_FILE_FORM('file-new', result.folder.workspace.id, result.folder.id)))
118
+            __M_writer('\n\n    <p>\n        ')
119
+            __M_writer(escape(WIDGETS.FILE_LIST('thread-list', result.folder.workspace.id, fake_api.current_folder_files)))
120
+            __M_writer('\n    </p>\n    <hr/>\n')
121
+        __M_writer('\n')
122
+        if result.folder.allowed_content.page:
123
+            __M_writer('    ')
124
+            __M_writer(escape(WIDGETS.SECURED_SECTION_TITLE(fake_api.current_user, result.folder.workspace, 'pages', _('Pages'), 'page-new', _('create new page...'))))
125
+            __M_writer('\n    ')
126
+            __M_writer(escape(FORMS.NEW_PAGE_FORM('page-new', result.folder.workspace.id, result.folder.id)))
127
+            __M_writer('\n\n    <p>\n        ')
128
+            __M_writer(escape(WIDGETS.PAGE_LIST('page-list', result.folder.workspace.id, fake_api.current_folder_pages)))
129
+            __M_writer('\n    </p>\n    <hr/>\n')
130
+        return ''
131
+    finally:
132
+        context.caller_stack._pop_frame()
133
+
134
+
135
+def render_REQUIRED_DIALOGS(context):
136
+    __M_caller = context.caller_stack._push_frame()
137
+    try:
138
+        TIM = _mako_get_namespace(context, 'TIM')
139
+        __M_writer = context.writer()
140
+        __M_writer('\n    ')
141
+        __M_writer(escape(TIM.HELP_MODAL_DIALOG('content-wiki-page-definition')))
142
+        __M_writer('\n    ')
143
+        __M_writer(escape(TIM.MODAL_DIALOG('folder-edit-modal-dialog')))
144
+        __M_writer('\n    ')
145
+        __M_writer(escape(TIM.MODAL_DIALOG('folder-move-modal-dialog')))
146
+        __M_writer('\n')
147
+        return ''
148
+    finally:
149
+        context.caller_stack._pop_frame()
150
+
151
+
152
+def render_SIDEBAR_RIGHT_CONTENT(context):
153
+    __M_caller = context.caller_stack._push_frame()
154
+    try:
155
+        fake_api = context.get('fake_api', UNDEFINED)
156
+        result = context.get('result', UNDEFINED)
157
+        TOOLBAR = _mako_get_namespace(context, 'TOOLBAR')
158
+        __M_writer = context.writer()
159
+        __M_writer('\n    ')
160
+        __M_writer(escape(TOOLBAR.SECURED_FOLDER(fake_api.current_user, result.folder.workspace, result.folder)))
161
+        __M_writer('\n')
162
+        return ''
163
+    finally:
164
+        context.caller_stack._pop_frame()
165
+
166
+
167
+def render_SIDEBAR_LEFT_CONTENT(context):
168
+    __M_caller = context.caller_stack._push_frame()
169
+    try:
170
+        WIDGETS = _mako_get_namespace(context, 'WIDGETS')
171
+        result = context.get('result', UNDEFINED)
172
+        _ = context.get('_', UNDEFINED)
173
+        __M_writer = context.writer()
174
+        __M_writer('\n    <h4>')
175
+        __M_writer(escape(_('Workspaces')))
176
+        __M_writer('</h4>\n    ')
177
+        __M_writer(escape(WIDGETS.TREEVIEW('sidebar-left-menu', 'workspace_{}__folder_{}'.format(result.folder.workspace.id, result.folder.id))))
178
+        __M_writer('\n    <hr/>\n')
179
+        return ''
180
+    finally:
181
+        context.caller_stack._pop_frame()
182
+
183
+
184
+def render_title(context):
185
+    __M_caller = context.caller_stack._push_frame()
186
+    try:
187
+        result = context.get('result', UNDEFINED)
188
+        __M_writer = context.writer()
189
+        __M_writer(escape(result.folder.label))
190
+        return ''
191
+    finally:
192
+        context.caller_stack._pop_frame()
193
+
194
+
195
+"""
196
+__M_BEGIN_METADATA
197
+{"source_encoding": "utf-8", "line_map": {"23": 5, "26": 3, "29": 6, "32": 4, "38": 0, "50": 1, "51": 3, "52": 4, "53": 5, "54": 6, "55": 8, "56": 14, "57": 18, "58": 24, "59": 31, "60": 33, "61": 33, "62": 33, "63": 33, "64": 35, "65": 35, "66": 37, "67": 37, "68": 40, "69": 40, "70": 43, "71": 43, "72": 44, "73": 45, "74": 45, "75": 45, "76": 47, "77": 48, "78": 48, "79": 48, "80": 50, "81": 51, "82": 51, "83": 51, "84": 53, "85": 54, "86": 54, "87": 54, "88": 56, "89": 59, "90": 60, "91": 61, "92": 61, "93": 61, "94": 62, "95": 63, "96": 63, "97": 63, "98": 64, "99": 64, "100": 66, "101": 67, "102": 67, "103": 71, "104": 72, "105": 73, "106": 73, "107": 73, "108": 74, "109": 74, "110": 77, "111": 77, "112": 81, "113": 82, "114": 83, "115": 83, "116": 83, "117": 84, "118": 84, "119": 87, "120": 87, "121": 91, "122": 92, "123": 93, "124": 93, "125": 93, "126": 94, "127": 94, "128": 97, "129": 97, "135": 20, "140": 20, "141": 21, "142": 21, "143": 22, "144": 22, "145": 23, "146": 23, "152": 16, "159": 16, "160": 17, "161": 17, "167": 10, "174": 10, "175": 11, "176": 11, "177": 12, "178": 12, "184": 8, "189": 8, "195": 189}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_folder_get_one.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_folder_get_one.mak"}
198
+__M_END_METADATA
199
+"""

+ 428 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_forms.mak.py Просмотреть файл

@@ -0,0 +1,428 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984364.005786
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_forms.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_forms.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['NEW_PAGE_FORM', 'USER_PASSWORD_EDIT_FORM', 'NEW_FILE_FORM', 'ITEM_MOVE_FORM', 'NEW_THREAD_FORM', 'EDIT_FOLDER_FORM', 'NEW_FOLDER_FORM', 'NEW_FILE_REVISION_WITH_COMMENT_FORM', 'USER_EDIT_FORM', 'NEW_COMMENT_FORM_IN_THREAD']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('WIDGETS', context._clean_inheritance_tokens(), templateuri='tracim.templates.user_workspace_widgets', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'WIDGETS')] = ns
25
+
26
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
27
+    context.namespaces[(__name__, 'TIM')] = ns
28
+
29
+def render_body(context,**pageargs):
30
+    __M_caller = context.caller_stack._push_frame()
31
+    try:
32
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
33
+        __M_writer = context.writer()
34
+        __M_writer('\n')
35
+        __M_writer('\n\n')
36
+        __M_writer('\n\n')
37
+        __M_writer('\n\n\n\n')
38
+        __M_writer('\n\n\n')
39
+        __M_writer('\n\n')
40
+        __M_writer('\n\n')
41
+        __M_writer('\n\n')
42
+        __M_writer('\n\n')
43
+        __M_writer('\n\n')
44
+        __M_writer('\n\n')
45
+        __M_writer('\n')
46
+        return ''
47
+    finally:
48
+        context.caller_stack._pop_frame()
49
+
50
+
51
+def render_NEW_PAGE_FORM(context,dom_id,workspace_id,parent_id=None):
52
+    __M_caller = context.caller_stack._push_frame()
53
+    try:
54
+        tg = context.get('tg', UNDEFINED)
55
+        _ = context.get('_', UNDEFINED)
56
+        __M_writer = context.writer()
57
+        __M_writer('\n    <div id="')
58
+        __M_writer(escape(dom_id))
59
+        __M_writer('" class="collapse">\n        <div class="pod-inline-form" >\n            <form method="POST" action="')
60
+        __M_writer(escape(tg.url('/workspaces/{}/folders/{}/pages').format(workspace_id, parent_id)))
61
+        __M_writer('">\n                <div class="form-group">\n                    <label for="page-title">')
62
+        __M_writer(escape(_('Page title')))
63
+        __M_writer('</label>\n                    <input name="label" type="text" class="form-control" id="page-title" placeholder="')
64
+        __M_writer(escape(_('Title')))
65
+        __M_writer('">\n                </div>\n                <div class="form-group">\n                    <label for="page-content">')
66
+        __M_writer(escape(_('Content')))
67
+        __M_writer('</label>\n                    <textarea id="page-content-textarea" name="content" class="form-control pod-rich-textarea" id="page-content" placeholder="')
68
+        __M_writer(escape(_('Write here the page content')))
69
+        __M_writer('"></textarea>\n                </div>\n                <span class="pull-right" style="margin-top: 0.5em;">\n                    <button id="')
70
+        __M_writer(escape(dom_id))
71
+        __M_writer('-submit-button" type="submit" class="btn btn-small btn-success" title="')
72
+        __M_writer(escape(_('Create this page')))
73
+        __M_writer('"><i class=" fa fa-check"></i> ')
74
+        __M_writer(escape(_('Validate')))
75
+        __M_writer('</button>\n                </span>\n                \n                <div style="clear: both;"></div>\n            </form>\n        </div>\n        <hr/>\n    </div>\n')
76
+        return ''
77
+    finally:
78
+        context.caller_stack._pop_frame()
79
+
80
+
81
+def render_USER_PASSWORD_EDIT_FORM(context,dom_id,user,target_url):
82
+    __M_caller = context.caller_stack._push_frame()
83
+    try:
84
+        TIM = _mako_get_namespace(context, 'TIM')
85
+        _ = context.get('_', UNDEFINED)
86
+        __M_writer = context.writer()
87
+        __M_writer("\n    <form id='")
88
+        __M_writer(escape(dom_id))
89
+        __M_writer('\' role="form" method="POST" action="')
90
+        __M_writer(escape(target_url))
91
+        __M_writer('">\n        <div class="modal-header">\n            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">')
92
+        __M_writer(escape(_('Close')))
93
+        __M_writer('</span></button>\n            <h4 class="modal-title">')
94
+        __M_writer(escape(TIM.ICO(32, 'actions/system-lock-screen')))
95
+        __M_writer(' ')
96
+        __M_writer(escape(_('Change password')))
97
+        __M_writer('</h4>\n        </div>\n        <div class="modal-body">\n            <div class="form-group">\n                <label for="currentPassword" class="control-label">')
98
+        __M_writer(escape(_('Current password')))
99
+        __M_writer('</label>\n                <div><input class="form-control" type="password" id="currentPassword" name="current_password" placeholder="')
100
+        __M_writer(escape(_('Current password')))
101
+        __M_writer('"></div>\n            </div>\n            <div class="form-group">\n                <label for="newPassword1" class="control-label">')
102
+        __M_writer(escape(_('New password')))
103
+        __M_writer('</label>\n                <div><input class="form-control" type="password" id="newPassword1" name="new_password1" placeholder="')
104
+        __M_writer(escape(_('New password')))
105
+        __M_writer('"></div>\n            </div>\n            <div class="form-group">\n                <label for="newPassword2" class="control-label">')
106
+        __M_writer(escape(_('Retype password')))
107
+        __M_writer('</label>\n                    <div><input class="form-control" type="password" id="newPassword2" name="new_password2" placeholder="')
108
+        __M_writer(escape(_('Retype password')))
109
+        __M_writer('"></div>\n                </div>\n            </div>\n            <div class="modal-footer">\n                <button type="submit" class="btn btn-success pull-right"><i class="fa fa-check"></i> ')
110
+        __M_writer(escape(_('Save changes')))
111
+        __M_writer('</button>\n            </div>\n        </div>\n    </form>\n')
112
+        return ''
113
+    finally:
114
+        context.caller_stack._pop_frame()
115
+
116
+
117
+def render_NEW_FILE_FORM(context,dom_id,workspace_id,parent_id=None):
118
+    __M_caller = context.caller_stack._push_frame()
119
+    try:
120
+        tg = context.get('tg', UNDEFINED)
121
+        _ = context.get('_', UNDEFINED)
122
+        __M_writer = context.writer()
123
+        __M_writer('\n    <div id="')
124
+        __M_writer(escape(dom_id))
125
+        __M_writer('" class="collapse">\n        <div class="pod-inline-form" >\n            <form role="form" method="POST" enctype="multipart/form-data" action="')
126
+        __M_writer(escape(tg.url('/workspaces/{}/folders/{}/files').format(workspace_id, parent_id)))
127
+        __M_writer('">\n                <div class="form-group">\n                    <label for="file-label">')
128
+        __M_writer(escape(_('Title (optionnal)')))
129
+        __M_writer('</label>\n                    <input id="file-label" class="form-control" name="label" type="text" placeholder="')
130
+        __M_writer(escape(_('you can give a title to this file')))
131
+        __M_writer('">\n                </div>\n                <div class="form-group">\n                    <label for="file-object">')
132
+        __M_writer(escape(_('Select a file')))
133
+        __M_writer('</label>\n                    <input id="file-object" name="file_data" type="file" placeholder="')
134
+        __M_writer(escape(_('choose a file')))
135
+        __M_writer('">\n                </div>\n                <span class="pull-right" style="margin-top: 0.5em;">\n                    <button id="')
136
+        __M_writer(escape(dom_id))
137
+        __M_writer('-submit-button" type="submit" class="btn btn-small btn-success" title="')
138
+        __M_writer(escape(_('Validate')))
139
+        __M_writer('"><i class=" fa fa-check"></i> ')
140
+        __M_writer(escape(_('Validate')))
141
+        __M_writer('</button>\n                </span>\n                \n                <div style="clear: both;"></div>\n            </form>\n        </div>\n        <hr/>\n    </div>\n')
142
+        return ''
143
+    finally:
144
+        context.caller_stack._pop_frame()
145
+
146
+
147
+def render_ITEM_MOVE_FORM(context,dom_id,item,do_move_url,modal_title):
148
+    __M_caller = context.caller_stack._push_frame()
149
+    try:
150
+        WIDGETS = _mako_get_namespace(context, 'WIDGETS')
151
+        TIM = _mako_get_namespace(context, 'TIM')
152
+        dict = context.get('dict', UNDEFINED)
153
+        _ = context.get('_', UNDEFINED)
154
+        tg = context.get('tg', UNDEFINED)
155
+        __M_writer = context.writer()
156
+        __M_writer('\n    <form role="form" method="POST" action="')
157
+        __M_writer(escape(do_move_url))
158
+        __M_writer('">\n        <div class="modal-header">\n            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">')
159
+        __M_writer(escape(_('Close')))
160
+        __M_writer('</span></button>\n            <h4 class="modal-title" id="myModalLabel">')
161
+        __M_writer(escape(TIM.ICO(32, 'actions/item-move')))
162
+        __M_writer(' ')
163
+        __M_writer(escape(modal_title))
164
+        __M_writer('</h4>\n        </div>\n        <div class="modal-body">\n            ')
165
+
166
+        selected_id = 'workspace_{}__folder_{}'.format(item.workspace.id, item.folder.id if item.folder else '')
167
+        get_root_url = tg.url("/workspaces/treeview_root", dict(current_id=selected_id, all_workspaces=0, folder_allowed_content_types='folder', ignore_id=item.id))
168
+        get_children_url = tg.url("/workspaces/treeview_children", dict(removed_item=item.id, ignore_id=item.id))
169
+                    
170
+        
171
+        __M_writer('\n\n            ')
172
+        __M_writer(escape(WIDGETS.TREEVIEW_DYNAMIC('move-item-treeview', selected_id, get_root_url, get_children_url, 'move_mode')))
173
+        __M_writer('\n        </div>\n        <div class="modal-footer">\n            <span class="pull-right" style="margin-top: 0.5em;">\n                <button id="folder-save-button" type="submit" class="btn btn-small btn-success" title="')
174
+        __M_writer(escape(_('Validate')))
175
+        __M_writer('"><i class="fa fa-check"></i> ')
176
+        __M_writer(escape(_('Validate')))
177
+        __M_writer('</button>\n            </span>\n        </div>\n    </form> \n')
178
+        return ''
179
+    finally:
180
+        context.caller_stack._pop_frame()
181
+
182
+
183
+def render_NEW_THREAD_FORM(context,dom_id,workspace_id,parent_id=None):
184
+    __M_caller = context.caller_stack._push_frame()
185
+    try:
186
+        tg = context.get('tg', UNDEFINED)
187
+        _ = context.get('_', UNDEFINED)
188
+        __M_writer = context.writer()
189
+        __M_writer('\n    <div id="')
190
+        __M_writer(escape(dom_id))
191
+        __M_writer('" class="collapse">\n        <div class="pod-inline-form" >\n            <form role="form" method="POST" action="')
192
+        __M_writer(escape(tg.url('/workspaces/{}/folders/{}/threads').format(workspace_id, parent_id)))
193
+        __M_writer('">\n                <div class="form-group">\n                    <label for="thread-name">')
194
+        __M_writer(escape(_('Subject')))
195
+        __M_writer('</label>\n                    <input id="thread-name" class="form-control" name="label" type="text" placeholder="')
196
+        __M_writer(escape(_('...')))
197
+        __M_writer('">\n                </div>\n                <div class="form-group">\n                    <label for="thread-message">')
198
+        __M_writer(escape(_('Message')))
199
+        __M_writer('</label>\n                    <textarea id="thread-message" class="form-control pod-rich-textarea" name="content" type="text" placeholder="')
200
+        __M_writer(escape(_('...')))
201
+        __M_writer('"></textarea>\n                </div>\n                <span class="pull-right" style="margin-top: 0.5em;">\n                    <button id="')
202
+        __M_writer(escape(dom_id))
203
+        __M_writer('-submit-button" type="submit" class="btn btn-small btn-success" title="')
204
+        __M_writer(escape(_('Create this page')))
205
+        __M_writer('"><i class=" fa fa-check"></i> ')
206
+        __M_writer(escape(_('Validate')))
207
+        __M_writer('</button>\n                </span>\n                \n                <div style="clear: both;"></div>\n            </form>\n        </div>\n        <hr/>\n    </div>\n')
208
+        return ''
209
+    finally:
210
+        context.caller_stack._pop_frame()
211
+
212
+
213
+def render_EDIT_FOLDER_FORM(context,dom_id,folder):
214
+    __M_caller = context.caller_stack._push_frame()
215
+    try:
216
+        tg = context.get('tg', UNDEFINED)
217
+        _ = context.get('_', UNDEFINED)
218
+        TIM = _mako_get_namespace(context, 'TIM')
219
+        __M_writer = context.writer()
220
+        __M_writer('\n    <form role="form" method="POST" action="')
221
+        __M_writer(escape(tg.url('/workspaces/{}/folders/{}?_method=PUT').format(folder.workspace.id, folder.id)))
222
+        __M_writer('">\n        <div class="modal-header">\n            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">')
223
+        __M_writer(escape(_('Close')))
224
+        __M_writer('</span></button>\n            <h4 class="modal-title" id="myModalLabel">')
225
+        __M_writer(escape(TIM.ICO(32, 'apps/internet-group-chat')))
226
+        __M_writer(' ')
227
+        __M_writer(escape(_('Edit Folder')))
228
+        __M_writer('</h4>\n        </div>\n        <div class="modal-body">\n            <div class="form-group">\n                <label for="folder-name">')
229
+        __M_writer(escape(_('Name')))
230
+        __M_writer('</label>\n                <input name="label" type="text" class="form-control" id="name" placeholder="')
231
+        __M_writer(escape(_('Name')))
232
+        __M_writer('" value="')
233
+        __M_writer(escape(folder.label))
234
+        __M_writer('">\n            </div>\n            <p>\n                ')
235
+        __M_writer(escape(_('This folder may contain:')))
236
+        __M_writer('\n            </p>\n            <div class="checkbox">\n                ')
237
+        checked = ('', 'checked')[folder.allowed_content.folder] 
238
+        
239
+        __M_writer('\n                <label><input name="can_contain_folders" type="checkbox" ')
240
+        __M_writer(escape(checked))
241
+        __M_writer('> ')
242
+        __M_writer(escape(TIM.ICO(16, 'places/jstree-folder')))
243
+        __M_writer(' ')
244
+        __M_writer(escape(_('sub-folders')))
245
+        __M_writer('</label>\n            </div>\n            <div class="checkbox">\n                ')
246
+        checked = ('', 'checked')[folder.allowed_content.thread] 
247
+        
248
+        __M_writer('\n                <label><input name="can_contain_threads" type="checkbox" ')
249
+        __M_writer(escape(checked))
250
+        __M_writer('> ')
251
+        __M_writer(escape(TIM.ICO(16, 'apps/internet-group-chat')))
252
+        __M_writer(' ')
253
+        __M_writer(escape(_('threads')))
254
+        __M_writer('</label>\n            </div>\n            <div class="checkbox">\n                ')
255
+        checked = ('', 'checked')[folder.allowed_content.file] 
256
+        
257
+        __M_writer('\n                <label><input name="can_contain_files" type="checkbox" ')
258
+        __M_writer(escape(checked))
259
+        __M_writer('> ')
260
+        __M_writer(escape(TIM.ICO(16, 'mimetypes/text-x-generic-template')))
261
+        __M_writer(' ')
262
+        __M_writer(escape(_('files')))
263
+        __M_writer('</label>\n            </div>\n            <div class="checkbox">\n                ')
264
+        checked = ('', 'checked')[folder.allowed_content.page] 
265
+        
266
+        __M_writer('\n                <label><input name="can_contain_pages" type="checkbox" ')
267
+        __M_writer(escape(checked))
268
+        __M_writer('> ')
269
+        __M_writer(escape(TIM.ICO(16, 'mimetypes/text-html')))
270
+        __M_writer(' ')
271
+        __M_writer(escape(_('Wiki pages')))
272
+        __M_writer(' </label>\n            </div>\n        </div>\n        <div class="modal-footer">\n            <span class="pull-right" style="margin-top: 0.5em;">\n                <button id="folder-save-button" type="submit" class="btn btn-small btn-success" title="')
273
+        __M_writer(escape(_('Validate')))
274
+        __M_writer('"><i class="fa fa-check"></i> ')
275
+        __M_writer(escape(_('Validate')))
276
+        __M_writer('</button>\n            </span>\n        </div>\n    </form> \n')
277
+        return ''
278
+    finally:
279
+        context.caller_stack._pop_frame()
280
+
281
+
282
+def render_NEW_FOLDER_FORM(context,dom_id,workspace_id,parent_id=None):
283
+    __M_caller = context.caller_stack._push_frame()
284
+    try:
285
+        TIM = _mako_get_namespace(context, 'TIM')
286
+        _ = context.get('_', UNDEFINED)
287
+        tg = context.get('tg', UNDEFINED)
288
+        __M_writer = context.writer()
289
+        __M_writer('\n    <div id="')
290
+        __M_writer(escape(dom_id))
291
+        __M_writer('" class="collapse">\n        <div class="pod-inline-form" >\n            <form method="POST" action="')
292
+        __M_writer(escape(tg.url('/workspaces/{}/folders').format(workspace_id)))
293
+        __M_writer('">\n                <input type="hidden" name="parent_id" value="')
294
+        __M_writer(escape(parent_id))
295
+        __M_writer('">\n                <p>\n                    <label for="folder-name">')
296
+        __M_writer(escape(_('Folder name')))
297
+        __M_writer('</label>\n                    <input id="folder-name" name="label" type="text">\n                </p>\n                <p>\n                    ')
298
+        __M_writer(escape(_('This folder may contain:')))
299
+        __M_writer('\n                </p>\n                <p>\n                    <label><input id="content-folders" name="can_contain_folders" type="checkbox"> ')
300
+        __M_writer(escape(TIM.ICO(16, 'places/jstree-folder')))
301
+        __M_writer(' ')
302
+        __M_writer(escape(_('sub-folders')))
303
+        __M_writer('</label><br/>\n                    <label><input id="content-threads" name="can_contain_threads" type="checkbox"> ')
304
+        __M_writer(escape(TIM.ICO(16, 'apps/internet-group-chat')))
305
+        __M_writer(' ')
306
+        __M_writer(escape(_('threads')))
307
+        __M_writer('</label><br/>\n                    <label><input id="content-files" name="can_contain_files" type="checkbox"> ')
308
+        __M_writer(escape(TIM.ICO(16, 'mimetypes/text-x-generic-template')))
309
+        __M_writer(' ')
310
+        __M_writer(escape(_('files')))
311
+        __M_writer('</label><br/>\n                    <label><input id="content-pages" name="can_contain_pages" type="checkbox"> ')
312
+        __M_writer(escape(TIM.ICO(16, 'mimetypes/text-html')))
313
+        __M_writer(' ')
314
+        __M_writer(escape(_('Wiki pages')))
315
+        __M_writer('</label>\n                    ')
316
+        __M_writer(escape(TIM.HELP_MODAL_DIALOG_BUTTON('content-wiki-page-definition', 'margin-left: 0.5em;')))
317
+        __M_writer('\n                </p>\n\n                <span class="pull-right" style="margin-top: 0.5em;">\n                    <button id="')
318
+        __M_writer(escape(dom_id))
319
+        __M_writer('-submit-button" type="submit" class="btn btn-small btn-success" title="')
320
+        __M_writer(escape(_('Create this folder')))
321
+        __M_writer('"><i class=" fa fa-check"></i> ')
322
+        __M_writer(escape(_('Validate')))
323
+        __M_writer('</button>\n                </span>\n                \n                <div style="clear: both;"></div>\n            </form>\n        </div>\n        <hr/>\n    </div>\n')
324
+        return ''
325
+    finally:
326
+        context.caller_stack._pop_frame()
327
+
328
+
329
+def render_NEW_FILE_REVISION_WITH_COMMENT_FORM(context,dom_id,workspace_id,folder_id,file_id=None):
330
+    __M_caller = context.caller_stack._push_frame()
331
+    try:
332
+        tg = context.get('tg', UNDEFINED)
333
+        _ = context.get('_', UNDEFINED)
334
+        __M_writer = context.writer()
335
+        __M_writer('\n    <div id="')
336
+        __M_writer(escape(dom_id))
337
+        __M_writer('" class="collapse">\n        <div class="pod-inline-form" >\n')
338
+        if file_id:
339
+            __M_writer('                <form role="form" method="POST" enctype="multipart/form-data" action="')
340
+            __M_writer(escape(tg.url('/workspaces/{}/folders/{}/files/{}?_method=PUT').format(workspace_id, folder_id, file_id)))
341
+            __M_writer('">\n')
342
+        else:
343
+            __M_writer('                <form role="form" method="POST" enctype="multipart/form-data" action="')
344
+            __M_writer(escape(tg.url('/workspaces/{}/folders/{}/files').format(workspace_id, folder_id)))
345
+            __M_writer('">\n')
346
+        __M_writer('                <div class="form-group">\n                    <label for="file-object">')
347
+        __M_writer(escape(_('Select new file revision')))
348
+        __M_writer('</label>\n                    <input id="file-object" name="file_data" type="file" placeholder="')
349
+        __M_writer(escape(_('choose a file')))
350
+        __M_writer('">\n                </div>\n                <div class="form-group">\n                    <label for="file-label">')
351
+        __M_writer(escape(_('Your comment...')))
352
+        __M_writer('</label>\n                    <textarea id="file-label" class="form-control pod-rich-textarea" name="comment" type="text" placeholder=""></textarea>\n                </div>\n                <span class="pull-right" style="margin-top: 0.5em;">\n                    <button id="')
353
+        __M_writer(escape(dom_id))
354
+        __M_writer('-submit-button" type="submit" class="btn btn-small btn-success" title="')
355
+        __M_writer(escape(_('Validate')))
356
+        __M_writer('"><i class=" fa fa-check"></i> ')
357
+        __M_writer(escape(_('Validate')))
358
+        __M_writer('</button>\n                </span>\n                \n                <div style="clear: both;"></div>\n            </form>\n        </div>\n        <hr/>\n    </div>\n')
359
+        return ''
360
+    finally:
361
+        context.caller_stack._pop_frame()
362
+
363
+
364
+def render_USER_EDIT_FORM(context,dom_id,user,target_url):
365
+    __M_caller = context.caller_stack._push_frame()
366
+    try:
367
+        TIM = _mako_get_namespace(context, 'TIM')
368
+        _ = context.get('_', UNDEFINED)
369
+        __M_writer = context.writer()
370
+        __M_writer('\n    <form id="')
371
+        __M_writer(escape(dom_id))
372
+        __M_writer('" role="form" method="POST" action="')
373
+        __M_writer(escape(target_url))
374
+        __M_writer('">\n        <div class="modal-header">\n            <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>\n            <h4 class="modal-title" id="myModalLabel">')
375
+        __M_writer(escape(TIM.ICO(32, 'actions/contact-new')))
376
+        __M_writer(' ')
377
+        __M_writer(escape(_('Edit User')))
378
+        __M_writer('</h4>\n        </div>\n        <div class="modal-body">\n            <div class="form-group">\n                <label for="name">')
379
+        __M_writer(escape(_('Name')))
380
+        __M_writer('</label>\n                <input name="name" type="text" class="form-control" id="name" placeholder="')
381
+        __M_writer(escape(_('Name')))
382
+        __M_writer('" value="')
383
+        __M_writer(escape(user.name))
384
+        __M_writer('">\n            </div>\n            <div class="form-group">\n                <label for="email">')
385
+        __M_writer(escape(_('Email')))
386
+        __M_writer('</label>\n                <input name="email" type="text" class="form-control" id="email" placeholder="')
387
+        __M_writer(escape(_('Name')))
388
+        __M_writer('" value="')
389
+        __M_writer(escape(user.email))
390
+        __M_writer('">\n            </div>\n        </div>\n        <div class="modal-footer">\n            <span class="pull-right" style="margin-top: 0.5em;">\n                <button type="submit" class="btn btn-small btn-success" title="Add first comment"><i class=" fa fa-check"></i> ')
391
+        __M_writer(escape(_('Validate')))
392
+        __M_writer('</button>\n            </span>\n        </div>\n    </form>\n')
393
+        return ''
394
+    finally:
395
+        context.caller_stack._pop_frame()
396
+
397
+
398
+def render_NEW_COMMENT_FORM_IN_THREAD(context,dom_id,workspace_id,folder_id,thread_id):
399
+    __M_caller = context.caller_stack._push_frame()
400
+    try:
401
+        tg = context.get('tg', UNDEFINED)
402
+        _ = context.get('_', UNDEFINED)
403
+        __M_writer = context.writer()
404
+        __M_writer('\n    <div id="')
405
+        __M_writer(escape(dom_id))
406
+        __M_writer('" class="collapse">\n        <div class="pod-inline-form" >\n            <form role="form" method="POST" action="')
407
+        __M_writer(escape(tg.url('/workspaces/{}/folders/{}/threads/{}/comments').format(workspace_id, folder_id, thread_id)))
408
+        __M_writer('">\n                <div class="form-group">\n                    <label for="thread-message">')
409
+        __M_writer(escape(_('Your message')))
410
+        __M_writer('</label>\n                    <textarea id="thread-message" class="form-control pod-rich-textarea" name="content" type="text" placeholder="')
411
+        __M_writer(escape(_('...')))
412
+        __M_writer('"></textarea>\n                </div>\n                <span class="pull-right" style="margin-top: 0.5em;">\n                    <button id="')
413
+        __M_writer(escape(dom_id))
414
+        __M_writer('-submit-button" type="submit" class="btn btn-small btn-success" title="')
415
+        __M_writer(escape(_('Validate')))
416
+        __M_writer('"><i class=" fa fa-check"></i> ')
417
+        __M_writer(escape(_('Validate')))
418
+        __M_writer('</button>\n                </span>\n                \n                <div style="clear: both;"></div>\n            </form>\n        </div>\n        <hr/>\n    </div>\n')
419
+        return ''
420
+    finally:
421
+        context.caller_stack._pop_frame()
422
+
423
+
424
+"""
425
+__M_BEGIN_METADATA
426
+{"source_encoding": "utf-8", "line_map": {"23": 2, "26": 1, "29": 0, "34": 1, "35": 2, "36": 33, "37": 72, "38": 97, "39": 121, "40": 144, "41": 167, "42": 194, "43": 213, "44": 237, "45": 264, "51": 100, "57": 100, "58": 101, "59": 101, "60": 103, "61": 103, "62": 105, "63": 105, "64": 106, "65": 106, "66": 109, "67": 109, "68": 110, "69": 110, "70": 113, "71": 113, "72": 113, "73": 113, "74": 113, "75": 113, "81": 239, "87": 239, "88": 240, "89": 240, "90": 240, "91": 240, "92": 242, "93": 242, "94": 243, "95": 243, "96": 243, "97": 243, "98": 247, "99": 247, "100": 248, "101": 248, "102": 251, "103": 251, "104": 252, "105": 252, "106": 255, "107": 255, "108": 256, "109": 256, "110": 260, "111": 260, "117": 146, "123": 146, "124": 147, "125": 147, "126": 149, "127": 149, "128": 151, "129": 151, "130": 152, "131": 152, "132": 155, "133": 155, "134": 156, "135": 156, "136": 159, "137": 159, "138": 159, "139": 159, "140": 159, "141": 159, "147": 76, "156": 76, "157": 77, "158": 77, "159": 79, "160": 79, "161": 80, "162": 80, "163": 80, "164": 80, "165": 83, "171": 87, "172": 89, "173": 89, "174": 93, "175": 93, "176": 93, "177": 93, "183": 123, "189": 123, "190": 124, "191": 124, "192": 126, "193": 126, "194": 128, "195": 128, "196": 129, "197": 129, "198": 132, "199": 132, "200": 133, "201": 133, "202": 136, "203": 136, "204": 136, "205": 136, "206": 136, "207": 136, "213": 35, "220": 35, "221": 36, "222": 36, "223": 38, "224": 38, "225": 39, "226": 39, "227": 39, "228": 39, "229": 43, "230": 43, "231": 44, "232": 44, "233": 44, "234": 44, "235": 47, "236": 47, "237": 50, "239": 50, "240": 51, "241": 51, "242": 51, "243": 51, "244": 51, "245": 51, "246": 54, "248": 54, "249": 55, "250": 55, "251": 55, "252": 55, "253": 55, "254": 55, "255": 58, "257": 58, "258": 59, "259": 59, "260": 59, "261": 59, "262": 59, "263": 59, "264": 62, "266": 62, "267": 63, "268": 63, "269": 63, "270": 63, "271": 63, "272": 63, "273": 68, "274": 68, "275": 68, "276": 68, "282": 4, "289": 4, "290": 5, "291": 5, "292": 7, "293": 7, "294": 8, "295": 8, "296": 10, "297": 10, "298": 14, "299": 14, "300": 17, "301": 17, "302": 17, "303": 17, "304": 18, "305": 18, "306": 18, "307": 18, "308": 19, "309": 19, "310": 19, "311": 19, "312": 20, "313": 20, "314": 20, "315": 20, "316": 21, "317": 21, "318": 25, "319": 25, "320": 25, "321": 25, "322": 25, "323": 25, "329": 169, "335": 169, "336": 170, "337": 170, "338": 172, "339": 173, "340": 173, "341": 173, "342": 174, "343": 175, "344": 175, "345": 175, "346": 177, "347": 178, "348": 178, "349": 179, "350": 179, "351": 182, "352": 182, "353": 186, "354": 186, "355": 186, "356": 186, "357": 186, "358": 186, "364": 215, "370": 215, "371": 216, "372": 216, "373": 216, "374": 216, "375": 219, "376": 219, "377": 219, "378": 219, "379": 223, "380": 223, "381": 224, "382": 224, "383": 224, "384": 224, "385": 227, "386": 227, "387": 228, "388": 228, "389": 228, "390": 228, "391": 233, "392": 233, "398": 196, "404": 196, "405": 197, "406": 197, "407": 199, "408": 199, "409": 201, "410": 201, "411": 202, "412": 202, "413": 205, "414": 205, "415": 205, "416": 205, "417": 205, "418": 205, "424": 418}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_forms.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_forms.mak"}
427
+__M_END_METADATA
428
+"""

+ 119 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_all.mak.py Просмотреть файл

@@ -0,0 +1,119 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984378.092287
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_all.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_all.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['REQUIRED_DIALOGS', 'SIDEBAR_RIGHT_CONTENT', 'SIDEBAR_LEFT_CONTENT', 'title']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('FORMS', context._clean_inheritance_tokens(), templateuri='tracim.templates.user_workspace_forms', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'FORMS')] = ns
25
+
26
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
27
+    context.namespaces[(__name__, 'TIM')] = ns
28
+
29
+    ns = runtime.TemplateNamespace('WIDGETS', context._clean_inheritance_tokens(), templateuri='tracim.templates.user_workspace_widgets', callables=None,  calling_uri=_template_uri)
30
+    context.namespaces[(__name__, 'WIDGETS')] = ns
31
+
32
+    ns = runtime.TemplateNamespace('TOOLBAR', context._clean_inheritance_tokens(), templateuri='tracim.templates.workspace_toolbars', callables=None,  calling_uri=_template_uri)
33
+    context.namespaces[(__name__, 'TOOLBAR')] = ns
34
+
35
+def _mako_inherit(template, context):
36
+    _mako_generate_namespaces(context)
37
+    return runtime._inherit_from(context, 'local:templates.master_authenticated_left_treeview_right_toolbar', _template_uri)
38
+def render_body(context,**pageargs):
39
+    __M_caller = context.caller_stack._push_frame()
40
+    try:
41
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
42
+        TIM = _mako_get_namespace(context, 'TIM')
43
+        _ = context.get('_', UNDEFINED)
44
+        __M_writer = context.writer()
45
+        __M_writer('\n\n')
46
+        __M_writer('\n')
47
+        __M_writer('\n')
48
+        __M_writer('\n')
49
+        __M_writer('\n\n')
50
+        __M_writer('\n\n')
51
+        __M_writer('\n\n')
52
+        __M_writer('\n\n')
53
+        __M_writer('\n\n')
54
+        __M_writer('\n<h1 class="page-header">')
55
+        __M_writer(escape(TIM.ICO(32, 'places/folder-remote')))
56
+        __M_writer(' ')
57
+        __M_writer(escape(_('My workspaces')))
58
+        __M_writer('</h1>\n\n<div class="row">\n    <div id=\'application-document-panel\' class="col-sm-12">\n        <div id=\'current-document-content\' class="well col-sm-7">\n          <h4>\n            ')
59
+        __M_writer(escape(TIM.ICO(32, 'status/dialog-information')))
60
+        __M_writer('\n            ')
61
+        __M_writer(escape(_('Let\'s start working on existing information.')))
62
+        __M_writer('<br/>\n            <i class="fa fa-angle-double-left fa-3x fa-fw pod-blue" style="vertical-align: middle"></i>\n          </h4>\n        </div>\n    </div>\n</div>\n\n')
63
+        return ''
64
+    finally:
65
+        context.caller_stack._pop_frame()
66
+
67
+
68
+def render_REQUIRED_DIALOGS(context):
69
+    __M_caller = context.caller_stack._push_frame()
70
+    try:
71
+        __M_writer = context.writer()
72
+        __M_writer('\n')
73
+        return ''
74
+    finally:
75
+        context.caller_stack._pop_frame()
76
+
77
+
78
+def render_SIDEBAR_RIGHT_CONTENT(context):
79
+    __M_caller = context.caller_stack._push_frame()
80
+    try:
81
+        __M_writer = context.writer()
82
+        __M_writer('\n')
83
+        return ''
84
+    finally:
85
+        context.caller_stack._pop_frame()
86
+
87
+
88
+def render_SIDEBAR_LEFT_CONTENT(context):
89
+    __M_caller = context.caller_stack._push_frame()
90
+    try:
91
+        WIDGETS = _mako_get_namespace(context, 'WIDGETS')
92
+        _ = context.get('_', UNDEFINED)
93
+        __M_writer = context.writer()
94
+        __M_writer('\n    <h4>')
95
+        __M_writer(escape(_('Workspaces')))
96
+        __M_writer('</h4>\n    ')
97
+        __M_writer(escape(WIDGETS.TREEVIEW('sidebar-left-menu', '__')))
98
+        __M_writer('\n    <hr/>\n')
99
+        return ''
100
+    finally:
101
+        context.caller_stack._pop_frame()
102
+
103
+
104
+def render_title(context):
105
+    __M_caller = context.caller_stack._push_frame()
106
+    try:
107
+        _ = context.get('_', UNDEFINED)
108
+        __M_writer = context.writer()
109
+        __M_writer(escape(_('My workspaces')))
110
+        return ''
111
+    finally:
112
+        context.caller_stack._pop_frame()
113
+
114
+
115
+"""
116
+__M_BEGIN_METADATA
117
+{"source_encoding": "utf-8", "line_map": {"23": 5, "26": 3, "29": 6, "32": 4, "38": 0, "45": 1, "46": 3, "47": 4, "48": 5, "49": 6, "50": 8, "51": 14, "52": 18, "53": 21, "54": 28, "55": 29, "56": 29, "57": 29, "58": 29, "59": 35, "60": 35, "61": 36, "62": 36, "68": 20, "72": 20, "78": 16, "82": 16, "88": 10, "94": 10, "95": 11, "96": 11, "97": 12, "98": 12, "104": 8, "109": 8, "115": 109}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_all.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_all.mak"}
118
+__M_END_METADATA
119
+"""

+ 162 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_one.mak.py Просмотреть файл

@@ -0,0 +1,162 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984379.696722
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_one.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_one.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['REQUIRED_DIALOGS', 'SIDEBAR_RIGHT_CONTENT', 'SIDEBAR_LEFT_CONTENT', 'title']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('FORMS', context._clean_inheritance_tokens(), templateuri='tracim.templates.user_workspace_forms', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'FORMS')] = ns
25
+
26
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
27
+    context.namespaces[(__name__, 'TIM')] = ns
28
+
29
+    ns = runtime.TemplateNamespace('WIDGETS', context._clean_inheritance_tokens(), templateuri='tracim.templates.user_workspace_widgets', callables=None,  calling_uri=_template_uri)
30
+    context.namespaces[(__name__, 'WIDGETS')] = ns
31
+
32
+    ns = runtime.TemplateNamespace('TOOLBAR', context._clean_inheritance_tokens(), templateuri='tracim.templates.workspace_toolbars', callables=None,  calling_uri=_template_uri)
33
+    context.namespaces[(__name__, 'TOOLBAR')] = ns
34
+
35
+def _mako_inherit(template, context):
36
+    _mako_generate_namespaces(context)
37
+    return runtime._inherit_from(context, 'local:templates.master_authenticated_left_treeview_right_toolbar', _template_uri)
38
+def render_body(context,**pageargs):
39
+    __M_caller = context.caller_stack._push_frame()
40
+    try:
41
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
42
+        h = context.get('h', UNDEFINED)
43
+        len = context.get('len', UNDEFINED)
44
+        FORMS = _mako_get_namespace(context, 'FORMS')
45
+        TIM = _mako_get_namespace(context, 'TIM')
46
+        result = context.get('result', UNDEFINED)
47
+        WIDGETS = _mako_get_namespace(context, 'WIDGETS')
48
+        fake_api = context.get('fake_api', UNDEFINED)
49
+        _ = context.get('_', UNDEFINED)
50
+        __M_writer = context.writer()
51
+        __M_writer('\n\n')
52
+        __M_writer('\n')
53
+        __M_writer('\n')
54
+        __M_writer('\n')
55
+        __M_writer('\n\n')
56
+        __M_writer('\n\n')
57
+        __M_writer('\n\n')
58
+        __M_writer('\n\n')
59
+        __M_writer('\n\n')
60
+        __M_writer('\n<h1 class="page-header">')
61
+        __M_writer(escape(TIM.ICO(32, 'places/folder-remote')))
62
+        __M_writer(' ')
63
+        __M_writer(escape(result.workspace.label))
64
+        __M_writer('</h1>\n<div style="margin: -1.5em auto 1em auto;">\n  <p>')
65
+        __M_writer(_('created on {}').format(h.date_time_in_long_format(result.workspace.created)))
66
+        __M_writer('</p>\n</div>\n<p>\n    ')
67
+        __M_writer(escape(result.workspace.description))
68
+        __M_writer('\n</p>\n<p>\n    ')
69
+        member_nb = len(result.workspace.members) 
70
+        
71
+        __M_locals_builtin_stored = __M_locals_builtin()
72
+        __M_locals.update(__M_dict_builtin([(__M_key, __M_locals_builtin_stored[__M_key]) for __M_key in ['member_nb'] if __M_key in __M_locals_builtin_stored]))
73
+        __M_writer('\n')
74
+        if member_nb<=0:
75
+            __M_writer('        ')
76
+            __M_writer(escape(WIDGETS.EMPTY_CONTENT(_('There are no members in this workspace'))))
77
+            __M_writer('\n')
78
+        else:
79
+            __M_writer('        ')
80
+            __M_writer(escape(TIM.ICO(16, 'apps/system-users')))
81
+            __M_writer(' &mdash;\n')
82
+            for member in result.workspace.members:
83
+                __M_writer('            <strong>')
84
+                __M_writer(escape(member.name))
85
+                __M_writer('</strong>\n            ')
86
+                __M_writer(escape(TIM.ICO_FA_BADGED('fa fa-flag', member.role_description, member.style)))
87
+                __M_writer('&emsp;\n')
88
+        __M_writer('</p>\n<hr class="pod-panel-separator"/>\n\n\n')
89
+        if h.user_role(fake_api.current_user, result.workspace)<=2: # User must be a content manager to be allowed to create folders
90
+            __M_writer('    ')
91
+            __M_writer(escape(WIDGETS.SECURED_SECTION_TITLE(fake_api.current_user, result.workspace, 'sub-folders', _('Folders'))))
92
+            __M_writer('\n')
93
+        else:
94
+            __M_writer('    ')
95
+            __M_writer(escape(WIDGETS.SECURED_SECTION_TITLE(fake_api.current_user, result.workspace, 'sub-folders', _('Folders'), 'folder-new', _('Add a folder...'))))
96
+            __M_writer('\n    ')
97
+            __M_writer(escape(FORMS.NEW_FOLDER_FORM('folder-new', result.workspace.id)))
98
+            __M_writer('\n')
99
+        __M_writer('\n\n<p>\n    ')
100
+        __M_writer(escape(WIDGETS.FOLDER_LIST('subfolder-list', result.workspace.id, fake_api.current_workspace_folders)))
101
+        __M_writer('\n</p>\n\n\n')
102
+        return ''
103
+    finally:
104
+        context.caller_stack._pop_frame()
105
+
106
+
107
+def render_REQUIRED_DIALOGS(context):
108
+    __M_caller = context.caller_stack._push_frame()
109
+    try:
110
+        TIM = _mako_get_namespace(context, 'TIM')
111
+        __M_writer = context.writer()
112
+        __M_writer('\n    ')
113
+        __M_writer(escape(TIM.HELP_MODAL_DIALOG('content-wiki-page-definition')))
114
+        __M_writer('\n')
115
+        return ''
116
+    finally:
117
+        context.caller_stack._pop_frame()
118
+
119
+
120
+def render_SIDEBAR_RIGHT_CONTENT(context):
121
+    __M_caller = context.caller_stack._push_frame()
122
+    try:
123
+        __M_writer = context.writer()
124
+        __M_writer('\n')
125
+        return ''
126
+    finally:
127
+        context.caller_stack._pop_frame()
128
+
129
+
130
+def render_SIDEBAR_LEFT_CONTENT(context):
131
+    __M_caller = context.caller_stack._push_frame()
132
+    try:
133
+        WIDGETS = _mako_get_namespace(context, 'WIDGETS')
134
+        result = context.get('result', UNDEFINED)
135
+        _ = context.get('_', UNDEFINED)
136
+        __M_writer = context.writer()
137
+        __M_writer('\n    <h4>')
138
+        __M_writer(escape(_('Workspaces')))
139
+        __M_writer('</h4>\n    ')
140
+        __M_writer(escape(WIDGETS.TREEVIEW('sidebar-left-menu', 'workspace_{}__'.format(result.workspace.id))))
141
+        __M_writer('\n    <hr/>\n')
142
+        return ''
143
+    finally:
144
+        context.caller_stack._pop_frame()
145
+
146
+
147
+def render_title(context):
148
+    __M_caller = context.caller_stack._push_frame()
149
+    try:
150
+        result = context.get('result', UNDEFINED)
151
+        __M_writer = context.writer()
152
+        __M_writer(escape(result.workspace.label))
153
+        return ''
154
+    finally:
155
+        context.caller_stack._pop_frame()
156
+
157
+
158
+"""
159
+__M_BEGIN_METADATA
160
+{"source_encoding": "utf-8", "line_map": {"130": 10, "137": 10, "138": 11, "139": 11, "140": 12, "141": 12, "147": 8, "23": 5, "152": 8, "26": 3, "29": 6, "158": 152, "32": 4, "38": 0, "51": 1, "52": 3, "53": 4, "54": 5, "55": 6, "56": 8, "57": 14, "58": 18, "59": 22, "60": 29, "61": 30, "62": 30, "63": 30, "64": 30, "65": 32, "66": 32, "67": 35, "68": 35, "69": 38, "73": 38, "74": 39, "75": 40, "76": 40, "77": 40, "78": 41, "79": 42, "80": 42, "81": 42, "82": 43, "83": 44, "84": 44, "85": 44, "86": 45, "87": 45, "88": 48, "89": 52, "90": 53, "91": 53, "92": 53, "93": 54, "94": 55, "95": 55, "96": 55, "97": 56, "98": 56, "99": 58, "100": 61, "101": 61, "107": 20, "112": 20, "113": 21, "114": 21, "120": 16, "124": 16}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_one.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_get_one.mak"}
161
+__M_END_METADATA
162
+"""

+ 494 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_widgets.mak.py Просмотреть файл

@@ -0,0 +1,494 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984364.150558
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_widgets.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_widgets.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['SECURED_SHOW_CHANGE_STATUS_FOR_THREAD', 'SECURED_SECTION_TITLE', 'THREAD_LIST', 'SECURED_SHOW_CHANGE_STATUS_FOR_FILE', 'EMPTY_CONTENT', 'SECURED_SHOW_CHANGE_STATUS_FOR_PAGE', 'BREADCRUMB', 'FOLDER_LIST', 'PAGE_LIST', 'FILE_LIST', 'DATA_TARGET_BUTTON', 'TREEVIEW', 'SHOW_CHANGE_STATUS', 'TREEVIEW_DYNAMIC']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'TIM')] = ns
25
+
26
+def render_body(context,**pageargs):
27
+    __M_caller = context.caller_stack._push_frame()
28
+    try:
29
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
30
+        __M_writer = context.writer()
31
+        __M_writer('\n\n')
32
+        __M_writer('\n\n')
33
+        __M_writer('\n\n')
34
+        __M_writer('\n\n')
35
+        __M_writer('\n\n')
36
+        __M_writer('\n\n')
37
+        __M_writer('\n\n')
38
+        __M_writer('\n\n')
39
+        __M_writer('\n\n')
40
+        __M_writer('\n\n')
41
+        __M_writer('\n\n')
42
+        __M_writer('\n\n')
43
+        __M_writer('\n\n')
44
+        __M_writer('\n\n')
45
+        __M_writer('\n')
46
+        return ''
47
+    finally:
48
+        context.caller_stack._pop_frame()
49
+
50
+
51
+def render_SECURED_SHOW_CHANGE_STATUS_FOR_THREAD(context,user,workspace,item):
52
+    __M_caller = context.caller_stack._push_frame()
53
+    try:
54
+        h = context.get('h', UNDEFINED)
55
+        def SHOW_CHANGE_STATUS(item,target_url,allow_to_change_status=False):
56
+            return render_SHOW_CHANGE_STATUS(context,item,target_url,allow_to_change_status)
57
+        tg = context.get('tg', UNDEFINED)
58
+        __M_writer = context.writer()
59
+        __M_writer('\n    ')
60
+        target_url = tg.url('/workspaces/{wid}/folders/{fid}/threads/{pid}/put_status?status={{status_id}}').format(wid=item.workspace.id, fid=item.parent.id, pid=item.id) 
61
+        
62
+        __M_writer('\n    ')
63
+        allow_status_change = h.user_role(user, workspace)>=2 and item.selected_revision=='latest' 
64
+        
65
+        __M_writer('\n')
66
+        __M_writer('    ')
67
+        __M_writer(escape(SHOW_CHANGE_STATUS(item, target_url, allow_status_change)))
68
+        __M_writer('\n')
69
+        return ''
70
+    finally:
71
+        context.caller_stack._pop_frame()
72
+
73
+
74
+def render_SECURED_SECTION_TITLE(context,user,workspace,dom_id,label,action_dom_id='',action_label='',icon_size='',icon_path=''):
75
+    __M_caller = context.caller_stack._push_frame()
76
+    try:
77
+        h = context.get('h', UNDEFINED)
78
+        TIM = _mako_get_namespace(context, 'TIM')
79
+        def DATA_TARGET_BUTTON(dom_id,label):
80
+            return render_DATA_TARGET_BUTTON(context,dom_id,label)
81
+        __M_writer = context.writer()
82
+        __M_writer('\n    <h4 id="')
83
+        __M_writer(escape(dom_id))
84
+        __M_writer('">\n        ')
85
+        __M_writer(escape(TIM.ICO(icon_size, icon_path) if icon_path else ''))
86
+        __M_writer('\n        ')
87
+        __M_writer(escape(label))
88
+        __M_writer('\n        \n')
89
+        if h.user_role(user, workspace)>1: 
90
+            if action_dom_id and action_label:
91
+                __M_writer('                <small style="margin-left: 1em;"> ')
92
+                __M_writer(escape(DATA_TARGET_BUTTON(action_dom_id, action_label)))
93
+                __M_writer('</small>    \n')
94
+        __M_writer('    </h4>\n')
95
+        return ''
96
+    finally:
97
+        context.caller_stack._pop_frame()
98
+
99
+
100
+def render_THREAD_LIST(context,dom_id,workspace_id,threads):
101
+    __M_caller = context.caller_stack._push_frame()
102
+    try:
103
+        TIM = _mako_get_namespace(context, 'TIM')
104
+        def EMPTY_CONTENT(empty_content_label):
105
+            return render_EMPTY_CONTENT(context,empty_content_label)
106
+        len = context.get('len', UNDEFINED)
107
+        _ = context.get('_', UNDEFINED)
108
+        tg = context.get('tg', UNDEFINED)
109
+        __M_writer = context.writer()
110
+        __M_writer('\n')
111
+        if len(threads)<=0:
112
+            __M_writer('        ')
113
+            __M_writer(escape(EMPTY_CONTENT(_('No thread found.'))))
114
+            __M_writer('\n')
115
+        else:
116
+            __M_writer('        <table id="')
117
+            __M_writer(escape(dom_id))
118
+            __M_writer('" class="table table-striped table-hover">\n')
119
+            for thread in threads:
120
+                __M_writer('                <tr>\n                    <td><a href="')
121
+                __M_writer(escape(tg.url('/workspaces/{}/folders/{}/threads/{}'.format(workspace_id, thread.folder.id, thread.id))))
122
+                __M_writer('">')
123
+                __M_writer(escape(TIM.ICO(16, 'apps/internet-group-chat')))
124
+                __M_writer(' ')
125
+                __M_writer(escape(thread.label))
126
+                __M_writer('</a></td>\n                    <td>')
127
+                __M_writer(escape(TIM.ICO(16, thread.status.icon)))
128
+                __M_writer(' <span class="')
129
+                __M_writer(escape(thread.status.css))
130
+                __M_writer('">')
131
+                __M_writer(escape(thread.status.label))
132
+                __M_writer('</span></td>\n                    <td>')
133
+                __M_writer(escape(_('{} message(s)').format(thread.comment_nb)))
134
+                __M_writer('</td>\n                </tr>\n')
135
+            __M_writer('        </table>\n')
136
+        return ''
137
+    finally:
138
+        context.caller_stack._pop_frame()
139
+
140
+
141
+def render_SECURED_SHOW_CHANGE_STATUS_FOR_FILE(context,user,workspace,item):
142
+    __M_caller = context.caller_stack._push_frame()
143
+    try:
144
+        h = context.get('h', UNDEFINED)
145
+        def SHOW_CHANGE_STATUS(item,target_url,allow_to_change_status=False):
146
+            return render_SHOW_CHANGE_STATUS(context,item,target_url,allow_to_change_status)
147
+        tg = context.get('tg', UNDEFINED)
148
+        __M_writer = context.writer()
149
+        __M_writer('\n    ')
150
+        target_url = tg.url('/workspaces/{wid}/folders/{fid}/files/{pid}/put_status?status={{status_id}}').format(wid=item.workspace.id, fid=item.parent.id, pid=item.id) 
151
+        
152
+        __M_writer('\n    ')
153
+        allow_status_change = h.user_role(user, workspace)>=2 and item.selected_revision=='latest' 
154
+        
155
+        __M_writer('\n    ')
156
+        __M_writer(escape(SHOW_CHANGE_STATUS(item, target_url, allow_status_change)))
157
+        __M_writer('\n')
158
+        return ''
159
+    finally:
160
+        context.caller_stack._pop_frame()
161
+
162
+
163
+def render_EMPTY_CONTENT(context,empty_content_label):
164
+    __M_caller = context.caller_stack._push_frame()
165
+    try:
166
+        __M_writer = context.writer()
167
+        __M_writer('<p class="pod-empty">')
168
+        __M_writer(escape(empty_content_label))
169
+        __M_writer('</p>')
170
+        return ''
171
+    finally:
172
+        context.caller_stack._pop_frame()
173
+
174
+
175
+def render_SECURED_SHOW_CHANGE_STATUS_FOR_PAGE(context,user,workspace,item):
176
+    __M_caller = context.caller_stack._push_frame()
177
+    try:
178
+        h = context.get('h', UNDEFINED)
179
+        def SHOW_CHANGE_STATUS(item,target_url,allow_to_change_status=False):
180
+            return render_SHOW_CHANGE_STATUS(context,item,target_url,allow_to_change_status)
181
+        tg = context.get('tg', UNDEFINED)
182
+        __M_writer = context.writer()
183
+        __M_writer('\n    ')
184
+        target_url = tg.url('/workspaces/{wid}/folders/{fid}/pages/{pid}/put_status?status={{status_id}}').format(wid=item.workspace.id, fid=item.parent.id, pid=item.id) 
185
+        
186
+        __M_writer('\n    ')
187
+        allow_status_change = h.user_role(user, workspace)>=2 and item.selected_revision=='latest' 
188
+        
189
+        __M_writer('\n    ')
190
+        __M_writer(escape(SHOW_CHANGE_STATUS(item, target_url, allow_status_change)))
191
+        __M_writer('\n')
192
+        return ''
193
+    finally:
194
+        context.caller_stack._pop_frame()
195
+
196
+
197
+def render_BREADCRUMB(context,dom_id,breadcrumb_items):
198
+    __M_caller = context.caller_stack._push_frame()
199
+    try:
200
+        TIM = _mako_get_namespace(context, 'TIM')
201
+        __M_writer = context.writer()
202
+        __M_writer('\n    <ul id="')
203
+        __M_writer(escape(dom_id))
204
+        __M_writer('" class="breadcrumb" style="margin-top: -1.5em; display: none;">\n')
205
+        for item in breadcrumb_items:
206
+            if item.is_active:
207
+                __M_writer('                <li class="active">')
208
+                __M_writer(escape(TIM.ICO(16, item.icon)))
209
+                __M_writer(' ')
210
+                __M_writer(escape(item.label))
211
+                __M_writer('</li>\n')
212
+            else:
213
+                __M_writer('                <li>')
214
+                __M_writer(escape(TIM.ICO(16, item.icon)))
215
+                __M_writer(' <a href="')
216
+                __M_writer(escape(item.url))
217
+                __M_writer('">')
218
+                __M_writer(escape(item.label))
219
+                __M_writer('</a></li>\n')
220
+        __M_writer('    </ul>\n')
221
+        return ''
222
+    finally:
223
+        context.caller_stack._pop_frame()
224
+
225
+
226
+def render_FOLDER_LIST(context,dom_id,workspace_id,folders):
227
+    __M_caller = context.caller_stack._push_frame()
228
+    try:
229
+        TIM = _mako_get_namespace(context, 'TIM')
230
+        def EMPTY_CONTENT(empty_content_label):
231
+            return render_EMPTY_CONTENT(context,empty_content_label)
232
+        len = context.get('len', UNDEFINED)
233
+        _ = context.get('_', UNDEFINED)
234
+        tg = context.get('tg', UNDEFINED)
235
+        __M_writer = context.writer()
236
+        __M_writer('\n')
237
+        if len(folders)<=0:
238
+            __M_writer('        ')
239
+            __M_writer(EMPTY_CONTENT(_('No folder found.')))
240
+            __M_writer('\n')
241
+        else:
242
+            __M_writer('        <table id="')
243
+            __M_writer(escape(dom_id))
244
+            __M_writer('" class="table table-striped table-hover">\n')
245
+            for folder in folders:
246
+                __M_writer('                <tr>\n                    <td><a href="')
247
+                __M_writer(escape(tg.url('/workspaces/{}/folders/{}'.format(workspace_id, folder.id))))
248
+                __M_writer('">')
249
+                __M_writer(escape(TIM.ICO(16, 'places/jstree-folder')))
250
+                __M_writer(' ')
251
+                __M_writer(escape(folder.label))
252
+                __M_writer('</a></td>\n                    <td>\n')
253
+                if folder.content_nb.all==0:
254
+                    __M_writer('                            <span class="pod-empty-item">')
255
+                    __M_writer(escape(_('This folder is empty')))
256
+                    __M_writer('</span>\n')
257
+                else:
258
+                    if folder.folder_nb.all>=1:
259
+                        __M_writer('                                ')
260
+                        __M_writer(_('{nb_total} subfolder(s)').format(nb_total=folder.folder_nb.all))
261
+                        __M_writer('\n')
262
+                    __M_writer('                            \n')
263
+                    if folder.thread_nb.all>=1:
264
+                        __M_writer('                                ')
265
+                        __M_writer(_('{nb_total} thread(s) &mdash; {nb_open} open').format(nb_total=folder.thread_nb.all, nb_open=folder.thread_nb.open))
266
+                        __M_writer('\n                                <br/>\n')
267
+                    __M_writer('\n')
268
+                    if folder.file_nb.all>=1:
269
+                        __M_writer('                                ')
270
+                        __M_writer(_('{nb_total} file(s) &mdash; {nb_open} open').format(nb_total=folder.file_nb.all, nb_open=folder.file_nb.open))
271
+                        __M_writer('\n                                <br/>\n')
272
+                    __M_writer('\n')
273
+                    if folder.page_nb.all>=1:
274
+                        __M_writer('                                ')
275
+                        __M_writer(_('{nb_total} page(s) &mdash; {nb_open} open').format(nb_total=folder.page_nb.all, nb_open=folder.page_nb.open))
276
+                        __M_writer('\n                                <br/>\n')
277
+                    __M_writer('\n')
278
+                __M_writer('                    </td>\n                </tr>\n')
279
+            __M_writer('        </table>\n')
280
+        return ''
281
+    finally:
282
+        context.caller_stack._pop_frame()
283
+
284
+
285
+def render_PAGE_LIST(context,dom_id,workspace_id,pages):
286
+    __M_caller = context.caller_stack._push_frame()
287
+    try:
288
+        TIM = _mako_get_namespace(context, 'TIM')
289
+        def EMPTY_CONTENT(empty_content_label):
290
+            return render_EMPTY_CONTENT(context,empty_content_label)
291
+        len = context.get('len', UNDEFINED)
292
+        _ = context.get('_', UNDEFINED)
293
+        tg = context.get('tg', UNDEFINED)
294
+        __M_writer = context.writer()
295
+        __M_writer('\n')
296
+        if len(pages)<=0:
297
+            __M_writer('        ')
298
+            __M_writer(escape(EMPTY_CONTENT(_('No page found.'))))
299
+            __M_writer('\n')
300
+        else:
301
+            __M_writer('        <table id="')
302
+            __M_writer(escape(dom_id))
303
+            __M_writer('" class="table table-striped table-hover">\n')
304
+            for page in pages:
305
+                __M_writer('                <tr>\n                    <td><a href="')
306
+                __M_writer(escape(tg.url('/workspaces/{}/folders/{}/pages/{}'.format(workspace_id, page.folder.id, page.id))))
307
+                __M_writer('">')
308
+                __M_writer(escape(TIM.ICO(16, 'mimetypes/text-html')))
309
+                __M_writer(' ')
310
+                __M_writer(escape(page.label))
311
+                __M_writer('</a></td>\n                    <td>\n                        ')
312
+                __M_writer(escape(TIM.ICO(16, page.status.icon)))
313
+                __M_writer(' <span class="')
314
+                __M_writer(escape(page.status.css))
315
+                __M_writer('">')
316
+                __M_writer(escape(page.status.label))
317
+                __M_writer('</span>\n                    </td>\n                </tr>\n')
318
+            __M_writer('        </table>\n')
319
+        return ''
320
+    finally:
321
+        context.caller_stack._pop_frame()
322
+
323
+
324
+def render_FILE_LIST(context,dom_id,workspace_id,files):
325
+    __M_caller = context.caller_stack._push_frame()
326
+    try:
327
+        TIM = _mako_get_namespace(context, 'TIM')
328
+        def EMPTY_CONTENT(empty_content_label):
329
+            return render_EMPTY_CONTENT(context,empty_content_label)
330
+        len = context.get('len', UNDEFINED)
331
+        _ = context.get('_', UNDEFINED)
332
+        tg = context.get('tg', UNDEFINED)
333
+        __M_writer = context.writer()
334
+        __M_writer('\n')
335
+        if len(files)<=0:
336
+            __M_writer('        ')
337
+            __M_writer(escape(EMPTY_CONTENT(_('No file found.'))))
338
+            __M_writer('\n')
339
+        else:
340
+            __M_writer('        <table id="')
341
+            __M_writer(escape(dom_id))
342
+            __M_writer('" class="table table-striped table-hover">\n')
343
+            for curfile in files:
344
+                __M_writer('                <tr>\n                    <td><a href="')
345
+                __M_writer(escape(tg.url('/workspaces/{}/folders/{}/files/{}'.format(workspace_id, curfile.folder.id, curfile.id))))
346
+                __M_writer('">')
347
+                __M_writer(escape(TIM.ICO(16, 'mimetypes/text-html')))
348
+                __M_writer(' ')
349
+                __M_writer(escape(curfile.label))
350
+                __M_writer('</a></td>\n                    <td>\n                        ')
351
+                __M_writer(escape(TIM.ICO(16, curfile.status.icon)))
352
+                __M_writer(' <span class="')
353
+                __M_writer(escape(curfile.status.css))
354
+                __M_writer('">')
355
+                __M_writer(escape(curfile.status.label))
356
+                __M_writer('</span>\n                    </td>\n                </tr>\n')
357
+            __M_writer('        </table>\n')
358
+        return ''
359
+    finally:
360
+        context.caller_stack._pop_frame()
361
+
362
+
363
+def render_DATA_TARGET_BUTTON(context,dom_id,label):
364
+    __M_caller = context.caller_stack._push_frame()
365
+    try:
366
+        __M_writer = context.writer()
367
+        __M_writer('<a data-toggle="collapse" data-target="#')
368
+        __M_writer(escape(dom_id))
369
+        __M_writer('"><b>')
370
+        __M_writer(escape(label))
371
+        __M_writer('</b></a>')
372
+        return ''
373
+    finally:
374
+        context.caller_stack._pop_frame()
375
+
376
+
377
+def render_TREEVIEW(context,dom_id,selected_id='',uniq_workspace='0'):
378
+    __M_caller = context.caller_stack._push_frame()
379
+    try:
380
+        tg = context.get('tg', UNDEFINED)
381
+        dict = context.get('dict', UNDEFINED)
382
+        def TREEVIEW_DYNAMIC(dom_id,selected_id,get_root_url,get_children_url,mode='link_to_document'):
383
+            return render_TREEVIEW_DYNAMIC(context,dom_id,selected_id,get_root_url,get_children_url,mode)
384
+        __M_writer = context.writer()
385
+        __M_writer('\n    ')
386
+
387
+        get_root_url = tg.url("/workspaces/treeview_root", dict(current_id=selected_id))
388
+        get_children_url = tg.url("/workspaces/treeview_children")
389
+            
390
+        
391
+        __M_writer('\n    ')
392
+        __M_writer(escape(TREEVIEW_DYNAMIC(dom_id, selected_id, get_root_url, get_children_url)))
393
+        __M_writer('\n')
394
+        return ''
395
+    finally:
396
+        context.caller_stack._pop_frame()
397
+
398
+
399
+def render_SHOW_CHANGE_STATUS(context,item,target_url,allow_to_change_status=False):
400
+    __M_caller = context.caller_stack._push_frame()
401
+    try:
402
+        h = context.get('h', UNDEFINED)
403
+        TIM = _mako_get_namespace(context, 'TIM')
404
+        __M_writer = context.writer()
405
+        __M_writer('\n    <div class="btn-group">\n')
406
+        if not allow_to_change_status:
407
+            __M_writer('            <button type="button" class="btn btn-default disable btn-link">\n                ')
408
+            __M_writer(escape(TIM.ICO(16, item.status.icon)))
409
+            __M_writer(' <span class="')
410
+            __M_writer(escape(item.status.css))
411
+            __M_writer('">')
412
+            __M_writer(escape(item.status.label))
413
+            __M_writer('</span>\n            </button>\n')
414
+        else:
415
+            __M_writer('            <button type="button" class="btn btn-default btn-link dropdown-toggle" data-toggle="dropdown">\n                ')
416
+            __M_writer(escape(TIM.ICO(16, item.status.icon)))
417
+            __M_writer(' <span class="')
418
+            __M_writer(escape(item.status.css))
419
+            __M_writer('">')
420
+            __M_writer(escape(item.status.label))
421
+            __M_writer('</span>\n            </button>\n            <ul class="dropdown-menu" role="menu">\n')
422
+            for status in h.AllStatus(item.type):
423
+                if status.id == 'closed-deprecated':
424
+                    __M_writer('                        <li class="divider"></li>\n')
425
+                __M_writer('                    <li><a\n                        class="')
426
+                __M_writer(escape(('', 'pod-status-selected')[status.id==item.status.id]))
427
+                __M_writer('"\n                        href="')
428
+                __M_writer(escape(target_url.format(status_id=status.id)))
429
+                __M_writer('"> ')
430
+                __M_writer(escape(TIM.ICO(16, status.icon)))
431
+                __M_writer(' <span class="')
432
+                __M_writer(escape(status.css))
433
+                __M_writer('">')
434
+                __M_writer(escape(status.label))
435
+                __M_writer('</span></a></li>\n')
436
+            __M_writer('            </ul>\n')
437
+        __M_writer('    </div>\n')
438
+        return ''
439
+    finally:
440
+        context.caller_stack._pop_frame()
441
+
442
+
443
+def render_TREEVIEW_DYNAMIC(context,dom_id,selected_id,get_root_url,get_children_url,mode='link_to_document'):
444
+    __M_caller = context.caller_stack._push_frame()
445
+    try:
446
+        TIM = _mako_get_namespace(context, 'TIM')
447
+        _ = context.get('_', UNDEFINED)
448
+        __M_writer = context.writer()
449
+        __M_writer('\n')
450
+        __M_writer('    <div id="')
451
+        __M_writer(escape(dom_id))
452
+        __M_writer('">\n        <div id="')
453
+        __M_writer(escape(dom_id))
454
+        __M_writer('-treeview"></div>\n        <input type=\'hidden\' id=\'')
455
+        __M_writer(escape(dom_id))
456
+        __M_writer("-treeview-hidden-field' name='folder_id' value=''/>\n        <script>\n            $(function () {\n                $('#")
457
+        __M_writer(escape(dom_id))
458
+        __M_writer('-treeview\').jstree({\n                    \'plugins\' : [ \'wholerow\', \'types\' ],\n                    "types" : {\n                        "default" : {\n                            "icon" : "')
459
+        __M_writer(escape(TIM.ICO_URL(16, 'places/jstree-folder')))
460
+        __M_writer('"\n                        },\n                        "workspace" : {\n                            "icon" : "')
461
+        __M_writer(escape(TIM.ICO_URL(16, 'places/folder-remote')))
462
+        __M_writer('"\n                        },\n                    },\n                    \'core\' : {\n                        \'error\': function (error) {\n                            console.log(\'Error \' + error.toString())\n                        },\n                        \'data\' : {\n                            \'dataType\': \'json\',\n                            \'contentType\': \'application/json; charset=utf-8\',\n                            \'url\' : function (node) {\n                                if (node.id===\'#\') {\n                                    return \'')
463
+        __M_writer(get_root_url)
464
+        __M_writer("'\n                                } else {\n                                    return '")
465
+        __M_writer(escape(get_children_url))
466
+        __M_writer('\'\n                                }\n                            },\n                            \'data\' : function(node) {\n                                console.log("NODE => "+JSON.stringify(node))\n                                return {\n                                    \'id\' : node.id\n                                };\n                            },\n                            \'success\': function (new_data) {\n                                console.log(\'loaded new menu data\' + new_data)\n                                console.log(new_data);\n\n                                for (var i = new_data[\'d\'].length; i--;) {\n                                    // prepareOrRemoveTreeNode(null, new_data[\'d\'][i], new_data[\'d\'], shouldRemoveNodeDoneCallBack);\n                                }\n                                return new_data;\n                            },\n                        },\n                    }\n                });\n\n')
467
+        if mode=='link_to_document':
468
+            __M_writer("                    $('#")
469
+            __M_writer(escape(dom_id))
470
+            __M_writer('-treeview\').on("select_node.jstree", function (e, data) {\n                        // click event is intercepted, so we fake a click() by getting the href value\n                        // of child link and put it as current document location\n                        url = $(\'#\'+data.selected[0]+\' > a\').attr(\'href\');\n                        location.href = url;\n                    });\n')
471
+        else:              
472
+            __M_writer("                    $('#")
473
+            __M_writer(escape(dom_id))
474
+            __M_writer('-treeview\').on("select_node.jstree", function (e, data) {\n                        // on click, the form hidden field is updated\n')
475
+            __M_writer("                        $('#")
476
+            __M_writer(escape(dom_id))
477
+            __M_writer("-treeview-hidden-field').val(data.selected[0]);\n                    });\n")
478
+        __M_writer("                \n                $('#")
479
+        __M_writer(escape(dom_id))
480
+        __M_writer('-treeview\').on("loaded.jstree", function () {\n                    nodes = $(\'#left-sidebar-treeview .jstree-node\');\n                    console.log("nodes = "+nodes.length);\n                    if (nodes.length<=0) {\n                        $("#left-sidebar-treeview").append( "<p class=\'pod-grey\'>')
481
+        __M_writer(_('There is no content yet.'))
482
+        __M_writer('" );\n                        $("#left-sidebar-treeview").append( "<p><a class=\\"btn btn-success\\" data-toggle=\\"modal\\" role=\\"button\\" href=\\"#add-document-modal-form\\"><i class=\\"fa fa-plus\\"></i> ')
483
+        __M_writer(escape(_('Create a topic')))
484
+        __M_writer('</a></p>" );\n                    }\n                });\n            });\n        </script>\n    </div>\n')
485
+        return ''
486
+    finally:
487
+        context.caller_stack._pop_frame()
488
+
489
+
490
+"""
491
+__M_BEGIN_METADATA
492
+{"source_encoding": "utf-8", "line_map": {"23": 1, "26": 0, "31": 1, "32": 13, "33": 15, "34": 17, "35": 31, "36": 70, "37": 87, "38": 104, "39": 120, "40": 128, "41": 214, "42": 220, "43": 226, "44": 233, "45": 257, "51": 228, "59": 228, "60": 229, "62": 229, "63": 230, "65": 230, "66": 232, "67": 232, "68": 232, "74": 19, "82": 19, "83": 20, "84": 20, "85": 21, "86": 21, "87": 22, "88": 22, "89": 25, "90": 26, "91": 27, "92": 27, "93": 27, "94": 30, "100": 106, "110": 106, "111": 107, "112": 108, "113": 108, "114": 108, "115": 109, "116": 110, "117": 110, "118": 110, "119": 111, "120": 112, "121": 113, "122": 113, "123": 113, "124": 113, "125": 113, "126": 113, "127": 114, "128": 114, "129": 114, "130": 114, "131": 114, "132": 114, "133": 115, "134": 115, "135": 118, "141": 216, "149": 216, "150": 217, "152": 217, "153": 218, "155": 218, "156": 219, "157": 219, "163": 15, "167": 15, "168": 15, "169": 15, "175": 222, "183": 222, "184": 223, "186": 223, "187": 224, "189": 224, "190": 225, "191": 225, "197": 3, "202": 3, "203": 4, "204": 4, "205": 5, "206": 6, "207": 7, "208": 7, "209": 7, "210": 7, "211": 7, "212": 8, "213": 9, "214": 9, "215": 9, "216": 9, "217": 9, "218": 9, "219": 9, "220": 12, "226": 33, "236": 33, "237": 34, "238": 35, "239": 35, "240": 35, "241": 36, "242": 37, "243": 37, "244": 37, "245": 38, "246": 39, "247": 40, "248": 40, "249": 40, "250": 40, "251": 40, "252": 40, "253": 42, "254": 43, "255": 43, "256": 43, "257": 44, "258": 45, "259": 46, "260": 46, "261": 46, "262": 48, "263": 49, "264": 50, "265": 50, "266": 50, "267": 53, "268": 54, "269": 55, "270": 55, "271": 55, "272": 58, "273": 59, "274": 60, "275": 60, "276": 60, "277": 63, "278": 65, "279": 68, "285": 72, "295": 72, "296": 73, "297": 74, "298": 74, "299": 74, "300": 75, "301": 76, "302": 76, "303": 76, "304": 77, "305": 78, "306": 79, "307": 79, "308": 79, "309": 79, "310": 79, "311": 79, "312": 81, "313": 81, "314": 81, "315": 81, "316": 81, "317": 81, "318": 85, "324": 89, "334": 89, "335": 90, "336": 91, "337": 91, "338": 91, "339": 92, "340": 93, "341": 93, "342": 93, "343": 94, "344": 95, "345": 96, "346": 96, "347": 96, "348": 96, "349": 96, "350": 96, "351": 98, "352": 98, "353": 98, "354": 98, "355": 98, "356": 98, "357": 102, "363": 17, "367": 17, "368": 17, "369": 17, "370": 17, "371": 17, "377": 122, "385": 122, "386": 123, "391": 126, "392": 127, "393": 127, "399": 235, "405": 235, "406": 237, "407": 238, "408": 239, "409": 239, "410": 239, "411": 239, "412": 239, "413": 239, "414": 241, "415": 242, "416": 243, "417": 243, "418": 243, "419": 243, "420": 243, "421": 243, "422": 246, "423": 247, "424": 248, "425": 250, "426": 251, "427": 251, "428": 252, "429": 252, "430": 252, "431": 252, "432": 252, "433": 252, "434": 252, "435": 252, "436": 254, "437": 256, "443": 130, "449": 130, "450": 134, "451": 134, "452": 134, "453": 135, "454": 135, "455": 136, "456": 136, "457": 139, "458": 139, "459": 143, "460": 143, "461": 146, "462": 146, "463": 158, "464": 158, "465": 160, "466": 160, "467": 186, "468": 187, "469": 187, "470": 187, "471": 193, "472": 194, "473": 194, "474": 194, "475": 199, "476": 199, "477": 199, "478": 202, "479": 203, "480": 203, "481": 207, "482": 207, "483": 208, "484": 208, "490": 484}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_widgets.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/user_workspace_widgets.mak"}
493
+__M_END_METADATA
494
+"""

+ 84 - 0
tracim/data/templates/home/damien/proj/tracim-app/pod/tracim/tracim/templates/workspace_toolbars.mak.py Просмотреть файл

@@ -0,0 +1,84 @@
1
+# -*- coding:utf-8 -*-
2
+from mako import runtime, filters, cache
3
+UNDEFINED = runtime.UNDEFINED
4
+__M_dict_builtin = dict
5
+__M_locals_builtin = locals
6
+_magic_number = 10
7
+_modified_time = 1413984378.109744
8
+_enable_loop = True
9
+_template_filename = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/workspace_toolbars.mak'
10
+_template_uri = '/home/damien/proj/tracim-app/pod/tracim/tracim/templates/workspace_toolbars.mak'
11
+_source_encoding = 'utf-8'
12
+from markupsafe import escape_silent as escape
13
+_exports = ['WORKSPACES', 'WORKSPACE']
14
+
15
+
16
+def _mako_get_namespace(context, name):
17
+    try:
18
+        return context.namespaces[(__name__, name)]
19
+    except KeyError:
20
+        _mako_generate_namespaces(context)
21
+        return context.namespaces[(__name__, name)]
22
+def _mako_generate_namespaces(context):
23
+    ns = runtime.TemplateNamespace('TIM', context._clean_inheritance_tokens(), templateuri='tracim.templates.pod', callables=None,  calling_uri=_template_uri)
24
+    context.namespaces[(__name__, 'TIM')] = ns
25
+
26
+def render_body(context,**pageargs):
27
+    __M_caller = context.caller_stack._push_frame()
28
+    try:
29
+        __M_locals = __M_dict_builtin(pageargs=pageargs)
30
+        __M_writer = context.writer()
31
+        __M_writer('\n\n')
32
+        __M_writer('\n\n')
33
+        __M_writer('\n\n')
34
+        return ''
35
+    finally:
36
+        context.caller_stack._pop_frame()
37
+
38
+
39
+def render_WORKSPACES(context,user):
40
+    __M_caller = context.caller_stack._push_frame()
41
+    try:
42
+        __M_writer = context.writer()
43
+        __M_writer('\n')
44
+        __M_writer('    <div id="sidebar-right" class="col-sm-1 col-md-1 col-sm-offset-11 sidebar" style="background-color: #FFF;">\n        <div class="btn-group btn-group-vertical">\n        </div>\n        <p></p>\n    </div> <!-- # End of side bar right -->\n')
45
+        return ''
46
+    finally:
47
+        context.caller_stack._pop_frame()
48
+
49
+
50
+def render_WORKSPACE(context,workspace,user):
51
+    __M_caller = context.caller_stack._push_frame()
52
+    try:
53
+        TIM = _mako_get_namespace(context, 'TIM')
54
+        result = context.get('result', UNDEFINED)
55
+        _ = context.get('_', UNDEFINED)
56
+        tg = context.get('tg', UNDEFINED)
57
+        __M_writer = context.writer()
58
+        __M_writer('\n')
59
+        __M_writer('    <div id="sidebar-right" class="col-sm-1 col-md-1 col-sm-offset-11 sidebar" style="background-color: #FFF;">\n        <div class="btn-group btn-group-vertical">\n            <a title="')
60
+        __M_writer(escape(_('Edit current workspace')))
61
+        __M_writer('" class="btn btn-default" data-toggle="modal" data-target="#workspace-edit-modal-dialog" data-remote="')
62
+        __M_writer(escape(tg.url('/admin/workspaces/{}/edit'.format(workspace.id))))
63
+        __M_writer('" >')
64
+        __M_writer(escape(TIM.ICO(32, 'apps/accessories-text-editor')))
65
+        __M_writer('</a>\n        </div>\n        <p></p>\n')
66
+        if user.profile.id>=2:
67
+            __M_writer('        <div class="btn-group btn-group-vertical">\n            <a title="')
68
+            __M_writer(escape(_('Delete current workspace')))
69
+            __M_writer('" class="btn btn-default" href="')
70
+            __M_writer(escape(tg.url('/admin/workspaces/{}/delete'.format(result.workspace.id))))
71
+            __M_writer('">')
72
+            __M_writer(escape(TIM.ICO(32, 'status/user-trash-full')))
73
+            __M_writer('</a>\n        </div>\n')
74
+        __M_writer('    </div> <!-- # End of side bar right -->\n')
75
+        return ''
76
+    finally:
77
+        context.caller_stack._pop_frame()
78
+
79
+
80
+"""
81
+__M_BEGIN_METADATA
82
+{"source_encoding": "utf-8", "line_map": {"23": 1, "26": 0, "31": 1, "32": 21, "33": 31, "39": 23, "43": 23, "44": 25, "50": 3, "58": 3, "59": 5, "60": 7, "61": 7, "62": 7, "63": 7, "64": 7, "65": 7, "66": 12, "67": 15, "68": 16, "69": 16, "70": 16, "71": 16, "72": 16, "73": 16, "74": 19, "80": 74}, "uri": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/workspace_toolbars.mak", "filename": "/home/damien/proj/tracim-app/pod/tracim/tracim/templates/workspace_toolbars.mak"}
83
+__M_END_METADATA
84
+"""

+ 141 - 0
tracim/development.ini.base Просмотреть файл

@@ -0,0 +1,141 @@
1
+#
2
+# pod - TurboGears 2 development environment configuration
3
+#
4
+# The %(here)s variable will be replaced with the parent directory of this file
5
+#
6
+# This file is for deployment specific config options -- other configuration
7
+# that is always required for the app is done in the config directory,
8
+# and generally should not be modified by end users.
9
+
10
+[DEFAULT]
11
+debug = true
12
+# Uncomment and replace with the address which should receive any error reports
13
+#email_to = you@yourdomain.com
14
+smtp_server = localhost
15
+error_email_from = turbogears@localhost
16
+
17
+[server:main]
18
+use = egg:gearbox#wsgiref
19
+host = 0.0.0.0
20
+port = 8080
21
+
22
+[sa_auth]
23
+cookie_secret = 3283411b-1904-4554-b0e1-883863b53080
24
+
25
+[app:main]
26
+use = egg:pod
27
+full_stack = true
28
+#lang = fr_FR
29
+cache_dir = %(here)s/data
30
+beaker.session.key = pod
31
+beaker.session.secret = 3283411b-1904-4554-b0e1-883863b53080
32
+
33
+#By default session is store in cookies to avoid the overhead
34
+#of having to manage a session storage. On production you might
35
+#want to switch to a better session storage.
36
+beaker.session.type = cookie
37
+beaker.session.validate_key = 3283411b-1904-4554-b0e1-883863b53080
38
+
39
+# Disable template autoreload to boost performances in production
40
+# WARNING: if you want to deploy your application using a zipped egg
41
+# (ie: if your application's setup.py defines zip-safe=True, then you
42
+# MUST put "false" for the production environment because there will
43
+# be no disk and real files to compare time with.
44
+#auto_reload_templates = false
45
+
46
+# If you'd like to fine-tune the individual locations of the cache data dirs
47
+# for the Cache data, or the Session saves, un-comment the desired settings
48
+# here:
49
+#beaker.cache.data_dir = %(here)s/data/cache
50
+#beaker.session.data_dir = %(here)s/data/sessions
51
+
52
+# pick the form for your database
53
+# %(here) may include a ':' character on Windows environments; this can
54
+# invalidate the URI when specifying a SQLite db via path name
55
+# sqlalchemy.url=postgresql://username:password@hostname:port/databasename
56
+# sqlalchemy.url=mysql://username:password@hostname:port/databasename
57
+sqlalchemy.url = postgresql://pod_user:pod_user_password@127.0.0.1:5432/pod
58
+
59
+#echo shouldn't be used together with the logging module.
60
+sqlalchemy.echo = false
61
+sqlalchemy.echo_pool = false
62
+sqlalchemy.pool_recycle = 3600
63
+
64
+# This line ensures that Genshi will render xhtml when sending the
65
+# output. Change to html or xml, as desired.
66
+templating.genshi.method = xhtml
67
+templating.genshi.doctype = html5
68
+
69
+# the compiled template dir is a directory that must be readable and writable
70
+# by your webserver. It will be used to store the resulting templates once
71
+# compiled by the TemplateLookup system.
72
+# During development you generally don't need this option since paste's HTTP
73
+# server will have access to you development directories, but in production
74
+# you'll most certainly want to have apache or nginx to write in a directory
75
+# that does not contain any source code in any form for obvious security
76
+# reasons.  If disabled, None, False, or not writable, it will fall back
77
+# to an in-memory cache.
78
+templating.mako.compiled_templates_dir = %(here)s/data/templates
79
+
80
+# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
81
+# Debug mode will enable the interactive debugging tool, allowing ANYONE to
82
+# execute malicious code after an exception is raised.
83
+#set debug = false
84
+
85
+# Logging configuration
86
+# Add additional loggers, handlers, formatters here
87
+# Uses python's logging config file format
88
+# http://docs.python.org/lib/logging-config-fileformat.html
89
+
90
+#turn this setting to "min" if you would like tw to produce minified
91
+#javascript files (if your library supports that)
92
+toscawidgets.framework.resource_variant=debug
93
+
94
+# if you want to setup analytics like piwik or google analytics, then put the js code in a file and set file path below
95
+#js_tracker_path = analytics.js
96
+
97
+[loggers]
98
+keys = root, pod, sqlalchemy, auth
99
+
100
+[handlers]
101
+keys = console
102
+
103
+[formatters]
104
+keys = generic
105
+
106
+# If you create additional loggers, add them as a key to [loggers]
107
+[logger_root]
108
+level = INFO
109
+handlers = console
110
+
111
+[logger_pod]
112
+level = DEBUG
113
+handlers =
114
+qualname = pod
115
+
116
+[logger_sqlalchemy]
117
+level = INFO
118
+handlers =
119
+qualname = sqlalchemy.engine
120
+# "level = INFO" logs SQL queries.
121
+# "level = DEBUG" logs SQL queries and results.
122
+# "level = WARN" logs neither.  (Recommended for production systems.)
123
+
124
+# A logger for authentication, identification and authorization
125
+# this is repoze.who:
126
+[logger_auth]
127
+level = WARN
128
+handlers =
129
+qualname = auth
130
+
131
+# If you create additional handlers, add them as a key to [handlers]
132
+[handler_console]
133
+class = StreamHandler
134
+args = (sys.stderr,)
135
+level = NOTSET
136
+formatter = generic
137
+
138
+# If you create additional formatters, add them as a key to [formatters]
139
+[formatter_generic]
140
+format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
141
+datefmt = %H:%M:%S

+ 149 - 0
tracim/development.ini~ Просмотреть файл

@@ -0,0 +1,149 @@
1
+#
2
+# tracim - TurboGears 2 development environment configuration
3
+#
4
+# The %(here)s variable will be replaced with the parent directory of this file
5
+#
6
+# This file is for deployment specific config options -- other configuration
7
+# that is always required for the app is done in the config directory,
8
+# and generally should not be modified by end users.
9
+
10
+[DEFAULT]
11
+debug = true
12
+# Uncomment and replace with the address which should receive any error reports
13
+#email_to = you@yourdomain.com
14
+smtp_server = localhost
15
+error_email_from = turbogears@localhost
16
+
17
+[server:main]
18
+use = egg:gearbox#wsgiref
19
+host = 0.0.0.0
20
+port = 8080
21
+
22
+[sa_auth]
23
+cookie_secret = 3283411b-1904-4554-b0e1-883863b53080
24
+
25
+[app:main]
26
+use = egg:tracim
27
+full_stack = true
28
+lang = fr
29
+cache_dir = %(here)s/data
30
+beaker.session.key = tracim
31
+beaker.session.secret = 3283411b-1904-4554-b0e1-883863b53080
32
+
33
+#By default session is store in cookies to avoid the overhead
34
+#of having to manage a session storage. On production you might
35
+#want to switch to a better session storage.
36
+beaker.session.type = cookie
37
+beaker.session.validate_key = 3283411b-1904-4554-b0e1-883863b53080
38
+
39
+# Disable template autoreload to boost performances in production
40
+# WARNING: if you want to deploy your application using a zipped egg
41
+# (ie: if your application's setup.py defines zip-safe=True, then you
42
+# MUST put "false" for the production environment because there will
43
+# be no disk and real files to compare time with.
44
+#auto_reload_templates = false
45
+
46
+# If you'd like to fine-tune the individual locations of the cache data dirs
47
+# for the Cache data, or the Session saves, un-comment the desired settings
48
+# here:
49
+#beaker.cache.data_dir = %(here)s/data/cache
50
+#beaker.session.data_dir = %(here)s/data/sessions
51
+
52
+# pick the form for your database
53
+# %(here) may include a ':' character on Windows environments; this can
54
+# invalidate the URI when specifying a SQLite db via path name
55
+# sqlalchemy.url=postgresql://username:password@hostname:port/databasename
56
+# sqlalchemy.url=mysql://username:password@hostname:port/databasename
57
+# OLD sqlalchemy.url = postgresql://tracimuser:tracimpassword@127.0.0.1:5432/tracimdb
58
+sqlalchemy.url = postgresql://poduser:podpassword@127.0.0.1:5432/tracimdbprod
59
+
60
+#echo shouldn't be used together with the logging module.
61
+sqlalchemy.echo = false
62
+sqlalchemy.echo_pool = false
63
+sqlalchemy.pool_recycle = 3600
64
+
65
+# This line ensures that Genshi will render xhtml when sending the
66
+# output. Change to html or xml, as desired.
67
+templating.genshi.method = xhtml
68
+templating.genshi.doctype = html5
69
+
70
+# the compiled template dir is a directory that must be readable and writable
71
+# by your webserver. It will be used to store the resulting templates once
72
+# compiled by the TemplateLookup system.
73
+# During development you generally don't need this option since paste's HTTP
74
+# server will have access to you development directories, but in production
75
+# you'll most certainly want to have apache or nginx to write in a directory
76
+# that does not contain any source code in any form for obvious security
77
+# reasons.  If disabled, None, False, or not writable, it will fall back
78
+# to an in-memory cache.
79
+templating.mako.compiled_templates_dir = %(here)s/data/templates
80
+
81
+# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
82
+# Debug mode will enable the interactive debugging tool, allowing ANYONE to
83
+# execute malicious code after an exception is raised.
84
+# set debug = false
85
+
86
+# Logging configuration
87
+# Add additional loggers, handlers, formatters here
88
+# Uses pythons logging config file format
89
+# http://docs.python.org/lib/logging-config-fileformat.html
90
+
91
+#turn this setting to "min" if you would like tw to produce minified
92
+#javascript files (if your library supports that)
93
+toscawidgets.framework.resource_variant=debug
94
+
95
+# if you want to setup analytics like piwik or google analytics, then put the js code in a file and set file path below
96
+#js_tracker_path = analytics.js
97
+
98
+
99
+resetpassword.email_sender = damien.accorsi@free.fr
100
+resetpassword.smtp_host = smtp.free.fr
101
+resetpassword.smtp_port = 25
102
+
103
+
104
+[loggers]
105
+keys = root, tracim, sqlalchemy, auth
106
+
107
+[handlers]
108
+keys = console
109
+
110
+[formatters]
111
+keys = generic
112
+
113
+# If you create additional loggers, add them as a key to [loggers]
114
+[logger_root]
115
+level = INFO
116
+handlers = console
117
+
118
+[logger_tracim]
119
+level = DEBUG
120
+handlers =
121
+qualname = tracim
122
+
123
+[logger_sqlalchemy]
124
+level = WARN
125
+handlers =
126
+qualname = sqlalchemy.engine
127
+# "level = INFO" logs SQL queries.
128
+# "level = DEBUG" logs SQL queries and results.
129
+# "level = WARN" logs neither.  (Recommended for production systems.)
130
+
131
+# A logger for authentication, identification and authorization
132
+# this is repoze.who:
133
+[logger_auth]
134
+level = WARN
135
+handlers =
136
+qualname = auth
137
+
138
+# If you create additional handlers, add them as a key to [handlers]
139
+[handler_console]
140
+class = StreamHandler
141
+args = (sys.stderr,)
142
+level = NOTSET
143
+formatter = generic
144
+
145
+# If you create additional formatters, add them as a key to [formatters]
146
+[formatter_generic]
147
+format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
148
+datefmt = %H:%M:%S
149
+

+ 73 - 0
tracim/migration/env.py Просмотреть файл

@@ -0,0 +1,73 @@
1
+from __future__ import with_statement
2
+from alembic import context
3
+from sqlalchemy import engine_from_config, pool
4
+from logging.config import fileConfig
5
+
6
+# this is the Alembic Config object, which provides
7
+# access to the values within the .ini file in use.
8
+config = context.config
9
+
10
+# Interpret the config file for Python logging.
11
+# This line sets up loggers basically.
12
+#fileConfig(config.config_file_name)
13
+
14
+# add your model's MetaData object here
15
+# for 'autogenerate' support
16
+# from myapp import mymodel
17
+# target_metadata = mymodel.Base.metadata
18
+from tracim import model
19
+target_metadata = model.metadata
20
+
21
+# other values from the config, defined by the needs of env.py,
22
+# can be acquired:
23
+# my_important_option = config.get_main_option("my_important_option")
24
+# ... etc.
25
+
26
+def run_migrations_offline():
27
+    """Run migrations in 'offline' mode.
28
+
29
+    This configures the context with just a URL
30
+    and not an Engine, though an Engine is acceptable
31
+    here as well.  By skipping the Engine creation
32
+    we don't even need a DBAPI to be available.
33
+
34
+    Calls to context.execute() here emit the given string to the
35
+    script output.
36
+
37
+    """
38
+    url = config.get_main_option("sqlalchemy.url")
39
+    context.configure(url=url, version_table='migrate_version')
40
+
41
+    with context.begin_transaction():
42
+        context.run_migrations()
43
+
44
+def run_migrations_online():
45
+    """Run migrations in 'online' mode.
46
+
47
+    In this scenario we need to create an Engine
48
+    and associate a connection with the context.
49
+
50
+    """
51
+    engine = engine_from_config(
52
+                config.get_section(config.config_ini_section),
53
+                prefix='sqlalchemy.',
54
+                poolclass=pool.NullPool)
55
+
56
+    connection = engine.connect()
57
+    context.configure(
58
+                connection=connection,
59
+                target_metadata=target_metadata,
60
+                version_table='migrate_version'
61
+                )
62
+
63
+    try:
64
+        with context.begin_transaction():
65
+            context.run_migrations()
66
+    finally:
67
+        connection.close()
68
+
69
+if context.is_offline_mode():
70
+    run_migrations_offline()
71
+else:
72
+    run_migrations_online()
73
+

+ 22 - 0
tracim/migration/script.py.mako Просмотреть файл

@@ -0,0 +1,22 @@
1
+"""${message}
2
+
3
+Revision ID: ${up_revision}
4
+Revises: ${down_revision}
5
+Create Date: ${create_date}
6
+
7
+"""
8
+
9
+# revision identifiers, used by Alembic.
10
+revision = ${repr(up_revision)}
11
+down_revision = ${repr(down_revision)}
12
+
13
+from alembic import op
14
+import sqlalchemy as sa
15
+${imports if imports else ""}
16
+
17
+def upgrade():
18
+    ${upgrades if upgrades else "pass"}
19
+
20
+
21
+def downgrade():
22
+    ${downgrades if downgrades else "pass"}

+ 0 - 0
tracim/migration/versions/empty.txt Просмотреть файл


+ 49 - 0
tracim/setup.cfg Просмотреть файл

@@ -0,0 +1,49 @@
1
+[egg_info]
2
+tag_build = dev
3
+tag_svn_revision = true
4
+
5
+# Babel configuration
6
+[compile_catalog]
7
+domain = tracim
8
+directory = tracim/i18n
9
+statistics = true
10
+
11
+[extract_messages]
12
+add_comments = TRANSLATORS:
13
+output_file = tracim/i18n/tracim.pot
14
+width = 80
15
+keywords = l_
16
+
17
+[init_catalog]
18
+domain = tracim
19
+input_file = tracim/i18n/tracim.pot
20
+output_dir = tracim/i18n
21
+
22
+[update_catalog]
23
+domain = tracim
24
+input_file = tracim/i18n/tracim.pot
25
+output_dir = tracim/i18n
26
+previous = true
27
+
28
+# Static files extraction for TW
29
+[archive_tw_resources]
30
+output = tracim/public/toscawidgets/
31
+distributions = tracim
32
+#yuicompressor = /home/someuser/bin/yuicompressor.jar
33
+#compresslevel = 2
34
+onepass = true
35
+
36
+[archive_tw2_resources]
37
+output = tracim/public/tw2/
38
+distributions = tracim
39
+force = true
40
+#yuicompressor = /home/someuser/bin/yuicompressor.jar
41
+#compresslevel = 2
42
+onepass = true
43
+
44
+[aliases]
45
+# A handy alias to make a release to pypi
46
+release = egg_info -RDb "" sdist bdist_egg register upload
47
+tracimdevelop = develop -i http://tg.gy/221
48
+tracimdeps = easy_install -i http://tg.gy/221 AddOns BytecodeAssembler Chameleon coverage DecoratorTools Extremes Genshi Jinja2 Kajiki kid PEAK_Rules repoze.who repoze.who_friendlyform repoze.who.plugins.sa simplegeneric sprox SQLAlchemy SymbolType tgext.admin tgext.crud ToscaWidgets transaction TurboJson TurboKid tw.forms zope.interface zope.sqlalchemy
49
+tgupgrade = easy_install -i http://tg.gy/current -U AddOns Babel Beaker BytecodeAssembler Chameleon coverage decorator DecoratorTools Extremes Genshi Jinja2 Kajiki kid Mako MarkupSafe nose Paste PasteDeploy PasteScript PEAK_Rules Pygments Pylons repoze.who repoze.who_friendlyform repoze.who.plugins.sa simplegeneric simplejson sprox SQLAlchemy SymbolType Tempita tgext.admin tgext.crud ToscaWidgets transaction TurboJson TurboKid tw.forms WebError WebFlash WebHelpers WebOb WebTest zope.interface zope.sqlalchemy

+ 49 - 0
tracim/setup.cfg~ Просмотреть файл

@@ -0,0 +1,49 @@
1
+[egg_info]
2
+tag_build = dev
3
+tag_svn_revision = true
4
+
5
+# Babel configuration
6
+[compile_catalog]
7
+domain = pod
8
+directory = pod/i18n
9
+statistics = true
10
+
11
+[extract_messages]
12
+add_comments = TRANSLATORS:
13
+output_file = pod/i18n/pod.pot
14
+width = 80
15
+keywords = l_
16
+
17
+[init_catalog]
18
+domain = pod
19
+input_file = pod/i18n/pod.pot
20
+output_dir = pod/i18n
21
+
22
+[update_catalog]
23
+domain = pod
24
+input_file = pod/i18n/pod.pot
25
+output_dir = pod/i18n
26
+previous = true
27
+
28
+# Static files extraction for TW
29
+[archive_tw_resources]
30
+output = pod/public/toscawidgets/
31
+distributions = pod
32
+#yuicompressor = /home/someuser/bin/yuicompressor.jar
33
+#compresslevel = 2
34
+onepass = true
35
+
36
+[archive_tw2_resources]
37
+output = pod/public/tw2/
38
+distributions = pod
39
+force = true
40
+#yuicompressor = /home/someuser/bin/yuicompressor.jar
41
+#compresslevel = 2
42
+onepass = true
43
+
44
+[aliases]
45
+# A handy alias to make a release to pypi
46
+release = egg_info -RDb "" sdist bdist_egg register upload
47
+poddevelop = develop -i http://tg.gy/221
48
+poddeps = easy_install -i http://tg.gy/221 AddOns BytecodeAssembler Chameleon coverage DecoratorTools Extremes Genshi Jinja2 Kajiki kid PEAK_Rules repoze.who repoze.who_friendlyform repoze.who.plugins.sa simplegeneric sprox SQLAlchemy SymbolType tgext.admin tgext.crud ToscaWidgets transaction TurboJson TurboKid tw.forms zope.interface zope.sqlalchemy
49
+tgupgrade = easy_install -i http://tg.gy/current -U AddOns Babel Beaker BytecodeAssembler Chameleon coverage decorator DecoratorTools Extremes Genshi Jinja2 Kajiki kid Mako MarkupSafe nose Paste PasteDeploy PasteScript PEAK_Rules Pygments Pylons repoze.who repoze.who_friendlyform repoze.who.plugins.sa simplegeneric simplejson sprox SQLAlchemy SymbolType Tempita tgext.admin tgext.crud ToscaWidgets transaction TurboJson TurboKid tw.forms WebError WebFlash WebHelpers WebOb WebTest zope.interface zope.sqlalchemy

+ 76 - 0
tracim/setup.py Просмотреть файл

@@ -0,0 +1,76 @@
1
+# -*- coding: utf-8 -*-
2
+#quickstarted Options:
3
+#
4
+# sqlalchemy: True
5
+# auth:       sqlalchemy
6
+# mako:       True
7
+#
8
+#
9
+
10
+#This is just a work-around for a Python2.7 issue causing
11
+#interpreter crash at exit when trying to log an info message.
12
+try:
13
+    import logging
14
+    import multiprocessing
15
+except:
16
+    pass
17
+
18
+import sys
19
+py_version = sys.version_info[:2]
20
+
21
+try:
22
+    from setuptools import setup, find_packages
23
+except ImportError:
24
+    from ez_setup import use_setuptools
25
+    use_setuptools()
26
+    from setuptools import setup, find_packages
27
+
28
+testpkgs=['WebTest >= 1.2.3',
29
+               'nose',
30
+               'coverage',
31
+               'gearbox'
32
+               ]
33
+
34
+install_requires=[
35
+    "TurboGears2 >= 2.3.1",
36
+    "Genshi",
37
+    "Mako",
38
+    "zope.sqlalchemy >= 0.4",
39
+    "sqlalchemy",
40
+    "alembic",
41
+    "repoze.who",
42
+    ]
43
+
44
+setup(
45
+    name='tracim',
46
+    version='1.0.0',
47
+    description='Tracim is plateform software designed to improve traceability and productivity in collaborative work.',
48
+    author='Damien ACCORSI',
49
+    author_email='damien.accorsi@free.fr',
50
+    url='https://bitbucket.org/lebouquetin/tracim',
51
+    packages=find_packages(exclude=['ez_setup']),
52
+    install_requires=install_requires,
53
+    include_package_data=True,
54
+    test_suite='nose.collector',
55
+    tests_require=testpkgs,
56
+    package_data={'tracim': ['i18n/*/LC_MESSAGES/*.mo',
57
+                                 'templates/*/*',
58
+                                 'public/*/*']},
59
+    message_extractors={'tracim': [
60
+            ('**.py', 'python', None),
61
+            ('templates/**.mak', 'mako', {'input_encoding': 'utf-8'}),
62
+            ('public/**', 'ignore', None)]},
63
+
64
+    entry_points={
65
+        'paste.app_factory': [
66
+            'main = tracim.config.middleware:make_app'
67
+        ],
68
+        'gearbox.plugins': [
69
+            'turbogears-devtools = tg.devtools'
70
+        ]
71
+    },
72
+    dependency_links=[
73
+        "http://tg.gy/230"
74
+        ],
75
+    zip_safe=False
76
+)

+ 76 - 0
tracim/setup.py~ Просмотреть файл

@@ -0,0 +1,76 @@
1
+# -*- coding: utf-8 -*-
2
+#quickstarted Options:
3
+#
4
+# sqlalchemy: True
5
+# auth:       sqlalchemy
6
+# mako:       True
7
+#
8
+#
9
+
10
+#This is just a work-around for a Python2.7 issue causing
11
+#interpreter crash at exit when trying to log an info message.
12
+try:
13
+    import logging
14
+    import multiprocessing
15
+except:
16
+    pass
17
+
18
+import sys
19
+py_version = sys.version_info[:2]
20
+
21
+try:
22
+    from setuptools import setup, find_packages
23
+except ImportError:
24
+    from ez_setup import use_setuptools
25
+    use_setuptools()
26
+    from setuptools import setup, find_packages
27
+
28
+testpkgs=['WebTest >= 1.2.3',
29
+               'nose',
30
+               'coverage',
31
+               'gearbox'
32
+               ]
33
+
34
+install_requires=[
35
+    "TurboGears2 >= 2.3.1",
36
+    "Genshi",
37
+    "Mako",
38
+    "zope.sqlalchemy >= 0.4",
39
+    "sqlalchemy",
40
+    "alembic",
41
+    "repoze.who",
42
+    ]
43
+
44
+setup(
45
+    name='tracim',
46
+    version='1.0.0',
47
+    description='Tracim is plateform software designed to improve traceability and productivity in collaborative work.',
48
+    author='Damien The POD team',
49
+    author_email='damien.accorsi@free.fr',
50
+    url='https://bitbucket.org/lebouquetin/tracim',
51
+    packages=find_packages(exclude=['ez_setup']),
52
+    install_requires=install_requires,
53
+    include_package_data=True,
54
+    test_suite='nose.collector',
55
+    tests_require=testpkgs,
56
+    package_data={'tracim': ['i18n/*/LC_MESSAGES/*.mo',
57
+                                 'templates/*/*',
58
+                                 'public/*/*']},
59
+    message_extractors={'tracim': [
60
+            ('**.py', 'python', None),
61
+            ('templates/**.mak', 'mako', {'input_encoding': 'utf-8'}),
62
+            ('public/**', 'ignore', None)]},
63
+
64
+    entry_points={
65
+        'paste.app_factory': [
66
+            'main = tracim.config.middleware:make_app'
67
+        ],
68
+        'gearbox.plugins': [
69
+            'turbogears-devtools = tg.devtools'
70
+        ]
71
+    },
72
+    dependency_links=[
73
+        "http://tg.gy/230"
74
+        ],
75
+    zip_safe=False
76
+)

+ 26 - 0
tracim/test.ini Просмотреть файл

@@ -0,0 +1,26 @@
1
+#
2
+# pod - TurboGears 2 testing environment configuration
3
+#
4
+# The %(here)s variable will be replaced with the parent directory of this file
5
+#
6
+[DEFAULT]
7
+debug = true
8
+# Uncomment and replace with the address which should receive any error reports
9
+# email_to = you@yourdomain.com
10
+smtp_server = localhost
11
+error_email_from = turbogears@localhost
12
+
13
+[server:main]
14
+use = egg:gearbox#wsgiref
15
+host = 127.0.0.1
16
+port = 8080
17
+
18
+[app:main]
19
+sqlalchemy.url = sqlite:///:memory:
20
+use = config:development.ini
21
+
22
+[app:main_without_authn]
23
+use = main
24
+skip_authentication = True
25
+
26
+# Add additional test specific configuration options as necessary.

+ 2 - 0
tracim/tracim/__init__.py Просмотреть файл

@@ -0,0 +1,2 @@
1
+# -*- coding: utf-8 -*-
2
+"""The tracim package"""

+ 2 - 0
tracim/tracim/config/__init__.py Просмотреть файл

@@ -0,0 +1,2 @@
1
+# -*- coding: utf-8 -*-
2
+

+ 118 - 0
tracim/tracim/config/app_cfg.py Просмотреть файл

@@ -0,0 +1,118 @@
1
+# -*- coding: utf-8 -*-
2
+"""
3
+Global configuration file for TG2-specific settings in tracim.
4
+
5
+This file complements development/deployment.ini.
6
+
7
+Please note that **all the argument values are strings**. If you want to
8
+convert them into boolean, for example, you should use the
9
+:func:`paste.deploy.converters.asbool` function, as in::
10
+    
11
+    from paste.deploy.converters import asbool
12
+    setting = asbool(global_conf.get('the_setting'))
13
+ 
14
+"""
15
+
16
+from tg.configuration import AppConfig
17
+from tgext.pluggable import plug, replace_template
18
+
19
+import tracim
20
+from tracim import model
21
+from tracim.lib import app_globals, helpers
22
+
23
+base_config = AppConfig()
24
+base_config.renderers = []
25
+base_config.use_toscawidgets = False
26
+base_config.use_toscawidgets2 = True
27
+
28
+base_config.package = tracim
29
+
30
+#Enable json in expose
31
+base_config.renderers.append('json')
32
+#Enable genshi in expose to have a lingua franca for extensions and pluggable apps
33
+#you can remove this if you don't plan to use it.
34
+base_config.renderers.append('genshi')
35
+
36
+#Set the default renderer
37
+base_config.default_renderer = 'mako'
38
+base_config.renderers.append('mako')
39
+#Configure the base SQLALchemy Setup
40
+base_config.use_sqlalchemy = True
41
+base_config.model = tracim.model
42
+base_config.DBSession = tracim.model.DBSession
43
+
44
+
45
+# base_config.flash.cookie_name
46
+# base_config.flash.default_status -> Default message status if not specified (ok by default)
47
+base_config['flash.template'] = '''
48
+<div class="alert alert-${status}" style="margin-top: 1em;">
49
+    <button type="button" class="close" data-dismiss="alert">&times;</button>
50
+    <div id="${container_id}">
51
+        <img src="/assets/icons/32x32/status/flash-${status}.png"/>
52
+        ${message}
53
+    </div>
54
+</div>
55
+'''
56
+# -> string.Template instance used as the flash template when rendered from server side, will receive $container_id, $message and $status variables.
57
+# flash.js_call -> javascript code which will be run when displaying the flash from javascript. Default is webflash.render(), you can use webflash.payload() to retrieve the message and show it with your favourite library.
58
+# flash.js_template -> string.Template instance used to replace full javascript support for flash messages. When rendering flash message for javascript usage the following code will be used instead of providing the standard webflash object. If you replace js_template you must also ensure cookie parsing and delete it for already displayed messages. The template will receive: $container_id, $cookie_name, $js_call variables.
59
+
60
+
61
+# Configure the authentication backend
62
+
63
+# YOU MUST CHANGE THIS VALUE IN PRODUCTION TO SECURE YOUR APP 
64
+base_config.sa_auth.cookie_secret = "3283411b-1904-4554-b0e1-883863b53080"
65
+
66
+base_config.auth_backend = 'sqlalchemy'
67
+
68
+# what is the class you want to use to search for users in the database
69
+base_config.sa_auth.user_class = model.User
70
+
71
+from tg.configuration.auth import TGAuthMetadata
72
+
73
+from sqlalchemy import and_
74
+#This tells to TurboGears how to retrieve the data for your user
75
+class ApplicationAuthMetadata(TGAuthMetadata):
76
+    def __init__(self, sa_auth):
77
+        self.sa_auth = sa_auth
78
+    def authenticate(self, environ, identity):
79
+        user = self.sa_auth.dbsession.query(self.sa_auth.user_class).filter(and_(self.sa_auth.user_class.is_active==True, self.sa_auth.user_class.email_address==identity['login'])).first()
80
+        if user and user.validate_password(identity['password']):
81
+            return identity['login']
82
+    def get_user(self, identity, userid):
83
+        return self.sa_auth.dbsession.query(self.sa_auth.user_class).filter(and_(self.sa_auth.user_class.is_active==True, self.sa_auth.user_class.email_address==userid)).first()
84
+    def get_groups(self, identity, userid):
85
+        return [g.group_name for g in identity['user'].groups]
86
+    def get_permissions(self, identity, userid):
87
+        return [p.permission_name for p in identity['user'].permissions]
88
+
89
+base_config.sa_auth.dbsession = model.DBSession
90
+
91
+base_config.sa_auth.authmetadata = ApplicationAuthMetadata(base_config.sa_auth)
92
+
93
+# You can use a different repoze.who Authenticator if you want to
94
+# change the way users can login
95
+#base_config.sa_auth.authenticators = [('myauth', SomeAuthenticator()]
96
+
97
+# You can add more repoze.who metadata providers to fetch
98
+# user metadata.
99
+# Remember to set base_config.sa_auth.authmetadata to None
100
+# to disable authmetadata and use only your own metadata providers
101
+#base_config.sa_auth.mdproviders = [('myprovider', SomeMDProvider()]
102
+
103
+# override this if you would like to provide a different who plugin for
104
+# managing login and logout of your application
105
+base_config.sa_auth.form_plugin = None
106
+
107
+# You may optionally define a page where you want users to be redirected to
108
+# on login:
109
+base_config.sa_auth.post_login_url = '/post_login'
110
+
111
+# You may optionally define a page where you want users to be redirected to
112
+# on logout:
113
+base_config.sa_auth.post_logout_url = '/post_logout'
114
+
115
+
116
+plug(base_config, 'resetpassword')
117
+replace_template(base_config, 'resetpassword.templates.index', 'tracim.templates.reset_password_index')
118
+replace_template(base_config, 'resetpassword.templates.change_password', 'tracim.templates.reset_password_change_password')

+ 101 - 0
tracim/tracim/config/deployment.ini_tmpl Просмотреть файл

@@ -0,0 +1,101 @@
1
+#
2
+# pod - TurboGears 2 production environment configuration
3
+#
4
+# The %(here)s variable will be replaced with the parent directory of this file
5
+#
6
+[DEFAULT]
7
+# WARGING == If debug is not set to false, you'll get the interactive
8
+# debugger on production, which is a huge security hole.
9
+
10
+debug = false
11
+email_to = you@yourdomain.com
12
+smtp_server = localhost
13
+error_email_from = turbogears@localhost
14
+
15
+[server:main]
16
+use = egg:gearbox#wsgiref
17
+host = 0.0.0.0
18
+port = 8080
19
+
20
+[sa_auth]
21
+cookie_secret = ${app_instance_secret}
22
+
23
+[app:main]
24
+use = egg:pod
25
+full_stack = true
26
+cache_dir = %(here)s/data
27
+beaker.session.key = pod
28
+beaker.session.secret = ${app_instance_secret}
29
+app_instance_uuid = ${app_instance_uuid}
30
+
31
+# If you'd like to fine-tune the individual locations of the cache data dirs
32
+# for the Cache data, or the Session saves, un-comment the desired settings
33
+# here:
34
+#beaker.cache.data_dir = %(here)s/data/cache
35
+#beaker.session.data_dir = %(here)s/data/sessions
36
+# Specify the database for SQLAlchemy to use via
37
+# turbogears.database
38
+# %(here) may include a ':' character on Windows environments; this can
39
+# invalidate the URI when specifying a SQLite db via path name
40
+sqlalchemy.url = sqlite:///%(here)s/somedb.db
41
+sqlalchemy.echo = False
42
+
43
+# This line ensures that Genshi will render xhtml when sending the
44
+# output. Change to html or xml, as desired.
45
+templating.genshi.method = xhtml
46
+
47
+# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
48
+# Debug mode will enable the interactive debugging tool, allowing ANYONE to
49
+# execute malicious code after an exception is raised.
50
+#set debug = false
51
+
52
+# Logging configuration
53
+# Add additional loggers, handlers, formatters here
54
+# Uses python's logging config file format
55
+# http://docs.python.org/lib/logging-config-fileformat.html
56
+
57
+[loggers]
58
+keys = root, pod, sqlalchemy, auth
59
+
60
+[handlers]
61
+keys = console
62
+
63
+[formatters]
64
+keys = generic
65
+
66
+# If you create additional loggers, add them as a key to [loggers]
67
+[logger_root]
68
+level = INFO
69
+handlers = console
70
+
71
+[logger_pod]
72
+level = INFO
73
+handlers =
74
+qualname = pod
75
+
76
+[logger_sqlalchemy]
77
+level = WARN
78
+handlers =
79
+qualname = sqlalchemy.engine
80
+# "level = INFO" logs SQL queries.
81
+# "level = DEBUG" logs SQL queries and results.
82
+# "level = WARN" logs neither.  (Recommended for production systems.)
83
+
84
+# A logger for authentication, identification and authorization
85
+# This is repoze.who:
86
+[logger_auth]
87
+level = WARN
88
+handlers =
89
+qualname = auth
90
+
91
+# If you create additional handlers, add them as a key to [handlers]
92
+[handler_console]
93
+class = StreamHandler
94
+args = (sys.stderr,)
95
+level = NOTSET
96
+formatter = generic
97
+
98
+# If you create additional formatters, add them as a key to [formatters]
99
+[formatter_generic]
100
+format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
101
+datefmt = %Y-%m-%d %H:%M:%S

+ 9 - 0
tracim/tracim/config/environment.py Просмотреть файл

@@ -0,0 +1,9 @@
1
+# -*- coding: utf-8 -*-
2
+"""WSGI environment setup for tracim."""
3
+
4
+from tracim.config.app_cfg import base_config
5
+
6
+__all__ = ['load_environment']
7
+
8
+#Use base_config to setup the environment loader function
9
+load_environment = base_config.make_load_environment()

+ 39 - 0
tracim/tracim/config/middleware.py Просмотреть файл

@@ -0,0 +1,39 @@
1
+# -*- coding: utf-8 -*-
2
+"""WSGI middleware initialization for the tracim application."""
3
+
4
+from tracim.config.app_cfg import base_config
5
+from tracim.config.environment import load_environment
6
+
7
+
8
+__all__ = ['make_app']
9
+
10
+# Use base_config to setup the necessary PasteDeploy application factory. 
11
+# make_base_app will wrap the TG2 app with all the middleware it needs. 
12
+make_base_app = base_config.setup_tg_wsgi_app(load_environment)
13
+
14
+
15
+def make_app(global_conf, full_stack=True, **app_conf):
16
+    """
17
+    Set tracim up with the settings found in the PasteDeploy configuration
18
+    file used.
19
+    
20
+    :param global_conf: The global settings for tracim (those
21
+        defined under the ``[DEFAULT]`` section).
22
+    :type global_conf: dict
23
+    :param full_stack: Should the whole TG2 stack be set up?
24
+    :type full_stack: str or bool
25
+    :return: The tracim application with all the relevant middleware
26
+        loaded.
27
+    
28
+    This is the PasteDeploy factory for the tracim application.
29
+    
30
+    ``app_conf`` contains all the application-specific settings (those defined
31
+    under ``[app:main]``.
32
+    
33
+   
34
+    """
35
+    app = make_base_app(global_conf, full_stack=True, **app_conf)
36
+    
37
+    # Wrap your base TurboGears 2 application with custom middleware here
38
+    
39
+    return app

+ 432 - 0
tracim/tracim/controllers/__init__.py Просмотреть файл

@@ -0,0 +1,432 @@
1
+# -*- coding: utf-8 -*-
2
+"""Controllers for the tracim application."""
3
+from tracim.lib.workspace import WorkspaceApi
4
+
5
+import tg
6
+from tg import RestController
7
+from tg import tmpl_context
8
+from tg.i18n import ugettext as _
9
+
10
+from tracim.lib import CST
11
+from tracim.lib.base import BaseController
12
+from tracim.lib.base import logger
13
+
14
+from tracim.lib.predicates import current_user_is_contributor
15
+from tracim.lib.predicates import current_user_is_content_manager
16
+
17
+from tracim.model.auth import User
18
+from tracim.model.data import ActionDescription
19
+from tracim.model.data import BreadcrumbItem
20
+from tracim.model.data import PBNode
21
+from tracim.model.data import PBNodeType
22
+from tracim.model.data import Workspace
23
+
24
+from tracim.lib.content import ContentApi
25
+from tracim.lib.user import UserStaticApi
26
+
27
+from tracim.model.serializers import Context
28
+from tracim.model.serializers import DictLikeClass
29
+
30
+class TIMRestPathContextSetup(object):
31
+
32
+    @classmethod
33
+    def current_user(cls) -> User:
34
+        user = UserStaticApi.get_current_user()
35
+        tmpl_context.current_user_id = user.user_id if user else None
36
+        tmpl_context.current_user = user if user else None
37
+        return user
38
+
39
+
40
+    @classmethod
41
+    def current_workspace(cls) -> Workspace:
42
+        """
43
+        To be used by other conrtollers in order to setup workspace instance in the context
44
+        """
45
+        workspace_api = WorkspaceApi(tg.tmpl_context.current_user)
46
+        workspace_id = int(tg.request.controller_state.routing_args.get('workspace_id'))
47
+        workspace = workspace_api.get_one(workspace_id)
48
+
49
+        tg.tmpl_context.workspace_id = workspace_id
50
+        tg.tmpl_context.workspace = workspace
51
+
52
+        return workspace
53
+
54
+
55
+    @classmethod
56
+    def current_folder(cls) -> PBNode:
57
+        content_api = ContentApi(tg.tmpl_context.current_user)
58
+        folder_id = int(tg.request.controller_state.routing_args.get('folder_id'))
59
+        folder = content_api.get_one(folder_id, PBNodeType.Folder, tg.tmpl_context.workspace)
60
+
61
+        tg.tmpl_context.folder_id = folder_id
62
+        tg.tmpl_context.folder = folder
63
+
64
+        return folder
65
+
66
+
67
+    @classmethod
68
+    def current_folder(cls) -> PBNode:
69
+        content_api = ContentApi(tg.tmpl_context.current_user)
70
+        folder_id = int(tg.request.controller_state.routing_args.get('folder_id'))
71
+        folder = content_api.get_one(folder_id, PBNodeType.Folder, tg.tmpl_context.workspace)
72
+
73
+        tg.tmpl_context.folder_id = folder_id
74
+        tg.tmpl_context.folder = folder
75
+
76
+        return folder
77
+
78
+
79
+    @classmethod
80
+    def _current_item_manually(cls, item_id: int, item_type: str) -> PBNode:
81
+        # in case thread or page or other stuff is instanciated, then force
82
+        # the associated item to be available through generic name tmpl_context.item to be available
83
+        content_api = ContentApi(tg.tmpl_context.current_user)
84
+        item = content_api.get_one(item_id, item_type, tg.tmpl_context.workspace)
85
+
86
+        tg.tmpl_context.item_id = item.node_id
87
+        tg.tmpl_context.item = item
88
+
89
+        return item
90
+
91
+
92
+    @classmethod
93
+    def current_thread(cls) -> PBNode:
94
+        thread_id = int(tg.request.controller_state.routing_args.get('thread_id'))
95
+        thread = cls._current_item_manually(thread_id, PBNodeType.Thread)
96
+        tg.tmpl_context.thread_id = thread.node_id
97
+        tg.tmpl_context.thread = thread
98
+        return thread
99
+
100
+
101
+    @classmethod
102
+    def current_page(cls) -> PBNode:
103
+        page_id = int(tg.request.controller_state.routing_args.get('page_id'))
104
+        page = cls._current_item_manually(page_id, PBNodeType.Page)
105
+        tg.tmpl_context.page_id = page.node_id
106
+        tg.tmpl_context.page = page
107
+        return page
108
+
109
+
110
+class TIMRestController(RestController, BaseController):
111
+    """
112
+        Parent controller of most of tracim controlelrs.
113
+        It inserts the current user object into the tmpl_context var,
114
+        so that the object is available in any controller method
115
+    """
116
+
117
+    def _before(self, *args, **kw):
118
+        """
119
+        Instantiate the current workspace in tg.tmpl_context
120
+        :param args:
121
+        :param kw:
122
+        :return:
123
+        """
124
+        TIMRestPathContextSetup.current_user()
125
+
126
+
127
+class TIMRestControllerWithBreadcrumb(TIMRestController):
128
+
129
+    def get_breadcrumb(self, folder_id=None) -> [BreadcrumbItem]:
130
+        """
131
+        TODO - Remove this and factorize it with other get_breadcrumb_xxx methods
132
+        :param folder_id:
133
+        :return:
134
+        """
135
+        workspace = tmpl_context.workspace
136
+        workspace_id = tmpl_context.workspace_id
137
+        breadcrumb = []
138
+
139
+        breadcrumb.append(BreadcrumbItem(PBNodeType.icon(PBNodeType.FAKE_Dashboard), _('Workspaces'), tg.url('/workspaces')))
140
+        breadcrumb.append(BreadcrumbItem(PBNodeType.icon(PBNodeType.FAKE_Workspace), workspace.data_label, tg.url('/workspaces/{}'.format(workspace.workspace_id))))
141
+
142
+        content_api = ContentApi(tmpl_context.current_user)
143
+        if folder_id:
144
+            breadcrumb_folder_items = []
145
+            current_item = content_api.get_one(folder_id, PBNodeType.Any, workspace)
146
+            is_active = True
147
+
148
+            while current_item:
149
+                breadcrumb_item = BreadcrumbItem(PBNodeType.icon(current_item.node_type),
150
+                                                 current_item.data_label,
151
+                                                 tg.url('/workspaces/{}/folders/{}'.format(workspace_id, current_item.node_id)),
152
+                                                 is_active)
153
+                is_active = False # the first item is True, then all other are False => in the breadcrumb, only the last item is "active"
154
+                breadcrumb_folder_items.append(breadcrumb_item)
155
+                current_item = current_item.parent
156
+
157
+            for item in reversed(breadcrumb_folder_items):
158
+                breadcrumb.append(item)
159
+
160
+
161
+        return breadcrumb
162
+
163
+
164
+
165
+class TIMWorkspaceContentRestController(TIMRestControllerWithBreadcrumb):
166
+    """
167
+    This class is intended to be parent class of controllers managing routes like
168
+    /dashboard/workspaces/{}/folders/{}/someitems/{}
169
+    """
170
+    def _before(self, *args, **kw):
171
+        TIMRestPathContextSetup.current_user()
172
+        TIMRestPathContextSetup.current_workspace()
173
+        TIMRestPathContextSetup.current_folder()
174
+
175
+
176
+    @property
177
+    def _std_url(self):
178
+        raise NotImplementedError('You must implement this method in child controllers')
179
+        ##
180
+        # ## Example of result:
181
+        ## return tg.url('/dashboard/workspaces/{}/folders/{}/threads/{}')
182
+
183
+
184
+    @property
185
+    def _err_url(self):
186
+        raise NotImplementedError('You must implement this method in child controllers')
187
+        ##
188
+        # ## Example of result:
189
+        ## return tg.url('/dashboard/workspaces/{}/folders/{}/threads/{}')
190
+
191
+
192
+    def _parent_url(self):
193
+        raise NotImplementedError('You must implement this method in child controllers')
194
+        ##
195
+        # ## Example of result:
196
+        ## return tg.url('/dashboard/workspaces/{}/folders/{}')
197
+
198
+
199
+    @property
200
+    def _item_type(self):
201
+        raise NotImplementedError('You must implement this method in child controllers')
202
+
203
+
204
+    @property
205
+    def _item_type_label(self):
206
+        raise NotImplementedError('You must implement this method in child controllers')
207
+
208
+
209
+    @property
210
+    def _get_one_context(self) -> str:
211
+        """
212
+        This method should return the get_all context associated to the given Node type
213
+        example: CTX.THREAD
214
+        """
215
+        raise NotImplementedError('You must implement this method in child controllers')
216
+
217
+
218
+    @property
219
+    def _get_all_context(self) -> str:
220
+        """
221
+        This method should return the get_all context associated to the given Node type
222
+        example: CTX.THREADS
223
+        """
224
+        raise NotImplementedError('You must implement this method in child controllers')
225
+
226
+
227
+    @property
228
+    def _edit_template(self) -> str:
229
+        """
230
+        dotted path to the template used for edit form.
231
+        This path must include the engine (mako, genshi...)
232
+        like it is explained in the override_template() function documentation
233
+
234
+        example: mako:tracim.templates.user_workspace_folder_page_edit
235
+        """
236
+        raise NotImplementedError('You must implement this method in child controllers')
237
+
238
+    @tg.require(current_user_is_contributor())
239
+    @tg.expose()
240
+    def edit(self, item_id):
241
+        """
242
+        Show the edit form (do not really edit the data)
243
+
244
+        :param item_id:
245
+        :return:
246
+        """
247
+
248
+        # the follwing line allow to define the template to use in child classes.
249
+        tg.override_template(self.edit, self._edit_template)
250
+
251
+        item_id = int(item_id)
252
+        user = tmpl_context.current_user
253
+        workspace = tmpl_context.workspace
254
+
255
+        content_api = ContentApi(user)
256
+        item = content_api.get_one(item_id, self._item_type, workspace)
257
+
258
+        dictified_item = Context(self._get_one_context).toDict(item, 'item')
259
+        return DictLikeClass(result = dictified_item)
260
+
261
+
262
+    @tg.require(current_user_is_contributor())
263
+    @tg.expose()
264
+    def put(self, item_id, label='',content=''):
265
+        # TODO - SECURE THIS
266
+        workspace = tmpl_context.workspace
267
+
268
+        try:
269
+            api = ContentApi(tmpl_context.current_user)
270
+            item = api.get_one(int(item_id), self._item_type, workspace)
271
+            api.update_content(item, label, content)
272
+            api.save(item, ActionDescription.REVISION)
273
+
274
+            msg = _('{} updated').format(self._item_type_label)
275
+            tg.flash(msg, CST.STATUS_OK)
276
+            tg.redirect(self._std_url.format(tmpl_context.workspace_id, tmpl_context.folder_id, item.node_id))
277
+
278
+        except ValueError as e:
279
+            msg = _('{} not updated - error: {}').format(self._item_type_label, str(e))
280
+            tg.flash(msg, CST.STATUS_ERROR)
281
+            tg.redirect(self._err_url.format(tmpl_context.workspace_id, tmpl_context.folder_id, item_id))
282
+
283
+
284
+    @tg.require(current_user_is_contributor())
285
+    @tg.expose()
286
+    def put_status(self, item_id, status):
287
+        item_id = int(item_id)
288
+        content_api = ContentApi(tmpl_context.current_user)
289
+        item = content_api.get_one(item_id, self._item_type, tmpl_context.workspace)
290
+        try:
291
+            content_api.set_status(item, status)
292
+            content_api.save(item, ActionDescription.STATUS_UPDATE)
293
+            msg = _('{} status updated').format(self._item_type_label)
294
+            tg.flash(msg, CST.STATUS_OK)
295
+            tg.redirect(self._std_url.format(item.workspace_id, item.parent_id, item.node_id))
296
+        except ValueError as e:
297
+            msg = _('{} status not updated: {}').format(self._item_type_label, str(e))
298
+            tg.flash(msg, CST.STATUS_ERROR)
299
+            tg.redirect(self._err_url.format(item.workspace_id, item.parent_id, item.node_id))
300
+
301
+
302
+    def get_all_fake(self, context_workspace: Workspace, context_folder: PBNode) -> [PBNode]:
303
+        """
304
+        fake methods are used in other controllers in order to simulate a client/server api.
305
+        the "client" controller method will include the result into its own fake_api object
306
+        which will be available in the templates
307
+
308
+        :param context_workspace: the workspace which would be taken from tmpl_context if we were in the normal behavior
309
+        :return:
310
+        """
311
+        workspace = context_workspace
312
+        content_api = ContentApi(tmpl_context.current_user)
313
+        items = content_api.get_all(context_folder.node_id, self._item_type, workspace)
314
+
315
+        dictified_items = Context(self._get_all_context).toDict(items)
316
+        return DictLikeClass(result = dictified_items)
317
+
318
+
319
+    @tg.require(current_user_is_content_manager())
320
+    @tg.expose()
321
+    def put_archive(self, item_id):
322
+        # TODO - CHECK RIGHTS
323
+        item_id = int(item_id)
324
+        content_api = ContentApi(tmpl_context.current_user)
325
+        item = content_api.get_one(item_id, self._item_type, tmpl_context.workspace)
326
+        try:
327
+            next_url = self._parent_url.format(item.workspace_id, item.parent_id)
328
+            undo_url = self._std_url.format(item.workspace_id, item.parent_id, item.node_id)+'/put_archive_undo'
329
+            msg = _('{} archived. <a class="alert-link" href="{}">Cancel action</a>').format(self._item_type_label, undo_url)
330
+
331
+            content_api.archive(item)
332
+            content_api.save(item, ActionDescription.ARCHIVING)
333
+
334
+            tg.flash(msg, CST.STATUS_OK, no_escape=True) # TODO allow to come back
335
+            tg.redirect(next_url)
336
+        except ValueError as e:
337
+            next_url = self._std_url.format(item.workspace_id, item.parent_id, item.node_id)
338
+            msg = _('{} not archived: {}').format(self._item_type_label, str(e))
339
+            tg.flash(msg, CST.STATUS_ERROR)
340
+            tg.redirect(next_url)
341
+
342
+
343
+    @tg.require(current_user_is_content_manager())
344
+    @tg.expose()
345
+    def put_archive_undo(self, item_id):
346
+        # TODO - CHECK RIGHTS
347
+        item_id = int(item_id)
348
+        content_api = ContentApi(tmpl_context.current_user, True) # Here we do not filter archived items
349
+        item = content_api.get_one(item_id, self._item_type, tmpl_context.workspace)
350
+        try:
351
+            next_url = self._parent_url.format(item.workspace_id, item.parent_id)
352
+            msg = _('{} unarchived.').format(self._item_type_label)
353
+            content_api.unarchive(item)
354
+            content_api.save(item, ActionDescription.UNARCHIVING)
355
+
356
+            tg.flash(msg, CST.STATUS_OK)
357
+            tg.redirect(next_url )
358
+
359
+        except ValueError as e:
360
+            msg = _('{} not un-archived: {}').format(self._item_type_label, str(e))
361
+            next_url = self._std_url.format(item.workspace_id, item.parent_id, item.node_id)
362
+            # We still use std url because the item has not been archived
363
+            tg.flash(msg, CST.STATUS_ERROR)
364
+            tg.redirect(next_url)
365
+
366
+
367
+    @tg.require(current_user_is_content_manager())
368
+    @tg.expose()
369
+    def put_delete(self, item_id):
370
+        # TODO - CHECK RIGHTS
371
+        item_id = int(item_id)
372
+        content_api = ContentApi(tmpl_context.current_user)
373
+        item = content_api.get_one(item_id, self._item_type, tmpl_context.workspace)
374
+        try:
375
+
376
+            next_url = self._parent_url.format(item.workspace_id, item.parent_id)
377
+            undo_url = self._std_url.format(item.workspace_id, item.parent_id, item.node_id)+'/put_delete_undo'
378
+            msg = _('{} deleted. <a class="alert-link" href="{}">Cancel action</a>').format(self._item_type_label, undo_url)
379
+            content_api.delete(item)
380
+            content_api.save(item, ActionDescription.DELETION)
381
+
382
+            tg.flash(msg, CST.STATUS_OK, no_escape=True)
383
+            tg.redirect(next_url)
384
+
385
+        except ValueError as e:
386
+            back_url = self._std_url.format(item.workspace_id, item.parent_id, item.node_id)
387
+            msg = _('{} not deleted: {}').format(self._item_type_label, str(e))
388
+            tg.flash(msg, CST.STATUS_ERROR)
389
+            tg.redirect(back_url)
390
+
391
+
392
+    @tg.require(current_user_is_content_manager())
393
+    @tg.expose()
394
+    def put_delete_undo(self, item_id):
395
+        # TODO - CHECK RIGHTS
396
+
397
+        item_id = int(item_id)
398
+        content_api = ContentApi(tmpl_context.current_user, True, True) # Here we do not filter deleted items
399
+        item = content_api.get_one(item_id, self._item_type, tmpl_context.workspace)
400
+        try:
401
+            next_url = self._std_url.format(item.workspace_id, item.parent_id, item.node_id)
402
+            msg = _('{} undeleted.').format(self._item_type_label)
403
+            content_api.undelete(item)
404
+            content_api.save(item, ActionDescription.UNDELETION)
405
+
406
+            tg.flash(msg, CST.STATUS_OK)
407
+            tg.redirect(next_url)
408
+
409
+        except ValueError as e:
410
+            logger.debug(self, 'Exception: {}'.format(e.__str__))
411
+            back_url = self._parent_url.format(item.workspace_id, item.parent_id)
412
+            msg = _('{} not un-deleted: {}').format(self._item_type_label, str(e))
413
+            tg.flash(msg, CST.STATUS_ERROR)
414
+            tg.redirect(back_url)
415
+
416
+
417
+class StandardController(BaseController):
418
+
419
+    def _before(self, *args, **kw):
420
+        """
421
+        Instantiate the current workspace in tg.tmpl_context
422
+        :param args:
423
+        :param kw:
424
+        :return:
425
+        """
426
+
427
+        TIMRestPathContextSetup.current_user()
428
+
429
+    @classmethod
430
+    def current_item_id_key_in_context(self):
431
+        return ''
432
+

+ 19 - 0
tracim/tracim/controllers/admin/__init__.py Просмотреть файл

@@ -0,0 +1,19 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+from tg.i18n import lazy_ugettext as l_
4
+from tg.predicates import in_any_group
5
+from tg.predicates import in_group
6
+
7
+from tracim.controllers import StandardController
8
+from tracim.controllers.admin.workspace import WorkspaceRestController
9
+from tracim.controllers.admin.user import UserRestController
10
+
11
+from tracim.model.auth import Group
12
+
13
+class AdminController(StandardController):
14
+
15
+    allow_only = in_any_group(Group.TIM_MANAGER_GROUPNAME, Group.TIM_ADMIN_GROUPNAME)
16
+
17
+    # FIXME - Check rights
18
+    workspaces = WorkspaceRestController()
19
+    users = UserRestController()

+ 350 - 0
tracim/tracim/controllers/admin/user.py Просмотреть файл

@@ -0,0 +1,350 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+from tracim import model  as pm
4
+
5
+from sprox.tablebase import TableBase
6
+from sprox.formbase import EditableForm, AddRecordForm
7
+from sprox.fillerbase import TableFiller, EditFormFiller
8
+from tw2 import forms as tw2f
9
+import tg
10
+from tg import predicates
11
+from tg import tmpl_context
12
+from tg.i18n import ugettext as _, lazy_ugettext as l_
13
+
14
+from sprox.widgets import PropertyMultipleSelectField
15
+from sprox._compat import unicode_text
16
+
17
+from formencode import Schema
18
+from formencode.validators import FieldsMatch
19
+
20
+from tracim.controllers import TIMRestController
21
+from tracim.lib import CST
22
+from tracim.lib import helpers as h
23
+from tracim.lib.user import UserApi
24
+from tracim.lib.group import GroupApi
25
+from tracim.lib.user import UserStaticApi
26
+from tracim.lib.userworkspace import RoleApi
27
+from tracim.lib.workspace import WorkspaceApi
28
+
29
+from tracim.model import DBSession
30
+from tracim.model.auth import Group, User
31
+from tracim.model.serializers import Context, CTX, DictLikeClass
32
+
33
+class UserProfileAdminRestController(TIMRestController):
34
+    """
35
+     CRUD Controller allowing to manage groups of a user
36
+    """
37
+    allow_only = predicates.in_any_group(Group.TIM_ADMIN_GROUPNAME)
38
+
39
+    allowed_profiles = ['tracim-user', 'tracim-manager', 'tracim-admin']
40
+
41
+    def _before(self, *args, **kw):
42
+        """
43
+        Instantiate the current workspace in tg.tmpl_context
44
+        :param args:
45
+        :param kw:
46
+        :return:
47
+        """
48
+        super(self.__class__, self)._before(args, kw)
49
+
50
+        api = UserApi(tg.tmpl_context.current_user)
51
+        user_id = tg.request.controller_state.routing_args.get('user_id')
52
+        user = api.get_one(user_id)
53
+        tg.tmpl_context.user_id = user_id
54
+        tg.tmpl_context.user = user
55
+
56
+    @tg.expose()
57
+    def switch(self, new_role):
58
+        """
59
+        :param new_role: value should be 'tracim-user', 'tracim-manager' (allowed to create workspaces) or 'tracim-admin' (admin the whole system)
60
+        :return:
61
+        """
62
+        return self.put(new_role)
63
+
64
+    @tg.expose()
65
+    def put(self, new_profile):
66
+        # FIXME - Allow only self password or operation for managers
67
+        current_user = tmpl_context.current_user
68
+        user = tmpl_context.user
69
+
70
+        group_api = GroupApi(current_user)
71
+
72
+        if current_user.user_id==user.user_id:
73
+            tg.flash(_('You can\'t change your own profile'), CST.STATUS_ERROR)
74
+            tg.redirect(self.parent_controller.url())
75
+
76
+
77
+        redirect_url = self.parent_controller.url(skip_id=True)
78
+
79
+        if new_profile not in self.allowed_profiles:
80
+            tg.flash(_('Unknown profile'), CST.STATUS_ERROR)
81
+            tg.redirect(redirect_url)
82
+
83
+        pod_user_group = group_api.get_one(Group.TIM_USER)
84
+        pod_manager_group = group_api.get_one(Group.TIM_MANAGER)
85
+        pod_admin_group = group_api.get_one(Group.TIM_ADMIN)
86
+
87
+        flash_message = _('User updated.') # this is the default value ; should never appear
88
+
89
+        if new_profile=='tracim-user':
90
+            if pod_user_group not in user.groups:
91
+                user.groups.append(pod_user_group)
92
+
93
+            try:
94
+                user.groups.remove(pod_manager_group)
95
+            except:
96
+                pass
97
+
98
+            try:
99
+                user.groups.remove(pod_admin_group)
100
+            except:
101
+                pass
102
+
103
+            flash_message = _('User {} is now a basic user').format(user.get_display_name())
104
+
105
+        elif new_profile=='tracim-manager':
106
+            if pod_user_group not in user.groups:
107
+                user.groups.append(pod_user_group)
108
+            if pod_manager_group not in user.groups:
109
+                user.groups.append(pod_manager_group)
110
+
111
+            try:
112
+                user.groups.remove(pod_admin_group)
113
+            except:
114
+                pass
115
+
116
+            flash_message = _('User {} can now workspaces').format(user.get_display_name())
117
+
118
+
119
+        elif new_profile=='tracim-admin':
120
+            if pod_user_group not in user.groups:
121
+                user.groups.append(pod_user_group)
122
+            if pod_manager_group not in user.groups:
123
+                user.groups.append(pod_manager_group)
124
+            if pod_admin_group not in user.groups:
125
+                user.groups.append(pod_admin_group)
126
+
127
+            flash_message = _('User {} is now an administrator').format(user.get_display_name())
128
+
129
+        DBSession.flush()
130
+
131
+        tg.flash(flash_message, CST.STATUS_OK)
132
+        tg.redirect(redirect_url)
133
+
134
+    def get_edit(self):
135
+        pass
136
+
137
+    def get_all(self):
138
+        pass
139
+
140
+    def post(self):
141
+        pass
142
+
143
+
144
+
145
+class UserPasswordAdminRestController(TIMRestController):
146
+    """
147
+     CRUD Controller allowing to manage password of a given user
148
+    """
149
+
150
+    allow_only = predicates.in_any_group(Group.TIM_MANAGER_GROUPNAME, Group.TIM_ADMIN_GROUPNAME)
151
+
152
+    def _before(self, *args, **kw):
153
+        """
154
+        Instantiate the current workspace in tg.tmpl_context
155
+        :param args:
156
+        :param kw:
157
+        :return:
158
+        """
159
+        super(self.__class__, self)._before(args, kw)
160
+
161
+        api = UserApi(tg.tmpl_context.current_user)
162
+        user_id = tg.request.controller_state.routing_args.get('user_id')
163
+        user = api.get_one(user_id)
164
+        tg.tmpl_context.user_id = user_id
165
+        tg.tmpl_context.user = user
166
+
167
+
168
+    @tg.expose('tracim.templates.user_password_edit')
169
+    def edit(self):
170
+        current_user = tmpl_context.current_user
171
+        api = UserApi(current_user)
172
+        dictified_user = Context(CTX.USER).toDict(tmpl_context.user, 'user')
173
+        return DictLikeClass(result = dictified_user)
174
+
175
+    @tg.expose()
176
+    def put(self, current_password, new_password1, new_password2):
177
+        # FIXME - Manage
178
+        current_user = tmpl_context.current_user
179
+        user = tmpl_context.user
180
+
181
+        redirect_url = tg.lurl('/admin/users/{}'.format(user.user_id))
182
+        if current_user.user_id==user.user_id:
183
+            redirect_url = tg.lurl('/admin/users/me')
184
+
185
+        if not current_password or not new_password1 or not new_password2:
186
+            tg.flash(_('Empty password is not allowed.'), CST.STATUS_ERROR)
187
+            tg.redirect(redirect_url)
188
+
189
+        if user.validate_password(current_password) is False:
190
+            tg.flash(_('The current password you typed is wrong'))
191
+            tg.redirect(redirect_url)
192
+
193
+        if new_password1!=new_password2:
194
+            tg.flash(_('New passwords do not match.'), CST.STATUS_ERROR)
195
+            tg.redirect(redirect_url)
196
+
197
+        user.password = new_password1
198
+        pm.DBSession.flush()
199
+
200
+        tg.flash(_('Your password has been changed'), CST.STATUS_OK)
201
+        tg.redirect(redirect_url)
202
+
203
+
204
+class UserRestController(TIMRestController):
205
+    """
206
+     CRUD Controller allowing to manage Users
207
+    """
208
+    allow_only = predicates.in_any_group(Group.TIM_MANAGER_GROUPNAME, Group.TIM_ADMIN_GROUPNAME)
209
+
210
+    password = UserPasswordAdminRestController()
211
+    profile = UserProfileAdminRestController()
212
+
213
+    @classmethod
214
+    def current_item_id_key_in_context(cls):
215
+        return 'user_id'
216
+
217
+
218
+    @tg.require(predicates.in_group(Group.TIM_MANAGER_GROUPNAME))
219
+    @tg.expose('tracim.templates.user_get_all')
220
+    def get_all(self, *args, **kw):
221
+        current_user = tmpl_context.current_user
222
+        api = UserApi(current_user)
223
+
224
+        users = api.get_all()
225
+
226
+        current_user_content = Context(CTX.CURRENT_USER).toDict(current_user)
227
+        fake_api = Context(CTX.USERS).toDict({'current_user': current_user_content})
228
+
229
+        dictified_users = Context(CTX.USERS).toDict(users, 'users', 'user_nb')
230
+        return DictLikeClass(result = dictified_users, fake_api=fake_api)
231
+
232
+    @tg.require(predicates.in_group(Group.TIM_MANAGER_GROUPNAME))
233
+    @tg.expose()
234
+    def post(self, name, email, password, is_pod_manager='off', is_pod_admin='off'):
235
+        is_pod_manager = h.on_off_to_boolean(is_pod_manager)
236
+        is_pod_admin = h.on_off_to_boolean(is_pod_admin)
237
+        current_user = tmpl_context.current_user
238
+        current_user = User()
239
+        if current_user.profile.id < Group.TIM_ADMIN:
240
+            # A manager can't give large rights
241
+            is_pod_manager = False
242
+            is_pod_admin = False
243
+
244
+
245
+        api = UserApi(current_user)
246
+
247
+        if api.user_with_email_exists(email):
248
+            tg.flash(_('A user with email address "{}" already exists.').format(email), CST.STATUS_ERROR)
249
+            tg.redirect(self.url())
250
+
251
+        user = api.create_user()
252
+        user.email_address = email
253
+        user.display_name = name
254
+        if password:
255
+            user.password = password
256
+        api.save(user)
257
+
258
+        # Now add the user to related groups
259
+        group_api = GroupApi(current_user)
260
+        user.groups.append(group_api.get_one(Group.TIM_USER))
261
+        if is_pod_manager:
262
+            user.groups.append(group_api.get_one(Group.TIM_MANAGER))
263
+            if is_pod_admin:
264
+                user.groups.append(group_api.get_one(Group.TIM_ADMIN))
265
+
266
+        api.save(user)
267
+
268
+        tg.flash(_('User {} created.').format(user.get_display_name()), CST.STATUS_OK)
269
+        tg.redirect(self.url())
270
+
271
+
272
+    @tg.expose('tracim.templates.user_get_one')
273
+    def get_one(self, user_id):
274
+        current_user = tmpl_context.current_user
275
+        api = UserApi(current_user )
276
+        # role_api = RoleApi(tg.tmpl_context.current_user)
277
+        # user_api = UserApi(tg.tmpl_context.current_user)
278
+
279
+        user = api.get_one(user_id) # FIXME
280
+
281
+        dictified_user = Context(CTX.USER).toDict(user, 'user')
282
+        current_user_content = Context(CTX.CURRENT_USER).toDict(tmpl_context.current_user)
283
+        fake_api_content = DictLikeClass(current_user=current_user_content)
284
+        fake_api = Context(CTX.WORKSPACE).toDict(fake_api_content)
285
+
286
+        return DictLikeClass(result = dictified_user, fake_api=fake_api)
287
+
288
+
289
+    @tg.expose('tracim.templates.user_edit')
290
+    def edit(self, id):
291
+        current_user = tmpl_context.current_user
292
+        api = UserApi(current_user)
293
+
294
+        user = api.get_one(id)
295
+
296
+        dictified_user = Context(CTX.USER).toDict(user, 'user')
297
+        return DictLikeClass(result = dictified_user)
298
+
299
+    @tg.require(predicates.in_group(Group.TIM_MANAGER_GROUPNAME))
300
+    @tg.expose('tracim.templates.workspace_edit')
301
+    def put(self, user_id, name, email):
302
+        api = UserApi(tmpl_context.current_user)
303
+
304
+        user = api.get_one(int(user_id))
305
+        api.update(user, name, email, True)
306
+
307
+        tg.flash(_('User {} updated.').format(user.get_display_name()), CST.STATUS_OK)
308
+        tg.redirect(self.url())
309
+        return
310
+
311
+    @tg.require(predicates.in_group(Group.TIM_ADMIN_GROUPNAME))
312
+    @tg.expose()
313
+    def enable(self, id):
314
+        current_user = tmpl_context.current_user
315
+        api = UserApi(current_user)
316
+
317
+        user = api.get_one(id)
318
+        user.is_active = True
319
+        api.save(user)
320
+
321
+        tg.flash(_('User {} activated.').format(user.get_display_name()), CST.STATUS_OK)
322
+        tg.redirect(self.url())
323
+
324
+    @tg.require(predicates.in_group(Group.TIM_ADMIN_GROUPNAME))
325
+    @tg.expose()
326
+    def disable(self, id):
327
+        id = int(id)
328
+        current_user = tmpl_context.current_user
329
+        api = UserApi(current_user)
330
+
331
+        if current_user.user_id==id:
332
+            tg.flash(_('You can\'t de-activate your own account'), CST.STATUS_ERROR)
333
+        else:
334
+            user = api.get_one(id)
335
+            user.is_active = False
336
+            api.save(user)
337
+            tg.flash(_('User {} desactivated').format(user.get_display_name()), CST.STATUS_OK)
338
+
339
+        tg.redirect(self.url())
340
+
341
+
342
+    @tg.require(predicates.in_group(Group.TIM_USER_GROUPNAME))
343
+    @tg.expose('tracim.templates.user_profile')
344
+    def me(self):
345
+        current_user = tmpl_context.current_user
346
+
347
+        current_user_content = Context(CTX.CURRENT_USER).toDict(current_user)
348
+        fake_api = Context(CTX.ADMIN_WORKSPACE).toDict({'current_user': current_user_content})
349
+
350
+        return DictLikeClass(fake_api=fake_api)

+ 268 - 0
tracim/tracim/controllers/admin/workspace.py Просмотреть файл

@@ -0,0 +1,268 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+import tg
4
+from tg import tmpl_context
5
+from tg.i18n import ugettext as _
6
+
7
+from tracim.controllers import TIMRestController
8
+from tracim.controllers import TIMRestPathContextSetup
9
+
10
+
11
+from tracim.lib import CST
12
+from tracim.lib.base import BaseController
13
+from tracim.lib.user import UserApi
14
+from tracim.lib.userworkspace import RoleApi
15
+from tracim.lib.content import ContentApi
16
+from tracim.lib.workspace import WorkspaceApi
17
+
18
+from tracim.model.auth import Group
19
+from tracim.model.data import NodeTreeItem
20
+from tracim.model.data import PBNode
21
+from tracim.model.data import PBNodeType
22
+from tracim.model.data import Workspace
23
+from tracim.model.data import UserRoleInWorkspace
24
+
25
+from tracim.model.serializers import Context, CTX, DictLikeClass
26
+
27
+from tracim.controllers.content import UserWorkspaceFolderRestController
28
+
29
+
30
+
31
+
32
+class RoleInWorkspaceRestController(TIMRestController, BaseController):
33
+
34
+    def _before(self, *args, **kw):
35
+        """
36
+        Instantiate the current workspace in tg.tmpl_context
37
+        :param args:
38
+        :param kw:
39
+        :return:
40
+        """
41
+        super(self.__class__, self)._before(args, kw)
42
+
43
+        workspace_api = WorkspaceApi(tg.tmpl_context.current_user)
44
+        workspace_id = tg.request.controller_state.routing_args.get('workspace_id')
45
+        workspace = workspace_api.get_one(workspace_id)
46
+        tg.tmpl_context.workspace_id = workspace_id
47
+        tg.tmpl_context.workspace = workspace
48
+
49
+    @property
50
+    def _base_url(self):
51
+        return '/admin/workspaces/{}/roles'.format(tg.tmpl_context.workspace_id)
52
+
53
+    @tg.expose()
54
+    def get_one(self, user_id):
55
+        pass
56
+
57
+
58
+    def put(self, *args, **kw):
59
+        pass
60
+
61
+    @tg.expose()
62
+    def get_delete(self, user_id):
63
+        """
64
+        Shortcut to post_delete for convenience only.
65
+        This allow to put a link that allow to delete a user
66
+        (instead of generating a POST or DELETE http query
67
+        """
68
+        return self.post_delete(user_id)
69
+
70
+    @tg.expose()
71
+    def post_delete(self, user_id):
72
+        user_id = int(user_id)
73
+
74
+        role_api = RoleApi(tg.tmpl_context.current_user)
75
+        role = role_api.get_one(user_id, tg.tmpl_context.workspace_id)
76
+
77
+        username = role.user.get_display_name()
78
+        undo_url = self.url(user_id, 'undelete', dict(old_role=role.role))
79
+
80
+        if tmpl_context.current_user.profile.id<Group.TIM_ADMIN and tmpl_context.current_user.user_id==user_id:
81
+            tg.flash(_('You can\'t remove yourself from this workgroup'), CST.STATUS_ERROR)
82
+            tg.redirect(self.parent_controller.url(tg.tmpl_context.workspace_id))
83
+
84
+        role_api.delete_one(user_id, tg.tmpl_context.workspace_id, True)
85
+        tg.flash(_('User {} removed. You can <a class="alert-link" href="{}">restore it</a>').format(username, undo_url), CST.STATUS_OK, no_escape=True)
86
+        tg.redirect(self.parent_controller.url(tg.tmpl_context.workspace_id))
87
+
88
+
89
+    @tg.expose()
90
+    def undelete(self, user_id, old_role):
91
+        user_id = int(user_id)
92
+        role_id = int(old_role)
93
+        self._add_user_with_role(user_id, role_id, _('User {} restored in workspace {} as {}'))
94
+        tg.redirect(self.parent_controller.url(tg.tmpl_context.workspace_id))
95
+
96
+    @tg.expose()
97
+    def post(self, user_id, role_id):
98
+        user_id = int(user_id)
99
+        role_id = int(role_id)
100
+        self._add_user_with_role(user_id, role_id, _('User {} added to workspace {} as {}'))
101
+        tg.redirect(self.parent_controller.url(tg.tmpl_context.workspace_id))
102
+
103
+    def _add_user_with_role(self, user_id: int, role_id: int, flash_msg_template)-> UserRoleInWorkspace:
104
+        user_api = UserApi(tg.tmpl_context.current_user)
105
+        user = user_api.get_one(user_id)
106
+
107
+        role_api = RoleApi(tg.tmpl_context.current_user)
108
+        role = role_api.create_one(user, tg.tmpl_context.workspace, role_id)
109
+
110
+        tg.flash(flash_msg_template.format(
111
+            role.user.get_display_name(),
112
+            tg.tmpl_context.workspace.data_label,
113
+            role.role_as_label()), CST.STATUS_OK)
114
+
115
+        tg.redirect(self.parent_controller.url(tg.tmpl_context.workspace_id))
116
+
117
+
118
+    @tg.expose()
119
+    def change(self, user_id, new_role):
120
+        # FIXME CHECK RIGHTS
121
+        user_id = int(user_id)
122
+        new_role_id = int(new_role)
123
+        role_api = RoleApi(tg.tmpl_context.current_user)
124
+        role = role_api.get_one(user_id, tg.tmpl_context.workspace_id)
125
+
126
+        if tmpl_context.current_user.profile.id<Group.TIM_ADMIN and tmpl_context.current_user.user_id==user_id:
127
+            tg.flash(_('You can\'t change your own role'), CST.STATUS_ERROR)
128
+            tg.redirect(self.parent_controller.url(tg.tmpl_context.workspace_id))
129
+
130
+        if new_role_id not in role_api.ALL_ROLE_VALUES:
131
+            tg.flash(_('Unknown role'), CST.STATUS_ERROR)
132
+            tg.redirect(self.parent_controller.url(tg.tmpl_context.workspace_id))
133
+            return
134
+
135
+        if new_role_id==role.role:
136
+            tg.flash(_('No change found.'), CST.STATUS_ERROR)
137
+            tg.redirect(self.parent_controller.url(tg.tmpl_context.workspace_id))
138
+            return
139
+
140
+        role.role = new_role_id
141
+        role_api.save(role)
142
+        tg.redirect(self.parent_controller.url(tg.tmpl_context.workspace_id))
143
+
144
+
145
+class WorkspaceRestController(TIMRestController, BaseController):
146
+    """
147
+     CRUD Controller allowing to manage Workspaces
148
+
149
+     Reminder: a workspace is a group of users with associated rights
150
+     responsible / advanced contributor. / contributor / reader
151
+    """
152
+
153
+    @property
154
+    def _base_url(self):
155
+        return '/admin/workspaces'
156
+
157
+    @classmethod
158
+    def current_item_id_key_in_context(cls):
159
+        return 'workspace_id'
160
+
161
+    @tg.expose('tracim.templates.workspace_get_all')
162
+    def get_all(self, *args, **kw):
163
+
164
+        user = tmpl_context.current_user
165
+        workspace_api_controller = WorkspaceApi(user)
166
+
167
+        workspaces = workspace_api_controller.get_all()
168
+
169
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
170
+        fake_api = Context(CTX.ADMIN_WORKSPACE).toDict({'current_user': current_user_content})
171
+
172
+        dictified_workspaces = Context(CTX.ADMIN_WORKSPACES).toDict(workspaces, 'workspaces', 'workspace_nb')
173
+        return DictLikeClass(result = dictified_workspaces, fake_api=fake_api)
174
+
175
+    @tg.expose('tracim.templates.workspace_get_one')
176
+    def get_one(self, workspace_id):
177
+        user = tmpl_context.current_user
178
+        workspace_api_controller = WorkspaceApi(user)
179
+        role_api = RoleApi(tg.tmpl_context.current_user)
180
+        user_api = UserApi(tg.tmpl_context.current_user)
181
+
182
+        workspace = workspace_api_controller.get_one(workspace_id)
183
+        role_list = role_api.get_roles_for_select_field()
184
+        user_list = user_api.get_all()
185
+
186
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
187
+
188
+        dictified_workspace = Context(CTX.ADMIN_WORKSPACE).toDict(workspace, 'workspace')
189
+        fake_api_content = DictLikeClass(role_types=role_list, users=user_list, current_user=current_user_content)
190
+        fake_api = Context(CTX.ADMIN_WORKSPACE).toDict(fake_api_content)
191
+
192
+        return dict(result = dictified_workspace, fake_api = fake_api)
193
+
194
+    @tg.expose()
195
+    def post(self, name, description):
196
+        # FIXME - Check user profile
197
+        user = tmpl_context.current_user
198
+        workspace_api_controller = WorkspaceApi(user)
199
+
200
+        workspace = workspace_api_controller.create_workspace(name, description)
201
+
202
+        tg.flash(_('{} workspace created.').format(workspace.data_label), CST.STATUS_OK)
203
+        tg.redirect(self.url())
204
+        return
205
+
206
+    @tg.expose('tracim.templates.workspace_edit')
207
+    def edit(self, id):
208
+        user = tmpl_context.current_user
209
+        workspace_api_controller = WorkspaceApi(user)
210
+
211
+        workspace = workspace_api_controller.get_one(id)
212
+
213
+        dictified_workspace = Context(CTX.ADMIN_WORKSPACE).toDict(workspace, 'workspace')
214
+        return DictLikeClass(result = dictified_workspace)
215
+
216
+    @tg.expose('tracim.templates.workspace_edit')
217
+    def put(self, id, name, description):
218
+        user = tmpl_context.current_user
219
+        workspace_api_controller = WorkspaceApi(user)
220
+
221
+        workspace = workspace_api_controller.get_one(id)
222
+        workspace.data_label = name
223
+        workspace.data_comment = description
224
+        workspace_api_controller.save(workspace)
225
+
226
+        tg.flash(_('{} workspace updated.').format(workspace.data_label), CST.STATUS_OK)
227
+        tg.redirect(self.url(workspace.workspace_id))
228
+        return
229
+
230
+
231
+    @tg.expose()
232
+    def get_delete(self, workspace_id):
233
+        """
234
+        Shortcut to post_delete for convenience only.
235
+        This allow to put a link that allow to delete a user
236
+        (instead of generating a POST or DELETE http query
237
+        """
238
+        return self.post_delete(workspace_id)
239
+
240
+    @tg.expose()
241
+    def post_delete(self, workspace_id):
242
+        workspace_id = int(workspace_id)
243
+
244
+        api = WorkspaceApi(tg.tmpl_context.current_user)
245
+        workspace = api.get_one(workspace_id)
246
+        api.delete_one(workspace_id)
247
+
248
+        workspace_label = workspace.data_label
249
+        undo_url = self.url(workspace_id, self.restore.__name__)
250
+
251
+        tg.flash(_('{} workspace deleted. In case of error, you can <a class="alert-link" href="{}">restore it</a>.').format(workspace_label, undo_url), CST.STATUS_OK, no_escape=True)
252
+        tg.redirect(self.url())
253
+
254
+    @tg.expose()
255
+    def restore(self, workspace_id):
256
+        workspace_id = int(workspace_id)
257
+
258
+        api = WorkspaceApi(tg.tmpl_context.current_user)
259
+        workspace = api.restore_one(workspace_id, True)
260
+
261
+        workspace_label = workspace.data_label
262
+        undo_url = self.url(workspace_id, 'delete')
263
+
264
+        tg.flash(_('{} workspace restored.').format(workspace_label), CST.STATUS_OK)
265
+        tg.redirect(self.url())
266
+
267
+    roles = RoleInWorkspaceRestController()
268
+

+ 617 - 0
tracim/tracim/controllers/content.py Просмотреть файл

@@ -0,0 +1,617 @@
1
+# -*- coding: utf-8 -*-
2
+__author__ = 'damien'
3
+
4
+from cgi import FieldStorage
5
+
6
+import tg
7
+from tg import tmpl_context
8
+from tg.i18n import ugettext as _
9
+
10
+from tracim.controllers import TIMRestController
11
+from tracim.controllers import TIMRestPathContextSetup
12
+from tracim.controllers import TIMRestControllerWithBreadcrumb
13
+from tracim.controllers import TIMWorkspaceContentRestController
14
+
15
+from tracim.lib import CST
16
+from tracim.lib.base import BaseController
17
+from tracim.lib.content import ContentApi
18
+from tracim.lib.helpers import convert_id_into_instances
19
+from tracim.lib.predicates import current_user_is_reader
20
+from tracim.lib.predicates import current_user_is_contributor
21
+from tracim.lib.predicates import current_user_is_content_manager
22
+
23
+from tracim.model.serializers import Context, CTX, DictLikeClass
24
+from tracim.model.data import ActionDescription
25
+from tracim.model.data import PBNode
26
+from tracim.model.data import PBNodeType
27
+from tracim.model.data import Workspace
28
+
29
+
30
+class UserWorkspaceFolderThreadCommentRestController(TIMRestController):
31
+
32
+    def _before(self, *args, **kw):
33
+        TIMRestPathContextSetup.current_user()
34
+        TIMRestPathContextSetup.current_workspace()
35
+        TIMRestPathContextSetup.current_folder()
36
+        TIMRestPathContextSetup.current_thread()
37
+
38
+    @tg.require(current_user_is_contributor())
39
+    @tg.expose()
40
+    def post(self, content=''):
41
+        # TODO - SECURE THIS
42
+        workspace = tmpl_context.workspace
43
+        thread = tmpl_context.thread
44
+
45
+
46
+        api = ContentApi(tmpl_context.current_user)
47
+
48
+        comment = api.create_comment(workspace, thread, content, True)
49
+
50
+        next_url = tg.url('/workspaces/{}/folders/{}/threads/{}').format(tmpl_context.workspace_id,
51
+                                                                              tmpl_context.folder_id,
52
+                                                                              tmpl_context.thread_id)
53
+        tg.flash(_('Comment added'), CST.STATUS_OK)
54
+        tg.redirect(next_url)
55
+
56
+
57
+class UserWorkspaceFolderFileRestController(TIMWorkspaceContentRestController):
58
+    """
59
+    manage a path like this: /workspaces/1/folders/XXX/files/4
60
+    """
61
+
62
+    @property
63
+    def _std_url(self):
64
+        return tg.url('/workspaces/{}/folders/{}/files/{}')
65
+
66
+    @property
67
+    def _parent_url(self):
68
+        return tg.url('/workspaces/{}/folders/{}')
69
+
70
+    @property
71
+    def _item_type(self):
72
+        return PBNodeType.File
73
+
74
+    @property
75
+    def _item_type_label(self):
76
+        return _('File')
77
+
78
+    @property
79
+    def _get_one_context(self) -> str:
80
+        return CTX.FILE
81
+
82
+    @property
83
+    def _get_all_context(self) -> str:
84
+        return CTX.FILES
85
+
86
+    @property
87
+    def _edit_template(self) -> str:
88
+        return 'mako:tracim.templates.user_workspace_folder_file_edit'
89
+
90
+
91
+    @tg.require(current_user_is_reader())
92
+    @tg.expose('tracim.templates.user_workspace_folder_file_get_one')
93
+    def get_one(self, file_id, revision_id=None):
94
+        file_id = int(file_id)
95
+        user = tmpl_context.current_user
96
+        workspace = tmpl_context.workspace
97
+        workspace_id = tmpl_context.workspace_id
98
+
99
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
100
+        current_user_content.roles.sort(key=lambda role: role.workspace.name)
101
+
102
+        content_api = ContentApi(user)
103
+        if revision_id:
104
+            file = content_api.get_one_from_revision(file_id,  self._item_type, workspace, revision_id)
105
+        else:
106
+            file = content_api.get_one(file_id, self._item_type, workspace)
107
+
108
+        fake_api_breadcrumb = self.get_breadcrumb(file_id)
109
+        fake_api_content = DictLikeClass(breadcrumb=fake_api_breadcrumb, current_user=current_user_content)
110
+        fake_api = Context(CTX.FOLDER).toDict(fake_api_content)
111
+
112
+        dictified_file = Context(self._get_one_context).toDict(file, 'file')
113
+        return DictLikeClass(result = dictified_file, fake_api=fake_api)
114
+
115
+    @tg.require(current_user_is_reader())
116
+    @tg.expose()
117
+    def download(self, file_id, revision_id=None):
118
+        file_id = int(file_id)
119
+        revision_id = int(revision_id) if revision_id!='latest' else None
120
+        user = tmpl_context.current_user
121
+        workspace = tmpl_context.workspace
122
+
123
+        content_api = ContentApi(user)
124
+        revision_to_send = None
125
+        if revision_id:
126
+            item = content_api.get_one_from_revision(file_id,  self._item_type, workspace, revision_id)
127
+        else:
128
+            item = content_api.get_one(file_id, self._item_type, workspace)
129
+
130
+        revision_to_send = None
131
+        if item.revision_to_serialize<=0:
132
+            for revision in item.revisions:
133
+                if not revision_to_send:
134
+                    revision_to_send = revision
135
+
136
+                if revision.version_id>revision_to_send.version_id:
137
+                    revision_to_send = revision
138
+        else:
139
+            for revision in item.revisions:
140
+                if revision.version_id==item.revision_to_serialize:
141
+                    revision_to_send = revision
142
+                    break
143
+
144
+        content_type = 'application/x-download'
145
+        if revision_to_send.data_file_mime_type:
146
+            content_type = str(revision_to_send.data_file_mime_type)
147
+            tg.response.headers['Content-type'] = str(revision_to_send.data_file_mime_type)
148
+
149
+        tg.response.headers['Content-Type'] = content_type
150
+        tg.response.headers['Content-Disposition'] = str('attachment; filename="{}"'.format(revision_to_send.data_file_name))
151
+        return revision_to_send.data_file_content
152
+
153
+
154
+    def get_all_fake(self, context_workspace: Workspace, context_folder: PBNode):
155
+        """
156
+        fake methods are used in other controllers in order to simulate a client/server api.
157
+        the "client" controller method will include the result into its own fake_api object
158
+        which will be available in the templates
159
+
160
+        :param context_workspace: the workspace which would be taken from tmpl_context if we were in the normal behavior
161
+        :return:
162
+        """
163
+        workspace = context_workspace
164
+        content_api = ContentApi(tmpl_context.current_user)
165
+        files = content_api.get_all(context_folder.node_id, PBNodeType.File, workspace)
166
+
167
+        dictified_files = Context(CTX.FILES).toDict(files)
168
+        return DictLikeClass(result = dictified_files)
169
+
170
+
171
+    @tg.require(current_user_is_contributor())
172
+    @tg.expose()
173
+    def post(self, label='', file_data=None):
174
+        # TODO - SECURE THIS
175
+        workspace = tmpl_context.workspace
176
+
177
+        api = ContentApi(tmpl_context.current_user)
178
+
179
+        file = api.create(PBNodeType.File, workspace, tmpl_context.folder, label)
180
+        api.update_file_data(file, file_data.filename, file_data.type, file_data.file.read())
181
+        api.save(file, ActionDescription.CREATION)
182
+
183
+        tg.flash(_('File created'), CST.STATUS_OK)
184
+        tg.redirect(tg.url('/workspaces/{}/folders/{}/files/{}').format(tmpl_context.workspace_id, tmpl_context.folder_id, file.node_id))
185
+
186
+
187
+    @tg.require(current_user_is_contributor())
188
+    @tg.expose()
189
+    def put(self, item_id, file_data=None, comment=None, label=''):
190
+        # TODO - SECURE THIS
191
+        workspace = tmpl_context.workspace
192
+
193
+        try:
194
+            api = ContentApi(tmpl_context.current_user)
195
+            item = api.get_one(int(item_id), self._item_type, workspace)
196
+            if comment:
197
+                api.update_content(item, label if label else item.data_label, comment)
198
+
199
+            if isinstance(file_data, FieldStorage):
200
+                api.update_file_data(item, file_data.filename, file_data.type, file_data.file.read())
201
+
202
+            api.save(item, ActionDescription.REVISION)
203
+
204
+            msg = _('{} updated').format(self._item_type_label)
205
+            tg.flash(msg, CST.STATUS_OK)
206
+            tg.redirect(self._std_url.format(tmpl_context.workspace_id, tmpl_context.folder_id, item.node_id))
207
+
208
+        except ValueError as e:
209
+            msg = _('{} not updated - error: {}').format(self._item_type_label, str(e))
210
+            tg.flash(msg, CST.STATUS_ERROR)
211
+            tg.redirect(self._err_url.format(tmpl_context.workspace_id, tmpl_context.folder_id, item_id))
212
+
213
+
214
+
215
+class UserWorkspaceFolderPageRestController(TIMWorkspaceContentRestController):
216
+    """
217
+    manage a path like this: /workspaces/1/folders/XXX/pages/4
218
+    """
219
+
220
+    @property
221
+    def _std_url(self):
222
+        return tg.url('/workspaces/{}/folders/{}/pages/{}')
223
+
224
+    @property
225
+    def _parent_url(self):
226
+        return tg.url('/workspaces/{}/folders/{}')
227
+
228
+    @property
229
+    def _item_type(self):
230
+        return PBNodeType.Page
231
+
232
+    @property
233
+    def _item_type_label(self):
234
+        return _('Page')
235
+
236
+    @property
237
+    def _get_one_context(self) -> str:
238
+        return CTX.PAGE
239
+
240
+    @property
241
+    def _get_all_context(self) -> str:
242
+        return CTX.PAGES
243
+
244
+    @property
245
+    def _edit_template(self) -> str:
246
+        return 'mako:tracim.templates.user_workspace_folder_page_edit'
247
+
248
+
249
+    @tg.require(current_user_is_reader())
250
+    @tg.expose('tracim.templates.user_workspace_folder_page_get_one')
251
+    def get_one(self, page_id, revision_id=None):
252
+        page_id = int(page_id)
253
+        user = tmpl_context.current_user
254
+        workspace = tmpl_context.workspace
255
+        workspace_id = tmpl_context.workspace_id
256
+
257
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
258
+        current_user_content.roles.sort(key=lambda role: role.workspace.name)
259
+
260
+        content_api = ContentApi(user)
261
+        if revision_id:
262
+            page = content_api.get_one_from_revision(page_id, PBNodeType.Page, workspace, revision_id)
263
+        else:
264
+            page = content_api.get_one(page_id, PBNodeType.Page, workspace)
265
+
266
+        fake_api_breadcrumb = self.get_breadcrumb(page_id)
267
+        fake_api_content = DictLikeClass(breadcrumb=fake_api_breadcrumb, current_user=current_user_content)
268
+        fake_api = Context(CTX.FOLDER).toDict(fake_api_content)
269
+
270
+        dictified_page = Context(CTX.PAGE).toDict(page, 'page')
271
+        return DictLikeClass(result = dictified_page, fake_api=fake_api)
272
+
273
+
274
+    def get_all_fake(self, context_workspace: Workspace, context_folder: PBNode):
275
+        """
276
+        fake methods are used in other controllers in order to simulate a client/server api.
277
+        the "client" controller method will include the result into its own fake_api object
278
+        which will be available in the templates
279
+
280
+        :param context_workspace: the workspace which would be taken from tmpl_context if we were in the normal behavior
281
+        :return:
282
+        """
283
+        workspace = context_workspace
284
+        content_api = ContentApi(tmpl_context.current_user)
285
+        pages = content_api.get_all(context_folder.node_id, PBNodeType.Page, workspace)
286
+
287
+        dictified_pages = Context(CTX.PAGES).toDict(pages)
288
+        return DictLikeClass(result = dictified_pages)
289
+
290
+
291
+    @tg.require(current_user_is_contributor())
292
+    @tg.expose()
293
+    def post(self, label='', content=''):
294
+        # TODO - SECURE THIS
295
+        workspace = tmpl_context.workspace
296
+
297
+        api = ContentApi(tmpl_context.current_user)
298
+
299
+        page = api.create(PBNodeType.Page, workspace, tmpl_context.folder, label)
300
+        page.data_content = content
301
+        api.save(page, ActionDescription.CREATION)
302
+
303
+        tg.flash(_('Page created'), CST.STATUS_OK)
304
+        tg.redirect(tg.url('/workspaces/{}/folders/{}/pages/{}').format(tmpl_context.workspace_id, tmpl_context.folder_id, page.node_id))
305
+
306
+
307
+
308
+class UserWorkspaceFolderThreadRestController(TIMWorkspaceContentRestController):
309
+    """
310
+    manage a path like this: /workspaces/1/folders/XXX/pages/4
311
+    """
312
+    comments = UserWorkspaceFolderThreadCommentRestController()
313
+
314
+
315
+    def _before(self, *args, **kw):
316
+        TIMRestPathContextSetup.current_user()
317
+        TIMRestPathContextSetup.current_workspace()
318
+        TIMRestPathContextSetup.current_folder()
319
+
320
+
321
+    @property
322
+    def _std_url(self):
323
+        return tg.url('/workspaces/{}/folders/{}/threads/{}')
324
+
325
+
326
+    @property
327
+    def _err_url(self):
328
+        return self._std_url
329
+
330
+
331
+    @property
332
+    def _parent_url(self):
333
+        return tg.url('/workspaces/{}/folders/{}')
334
+
335
+
336
+    @property
337
+    def _item_type(self):
338
+        return PBNodeType.Thread
339
+
340
+
341
+    @property
342
+    def _item_type_label(self):
343
+        return _('Thread')
344
+
345
+
346
+    @property
347
+    def _get_one_context(self) -> str:
348
+        return CTX.THREAD
349
+
350
+
351
+    @property
352
+    def _get_all_context(self) -> str:
353
+        return CTX.THREADS
354
+
355
+
356
+    @property
357
+    def _edit_template(self) -> str:
358
+        return 'mako:tracim.templates.user_workspace_folder_thread_edit'
359
+
360
+
361
+    @tg.require(current_user_is_contributor())
362
+    @tg.expose()
363
+    def post(self, label='', content=''):
364
+        """
365
+        Creates a new thread. Actually, on POST, the content will be included in a user comment instead of being the thread description
366
+        :param label:
367
+        :param content:
368
+        :return:
369
+        """
370
+        # TODO - SECURE THIS
371
+        workspace = tmpl_context.workspace
372
+
373
+        api = ContentApi(tmpl_context.current_user)
374
+
375
+        thread = api.create(PBNodeType.Thread, workspace, tmpl_context.folder, label)
376
+        # FIXME - DO NOT DUPLCIATE FIRST MESSAGE thread.data_content = content
377
+        api.save(thread, ActionDescription.CREATION)
378
+
379
+        comment = api.create(PBNodeType.Comment, workspace, thread, label)
380
+        comment.data_label = ''
381
+        comment.data_content = content
382
+        api.save(comment, ActionDescription.COMMENT)
383
+
384
+        tg.flash(_('Thread created'), CST.STATUS_OK)
385
+        tg.redirect(self._std_url.format(tmpl_context.workspace_id, tmpl_context.folder_id, thread.node_id))
386
+
387
+
388
+    @tg.require(current_user_is_reader())
389
+    @tg.expose('tracim.templates.user_workspace_folder_thread_get_one')
390
+    def get_one(self, thread_id):
391
+        thread_id = int(thread_id)
392
+        user = tmpl_context.current_user
393
+        workspace = tmpl_context.workspace
394
+
395
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
396
+        current_user_content.roles.sort(key=lambda role: role.workspace.name)
397
+
398
+        content_api = ContentApi(user)
399
+        thread = content_api.get_one(thread_id, PBNodeType.Thread, workspace)
400
+
401
+        fake_api_breadcrumb = self.get_breadcrumb(thread_id)
402
+        fake_api_content = DictLikeClass(breadcrumb=fake_api_breadcrumb, current_user=current_user_content)
403
+        fake_api = Context(CTX.FOLDER).toDict(fake_api_content)
404
+
405
+        dictified_thread = Context(CTX.THREAD).toDict(thread, 'thread')
406
+        return DictLikeClass(result = dictified_thread, fake_api=fake_api)
407
+
408
+
409
+
410
+class ItemLocationController(TIMWorkspaceContentRestController, BaseController):
411
+
412
+    @tg.require(current_user_is_content_manager())
413
+    @tg.expose()
414
+    def get_one(self, item_id):
415
+        item_id = int(item_id)
416
+        user = tmpl_context.current_user
417
+        workspace = tmpl_context.workspace
418
+
419
+        item = ContentApi(user).get_one(item_id, PBNodeType.Any, workspace)
420
+        raise NotImplementedError
421
+        return item
422
+
423
+
424
+    @tg.require(current_user_is_content_manager())
425
+    @tg.expose('tracim.templates.item_location_edit')
426
+    def edit(self, item_id):
427
+        """
428
+        Show the edit form (do not really edit the data)
429
+
430
+        :param item_id:
431
+        :return:
432
+        """
433
+
434
+        item_id = int(item_id)
435
+        user = tmpl_context.current_user
436
+        workspace = tmpl_context.workspace
437
+
438
+        content_api = ContentApi(user)
439
+        item = content_api.get_one(item_id, PBNodeType.Any, workspace)
440
+
441
+        dictified_item = Context(CTX.DEFAULT).toDict(item, 'item')
442
+        return DictLikeClass(result = dictified_item)
443
+
444
+
445
+    @tg.require(current_user_is_content_manager())
446
+    @tg.expose()
447
+    def put(self, item_id, folder_id='0'):
448
+        """
449
+        :param item_id:
450
+        :param folder_id: id of the folder, in the 'workspace_14__content_1586' style
451
+        :return:
452
+        """
453
+        # TODO - SECURE THIS
454
+        workspace = tmpl_context.workspace
455
+        item_id = int(item_id)
456
+        new_workspace, new_parent = convert_id_into_instances(folder_id)
457
+
458
+        api = ContentApi(tmpl_context.current_user)
459
+        item = api.get_one(item_id, PBNodeType.Any, workspace)
460
+        api.move(item, new_parent)
461
+        next_url = self.parent_controller.url(item_id)
462
+        tg.flash(_('Item moved to {}').format(new_parent.data_label), CST.STATUS_OK)
463
+        tg.redirect(next_url)
464
+
465
+
466
+
467
+class UserWorkspaceFolderRestController(TIMRestControllerWithBreadcrumb):
468
+
469
+    location = ItemLocationController()
470
+
471
+    files = UserWorkspaceFolderFileRestController()
472
+    pages = UserWorkspaceFolderPageRestController()
473
+    threads = UserWorkspaceFolderThreadRestController()
474
+
475
+    def _before(self, *args, **kw):
476
+        TIMRestPathContextSetup.current_user()
477
+        TIMRestPathContextSetup.current_workspace()
478
+
479
+
480
+    @tg.require(current_user_is_content_manager())
481
+    @tg.expose('tracim.templates.folder_edit')
482
+    def edit(self, folder_id):
483
+        """
484
+        Show the edit form (do not really edit the data)
485
+
486
+        :param item_id:
487
+        :return:
488
+        """
489
+
490
+        folder_id = int(folder_id)
491
+        user = tmpl_context.current_user
492
+        workspace = tmpl_context.workspace
493
+
494
+        content_api = ContentApi(user)
495
+        folder = content_api.get_one(folder_id, PBNodeType.Folder, workspace)
496
+
497
+        dictified_folder = Context(CTX.FOLDER).toDict(folder, 'folder')
498
+        return DictLikeClass(result = dictified_folder)
499
+
500
+
501
+    @tg.require(current_user_is_reader())
502
+    @tg.expose('tracim.templates.user_workspace_folder_get_one')
503
+    def get_one(self, folder_id):
504
+        folder_id = int(folder_id)
505
+        user = tmpl_context.current_user
506
+        workspace = tmpl_context.workspace
507
+        workspace_id = tmpl_context.workspace_id
508
+
509
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
510
+        current_user_content.roles.sort(key=lambda role: role.workspace.name)
511
+
512
+        content_api = ContentApi(user)
513
+        folder = content_api.get_one(folder_id, PBNodeType.Folder, workspace)
514
+
515
+        fake_api_breadcrumb = self.get_breadcrumb(folder_id)
516
+        fake_api_subfolders = self.get_all_fake(workspace, folder.node_id).result
517
+        fake_api_pages = self.pages.get_all_fake(workspace, folder).result
518
+        fake_api_files = self.files.get_all_fake(workspace, folder).result
519
+        fake_api_threads = self.threads.get_all_fake(workspace, folder).result
520
+
521
+        fake_api_content = DictLikeClass(
522
+            current_user = current_user_content,
523
+            breadcrumb = fake_api_breadcrumb,
524
+            current_folder_subfolders = fake_api_subfolders,
525
+            current_folder_pages = fake_api_pages,
526
+            current_folder_files = fake_api_files,
527
+            current_folder_threads = fake_api_threads
528
+        )
529
+        fake_api = Context(CTX.FOLDER).toDict(fake_api_content)
530
+
531
+
532
+        dictified_folder = Context(CTX.FOLDER).toDict(folder, 'folder')
533
+        return DictLikeClass(result = dictified_folder, fake_api=fake_api)
534
+
535
+
536
+    def get_all_fake(self, context_workspace: Workspace, parent_id=None):
537
+        """
538
+        fake methods are used in other controllers in order to simulate a client/server api.
539
+        the "client" controller method will include the result into its own fake_api object
540
+        which will be available in the templates
541
+
542
+        :param context_workspace: the workspace which would be taken from tmpl_context if we were in the normal behavior
543
+        :return:
544
+        """
545
+        workspace = context_workspace
546
+        content_api = ContentApi(tmpl_context.current_user)
547
+        parent_folder = content_api.get_one(parent_id, PBNodeType.Folder)
548
+        folders = content_api.get_child_folders(parent_folder, workspace)
549
+
550
+        folders = Context(CTX.FOLDERS).toDict(folders)
551
+        return DictLikeClass(result = folders)
552
+
553
+
554
+    @tg.require(current_user_is_content_manager())
555
+    @tg.expose()
556
+    def post(self, label, parent_id=None, can_contain_folders=False, can_contain_threads=False, can_contain_files=False, can_contain_pages=False):
557
+        # TODO - SECURE THIS
558
+        workspace = tmpl_context.workspace
559
+
560
+        api = ContentApi(tmpl_context.current_user)
561
+
562
+        redirect_url_tmpl = '/workspaces/{}/folders/{}'
563
+        try:
564
+            parent = None
565
+            if parent_id:
566
+                parent = api.get_one(int(parent_id), PBNodeType.Folder, workspace)
567
+            folder = api.create(PBNodeType.Folder, workspace, parent, label)
568
+
569
+            subcontent = dict(
570
+                folder = True if can_contain_folders=='on' else False,
571
+                thread = True if can_contain_threads=='on' else False,
572
+                file = True if can_contain_files=='on' else False,
573
+                page = True if can_contain_pages=='on' else False
574
+            )
575
+            api.set_allowed_content(folder, subcontent)
576
+            api.save(folder)
577
+
578
+            tg.flash(_('Folder created'), CST.STATUS_OK)
579
+            tg.redirect(tg.url(redirect_url_tmpl.format(tmpl_context.workspace_id, folder.node_id)))
580
+        except Exception as e:
581
+            tg.flash(_('Folder not created: {}').format(e), CST.STATUS_ERROR)
582
+            if parent_id:
583
+                tg.redirect(tg.url(redirect_url_tmpl.format(tmpl_context.workspace_id, parent_id)))
584
+            else:
585
+                tg.redirect(tg.url('/workspaces/{}'.format(tmpl_context.workspace_id)))
586
+
587
+
588
+    @tg.require(current_user_is_content_manager())
589
+    @tg.expose()
590
+    def put(self, folder_id, label, can_contain_folders=False, can_contain_threads=False, can_contain_files=False, can_contain_pages=False):
591
+        # TODO - SECURE THIS
592
+        workspace = tmpl_context.workspace
593
+
594
+        api = ContentApi(tmpl_context.current_user)
595
+        next_url = ''
596
+
597
+        try:
598
+            folder = api.get_one(int(folder_id), PBNodeType.Folder, workspace)
599
+            subcontent = dict(
600
+                folder = True if can_contain_folders=='on' else False,
601
+                thread = True if can_contain_threads=='on' else False,
602
+                file = True if can_contain_files=='on' else False,
603
+                page = True if can_contain_pages=='on' else False
604
+            )
605
+            api.update_content(folder, label, folder.data_content)
606
+            api.set_allowed_content(folder, subcontent)
607
+            api.save(folder)
608
+
609
+            tg.flash(_('Folder updated'), CST.STATUS_OK)
610
+
611
+            next_url = self.url(folder.node_id)
612
+
613
+        except Exception as e:
614
+            tg.flash(_('Folder not updated: {}').format(str(e)), CST.STATUS_ERROR)
615
+            next_url = self.url(int(folder_id))
616
+
617
+        tg.redirect(next_url)

+ 22 - 0
tracim/tracim/controllers/controller.template Просмотреть файл

@@ -0,0 +1,22 @@
1
+# -*- coding: utf-8 -*-
2
+"""Sample controller module"""
3
+
4
+# turbogears imports
5
+from tg import expose
6
+
7
+#from tg import redirect, validate, flash
8
+#from tg.i18n import ugettext as _
9
+#from tg import predicates
10
+
11
+# project specific imports
12
+from pod.lib.base import BaseController
13
+#from pod.model import DBSession, metadata
14
+
15
+
16
+class SampleController(BaseController):
17
+    #Uncomment this line if your controller requires an authenticated user
18
+    #allow_only = predicates.not_anonymous()
19
+    
20
+    @expose('pod.templates.index')
21
+    def index(self):
22
+        return dict(page='index')

+ 62 - 0
tracim/tracim/controllers/debug.py Просмотреть файл

@@ -0,0 +1,62 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+from tg import expose, flash, require, url, lurl, request, redirect, tmpl_context
4
+from tracim.model.serializers import Context
5
+from tracim.model.serializers import CTX
6
+from tracim.model.serializers import DictLikeClass
7
+
8
+from tracim.controllers import StandardController
9
+
10
+from tg.predicates import Predicate
11
+
12
+class is_debug(Predicate):
13
+
14
+    def __init__(self, **kwargs):
15
+        super(is_debug, self).__init__(**kwargs)
16
+        self.message = 'Debug is not activated'
17
+
18
+    def evaluate(self, environ, credentials):
19
+        # Comment next line if you want to activate the debug controller
20
+        pass
21
+        self.unmet()
22
+
23
+class DebugController(StandardController):
24
+
25
+    @require(is_debug())
26
+    @expose('tracim.templates.debug.iconset')
27
+    def iconset_fa(self, **kw):
28
+        user = tmpl_context.current_user
29
+
30
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
31
+        fake_api = Context(CTX.CURRENT_USER).toDict({'current_user': current_user_content})
32
+
33
+        return DictLikeClass(fake_api=fake_api)
34
+
35
+    @require(is_debug())
36
+    @expose('tracim.templates.debug.iconset-tango')
37
+    def iconset_tango(self, **kw):
38
+        user = tmpl_context.current_user
39
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
40
+        fake_api = Context(CTX.CURRENT_USER).toDict({'current_user': current_user_content})
41
+
42
+        return DictLikeClass(fake_api=fake_api)
43
+
44
+    @require(is_debug())
45
+    @expose('tracim.templates.debug.environ')
46
+    def environ(self, **kw):
47
+        user = tmpl_context.current_user
48
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
49
+        fake_api = Context(CTX.CURRENT_USER).toDict({'current_user': current_user_content})
50
+
51
+        return DictLikeClass(fake_api=fake_api, environment=request.environ)
52
+
53
+
54
+    @require(is_debug())
55
+    @expose('tracim.templates.debug.identity')
56
+    def identity(self, **kw):
57
+        user = tmpl_context.current_user
58
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
59
+        fake_api = Context(CTX.CURRENT_USER).toDict({'current_user': current_user_content})
60
+
61
+        return DictLikeClass(fake_api=fake_api, identity=request.identity)
62
+

+ 51 - 0
tracim/tracim/controllers/error.py Просмотреть файл

@@ -0,0 +1,51 @@
1
+# -*- coding: utf-8 -*-
2
+"""Error controller"""
3
+
4
+from tg import expose
5
+from tg import override_template
6
+from tg import request
7
+from tg import tmpl_context
8
+
9
+from tracim.controllers import TIMRestPathContextSetup
10
+
11
+from tracim.model.serializers import Context
12
+from tracim.model.serializers import CTX
13
+from tracim.model.serializers import DictLikeClass
14
+
15
+__all__ = ['ErrorController']
16
+
17
+
18
+class ErrorController(object):
19
+    """
20
+    Generates error documents as and when they are required.
21
+
22
+    The ErrorDocuments middleware forwards to ErrorController when error
23
+    related status codes are returned from the application.
24
+
25
+    This behaviour can be altered by changing the parameters to the
26
+    ErrorDocuments middleware in your config/middleware.py file.
27
+    
28
+    """
29
+
30
+    @expose('tracim.templates.error')
31
+    def document(self, *args, **kwargs):
32
+        """Render the error document"""
33
+        resp = request.environ.get('pylons.original_response')
34
+        default_message = ('<p>We\'re sorry but we weren\'t able to process '
35
+                           ' this request.</p>')
36
+
37
+        values = DictLikeClass(
38
+            prefix=request.environ.get('SCRIPT_NAME', ''),
39
+            code=request.params.get('code', resp.status_int),
40
+            message=request.params.get('message', default_message))
41
+
42
+        if request.identity:
43
+            override_template(ErrorController.document, 'mako:tracim.templates.error_authenticated')
44
+
45
+            TIMRestPathContextSetup.current_user()
46
+            user = tmpl_context.current_user
47
+            current_user_content = Context(CTX.CURRENT_USER).toDict(user)
48
+            fake_api = Context(CTX.CURRENT_USER).toDict({'current_user': current_user_content})
49
+            values['fake_api'] = fake_api
50
+
51
+        return values

+ 31 - 0
tracim/tracim/controllers/help.py Просмотреть файл

@@ -0,0 +1,31 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+import tg
4
+from tg.decorators import override_template
5
+from tracim.lib.base import BaseController
6
+
7
+class HelpController(BaseController):
8
+    """
9
+    TODO Manage rights
10
+    """
11
+
12
+    @tg.expose('tracim.templates.help.page')
13
+    def index(self, help_page=''):
14
+        return dict()
15
+
16
+
17
+    @tg.expose('tracim.templates.help.page')
18
+    def page(self, help_page='', mode='normal'):
19
+        """
20
+
21
+        :param help_page: the mako help page file name (without the prefix page-)
22
+        :param mode: the mode to generate. Options are "normal" or "modal"
23
+        :return:
24
+        """
25
+        # FIXME - NOT REALLY SAFE BECAUSE SOME UNWANTED FILE MAY BE USED AS HELP PAGE
26
+        if help_page:
27
+            help_page_path = 'mako:tracim.templates.help.page-{}'.format(help_page)
28
+            print('TEMPLATE:', help_page_path)
29
+            override_template(HelpController.page, help_page_path)
30
+
31
+        return dict(mode=mode)

+ 117 - 0
tracim/tracim/controllers/root.py Просмотреть файл

@@ -0,0 +1,117 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+from tg import expose
4
+from tg import flash
5
+from tg import lurl
6
+from tg import predicates
7
+from tg import redirect
8
+from tg import request
9
+from tg import require
10
+from tg import tmpl_context
11
+from tg import url
12
+
13
+from tg.i18n import ugettext as _
14
+
15
+from tracim.lib.user import UserStaticApi
16
+
17
+from tracim.controllers import StandardController
18
+from tracim.controllers.admin import AdminController
19
+from tracim.controllers.debug import DebugController
20
+from tracim.controllers.error import ErrorController
21
+from tracim.controllers.help import HelpController
22
+from tracim.controllers.user import UserRestController
23
+from tracim.controllers.workspace import UserWorkspaceRestController
24
+
25
+from tracim.model.serializers import DictLikeClass
26
+from tracim.model.serializers import CTX
27
+from tracim.model.serializers import Context
28
+
29
+
30
+class RootController(StandardController):
31
+    """
32
+    The root controller for the tracim application.
33
+
34
+    All the other controllers and WSGI applications should be mounted on this
35
+    controller. For example::
36
+
37
+        panel = ControlPanelController()
38
+        another_app = AnotherWSGIApplication()
39
+
40
+    Keep in mind that WSGI applications shouldn't be mounted directly: They
41
+    must be wrapped around with :class:`tg.controllers.WSGIAppController`.
42
+    """
43
+
44
+    admin = AdminController()
45
+    help = HelpController()
46
+
47
+    debug = DebugController()
48
+    error = ErrorController()
49
+
50
+    # Rest controllers
51
+    workspaces = UserWorkspaceRestController()
52
+    user = UserRestController()
53
+
54
+    def _before(self, *args, **kw):
55
+        super(RootController, self)._before(args, kw)
56
+        tmpl_context.project_name = "tracim"
57
+
58
+
59
+    @expose('tracim.templates.index')
60
+    def index(self, came_from=lurl('/'), *args, **kwargs):
61
+        if request.identity:
62
+            redirect(self.url(None, self.dashboard.__name__))
63
+
64
+        login_counter = request.environ.get('repoze.who.logins', 0)
65
+        if login_counter > 0:
66
+            flash(_('Wrong credentials'), 'error')
67
+        return dict(page='login', login_counter=str(login_counter),
68
+                    came_from=came_from)
69
+
70
+    @require(predicates.is_anonymous())
71
+    @expose('tracim.templates.index')
72
+    def login(self, *args, **kwargs):
73
+        """
74
+        This method is there for backward compatibility only
75
+        This is related to the default TG2 authentication behavior...
76
+        Now the login form is included in home page
77
+        :param args:
78
+        :param kwargs:
79
+        :return:
80
+        """
81
+        return self.index(args, kwargs)
82
+
83
+
84
+    @expose()
85
+    def post_login(self, came_from=lurl('/')):
86
+        """
87
+        Redirect the user to the initially requested page on successful
88
+        authentication or redirect her back to the login page if login failed.
89
+        """
90
+        if not request.identity:
91
+            login_counter = request.environ.get('repoze.who.logins', 0) + 1
92
+            redirect(url('/login'),
93
+                params=dict(came_from=came_from, __logins=login_counter))
94
+
95
+        user = UserStaticApi.get_current_user()
96
+
97
+        flash(_('Welcome back, %s!') % user.get_display_name())
98
+        redirect(came_from)
99
+
100
+    @expose()
101
+    def post_logout(self, came_from=lurl('/')):
102
+        """
103
+        Redirect the user to the initially requested page on logout and say  goodbye as well.
104
+        """
105
+        flash(_('Successfully logged out. We hope to see you soon!'))
106
+        redirect(came_from)
107
+        
108
+
109
+    @require(predicates.not_anonymous())
110
+    @expose('tracim.templates.dashboard')
111
+    def dashboard(self):
112
+        user = tmpl_context.current_user
113
+
114
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
115
+        fake_api = Context(CTX.CURRENT_USER).toDict({'current_user': current_user_content})
116
+
117
+        return DictLikeClass(fake_api=fake_api)

+ 36 - 0
tracim/tracim/controllers/template.py Просмотреть файл

@@ -0,0 +1,36 @@
1
+# -*- coding: utf-8 -*-
2
+"""Fallback controller."""
3
+
4
+from tracim.lib.base import BaseController
5
+from tg import abort
6
+
7
+__all__ = ['TemplateController']
8
+
9
+
10
+class TemplateController(BaseController):
11
+    """
12
+    The fallback controller for tracim.
13
+    
14
+    By default, the final controller tried to fulfill the request
15
+    when no other routes match. It may be used to display a template
16
+    when all else fails, e.g.::
17
+    
18
+        def view(self, url):
19
+            return render('/%s' % url)
20
+    
21
+    Or if you're using Mako and want to explicitly send a 404 (Not
22
+    Found) response code when the requested template doesn't exist::
23
+    
24
+        import mako.exceptions
25
+        
26
+        def view(self, url):
27
+            try:
28
+                return render('/%s' % url)
29
+            except mako.exceptions.TopLevelLookupException:
30
+                abort(404)
31
+    
32
+    """
33
+    
34
+    def view(self, url):
35
+        """Abort the request with a 404 HTTP status code."""
36
+        abort(404)

+ 135 - 0
tracim/tracim/controllers/user.py Просмотреть файл

@@ -0,0 +1,135 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+from tracim import model  as pm
4
+
5
+from sprox.tablebase import TableBase
6
+from sprox.formbase import EditableForm, AddRecordForm
7
+from sprox.fillerbase import TableFiller, EditFormFiller
8
+from tw2 import forms as tw2f
9
+import tg
10
+from tg import tmpl_context
11
+from tg.i18n import ugettext as _, lazy_ugettext as l_
12
+
13
+from sprox.widgets import PropertyMultipleSelectField
14
+from sprox._compat import unicode_text
15
+
16
+from formencode import Schema
17
+from formencode.validators import FieldsMatch
18
+
19
+from tracim.controllers import TIMRestController
20
+from tracim.lib import helpers as h
21
+from tracim.lib.user import UserApi
22
+from tracim.lib.group import GroupApi
23
+from tracim.lib.user import UserStaticApi
24
+from tracim.lib.userworkspace import RoleApi
25
+from tracim.lib.workspace import WorkspaceApi
26
+
27
+from tracim.model import DBSession
28
+from tracim.model.auth import Group, User
29
+from tracim.model.serializers import Context, CTX, DictLikeClass
30
+
31
+class UserPasswordRestController(TIMRestController):
32
+    """
33
+     CRUD Controller allowing to manage password of a given user
34
+     TODO: do not duplicate this controller between admin and "standard user" interfaces
35
+    """
36
+
37
+    def _before(self, *args, **kw):
38
+        """
39
+        Instantiate the current workspace in tg.tmpl_context
40
+        :param args:
41
+        :param kw:
42
+        :return:
43
+        """
44
+        super(self.__class__, self)._before(args, kw)
45
+
46
+        api = UserApi(tg.tmpl_context.current_user)
47
+        user_id = tmpl_context.current_user_id
48
+        user = tmpl_context.current_user
49
+
50
+
51
+    @tg.expose('tracim.templates.user_password_edit_me')
52
+    def edit(self):
53
+        dictified_user = Context(CTX.USER).toDict(tmpl_context.current_user, 'user')
54
+        return DictLikeClass(result = dictified_user)
55
+
56
+    @tg.expose()
57
+    def put(self, current_password, new_password1, new_password2):
58
+        # FIXME - Allow only self password or operation for managers
59
+        current_user = tmpl_context.current_user
60
+
61
+        redirect_url = tg.lurl('/user/me')
62
+
63
+        if not current_password or not new_password1 or not new_password2:
64
+            tg.flash(_('Empty password is not allowed.'))
65
+            tg.redirect(redirect_url)
66
+
67
+        if current_user.validate_password(current_password) is False:
68
+            tg.flash(_('The current password you typed is wrong'))
69
+            tg.redirect(redirect_url)
70
+
71
+        if new_password1!=new_password2:
72
+            tg.flash(_('New passwords do not match.'))
73
+            tg.redirect(redirect_url)
74
+
75
+        current_user.password = new_password1
76
+        pm.DBSession.flush()
77
+
78
+        tg.flash(_('Your password has been changed'))
79
+        tg.redirect(redirect_url)
80
+
81
+
82
+class UserRestController(TIMRestController):
83
+    """
84
+     CRUD Controller allowing to manage Users
85
+    """
86
+
87
+    password = UserPasswordRestController()
88
+
89
+    @classmethod
90
+    def current_item_id_key_in_context(cls):
91
+        return 'user_id'
92
+
93
+    @tg.expose('tracim.templates.user_get_all')
94
+    def get_all(self, *args, **kw):
95
+        tg.redirect(self.url(None, 'me'))
96
+        pass
97
+
98
+    @tg.expose()
99
+    def post(self, name, email, password, is_pod_manager='off', is_pod_admin='off'):
100
+        pass
101
+
102
+    @tg.expose('tracim.templates.user_get_me')
103
+    def get_one(self, user_id):
104
+        user_id = tmpl_context.current_user.user_id
105
+
106
+        current_user = tmpl_context.current_user
107
+        assert user_id==current_user.user_id
108
+        api = UserApi(current_user)
109
+        dictified_user = Context(CTX.USER).toDict(current_user, 'user')
110
+        current_user_content = Context(CTX.CURRENT_USER).toDict(tmpl_context.current_user)
111
+        fake_api_content = DictLikeClass(current_user=current_user_content)
112
+        fake_api = Context(CTX.WORKSPACE).toDict(fake_api_content)
113
+
114
+        return DictLikeClass(result = dictified_user, fake_api=fake_api)
115
+
116
+    @tg.expose('tracim.templates.user_edit_me')
117
+    def edit(self, id):
118
+        id = tmpl_context.current_user.user_id
119
+        current_user = tmpl_context.current_user
120
+        assert id==current_user.user_id
121
+
122
+        dictified_user = Context(CTX.USER).toDict(current_user, 'user')
123
+        return DictLikeClass(result = dictified_user)
124
+
125
+    @tg.expose('tracim.templates.workspace_edit')
126
+    def put(self, user_id, name, email):
127
+        user_id = tmpl_context.current_user.user_id
128
+        current_user = tmpl_context.current_user
129
+        assert user_id==current_user.user_id
130
+
131
+        api = UserApi(tmpl_context.current_user)
132
+        api.update(current_user, name, email, True)
133
+        tg.flash(_('profile updated.'))
134
+        tg.redirect(self.url())
135
+        return

+ 183 - 0
tracim/tracim/controllers/workspace.py Просмотреть файл

@@ -0,0 +1,183 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+import tg
4
+from tg import tmpl_context
5
+from tg.i18n import ugettext as _
6
+
7
+from tracim.controllers import TIMRestController
8
+from tracim.controllers import TIMRestPathContextSetup
9
+
10
+
11
+from tracim.lib import CST
12
+from tracim.lib.helpers import convert_id_into_instances
13
+from tracim.lib.base import BaseController
14
+from tracim.lib.user import UserApi
15
+from tracim.lib.userworkspace import RoleApi
16
+from tracim.lib.content import ContentApi
17
+from tracim.lib.workspace import WorkspaceApi
18
+
19
+from tracim.model.data import NodeTreeItem
20
+from tracim.model.data import PBNode
21
+from tracim.model.data import PBNodeType
22
+from tracim.model.data import Workspace
23
+from tracim.model.data import UserRoleInWorkspace
24
+
25
+from tracim.model.serializers import Context, CTX, DictLikeClass
26
+
27
+from tracim.controllers.content import UserWorkspaceFolderRestController
28
+
29
+
30
+
31
+class UserWorkspaceRestController(TIMRestController):
32
+
33
+    folders = UserWorkspaceFolderRestController()
34
+
35
+    @property
36
+    def _base_url(self):
37
+        return '/dashboard/workspaces'
38
+
39
+    @classmethod
40
+    def current_item_id_key_in_context(cls) -> str:
41
+        return 'workspace_id'
42
+
43
+
44
+    @tg.expose('tracim.templates.user_workspace_get_all')
45
+    def get_all(self, *args, **kw):
46
+        user = tmpl_context.current_user
47
+
48
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
49
+        current_user_content.roles.sort(key=lambda role: role.workspace.name)
50
+
51
+        workspace_api = WorkspaceApi(user)
52
+        workspaces = workspace_api.get_all_for_user(user)
53
+        fake_api = Context(CTX.CURRENT_USER).toDict({'current_user': current_user_content})
54
+        dictified_workspaces = Context(CTX.ADMIN_WORKSPACES).toDict(workspaces, 'workspaces', 'workspace_nb')
55
+
56
+        return DictLikeClass(result = dictified_workspaces, fake_api=fake_api)
57
+
58
+    @tg.expose('tracim.templates.user_workspace_get_one')
59
+    def get_one(self, workspace_id):
60
+        user = tmpl_context.current_user
61
+
62
+        current_user_content = Context(CTX.CURRENT_USER).toDict(user)
63
+        current_user_content.roles.sort(key=lambda role: role.workspace.name)
64
+
65
+        workspace_api = WorkspaceApi(user)
66
+        workspace = workspace_api.get_one(workspace_id)
67
+
68
+        dictified_current_user = Context(CTX.CURRENT_USER).toDict(user)
69
+        dictified_folders = self.folders.get_all_fake(workspace).result
70
+        fake_api = DictLikeClass(current_user = dictified_current_user, current_workspace_folders = dictified_folders)
71
+        dictified_workspace = Context(CTX.WORKSPACE).toDict(workspace, 'workspace')
72
+
73
+        return DictLikeClass(result = dictified_workspace, fake_api=fake_api)
74
+
75
+
76
+    @tg.expose('json')
77
+    def treeview_root(self, id='#', current_id=None, all_workspaces=True, folder_allowed_content_types='', ignore_id=None):
78
+        all_workspaces = bool(int(all_workspaces))
79
+
80
+        if not current_id:
81
+            # Default case is to return list of workspaces
82
+            api = WorkspaceApi(tmpl_context.current_user)
83
+            workspaces = api.get_all_for_user(tmpl_context.current_user)
84
+            dictified_workspaces = Context(CTX.MENU_API).toDict(workspaces, 'd')
85
+            return dictified_workspaces
86
+
87
+
88
+        allowed_content_types = PBNodeType.allowed_types_from_str(folder_allowed_content_types)
89
+        ignored_item_ids = [int(ignore_id)] if ignore_id else []
90
+
91
+        # Now complex case: we must return a structured tree
92
+        # including the selected node, all parents (and their siblings)
93
+        workspace, content = convert_id_into_instances(current_id)
94
+
95
+        # This is the init of the recursive-like build of the tree
96
+        content_parent = content
97
+        tree_items = []
98
+
99
+        # The first step allow to load child of selected item
100
+        # (for example, when you select a folder in the windows explorer,
101
+        # then the selected folder is expanded by default)
102
+        content_api = ContentApi(tmpl_context.current_user)
103
+        child_folders = content_api.get_child_folders(content_parent, workspace, allowed_content_types, ignored_item_ids)
104
+
105
+        if len(child_folders)>0:
106
+            first_child = child_folders[0]
107
+            content_parent, tree_items = self._build_sibling_list_of_tree_items(workspace, first_child, tree_items, False, allowed_content_types, ignored_item_ids)
108
+
109
+        content_parent, tree_items = self._build_sibling_list_of_tree_items(workspace, content_parent, tree_items, True, allowed_content_types, ignored_item_ids)
110
+        while content_parent:
111
+            # Do the same for the parent level
112
+            content_parent, tree_items = self._build_sibling_list_of_tree_items(workspace, content_parent, tree_items)
113
+        # Now, we have a tree_items list that is the root folders list,
114
+        # so we now have to put it as a child of a list of workspaces
115
+        should_select_workspace = not content
116
+
117
+        full_tree = self._build_sibling_list_of_workspaces(workspace, tree_items, should_select_workspace, all_workspaces)
118
+
119
+        return Context(CTX.MENU_API_BUILD_FROM_TREE_ITEM).toDict(full_tree, 'd')
120
+
121
+
122
+    def _build_sibling_list_of_workspaces(self, workspace: Workspace, child_contents: [NodeTreeItem], select_active_workspace = False, all_workspaces = True) -> [NodeTreeItem]:
123
+
124
+        root_items = []
125
+        api = WorkspaceApi(tmpl_context.current_user)
126
+        workspaces = api.get_all_for_user(tmpl_context.current_user)
127
+
128
+        if not all_workspaces:
129
+            # Show only current workspace - this is used for "move item" screen
130
+            # which must not allow to move from a workspace to another
131
+            item = NodeTreeItem(workspace, child_contents)
132
+            item.is_selected = select_active_workspace
133
+            root_items.append(item)
134
+        else:
135
+            for workspace_cursor in workspaces:
136
+                item = None
137
+                if workspace_cursor==workspace:
138
+                    item = NodeTreeItem(workspace_cursor, child_contents)
139
+                else:
140
+                    item = NodeTreeItem(workspace_cursor, [])
141
+
142
+                item.is_selected = select_active_workspace and workspace_cursor==workspace
143
+
144
+                root_items.append(item)
145
+
146
+        return root_items
147
+
148
+    def _build_sibling_list_of_tree_items(self,
149
+                                          workspace: Workspace,
150
+                                          content: PBNode,
151
+                                          children: [NodeTreeItem],
152
+                                          select_active_node = False,
153
+                                          allowed_content_types: list = [],
154
+                                          ignored_item_ids: list = []) -> (PBNode, [NodeTreeItem]):
155
+        api = ContentApi(tmpl_context.current_user)
156
+        tree_items = []
157
+
158
+        parent = content.parent if content else None
159
+        for child in api.get_child_folders(parent, workspace, allowed_content_types, ignored_item_ids):
160
+            children_to_add = children if child==content else []
161
+            is_selected = True if select_active_node and child==content else False
162
+            new_item = NodeTreeItem(child, children_to_add, is_selected)
163
+            tree_items.append(new_item)
164
+
165
+
166
+        return parent, tree_items
167
+
168
+
169
+    @tg.expose('json')
170
+    def treeview_children(self, id='#', ignore_id=None):
171
+        """
172
+        id must be "#" or something like "workspace_3__document_8"
173
+        """
174
+        if id=='#':
175
+            return self.treeview_root()
176
+
177
+        ignore_item_ids = [int(ignore_id)] if ignore_id else []
178
+        workspace, content = convert_id_into_instances(id)
179
+        contents = ContentApi(tmpl_context.current_user).get_child_folders(content, workspace, [], ignore_item_ids)
180
+
181
+        dictified_contents = Context(CTX.MENU_API).toDict(contents, 'd')
182
+        return dictified_contents
183
+

Двоичные данные
tracim/tracim/i18n/fr/LC_MESSAGES/tracim.mo Просмотреть файл


Разница между файлами не показана из-за своего большого размера
+ 1822 - 0
tracim/tracim/i18n/fr/LC_MESSAGES/tracim.po


+ 24 - 0
tracim/tracim/i18n/ru/LC_MESSAGES/pboard.po Просмотреть файл

@@ -0,0 +1,24 @@
1
+# Russian translations for ${package}.
2
+# Copyright (C) 2008 ORGANIZATION
3
+# This file is distributed under the same license as the ${package} project.
4
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2008.
5
+#
6
+msgid ""
7
+msgstr ""
8
+"Project-Id-Version: ${package} 0.0.0\n"
9
+"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10
+"POT-Creation-Date: 2008-01-13 14:00+0200\n"
11
+"PO-Revision-Date: 2008-01-13 14:00+0200\n"
12
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+"Language-Team: ru <LL@li.org>\n"
14
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
15
+"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
16
+"MIME-Version: 1.0\n"
17
+"Content-Type: text/plain; charset=utf-8\n"
18
+"Content-Transfer-Encoding: 8bit\n"
19
+"Generated-By: Babel 0.9.1\n"
20
+
21
+#: ${package}/controllers/root.py:13
22
+msgid "Your application is now running"
23
+msgstr "Ваши приложение успешно запущено"
24
+

+ 37 - 0
tracim/tracim/lib/__init__.py Просмотреть файл

@@ -0,0 +1,37 @@
1
+# -*- coding: utf-8 -*-
2
+from tg.i18n import lazy_ugettext as l_
3
+
4
+class CST(object):
5
+    STATUS_ERROR = 'error'
6
+    STATUS_OK = 'ok'
7
+    STATUS_WARNING = 'warning'
8
+
9
+    class TREEVIEW_MENU(object):
10
+        """
11
+        Constant values used for tree view menu generation
12
+        """
13
+        ITEM_SEPARATOR = '__'
14
+        ID_SEPARATOR = '_'
15
+
16
+        ID_TEMPLATE__WORKSPACE_ONLY='workspace_{}__'
17
+        ID_TEMPLATE__FULL='workspace_{}__content_{}'
18
+
19
+
20
+#############
21
+#
22
+# HERE ARE static messages which allow to get translation for dates
23
+#
24
+# FIXME - MAKE months translatable
25
+# l_('January')
26
+# l_('February')
27
+# l_('March')
28
+# l_('April')
29
+# l_('May')
30
+# l_('June')
31
+# l_('July')
32
+# l_('August')
33
+# l_('September')
34
+# l_('October')
35
+# l_('November')
36
+# l_('December')
37
+

+ 51 - 0
tracim/tracim/lib/app_globals.py Просмотреть файл

@@ -0,0 +1,51 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+from markupsafe import escape_silent as escape
4
+
5
+import tg
6
+from tg.i18n import ugettext as _, lazy_ugettext as l_
7
+from tg.flash import TGFlash
8
+
9
+"""The application's Globals object"""
10
+
11
+__all__ = ['Globals']
12
+
13
+class Globals(object):
14
+    """Container for objects available throughout the life of the application.
15
+
16
+    One instance of Globals is created during application initialization and
17
+    is available during requests via the 'app_globals' variable.
18
+
19
+    """
20
+
21
+    def __init__(self):
22
+        """Do nothing, by default."""
23
+        pass
24
+
25
+    VERSION_NUMBER = '1.0.3'
26
+    LONG_DATE_FORMAT = '%A, the %d of %B %Y at %H:%M'
27
+    SHORT_DATE_FORMAT = l_('%B %d at %I:%M%p')
28
+
29
+
30
+class LinkReadyTGFlash(TGFlash):
31
+    """
32
+    This class inherits from (and is used in place of) TGFlash
33
+    in order to allow to include links in flash messages.
34
+    """
35
+
36
+    def _render_static_version(self, container_id):
37
+        payload = self.pop_payload()
38
+        if not payload:
39
+            return ''
40
+
41
+        # HACK - THIS IS A PATCH
42
+        if payload.get('no_escape'):
43
+            payload['message'] = payload.get('message','')
44
+        else:
45
+            payload['message'] = escape(payload.get('message',''))
46
+
47
+        payload['container_id'] = container_id
48
+        return self.static_template.substitute(payload)
49
+
50
+# Override the default flash with the Specific one
51
+tg.flash = LinkReadyTGFlash.create_global()

+ 65 - 0
tracim/tracim/lib/auth.py Просмотреть файл

@@ -0,0 +1,65 @@
1
+# -*- coding: utf-8 -*-
2
+"""Predicates for authorizations"""
3
+from tg.predicates import Predicate
4
+from tracim.model import DBSession as session
5
+from tracim.model.auth import Permission, User
6
+import logging as l
7
+
8
+DIRTY_canReadOrCanWriteSqlQuery = """
9
+SELECT
10
+    pgn.node_id
11
+FROM
12
+    pod_group_node AS pgn
13
+    JOIN pod_nodes AS pn ON pn.node_id = pgn.node_id AND pn.is_shared = 't'
14
+    JOIN pod_user_group AS pug ON pug.group_id = pgn.group_id
15
+    JOIN pod_user AS pu ON pug.user_id = pu.user_id
16
+WHERE
17
+    rights > :excluded_right_low_level
18
+    AND email_address = :email
19
+    AND pgn.node_id = :node_id
20
+UNION
21
+    SELECT
22
+        pnn.node_id
23
+    FROM
24
+        pod_nodes AS pnn,
25
+        pod_user AS puu
26
+    WHERE
27
+        pnn.node_id = :node_id
28
+        AND pnn.owner_id = puu.user_id
29
+        AND puu.email_address = :email
30
+"""
31
+
32
+class can_read(Predicate):
33
+    message = ""
34
+
35
+    def __init__(self, **kwargs):
36
+        pass
37
+
38
+    def evaluate(self, environ, credentials):
39
+        if 'node_id' in environ['webob.adhoc_attrs']['validation']['values']:
40
+            node_id = environ['webob.adhoc_attrs']['validation']['values']['node_id']
41
+            if node_id!=0:
42
+                has_right = session.execute(
43
+                    DIRTY_canReadOrCanWriteSqlQuery,
44
+                    {"email":credentials["repoze.who.userid"], "node_id":node_id, "excluded_right_low_level": 0}
45
+                )
46
+                if has_right.rowcount == 0 :
47
+                    l.info("User {} don't have read right on node {}".format(credentials["repoze.who.userid"], node_id))
48
+                    self.unmet()
49
+
50
+class can_write(Predicate):
51
+    message = ""
52
+
53
+    def __init__(self, **kwargs):
54
+        pass
55
+
56
+    def evaluate(self, environ, credentials):
57
+        node_id = environ['webob.adhoc_attrs']['validation']['values']['node_id']
58
+        if node_id!=0:
59
+            has_right = session.execute(
60
+                DIRTY_canReadOrCanWriteSqlQuery,
61
+                {"email":credentials["repoze.who.userid"], "node_id":node_id, "excluded_right_low_level": 1}
62
+            )
63
+            if has_right.rowcount == 0 :
64
+                self.unmet()
65
+

+ 137 - 0
tracim/tracim/lib/base.py Просмотреть файл

@@ -0,0 +1,137 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+"""The base Controller API."""
4
+
5
+import logging
6
+
7
+import tg
8
+from tg import TGController, RestController, tmpl_context, flash
9
+from tg.render import render
10
+from tg import request, redirect
11
+from tg.i18n import ugettext as _, ungettext
12
+
13
+__all__ = ['BaseController']
14
+
15
+
16
+class BaseController(TGController):
17
+    """
18
+    Base class for the controllers in the application.
19
+
20
+    Your web application should have one of these. The root of
21
+    your application is used to compute URLs used by your app.
22
+
23
+    """
24
+
25
+    def __call__(self, environ, context):
26
+        """Invoke the Controller"""
27
+        # TGController.__call__ dispatches to the Controller method
28
+        # the request is routed to.
29
+
30
+        request.identity = request.environ.get('repoze.who.identity')
31
+        tmpl_context.identity = request.identity
32
+        return TGController.__call__(self, environ, context)
33
+
34
+    @property
35
+    def parent_controller(self):
36
+        possible_parent = None
37
+        for path, controller in self.mount_steps:
38
+            if controller==self:
39
+                break
40
+            possible_parent = controller
41
+        return possible_parent
42
+
43
+    def url(self, id: int=None, subpath: str='', params:dict=None, skip_id=False) -> str:
44
+        """
45
+        burl means 'base url'
46
+        return a standard REST URL for list or one item.
47
+        If your mount point is /someitems, then this will return /someitems or /someitems/4 if id not None
48
+        if subpath is given, then it will be added at the end, eg /someitems/subpath or /someitems/4/subpath
49
+        :param id:
50
+        :param subpath: path to be concatenated after the base url
51
+        :param params: url parameters given as dict
52
+        :param skip_id: by default, the method tris to find an item in tmpl_context (and will return the related url).
53
+            If skip_id is True, then force to return default url (with no specific content)
54
+        :return:
55
+        """
56
+
57
+        url = ''
58
+
59
+        for step in self.mount_steps:
60
+            path = step[0]
61
+            controller = step[1]
62
+            url = '/'.join([url.rstrip('/'), path.rstrip('/')]) # we always remove trailing slash
63
+
64
+            logger.debug(self, ' Looking for item related to controller {} [type: {}]'.format(path, controller.__class__))
65
+
66
+            if not skip_id:
67
+                if id and self==controller:
68
+                    url = '/'.join([url, str(id)])
69
+                elif controller.current_item_id():
70
+                    url = '/'.join([url, '{}'.format(controller.current_item_id())])
71
+
72
+        if subpath:
73
+            url = '/'.join([url, subpath])
74
+
75
+        return tg.url(url, params)
76
+
77
+    @classmethod
78
+    def current_item_id_key_in_context(cls) -> str:
79
+        """
80
+        :return: the key name for getting item from tmpl_context.
81
+        """
82
+        raise NotImplementedError('This method must be implemented in sub-classes.')
83
+
84
+    @classmethod
85
+    def current_item_id(cls) -> int:
86
+        """
87
+        This method is to be implemented in child classes.
88
+        It should return the id of the item related to the current REST controller in case of a REST controller or None
89
+        example:
90
+
91
+        WorkspaceController should return the current workspace id (if there is one) according to the url (eg if the url is /user/workspace/4/members, then it should return 4
92
+
93
+        The implementation is to find the item in the current context through tmpl_context.
94
+
95
+        if the id parameter is given, then force to use this id (otherwise, search in tmpl_context
96
+        :param id:
97
+        :return:
98
+        """
99
+        print('***********************************')
100
+        print("searching for an id")
101
+        print(cls)
102
+        print(cls)
103
+        return getattr(tmpl_context, cls.current_item_id_key_in_context(), '')
104
+
105
+    def back_with_error(self, message):
106
+        flash(message)
107
+        redirect(request.headers['Referer'])
108
+
109
+def current_user():
110
+    return request.environ.get('repoze.who.identity')['user']
111
+
112
+
113
+class Logger(object):
114
+    TPL = '[{cls}] {msg}'
115
+    def __init__(self, logger_name):
116
+        self._name = logger_name
117
+        self._logger = logging.getLogger(self._name)
118
+
119
+    def _txt(self, instance_or_class):
120
+        if instance_or_class.__class__.__name__=='type':
121
+            return instance_or_class.__name__
122
+        else:
123
+            return instance_or_class.__class__.__name__
124
+
125
+    def debug(self, instance_or_class, message):
126
+        self._logger.debug(Logger.TPL.format(cls=self._txt(instance_or_class), msg=message))
127
+
128
+    def error(self, instance_or_class, message):
129
+        self._logger.error(Logger.TPL.format(cls=self._txt(instance_or_class), msg=message))
130
+
131
+    def info(self, instance_or_class, message):
132
+        self._logger.info(Logger.TPL.format(cls=self._txt(instance_or_class), msg=message))
133
+
134
+    def warning(self, instance_or_class, message):
135
+        self._logger.warning(Logger.TPL.format(cls=self._txt(instance_or_class), msg=message))
136
+
137
+logger = Logger('tracim')

+ 230 - 0
tracim/tracim/lib/content.py Просмотреть файл

@@ -0,0 +1,230 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+__author__ = 'damien'
4
+
5
+import tg
6
+
7
+from sqlalchemy.orm.attributes import get_history
8
+from tracim.model import DBSession
9
+from tracim.model.auth import User
10
+from tracim.model.data import ContentStatus, ContentRevisionRO, ActionDescription
11
+from tracim.model.data import PBNode
12
+from tracim.model.data import PBNodeType
13
+from tracim.model.data import Workspace
14
+
15
+class ContentApi(object):
16
+
17
+    def __init__(self, current_user: User, show_archived=False, show_deleted=False):
18
+        self._user = current_user
19
+        self._show_archived = show_archived
20
+        self._show_deleted = show_deleted
21
+
22
+    def _base_query(self, workspace: Workspace=None):
23
+        result = DBSession.query(PBNode)
24
+        if workspace:
25
+            result = result.filter(PBNode.workspace_id==workspace.workspace_id)
26
+
27
+        if not self._show_deleted:
28
+            result = result.filter(PBNode.is_deleted==False)
29
+
30
+        if not self._show_archived:
31
+            result = result.filter(PBNode.is_archived==False)
32
+
33
+        return result
34
+
35
+    def get_child_folders(self, parent: PBNode=None, workspace: Workspace=None, filter_by_allowed_content_types: list=[], removed_item_ids: list=[]) -> [PBNode]:
36
+        # assert parent is None or isinstance(parent, PBNode) # DYN_REMOVE
37
+        # assert workspace is None or isinstance(workspace, Workspace) # DYN_REMOVE
38
+
39
+        parent_id = parent.node_id if parent else None
40
+        folders = self._base_query(workspace).\
41
+            filter(PBNode.parent_id==parent_id).\
42
+            filter(PBNode.node_type==PBNodeType.Folder).\
43
+            filter(PBNode.node_id.notin_(removed_item_ids)).\
44
+            all()
45
+
46
+        if not filter_by_allowed_content_types or len(filter_by_allowed_content_types)<=0:
47
+            return folders
48
+
49
+        # Now, the case is to filter folders by the content that they are allowed to contain
50
+        result = []
51
+        for folder in folders:
52
+            for allowed_content_type in filter_by_allowed_content_types:
53
+                print('ALLOWED = ', filter_by_allowed_content_types)
54
+                print('CONTENT = ', folder.properties['allowed_content'])
55
+                # exit()
56
+                if folder.properties['allowed_content'][allowed_content_type]==True:
57
+                    result.append(folder)
58
+
59
+        return result
60
+
61
+    def create(self, content_type: str, workspace: Workspace=None, parent: PBNode=None, label:str ='', do_save=False) -> PBNode:
62
+        assert content_type in PBNodeType.allowed_types()
63
+        content = PBNode()
64
+        content.owner = self._user
65
+        content.parent = parent
66
+        content.workspace = workspace
67
+        content.node_type = content_type
68
+        content.data_label = label
69
+        content.last_action = ActionDescription.CREATION
70
+
71
+        if do_save:
72
+            self.save(content)
73
+        return content
74
+
75
+
76
+    def create_comment(self, workspace: Workspace=None, parent: PBNode=None, content:str ='', do_save=False) -> PBNode:
77
+        assert parent  and parent.node_type!=PBNodeType.Folder
78
+        item = PBNode()
79
+        item.owner = self._user
80
+        item.parent = parent
81
+        item.workspace = workspace
82
+        item.node_type = PBNodeType.Comment
83
+        item.data_content = content
84
+        item.data_label = ''
85
+        item.last_action = ActionDescription.COMMENT
86
+
87
+        if do_save:
88
+            self.save(item)
89
+        return content
90
+
91
+
92
+    def get_one_from_revision(self, content_id: int, content_type: str, workspace: Workspace=None, revision_id=None) -> PBNode:
93
+        """
94
+        This method is a hack to convert a node revision item into a node
95
+        :param content_id:
96
+        :param content_type:
97
+        :param workspace:
98
+        :param revision_id:
99
+        :return:
100
+        """
101
+
102
+        content = self.get_one(content_id, content_type, workspace)
103
+        revision = DBSession.query(ContentRevisionRO).filter(ContentRevisionRO.version_id==revision_id).one()
104
+
105
+        if revision.node_id==content.node_id:
106
+            content.revision_to_serialize = revision.version_id
107
+        else:
108
+            raise ValueError('Revision not found for given content')
109
+
110
+        return content
111
+
112
+    def get_one(self, content_id: int, content_type: str, workspace: Workspace=None) -> PBNode:
113
+        assert content_id is None or isinstance(content_id, int) # DYN_REMOVE
114
+        assert content_type is not None # DYN_REMOVE
115
+        assert isinstance(content_type, str) # DYN_REMOVE
116
+
117
+        if not content_id:
118
+            return
119
+
120
+        if content_type==PBNodeType.Any:
121
+            return self._base_query(workspace).\
122
+                filter(PBNode.node_id==content_id).\
123
+                one()
124
+
125
+        return self._base_query(workspace).\
126
+            filter(PBNode.node_id==content_id).\
127
+            filter(PBNode.node_type==content_type).\
128
+            one()
129
+
130
+    def get_all(self, parent_id: int, content_type: str, workspace: Workspace=None) -> PBNode:
131
+        assert parent_id is None or isinstance(parent_id, int) # DYN_REMOVE
132
+        assert content_type is not None # DYN_REMOVE
133
+        assert isinstance(content_type, str) # DYN_REMOVE
134
+
135
+        if not parent_id:
136
+            return
137
+
138
+        return self._base_query(workspace).\
139
+            filter(PBNode.parent_id==parent_id).\
140
+            filter(PBNode.node_type==content_type).\
141
+            all()
142
+
143
+    def set_allowed_content(self, folder: PBNode, allowed_content_dict:dict):
144
+        """
145
+        :param folder: the given folder instance
146
+        :param allowed_content_dict: must be something like this:
147
+            dict(
148
+                folder = True
149
+                thread = True,
150
+                file = False,
151
+                page = True
152
+            )
153
+        :return:
154
+        """
155
+        assert folder.node_type==PBNodeType.Folder
156
+        assert 'file' in allowed_content_dict.keys()
157
+        assert 'folder' in allowed_content_dict.keys()
158
+        assert 'page' in allowed_content_dict.keys()
159
+        assert 'thread' in allowed_content_dict.keys()
160
+
161
+        properties = dict(allowed_content = allowed_content_dict)
162
+        folder.properties = properties
163
+
164
+
165
+    def set_status(self, content: PBNode, new_status: str):
166
+        if new_status in ContentStatus.allowed_values():
167
+            content.node_status = new_status
168
+            content.last_action = ActionDescription.STATUS_UPDATE
169
+        else:
170
+            raise ValueError('The given value {} is not allowed'.format(new_status))
171
+
172
+
173
+    def move(self, item: PBNode, new_parent: PBNode, must_stay_in_same_workspace:bool=True):
174
+        if must_stay_in_same_workspace:
175
+            if new_parent and new_parent.workspace_id!=item.workspace_id:
176
+                raise ValueError('the item should stay in the same workspace')
177
+
178
+        item.parent = new_parent
179
+        item.last_action = ActionDescription.EDITION
180
+
181
+
182
+    def update_content(self, item: PBNode, new_label: str, new_content: str) -> PBNode:
183
+        item.data_label = new_label
184
+        item.data_content = new_content # TODO: convert urls into links
185
+        item.last_action = ActionDescription.EDITION
186
+        return item
187
+
188
+    def update_file_data(self, item: PBNode, new_filename: str, new_mimetype: str, new_file_content) -> PBNode:
189
+        item.data_file_name = new_filename
190
+        item.data_file_mime_type = new_mimetype
191
+        item.data_file_content = new_file_content
192
+        return item
193
+
194
+    def archive(self, content: PBNode):
195
+        content.is_archived = True
196
+        content.last_action = ActionDescription.ARCHIVING
197
+
198
+    def unarchive(self, content: PBNode):
199
+        content.is_archived = False
200
+        content.last_action = ActionDescription.UNARCHIVING
201
+
202
+
203
+    def delete(self, content: PBNode):
204
+        content.is_deleted = True
205
+        content.last_action = ActionDescription.DELETION
206
+
207
+    def undelete(self, content: PBNode):
208
+        content.is_deleted = False
209
+        content.last_action = ActionDescription.UNDELETION
210
+
211
+    def save(self, content: PBNode, action_description: str=None, do_flush=True):
212
+        """
213
+        Save an object, flush the session and set the last_action property
214
+        :param content:
215
+        :param action_description:
216
+        :return:
217
+        """
218
+        assert action_description is None or action_description in ActionDescription.allowed_values()
219
+
220
+        if not action_description:
221
+            # See if the last action has been modified
222
+            if content.last_action==None or len(get_history(content, 'last_action'))<=0:
223
+                # The action has not been modified, so we set it to default edition
224
+                action_description = ActionDescription.EDITION
225
+
226
+        content.last_action = action_description
227
+
228
+        if do_flush:
229
+            DBSession.flush()
230
+

+ 432 - 0
tracim/tracim/lib/dbapi.py Просмотреть файл

@@ -0,0 +1,432 @@
1
+# -*- coding: utf-8 -*-
2
+"""
3
+"""
4
+import os
5
+from datetime import datetime
6
+from hashlib import sha256
7
+
8
+from sqlalchemy import Table, ForeignKey, Column
9
+from sqlalchemy.types import Unicode, Integer, DateTime, Text
10
+from sqlalchemy.orm import relation, synonym
11
+from sqlalchemy.orm import joinedload_all
12
+import sqlalchemy.orm as sqlao
13
+import sqlalchemy as sqla
14
+
15
+from tracim.model import data as pbmd
16
+from tracim.model import auth as pbma
17
+import tracim.model as pbm
18
+
19
+from tracim.model.auth import User, Group
20
+
21
+import tg
22
+
23
+FIXME_ERROR_CODE=-1
24
+
25
+class PODUserFilteredApiController(object):
26
+  
27
+  def __init__(self, piUserId, piExtraUserIdList=[]):
28
+    self._iCurrentUserId       = piUserId
29
+    self._iExtraUserIdList     = piExtraUserIdList
30
+    self._iUserIdFilteringList = None
31
+    self._cache_allowed_nodes = None
32
+
33
+  def _getUserIdListForFiltering(self):
34
+    if self._iUserIdFilteringList==None:
35
+      self._iUserIdFilteringList = list()
36
+      self._iUserIdFilteringList.append(self._iCurrentUserId)
37
+      for liUserId in self._iExtraUserIdList:
38
+        self._iUserIdFilteringList.append(liUserId)
39
+    return self._iUserIdFilteringList
40
+
41
+
42
+  def createNode(self, parent_id=0, inherit_rights=True):
43
+    loNode          = pbmd.PBNode()
44
+    loNode.owner_id = self._iCurrentUserId
45
+    if int(parent_id)!=0:
46
+        loNode.parent_id = parent_id
47
+
48
+    if inherit_rights:
49
+        parent_node = pbm.DBSession.query(pbmd.PBNode).filter(pbmd.PBNode.node_id==parent_id).one()
50
+        self.copy_rights(parent_node, loNode)
51
+
52
+    pbm.DBSession.add(loNode)
53
+
54
+    return loNode
55
+
56
+  def copy_rights(self, from_node: pbmd.PBNode, to_node: pbmd.PBNode, copy_also_is_shared=True):
57
+    """
58
+    copy rights from first node to second one
59
+    """
60
+    for parent_right in from_node._lRights:
61
+        new_right = self.createRight()
62
+        new_right.group_id = parent_right.group_id
63
+        new_right.rights = parent_right.rights
64
+        to_node._lRights.append(new_right)
65
+
66
+    if copy_also_is_shared:
67
+        to_node.is_shared = from_node.is_shared
68
+
69
+  def createDummyNode(self, parent_id, inherit_rights=True):
70
+    loNewNode = self.createNode(parent_id, inherit_rights)
71
+    loNewNode.data_label   = ''
72
+    loNewNode.data_content = ''
73
+    return loNewNode
74
+
75
+
76
+  def getNode(self, liNodeId: int) -> pbmd.PBNode:
77
+
78
+    lsSqlSelectQuery = """pod_nodes.node_id IN
79
+        (SELECT
80
+            pgn.node_id
81
+        FROM
82
+            pod_group_node AS pgn
83
+            join pod_user_group AS pug ON pug.group_id = pgn.group_id
84
+            join pod_user AS pu ON pug.user_id = pu.user_id
85
+        WHERE
86
+            rights > 0
87
+            AND pu.user_id = %s)
88
+    """
89
+    lsNodeIdFiltering = lsSqlSelectQuery % (str(self._iCurrentUserId))
90
+
91
+    if liNodeId!=None and liNodeId!=0:
92
+      return pbm.DBSession.query(pbmd.PBNode).options(sqlao.joinedload_all("_oParent"), sqlao.joinedload_all("_lAllChildren"))\
93
+        .filter(pbmd.PBNode.node_id==liNodeId)\
94
+        .filter(
95
+          sqla.or_(
96
+            pbmd.PBNode.owner_id==self._iCurrentUserId,
97
+            lsNodeIdFiltering
98
+          )
99
+        )\
100
+        .one()
101
+    return None
102
+
103
+  def getLastModifiedNodes(self, piMaxNodeNb: int):
104
+    """
105
+    Returns a list of nodes order by modification time and limited to piMaxNodeNb nodes
106
+    """
107
+    liOwnerIdList = self._getUserIdListForFiltering()
108
+    return pbm.DBSession.query(pbmd.PBNode)\
109
+        .outerjoin(pbma.Rights)\
110
+        .outerjoin(pbma.user_group_table, pbma.Rights.group_id==pbma.user_group_table.columns['group_id'])\
111
+        .options(joinedload_all("_lAllChildren"))\
112
+        .filter((pbmd.PBNode.owner_id.in_(liOwnerIdList)) | ((pbma.user_group_table.c.user_id.in_(liOwnerIdList)) & (pbmd.PBNode.is_shared == True)))\
113
+        .order_by(pbmd.PBNode.updated_at.desc())\
114
+        .limit(piMaxNodeNb).all()
115
+
116
+
117
+  def getListOfAllowedNodes(self, reset_cache=False) -> pbmd.PBNode:
118
+      if self._cache_allowed_nodes==None or reset_cache==True:
119
+        lsSqlQuery = """
120
+            SELECT
121
+                pn.node_id,
122
+                pn.parent_id,
123
+                pn.node_order,
124
+                pn.node_type,
125
+                pn.created_at,
126
+                pn.updated_at,
127
+                pn.data_label,
128
+                pn.data_content,
129
+                pn.data_datetime,
130
+                pn.node_status,
131
+                pn.data_reminder_datetime,
132
+                pn.parent_tree_path,
133
+                pn.node_depth,
134
+                pn.owner_id,
135
+                pn.is_shared,
136
+                pn.is_public,
137
+                pn.public_url_key
138
+            FROM
139
+                pod_group_node AS pgn
140
+                join pod_user_group AS pug ON pug.group_id = pgn.group_id
141
+                join pod_nodes AS pn ON pgn.node_id=pn.node_id AND pn.is_shared='t'
142
+            WHERE
143
+                pn.node_type='data'
144
+                AND pn.node_status NOT IN ('deleted', 'closed')
145
+                AND pn.node_id=pgn.node_id
146
+                AND pgn.rights > 0
147
+                AND pug.user_id = :owner_id
148
+
149
+            UNION
150
+                SELECT
151
+                    pn.node_id,
152
+                    pn.parent_id,
153
+                    pn.node_order,
154
+                    pn.node_type,
155
+                    pn.created_at,
156
+                    pn.updated_at,
157
+                    pn.data_label,
158
+                    pn.data_content,
159
+                    pn.data_datetime,
160
+                    pn.node_status,
161
+                    pn.data_reminder_datetime,
162
+                    pn.parent_tree_path,
163
+                    pn.node_depth,
164
+                    pn.owner_id,
165
+                    pn.is_shared,
166
+                    pn.is_public,
167
+                    pn.public_url_key
168
+                FROM
169
+                    pod_nodes AS pn
170
+                WHERE
171
+                    pn.node_type = 'data'
172
+                    AND pn.node_status NOT IN ('deleted', 'closed')
173
+                    AND pn.owner_id = :owner_id
174
+
175
+            ORDER BY node_id ASC
176
+        """
177
+
178
+        loNodeListResult = pbm.DBSession.query(pbmd.PBNode).\
179
+            from_statement(lsSqlQuery).\
180
+            params(owner_id=self._iCurrentUserId)
181
+        allowed_nodes = loNodeListResult.all()
182
+
183
+        self._cache_allowed_nodes = allowed_nodes
184
+
185
+      return self._cache_allowed_nodes
186
+
187
+
188
+  def searchNodesByText(self, plKeywordList: [str], piMaxNodeNb=100):
189
+    """
190
+    Returns a list of nodes order by type, nodes which contain at least one of the keywords
191
+    """
192
+    liOwnerIdList = self._getUserIdListForFiltering()
193
+    loKeywordFilteringClauses = []
194
+    for keyword in plKeywordList:
195
+        loKeywordFilteringClauses.append(pbmd.PBNode.data_label.ilike('%'+keyword+'%'))
196
+        loKeywordFilteringClauses.append(pbmd.PBNode.data_content.ilike('%'+keyword+'%'))
197
+        loKeywordFilteringClauses.append(pbmd.PBNode.data_file_name.ilike('%'+keyword+'%'))
198
+
199
+    loKeywordFilteringClausesAsOr = sqla.or_(*loKeywordFilteringClauses) # Combine them with or to a BooleanClauseList
200
+
201
+    loResultsForSomeKeywords = pbm.DBSession.query(pbmd.PBNode).options(joinedload_all("_lAllChildren")).outerjoin(pbma.Rights).outerjoin(pbma.user_group_table, pbma.Rights.group_id==pbma.user_group_table.columns['group_id'])\
202
+        .filter(loKeywordFilteringClausesAsOr)\
203
+        .filter((pbmd.PBNode.owner_id.in_(liOwnerIdList)) | (pbma.user_group_table.c.user_id.in_(liOwnerIdList) & pbmd.PBNode.is_shared))\
204
+        .order_by(sqla.desc(pbmd.PBNode.node_type))\
205
+        .limit(piMaxNodeNb)\
206
+        .all()
207
+
208
+    return loResultsForSomeKeywords
209
+
210
+  def getNodesByStatus(self, psNodeStatus, piMaxNodeNb=5):
211
+    liOwnerIdList = self._getUserIdListForFiltering()
212
+    return pbm.DBSession.query(pbmd.PBNode).options(joinedload_all("_lAllChildren")).filter(pbmd.PBNode.owner_id.in_(liOwnerIdList)).filter(pbmd.PBNode.node_status==psNodeStatus).order_by(pbmd.PBNode.updated_at).limit(piMaxNodeNb).all()
213
+
214
+
215
+  def getChildNodesForMenu(self, poParentNode: pbmd.PBNode, allowed_nodes: [pbmd.PBNode]) -> [pbmd.PBNode]:
216
+    visible_child_nodes = []
217
+
218
+    if poParentNode!=None:
219
+        # standard case
220
+        print(" -------------- BEFORE @@@@@@@@@@@@@@@@ ")
221
+        all_child_nodes = poParentNode.getChildren()
222
+        print("@@@@@@@@@@@@@@@@ AFTER @@@@@@@@@@@@@@@@ ")
223
+        for child_node in all_child_nodes:
224
+          if child_node in allowed_nodes:
225
+            visible_child_nodes.append(child_node)
226
+    else:
227
+        # Root case
228
+        parent_nodes = pbm.DBSession
229
+        for allowed_node in allowed_nodes:
230
+            print("     @@@@@@@@@@@@@@@@ BEFORE @@@@@@@@@@@@@@@@ ")
231
+            # loParent = allowed_node._oParent
232
+            # print("@@@@@@@@@@@@@@@@ AFTER @@@@@@@@@@@@@@@@ {0}".format(allowed_node._oParent.node_id if allowed_node._oParent!=None else '0'))
233
+            # print("==== EXTRA {0}".format(allowed_node._oParent.node_id if allowed_node._oParent!=None else '0'))
234
+            print("====> ")
235
+
236
+            if allowed_node._oParent is None or allowed_node._oParent==allowed_node:
237
+                # D.A. - HACK - 2014-05-27
238
+                # I don't know why, but as from now (with use of sqlao.contains_eager in getListOfAllowedNodes()
239
+                # the root items have at first iteration itself as parent
240
+                print("==== EXTRA END")
241
+                # this is a root item => add it
242
+                visible_child_nodes.append(allowed_node)
243
+            else:
244
+                if allowed_node._oParent not in allowed_nodes:
245
+                    # the node is visible but not the parent => put it at the root
246
+                    visible_child_nodes.append(allowed_node)
247
+                else:
248
+                    print("==== EXTRA END 2 {0}".format(allowed_node._oParent.node_id))
249
+
250
+    print(" @@@@@@@@@@@@@@@@ PRE FAILURE @@@@@@@@@@@@@@@@ ")
251
+    return visible_child_nodes
252
+
253
+
254
+
255
+
256
+  def buildTreeListForMenu(self, current_node: pbmd.PBNode, allowed_nodes: [pbmd.PBNode]) -> [pbmd.NodeTreeItem]:
257
+    # The algorithm is:
258
+    # 1. build an intermediate tree containing only current node and parent path
259
+    #    + complete it with sibling at each level (except root)
260
+    # 2. add sibling nodes at root level
261
+    # 3. complete it with shared documents (which are not at root but shared with current user)
262
+
263
+    node_tree = []
264
+
265
+    previous_tree_item = None
266
+    tmp_children_nodes = []
267
+
268
+    if current_node is not None:
269
+        breadcrumb_nodes = current_node.getBreadCrumbNodes()
270
+        breadcrumb_nodes.append(current_node) # by default the current node is not included
271
+
272
+        for breadcrumb_node in reversed(breadcrumb_nodes):
273
+            if previous_tree_item is None:
274
+                # First iteration. We add all current_node children
275
+                for child_node in breadcrumb_node.getChildren():
276
+                    if child_node in allowed_nodes:
277
+                        child_item = pbmd.NodeTreeItem(child_node, [])
278
+                        tmp_children_nodes.append(child_item)
279
+
280
+                previous_tree_item = pbmd.NodeTreeItem(breadcrumb_node, tmp_children_nodes)
281
+
282
+            else:
283
+                tmp_children_nodes = []
284
+                for child_node in breadcrumb_node.getChildren():
285
+                    if child_node in allowed_nodes:
286
+                        if child_node == previous_tree_item.node:
287
+                            tmp_children_nodes.append(previous_tree_item)
288
+                        else:
289
+                            sibling_node = pbmd.NodeTreeItem(child_node, [])
290
+                            tmp_children_nodes.append(sibling_node)
291
+
292
+                previous_tree_item = pbmd.NodeTreeItem(breadcrumb_node, tmp_children_nodes)
293
+
294
+    for node in allowed_nodes:
295
+        # This part of the algorithm insert root items
296
+        if node.parent_id==0 or node.parent_id is None:
297
+            if previous_tree_item is not None and node == previous_tree_item.node:
298
+                assert(isinstance(previous_tree_item, pbmd.NodeTreeItem))
299
+                node_tree.append(previous_tree_item)
300
+            else:
301
+                node_tree.append(pbmd.NodeTreeItem(node, []))
302
+        else:
303
+            # Try to add nodes shared with me but with a parent which is not shared
304
+            if node.owner_id!=self._iCurrentUserId:
305
+                # this is a node shared with me
306
+                if node._oParent!=None and node._oParent not in allowed_nodes:
307
+                    # the node is shared but not the parent => put it in the root
308
+                    node_tree.append(pbmd.NodeTreeItem(node, []))
309
+
310
+
311
+    return node_tree
312
+
313
+
314
+
315
+  def DIRTY_OLDbuildTreeListForMenu(self, plViewableStatusId: []) -> [pbmd.PBNode]:
316
+
317
+    liOwnerIdList = self._getUserIdListForFiltering()
318
+    
319
+    # loNodeList = pbm.DBSession.query(pbmd.PBNode).filter(pbmd.PBNode.owner_id.in_(liOwnerIdList)).filter(pbmd.PBNode.node_type==pbmd.PBNodeType.Data).filter(pbmd.PBNode.node_status.in_(plViewableStatusId)).order_by(pbmd.PBNode.parent_tree_path).order_by(pbmd.PBNode.node_order).order_by(pbmd.PBNode.node_id).all()
320
+    loNodeListNotFiltered = pbm.DBSession.query(pbmd.PBNode).filter(pbmd.PBNode.node_type==pbmd.PBNodeType.Data).filter(pbmd.PBNode.node_status.in_(plViewableStatusId)).order_by(pbmd.PBNode.parent_tree_path).order_by(pbmd.PBNode.node_order).order_by(pbmd.PBNode.node_id).all()
321
+
322
+    loNodeList = []
323
+    for loNode in loNodeListNotFiltered:
324
+      if loNode.owner_id in self._getUserIdListForFiltering():
325
+        loNodeList.append(loNode)
326
+      else:
327
+        for loRight in loNode._lRights:
328
+          for loUser in loRight._oGroup.users:
329
+            if loUser.user_id in self._getUserIdListForFiltering():
330
+              loNodeList.append(loNode)
331
+
332
+    loTreeList = []
333
+    loTmpDict = {}
334
+    for loNode in loNodeList:
335
+      loTmpDict[loNode.node_id] = loNode
336
+  
337
+      if loNode.parent_id==None or loNode.parent_id==0:
338
+        loTreeList.append(loNode)
339
+      else:
340
+        # append the node to the parent list
341
+        # FIXME - D.A - 2013-10-08
342
+        # The following line may raise an exception
343
+        # We suppose that the parent node has already been added
344
+        # this *should* be the case, but the code does not check it
345
+        if loNode.parent_id not in loTmpDict.keys():
346
+          try:
347
+
348
+            loTmpDict[loNode.parent_id] = self.getNode(loNode.parent_id)
349
+          except Exception as e:
350
+            # loTreeList.append(
351
+            # FIXME - D.A. - 2014-05-22 This may be wrong code:
352
+            # we are in the case when the node parent is not shared with the current user
353
+            # So the node should be added at the root
354
+            pass
355
+        if loNode.parent_id in loTmpDict.keys():
356
+          # HACK- D.A. - 2014-05-22 - See FIXME upper
357
+          loTmpDict[loNode.parent_id].appendStaticChild(loNode)
358
+  
359
+    return loTreeList
360
+
361
+  def getParentNode(self, loNode):
362
+    liOwnerIdList = self._getUserIdListForFiltering()
363
+    return pbm.DBSession.query(pbmd.PBNode).filter(pbmd.PBNode.owner_id.in_(liOwnerIdList)).filter(pbmd.PBNode.node_id==loNode.parent_id).one()
364
+
365
+  def getSiblingNodes(self, poNode, pbReverseOrder=False):
366
+    liOwnerIdList = self._getUserIdListForFiltering()
367
+    
368
+    if pbReverseOrder:
369
+      return pbm.DBSession.query(pbmd.PBNode).filter(pbmd.PBNode.owner_id.in_(liOwnerIdList)).filter(pbmd.PBNode.parent_id==poNode.parent_id).order_by(pbmd.PBNode.node_order.desc()).all()
370
+    else:
371
+      return pbm.DBSession.query(pbmd.PBNode).filter(pbmd.PBNode.owner_id.in_(liOwnerIdList)).filter(pbmd.PBNode.parent_id==poNode.parent_id).order_by(pbmd.PBNode.node_order).all()
372
+
373
+  def resetNodeOrderOfSiblingNodes(self, loSiblingNodes):
374
+    liNewWeight = 0
375
+    for loNode in loSiblingNodes:
376
+      liNewWeight = liNewWeight + 1
377
+      loNode.node_order = liNewWeight
378
+    # DBSession.save()
379
+
380
+  def moveNodeUpper(self, loNode):
381
+    # FIXME - manage errors and logging
382
+    
383
+    loSiblingNodes = self.getSiblingNodes(loNode)
384
+    self.resetNodeOrderOfSiblingNodes(loSiblingNodes)
385
+  
386
+    loPreviousItem = None
387
+    for loItem in loSiblingNodes:
388
+      if loItem==loNode:
389
+        if loPreviousItem==None:
390
+          return FIXME_ERROR_CODE # FIXME - D.A. Do not use hard-coded error codes
391
+          print("No previous node")
392
+        else:
393
+          liPreviousItemOrder       = loPreviousItem.node_order
394
+          loPreviousItem.node_order = loNode.node_order
395
+          loNode.node_order         = liPreviousItemOrder
396
+          # DBSession.save()
397
+          break
398
+      loPreviousItem = loItem
399
+
400
+  def moveNodeLower(self, loNode):
401
+    # FIXME - manage errors and logging
402
+    
403
+    loSiblingNodes = self.getSiblingNodes(loNode)
404
+    self.resetNodeOrderOfSiblingNodes(loSiblingNodes)
405
+  
406
+    loPreviousItem = None
407
+    for loItem in reversed(loSiblingNodes):
408
+      if loItem==loNode:
409
+        if loPreviousItem==None:
410
+          return FIXME_ERROR_CODE # FIXME - D.A. Do not use hard-coded error codes
411
+          # FIXME
412
+          print("No previous node")
413
+        else:
414
+          liPreviousItemOrder       = loPreviousItem.node_order
415
+          loPreviousItem.node_order = loNode.node_order
416
+          loNode.node_order         = liPreviousItemOrder
417
+          # DBSession.save()
418
+          break
419
+      loPreviousItem = loItem
420
+
421
+  def getNodeFileContent(self, liNodeId):
422
+    liOwnerIdList = self._getUserIdListForFiltering()
423
+    return pbm.DBSession.query(pbmd.PBNode).filter(pbmd.PBNode.owner_id.in_(liOwnerIdList)).filter(pbmd.PBNode.node_id==liNodeId).one().data_file_content
424
+
425
+  def deleteNode(loNode):
426
+    # INFO - D.A. - 2013-11-07 - should be save as getNode should return only accessible nodes
427
+    pbm.DBSession.delete(loNode)
428
+    return
429
+
430
+  def createRight(self):
431
+    loRight = pbma.Rights()
432
+    return loRight

+ 19 - 0
tracim/tracim/lib/group.py Просмотреть файл

@@ -0,0 +1,19 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+__author__ = 'damien'
4
+
5
+from tracim.model.auth import Group, User
6
+from sqlalchemy.orm import Query
7
+
8
+from tracim.model import DBSession
9
+
10
+class GroupApi(object):
11
+
12
+    def __init__(self, current_user: User):
13
+        self._user = current_user
14
+
15
+    def _base_query(self) -> Query:
16
+        return DBSession.query(Group)
17
+
18
+    def get_one(self, group_id) -> Group:
19
+        return self._base_query().filter(Group.group_id==group_id).one()

+ 227 - 0
tracim/tracim/lib/helpers.py Просмотреть файл

@@ -0,0 +1,227 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+"""WebHelpers used in tracim."""
4
+
5
+#from webhelpers import date, feedgenerator, html, number, misc, text
6
+from markupsafe import Markup
7
+from datetime import datetime
8
+from tg.i18n import ugettext as _, lazy_ugettext as l_
9
+import tg
10
+
11
+from tracim.lib import app_globals as plag
12
+
13
+from tracim.lib import CST
14
+from tracim.lib.content import ContentApi
15
+from tracim.lib.workspace import WorkspaceApi
16
+
17
+from tracim.model.data import ContentStatus
18
+from tracim.model.data import PBNode
19
+from tracim.model.data import PBNodeType
20
+from tracim.model.data import UserRoleInWorkspace
21
+from tracim.model.data import Workspace
22
+
23
+def date_time_in_long_format(datetime_object, format=''):
24
+    if not format:
25
+        format = plag.Globals.LONG_DATE_FORMAT
26
+    return datetime_object.strftime(format.__str__())
27
+
28
+def date_time_in_long_format(datetime_object, format=''):
29
+    if not format:
30
+        format = plag.Globals.LONG_DATE_FORMAT
31
+    return datetime_object.strftime(format.__str__())
32
+
33
+def format_short(datetime_object):
34
+    return datetime_object.strftime(format = plag.Globals.SHORT_DATE_FORMAT.__str__())
35
+
36
+def user_friendly_file_size(file_size: int):
37
+    file_size_kib = file_size/1024
38
+    if file_size_kib<1024:
39
+        return '{:.3f} ko'.format(file_size_kib)
40
+    else:
41
+        mega_size = file_size_kib/1024
42
+        if mega_size<1024:
43
+            return '{:.3f} Mo'.format(int(mega_size))
44
+
45
+def current_year():
46
+  now = datetime.now()
47
+  return now.strftime('%Y')
48
+
49
+def formatLongDateAndTime(datetime_object, format=''):
50
+    """ OBSOLETE
51
+    :param datetime_object:
52
+    :param format:
53
+    :return:
54
+    """
55
+    if not format:
56
+        format = plag.Globals.LONG_DATE_FORMAT
57
+    return datetime_object.strftime(format)
58
+
59
+
60
+
61
+def icon(icon_name, white=False):
62
+    if (white):
63
+        return Markup('<i class="icon-%s icon-white"></i>' % icon_name)
64
+    else:
65
+        return Markup('<i class="icon-%s"></i>' % icon_name)
66
+
67
+
68
+def getExplanationAboutStatus(psStatusId, psCurrentStatusId):
69
+  lsMsg = ""
70
+  if psStatusId==psCurrentStatusId:
71
+    return _("This is the current status.")
72
+  else:
73
+    if psStatusId=='information':
74
+      return _("The item is a normal document, like a howto or a text document.")
75
+    if psStatusId=='automatic':
76
+      return _("The item will be automatically computed as \"in progress\" or \"done\" according to its children status.")
77
+    if psStatusId=='new':
78
+      return _("No action done on the item.")
79
+    if psStatusId=='inprogress':
80
+      return _("The item is being worked on.")
81
+    if psStatusId=='standby':
82
+      return _("Waiting for some external actions.")
83
+    if psStatusId=='done':
84
+      return _("The work associated with the item is finished.")
85
+    if psStatusId=='closed':
86
+      return _("Close the item if you want not to see it anymore. The data won't be deleted")
87
+    if psStatusId=='deleted':
88
+      return _("This status tells that the item has been deleted.")
89
+
90
+class ID(object):
91
+  """ Helper class that will manage html items ids that need to be shared"""
92
+
93
+  @classmethod
94
+  def AddDocumentModalForm(cls, poNode=None):
95
+    if poNode:
96
+      return 'add-document-modal-form-%d'%poNode.node_id
97
+    else:
98
+      return 'add-document-modal-form'
99
+
100
+  @classmethod
101
+  def AddContactModalForm(cls, poNode=None):
102
+    if poNode:
103
+      return 'add-contact-modal-form-%d'%poNode.node_id
104
+    else:
105
+      return 'add-contact-modal-form'
106
+
107
+  @classmethod
108
+  def AddFileModalForm(cls, poNode=None):
109
+    if poNode:
110
+      return 'add-file-modal-form-%d'%poNode.node_id
111
+    else:
112
+      return 'add-file-modal-form'
113
+
114
+  @classmethod
115
+  def MoveDocumentModalForm(cls, poNode):
116
+      return 'move-document-modal-form-{0}'.format(poNode.node_id)
117
+
118
+  @classmethod
119
+  def AddEventModalForm(cls, poNode=None):
120
+    if poNode:
121
+      return 'add-event-modal-form-%d'%poNode.node_id
122
+    else:
123
+      return 'add-event-modal-form'
124
+    ## Original id is 'current-document-add-event-form'
125
+
126
+  @classmethod
127
+  def AddCommentInlineForm(cls):
128
+    return 'current-document-add-comment-form'
129
+
130
+class ICON(object):
131
+  Shared = '<i class="fa fa-group"></i>'
132
+  Private = '<i class="fa fa-key"></i>'
133
+
134
+def tracker_js():
135
+    js_file_path = tg.config.get('js_tracker_path', None)
136
+    if js_file_path is not None:
137
+        with open (js_file_path, "r") as js_file:
138
+            data=js_file.read()
139
+        return data
140
+    else:
141
+        return ""
142
+
143
+def IconPath(icon_size, icon_path):
144
+    return tg.url('/assets/icons/{0}x{0}/{1}.png'.format(icon_size, icon_path))
145
+
146
+def PodVersion():
147
+    return plag.Globals.VERSION_NUMBER
148
+
149
+def RoleLevelAssociatedCss(role_level):
150
+    if role_level==UserRoleInWorkspace.NOT_APPLICABLE:
151
+        return '#CCC'
152
+    elif role_level==UserRoleInWorkspace.READER:
153
+        return '#1fdb11'
154
+    elif role_level==UserRoleInWorkspace.CONTRIBUTOR:
155
+        return '#759ac5'
156
+    elif role_level==UserRoleInWorkspace.CONTENT_MANAGER:
157
+        return '#ea983d'
158
+    elif role_level==UserRoleInWorkspace.WORKSPACE_MANAGER:
159
+        return '#F00'
160
+
161
+def AllStatus(node_type=''):
162
+    return ContentStatus.all(node_type)
163
+
164
+
165
+def is_debug_mode():
166
+    # return tg.config.get('debug')
167
+    return False
168
+
169
+def on_off_to_boolean(on_or_off: str) -> bool:
170
+    return True if on_or_off=='on' else False
171
+
172
+def convert_id_into_instances(id: str) -> (Workspace, PBNode):
173
+    """
174
+    TODO - D.A. - 2014-10-18 - Refactor and move this function where it must be placed
175
+    convert an id like 'workspace_<workspace_id>|content_<content_id>'
176
+    into two objects: the given workspace instance and the given content instance
177
+    """
178
+
179
+    if id=='#':
180
+        return None, None
181
+
182
+    workspace_str, content_str = id.split(CST.TREEVIEW_MENU.ITEM_SEPARATOR)
183
+    workspace = None
184
+    content = None
185
+
186
+    try:
187
+        workspace_data = workspace_str.split(CST.TREEVIEW_MENU.ID_SEPARATOR)
188
+        workspace_id = workspace_data[1]
189
+        workspace = WorkspaceApi(tg.tmpl_context.current_user).get_one(workspace_id)
190
+    except:
191
+        workspace = None
192
+
193
+    try:
194
+        content_data = content_str.split(CST.TREEVIEW_MENU.ID_SEPARATOR)
195
+        content_id = int(content_data[1])
196
+        content = ContentApi(tg.tmpl_context.current_user).get_one(content_id, PBNodeType.Folder)
197
+    except (IndexError, ValueError) as e:
198
+        content = None
199
+
200
+    return workspace, content
201
+
202
+def user_role(user, workspace) -> int:
203
+    """
204
+    This function works on DictLikeClass() instances
205
+    :param user: the serialized version of the user (cf CTX.CURRENT_USER)
206
+    :param workspace: the serialized version of the workspace
207
+    :return: the user role id (int)
208
+    """
209
+    for role in user.roles:
210
+        if role.workspace.id==workspace.id:
211
+            return role.id
212
+
213
+    return 0
214
+
215
+# SDAEP RELATED DAtA
216
+WEBSITE_TITLE = 'SDAEP22'
217
+WEBSITE_HOME_TITLE_COLOR = '#555'
218
+WEBSITE_HOME_IMAGE_URL = 'http://t0.gstatic.com/images?q=tbn:ANd9GcSGwpT9eJn4jSrQQuYyd6mxj9f59ZfHWf9m4FcWpinPV7eFXHaosDv4bynJ'
219
+WEBSITE_HOME_BACKGROUND_IMAGE_URL = tg.lurl('/assets/img/eau.jpg')
220
+
221
+
222
+
223
+WEBSITE_TITLE = 'Tracim'
224
+WEBSITE_TITLE_COLOR = '#555'
225
+WEBSITE_HOME_IMAGE_URL = tg.lurl('/assets/img/home_illustration.jpg')
226
+WEBSITE_HOME_BACKGROUND_IMAGE_URL = tg.lurl('/assets/img/bg.jpg')
227
+

+ 58 - 0
tracim/tracim/lib/predicates.py Просмотреть файл

@@ -0,0 +1,58 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+from tg import expose, flash, require, url, lurl, request, redirect, tmpl_context
4
+from tg.i18n import lazy_ugettext as l_
5
+from tg.predicates import Predicate
6
+
7
+from tracim.lib.base import logger
8
+
9
+from tracim.model.data import UserRoleInWorkspace
10
+
11
+
12
+FORBIDDEN_MSG = l_('You are not authorized to access this resource')
13
+
14
+class WorkspaceRelatedPredicate(Predicate):
15
+    def __init__(self, **kwargs):
16
+        super(WorkspaceRelatedPredicate, self).__init__(**kwargs)
17
+        self.message = FORBIDDEN_MSG
18
+
19
+    def minimal_role_level(self) -> int:
20
+        """
21
+        This method must be implemented in child classes. It defines the role of the user in the given workspace
22
+        :return: required level associated to the predicate
23
+        """
24
+        raise NotImplementedError
25
+
26
+
27
+    def evaluate(self, environ, credentials):
28
+        # Comment next line if you want to activate the debug controller
29
+        try:
30
+            current_user = tmpl_context.current_user
31
+            workspace = tmpl_context.workspace
32
+            if workspace.get_user_role(current_user)>= self.minimal_role_level():
33
+                return
34
+        except Exception as e:
35
+            logger.warning(self, 'Exception catched: {}'.format(e.__str__))
36
+            self.unmet()
37
+        self.unmet()
38
+
39
+
40
+class current_user_is_reader(WorkspaceRelatedPredicate):
41
+    def minimal_role_level(self):
42
+        return UserRoleInWorkspace.READER
43
+
44
+
45
+class current_user_is_contributor(WorkspaceRelatedPredicate):
46
+    def minimal_role_level(self):
47
+        return UserRoleInWorkspace.CONTRIBUTOR
48
+
49
+
50
+class current_user_is_content_manager(WorkspaceRelatedPredicate):
51
+    def minimal_role_level(self):
52
+        return UserRoleInWorkspace.CONTENT_MANAGER
53
+
54
+
55
+class current_user_is_workspace_manager(WorkspaceRelatedPredicate):
56
+    def minimal_role_level(self):
57
+        return UserRoleInWorkspace.WORKSPACE_MANAGER
58
+

+ 205 - 0
tracim/tracim/lib/user.py Просмотреть файл

@@ -0,0 +1,205 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+__author__ = 'damien'
4
+
5
+import tg
6
+
7
+from tracim.model.auth import User
8
+
9
+from tracim.model import auth as pbma
10
+from tracim.model import DBSession
11
+import tracim.model.data as pmd
12
+# import DIRTY_GroupRightsOnNode, DIRTY_UserDedicatedGroupRightOnNodeSqlQuery, DIRTY_RealGroupRightOnNodeSqlQuery, PBNode
13
+
14
+class UserApi(object):
15
+
16
+    def __init__(self, current_user: User):
17
+        self._user = current_user
18
+
19
+    def get_all(self):
20
+        return DBSession.query(User).order_by(User.display_name).all()
21
+
22
+    def _base_query(self):
23
+        return DBSession.query(User)
24
+
25
+    def get_one(self, user_id: int):
26
+        return self._base_query().filter(User.user_id==user_id).one()
27
+
28
+    def get_one_by_email(self, email: str):
29
+        return self._base_query().filter(User.email_address==email).one()
30
+
31
+    def update(self, user: User, name: str, email: str, do_save):
32
+        user.display_name = name
33
+        user.email_address = email
34
+        if do_save:
35
+            self.save(user)
36
+
37
+    def user_with_email_exists(self, email: str):
38
+        try:
39
+            self.get_one_by_email(email)
40
+            return True
41
+        except:
42
+            return False
43
+
44
+    def create_user(self, save_now=False) -> User:
45
+        user = User()
46
+        DBSession.add(user)
47
+        if save_now:
48
+            DBSession.flush()
49
+
50
+        return user
51
+
52
+    def save(self, user: User):
53
+        DBSession.flush()
54
+
55
+
56
+class UserStaticApi(object):
57
+
58
+  @classmethod
59
+  def get_current_user(cls) -> User:
60
+    identity = tg.request.identity
61
+    print (tg.request.identity)
62
+
63
+    if tg.request.identity:
64
+        return pbma.User.by_email_address(tg.request.identity['repoze.who.userid'])
65
+    return None
66
+
67
+  @classmethod
68
+  def getUserByEmailAddress(cls, psEmailAddress):
69
+    loUser = pbma.User.by_email_address(psEmailAddress)
70
+    return loUser
71
+
72
+  @classmethod
73
+  def createNewUser(cls, real_name, email_address, password, groups):
74
+    loUser = pbma.User()
75
+    new_user = pbma.User()
76
+    new_user.email_address = email_address
77
+    new_user.display_name  = real_name if real_name!='' else email_address
78
+    new_user.password      = password
79
+
80
+    public_group = cls.getGroupById(pbma.Group.TIM_USER)
81
+    public_group.users.append(new_user)
82
+
83
+    DBSession.add(new_user)
84
+    DBSession.flush()
85
+    DBSession.refresh(new_user)
86
+
87
+    user_dedicated_group = cls.createGroup()
88
+    user_dedicated_group.group_id = 0-new_user.user_id # group id of a given user is the opposite of the user id
89
+    user_dedicated_group.group_name = 'user_%d' % new_user.user_id
90
+    user_dedicated_group.personnal_group = True
91
+    user_dedicated_group.users.append(new_user)
92
+
93
+    for group_id in groups:
94
+        selected_group = cls.getGroupById(group_id)
95
+        selected_group.users.append(new_user)
96
+
97
+    DBSession.flush()
98
+
99
+    return new_user
100
+
101
+  @classmethod
102
+  def updateUser(cls, user_id, real_name, email, group_ids):
103
+
104
+      group_ids = list(map(int, group_ids))
105
+      group_ids.append(pbma.Group.TIM_USER)
106
+      print('new group ids:', group_ids)
107
+      user_to_update = DBSession.query(pbma.User).filter(pbma.User.user_id==user_id).one()
108
+      user_to_update.display_name = real_name
109
+      user_to_update.email_address = email
110
+
111
+      merged_new_groups = []
112
+
113
+      for group in user_to_update.groups:
114
+          if group.group_id==pbma.Group.TIM_ADMIN:
115
+              print('adding group (3)', group.group_id)
116
+              merged_new_groups.append(group)
117
+
118
+          elif group.group_id==pbma.Group.TIM_USER:
119
+              print('adding group (2)', group.group_id)
120
+              merged_new_groups.append(group)
121
+
122
+          elif group.group_id in group_ids:
123
+              print('adding group', group.group_id)
124
+              merged_new_groups.append(group)
125
+
126
+          else:
127
+              print('remove group', group.group_id)
128
+              user_to_update.groups.remove(group)
129
+
130
+      for group_id in group_ids:
131
+          group = cls.getGroupById(group_id)
132
+
133
+          if group not in merged_new_groups:
134
+              merged_new_groups.append(group)
135
+
136
+      user_to_update.groups = merged_new_groups
137
+
138
+      for group in merged_new_groups:
139
+          print("group => ", group.group_id)
140
+      DBSession.flush()
141
+
142
+  @classmethod
143
+  def deleteUser(cls, user_id):
144
+      user_to_delete = DBSession.query(pbma.User).filter(pbma.User.user_id==user_id).one()
145
+      user_dedicated_group = DBSession.query(pbma.Group).filter(pbma.Group.group_id==-user_id).one()
146
+      DBSession.delete(user_to_delete)
147
+      DBSession.delete(user_dedicated_group)
148
+      DBSession.flush()
149
+
150
+  @classmethod
151
+  def getGroup(cls, psGroupName):
152
+    loGroup = pbma.Group.by_group_name(psGroupName)
153
+    return loGroup
154
+
155
+  @classmethod
156
+  def getGroupById(cls, group_id):
157
+    return DBSession.query(pbma.Group).filter(pbma.Group.group_id==group_id).one()
158
+
159
+  @classmethod
160
+  def createGroup(cls):
161
+    loGroup = pbma.Group()
162
+    return loGroup
163
+
164
+  @classmethod
165
+  def getGroups(cls):
166
+    loGroups = pbma.Group.real_groups_first()
167
+    return loGroups
168
+
169
+  @classmethod
170
+  def getRealGroupRightsOnNode(cls, piNodeId: int) -> pmd.DIRTY_GroupRightsOnNode:
171
+
172
+    groupRightsOnNodeCustomSelect = DBSession\
173
+        .query(pmd.DIRTY_GroupRightsOnNode)\
174
+        .from_statement(pmd.DIRTY_RealGroupRightOnNodeSqlQuery)\
175
+        .params(node_id=piNodeId)\
176
+        .all()
177
+
178
+    return groupRightsOnNodeCustomSelect
179
+
180
+  @classmethod
181
+  def getUserDedicatedGroupRightsOnNode(cls, node: pmd.PBNode) -> pmd.DIRTY_GroupRightsOnNode:
182
+
183
+    group_rights_on_node = []
184
+    if node:
185
+        group_rights_on_node = DBSession\
186
+            .query(pmd.DIRTY_GroupRightsOnNode)\
187
+            .from_statement(pmd.DIRTY_UserDedicatedGroupRightOnNodeSqlQuery)\
188
+            .params(node_id=node.node_id)\
189
+            .all()
190
+
191
+    return group_rights_on_node
192
+
193
+  @classmethod
194
+  def DIRTY_get_rights_on_node(self, user_id, node_id):
195
+      rights = DBSession\
196
+              .execute("""select max(rights) as rights
197
+                      from pod_user_group
198
+                      natural join pod_group_node
199
+                      where node_id=:node_id
200
+                      and user_id=:user_id""", {"node_id":node_id, "user_id":user_id})\
201
+              .fetchone()
202
+      r = pmd.DIRTY_GroupRightsOnNode()
203
+      r.rights = rights[0]
204
+      return r
205
+

+ 94 - 0
tracim/tracim/lib/userworkspace.py Просмотреть файл

@@ -0,0 +1,94 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+__author__ = 'damien'
4
+
5
+import os
6
+from datetime import datetime
7
+from hashlib import sha256
8
+
9
+from sqlalchemy import Table, ForeignKey, Column
10
+from sqlalchemy.types import Unicode, Integer, DateTime, Text
11
+from sqlalchemy.orm import relation, synonym
12
+from sqlalchemy.orm import joinedload_all
13
+import sqlalchemy.orm as sqlao
14
+import sqlalchemy as sqla
15
+
16
+import tg
17
+
18
+from tracim.model.auth import User
19
+from tracim.model.data import Workspace
20
+from tracim.model.data import UserRoleInWorkspace
21
+from tracim.model.data import RoleType
22
+
23
+from tracim.model import auth as pbma
24
+from tracim.model import DBSession
25
+
26
+from tracim.model.serializers import DictLikeClass
27
+
28
+class RoleApi(object):
29
+
30
+    ALL_ROLE_VALUES = UserRoleInWorkspace.get_all_role_values()
31
+
32
+    def __init__(self, current_user: User):
33
+        self._user = current_user
34
+
35
+    def create_role(self) -> UserRoleInWorkspace:
36
+        role = UserRoleInWorkspace()
37
+
38
+        return role
39
+
40
+    def _get_one_rsc(self, user_id, workspace_id):
41
+        """
42
+        :param user_id:
43
+        :param workspace_id:
44
+        :return: a Query object, filtered query but without fetching the object.
45
+        """
46
+        return DBSession.query(UserRoleInWorkspace).\
47
+            filter(UserRoleInWorkspace.workspace_id==workspace_id).\
48
+            filter(UserRoleInWorkspace.user_id==user_id)
49
+
50
+    def get_one(self, user_id, workspace_id):
51
+        return self._get_one_rsc(user_id, workspace_id).one()
52
+
53
+    def create_one(self, user: User, workspace: Workspace, role_level: int, flush: bool=True) -> UserRoleInWorkspace:
54
+        role = self.create_role()
55
+        role.user_id = user.user_id
56
+        role.workspace = workspace
57
+        role.role = role_level
58
+        if flush:
59
+            DBSession.flush()
60
+        return role
61
+
62
+    def delete_one(self, user_id, workspace_id, flush=True):
63
+        self._get_one_rsc(user_id, workspace_id).delete()
64
+        if flush:
65
+            DBSession.flush()
66
+
67
+    def _get_all_for_user(self, user_id):
68
+        return DBSession.query(UserRoleInWorkspace).filter(UserRoleInWorkspace.user_id==user_id)
69
+
70
+    def get_all_for_user(self, user_id):
71
+        return self._get_all_for_user(user_id).all()
72
+
73
+    def get_all_for_user_order_by_workspace(self, user_id: int) -> UserRoleInWorkspace:
74
+        return self._get_all_for_user(user_id).join(UserRoleInWorkspace.workspace).order_by(Workspace.data_label).all()
75
+
76
+    def get_all_for_workspace(self, workspace_id):
77
+        return DBSession.query(UserRoleInWorkspace).filter(UserRoleInWorkspace.workspace_id==workspace_id).all()
78
+
79
+    def save(self, role: UserRoleInWorkspace):
80
+        DBSession.flush()
81
+
82
+    def get_roles_for_select_field(self):
83
+        """
84
+
85
+        :return: list of DictLikeClass instances representing available Roles (to be used in select fields
86
+        """
87
+        result = list()
88
+
89
+        for role_id in UserRoleInWorkspace.get_all_role_values():
90
+            role = RoleType(role_id)
91
+            result.append(role)
92
+
93
+        return result
94
+

+ 93 - 0
tracim/tracim/lib/workspace.py Просмотреть файл

@@ -0,0 +1,93 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+__author__ = 'damien'
4
+
5
+import os
6
+from datetime import datetime
7
+from hashlib import sha256
8
+
9
+from sqlalchemy import Table, ForeignKey, Column
10
+from sqlalchemy.types import Unicode, Integer, DateTime, Text
11
+from sqlalchemy.orm import relation, synonym, contains_eager
12
+from sqlalchemy.orm import joinedload_all
13
+import sqlalchemy.orm as sqlao
14
+import sqlalchemy as sqla
15
+
16
+import tg
17
+
18
+from tracim.lib.userworkspace import RoleApi
19
+from tracim.model.auth import Group
20
+from tracim.model.auth import User
21
+from tracim.model.data import Workspace
22
+from tracim.model.data import UserRoleInWorkspace
23
+
24
+from tracim.model import auth as pbma
25
+from tracim.model import DBSession
26
+
27
+
28
+class WorkspaceApi(object):
29
+
30
+    def __init__(self, current_user: User):
31
+        self._user = current_user
32
+
33
+    def _base_query(self):
34
+        if self._user.profile.id>=Group.TIM_ADMIN:
35
+            return DBSession.query(Workspace).filter(Workspace.is_deleted==False)
36
+
37
+        return DBSession.query(Workspace).\
38
+            join(Workspace.roles).\
39
+            filter(UserRoleInWorkspace.user_id==self._user.user_id).\
40
+            filter(Workspace.is_deleted==False)
41
+
42
+    def create_workspace(self, label: str, description: str='', save_now:bool=False) -> Workspace:
43
+        workspace = Workspace()
44
+        workspace.data_label = label
45
+        workspace.data_comment = description
46
+
47
+        # By default, we force the current user to be the workspace manager
48
+        role = RoleApi(self._user).create_one(self._user, workspace, UserRoleInWorkspace.WORKSPACE_MANAGER)
49
+
50
+        DBSession.add(workspace)
51
+        DBSession.add(role)
52
+
53
+        if save_now:
54
+            DBSession.flush()
55
+
56
+        return workspace
57
+
58
+    def get_one(self, id):
59
+        return self._base_query().filter(Workspace.workspace_id==id).one()
60
+
61
+    """
62
+    def get_one_for_current_user(self, id):
63
+        return self._base_query().filter(Workspace.workspace_id==id).\
64
+            session.query(ZKContact).filter(ZKContact.groups.any(ZKGroup.id.in_([1,2,3])))
65
+            filter(sqla.).one()
66
+    """
67
+
68
+    def get_all(self):
69
+        return self._base_query().all()
70
+
71
+    def get_all_for_user(self, user: User):
72
+        workspaces = [role.workspace for role in user.roles]
73
+        workspaces.sort(key=lambda workspace: workspace.data_label.lower())
74
+        return workspaces
75
+
76
+    def save(self, workspace: Workspace):
77
+        DBSession.flush()
78
+
79
+    def delete_one(self, workspace_id, flush=True):
80
+        workspace = self.get_one(workspace_id)
81
+        workspace.is_deleted = True
82
+
83
+        if flush:
84
+            DBSession.flush()
85
+
86
+    def restore_one(self, workspace_id, flush=True):
87
+        workspace = DBSession.query(Workspace).filter(Workspace.is_deleted==True).filter(Workspace.workspace_id==workspace_id).one()
88
+        workspace.is_deleted = False
89
+
90
+        if flush:
91
+            DBSession.flush()
92
+
93
+        return workspace

+ 63 - 0
tracim/tracim/model/__init__.py Просмотреть файл

@@ -0,0 +1,63 @@
1
+# -*- coding: utf-8 -*-
2
+"""The application's model objects"""
3
+
4
+from zope.sqlalchemy import ZopeTransactionExtension
5
+from sqlalchemy.orm import scoped_session, sessionmaker
6
+#from sqlalchemy import MetaData
7
+from sqlalchemy.ext.declarative import declarative_base
8
+
9
+# Global session manager: DBSession() returns the Thread-local
10
+# session object appropriate for the current web request.
11
+maker = sessionmaker(autoflush=True, autocommit=False,
12
+                     extension=ZopeTransactionExtension())
13
+DBSession = scoped_session(maker)
14
+
15
+# Base class for all of our model classes: By default, the data model is
16
+# defined with SQLAlchemy's declarative extension, but if you need more
17
+# control, you can switch to the traditional method.
18
+DeclarativeBase = declarative_base()
19
+
20
+# There are two convenient ways for you to spare some typing.
21
+# You can have a query property on all your model classes by doing this:
22
+# DeclarativeBase.query = DBSession.query_property()
23
+# Or you can use a session-aware mapper as it was used in TurboGears 1:
24
+# DeclarativeBase = declarative_base(mapper=DBSession.mapper)
25
+
26
+# Global metadata.
27
+# The default metadata is the one from the declarative base.
28
+metadata = DeclarativeBase.metadata
29
+
30
+# If you have multiple databases with overlapping table names, you'll need a
31
+# metadata for each database. Feel free to rename 'metadata2'.
32
+#metadata2 = MetaData()
33
+
34
+#####
35
+# Generally you will not want to define your table's mappers, and data objects
36
+# here in __init__ but will want to create modules them in the model directory
37
+# and import them at the bottom of this file.
38
+#
39
+######
40
+
41
+def init_model(engine):
42
+    """Call me before using any of the tables or classes in the model."""
43
+    DBSession.configure(bind=engine)
44
+
45
+    # If you are using reflection to introspect your database and create
46
+    # table objects for you, your tables must be defined and mapped inside
47
+    # the init_model function, so that the engine is available if you
48
+    # use the model outside tg2, you need to make sure this is called before
49
+    # you use the model.
50
+
51
+    #
52
+    # See the following example:
53
+
54
+    #global t_reflected
55
+
56
+    #t_reflected = Table("Reflected", metadata,
57
+    #    autoload=True, autoload_with=engine)
58
+
59
+    #mapper(Reflected, t_reflected)
60
+
61
+# Import your model modules here.
62
+from tracim.model.auth import User, Group, Permission
63
+from tracim.model.data import PBNode

+ 269 - 0
tracim/tracim/model/auth.py Просмотреть файл

@@ -0,0 +1,269 @@
1
+# -*- coding: utf-8 -*-
2
+"""
3
+Auth* related model.
4
+
5
+This is where the models used by the authentication stack are defined.
6
+
7
+It's perfectly fine to re-use this definition in the tracim application,
8
+though.
9
+
10
+"""
11
+import os
12
+from datetime import datetime
13
+from hashlib import sha256
14
+from tg.i18n import lazy_ugettext as l_
15
+
16
+__all__ = ['User', 'Group', 'Permission']
17
+
18
+from sqlalchemy import Table, ForeignKey, Column
19
+from sqlalchemy.types import Unicode, Integer, DateTime, Boolean
20
+from sqlalchemy.orm import relation, relationship, synonym
21
+
22
+from tracim.model import DeclarativeBase, metadata, DBSession
23
+
24
+# This is the association table for the many-to-many relationship between
25
+# groups and permissions.
26
+group_permission_table = Table('pod_group_permission', metadata,
27
+    Column('group_id', Integer, ForeignKey('pod_group.group_id',
28
+        onupdate="CASCADE", ondelete="CASCADE"), primary_key=True),
29
+    Column('permission_id', Integer, ForeignKey('pod_permission.permission_id',
30
+        onupdate="CASCADE", ondelete="CASCADE"), primary_key=True)
31
+)
32
+
33
+# This is the association table for the many-to-many relationship between
34
+# groups and members - this is, the memberships.
35
+user_group_table = Table('pod_user_group', metadata,
36
+    Column('user_id', Integer, ForeignKey('pod_user.user_id',
37
+        onupdate="CASCADE", ondelete="CASCADE"), primary_key=True),
38
+    Column('group_id', Integer, ForeignKey('pod_group.group_id',
39
+        onupdate="CASCADE", ondelete="CASCADE"), primary_key=True)
40
+)
41
+
42
+
43
+
44
+
45
+class Rights(DeclarativeBase):
46
+
47
+    READ_ACCESS = 1
48
+    WRITE_ACCESS = 2
49
+
50
+    __tablename__ = 'pod_group_node'
51
+
52
+    group_id = Column(Integer, ForeignKey('pod_group.group_id'), primary_key=True)
53
+    node_id = Column(Integer, ForeignKey('pod_nodes.node_id'), primary_key=True)
54
+    rights = Column(Integer)
55
+
56
+    def hasReadAccess(self):
57
+        return self.rights & Rights.READ_ACCESS
58
+
59
+    def hasWriteAccess(self):
60
+        return self.rights & Rights.WRITE_ACCESS
61
+
62
+
63
+class Group(DeclarativeBase):
64
+
65
+    TIM_NOBODY = 0
66
+    TIM_USER = 1
67
+    TIM_MANAGER = 2
68
+    TIM_ADMIN = 3
69
+
70
+    TIM_NOBODY_GROUPNAME = 'nobody'
71
+    TIM_USER_GROUPNAME = 'users'
72
+    TIM_MANAGER_GROUPNAME = 'managers'
73
+    TIM_ADMIN_GROUPNAME = 'administrators'
74
+
75
+    __tablename__ = 'pod_group'
76
+
77
+    group_id = Column(Integer, autoincrement=True, primary_key=True)
78
+    group_name = Column(Unicode(16), unique=True, nullable=False)
79
+    display_name = Column(Unicode(255))
80
+    created = Column(DateTime, default=datetime.now)
81
+
82
+    users = relationship('User', secondary=user_group_table, backref='groups')
83
+
84
+    _lRights = relationship('Rights', backref='_oGroup', cascade = "all, delete-orphan")
85
+
86
+
87
+
88
+    def __repr__(self):
89
+        return '<Group: name=%s>' % repr(self.group_name)
90
+
91
+    def __unicode__(self):
92
+        return self.group_name
93
+
94
+    @classmethod
95
+    def by_group_name(cls, group_name):
96
+        """Return the user object whose email address is ``email``."""
97
+        return DBSession.query(cls).filter_by(group_name=group_name).first()
98
+
99
+    def getDisplayName(self) -> str:
100
+        if self.group_id<0:
101
+            # FIXME - D.A. - 2014-05-19 - MAKE THIS CODE CLEANER,
102
+            try:
103
+                return self.users[0].get_display_name()
104
+            except:
105
+                print('ERROR GROUP =>', self.group_id)
106
+
107
+
108
+        return self.display_name
109
+
110
+    @property
111
+    def rights(self):
112
+        return self._lRights
113
+
114
+    def hasSomeAccess(self, poNode):
115
+        for loRight in self._lRights:
116
+            if loRight.node_id == poNode.node_id and loRight.rights>0:
117
+                return True
118
+        return False
119
+
120
+
121
+
122
+class Profile(object):
123
+    """ This model is the "max" group associated to a given user
124
+    """
125
+
126
+    _NAME = [Group.TIM_NOBODY_GROUPNAME,
127
+             Group.TIM_USER_GROUPNAME,
128
+             Group.TIM_MANAGER_GROUPNAME,
129
+             Group.TIM_ADMIN_GROUPNAME]
130
+
131
+    _LABEL = [l_('Nobody'),
132
+              l_('Users'),
133
+              l_('Global managers'),
134
+              l_('Administrators')]
135
+
136
+    def __init__(self, profile_id):
137
+        assert isinstance(profile_id, int)
138
+        self.id = profile_id
139
+        self.name = Profile._NAME[profile_id]
140
+        self.label = Profile._LABEL[profile_id]
141
+
142
+
143
+
144
+class User(DeclarativeBase):
145
+    """
146
+    User definition.
147
+
148
+    This is the user definition used by :mod:`repoze.who`, which requires at
149
+    least the ``email_address`` column.
150
+
151
+    """
152
+    __tablename__ = 'pod_user'
153
+
154
+    user_id = Column(Integer, autoincrement=True, primary_key=True)
155
+    email_address = Column(Unicode(255), unique=True, nullable=False)
156
+    display_name = Column(Unicode(255))
157
+    _password = Column('password', Unicode(128))
158
+    created = Column(DateTime, default=datetime.now)
159
+    is_active = Column(Boolean, default=True, nullable=False)
160
+    def __repr__(self):
161
+        return '<User: email=%s, display=%s>' % (
162
+                repr(self.email_address), repr(self.display_name))
163
+
164
+    def __unicode__(self):
165
+        return self.display_name or self.email_address
166
+
167
+    @property
168
+    def permissions(self):
169
+        """Return a set with all permissions granted to the user."""
170
+        perms = set()
171
+        for g in self.groups:
172
+            perms = perms | set(g.permissions)
173
+        return perms
174
+
175
+    @property
176
+    def profile(self) -> Profile:
177
+        profile_id = 0
178
+        if len(self.groups)>0:
179
+            profile_id = max(group.group_id for group in self.groups)
180
+        return Profile(profile_id)
181
+
182
+    @classmethod
183
+    def by_email_address(cls, email):
184
+        """Return the user object whose email address is ``email``."""
185
+        return DBSession.query(cls).filter_by(email_address=email).first()
186
+
187
+    @classmethod
188
+    def by_user_name(cls, username):
189
+        """Return the user object whose user name is ``username``."""
190
+        return DBSession.query(cls).filter_by(email_address=username).first()
191
+
192
+    @classmethod
193
+    def _hash_password(cls, password):
194
+        salt = sha256()
195
+        salt.update(os.urandom(60))
196
+        salt = salt.hexdigest()
197
+
198
+        hash = sha256()
199
+        # Make sure password is a str because we cannot hash unicode objects
200
+        hash.update((password + salt).encode('utf-8'))
201
+        hash = hash.hexdigest()
202
+
203
+        password = salt + hash
204
+
205
+        # Make sure the hashed password is a unicode object at the end of the
206
+        # process because SQLAlchemy _wants_ unicode objects for Unicode cols
207
+        # FIXME - D.A. - 2013-11-20 - The following line has been removed since using python3. Is this normal ?!
208
+        # password = password.decode('utf-8')
209
+
210
+        return password
211
+
212
+    def _set_password(self, password):
213
+        """Hash ``password`` on the fly and store its hashed version."""
214
+        self._password = self._hash_password(password)
215
+
216
+    def _get_password(self):
217
+        """Return the hashed version of the password."""
218
+        return self._password
219
+
220
+    password = synonym('_password', descriptor=property(_get_password,
221
+                                                        _set_password))
222
+
223
+    def validate_password(self, password):
224
+        """
225
+        Check the password against existing credentials.
226
+
227
+        :param password: the password that was provided by the user to
228
+            try and authenticate. This is the clear text version that we will
229
+            need to match against the hashed one in the database.
230
+        :type password: unicode object.
231
+        :return: Whether the password is valid.
232
+        :rtype: bool
233
+
234
+        """
235
+        hash = sha256()
236
+        hash.update((password + self.password[:64]).encode('utf-8'))
237
+        return self.password[64:] == hash.hexdigest()
238
+
239
+    def get_display_name(self):
240
+        if self.display_name!=None and self.display_name!='':
241
+            return self.display_name
242
+        else:
243
+            return self.email_address
244
+
245
+
246
+class Permission(DeclarativeBase):
247
+    """
248
+    Permission definition.
249
+
250
+    Only the ``permission_name`` column is required.
251
+
252
+    """
253
+
254
+    __tablename__ = 'pod_permission'
255
+
256
+
257
+    permission_id = Column(Integer, autoincrement=True, primary_key=True)
258
+    permission_name = Column(Unicode(63), unique=True, nullable=False)
259
+    description = Column(Unicode(255))
260
+
261
+    groups = relation(Group, secondary=group_permission_table,
262
+                      backref='permissions')
263
+
264
+    def __repr__(self):
265
+        return '<Permission: name=%s>' % repr(self.permission_name)
266
+
267
+    def __unicode__(self):
268
+        return self.permission_name
269
+

+ 908 - 0
tracim/tracim/model/data.py Просмотреть файл

@@ -0,0 +1,908 @@
1
+# -*- coding: utf-8 -*-
2
+
3
+from bs4 import BeautifulSoup
4
+
5
+import json
6
+import re
7
+import datetime as datetimeroot
8
+from datetime import datetime
9
+from hashlib import sha256
10
+
11
+from sqlalchemy import Table, ForeignKey, Column, Sequence
12
+import sqlalchemy as sqla
13
+from sqlalchemy.sql.sqltypes import Boolean
14
+from sqlalchemy.types import Unicode, Integer, DateTime, Text, LargeBinary
15
+import sqlalchemy.types as sqlat
16
+from sqlalchemy.ext.orderinglist import ordering_list
17
+from sqlalchemy.orm import relation, synonym, relationship
18
+from sqlalchemy.orm import backref
19
+import sqlalchemy.orm as sqlao
20
+import sqlalchemy.orm.query as sqlaoq
21
+from sqlalchemy import orm as sqlao
22
+from sqlalchemy.ext.hybrid import hybrid_property
23
+
24
+from tg.i18n import ugettext as _, lazy_ugettext as l_
25
+
26
+import tg
27
+from tracim.model import DeclarativeBase, metadata, DBSession
28
+# from tracim.model import auth as pma
29
+
30
+from tracim.model.auth import User
31
+from tracim.model.auth import Rights
32
+from tracim.model.auth import user_group_table
33
+
34
+from tracim.lib.base import current_user
35
+
36
+class BreadcrumbItem(object):
37
+
38
+    def __init__(self, icon_string: str, label: str, url: str, is_active: bool = False):
39
+        """
40
+            A BreadcrumbItem contains minimal information required to build a breadcrumb
41
+            icon_string: this is the Tango related id, eg 'places/remote-folder'
42
+        """
43
+        self.icon = icon_string
44
+        self.label = label
45
+        self.url = url
46
+        self.is_active =is_active
47
+
48
+class Workspace(DeclarativeBase):
49
+
50
+    __tablename__ = 'pod_workspaces'
51
+
52
+    workspace_id = Column(Integer, Sequence('pod_workspaces__workspace_id__sequence'), primary_key=True)
53
+
54
+    data_label   = Column(Unicode(1024), unique=False, nullable=False, default='')
55
+    data_comment = Column(Text(),        unique=False, nullable=False, default='')
56
+
57
+    created_at = Column(DateTime, unique=False, nullable=False)
58
+    updated_at = Column(DateTime, unique=False, nullable=False)
59
+
60
+    is_deleted = Column(sqlat.Boolean, unique=False, nullable=False, default=False)
61
+
62
+    def get_user_role(self, user: User) -> int:
63
+        for role in user.roles:
64
+            if role.workspace.workspace_id==self.workspace_id:
65
+                return role.role
66
+        return UserRoleInWorkspace.NOT_APPLICABLE
67
+
68
+
69
+
70
+class UserRoleInWorkspace(DeclarativeBase):
71
+
72
+    __tablename__ = 'pod_user_workspace'
73
+
74
+    user_id = Column(Integer, ForeignKey('pod_user.user_id'), nullable=False, default=None, primary_key=True)
75
+    workspace_id = Column(Integer, ForeignKey('pod_workspaces.workspace_id'), nullable=False, default=None, primary_key=True)
76
+    role = Column(Integer, nullable=False, default=0, primary_key=False)
77
+
78
+    workspace = relationship('Workspace', remote_side=[Workspace.workspace_id], backref='roles', lazy='joined')
79
+    user = relationship('User', remote_side=[User.user_id], backref='roles')
80
+
81
+    NOT_APPLICABLE = 0
82
+    READER = 1
83
+    CONTRIBUTOR = 2
84
+    CONTENT_MANAGER = 4
85
+    WORKSPACE_MANAGER = 8
86
+
87
+    LABEL = dict()
88
+    LABEL[0] = l_('N/A')
89
+    LABEL[1] = l_('Reader')
90
+    LABEL[2] = l_('Contributor')
91
+    LABEL[4] = l_('Content Manager')
92
+    LABEL[8] = l_('Workspace Manager')
93
+
94
+    STYLE = dict()
95
+    STYLE[0] = ''
96
+    STYLE[1] = 'color: #1fdb11;'
97
+    STYLE[2] = 'color: #759ac5;'
98
+    STYLE[4] = 'color: #ea983d;'
99
+    STYLE[8] = 'color: #F00;'
100
+
101
+
102
+    @property
103
+    def style(self):
104
+        return UserRoleInWorkspace.STYLE[self.role]
105
+
106
+    def role_as_label(self):
107
+        return UserRoleInWorkspace.LABEL[self.role]
108
+
109
+    @classmethod
110
+    def get_all_role_values(self):
111
+        return [
112
+            UserRoleInWorkspace.READER,
113
+            UserRoleInWorkspace.CONTRIBUTOR,
114
+            UserRoleInWorkspace.CONTENT_MANAGER,
115
+            UserRoleInWorkspace.WORKSPACE_MANAGER
116
+        ]
117
+
118
+class RoleType(object):
119
+    def __init__(self, role_id):
120
+        self.role_type_id = role_id
121
+        self.role_label = UserRoleInWorkspace.LABEL[role_id]
122
+        self.css_style = UserRoleInWorkspace.STYLE[role_id]
123
+
124
+
125
+class LinkItem(object):
126
+    def __init__(self, href, label):
127
+        self.href = href
128
+        self.label = label
129
+
130
+class ActionDescription(object):
131
+    """
132
+    Allowed status are:
133
+    - open
134
+    - closed-validated
135
+    - closed-invalidated
136
+    - closed-deprecated
137
+    """
138
+
139
+    ARCHIVING = 'archiving'
140
+    COMMENT = 'content-comment'
141
+    CREATION = 'creation'
142
+    DELETION = 'deletion'
143
+    EDITION = 'edition' # Default action if unknow
144
+    REVISION = 'revision'
145
+    STATUS_UPDATE = 'status-update'
146
+    UNARCHIVING = 'unarchiving'
147
+    UNDELETION = 'undeletion'
148
+
149
+    _ICONS = {
150
+        'archiving': 'mimetypes/package-x-generic',
151
+        'content-comment': 'apps/internet-group-chat',
152
+        'creation': 'apps/accessories-text-editor',
153
+        'deletion': 'status/user-trash-full',
154
+        'edition': 'apps/accessories-text-editor',
155
+        'revision': 'apps/accessories-text-editor',
156
+        'status-update': 'apps/utilities-system-monitor',
157
+        'unarchiving': 'mimetypes/package-x-generic',
158
+        'undeletion': 'places/user-trash'
159
+    }
160
+
161
+    _LABELS = {
162
+        'archiving': l_('Item archived'),
163
+        'content-comment': l_('Item commented'),
164
+        'creation': l_('Item created'),
165
+        'deletion': l_('Item deleted'),
166
+        'edition': l_('Item modified'),
167
+        'revision': l_('New revision'),
168
+        'status-update': l_('Status modified'),
169
+        'unarchiving': l_('Item un-archived'),
170
+        'undeletion': l_('Item undeleted'),
171
+    }
172
+
173
+
174
+    def __init__(self, id):
175
+        assert id in ActionDescription.allowed_values()
176
+        self.id = id
177
+        self.label = ''
178
+        self.icon = ActionDescription._ICONS[id]
179
+
180
+    @classmethod
181
+    def allowed_values(cls):
182
+        return [cls.ARCHIVING,
183
+                cls.COMMENT,
184
+                cls.CREATION,
185
+                cls.DELETION,
186
+                cls.EDITION,
187
+                cls.REVISION,
188
+                cls.STATUS_UPDATE,
189
+                cls.UNARCHIVING,
190
+                cls.UNDELETION]
191
+
192
+
193
+class ContentStatus(object):
194
+    """
195
+    Allowed status are:
196
+    - open
197
+    - closed-validated
198
+    - closed-invalidated
199
+    - closed-deprecated
200
+    """
201
+
202
+    OPEN = 'open'
203
+    CLOSED_VALIDATED = 'closed-validated'
204
+    CLOSED_UNVALIDATED = 'closed-unvalidated'
205
+    CLOSED_DEPRECATED = 'closed-deprecated'
206
+
207
+    _LABELS = {'open': l_('work in progress'),
208
+               'closed-validated': l_('closed — validated'),
209
+               'closed-unvalidated': l_('closed — cancelled'),
210
+               'closed-deprecated': l_('deprecated')}
211
+
212
+    _LABELS_THREAD = {'open': l_('subject in progress'),
213
+                      'closed-validated': l_('subject closed — resolved'),
214
+                      'closed-unvalidated': l_('subject closed — cancelled'),
215
+                      'closed-deprecated': l_('deprecated')}
216
+
217
+    _LABELS_FILE = {'open': l_('work in progress'),
218
+                    'closed-validated': l_('closed — validated'),
219
+                    'closed-unvalidated': l_('closed — cancelled'),
220
+                    'closed-deprecated': l_('deprecated')}
221
+
222
+    _ICONS = {
223
+        'open': 'status/status-open',
224
+        'closed-validated': 'emblems/emblem-checked',
225
+        'closed-unvalidated': 'emblems/emblem-unreadable',
226
+        'closed-deprecated': 'status/status-outdated',
227
+    }
228
+
229
+    _CSS = {
230
+        'open': 'tracim-status-open',
231
+        'closed-validated': 'tracim-status-closed-validated',
232
+        'closed-unvalidated': 'tracim-status-closed-unvalidated',
233
+        'closed-deprecated': 'tracim-status-closed-deprecated',
234
+    }
235
+
236
+    def __init__(self, id, node_type=''):
237
+        self.id = id
238
+        print('ID', id)
239
+        self.icon = ContentStatus._ICONS[id]
240
+        self.css = ContentStatus._CSS[id]
241
+
242
+        if node_type==PBNodeType.Thread:
243
+            self.label = ContentStatus._LABELS_THREAD[id]
244
+        elif node_type==PBNodeType.File:
245
+            self.label = ContentStatus._LABELS_FILE[id]
246
+        else:
247
+            self.label = ContentStatus._LABELS[id]
248
+
249
+
250
+    @classmethod
251
+    def all(cls, node_type='') -> ['ContentStatus']:
252
+        all = []
253
+        all.append(ContentStatus('open', node_type))
254
+        all.append(ContentStatus('closed-validated', node_type))
255
+        all.append(ContentStatus('closed-unvalidated', node_type))
256
+        all.append(ContentStatus('closed-deprecated', node_type))
257
+        return all
258
+
259
+    @classmethod
260
+    def allowed_values(cls):
261
+        return ContentStatus._LABELS.keys()
262
+
263
+class PBNodeStatusItem(object):
264
+  def __init__(self, psStatusId, psStatusLabel, psStatusFamily, psIconId, psCssClass): #, psBackgroundColor):
265
+    self._sStatusId     = psStatusId
266
+    self._sStatusLabel  = psStatusLabel
267
+    self._sStatusFamily = psStatusFamily
268
+    self._sIconId   = psIconId
269
+    self._sCssClass = psCssClass
270
+    # self._sBackgroundColor = psBackgroundColor
271
+  
272
+  def getLabel(self):
273
+    return self._sStatusLabel
274
+    
275
+  @property
276
+  def status_family(self):
277
+    return self._sStatusFamily
278
+    
279
+  @property
280
+  def icon(self):
281
+    return self._sIconId
282
+    
283
+  def getId(self):
284
+    return self._sStatusId
285
+
286
+  @property
287
+  def css(self):
288
+    return self._sCssClass
289
+
290
+  @property
291
+  def status_id(self):
292
+    return self._sStatusId
293
+    
294
+  @property
295
+  def icon_id(self):
296
+    return self._sIconId
297
+
298
+  @property
299
+  def label(self):
300
+    return self._sStatusLabel
301
+
302
+class PBNodeStatus(object):
303
+    
304
+  StatusList = dict()
305
+  StatusList['information'] = PBNodeStatusItem('information', 'Information',         'normal', 'fa fa-info-circle',            'tracim-status-grey-light')
306
+  StatusList['automatic']   = PBNodeStatusItem('automatic',   'Automatic',           'open',   'fa fa-flash',                  'tracim-status-grey-light')
307
+  StatusList['new']         = PBNodeStatusItem('new',         'New',                 'open',   'fa fa-lightbulb-o fa-inverse', 'btn-success')
308
+  StatusList['inprogress']  = PBNodeStatusItem('inprogress',  'In progress',         'open',   'fa fa-gears fa-inverse',       'btn-info')
309
+  StatusList['standby']     = PBNodeStatusItem('standby',     'In standby',          'open',   'fa fa-spinner fa-inverse',     'btn-warning')
310
+  StatusList['done']        = PBNodeStatusItem('done',        'Done',                'closed', 'fa fa-check-square-o',         'tracim-status-grey-light')
311
+  StatusList['closed']      = PBNodeStatusItem('closed',      'Closed',              'closed', 'fa fa-lightbulb-o',            'tracim-status-grey-middle')
312
+  StatusList['deleted']     = PBNodeStatusItem('deleted',     'Deleted',             'closed', 'fa fa-trash-o',                'tracim-status-grey-dark')
313
+
314
+  @classmethod
315
+  def getChoosableList(cls):
316
+    return [
317
+      PBNodeStatus.StatusList['information'],
318
+      PBNodeStatus.StatusList['automatic'],
319
+      PBNodeStatus.StatusList['new'],
320
+      PBNodeStatus.StatusList['inprogress'],
321
+      PBNodeStatus.StatusList['standby'],
322
+      PBNodeStatus.StatusList['done'],
323
+      PBNodeStatus.StatusList['closed'],
324
+    ]
325
+
326
+  @classmethod
327
+  def getVisibleIdsList(cls):
328
+    return ['information', 'automatic', 'new', 'inprogress', 'standby', 'done' ]
329
+
330
+  @classmethod
331
+  def getVisibleList(cls):
332
+    return [
333
+      PBNodeStatus.StatusList['information'],
334
+      PBNodeStatus.StatusList['automatic'],
335
+      PBNodeStatus.StatusList['new'],
336
+      PBNodeStatus.StatusList['inprogress'],
337
+      PBNodeStatus.StatusList['standby'],
338
+      PBNodeStatus.StatusList['done'],
339
+    ]
340
+
341
+  @classmethod
342
+  def getList(cls):
343
+    return [
344
+      PBNodeStatus.StatusList['information'],
345
+      PBNodeStatus.StatusList['automatic'],
346
+      PBNodeStatus.StatusList['new'],
347
+      PBNodeStatus.StatusList['inprogress'],
348
+      PBNodeStatus.StatusList['standby'],
349
+      PBNodeStatus.StatusList['done'],
350
+      PBNodeStatus.StatusList['closed'],
351
+      PBNodeStatus.StatusList['deleted']
352
+    ]
353
+
354
+    
355
+  @classmethod
356
+  def getStatusItem(cls, psStatusId):
357
+    return PBNodeStatus.StatusList[psStatusId]
358
+
359
+class PBNodeType(object):
360
+    Any = 'any'
361
+
362
+    Folder  = 'folder'
363
+    File    = 'file'
364
+    Comment = 'comment'
365
+    Thread = 'thread'
366
+    Page = 'page'
367
+
368
+    # Obsolete ones - to be removed
369
+    Node    = 'node'
370
+    Data    = 'data'
371
+    Event   = 'event'
372
+    Contact = 'contact'
373
+
374
+    # Fake types, used for breadcrumb only
375
+    FAKE_Dashboard = 'dashboard'
376
+    FAKE_Workspace = 'workspace'
377
+
378
+    _STRING_LIST_SEPARATOR = ','
379
+
380
+    _ICONS = {
381
+        'dashboard': 'places/user-desktop',
382
+        'workspace': 'places/folder-remote',
383
+        'folder': 'places/jstree-folder',
384
+        'file': 'mimetypes/text-x-generic-template',
385
+        'page': 'mimetypes/text-html',
386
+        'thread': 'apps/internet-group-chat',
387
+        'comment': 'apps/internet-group-chat',
388
+    }
389
+
390
+    @classmethod
391
+    def icon(cls, type: str):
392
+        assert(type in PBNodeType._ICONS) # DYN_REMOVE
393
+        return PBNodeType._ICONS[type]
394
+
395
+    @classmethod
396
+    def allowed_types(cls):
397
+        return [cls.Folder, cls.File, cls.Comment, cls.Thread, cls.Page]
398
+
399
+    @classmethod
400
+    def allowed_types_from_str(cls, allowed_types_as_string: str):
401
+        allowed_types = []
402
+        # HACK - THIS
403
+        for item in allowed_types_as_string.split(PBNodeType._STRING_LIST_SEPARATOR):
404
+            if item and item in PBNodeType.allowed_types():
405
+                allowed_types.append(item)
406
+        return allowed_types
407
+
408
+MINIMUM_DATE = datetimeroot.date(datetimeroot.MINYEAR, 1, 1)
409
+
410
+class PBNode(DeclarativeBase):
411
+
412
+    #def __init__(self):
413
+    #  self._lStaticChildList = []
414
+
415
+    @sqlao.reconstructor
416
+    def init_on_load(self):
417
+      self._lStaticChildList = []
418
+
419
+    def appendStaticChild(self, loNode):
420
+        print("%s has child %s" % (self.node_id, loNode.node_id))
421
+        self._lStaticChildList.append(loNode)
422
+
423
+    def getStaticChildList(self):
424
+        return self._lStaticChildList
425
+
426
+    def getStaticChildNb(self):
427
+        return len(self._lStaticChildList)
428
+
429
+    __tablename__ = 'pod_nodes'
430
+
431
+    revision_to_serialize = -0  # This flag allow to serialize a given revision if required by the user
432
+
433
+    node_id          = Column(Integer, Sequence('pod_nodes__node_id__sequence'), primary_key=True)
434
+    parent_id        = Column(Integer, ForeignKey('pod_nodes.node_id'), nullable=True, default=None)
435
+    node_depth       = Column(Integer, unique=False, nullable=False, default=0)
436
+    parent_tree_path = Column(Unicode(255), unique=False, nullable=False, default='')
437
+    owner_id         = Column(Integer, ForeignKey('pod_user.user_id'), nullable=True, default=None)
438
+
439
+    node_order   = Column(Integer, nullable=True, default=1)
440
+    node_type    = Column(Unicode(32), unique=False, nullable=False)
441
+    node_status = Column(Unicode(32), unique=False, nullable=False, default=ContentStatus.OPEN)
442
+
443
+    created_at = Column(DateTime, unique=False, nullable=False)
444
+    updated_at = Column(DateTime, unique=False, nullable=False)
445
+
446
+    workspace_id = Column(Integer, ForeignKey('pod_workspaces.workspace_id'), unique=False, nullable=True)
447
+
448
+    workspace = relationship('Workspace', remote_side=[Workspace.workspace_id], backref='contents')
449
+
450
+
451
+    is_deleted = Column(sqlat.Boolean, unique=False, nullable=False, default=False)
452
+    is_archived = Column(sqlat.Boolean, unique=False, nullable=False, default=False)
453
+
454
+    is_shared = Column(sqlat.Boolean, unique=False, nullable=False, default=False)
455
+    is_public = Column(sqlat.Boolean, unique=False, nullable=False, default=False)
456
+    public_url_key = Column(Unicode(1024), unique=False, nullable=False, default='')
457
+
458
+    data_label = Column(Unicode(1024), unique=False, nullable=False, default='')
459
+    data_content = Column(Text(), unique=False, nullable=False, default='')
460
+    _properties = Column('properties', Text(), unique=False, nullable=False, default='')
461
+
462
+    data_datetime = Column(DateTime, unique=False, nullable=False)
463
+    data_reminder_datetime = Column(DateTime, unique=False, nullable=True)
464
+
465
+    data_file_name = Column(Unicode(255),  unique=False, nullable=False, default='')
466
+    data_file_mime_type = Column(Unicode(255),  unique=False, nullable=False, default='')
467
+    data_file_content = sqlao.deferred(Column(LargeBinary(), unique=False, nullable=False, default=None))
468
+
469
+    last_action = Column(Unicode(32), unique=False, nullable=False, default='')
470
+
471
+    _lRights = relationship('Rights', backref='_oNode', cascade = "all, delete-orphan")
472
+
473
+    parent = relationship('PBNode', remote_side=[node_id], backref='children')
474
+    owner = relationship('User', remote_side=[User.user_id], backref='_lAllNodes')
475
+
476
+    @hybrid_property
477
+    def _lAllChildren(self):
478
+        # for backward compatibility method
479
+        return self.children
480
+
481
+    @property
482
+    def _oOwner(self):
483
+        # for backward compatibility method
484
+        return self.owner
485
+
486
+    @property
487
+    def _oParent(self):
488
+        # for backward compatibility method
489
+        return self.parent
490
+
491
+    @hybrid_property
492
+    def properties(self):
493
+        """ return a structure decoded from json content of _properties """
494
+        if not self._properties:
495
+            ContentChecker.reset_properties(self)
496
+        return json.loads(self._properties)
497
+
498
+    @properties.setter
499
+    def properties(self, properties_struct):
500
+        """ encode a given structure into json and store it in _properties attribute"""
501
+        self._properties = json.dumps(properties_struct)
502
+        ContentChecker.check_properties(self)
503
+
504
+    def extract_links_from_content(self, other_content: str=None) -> [LinkItem]:
505
+        """
506
+        parse html content and extract links. By default, it works on the data_content property
507
+        :param other_content: if not empty, then parse the given html content instead of data_content
508
+        :return: a list of LinkItem
509
+        """
510
+        links = []
511
+        soup = BeautifulSoup(self.data_content if not other_content else other_content)
512
+        for link in soup.findAll('a'):
513
+            href = link.get('href')
514
+            print(href)
515
+            label = link.contents
516
+            links.append(LinkItem(href, label))
517
+        links.sort(key=lambda link: link.href if link.href else '')
518
+
519
+        sorted_links = sorted(links, key=lambda link: link.label if link.label else link.href, reverse=True)
520
+        ## FIXME - Does this return a sorted list ???!
521
+        return sorted_links
522
+
523
+
524
+    def getChildrenOfType(self, plNodeTypeList, poKeySortingMethod=None, pbDoReverseSorting=False):
525
+        """return all children nodes of type 'data' or 'node' or 'folder'"""
526
+        llChildren = []
527
+        user_id = current_user().user_id
528
+        llChildren = DBSession.query(PBNode).outerjoin(Rights)\
529
+                .outerjoin(user_group_table, Rights.group_id==user_group_table.columns['group_id'])\
530
+                .filter(PBNode.parent_id==self.node_id)\
531
+                .filter((PBNode.owner_id==user_id) | ((user_group_table.c.user_id==user_id) & (PBNode.is_shared == True)))\
532
+                .filter(PBNode.node_type.in_(plNodeTypeList))\
533
+                .all()
534
+        if poKeySortingMethod!=None:
535
+          llChildren = sorted(llChildren, key=poKeySortingMethod, reverse=pbDoReverseSorting)
536
+        return llChildren
537
+
538
+    def get_child_nb(self, content_type: PBNodeType, content_status = ''):
539
+        # V2 method - to keep
540
+        child_nb = 0
541
+        for child in self._lAllChildren:
542
+            if child.node_type==content_type:
543
+                if not content_status:
544
+                    child_nb = child_nb+1
545
+                elif content_status==child.node_status:
546
+                    child_nb = child_nb+1
547
+        return child_nb
548
+
549
+    def get_status(self) -> ContentStatus:
550
+        return ContentStatus(self.node_status, self.node_type.__str__())
551
+
552
+    def get_last_action(self) -> ActionDescription:
553
+        return ActionDescription(self.last_action)
554
+
555
+    def get_comments(self):
556
+        children = []
557
+        for child in self.children:
558
+            if child.node_type==PBNodeType.Comment:
559
+                children.append(child)
560
+        return children
561
+
562
+
563
+
564
+
565
+
566
+    def getChildNb(self):
567
+        return self.getChildNbOfType([PBNodeType.Data])
568
+
569
+    def getGroupsWithSomeAccess(self):
570
+        llRights = []
571
+        for loRight in self._lRights:
572
+            if loRight.rights>0:
573
+                llRights.append(loRight)
574
+        return llRights
575
+
576
+    def getChildren(self, pbIncludeDeleted=False):
577
+        """return all children nodes of type 'data' or 'node' or 'folder'"""
578
+        # return self.getChildrenOfType([PBNodeType.Node, PBNodeType.Folder, PBNodeType.Data])
579
+        items = self.getChildrenOfType([PBNodeType.Node, PBNodeType.Folder, PBNodeType.Data])
580
+        items2 = list()
581
+        for item in items:
582
+            if pbIncludeDeleted==True or item.node_status!='deleted':
583
+                items2.append(item)
584
+        return items2
585
+
586
+    def getContacts(self):
587
+        """return all children nodes of type 'data' or 'node' or 'folder'"""
588
+        return self.getChildrenOfType([PBNodeType.Contact], PBNode.getSortingKeyForContact)
589
+
590
+    def getContactNb(self):
591
+        """return all children nodes of type 'data' or 'node' or 'folder'"""
592
+        return self.getChildNbOfType([PBNodeType.Contact])
593
+
594
+    @classmethod
595
+    def getSortingKeyBasedOnDataDatetime(cls, poDataNode):
596
+        return poDataNode.data_datetime or MINIMUM_DATE
597
+    
598
+    @classmethod
599
+    def getSortingKeyForContact(cls, poDataNode):
600
+        return poDataNode.data_label or ''
601
+
602
+    @classmethod
603
+    def getSortingKeyForComment(cls, poDataNode):
604
+        return poDataNode.data_datetime or ''
605
+
606
+    def getEvents(self):
607
+        return self.getChildrenOfType([PBNodeType.Event], PBNode.getSortingKeyBasedOnDataDatetime, True)
608
+    
609
+    def getFiles(self):
610
+        return self.getChildrenOfType([PBNodeType.File])
611
+
612
+    def getIconClass(self):
613
+        if self.node_type==PBNodeType.Data and self.getStaticChildNb()>0:
614
+            return PBNode.getIconClassForNodeType('folder')
615
+        else:
616
+            return PBNode.getIconClassForNodeType(self.node_type)
617
+
618
+    def getBreadCrumbNodes(self) -> list('PBNode'):
619
+        loNodes = []
620
+        if self._oParent!=None:
621
+            loNodes = self._oParent.getBreadCrumbNodes()
622
+            loNodes.append(self._oParent)
623
+        return loNodes
624
+
625
+    def getContentWithHighlightedKeywords(self, plKeywords, psPlainText):
626
+        if len(plKeywords)<=0:
627
+            return psPlainText
628
+
629
+        lsPlainText = psPlainText
630
+
631
+        for lsKeyword in plKeywords:
632
+            lsPlainText = re.sub('(?i)(%s)' % lsKeyword, '<strong>\\1</strong>', lsPlainText)
633
+
634
+        return lsPlainText
635
+
636
+
637
+    @classmethod
638
+    def getIconClassForNodeType(cls, psIconType):
639
+        laIconClass = dict()
640
+        laIconClass['node']   = 'fa fa-folder-open'
641
+        laIconClass['folder'] = 'fa fa-folder-open'
642
+        laIconClass['data']   = 'fa fa-file-text-o'
643
+
644
+        laIconClass['file']   = 'fa fa-paperclip'
645
+        laIconClass['event']  = 'fa fa-calendar'
646
+        laIconClass['contact'] = 'fa fa-user'
647
+        laIconClass['comment'] = 'fa fa-comments-o'
648
+        return laIconClass[psIconType]
649
+
650
+
651
+    def getUserFriendlyNodeType(self):
652
+        laNodeTypesLng = dict()
653
+        laNodeTypesLng['node']   = 'Document' # FIXME - D.A. - 2013-11-14 - Make text translatable
654
+        laNodeTypesLng['folder'] = 'Document'
655
+        laNodeTypesLng['data']   = 'Document'
656
+
657
+        laNodeTypesLng['file']   = 'File'
658
+        laNodeTypesLng['event']  = 'Event'
659
+        laNodeTypesLng['contact'] = 'Contact'
660
+        laNodeTypesLng['comment'] = 'Comment'
661
+
662
+        if self.node_type==PBNodeType.Data and self.getStaticChildNb()>0:
663
+            return laNodeTypesLng['folder']
664
+        else:
665
+            return laNodeTypesLng[self.node_type]
666
+
667
+    
668
+    def getFormattedDateTime(self, poDateTime, psDateTimeFormat = '%d/%m/%Y ~ %H:%M'):
669
+        return poDateTime.strftime(psDateTimeFormat)
670
+
671
+    def getFormattedDate(self, poDateTime, psDateTimeFormat = '%d/%m/%Y'):
672
+        return poDateTime.strftime(psDateTimeFormat)
673
+
674
+    def getFormattedTime(self, poDateTime, psDateTimeFormat = '%H:%M'):
675
+        return poDateTime.strftime(psDateTimeFormat)
676
+
677
+    def getStatus(self) -> PBNodeStatusItem:
678
+        loStatus = PBNodeStatus.getStatusItem(self.node_status)
679
+        if loStatus.status_id!='automatic':
680
+            return loStatus
681
+
682
+        # default case
683
+        # Compute the status:
684
+        # - if at least one child is 'new' or 'in progress' or 'in standby' => status is inprogress
685
+        # - else if all status are 'done', 'closed' or 'deleted' => 'done'
686
+        lsRealStatusId = 'done'
687
+        for loChild in self.getChildren():
688
+            if loChild.getStatus().status_id in ('new', 'inprogress', 'standby'):
689
+                lsRealStatusId = 'inprogress'
690
+                break
691
+        return PBNodeStatus.getStatusItem(lsRealStatusId)
692
+
693
+    def getTruncatedLabel(self, piCharNb: int):
694
+        """
695
+        return a truncated version of the data_label property.
696
+        if piCharNb is not > 0, then the full data_label is returned
697
+        note: if the node is a file and the data_label is empty, the file name is returned
698
+        """
699
+        lsTruncatedLabel = self.data_label
700
+
701
+        # 2014-05-06 - D.A. - HACK
702
+        # if the node is a file and label empty, then use the filename as data_label
703
+        if self.node_type==PBNodeType.File and lsTruncatedLabel=='':
704
+            lsTruncatedLabel = self.data_file_name
705
+
706
+        liMaxLength = int(piCharNb)
707
+        if liMaxLength>0 and len(lsTruncatedLabel)>liMaxLength:
708
+            lsTruncatedLabel = lsTruncatedLabel[0:liMaxLength-1]+'…'
709
+
710
+        if lsTruncatedLabel=='':
711
+            lsTruncatedLabel = _('Titleless Document')
712
+
713
+        return lsTruncatedLabel
714
+
715
+    def getTruncatedContentAsText(self, piCharNb):
716
+        lsPlainText = ''.join(BeautifulSoup(self.data_content).findAll(text=True))
717
+        lsTruncatedContent = ''
718
+
719
+        liMaxLength = int(piCharNb)
720
+        if len(lsPlainText)>liMaxLength:
721
+            lsTruncatedContent = lsPlainText[0:liMaxLength-1]+'…'
722
+        else:
723
+            lsTruncatedContent = lsPlainText
724
+        return lsTruncatedContent
725
+
726
+    def getTagList(self):
727
+        loPattern = re.compile('(^|\s|@)@(\w+)')
728
+        loResults = re.findall(loPattern, self.data_content)
729
+        lsResultList = []
730
+        for loResult in loResults:
731
+            lsResultList.append(loResult[1].replace('@', '').replace('_', ' '))
732
+        return lsResultList
733
+
734
+    @classmethod
735
+    def addTagReplacement(cls, matchobj):
736
+        return " <span class='badge'>%s</span> " %(matchobj.group(0).replace('@', '').replace('_', ' '))
737
+
738
+    @classmethod
739
+    def addDocLinkReplacement(cls, matchobj):
740
+        return " <a href='%s'>%s</a> " %(tg.url('/dashboard?node=%s')%(matchobj.group(1)), matchobj.group(0))
741
+
742
+    def getContentWithTags(self):
743
+        lsTemporaryResult = re.sub('(^|\s)@@(\w+)', '', self.data_content) # tags with @@ are explicitly removed from the body
744
+        lsTemporaryResult = re.sub('#([0-9]*)', PBNode.addDocLinkReplacement, lsTemporaryResult) # tags with @@ are explicitly removed from the body
745
+        return re.sub('(^|\s)@(\w+)', PBNode.addTagReplacement, lsTemporaryResult) # then, 'normal tags are transformed as labels'
746
+        # FIXME - D.A. - 2013-09-12
747
+        # Does not match @@ at end of content.
748
+  
749
+    def getHistory(self):
750
+        return DBSession.execute("select node_id, version_id, created_at from pod_nodes_history where node_id = :node_id order by created_at desc", {"node_id":self.node_id}).fetchall()
751
+
752
+
753
+class ContentChecker(object):
754
+
755
+    @classmethod
756
+    def check_properties(cls, item: PBNode):
757
+        if item.node_type==PBNodeType.Folder:
758
+            properties = item.properties
759
+            if 'allowed_content' not in properties.keys():
760
+                return False
761
+            if 'folders' not in properties['allowed_content']:
762
+                return False
763
+            if 'files' not in properties['allowed_content']:
764
+                return False
765
+            if 'pages' not in properties['allowed_content']:
766
+                return False
767
+            if 'threads' not in properties['allowed_content']:
768
+                return False
769
+
770
+            return True
771
+
772
+        raise NotImplementedError
773
+
774
+    @classmethod
775
+    def reset_properties(cls, item: PBNode):
776
+        if item.node_type==PBNodeType.Folder:
777
+            item.properties = dict(
778
+                allowed_content = dict (
779
+                    folder = True,
780
+                    file = True,
781
+                    page = True,
782
+                    thread = True
783
+                )
784
+            )
785
+            return
786
+
787
+        print('NODE TYPE', item.node_type)
788
+        raise NotImplementedError
789
+
790
+class ContentRevisionRO(DeclarativeBase):
791
+
792
+    __tablename__ = 'pod_nodes_history'
793
+
794
+    version_id = Column(Integer, primary_key=True)
795
+    node_id = Column(Integer, ForeignKey('pod_nodes.node_id'))
796
+    # parent_id = Column(Integer, ForeignKey('pod_nodes.node_id'), nullable=True)
797
+    owner_id = Column(Integer, ForeignKey('pod_user.user_id'), nullable=True)
798
+    data_label = Column(Unicode(1024), unique=False, nullable=False)
799
+    data_content = Column(Text(), unique=False, nullable=False, default='')
800
+    data_file_name = Column(Unicode(255),  unique=False, nullable=False, default='')
801
+    data_file_mime_type = Column(Unicode(255),  unique=False, nullable=False, default='')
802
+    data_file_content = sqlao.deferred(Column(LargeBinary(), unique=False, nullable=False, default=None))
803
+
804
+    node_status = Column(Unicode(32), unique=False, nullable=False)
805
+    created_at = Column(DateTime, unique=False, nullable=False)
806
+    updated_at = Column(DateTime, unique=False, nullable=False)
807
+    is_deleted = Column(sqlat.Boolean, unique=False, nullable=False)
808
+    is_archived = Column(sqlat.Boolean, unique=False, nullable=False)
809
+    last_action = Column(Unicode(32), unique=False, nullable=False, default='')
810
+
811
+    workspace_id = Column(Integer, ForeignKey('pod_workspaces.workspace_id'), unique=False, nullable=True)
812
+    workspace = relationship('Workspace', remote_side=[Workspace.workspace_id])
813
+
814
+    node = relationship('PBNode', remote_side=[PBNode.node_id], backref='revisions')
815
+    owner = relationship('User', remote_side=[User.user_id])
816
+    # parent = relationship('PBNode', remote_side=[PBNode.node_id])
817
+
818
+    def get_status(self):
819
+        return ContentStatus(self.node_status)
820
+
821
+    def get_last_action(self) -> ActionDescription:
822
+        return ActionDescription(self.last_action)
823
+
824
+
825
+class NodeTreeItem(object):
826
+    """
827
+        This class implements a model that allow to simply represents the left-panel menu items
828
+         This model is used by dbapi but is not directly related to sqlalchemy and database
829
+    """
830
+    def __init__(self, node: PBNode, children: list('NodeTreeItem'), is_selected = False):
831
+        self.node = node
832
+        self.children = children
833
+        self.is_selected = is_selected
834
+
835
+
836
+
837
+
838
+#####
839
+#
840
+# HACK - 2014-05-21 - D.A
841
+#
842
+# The following hack is a horrible piece of code that allow to map a raw SQL select to a mapped class
843
+#
844
+class DIRTY_GroupRightsOnNode(object):
845
+    def hasSomeAccess(self):
846
+        return self.rights >= Rights.READ_ACCESS
847
+
848
+    def hasReadAccess(self):
849
+        return self.rights & Rights.READ_ACCESS
850
+
851
+    def hasWriteAccess(self):
852
+        return self.rights & Rights.WRITE_ACCESS
853
+
854
+DIRTY_group_rights_on_node_query = Table('fake_table', metadata,
855
+    Column('group_id', Integer, primary_key=True),
856
+    Column('node_id', Integer, primary_key=True),
857
+
858
+    Column('display_name', Unicode(255)),
859
+    Column('personnal_group', Boolean),
860
+    Column('rights', Integer, primary_key=True)
861
+)
862
+
863
+DIRTY_UserDedicatedGroupRightOnNodeSqlQuery = """
864
+SELECT
865
+    COALESCE(NULLIF(pg.display_name, ''), pu.display_name) AS display_name,
866
+    pg.personnal_group,
867
+    pg.group_id,
868
+    :node_id AS node_id,
869
+    COALESCE(pgn.rights, 0) AS rights
870
+FROM
871
+    pod_group AS pg
872
+    LEFT JOIN
873
+        pod_group_node AS pgn
874
+    ON
875
+        pg.group_id=pgn.group_id
876
+        AND pgn.node_id=:node_id
877
+    LEFT JOIN
878
+        pod_user AS pu
879
+    ON
880
+        pu.user_id=-pg.group_id
881
+WHERE
882
+    pg.personnal_group='t'
883
+ORDER BY
884
+    display_name
885
+;"""
886
+
887
+DIRTY_RealGroupRightOnNodeSqlQuery = """
888
+SELECT
889
+    pg.display_name AS display_name,
890
+    pg.personnal_group,
891
+    pg.group_id,
892
+    :node_id AS node_id,
893
+    COALESCE(pgn.rights, 0) AS rights
894
+FROM
895
+    pod_group AS pg
896
+    LEFT JOIN
897
+        pod_group_node AS pgn
898
+    ON
899
+        pg.group_id=pgn.group_id
900
+        AND pgn.node_id=:node_id
901
+WHERE
902
+    pg.personnal_group!='t'
903
+ORDER BY
904
+    display_name
905
+;"""
906
+
907
+sqlao.mapper(DIRTY_GroupRightsOnNode, DIRTY_group_rights_on_node_query)
908
+

+ 22 - 0
tracim/tracim/model/model.template Просмотреть файл

@@ -0,0 +1,22 @@
1
+# -*- coding: utf-8 -*-
2
+"""Sample model module."""
3
+
4
+from sqlalchemy import *
5
+from sqlalchemy.orm import mapper, relation
6
+from sqlalchemy import Table, ForeignKey, Column
7
+from sqlalchemy.types import Integer, Unicode
8
+#from sqlalchemy.orm import relation, backref
9
+
10
+from pod.model import DeclarativeBase, metadata, DBSession
11
+
12
+
13
+class SampleModel(DeclarativeBase):
14
+    __tablename__ = 'sample_model'
15
+    
16
+    #{ Columns
17
+    
18
+    id = Column(Integer, primary_key=True)
19
+    
20
+    data = Column(Unicode(255), nullable=False)
21
+    
22
+    #}

+ 869 - 0
tracim/tracim/model/serializers.py Просмотреть файл

@@ -0,0 +1,869 @@
1
+# -*- coding: utf-8 -*-
2
+import types
3
+
4
+import tg
5
+from tg.util import LazyString
6
+from tracim.lib.base import logger
7
+from tracim.model.auth import Group, Profile
8
+from tracim.model.auth import User
9
+from tracim.model.data import BreadcrumbItem, ActionDescription
10
+from tracim.model.data import ContentStatus
11
+from tracim.model.data import ContentRevisionRO
12
+from tracim.model.data import LinkItem
13
+from tracim.model.data import NodeTreeItem
14
+from tracim.model.data import PBNode
15
+from tracim.model.data import PBNodeType
16
+from tracim.model.data import RoleType
17
+from tracim.model.data import UserRoleInWorkspace
18
+from tracim.model.data import Workspace
19
+
20
+from tracim.model import data as pmd
21
+from tracim.lib import CST
22
+
23
+def node_to_dict(node: pmd.PBNode, children_content, new_item_state):
24
+    """
25
+    DEPRECATED - TODO - REMOVE
26
+        children_content may be boolean or a list containing json values
27
+    """
28
+    url = tg.url('/document/', dict(node_id=node.node_id)) ## FIXME - 2014-05-27 - Make this more flexible
29
+
30
+    return dict(
31
+        id = node.node_id,
32
+        children = children_content,
33
+        text = node.data_label,
34
+        a_attr = { "href" : url },
35
+        li_attr = { "title": node.data_label },
36
+        type = node.node_type, # this property is understandable by jstree (through "types" plugin)
37
+        state = new_item_state,
38
+        node_status = node.getStatus().getId() # this is not jstree understandable data. This requires a JS 'success' callback
39
+    )
40
+
41
+
42
+def PBNodeForMenu(func):
43
+
44
+    def process_item(item: pmd.PBNode):
45
+        """ convert given item into a dictionnary """
46
+        return node_to_dict(item, item.getChildNb()>0, None)
47
+
48
+    def pre_serialize(*args, **kws):
49
+        initial_result = func(*args, **kws)
50
+        real_result = None
51
+
52
+        if isinstance(initial_result, list):
53
+            real_result = list()
54
+            for value_item in initial_result:
55
+                real_result.append(process_item(value_item))
56
+        else:
57
+            # We suppose here that we have an object only
58
+            real_result = process_item(initial_result)
59
+
60
+        return dict(d = real_result)
61
+
62
+    return pre_serialize
63
+
64
+
65
+def NodeTreeItemForMenu(func):
66
+    """ works with structure NodeTreeItem """
67
+    def process_item(structure_item: pmd.NodeTreeItem, current_node_id=None):
68
+        """ convert given item into a dictionnary """
69
+
70
+        item = structure_item.node
71
+        children = []
72
+
73
+        for child_item in structure_item.children:
74
+            children.append(process_item(child_item, current_node_id))
75
+
76
+        children_field_value = None
77
+        if len(children)>0:
78
+            children_field_value = children
79
+        elif item.getChildNb()>0:
80
+            children_field_value = True
81
+        else:
82
+            children_field_value = False
83
+
84
+        new_item_state = dict(
85
+            opened = item.getChildNb()<=0 or len(children)>0,
86
+            selected = current_node_id!=None and item.node_id==current_node_id,
87
+        )
88
+
89
+        return node_to_dict(item, children_field_value, new_item_state)
90
+
91
+    def pre_serialize(*args, **kws):
92
+        initial_result = func(*args, **kws)
93
+        real_result = None
94
+
95
+        current_node_id = None
96
+        if "current_node_id" in kws:
97
+            current_node_id = int(kws['current_node_id'])
98
+
99
+        if isinstance(initial_result, list):
100
+            real_result = list()
101
+            for value_item in initial_result:
102
+                real_result.append(process_item(value_item, current_node_id))
103
+        else:
104
+            # We suppose here that we have an object only
105
+            real_result = process_item(initial_result, current_node_id)
106
+
107
+        return dict(d = real_result)
108
+
109
+    return pre_serialize
110
+
111
+#############################################################"
112
+##
113
+## HERE COMES THE SERIALIZATION CLASSES
114
+##
115
+## The following code allow to define with high level
116
+## of granularity the way models are serialized
117
+##
118
+
119
+class pod_serializer(object):
120
+    """
121
+    This decorator allow to define a function being a converter of a Model in a Context
122
+
123
+    """
124
+    def __init__(self, model_class, context):
125
+        """
126
+        :param model_class: the model class to serialize. Should be a class defined in tracim.model.auth or tracim.model.data
127
+        :param context: the Context string which should defined in CTX class
128
+        :return:
129
+        """
130
+        assert hasattr(CTX, context)
131
+        self.context = context
132
+        self.model_class = model_class
133
+
134
+    def __call__(self, func):
135
+        Context.register_converter(self.context, self.model_class, func)
136
+        return func
137
+
138
+
139
+class ContextConverterNotFoundException(Exception):
140
+    def __init__(self, context_string, model_class):
141
+        message = 'converter not found (context: {0} - model: {1})'.format(context_string, model_class.__name__)
142
+        Exception.__init__(self, message)
143
+
144
+class CTX(object):
145
+    """ constants that are used for serialization / dictification of models"""
146
+    DEFAULT = 'DEFAULT' # default context. This will allow to define a serialization method to be used by default
147
+
148
+    CURRENT_USER = 'CURRENT_USER'
149
+
150
+    USER = 'USER'
151
+    USERS = 'USERS'
152
+    ADMIN_WORKSPACE = 'ADMIN_WORKSPACE'
153
+    ADMIN_WORKSPACES = 'ADMIN_WORKSPACES'
154
+
155
+    WORKSPACE = 'WORKSPACE'
156
+    FOLDER = 'FOLDER'
157
+    FOLDERS = 'FOLDERS'
158
+
159
+    FILE = 'FILE'
160
+    FILES = 'FILES'
161
+
162
+    PAGE = 'PAGE'
163
+    PAGES = 'PAGES'
164
+
165
+    THREAD = 'THREAD'
166
+    THREADS = 'THREADS'
167
+
168
+    MENU_API = 'MENU_API'
169
+    MENU_API_BUILD_FROM_TREE_ITEM = 'MENU_API_BUILD_FROM_TREE_ITEM'
170
+
171
+
172
+class DictLikeClass(dict):
173
+    """
174
+     This class allow to use dictionnary with property like access to values.
175
+     eg.: user = { 'login': 'damien', 'password': 'bob'}
176
+     will be accessible in the templates like following:
177
+       ${user.login}
178
+       ${user.password}
179
+    """
180
+    __getattr__ = dict.__getitem__
181
+    __setattr__ = dict.__setitem__
182
+
183
+
184
+
185
+class Context(object):
186
+    """
187
+    Convert a series of mapped objects into ClassLikeDict (a dictionnary which can be accessed through properties)
188
+    example: obj = ClassLikeDict({'foo': 'bar'}) allow to call obj.foo
189
+    """
190
+
191
+    _converters = dict()
192
+
193
+    @classmethod
194
+    def register_converter(cls, context_string, model_class, convert_function):
195
+        """
196
+
197
+        :param context_string:
198
+        :param model_class:
199
+        :param convert_function:
200
+        :return:
201
+        """
202
+        if context_string not in Context._converters:
203
+            Context._converters[context_string] = dict()
204
+
205
+        if model_class not in Context._converters[context_string]:
206
+            logger.info(Context, 'Registering Serialization feature: [ {2} | {1} | {0} ]'.format(
207
+                convert_function.__name__,
208
+                model_class.__name__,
209
+                context_string))
210
+
211
+            Context._converters[context_string][model_class] = convert_function
212
+
213
+    @classmethod
214
+    def get_converter(cls, context_string, model_class):
215
+        """
216
+        :param context_string:
217
+        :param model_class:
218
+        :return:
219
+        """
220
+        try:
221
+            converter = Context._converters[context_string][model_class]
222
+            return converter
223
+        except:
224
+            if CTX.DEFAULT in Context._converters:
225
+                if model_class in Context._converters[CTX.DEFAULT]:
226
+                    return Context._converters[CTX.DEFAULT][model_class]
227
+
228
+            raise ContextConverterNotFoundException(context_string,model_class)
229
+
230
+    def __init__(self, context_string):
231
+        """
232
+        """
233
+        self.context_string = context_string
234
+
235
+    def toDict(self, serializableObject, key_value_for_a_list_object='', key_value_for_list_item_nb=''):
236
+        """
237
+        Converts a given object into a recursive dictionnary like structure.
238
+        :param serializableObject: the structure to be serialized. this may be any type of object, or list
239
+        :param key_value_for_a_list_object: if set, then the result will e a dictionnary with the given key.
240
+        :param key_value_for_list_item_nb: in case of serializableObject being a list, then this key allow to add item number as property
241
+        :return:
242
+        """
243
+        result = DictLikeClass()
244
+
245
+        if serializableObject==None:
246
+            return None
247
+
248
+        if isinstance(serializableObject, (int, str, LazyString)):
249
+            return serializableObject
250
+
251
+        if isinstance(serializableObject, (list, tuple, types.GeneratorType)) and not isinstance(serializableObject, str):
252
+            # Case of lists
253
+            list_of_objects = list()
254
+            for item in serializableObject:
255
+                list_of_objects.append(self.toDict(item))
256
+
257
+            if not key_value_for_a_list_object:
258
+                return list_of_objects
259
+            else:
260
+                result[key_value_for_a_list_object] = list_of_objects
261
+
262
+                if key_value_for_list_item_nb:
263
+                    result[key_value_for_list_item_nb] = len(serializableObject)
264
+            return result
265
+
266
+        if isinstance(serializableObject, dict):
267
+            # Case of dictionnaries
268
+            for key, value in serializableObject.items():
269
+                result[key] = self.toDict(value)
270
+
271
+            return result
272
+
273
+        # Default case now
274
+        if key_value_for_a_list_object:
275
+            serialized_object = self.toDictSpecific(serializableObject)
276
+            result[key_value_for_a_list_object] = serialized_object
277
+        else:
278
+            result = self.toDictSpecific(serializableObject)
279
+
280
+        return result
281
+
282
+
283
+    def toDictSpecific(self, serializableObject):
284
+        """
285
+        Convert to a dictonnary the specific classes. This code will search for the right convert function which
286
+        must have been developped and registered.
287
+
288
+        :param serializableObject: an object to be serialized
289
+        :return: a ClassLikeDict instance
290
+        """
291
+        converter_function = Context.get_converter(self.context_string, serializableObject.__class__)
292
+        result = converter_function(serializableObject, self) # process the object with the given serializer
293
+
294
+        assert isinstance(result, DictLikeClass)
295
+        return result
296
+
297
+########################################################################################################################
298
+## ActionDescription
299
+
300
+@pod_serializer(ActionDescription, CTX.DEFAULT)
301
+def serialize_breadcrumb_item(action: ActionDescription, context: Context):
302
+    return DictLikeClass(
303
+        id = action.id,
304
+        icon = action.icon,
305
+        label = action.label
306
+    )
307
+
308
+########################################################################################################################
309
+## BREADCRUMB
310
+
311
+@pod_serializer(BreadcrumbItem, CTX.DEFAULT)
312
+def serialize_breadcrumb_item(item: BreadcrumbItem, context: Context):
313
+    return DictLikeClass(
314
+        icon = item.icon,
315
+        label = item.label,
316
+        url = item.url,
317
+        is_active = item.is_active
318
+    )
319
+
320
+########################################################################################################################
321
+## Content
322
+
323
+@pod_serializer(ContentRevisionRO, CTX.PAGE)
324
+@pod_serializer(ContentRevisionRO, CTX.FILE)
325
+def serialize_version_for_page_or_file(version: ContentRevisionRO, context: Context):
326
+    return DictLikeClass(
327
+        id = version.version_id,
328
+        node_id = version.node_id,
329
+        label = version.data_label if version.data_label else version.data_file_name,
330
+        owner = context.toDict(version.owner),
331
+        created = version.created_at,
332
+        action = context.toDict(version.get_last_action())
333
+    )
334
+
335
+
336
+@pod_serializer(PBNode, CTX.DEFAULT)
337
+def serialize_breadcrumb_item(content: PBNode, context: Context):
338
+    return DictLikeClass(
339
+        id = content.node_id,
340
+        label = content.data_label,
341
+        folder = context.toDict(DictLikeClass(id = content.parent.node_id if content.parent else None)),
342
+        # folder = None if not content.parent else context.toDict(DictLikeClass(id = content.parent.node_id)),
343
+        workspace = context.toDict(content.workspace)
344
+    )
345
+
346
+
347
+@pod_serializer(PBNode, CTX.MENU_API)
348
+def serialize_content_for_menu_api(content: PBNode, context: Context):
349
+    content_id = content.node_id
350
+    workspace_id = content.workspace_id
351
+
352
+    result = DictLikeClass(
353
+        id = CST.TREEVIEW_MENU.ID_TEMPLATE__FULL.format(workspace_id, content_id),
354
+        children = True, # TODO: make this dynamic
355
+        text = content.data_label,
356
+        a_attr = { 'href' : tg.url('/workspaces/{}/folders/{}'.format(workspace_id, content_id)) },
357
+        li_attr = { 'title': content.data_label, 'class': 'tracim-tree-item-is-a-folder' },
358
+        type = content.node_type,
359
+        state = { 'opened': False, 'selected': False }
360
+    )
361
+    return result
362
+
363
+
364
+@pod_serializer(PBNode, CTX.FILES)
365
+@pod_serializer(PBNode, CTX.PAGES)
366
+def serialize_node_for_page_list(content: PBNode, context: Context):
367
+
368
+    if content.node_type==PBNodeType.Page:
369
+        if not content.parent:
370
+            folder = None
371
+        else:
372
+            print('FOLDER PARENT IS', content.parent)
373
+            folder = Context(CTX.DEFAULT).toDict(content.parent)
374
+        print('FOLDER IS', folder)
375
+        result = DictLikeClass(
376
+            id = content.node_id,
377
+            label = content.data_label,
378
+            status = context.toDict(content.get_status()),
379
+            folder = folder
380
+        )
381
+        return result
382
+
383
+    if content.node_type==PBNodeType.File:
384
+        result = DictLikeClass(
385
+            id = content.node_id,
386
+            label = content.data_label if content.data_label else content.data_file_name,
387
+            status = context.toDict(content.get_status()),
388
+            folder = Context(CTX.DEFAULT).toDict(content.parent)
389
+        )
390
+        return result
391
+
392
+
393
+    # TODO - DA - 2014-10-16 - THE FOLLOWING CODE SHOULD BE REMOVED
394
+    #
395
+    # if content.node_type==PBNodeType.Folder:
396
+    #     return DictLikeClass(
397
+    #         id = content.node_id,
398
+    #         label = content.data_label,
399
+    #     )
400
+
401
+    raise NotImplementedError('node type / context not implemented: {} {}'. format(content.node_type, context.context_string))
402
+
403
+
404
+@pod_serializer(PBNode, CTX.PAGE)
405
+@pod_serializer(PBNode, CTX.FILE)
406
+def serialize_node_for_page(content: PBNode, context: Context):
407
+    if content.node_type in (PBNodeType.Page, PBNodeType.File) :
408
+        data_container = content
409
+
410
+
411
+
412
+        # The following properties are overriden by revision values
413
+        if content.revision_to_serialize>0:
414
+            for revision in content.revisions:
415
+                if revision.version_id==content.revision_to_serialize:
416
+                    data_container = revision
417
+                    break
418
+
419
+        result = DictLikeClass(
420
+            id = content.node_id,
421
+            parent = context.toDict(content.parent),
422
+            workspace = context.toDict(content.workspace),
423
+            type = content.node_type,
424
+
425
+            content = data_container.data_content,
426
+            created = data_container.created_at,
427
+            label = data_container.data_label,
428
+            icon = PBNodeType.icon(content.node_type),
429
+            owner = context.toDict(data_container.owner),
430
+            status = context.toDict(data_container.get_status()),
431
+            links = context.toDict(content.extract_links_from_content(data_container.data_content)),
432
+            revisions = context.toDict(sorted(content.revisions, key=lambda v: v.created_at, reverse=True)),
433
+            selected_revision = 'latest' if content.revision_to_serialize<=0 else content.revision_to_serialize
434
+        )
435
+
436
+        if content.node_type==PBNodeType.File:
437
+            result.label = content.data_label if content.data_label else content.data_file_name
438
+            result['file'] = DictLikeClass(
439
+                name = data_container.data_file_name,
440
+                size = len(data_container.data_file_content),
441
+                mimetype = data_container.data_file_mime_type)
442
+        return result
443
+
444
+    if content.node_type==PBNodeType.Folder:
445
+        value = DictLikeClass(
446
+            id = content.node_id,
447
+            label = content.data_label,
448
+        )
449
+        return value
450
+
451
+    raise NotImplementedError
452
+
453
+
454
+@pod_serializer(PBNode, CTX.THREAD)
455
+def serialize_node_for_page(item: PBNode, context: Context):
456
+    if item.node_type==PBNodeType.Thread:
457
+        return DictLikeClass(
458
+            content = item.data_content,
459
+            created = item.created_at,
460
+            icon = PBNodeType.icon(item.node_type),
461
+            id = item.node_id,
462
+            label = item.data_label,
463
+            links = context.toDict(item.extract_links_from_content(item.data_content)),
464
+            owner = context.toDict(item.owner),
465
+            parent = context.toDict(item.parent),
466
+            selected_revision = 'latest',
467
+            status = context.toDict(item.get_status()),
468
+            type = item.node_type,
469
+            workspace = context.toDict(item.workspace),
470
+            comments = reversed(context.toDict(item.get_comments()))
471
+        )
472
+
473
+    if item.node_type==PBNodeType.Comment:
474
+        return DictLikeClass(
475
+            content = item.data_content,
476
+            created = item.created_at,
477
+            icon = PBNodeType.icon(item.node_type),
478
+            id = item.node_id,
479
+            label = item.data_label,
480
+            owner = context.toDict(item.owner),
481
+            # REMOVE parent = context.toDict(item.parent),
482
+            type = item.node_type,
483
+        )
484
+
485
+    if item.node_type==PBNodeType.Folder:
486
+        return Context(CTX.DEFAULT).toDict(item)
487
+    ### CODE BELOW IS REPLACED BY THE TWO LINES UP ^^
488
+    # 2014-10-08 - IF YOU FIND THIS COMMENT, YOU CAn REMOVE THE CODE
489
+    #
490
+    #if item.node_type==PBNodeType.Folder:
491
+    #    value = DictLikeClass(
492
+    #        id = item.node_id,
493
+    #        label = item.data_label,
494
+    #    )
495
+    #    return value
496
+
497
+    raise NotImplementedError
498
+
499
+
500
+@pod_serializer(PBNode, CTX.THREADS)
501
+def serialize_node_for_thread_list(content: PBNode, context: Context):
502
+    if content.node_type==PBNodeType.Thread:
503
+        return DictLikeClass(
504
+            id = content.node_id,
505
+            label = content.data_label,
506
+            status = context.toDict(content.get_status()),
507
+            folder = context.toDict(content.parent),
508
+            comment_nb = len(content.get_comments())
509
+        )
510
+
511
+    if content.node_type==PBNodeType.Folder:
512
+        return Context(CTX.DEFAULT).toDict(content)
513
+
514
+    raise NotImplementedError
515
+
516
+@pod_serializer(PBNode, CTX.WORKSPACE)
517
+@pod_serializer(PBNode, CTX.FOLDERS)
518
+def serialize_content_for_workspace(content: PBNode, context: Context):
519
+    content_id = content.node_id
520
+    workspace_id = content.workspace_id
521
+
522
+    thread_nb_all  = content.get_child_nb(PBNodeType.Thread)
523
+    thread_nb_open = content.get_child_nb(PBNodeType.Thread)
524
+    file_nb_all  = content.get_child_nb(PBNodeType.File)
525
+    file_nb_open = content.get_child_nb(PBNodeType.File)
526
+    folder_nb_all  = content.get_child_nb(PBNodeType.Folder)
527
+    folder_nb_open = content.get_child_nb(PBNodeType.Folder)
528
+    page_nb_all  = content.get_child_nb(PBNodeType.Data)
529
+    page_nb_open = content.get_child_nb(PBNodeType.Data)
530
+
531
+    content_nb_all = thread_nb_all +\
532
+                     thread_nb_open +\
533
+                     file_nb_all +\
534
+                     file_nb_open +\
535
+                     folder_nb_all +\
536
+                     folder_nb_open +\
537
+                     page_nb_all +\
538
+                     page_nb_open
539
+
540
+
541
+    if content.node_type==PBNodeType.Folder:
542
+        result = DictLikeClass(
543
+            id = content.node_id,
544
+            label = content.data_label,
545
+            thread_nb = DictLikeClass(
546
+                all = thread_nb_all,
547
+                open = thread_nb_open,
548
+            ),
549
+            file_nb = DictLikeClass(
550
+                all = file_nb_all,
551
+                open = file_nb_open,
552
+            ),
553
+            folder_nb = DictLikeClass(
554
+                all = folder_nb_all,
555
+                open = folder_nb_open,
556
+            ),
557
+            page_nb = DictLikeClass(
558
+                all = page_nb_all,
559
+                open = page_nb_open,
560
+            ),
561
+            content_nb = DictLikeClass(all = content_nb_all)
562
+        )
563
+
564
+    return result
565
+
566
+@pod_serializer(PBNode, CTX.FOLDER)
567
+def serialize_content_for_workspace_and_folder(content: PBNode, context: Context):
568
+    content_id = content.node_id
569
+    workspace_id = content.workspace_id
570
+
571
+    thread_nb_all  = content.get_child_nb(PBNodeType.Thread)
572
+    thread_nb_open = content.get_child_nb(PBNodeType.Thread)
573
+    file_nb_all  = content.get_child_nb(PBNodeType.File)
574
+    file_nb_open = content.get_child_nb(PBNodeType.File)
575
+    folder_nb_all  = content.get_child_nb(PBNodeType.Folder)
576
+    folder_nb_open = content.get_child_nb(PBNodeType.Folder)
577
+    page_nb_all  = content.get_child_nb(PBNodeType.Data)
578
+    page_nb_open = content.get_child_nb(PBNodeType.Data)
579
+
580
+    content_nb_all = thread_nb_all +\
581
+                     thread_nb_open +\
582
+                     file_nb_all +\
583
+                     file_nb_open +\
584
+                     folder_nb_all +\
585
+                     folder_nb_open +\
586
+                     page_nb_all +\
587
+                     page_nb_open
588
+
589
+
590
+    if content.node_type==PBNodeType.Folder:
591
+        result = DictLikeClass(
592
+            id = content.node_id,
593
+            label = content.data_label,
594
+            created = content.created_at,
595
+            workspace = context.toDict(content.workspace),
596
+            allowed_content = DictLikeClass(content.properties['allowed_content']),
597
+            selected_revision = 'latest',
598
+            status = context.toDict(content.get_status()),
599
+            owner = context.toDict(content.owner),
600
+            thread_nb = DictLikeClass(
601
+                all = thread_nb_all,
602
+                open = thread_nb_open,
603
+            ),
604
+            file_nb = DictLikeClass(
605
+                all = file_nb_all,
606
+                open = file_nb_open,
607
+            ),
608
+            folder_nb = DictLikeClass(
609
+                all = folder_nb_all,
610
+                open = folder_nb_open,
611
+            ),
612
+            page_nb = DictLikeClass(
613
+                all = page_nb_all,
614
+                open = page_nb_open,
615
+            ),
616
+            content_nb = DictLikeClass(all = content_nb_all)
617
+        )
618
+
619
+    elif content.node_type==PBNodeType.Page:
620
+        result = DictLikeClass(
621
+            id = content.node_id,
622
+            label = content.data_label,
623
+            created = content.created_at,
624
+            workspace = context.toDict(content.workspace),
625
+            owner = DictLikeClass(
626
+                id = content._oOwner.user_id,
627
+                name = content._oOwner.display_name
628
+            ),
629
+            status = DictLikeClass(id='', label=''), #FIXME - EXPORT DATA
630
+        )
631
+
632
+    return result
633
+
634
+
635
+########################################################################################################################
636
+# ContentStatus
637
+
638
+@pod_serializer(ContentStatus, CTX.DEFAULT)
639
+def serialize_content_status(status: ContentStatus, context: Context):
640
+    return DictLikeClass(
641
+        id = status.id,
642
+        label = status.label,
643
+        icon = status.icon,
644
+        css = status.css
645
+    )
646
+
647
+########################################################################################################################
648
+# LinkItem
649
+
650
+@pod_serializer(LinkItem, CTX.DEFAULT)
651
+def serialize_content_status(link: LinkItem, context: Context):
652
+    return DictLikeClass(
653
+        href = link.href,
654
+        label = link.href,
655
+    )
656
+
657
+########################################################################################################################
658
+# Profile
659
+@pod_serializer(Profile, CTX.DEFAULT)
660
+def serialize_user_list_default(profile: Profile, context: Context):
661
+    return DictLikeClass(
662
+        id = profile.id,
663
+        name = profile.name,
664
+        label = profile.label
665
+    )
666
+
667
+########################################################################################################################
668
+## ROLE TYPE
669
+
670
+
671
+@pod_serializer(RoleType, CTX.ADMIN_WORKSPACE)
672
+def serialize_role_list_for_select_field_in_workspace(role_type: RoleType, context: Context):
673
+    """
674
+    Actually, roles are serialized as users (with minimal information)
675
+    :param role:
676
+    :param context:
677
+    :return:
678
+    """
679
+    result = DictLikeClass()
680
+    result['id'] = role_type.role_type_id
681
+    result['label'] = role_type.role_label
682
+    result['style'] = role_type.css_style
683
+    return result
684
+
685
+
686
+########################################################################################################################
687
+## USER
688
+
689
+@pod_serializer(User, CTX.DEFAULT)
690
+@pod_serializer(User, CTX.ADMIN_WORKSPACE)
691
+def serialize_user_default(user: User, context: Context):
692
+    """
693
+    Actually, roles are serialized as users (with minimal information)
694
+    :param role:
695
+    :param context:
696
+    :return:
697
+    """
698
+    result = DictLikeClass()
699
+    result['id'] = user.user_id
700
+    result['name'] = user.get_display_name()
701
+    return result
702
+
703
+@pod_serializer(User, CTX.USERS)
704
+@pod_serializer(User, CTX.ADMIN_WORKSPACE)
705
+def serialize_user_list_default(user: User, context: Context):
706
+    """
707
+    Actually, roles are serialized as users (with minimal information)
708
+    :param role:
709
+    :param context:
710
+    :return:
711
+    """
712
+    result = DictLikeClass()
713
+    result['id'] = user.user_id
714
+    result['name'] = user.get_display_name()
715
+    result['email'] = user.email_address
716
+    result['enabled'] = user.is_active
717
+    result['profile'] = user.profile
718
+    return result
719
+
720
+
721
+
722
+@pod_serializer(User, CTX.USER)
723
+@pod_serializer(User, CTX.CURRENT_USER)
724
+def serialize_user_for_user(user: User, context: Context):
725
+    """
726
+    Actually, roles are serialized as users (with minimal information)
727
+    :param role:
728
+    :param context:
729
+    :return:
730
+    """
731
+    result = DictLikeClass()
732
+    result['id'] = user.user_id
733
+    result['name'] = user.get_display_name()
734
+    result['email'] = user.email_address
735
+    result['roles'] = context.toDict(user.roles)
736
+    result['enabled'] = user.is_active
737
+    result['profile'] = user.profile
738
+
739
+    return result
740
+
741
+########################################################################################################################
742
+## USER ROLE IN WORKSPACE
743
+
744
+@pod_serializer(UserRoleInWorkspace, CTX.ADMIN_WORKSPACE)
745
+@pod_serializer(UserRoleInWorkspace, CTX.WORKSPACE)
746
+def serialize_role_in_workspace(role: UserRoleInWorkspace, context: Context):
747
+    """
748
+    Actually, roles are serialized as users (with minimal information)
749
+    :param role:
750
+    :param context:
751
+    :return:
752
+    """
753
+    result = DictLikeClass()
754
+    result['id'] = role.user_id
755
+    result['name'] = role.user.display_name
756
+    result['role'] = role.role
757
+    result['style'] = role.style
758
+    result['role_description'] = role.role_as_label()
759
+    result['email'] = role.user.email_address
760
+    return result
761
+
762
+
763
+@pod_serializer(UserRoleInWorkspace, CTX.USER)
764
+@pod_serializer(UserRoleInWorkspace, CTX.CURRENT_USER)
765
+def serialize_role_in_list_for_user(role: UserRoleInWorkspace, context: Context):
766
+    """
767
+    Actually, roles are serialized as users (with minimal information)
768
+    :param role:
769
+    :param context:
770
+    :return:
771
+    """
772
+    result = DictLikeClass()
773
+    result['id'] = role.role
774
+    result['label'] = role.role_as_label()
775
+    result['style'] = RoleType(role.role).css_style
776
+    result['workspace'] =  context.toDict(role.workspace)
777
+    # result['workspace_name'] = role.workspace.data_label
778
+
779
+    return result
780
+
781
+########################################################################################################################
782
+## WORKSPACE
783
+
784
+@pod_serializer(Workspace, CTX.DEFAULT)
785
+def serialize_workspace_default(workspace: Workspace, context: Context):
786
+    result = DictLikeClass(
787
+        id = workspace.workspace_id,
788
+        label = workspace.data_label
789
+    )
790
+    return result
791
+
792
+@pod_serializer(Workspace, CTX.USER)
793
+@pod_serializer(Workspace, CTX.CURRENT_USER)
794
+def serialize_workspace_in_list_for_one_user(workspace: Workspace, context: Context):
795
+    """
796
+    Actually, roles are serialized as users (with minimal information)
797
+    :param role:
798
+    :param context:
799
+    :return:
800
+    """
801
+    result = DictLikeClass()
802
+    result['id'] = workspace.workspace_id
803
+    result['name'] = workspace.data_label
804
+
805
+    return result
806
+
807
+@pod_serializer(Workspace, CTX.ADMIN_WORKSPACES)
808
+def serialize_workspace_in_list(workspace: pmd.Workspace, context: Context):
809
+    result = DictLikeClass()
810
+    result['id'] = workspace.workspace_id
811
+    result['label'] = workspace.data_label
812
+    result['description'] = workspace.data_comment
813
+    result['member_nb'] = len(workspace.roles)
814
+
815
+    #    roles = serializableObject.roles
816
+    #    result['users'] = context.toDict(serializableObject.roles)
817
+    return result
818
+
819
+
820
+@pod_serializer(Workspace, CTX.ADMIN_WORKSPACE)
821
+@pod_serializer(Workspace, CTX.WORKSPACE)
822
+def serialize_workspace_complete(workspace: pmd.Workspace, context: Context):
823
+    result = DictLikeClass()
824
+    result['id'] = workspace.workspace_id
825
+    result['label'] = workspace.data_label
826
+    result['description'] = workspace.data_comment
827
+    result['created'] = workspace.created_at
828
+    result['members'] = context.toDict(workspace.roles)
829
+    result['member_nb'] = len(workspace.roles)
830
+
831
+    return result
832
+
833
+@pod_serializer(Workspace, CTX.MENU_API)
834
+def serialize_workspace_for_menu_api(workspace: Workspace, context: Context):
835
+    result = DictLikeClass(
836
+        id = CST.TREEVIEW_MENU.ID_TEMPLATE__WORKSPACE_ONLY.format(workspace.workspace_id),
837
+        children = True, # TODO: make this dynamic
838
+        text = workspace.data_label,
839
+        a_attr = { 'href' : tg.url('/workspaces/{}'.format(workspace.workspace_id)) },
840
+        li_attr = { 'title': workspace.data_label, 'class': 'tracim-tree-item-is-a-workspace' },
841
+        type = 'workspace',
842
+        state = { 'opened': False, 'selected': False }
843
+    )
844
+    return result
845
+
846
+@pod_serializer(NodeTreeItem, CTX.MENU_API_BUILD_FROM_TREE_ITEM)
847
+def serialize_node_tree_item_for_menu_api_tree(item: NodeTreeItem, context: Context):
848
+    if isinstance(item.node, PBNode):
849
+        return DictLikeClass(
850
+            id=CST.TREEVIEW_MENU.ID_TEMPLATE__FULL.format(item.node.workspace_id, item.node.node_id),
851
+            children=True if len(item.children)<=0 else context.toDict(item.children),
852
+            text=item.node.data_label,
853
+            a_attr={'href': tg.url('/workspaces/{}/folders/{}'.format(item.node.workspace_id, item.node.node_id)) },
854
+            li_attr={'title': item.node.data_label, 'class': 'tracim-tree-item-is-a-folder'},
855
+            type='folder',
856
+            state={'opened': True if len(item.children)>0 else False, 'selected': item.is_selected}
857
+        )
858
+    elif isinstance(item.node, Workspace):
859
+        return DictLikeClass(
860
+            id=CST.TREEVIEW_MENU.ID_TEMPLATE__WORKSPACE_ONLY.format(item.node.workspace_id),
861
+            children=True if len(item.children)<=0 else context.toDict(item.children),
862
+            text=item.node.data_label,
863
+            a_attr={'href': tg.url('/workspaces/{}'.format(item.node.workspace_id))},
864
+            li_attr={'title': item.node.data_label, 'class': 'tracim-tree-item-is-a-workspace'},
865
+            type='workspace',
866
+            state={'opened': True if len(item.children)>0 else False, 'selected': item.is_selected}
867
+        )
868
+
869
+

+ 444 - 0
tracim/tracim/public/assets/css/bootstrap-theme.css Просмотреть файл

@@ -0,0 +1,444 @@
1
+/*!
2
+ * Bootstrap v3.2.0 (http://getbootstrap.com)
3
+ * Copyright 2011-2014 Twitter, Inc.
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
+ */
6
+
7
+.btn-default,
8
+.btn-primary,
9
+.btn-success,
10
+.btn-info,
11
+.btn-warning,
12
+.btn-danger {
13
+  text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
14
+  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
15
+          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
16
+}
17
+.btn-default:active,
18
+.btn-primary:active,
19
+.btn-success:active,
20
+.btn-info:active,
21
+.btn-warning:active,
22
+.btn-danger:active,
23
+.btn-default.active,
24
+.btn-primary.active,
25
+.btn-success.active,
26
+.btn-info.active,
27
+.btn-warning.active,
28
+.btn-danger.active {
29
+  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
30
+          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
31
+}
32
+.btn:active,
33
+.btn.active {
34
+  background-image: none;
35
+}
36
+.btn-default {
37
+  text-shadow: 0 1px 0 #fff;
38
+  background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
39
+  background-image:      -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
40
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
41
+  background-image:         linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
42
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
43
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
44
+  background-repeat: repeat-x;
45
+  border-color: #dbdbdb;
46
+  border-color: #ccc;
47
+}
48
+.btn-default:hover,
49
+.btn-default:focus {
50
+  background-color: #e0e0e0;
51
+  background-position: 0 -15px;
52
+}
53
+.btn-default:active,
54
+.btn-default.active {
55
+  background-color: #e0e0e0;
56
+  border-color: #dbdbdb;
57
+}
58
+.btn-default:disabled,
59
+.btn-default[disabled] {
60
+  background-color: #e0e0e0;
61
+  background-image: none;
62
+}
63
+.btn-primary {
64
+  background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
65
+  background-image:      -o-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
66
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#2d6ca2));
67
+  background-image:         linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
68
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
69
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
70
+  background-repeat: repeat-x;
71
+  border-color: #2b669a;
72
+}
73
+.btn-primary:hover,
74
+.btn-primary:focus {
75
+  background-color: #2d6ca2;
76
+  background-position: 0 -15px;
77
+}
78
+.btn-primary:active,
79
+.btn-primary.active {
80
+  background-color: #2d6ca2;
81
+  border-color: #2b669a;
82
+}
83
+.btn-primary:disabled,
84
+.btn-primary[disabled] {
85
+  background-color: #2d6ca2;
86
+  background-image: none;
87
+}
88
+.btn-success {
89
+  background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
90
+  background-image:      -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
91
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
92
+  background-image:         linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
93
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
94
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
95
+  background-repeat: repeat-x;
96
+  border-color: #3e8f3e;
97
+}
98
+.btn-success:hover,
99
+.btn-success:focus {
100
+  background-color: #419641;
101
+  background-position: 0 -15px;
102
+}
103
+.btn-success:active,
104
+.btn-success.active {
105
+  background-color: #419641;
106
+  border-color: #3e8f3e;
107
+}
108
+.btn-success:disabled,
109
+.btn-success[disabled] {
110
+  background-color: #419641;
111
+  background-image: none;
112
+}
113
+.btn-info {
114
+  background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
115
+  background-image:      -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
116
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
117
+  background-image:         linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
118
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
119
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
120
+  background-repeat: repeat-x;
121
+  border-color: #28a4c9;
122
+}
123
+.btn-info:hover,
124
+.btn-info:focus {
125
+  background-color: #2aabd2;
126
+  background-position: 0 -15px;
127
+}
128
+.btn-info:active,
129
+.btn-info.active {
130
+  background-color: #2aabd2;
131
+  border-color: #28a4c9;
132
+}
133
+.btn-info:disabled,
134
+.btn-info[disabled] {
135
+  background-color: #2aabd2;
136
+  background-image: none;
137
+}
138
+.btn-warning {
139
+  background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
140
+  background-image:      -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
141
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
142
+  background-image:         linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
143
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
144
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
145
+  background-repeat: repeat-x;
146
+  border-color: #e38d13;
147
+}
148
+.btn-warning:hover,
149
+.btn-warning:focus {
150
+  background-color: #eb9316;
151
+  background-position: 0 -15px;
152
+}
153
+.btn-warning:active,
154
+.btn-warning.active {
155
+  background-color: #eb9316;
156
+  border-color: #e38d13;
157
+}
158
+.btn-warning:disabled,
159
+.btn-warning[disabled] {
160
+  background-color: #eb9316;
161
+  background-image: none;
162
+}
163
+.btn-danger {
164
+  background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
165
+  background-image:      -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
166
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
167
+  background-image:         linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
168
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
169
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
170
+  background-repeat: repeat-x;
171
+  border-color: #b92c28;
172
+}
173
+.btn-danger:hover,
174
+.btn-danger:focus {
175
+  background-color: #c12e2a;
176
+  background-position: 0 -15px;
177
+}
178
+.btn-danger:active,
179
+.btn-danger.active {
180
+  background-color: #c12e2a;
181
+  border-color: #b92c28;
182
+}
183
+.btn-danger:disabled,
184
+.btn-danger[disabled] {
185
+  background-color: #c12e2a;
186
+  background-image: none;
187
+}
188
+.thumbnail,
189
+.img-thumbnail {
190
+  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
191
+          box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
192
+}
193
+.dropdown-menu > li > a:hover,
194
+.dropdown-menu > li > a:focus {
195
+  background-color: #e8e8e8;
196
+  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
197
+  background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
198
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
199
+  background-image:         linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
200
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
201
+  background-repeat: repeat-x;
202
+}
203
+.dropdown-menu > .active > a,
204
+.dropdown-menu > .active > a:hover,
205
+.dropdown-menu > .active > a:focus {
206
+  background-color: #357ebd;
207
+  background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
208
+  background-image:      -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
209
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
210
+  background-image:         linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
211
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
212
+  background-repeat: repeat-x;
213
+}
214
+.navbar-default {
215
+  background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
216
+  background-image:      -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
217
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
218
+  background-image:         linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
219
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
220
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
221
+  background-repeat: repeat-x;
222
+  border-radius: 4px;
223
+  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
224
+          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
225
+}
226
+.navbar-default .navbar-nav > .open > a,
227
+.navbar-default .navbar-nav > .active > a {
228
+  background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
229
+  background-image:      -o-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
230
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f3f3f3));
231
+  background-image:         linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);
232
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);
233
+  background-repeat: repeat-x;
234
+  -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
235
+          box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
236
+}
237
+.navbar-brand,
238
+.navbar-nav > li > a {
239
+  text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
240
+}
241
+.navbar-inverse {
242
+  background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
243
+  background-image:      -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
244
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
245
+  background-image:         linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
246
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
247
+  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
248
+  background-repeat: repeat-x;
249
+}
250
+.navbar-inverse .navbar-nav > .open > a,
251
+.navbar-inverse .navbar-nav > .active > a {
252
+  background-image: -webkit-linear-gradient(top, #222 0%, #282828 100%);
253
+  background-image:      -o-linear-gradient(top, #222 0%, #282828 100%);
254
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#222), to(#282828));
255
+  background-image:         linear-gradient(to bottom, #222 0%, #282828 100%);
256
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);
257
+  background-repeat: repeat-x;
258
+  -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
259
+          box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
260
+}
261
+.navbar-inverse .navbar-brand,
262
+.navbar-inverse .navbar-nav > li > a {
263
+  text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
264
+}
265
+.navbar-static-top,
266
+.navbar-fixed-top,
267
+.navbar-fixed-bottom {
268
+  border-radius: 0;
269
+}
270
+.alert {
271
+  text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
272
+  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
273
+          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
274
+}
275
+.alert-success {
276
+  background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
277
+  background-image:      -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
278
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
279
+  background-image:         linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
280
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
281
+  background-repeat: repeat-x;
282
+  border-color: #b2dba1;
283
+}
284
+.alert-info {
285
+  background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
286
+  background-image:      -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
287
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
288
+  background-image:         linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
289
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
290
+  background-repeat: repeat-x;
291
+  border-color: #9acfea;
292
+}
293
+.alert-warning {
294
+  background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
295
+  background-image:      -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
296
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
297
+  background-image:         linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
298
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
299
+  background-repeat: repeat-x;
300
+  border-color: #f5e79e;
301
+}
302
+.alert-danger {
303
+  background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
304
+  background-image:      -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
305
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
306
+  background-image:         linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
307
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
308
+  background-repeat: repeat-x;
309
+  border-color: #dca7a7;
310
+}
311
+.progress {
312
+  background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
313
+  background-image:      -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
314
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
315
+  background-image:         linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
316
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
317
+  background-repeat: repeat-x;
318
+}
319
+.progress-bar {
320
+  background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);
321
+  background-image:      -o-linear-gradient(top, #428bca 0%, #3071a9 100%);
322
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3071a9));
323
+  background-image:         linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
324
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
325
+  background-repeat: repeat-x;
326
+}
327
+.progress-bar-success {
328
+  background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
329
+  background-image:      -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
330
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
331
+  background-image:         linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
332
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
333
+  background-repeat: repeat-x;
334
+}
335
+.progress-bar-info {
336
+  background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
337
+  background-image:      -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
338
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
339
+  background-image:         linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
340
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
341
+  background-repeat: repeat-x;
342
+}
343
+.progress-bar-warning {
344
+  background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
345
+  background-image:      -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
346
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
347
+  background-image:         linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
348
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
349
+  background-repeat: repeat-x;
350
+}
351
+.progress-bar-danger {
352
+  background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
353
+  background-image:      -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
354
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
355
+  background-image:         linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
356
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
357
+  background-repeat: repeat-x;
358
+}
359
+.progress-bar-striped {
360
+  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
361
+  background-image:      -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
362
+  background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
363
+}
364
+.list-group {
365
+  border-radius: 4px;
366
+  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
367
+          box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
368
+}
369
+.list-group-item.active,
370
+.list-group-item.active:hover,
371
+.list-group-item.active:focus {
372
+  text-shadow: 0 -1px 0 #3071a9;
373
+  background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%);
374
+  background-image:      -o-linear-gradient(top, #428bca 0%, #3278b3 100%);
375
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3278b3));
376
+  background-image:         linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
377
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
378
+  background-repeat: repeat-x;
379
+  border-color: #3278b3;
380
+}
381
+.panel {
382
+  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
383
+          box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
384
+}
385
+.panel-default > .panel-heading {
386
+  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
387
+  background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
388
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
389
+  background-image:         linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
390
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
391
+  background-repeat: repeat-x;
392
+}
393
+.panel-primary > .panel-heading {
394
+  background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
395
+  background-image:      -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
396
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
397
+  background-image:         linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
398
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
399
+  background-repeat: repeat-x;
400
+}
401
+.panel-success > .panel-heading {
402
+  background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
403
+  background-image:      -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
404
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
405
+  background-image:         linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
406
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
407
+  background-repeat: repeat-x;
408
+}
409
+.panel-info > .panel-heading {
410
+  background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
411
+  background-image:      -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
412
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
413
+  background-image:         linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
414
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
415
+  background-repeat: repeat-x;
416
+}
417
+.panel-warning > .panel-heading {
418
+  background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
419
+  background-image:      -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
420
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
421
+  background-image:         linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
422
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
423
+  background-repeat: repeat-x;
424
+}
425
+.panel-danger > .panel-heading {
426
+  background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
427
+  background-image:      -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
428
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
429
+  background-image:         linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
430
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
431
+  background-repeat: repeat-x;
432
+}
433
+.well {
434
+  background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
435
+  background-image:      -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
436
+  background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
437
+  background-image:         linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
438
+  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
439
+  background-repeat: repeat-x;
440
+  border-color: #dcdcdc;
441
+  -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
442
+          box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
443
+}
444
+/*# sourceMappingURL=bootstrap-theme.css.map */

Разница между файлами не показана из-за своего большого размера
+ 1 - 0
tracim/tracim/public/assets/css/bootstrap-theme.css.map


Разница между файлами не показана из-за своего большого размера
+ 5 - 0
tracim/tracim/public/assets/css/bootstrap-theme.min.css


Разница между файлами не показана из-за своего большого размера
+ 6323 - 0
tracim/tracim/public/assets/css/bootstrap.css


Разница между файлами не показана из-за своего большого размера
+ 1 - 0
tracim/tracim/public/assets/css/bootstrap.css.map


Разница между файлами не показана из-за своего большого размера
+ 5 - 0
tracim/tracim/public/assets/css/bootstrap.min.css


+ 167 - 0
tracim/tracim/public/assets/css/dashboard.css Просмотреть файл

@@ -0,0 +1,167 @@
1
+/*
2
+ * Base structure
3
+ */
4
+
5
+/* Move down content because we have a fixed navbar that is 50px tall */
6
+body {
7
+  padding-top: 50px;
8
+}
9
+
10
+
11
+/*
12
+ * Global add-ons
13
+ */
14
+
15
+.sub-header {
16
+  padding-bottom: 10px;
17
+  border-bottom: 1px solid #eee;
18
+}
19
+
20
+/*
21
+ * Top navigation
22
+ * Hide default border to remove 1px line.
23
+ */
24
+.navbar-fixed-top {
25
+  border: 0;
26
+  background-color: #f5f5f5;
27
+  border-bottom: 1px solid #CCC;
28
+}
29
+
30
+.navbar-fixed-top-transparent {
31
+  border: 0;
32
+  background-color: #f5f5f5;
33
+  background-color: transparent;
34
+}
35
+
36
+.navbar-fixed-top-transparent .navbar-brand img {
37
+    border: 0;
38
+}
39
+
40
+/*
41
+ * Sidebar
42
+ */
43
+
44
+/* Hide for mobile, show later */
45
+.sidebar {
46
+  display: none;
47
+}
48
+@media (min-width: 768px) {
49
+  .sidebar {
50
+    position: fixed;
51
+    top: 51px;
52
+    bottom: 0;
53
+    left: 0;
54
+    z-index: 1000;
55
+    display: block;
56
+    padding: 20px;
57
+    overflow-x: hidden;
58
+    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
59
+    background-color: #f5f5f5;
60
+    border-right: 1px solid #CCC;
61
+    
62
+  }
63
+}
64
+
65
+#sidebar-right {
66
+  overflow-x: visible;
67
+  overflow-y: auto;
68
+  
69
+}
70
+
71
+/* Sidebar navigation */
72
+.nav-sidebar {
73
+  margin-right: -21px; /* 20px padding + 1px border */
74
+  margin-bottom: 20px;
75
+  margin-left: -20px;
76
+}
77
+.nav-sidebar > li > a {
78
+  padding-right: 20px;
79
+  padding-left: 20px;
80
+}
81
+.nav-sidebar > .active > a,
82
+.nav-sidebar > .active > a:hover,
83
+.nav-sidebar > .active > a:focus {
84
+  color: #fff;
85
+  background-color: #428bca;
86
+}
87
+
88
+
89
+/*
90
+ * Main content
91
+ */
92
+
93
+.main {
94
+  padding: 20px;
95
+}
96
+
97
+.main .page-header {
98
+  margin-top: 0;
99
+}
100
+
101
+/*
102
+ * Placeholder dashboard ideas
103
+ */
104
+
105
+.placeholders {
106
+  margin-bottom: 30px;
107
+  text-align: center;
108
+}
109
+.placeholders h4 {
110
+  margin-bottom: 0;
111
+}
112
+.placeholder {
113
+  margin-bottom: 20px;
114
+}
115
+.placeholder img {
116
+  display: inline-block;
117
+  border-radius: 50%;
118
+}
119
+
120
+.page-header {
121
+    font-size: 20px;
122
+}
123
+
124
+/*************************************
125
+** POD/TRACIM RELATED STUFF
126
+*************************************/
127
+iframe { border: 5px solid #b3e7ff; }
128
+
129
+.tracim-title { font-weight: bold; color: #999; }
130
+.pod-selected-item {background-color: #EEE;}
131
+.pod-empty {color: #999;}
132
+.pod-inline-form {
133
+    margin-left: 12px;
134
+    border: 6px solid #428BCA;
135
+    padding: 0.5em;
136
+}
137
+.pod-borderless tbody tr td, .borderless thead tr th {
138
+    border: none;
139
+}
140
+
141
+
142
+/*************************************
143
+** JSTree related stuff
144
+*************************************/
145
+.pod-tree-item-is-a-workspace > a { font-weight: bold; }
146
+.pod-tree-item-is-a-folder > a { }
147
+
148
+
149
+.pod-less-visible { color: #999; }
150
+
151
+.pod-status-open { font-weight: bold; color: #759ac5; }
152
+.pod-status-closed-validated { font-weight: bold; color: #1fdb11;}
153
+.pod-status-closed-unvalidated { font-weight: bold; color: #F00;}
154
+.pod-status-closed-deprecated { font-weight: bold; color: #ea983d;}
155
+.pod-status-selected { background-color: #EEE; }
156
+.pod-panel-separator { border-width: 12px 0 0 0; }
157
+
158
+.pod-thread-item {}
159
+.pod-thread-item-content { margin-left: 12px; border-left: 8px solid #EEE; padding: 0 0.5em; }
160
+
161
+.pod-footer {
162
+    position: fixed;
163
+    bottom: 0;
164
+    width: 100%;
165
+}
166
+
167
+

Разница между файлами не показана из-за своего большого размера
+ 6 - 0
tracim/tracim/public/assets/css/docs.min.css


Разница между файлами не показана из-за своего большого размера
+ 1672 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/css/font-awesome.css


Разница между файлами не показана из-за своего большого размера
+ 4 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/css/font-awesome.min.css


Двоичные данные
tracim/tracim/public/assets/font-awesome-4.2.0/fonts/FontAwesome.otf Просмотреть файл


Двоичные данные
tracim/tracim/public/assets/font-awesome-4.2.0/fonts/fontawesome-webfont.eot Просмотреть файл


+ 520 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/fonts/fontawesome-webfont.svg Просмотреть файл

@@ -0,0 +1,520 @@
1
+<?xml version="1.0" standalone="no"?>
2
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+<svg xmlns="http://www.w3.org/2000/svg">
4
+<metadata></metadata>
5
+<defs>
6
+<font id="fontawesomeregular" horiz-adv-x="1536" >
7
+<font-face units-per-em="1792" ascent="1536" descent="-256" />
8
+<missing-glyph horiz-adv-x="448" />
9
+<glyph unicode=" "  horiz-adv-x="448" />
10
+<glyph unicode="&#x09;" horiz-adv-x="448" />
11
+<glyph unicode="&#xa0;" horiz-adv-x="448" />
12
+<glyph unicode="&#xa8;" horiz-adv-x="1792" />
13
+<glyph unicode="&#xa9;" horiz-adv-x="1792" />
14
+<glyph unicode="&#xae;" horiz-adv-x="1792" />
15
+<glyph unicode="&#xb4;" horiz-adv-x="1792" />
16
+<glyph unicode="&#xc6;" horiz-adv-x="1792" />
17
+<glyph unicode="&#xd8;" horiz-adv-x="1792" />
18
+<glyph unicode="&#x2000;" horiz-adv-x="768" />
19
+<glyph unicode="&#x2001;" horiz-adv-x="1537" />
20
+<glyph unicode="&#x2002;" horiz-adv-x="768" />
21
+<glyph unicode="&#x2003;" horiz-adv-x="1537" />
22
+<glyph unicode="&#x2004;" horiz-adv-x="512" />
23
+<glyph unicode="&#x2005;" horiz-adv-x="384" />
24
+<glyph unicode="&#x2006;" horiz-adv-x="256" />
25
+<glyph unicode="&#x2007;" horiz-adv-x="256" />
26
+<glyph unicode="&#x2008;" horiz-adv-x="192" />
27
+<glyph unicode="&#x2009;" horiz-adv-x="307" />
28
+<glyph unicode="&#x200a;" horiz-adv-x="85" />
29
+<glyph unicode="&#x202f;" horiz-adv-x="307" />
30
+<glyph unicode="&#x205f;" horiz-adv-x="384" />
31
+<glyph unicode="&#x2122;" horiz-adv-x="1792" />
32
+<glyph unicode="&#x221e;" horiz-adv-x="1792" />
33
+<glyph unicode="&#x2260;" horiz-adv-x="1792" />
34
+<glyph unicode="&#x25fc;" horiz-adv-x="500" d="M0 0z" />
35
+<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" />
36
+<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" />
37
+<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" />
38
+<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" />
39
+<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" />
40
+<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" />
41
+<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" />
42
+<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" />
43
+<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" />
44
+<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" />
45
+<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" />
46
+<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" />
47
+<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" />
48
+<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" />
49
+<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" />
50
+<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 " />
51
+<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" />
52
+<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" />
53
+<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" />
54
+<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" />
55
+<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" />
56
+<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 " />
57
+<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" />
58
+<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" />
59
+<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" />
60
+<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" />
61
+<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" />
62
+<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" />
63
+<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" />
64
+<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" />
65
+<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" />
66
+<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" />
67
+<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" />
68
+<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" />
69
+<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" />
70
+<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" />
71
+<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" />
72
+<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" />
73
+<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" />
74
+<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" />
75
+<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" />
76
+<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" />
77
+<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" />
78
+<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" />
79
+<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" />
80
+<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" />
81
+<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" />
82
+<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" />
83
+<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" />
84
+<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" />
85
+<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" />
86
+<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" />
87
+<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" />
88
+<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" />
89
+<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" />
90
+<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" />
91
+<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" />
92
+<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" />
93
+<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" />
94
+<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" />
95
+<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" />
96
+<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" />
97
+<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" />
98
+<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" />
99
+<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" />
100
+<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" />
101
+<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" />
102
+<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" />
103
+<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" />
104
+<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" />
105
+<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" />
106
+<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" />
107
+<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" />
108
+<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" />
109
+<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" />
110
+<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" />
111
+<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" />
112
+<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" />
113
+<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" />
114
+<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" />
115
+<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" />
116
+<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" />
117
+<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" />
118
+<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" />
119
+<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" />
120
+<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" />
121
+<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" />
122
+<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" />
123
+<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" />
124
+<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" />
125
+<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" />
126
+<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" />
127
+<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" />
128
+<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" />
129
+<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" />
130
+<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" />
131
+<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" />
132
+<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" />
133
+<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" />
134
+<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" />
135
+<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" />
136
+<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" />
137
+<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" />
138
+<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" />
139
+<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" />
140
+<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 " />
141
+<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" />
142
+<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" />
143
+<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" />
144
+<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" />
145
+<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" />
146
+<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" />
147
+<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" />
148
+<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" />
149
+<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 " />
150
+<glyph unicode="&#xf07a;" horiz-adv-x="1664" d="M640 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.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.5 l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 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.5 t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
151
+<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" />
152
+<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" />
153
+<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" />
154
+<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" />
155
+<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" />
156
+<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" />
157
+<glyph unicode="&#xf082;" d="M1536 160q0 -119 -84.5 -203.5t-203.5 -84.5h-192v608h203l30 224h-233v143q0 54 28 83t96 29l132 1v207q-96 9 -180 9q-136 0 -218 -80.5t-82 -225.5v-166h-224v-224h224v-608h-544q-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.5v-960z" />
158
+<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" />
159
+<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" />
160
+<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" />
161
+<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" />
162
+<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" />
163
+<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" />
164
+<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" />
165
+<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" />
166
+<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" />
167
+<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" />
168
+<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" />
169
+<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" />
170
+<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" />
171
+<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" />
172
+<glyph unicode="&#xf092;" d="M394 184q-8 -9 -20 3q-13 11 -4 19q8 9 20 -3q12 -11 4 -19zM352 245q9 -12 0 -19q-8 -6 -17 7t0 18q9 7 17 -6zM291 305q-5 -7 -13 -2q-10 5 -7 12q3 5 13 2q10 -5 7 -12zM322 271q-6 -7 -16 3q-9 11 -2 16q6 6 16 -3q9 -11 2 -16zM451 159q-4 -12 -19 -6q-17 4 -13 15 t19 7q16 -5 13 -16zM514 154q0 -11 -16 -11q-17 -2 -17 11q0 11 16 11q17 2 17 -11zM572 164q2 -10 -14 -14t-18 8t14 15q16 2 18 -9zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39 t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103 q-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.5t-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 -103t0.5 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5 h-224q-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" />
173
+<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" />
174
+<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" />
175
+<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" />
176
+<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" />
177
+<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" />
178
+<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" />
179
+<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" />
180
+<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" />
181
+<glyph unicode="&#xf09b;" d="M1536 640q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5 q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -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.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23 q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
182
+<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" />
183
+<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" />
184
+<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" />
185
+<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" />
186
+<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" />
187
+<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" />
188
+<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" />
189
+<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" />
190
+<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" />
191
+<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" />
192
+<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" />
193
+<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" />
194
+<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" />
195
+<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" />
196
+<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" />
197
+<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" />
198
+<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" />
199
+<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" />
200
+<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" />
201
+<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" />
202
+<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 " />
203
+<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" />
204
+<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" />
205
+<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 " />
206
+<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" />
207
+<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" />
208
+<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" />
209
+<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" />
210
+<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" />
211
+<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" />
212
+<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" />
213
+<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" />
214
+<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" />
215
+<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" />
216
+<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" />
217
+<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" />
218
+<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" />
219
+<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" />
220
+<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" />
221
+<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" />
222
+<glyph unicode="&#xf0d4;" d="M829 318q0 -76 -58.5 -112.5t-139.5 -36.5q-41 0 -80.5 9.5t-75.5 28.5t-58 53t-22 78q0 46 25 80t65.5 51.5t82 25t84.5 7.5q20 0 31 -2q2 -1 23 -16.5t26 -19t23 -18t24.5 -22t19 -22.5t17 -26t9 -26.5t4.5 -31.5zM755 863q0 -60 -33 -99.5t-92 -39.5q-53 0 -93 42.5 t-57.5 96.5t-17.5 106q0 61 32 104t92 43q53 0 93.5 -45t58 -101t17.5 -107zM861 1120l88 64h-265q-85 0 -161 -32t-127.5 -98t-51.5 -153q0 -93 64.5 -154.5t158.5 -61.5q22 0 43 3q-13 -29 -13 -54q0 -44 40 -94q-175 -12 -257 -63q-47 -29 -75.5 -73t-28.5 -95 q0 -43 18.5 -77.5t48.5 -56.5t69 -37t77.5 -21t76.5 -6q60 0 120.5 15.5t113.5 46t86 82.5t33 117q0 49 -20 89.5t-49 66.5t-58 47.5t-49 44t-20 44.5t15.5 42.5t37.5 39.5t44 42t37.5 59.5t15.5 82.5q0 60 -22.5 99.5t-72.5 90.5h83zM1152 672h128v64h-128v128h-64v-128 h-128v-64h128v-160h64v160zM1536 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" />
223
+<glyph unicode="&#xf0d5;" horiz-adv-x="1664" d="M735 740q0 -36 32 -70.5t77.5 -68t90.5 -73.5t77 -104t32 -142q0 -90 -48 -173q-72 -122 -211 -179.5t-298 -57.5q-132 0 -246.5 41.5t-171.5 137.5q-37 60 -37 131q0 81 44.5 150t118.5 115q131 82 404 100q-32 42 -47.5 74t-15.5 73q0 36 21 85q-46 -4 -68 -4 q-148 0 -249.5 96.5t-101.5 244.5q0 82 36 159t99 131q77 66 182.5 98t217.5 32h418l-138 -88h-131q74 -63 112 -133t38 -160q0 -72 -24.5 -129.5t-59 -93t-69.5 -65t-59.5 -61.5t-24.5 -66zM589 836q38 0 78 16.5t66 43.5q53 57 53 159q0 58 -17 125t-48.5 129.5 t-84.5 103.5t-117 41q-42 0 -82.5 -19.5t-65.5 -52.5q-47 -59 -47 -160q0 -46 10 -97.5t31.5 -103t52 -92.5t75 -67t96.5 -26zM591 -37q58 0 111.5 13t99 39t73 73t27.5 109q0 25 -7 49t-14.5 42t-27 41.5t-29.5 35t-38.5 34.5t-36.5 29t-41.5 30t-36.5 26q-16 2 -48 2 q-53 0 -105 -7t-107.5 -25t-97 -46t-68.5 -74.5t-27 -105.5q0 -70 35 -123.5t91.5 -83t119 -44t127.5 -14.5zM1401 839h213v-108h-213v-219h-105v219h-212v108h212v217h105v-217z" />
224
+<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" />
225
+<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" />
226
+<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" />
227
+<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" />
228
+<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" />
229
+<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" />
230
+<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" />
231
+<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" />
232
+<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" />
233
+<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" />
234
+<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" />
235
+<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" />
236
+<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" />
237
+<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" />
238
+<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" />
239
+<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" />
240
+<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" />
241
+<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" />
242
+<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" />
243
+<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" />
244
+<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" />
245
+<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" />
246
+<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" />
247
+<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" />
248
+<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" />
249
+<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" />
250
+<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" />
251
+<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" />
252
+<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" />
253
+<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" />
254
+<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" />
255
+<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" />
256
+<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" />
257
+<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" />
258
+<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" />
259
+<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" />
260
+<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" />
261
+<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" />
262
+<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" />
263
+<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" />
264
+<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" />
265
+<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" />
266
+<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" />
267
+<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" />
268
+<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" />
269
+<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" />
270
+<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" />
271
+<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" />
272
+<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" />
273
+<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" />
274
+<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" />
275
+<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" />
276
+<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" />
277
+<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" />
278
+<glyph unicode="&#xf110;" horiz-adv-x="1568" d="M496 192q0 -60 -42.5 -102t-101.5 -42q-60 0 -102 42t-42 102t42 102t102 42q59 0 101.5 -42t42.5 -102zM928 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.5zM320 640q0 -66 -47 -113t-113 -47t-113 47t-47 113 t47 113t113 47t113 -47t47 -113zM1360 192q0 -46 -33 -79t-79 -33t-79 33t-33 79t33 79t79 33t79 -33t33 -79zM528 1088q0 -73 -51.5 -124.5t-124.5 -51.5t-124.5 51.5t-51.5 124.5t51.5 124.5t124.5 51.5t124.5 -51.5t51.5 -124.5zM992 1280q0 -80 -56 -136t-136 -56 t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1536 640q0 -40 -28 -68t-68 -28t-68 28t-28 68t28 68t68 28t68 -28t28 -68zM1328 1088q0 -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.5z" />
279
+<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" />
280
+<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" />
281
+<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" />
282
+<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" />
283
+<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 " />
284
+<glyph unicode="&#xf116;" horiz-adv-x="1792" />
285
+<glyph unicode="&#xf117;" horiz-adv-x="1792" />
286
+<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" />
287
+<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" />
288
+<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" />
289
+<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" />
290
+<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" />
291
+<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" />
292
+<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" />
293
+<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" />
294
+<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" />
295
+<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" />
296
+<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" />
297
+<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" />
298
+<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" />
299
+<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" />
300
+<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" />
301
+<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" />
302
+<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" />
303
+<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" />
304
+<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" />
305
+<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" />
306
+<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" />
307
+<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" />
308
+<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" />
309
+<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" />
310
+<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" />
311
+<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" />
312
+<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" />
313
+<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" />
314
+<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" />
315
+<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" />
316
+<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" />
317
+<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" />
318
+<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" />
319
+<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" />
320
+<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" />
321
+<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" />
322
+<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" />
323
+<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" />
324
+<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" />
325
+<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" />
326
+<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" />
327
+<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" />
328
+<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" />
329
+<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" />
330
+<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" />
331
+<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" />
332
+<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" />
333
+<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" />
334
+<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" />
335
+<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" />
336
+<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" />
337
+<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" />
338
+<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" />
339
+<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" />
340
+<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" />
341
+<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" />
342
+<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" />
343
+<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" />
344
+<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" />
345
+<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" />
346
+<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" />
347
+<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" />
348
+<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" />
349
+<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" />
350
+<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" />
351
+<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" />
352
+<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" />
353
+<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" />
354
+<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" />
355
+<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" />
356
+<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" />
357
+<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" />
358
+<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" />
359
+<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" />
360
+<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" />
361
+<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" />
362
+<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" />
363
+<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" />
364
+<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" />
365
+<glyph unicode="&#xf16c;" horiz-adv-x="1408" d="M928 135v-151l-707 -1v151zM1169 481v-701l-1 -35v-1h-1132l-35 1h-1v736h121v-618h928v618h120zM241 393l704 -65l-13 -150l-705 65zM309 709l683 -183l-39 -146l-683 183zM472 1058l609 -360l-77 -130l-609 360zM832 1389l398 -585l-124 -85l-399 584zM1285 1536 l121 -697l-149 -26l-121 697z" />
366
+<glyph unicode="&#xf16d;" d="M1362 110v648h-135q20 -63 20 -131q0 -126 -64 -232.5t-174 -168.5t-240 -62q-197 0 -337 135.5t-140 327.5q0 68 20 131h-141v-648q0 -26 17.5 -43.5t43.5 -17.5h1069q25 0 43 17.5t18 43.5zM1078 643q0 124 -90.5 211.5t-218.5 87.5q-127 0 -217.5 -87.5t-90.5 -211.5 t90.5 -211.5t217.5 -87.5q128 0 218.5 87.5t90.5 211.5zM1362 1003v165q0 28 -20 48.5t-49 20.5h-174q-29 0 -49 -20.5t-20 -48.5v-165q0 -29 20 -49t49 -20h174q29 0 49 20t20 49zM1536 1211v-1142q0 -81 -58 -139t-139 -58h-1142q-81 0 -139 58t-58 139v1142q0 81 58 139 t139 58h1142q81 0 139 -58t58 -139z" />
367
+<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" />
368
+<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" />
369
+<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" />
370
+<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" />
371
+<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" />
372
+<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" />
373
+<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" />
374
+<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" />
375
+<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" />
376
+<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" />
377
+<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" />
378
+<glyph unicode="&#xf17a;" horiz-adv-x="1664" d="M682 530v-651l-682 94v557h682zM682 1273v-659h-682v565zM1664 530v-786l-907 125v661h907zM1664 1408v-794h-907v669z" />
379
+<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" />
380
+<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" />
381
+<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" />
382
+<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" />
383
+<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" />
384
+<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" />
385
+<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" />
386
+<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" />
387
+<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" />
388
+<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" />
389
+<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" />
390
+<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" />
391
+<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" />
392
+<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" />
393
+<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" />
394
+<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" />
395
+<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" />
396
+<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 " />
397
+<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" />
398
+<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" />
399
+<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" />
400
+<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" />
401
+<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" />
402
+<glyph unicode="&#xf194;" d="M1254 899q16 85 -21 132q-52 65 -187 45q-17 -3 -41 -12.5t-57.5 -30.5t-64.5 -48.5t-59.5 -70t-44.5 -91.5q80 7 113.5 -16t26.5 -99q-5 -52 -52 -143q-43 -78 -71 -99q-44 -32 -87 14q-23 24 -37.5 64.5t-19 73t-10 84t-8.5 71.5q-23 129 -34 164q-12 37 -35.5 69 t-50.5 40q-57 16 -127 -25q-54 -32 -136.5 -106t-122.5 -102v-7q16 -8 25.5 -26t21.5 -20q21 -3 54.5 8.5t58 10.5t41.5 -30q11 -18 18.5 -38.5t15 -48t12.5 -40.5q17 -46 53 -187q36 -146 57 -197q42 -99 103 -125q43 -12 85 -1.5t76 31.5q131 77 250 237 q104 139 172.5 292.5t82.5 226.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" />
403
+<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" />
404
+<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" />
405
+<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" />
406
+<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" />
407
+<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" />
408
+<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" />
409
+<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" />
410
+<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" />
411
+<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" />
412
+<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" />
413
+<glyph unicode="&#xf1a0;" horiz-adv-x="1280" d="M981 197q0 25 -7 49t-14.5 42t-27 41.5t-29.5 35t-38.5 34.5t-36.5 29t-41.5 30t-36.5 26q-16 2 -49 2q-53 0 -104.5 -7t-107 -25t-97 -46t-68.5 -74.5t-27 -105.5q0 -56 23.5 -102t61 -75.5t87 -50t100 -29t101.5 -8.5q58 0 111.5 13t99 39t73 73t27.5 109zM864 1055 q0 59 -17 125.5t-48 129t-84 103.5t-117 41q-42 0 -82.5 -19.5t-66.5 -52.5q-46 -59 -46 -160q0 -46 10 -97.5t31.5 -103t52 -92.5t75 -67t96.5 -26q37 0 77.5 16.5t65.5 43.5q53 56 53 159zM752 1536h417l-137 -88h-132q75 -63 113 -133t38 -160q0 -72 -24.5 -129.5 t-59.5 -93t-69.5 -65t-59 -61.5t-24.5 -66q0 -36 32 -70.5t77 -68t90.5 -73.5t77.5 -104t32 -142q0 -91 -49 -173q-71 -122 -209.5 -179.5t-298.5 -57.5q-132 0 -246.5 41.5t-172.5 137.5q-36 59 -36 131q0 81 44.5 150t118.5 115q131 82 404 100q-32 41 -47.5 73.5 t-15.5 73.5q0 40 21 85q-46 -4 -68 -4q-148 0 -249.5 96.5t-101.5 244.5q0 82 36 159t99 131q76 66 182 98t218 32z" />
414
+<glyph unicode="&#xf1a1;" horiz-adv-x="1984" d="M831 572q0 -56 -40.5 -96t-96.5 -40q-57 0 -98 40t-41 96q0 57 41.5 98t97.5 41t96.5 -41t40.5 -98zM1292 711q56 0 96.5 -41t40.5 -98q0 -56 -40.5 -96t-96.5 -40q-57 0 -98 40t-41 96q0 57 41.5 98t97.5 41zM1984 722q0 -62 -31 -114t-83 -82q5 -33 5 -61 q0 -121 -68.5 -230.5t-197.5 -193.5q-125 -82 -285.5 -125.5t-335.5 -43.5q-176 0 -336.5 43.5t-284.5 125.5q-129 84 -197.5 193t-68.5 231q0 29 5 66q-48 31 -77 81.5t-29 109.5q0 94 66 160t160 66q83 0 148 -55q248 158 592 164l134 423q4 14 17.5 21.5t28.5 4.5 l347 -82q22 50 68.5 81t102.5 31q77 0 131.5 -54.5t54.5 -131.5t-54.5 -132t-131.5 -55q-76 0 -130.5 54t-55.5 131l-315 74l-116 -366q327 -14 560 -166q64 58 151 58q94 0 160 -66t66 -160zM1664 1459q-45 0 -77 -32t-32 -77t32 -77t77 -32t77 32t32 77t-32 77t-77 32z M77 722q0 -67 51 -111q49 131 180 235q-36 25 -82 25q-62 0 -105.5 -43.5t-43.5 -105.5zM1567 105q112 73 171.5 166t59.5 194t-59.5 193.5t-171.5 165.5q-116 75 -265.5 115.5t-313.5 40.5t-313.5 -40.5t-265.5 -115.5q-112 -73 -171.5 -165.5t-59.5 -193.5t59.5 -194 t171.5 -166q116 -75 265.5 -115.5t313.5 -40.5t313.5 40.5t265.5 115.5zM1850 605q57 46 57 117q0 62 -43.5 105.5t-105.5 43.5q-49 0 -86 -28q131 -105 178 -238zM1258 237q11 11 27 11t27 -11t11 -27.5t-11 -27.5q-99 -99 -319 -99h-2q-220 0 -319 99q-11 11 -11 27.5 t11 27.5t27 11t27 -11q77 -77 265 -77h2q188 0 265 77z" />
415
+<glyph unicode="&#xf1a2;" d="M950 393q7 7 17.5 7t17.5 -7t7 -18t-7 -18q-65 -64 -208 -64h-1h-1q-143 0 -207 64q-8 7 -8 18t8 18q7 7 17.5 7t17.5 -7q49 -51 172 -51h1h1q122 0 173 51zM671 613q0 -37 -26 -64t-63 -27t-63 27t-26 64t26 63t63 26t63 -26t26 -63zM1214 1049q-29 0 -50 21t-21 50 q0 30 21 51t50 21q30 0 51 -21t21 -51q0 -29 -21 -50t-51 -21zM1216 1408q132 0 226 -94t94 -227v-894q0 -133 -94 -227t-226 -94h-896q-132 0 -226 94t-94 227v894q0 133 94 227t226 94h896zM1321 596q35 14 57 45.5t22 70.5q0 51 -36 87.5t-87 36.5q-60 0 -98 -48 q-151 107 -375 115l83 265l206 -49q1 -50 36.5 -85t84.5 -35q50 0 86 35.5t36 85.5t-36 86t-86 36q-36 0 -66 -20.5t-45 -53.5l-227 54q-9 2 -17.5 -2.5t-11.5 -14.5l-95 -302q-224 -4 -381 -113q-36 43 -93 43q-51 0 -87 -36.5t-36 -87.5q0 -37 19.5 -67.5t52.5 -45.5 q-7 -25 -7 -54q0 -98 74 -181.5t201.5 -132t278.5 -48.5q150 0 277.5 48.5t201.5 132t74 181.5q0 27 -6 54zM971 702q37 0 63 -26t26 -63t-26 -64t-63 -27t-63 27t-26 64t26 63t63 26z" />
416
+<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" />
417
+<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" />
418
+<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" />
419
+<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" />
420
+<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" />
421
+<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" />
422
+<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" />
423
+<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" />
424
+<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" />
425
+<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" />
426
+<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" />
427
+<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" />
428
+<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" />
429
+<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" />
430
+<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 " />
431
+<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" />
432
+<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" />
433
+<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" />
434
+<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" />
435
+<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 " />
436
+<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" />
437
+<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" />
438
+<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" />
439
+<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" />
440
+<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" />
441
+<glyph unicode="&#xf1bd;" d="M1397 1408q58 0 98.5 -40.5t40.5 -98.5v-1258q0 -58 -40.5 -98.5t-98.5 -40.5h-1258q-58 0 -98.5 40.5t-40.5 98.5v1258q0 58 40.5 98.5t98.5 40.5h1258zM1465 11v1258q0 28 -20 48t-48 20h-1258q-28 0 -48 -20t-20 -48v-1258q0 -28 20 -48t48 -20h1258q28 0 48 20t20 48 zM694 749l188 -387l533 145v-496q0 -7 -5.5 -12.5t-12.5 -5.5h-1258q-7 0 -12.5 5.5t-5.5 12.5v141l711 195l-212 439q4 1 12 2.5t12 1.5q170 32 303.5 21.5t221 -46t143.5 -94.5q27 -28 -25 -42q-64 -16 -256 -62l-97 198q-111 7 -240 -16zM1397 1287q7 0 12.5 -5.5 t5.5 -12.5v-428q-85 30 -188 52q-294 64 -645 12l-18 -3l-65 134h-233l85 -190q-132 -51 -230 -137v560q0 7 5.5 12.5t12.5 5.5h1258zM286 387q-14 -3 -26 4.5t-14 21.5q-24 203 166 305l129 -270z" />
442
+<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" />
443
+<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" />
444
+<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" />
445
+<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" />
446
+<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" />
447
+<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" />
448
+<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" />
449
+<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" />
450
+<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" />
451
+<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" />
452
+<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" />
453
+<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" />
454
+<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" />
455
+<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" />
456
+<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" />
457
+<glyph unicode="&#xf1ce;" horiz-adv-x="1792" d="M1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348q0 222 101 414.5t276.5 317t390.5 155.5v-260q-221 -45 -366.5 -221t-145.5 -406q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 q0 230 -145.5 406t-366.5 221v260q215 -31 390.5 -155.5t276.5 -317t101 -414.5z" />
458
+<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" />
459
+<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" />
460
+<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" />
461
+<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" />
462
+<glyph unicode="&#xf1d4;" d="M825 547l343 588h-150q-21 -39 -63.5 -118.5t-68 -128.5t-59.5 -118.5t-60 -128.5h-3q-21 48 -44.5 97t-52 105.5t-46.5 92t-54 104.5t-49 95h-150l323 -589v-435h134v436zM1536 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" />
463
+<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" />
464
+<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" />
465
+<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" />
466
+<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" />
467
+<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" />
468
+<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" />
469
+<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" />
470
+<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" />
471
+<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" />
472
+<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" />
473
+<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" />
474
+<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" />
475
+<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" />
476
+<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" />
477
+<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" />
478
+<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" />
479
+<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" />
480
+<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" />
481
+<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" />
482
+<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" />
483
+<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" />
484
+<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" />
485
+<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" />
486
+<glyph unicode="&#xf1ed;" horiz-adv-x="1792" d="M1112 1090q0 159 -237 159h-70q-32 0 -59.5 -21.5t-34.5 -52.5l-63 -276q-2 -5 -2 -16q0 -24 17 -39.5t41 -15.5h53q69 0 128.5 13t112.5 41t83.5 81.5t30.5 126.5zM1716 938q0 -265 -220 -428q-219 -161 -612 -161h-61q-32 0 -59 -21.5t-34 -52.5l-73 -316 q-8 -36 -40.5 -61.5t-69.5 -25.5h-213q-31 0 -53 20t-22 51q0 10 13 65h151q34 0 64 23.5t38 56.5l73 316q8 33 37.5 57t63.5 24h61q390 0 607 160t217 421q0 129 -51 207q183 -92 183 -335zM1533 1123q0 -264 -221 -428q-218 -161 -612 -161h-60q-32 0 -59.5 -22t-34.5 -53 l-73 -315q-8 -36 -40 -61.5t-69 -25.5h-214q-31 0 -52.5 19.5t-21.5 51.5q0 8 2 20l300 1301q8 36 40.5 61.5t69.5 25.5h444q68 0 125 -4t120.5 -15t113.5 -30t96.5 -50.5t77.5 -74t49.5 -103.5t18.5 -136z" />
487
+<glyph unicode="&#xf1ee;" horiz-adv-x="1792" d="M602 949q19 -61 31 -123.5t17 -141.5t-14 -159t-62 -145q-21 81 -67 157t-95.5 127t-99 90.5t-78.5 57.5t-33 19q-62 34 -81.5 100t14.5 128t101 81.5t129 -14.5q138 -83 238 -177zM927 1236q11 -25 20.5 -46t36.5 -100.5t42.5 -150.5t25.5 -179.5t0 -205.5t-47.5 -209.5 t-105.5 -208.5q-51 -72 -138 -72q-54 0 -98 31q-57 40 -69 109t28 127q60 85 81 195t13 199.5t-32 180.5t-39 128t-22 52q-31 63 -8.5 129.5t85.5 97.5q34 17 75 17q47 0 88.5 -25t63.5 -69zM1248 567q-17 -160 -72 -311q-17 131 -63 246q25 174 -5 361q-27 178 -94 342 q114 -90 212 -211q9 -37 15 -80q26 -179 7 -347zM1520 1440q9 -17 23.5 -49.5t43.5 -117.5t50.5 -178t34 -227.5t5 -269t-47 -300t-112.5 -323.5q-22 -48 -66 -75.5t-95 -27.5q-39 0 -74 16q-67 31 -92.5 100t4.5 136q58 126 90 257.5t37.5 239.5t-3.5 213.5t-26.5 180.5 t-38.5 138.5t-32.5 90t-15.5 32.5q-34 65 -11.5 135.5t87.5 104.5q37 20 81 20q49 0 91.5 -25.5t66.5 -70.5z" />
488
+<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" />
489
+<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" />
490
+<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" />
491
+<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" />
492
+<glyph unicode="&#xf1f4;" horiz-adv-x="2304" d="M322 689h-15q-19 0 -19 18q0 28 19 85q5 15 15 19.5t28 4.5q77 0 77 -49q0 -41 -30.5 -59.5t-74.5 -18.5zM664 528q-47 0 -47 29q0 62 123 62l3 -3q-5 -88 -79 -88zM1438 687h-15q-19 0 -19 19q0 28 19 85q5 15 14.5 19t28.5 4q77 0 77 -49q0 -41 -30.5 -59.5 t-74.5 -18.5zM1780 527q-47 0 -47 30q0 62 123 62l3 -3q-5 -89 -79 -89zM373 894h-128q-8 0 -14.5 -4t-8.5 -7.5t-7 -12.5q-3 -7 -45 -190t-42 -192q0 -7 5.5 -12.5t13.5 -5.5h62q25 0 32.5 34.5l15 69t32.5 34.5q47 0 87.5 7.5t80.5 24.5t63.5 52.5t23.5 84.5 q0 36 -14.5 61t-41 36.5t-53.5 15.5t-62 4zM719 798q-38 0 -74 -6q-2 0 -8.5 -1t-9 -1.5l-7.5 -1.5t-7.5 -2t-6.5 -3t-6.5 -4t-5 -5t-4.5 -7t-4 -9q-9 -29 -9 -39t9 -10q5 0 21.5 5t19.5 6q30 8 58 8q74 0 74 -36q0 -11 -10 -14q-8 -2 -18 -3t-21.5 -1.5t-17.5 -1.5 q-38 -4 -64.5 -10t-56.5 -19.5t-45.5 -39t-15.5 -62.5q0 -38 26 -59.5t64 -21.5q24 0 45.5 6.5t33 13t38.5 23.5q-3 -7 -3 -15t5.5 -13.5t12.5 -5.5h56q1 1 7 3.5t7.5 3.5t5 3.5t5 5.5t2.5 8l45 194q4 13 4 30q0 81 -145 81zM1247 793h-74q-22 0 -39 -23q-5 -7 -29.5 -51 t-46.5 -81.5t-26 -38.5l-5 4q0 77 -27 166q-1 5 -3.5 8.5t-6 6.5t-6.5 5t-8.5 3t-8.5 1.5t-9.5 1t-9 0.5h-10h-8.5q-38 0 -38 -21l1 -5q5 -53 25 -151t25 -143q2 -16 2 -24q0 -19 -30.5 -61.5t-30.5 -58.5q0 -13 40 -13q61 0 76 25l245 415q10 20 10 26q0 9 -8 9zM1489 892 h-129q-18 0 -29 -23q-6 -13 -46.5 -191.5t-40.5 -190.5q0 -20 43 -20h7.5h9h9t9.5 1t8.5 2t8.5 3t6.5 4.5t5.5 6t3 8.5l21 91q2 10 10.5 17t19.5 7q47 0 87.5 7t80.5 24.5t63.5 52.5t23.5 84q0 36 -14.5 61t-41 36.5t-53.5 15.5t-62 4zM1835 798q-26 0 -74 -6 q-38 -6 -48 -16q-7 -8 -11 -19q-8 -24 -8 -39q0 -10 8 -10q1 0 41 12q30 8 58 8q74 0 74 -36q0 -12 -10 -14q-4 -1 -57 -7q-38 -4 -64.5 -10t-56.5 -19.5t-45.5 -39t-15.5 -62.5t26 -58.5t64 -21.5q24 0 45 6t34 13t38 24q-3 -15 -3 -16q0 -5 2 -8.5t6.5 -5.5t8 -3.5 t10.5 -2t9.5 -0.5h9.5h8q42 0 48 25l45 194q3 15 3 31q0 81 -145 81zM2157 889h-55q-25 0 -33 -40q-10 -44 -36.5 -167t-42.5 -190v-5q0 -16 16 -18h1h57q10 0 18.5 6.5t10.5 16.5l83 374h-1l1 5q0 7 -5.5 12.5t-13.5 5.5zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048 q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" />
493
+<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" />
494
+<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" />
495
+<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" />
496
+<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" />
497
+<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" />
498
+<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" />
499
+<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" />
500
+<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" />
501
+<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" />
502
+<glyph unicode="&#xf1fe;" horiz-adv-x="2048" d="M2048 0v-128h-2048v1536h128v-1408h1920zM1664 1024l256 -896h-1664v576l448 576l576 -576z" />
503
+<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" />
504
+<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" />
505
+<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" />
506
+<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" />
507
+<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" />
508
+<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" />
509
+<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" />
510
+<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" />
511
+<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" />
512
+<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" />
513
+<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" />
514
+<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" />
515
+<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" />
516
+<glyph unicode="&#xf20d;" horiz-adv-x="1792" />
517
+<glyph unicode="&#xf20e;" horiz-adv-x="1792" />
518
+<glyph unicode="&#xf500;" horiz-adv-x="1792" />
519
+</font>
520
+</defs></svg> 

Двоичные данные
tracim/tracim/public/assets/font-awesome-4.2.0/fonts/fontawesome-webfont.ttf Просмотреть файл


Двоичные данные
tracim/tracim/public/assets/font-awesome-4.2.0/fonts/fontawesome-webfont.woff Просмотреть файл


+ 16 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/bordered-pulled.less Просмотреть файл

@@ -0,0 +1,16 @@
1
+// Bordered & Pulled
2
+// -------------------------
3
+
4
+.@{fa-css-prefix}-border {
5
+  padding: .2em .25em .15em;
6
+  border: solid .08em @fa-border-color;
7
+  border-radius: .1em;
8
+}
9
+
10
+.pull-right { float: right; }
11
+.pull-left { float: left; }
12
+
13
+.@{fa-css-prefix} {
14
+  &.pull-left { margin-right: .3em; }
15
+  &.pull-right { margin-left: .3em; }
16
+}

+ 11 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/core.less Просмотреть файл

@@ -0,0 +1,11 @@
1
+// Base Class Definition
2
+// -------------------------
3
+
4
+.@{fa-css-prefix} {
5
+  display: inline-block;
6
+  font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
7
+  font-size: inherit; // can't have font-size inherit on line above, so need to override
8
+  text-rendering: auto; // optimizelegibility throws things off #1094
9
+  -webkit-font-smoothing: antialiased;
10
+  -moz-osx-font-smoothing: grayscale;
11
+}

+ 6 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/fixed-width.less Просмотреть файл

@@ -0,0 +1,6 @@
1
+// Fixed Width Icons
2
+// -------------------------
3
+.@{fa-css-prefix}-fw {
4
+  width: (18em / 14);
5
+  text-align: center;
6
+}

+ 17 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/font-awesome.less Просмотреть файл

@@ -0,0 +1,17 @@
1
+/*!
2
+ *  Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
3
+ *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
+ */
5
+
6
+@import "variables.less";
7
+@import "mixins.less";
8
+@import "path.less";
9
+@import "core.less";
10
+@import "larger.less";
11
+@import "fixed-width.less";
12
+@import "list.less";
13
+@import "bordered-pulled.less";
14
+@import "spinning.less";
15
+@import "rotated-flipped.less";
16
+@import "stacked.less";
17
+@import "icons.less";

+ 552 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/icons.less Просмотреть файл

@@ -0,0 +1,552 @@
1
+/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
2
+   readers do not read off random characters that represent icons */
3
+
4
+.@{fa-css-prefix}-glass:before { content: @fa-var-glass; }
5
+.@{fa-css-prefix}-music:before { content: @fa-var-music; }
6
+.@{fa-css-prefix}-search:before { content: @fa-var-search; }
7
+.@{fa-css-prefix}-envelope-o:before { content: @fa-var-envelope-o; }
8
+.@{fa-css-prefix}-heart:before { content: @fa-var-heart; }
9
+.@{fa-css-prefix}-star:before { content: @fa-var-star; }
10
+.@{fa-css-prefix}-star-o:before { content: @fa-var-star-o; }
11
+.@{fa-css-prefix}-user:before { content: @fa-var-user; }
12
+.@{fa-css-prefix}-film:before { content: @fa-var-film; }
13
+.@{fa-css-prefix}-th-large:before { content: @fa-var-th-large; }
14
+.@{fa-css-prefix}-th:before { content: @fa-var-th; }
15
+.@{fa-css-prefix}-th-list:before { content: @fa-var-th-list; }
16
+.@{fa-css-prefix}-check:before { content: @fa-var-check; }
17
+.@{fa-css-prefix}-remove:before,
18
+.@{fa-css-prefix}-close:before,
19
+.@{fa-css-prefix}-times:before { content: @fa-var-times; }
20
+.@{fa-css-prefix}-search-plus:before { content: @fa-var-search-plus; }
21
+.@{fa-css-prefix}-search-minus:before { content: @fa-var-search-minus; }
22
+.@{fa-css-prefix}-power-off:before { content: @fa-var-power-off; }
23
+.@{fa-css-prefix}-signal:before { content: @fa-var-signal; }
24
+.@{fa-css-prefix}-gear:before,
25
+.@{fa-css-prefix}-cog:before { content: @fa-var-cog; }
26
+.@{fa-css-prefix}-trash-o:before { content: @fa-var-trash-o; }
27
+.@{fa-css-prefix}-home:before { content: @fa-var-home; }
28
+.@{fa-css-prefix}-file-o:before { content: @fa-var-file-o; }
29
+.@{fa-css-prefix}-clock-o:before { content: @fa-var-clock-o; }
30
+.@{fa-css-prefix}-road:before { content: @fa-var-road; }
31
+.@{fa-css-prefix}-download:before { content: @fa-var-download; }
32
+.@{fa-css-prefix}-arrow-circle-o-down:before { content: @fa-var-arrow-circle-o-down; }
33
+.@{fa-css-prefix}-arrow-circle-o-up:before { content: @fa-var-arrow-circle-o-up; }
34
+.@{fa-css-prefix}-inbox:before { content: @fa-var-inbox; }
35
+.@{fa-css-prefix}-play-circle-o:before { content: @fa-var-play-circle-o; }
36
+.@{fa-css-prefix}-rotate-right:before,
37
+.@{fa-css-prefix}-repeat:before { content: @fa-var-repeat; }
38
+.@{fa-css-prefix}-refresh:before { content: @fa-var-refresh; }
39
+.@{fa-css-prefix}-list-alt:before { content: @fa-var-list-alt; }
40
+.@{fa-css-prefix}-lock:before { content: @fa-var-lock; }
41
+.@{fa-css-prefix}-flag:before { content: @fa-var-flag; }
42
+.@{fa-css-prefix}-headphones:before { content: @fa-var-headphones; }
43
+.@{fa-css-prefix}-volume-off:before { content: @fa-var-volume-off; }
44
+.@{fa-css-prefix}-volume-down:before { content: @fa-var-volume-down; }
45
+.@{fa-css-prefix}-volume-up:before { content: @fa-var-volume-up; }
46
+.@{fa-css-prefix}-qrcode:before { content: @fa-var-qrcode; }
47
+.@{fa-css-prefix}-barcode:before { content: @fa-var-barcode; }
48
+.@{fa-css-prefix}-tag:before { content: @fa-var-tag; }
49
+.@{fa-css-prefix}-tags:before { content: @fa-var-tags; }
50
+.@{fa-css-prefix}-book:before { content: @fa-var-book; }
51
+.@{fa-css-prefix}-bookmark:before { content: @fa-var-bookmark; }
52
+.@{fa-css-prefix}-print:before { content: @fa-var-print; }
53
+.@{fa-css-prefix}-camera:before { content: @fa-var-camera; }
54
+.@{fa-css-prefix}-font:before { content: @fa-var-font; }
55
+.@{fa-css-prefix}-bold:before { content: @fa-var-bold; }
56
+.@{fa-css-prefix}-italic:before { content: @fa-var-italic; }
57
+.@{fa-css-prefix}-text-height:before { content: @fa-var-text-height; }
58
+.@{fa-css-prefix}-text-width:before { content: @fa-var-text-width; }
59
+.@{fa-css-prefix}-align-left:before { content: @fa-var-align-left; }
60
+.@{fa-css-prefix}-align-center:before { content: @fa-var-align-center; }
61
+.@{fa-css-prefix}-align-right:before { content: @fa-var-align-right; }
62
+.@{fa-css-prefix}-align-justify:before { content: @fa-var-align-justify; }
63
+.@{fa-css-prefix}-list:before { content: @fa-var-list; }
64
+.@{fa-css-prefix}-dedent:before,
65
+.@{fa-css-prefix}-outdent:before { content: @fa-var-outdent; }
66
+.@{fa-css-prefix}-indent:before { content: @fa-var-indent; }
67
+.@{fa-css-prefix}-video-camera:before { content: @fa-var-video-camera; }
68
+.@{fa-css-prefix}-photo:before,
69
+.@{fa-css-prefix}-image:before,
70
+.@{fa-css-prefix}-picture-o:before { content: @fa-var-picture-o; }
71
+.@{fa-css-prefix}-pencil:before { content: @fa-var-pencil; }
72
+.@{fa-css-prefix}-map-marker:before { content: @fa-var-map-marker; }
73
+.@{fa-css-prefix}-adjust:before { content: @fa-var-adjust; }
74
+.@{fa-css-prefix}-tint:before { content: @fa-var-tint; }
75
+.@{fa-css-prefix}-edit:before,
76
+.@{fa-css-prefix}-pencil-square-o:before { content: @fa-var-pencil-square-o; }
77
+.@{fa-css-prefix}-share-square-o:before { content: @fa-var-share-square-o; }
78
+.@{fa-css-prefix}-check-square-o:before { content: @fa-var-check-square-o; }
79
+.@{fa-css-prefix}-arrows:before { content: @fa-var-arrows; }
80
+.@{fa-css-prefix}-step-backward:before { content: @fa-var-step-backward; }
81
+.@{fa-css-prefix}-fast-backward:before { content: @fa-var-fast-backward; }
82
+.@{fa-css-prefix}-backward:before { content: @fa-var-backward; }
83
+.@{fa-css-prefix}-play:before { content: @fa-var-play; }
84
+.@{fa-css-prefix}-pause:before { content: @fa-var-pause; }
85
+.@{fa-css-prefix}-stop:before { content: @fa-var-stop; }
86
+.@{fa-css-prefix}-forward:before { content: @fa-var-forward; }
87
+.@{fa-css-prefix}-fast-forward:before { content: @fa-var-fast-forward; }
88
+.@{fa-css-prefix}-step-forward:before { content: @fa-var-step-forward; }
89
+.@{fa-css-prefix}-eject:before { content: @fa-var-eject; }
90
+.@{fa-css-prefix}-chevron-left:before { content: @fa-var-chevron-left; }
91
+.@{fa-css-prefix}-chevron-right:before { content: @fa-var-chevron-right; }
92
+.@{fa-css-prefix}-plus-circle:before { content: @fa-var-plus-circle; }
93
+.@{fa-css-prefix}-minus-circle:before { content: @fa-var-minus-circle; }
94
+.@{fa-css-prefix}-times-circle:before { content: @fa-var-times-circle; }
95
+.@{fa-css-prefix}-check-circle:before { content: @fa-var-check-circle; }
96
+.@{fa-css-prefix}-question-circle:before { content: @fa-var-question-circle; }
97
+.@{fa-css-prefix}-info-circle:before { content: @fa-var-info-circle; }
98
+.@{fa-css-prefix}-crosshairs:before { content: @fa-var-crosshairs; }
99
+.@{fa-css-prefix}-times-circle-o:before { content: @fa-var-times-circle-o; }
100
+.@{fa-css-prefix}-check-circle-o:before { content: @fa-var-check-circle-o; }
101
+.@{fa-css-prefix}-ban:before { content: @fa-var-ban; }
102
+.@{fa-css-prefix}-arrow-left:before { content: @fa-var-arrow-left; }
103
+.@{fa-css-prefix}-arrow-right:before { content: @fa-var-arrow-right; }
104
+.@{fa-css-prefix}-arrow-up:before { content: @fa-var-arrow-up; }
105
+.@{fa-css-prefix}-arrow-down:before { content: @fa-var-arrow-down; }
106
+.@{fa-css-prefix}-mail-forward:before,
107
+.@{fa-css-prefix}-share:before { content: @fa-var-share; }
108
+.@{fa-css-prefix}-expand:before { content: @fa-var-expand; }
109
+.@{fa-css-prefix}-compress:before { content: @fa-var-compress; }
110
+.@{fa-css-prefix}-plus:before { content: @fa-var-plus; }
111
+.@{fa-css-prefix}-minus:before { content: @fa-var-minus; }
112
+.@{fa-css-prefix}-asterisk:before { content: @fa-var-asterisk; }
113
+.@{fa-css-prefix}-exclamation-circle:before { content: @fa-var-exclamation-circle; }
114
+.@{fa-css-prefix}-gift:before { content: @fa-var-gift; }
115
+.@{fa-css-prefix}-leaf:before { content: @fa-var-leaf; }
116
+.@{fa-css-prefix}-fire:before { content: @fa-var-fire; }
117
+.@{fa-css-prefix}-eye:before { content: @fa-var-eye; }
118
+.@{fa-css-prefix}-eye-slash:before { content: @fa-var-eye-slash; }
119
+.@{fa-css-prefix}-warning:before,
120
+.@{fa-css-prefix}-exclamation-triangle:before { content: @fa-var-exclamation-triangle; }
121
+.@{fa-css-prefix}-plane:before { content: @fa-var-plane; }
122
+.@{fa-css-prefix}-calendar:before { content: @fa-var-calendar; }
123
+.@{fa-css-prefix}-random:before { content: @fa-var-random; }
124
+.@{fa-css-prefix}-comment:before { content: @fa-var-comment; }
125
+.@{fa-css-prefix}-magnet:before { content: @fa-var-magnet; }
126
+.@{fa-css-prefix}-chevron-up:before { content: @fa-var-chevron-up; }
127
+.@{fa-css-prefix}-chevron-down:before { content: @fa-var-chevron-down; }
128
+.@{fa-css-prefix}-retweet:before { content: @fa-var-retweet; }
129
+.@{fa-css-prefix}-shopping-cart:before { content: @fa-var-shopping-cart; }
130
+.@{fa-css-prefix}-folder:before { content: @fa-var-folder; }
131
+.@{fa-css-prefix}-folder-open:before { content: @fa-var-folder-open; }
132
+.@{fa-css-prefix}-arrows-v:before { content: @fa-var-arrows-v; }
133
+.@{fa-css-prefix}-arrows-h:before { content: @fa-var-arrows-h; }
134
+.@{fa-css-prefix}-bar-chart-o:before,
135
+.@{fa-css-prefix}-bar-chart:before { content: @fa-var-bar-chart; }
136
+.@{fa-css-prefix}-twitter-square:before { content: @fa-var-twitter-square; }
137
+.@{fa-css-prefix}-facebook-square:before { content: @fa-var-facebook-square; }
138
+.@{fa-css-prefix}-camera-retro:before { content: @fa-var-camera-retro; }
139
+.@{fa-css-prefix}-key:before { content: @fa-var-key; }
140
+.@{fa-css-prefix}-gears:before,
141
+.@{fa-css-prefix}-cogs:before { content: @fa-var-cogs; }
142
+.@{fa-css-prefix}-comments:before { content: @fa-var-comments; }
143
+.@{fa-css-prefix}-thumbs-o-up:before { content: @fa-var-thumbs-o-up; }
144
+.@{fa-css-prefix}-thumbs-o-down:before { content: @fa-var-thumbs-o-down; }
145
+.@{fa-css-prefix}-star-half:before { content: @fa-var-star-half; }
146
+.@{fa-css-prefix}-heart-o:before { content: @fa-var-heart-o; }
147
+.@{fa-css-prefix}-sign-out:before { content: @fa-var-sign-out; }
148
+.@{fa-css-prefix}-linkedin-square:before { content: @fa-var-linkedin-square; }
149
+.@{fa-css-prefix}-thumb-tack:before { content: @fa-var-thumb-tack; }
150
+.@{fa-css-prefix}-external-link:before { content: @fa-var-external-link; }
151
+.@{fa-css-prefix}-sign-in:before { content: @fa-var-sign-in; }
152
+.@{fa-css-prefix}-trophy:before { content: @fa-var-trophy; }
153
+.@{fa-css-prefix}-github-square:before { content: @fa-var-github-square; }
154
+.@{fa-css-prefix}-upload:before { content: @fa-var-upload; }
155
+.@{fa-css-prefix}-lemon-o:before { content: @fa-var-lemon-o; }
156
+.@{fa-css-prefix}-phone:before { content: @fa-var-phone; }
157
+.@{fa-css-prefix}-square-o:before { content: @fa-var-square-o; }
158
+.@{fa-css-prefix}-bookmark-o:before { content: @fa-var-bookmark-o; }
159
+.@{fa-css-prefix}-phone-square:before { content: @fa-var-phone-square; }
160
+.@{fa-css-prefix}-twitter:before { content: @fa-var-twitter; }
161
+.@{fa-css-prefix}-facebook:before { content: @fa-var-facebook; }
162
+.@{fa-css-prefix}-github:before { content: @fa-var-github; }
163
+.@{fa-css-prefix}-unlock:before { content: @fa-var-unlock; }
164
+.@{fa-css-prefix}-credit-card:before { content: @fa-var-credit-card; }
165
+.@{fa-css-prefix}-rss:before { content: @fa-var-rss; }
166
+.@{fa-css-prefix}-hdd-o:before { content: @fa-var-hdd-o; }
167
+.@{fa-css-prefix}-bullhorn:before { content: @fa-var-bullhorn; }
168
+.@{fa-css-prefix}-bell:before { content: @fa-var-bell; }
169
+.@{fa-css-prefix}-certificate:before { content: @fa-var-certificate; }
170
+.@{fa-css-prefix}-hand-o-right:before { content: @fa-var-hand-o-right; }
171
+.@{fa-css-prefix}-hand-o-left:before { content: @fa-var-hand-o-left; }
172
+.@{fa-css-prefix}-hand-o-up:before { content: @fa-var-hand-o-up; }
173
+.@{fa-css-prefix}-hand-o-down:before { content: @fa-var-hand-o-down; }
174
+.@{fa-css-prefix}-arrow-circle-left:before { content: @fa-var-arrow-circle-left; }
175
+.@{fa-css-prefix}-arrow-circle-right:before { content: @fa-var-arrow-circle-right; }
176
+.@{fa-css-prefix}-arrow-circle-up:before { content: @fa-var-arrow-circle-up; }
177
+.@{fa-css-prefix}-arrow-circle-down:before { content: @fa-var-arrow-circle-down; }
178
+.@{fa-css-prefix}-globe:before { content: @fa-var-globe; }
179
+.@{fa-css-prefix}-wrench:before { content: @fa-var-wrench; }
180
+.@{fa-css-prefix}-tasks:before { content: @fa-var-tasks; }
181
+.@{fa-css-prefix}-filter:before { content: @fa-var-filter; }
182
+.@{fa-css-prefix}-briefcase:before { content: @fa-var-briefcase; }
183
+.@{fa-css-prefix}-arrows-alt:before { content: @fa-var-arrows-alt; }
184
+.@{fa-css-prefix}-group:before,
185
+.@{fa-css-prefix}-users:before { content: @fa-var-users; }
186
+.@{fa-css-prefix}-chain:before,
187
+.@{fa-css-prefix}-link:before { content: @fa-var-link; }
188
+.@{fa-css-prefix}-cloud:before { content: @fa-var-cloud; }
189
+.@{fa-css-prefix}-flask:before { content: @fa-var-flask; }
190
+.@{fa-css-prefix}-cut:before,
191
+.@{fa-css-prefix}-scissors:before { content: @fa-var-scissors; }
192
+.@{fa-css-prefix}-copy:before,
193
+.@{fa-css-prefix}-files-o:before { content: @fa-var-files-o; }
194
+.@{fa-css-prefix}-paperclip:before { content: @fa-var-paperclip; }
195
+.@{fa-css-prefix}-save:before,
196
+.@{fa-css-prefix}-floppy-o:before { content: @fa-var-floppy-o; }
197
+.@{fa-css-prefix}-square:before { content: @fa-var-square; }
198
+.@{fa-css-prefix}-navicon:before,
199
+.@{fa-css-prefix}-reorder:before,
200
+.@{fa-css-prefix}-bars:before { content: @fa-var-bars; }
201
+.@{fa-css-prefix}-list-ul:before { content: @fa-var-list-ul; }
202
+.@{fa-css-prefix}-list-ol:before { content: @fa-var-list-ol; }
203
+.@{fa-css-prefix}-strikethrough:before { content: @fa-var-strikethrough; }
204
+.@{fa-css-prefix}-underline:before { content: @fa-var-underline; }
205
+.@{fa-css-prefix}-table:before { content: @fa-var-table; }
206
+.@{fa-css-prefix}-magic:before { content: @fa-var-magic; }
207
+.@{fa-css-prefix}-truck:before { content: @fa-var-truck; }
208
+.@{fa-css-prefix}-pinterest:before { content: @fa-var-pinterest; }
209
+.@{fa-css-prefix}-pinterest-square:before { content: @fa-var-pinterest-square; }
210
+.@{fa-css-prefix}-google-plus-square:before { content: @fa-var-google-plus-square; }
211
+.@{fa-css-prefix}-google-plus:before { content: @fa-var-google-plus; }
212
+.@{fa-css-prefix}-money:before { content: @fa-var-money; }
213
+.@{fa-css-prefix}-caret-down:before { content: @fa-var-caret-down; }
214
+.@{fa-css-prefix}-caret-up:before { content: @fa-var-caret-up; }
215
+.@{fa-css-prefix}-caret-left:before { content: @fa-var-caret-left; }
216
+.@{fa-css-prefix}-caret-right:before { content: @fa-var-caret-right; }
217
+.@{fa-css-prefix}-columns:before { content: @fa-var-columns; }
218
+.@{fa-css-prefix}-unsorted:before,
219
+.@{fa-css-prefix}-sort:before { content: @fa-var-sort; }
220
+.@{fa-css-prefix}-sort-down:before,
221
+.@{fa-css-prefix}-sort-desc:before { content: @fa-var-sort-desc; }
222
+.@{fa-css-prefix}-sort-up:before,
223
+.@{fa-css-prefix}-sort-asc:before { content: @fa-var-sort-asc; }
224
+.@{fa-css-prefix}-envelope:before { content: @fa-var-envelope; }
225
+.@{fa-css-prefix}-linkedin:before { content: @fa-var-linkedin; }
226
+.@{fa-css-prefix}-rotate-left:before,
227
+.@{fa-css-prefix}-undo:before { content: @fa-var-undo; }
228
+.@{fa-css-prefix}-legal:before,
229
+.@{fa-css-prefix}-gavel:before { content: @fa-var-gavel; }
230
+.@{fa-css-prefix}-dashboard:before,
231
+.@{fa-css-prefix}-tachometer:before { content: @fa-var-tachometer; }
232
+.@{fa-css-prefix}-comment-o:before { content: @fa-var-comment-o; }
233
+.@{fa-css-prefix}-comments-o:before { content: @fa-var-comments-o; }
234
+.@{fa-css-prefix}-flash:before,
235
+.@{fa-css-prefix}-bolt:before { content: @fa-var-bolt; }
236
+.@{fa-css-prefix}-sitemap:before { content: @fa-var-sitemap; }
237
+.@{fa-css-prefix}-umbrella:before { content: @fa-var-umbrella; }
238
+.@{fa-css-prefix}-paste:before,
239
+.@{fa-css-prefix}-clipboard:before { content: @fa-var-clipboard; }
240
+.@{fa-css-prefix}-lightbulb-o:before { content: @fa-var-lightbulb-o; }
241
+.@{fa-css-prefix}-exchange:before { content: @fa-var-exchange; }
242
+.@{fa-css-prefix}-cloud-download:before { content: @fa-var-cloud-download; }
243
+.@{fa-css-prefix}-cloud-upload:before { content: @fa-var-cloud-upload; }
244
+.@{fa-css-prefix}-user-md:before { content: @fa-var-user-md; }
245
+.@{fa-css-prefix}-stethoscope:before { content: @fa-var-stethoscope; }
246
+.@{fa-css-prefix}-suitcase:before { content: @fa-var-suitcase; }
247
+.@{fa-css-prefix}-bell-o:before { content: @fa-var-bell-o; }
248
+.@{fa-css-prefix}-coffee:before { content: @fa-var-coffee; }
249
+.@{fa-css-prefix}-cutlery:before { content: @fa-var-cutlery; }
250
+.@{fa-css-prefix}-file-text-o:before { content: @fa-var-file-text-o; }
251
+.@{fa-css-prefix}-building-o:before { content: @fa-var-building-o; }
252
+.@{fa-css-prefix}-hospital-o:before { content: @fa-var-hospital-o; }
253
+.@{fa-css-prefix}-ambulance:before { content: @fa-var-ambulance; }
254
+.@{fa-css-prefix}-medkit:before { content: @fa-var-medkit; }
255
+.@{fa-css-prefix}-fighter-jet:before { content: @fa-var-fighter-jet; }
256
+.@{fa-css-prefix}-beer:before { content: @fa-var-beer; }
257
+.@{fa-css-prefix}-h-square:before { content: @fa-var-h-square; }
258
+.@{fa-css-prefix}-plus-square:before { content: @fa-var-plus-square; }
259
+.@{fa-css-prefix}-angle-double-left:before { content: @fa-var-angle-double-left; }
260
+.@{fa-css-prefix}-angle-double-right:before { content: @fa-var-angle-double-right; }
261
+.@{fa-css-prefix}-angle-double-up:before { content: @fa-var-angle-double-up; }
262
+.@{fa-css-prefix}-angle-double-down:before { content: @fa-var-angle-double-down; }
263
+.@{fa-css-prefix}-angle-left:before { content: @fa-var-angle-left; }
264
+.@{fa-css-prefix}-angle-right:before { content: @fa-var-angle-right; }
265
+.@{fa-css-prefix}-angle-up:before { content: @fa-var-angle-up; }
266
+.@{fa-css-prefix}-angle-down:before { content: @fa-var-angle-down; }
267
+.@{fa-css-prefix}-desktop:before { content: @fa-var-desktop; }
268
+.@{fa-css-prefix}-laptop:before { content: @fa-var-laptop; }
269
+.@{fa-css-prefix}-tablet:before { content: @fa-var-tablet; }
270
+.@{fa-css-prefix}-mobile-phone:before,
271
+.@{fa-css-prefix}-mobile:before { content: @fa-var-mobile; }
272
+.@{fa-css-prefix}-circle-o:before { content: @fa-var-circle-o; }
273
+.@{fa-css-prefix}-quote-left:before { content: @fa-var-quote-left; }
274
+.@{fa-css-prefix}-quote-right:before { content: @fa-var-quote-right; }
275
+.@{fa-css-prefix}-spinner:before { content: @fa-var-spinner; }
276
+.@{fa-css-prefix}-circle:before { content: @fa-var-circle; }
277
+.@{fa-css-prefix}-mail-reply:before,
278
+.@{fa-css-prefix}-reply:before { content: @fa-var-reply; }
279
+.@{fa-css-prefix}-github-alt:before { content: @fa-var-github-alt; }
280
+.@{fa-css-prefix}-folder-o:before { content: @fa-var-folder-o; }
281
+.@{fa-css-prefix}-folder-open-o:before { content: @fa-var-folder-open-o; }
282
+.@{fa-css-prefix}-smile-o:before { content: @fa-var-smile-o; }
283
+.@{fa-css-prefix}-frown-o:before { content: @fa-var-frown-o; }
284
+.@{fa-css-prefix}-meh-o:before { content: @fa-var-meh-o; }
285
+.@{fa-css-prefix}-gamepad:before { content: @fa-var-gamepad; }
286
+.@{fa-css-prefix}-keyboard-o:before { content: @fa-var-keyboard-o; }
287
+.@{fa-css-prefix}-flag-o:before { content: @fa-var-flag-o; }
288
+.@{fa-css-prefix}-flag-checkered:before { content: @fa-var-flag-checkered; }
289
+.@{fa-css-prefix}-terminal:before { content: @fa-var-terminal; }
290
+.@{fa-css-prefix}-code:before { content: @fa-var-code; }
291
+.@{fa-css-prefix}-mail-reply-all:before,
292
+.@{fa-css-prefix}-reply-all:before { content: @fa-var-reply-all; }
293
+.@{fa-css-prefix}-star-half-empty:before,
294
+.@{fa-css-prefix}-star-half-full:before,
295
+.@{fa-css-prefix}-star-half-o:before { content: @fa-var-star-half-o; }
296
+.@{fa-css-prefix}-location-arrow:before { content: @fa-var-location-arrow; }
297
+.@{fa-css-prefix}-crop:before { content: @fa-var-crop; }
298
+.@{fa-css-prefix}-code-fork:before { content: @fa-var-code-fork; }
299
+.@{fa-css-prefix}-unlink:before,
300
+.@{fa-css-prefix}-chain-broken:before { content: @fa-var-chain-broken; }
301
+.@{fa-css-prefix}-question:before { content: @fa-var-question; }
302
+.@{fa-css-prefix}-info:before { content: @fa-var-info; }
303
+.@{fa-css-prefix}-exclamation:before { content: @fa-var-exclamation; }
304
+.@{fa-css-prefix}-superscript:before { content: @fa-var-superscript; }
305
+.@{fa-css-prefix}-subscript:before { content: @fa-var-subscript; }
306
+.@{fa-css-prefix}-eraser:before { content: @fa-var-eraser; }
307
+.@{fa-css-prefix}-puzzle-piece:before { content: @fa-var-puzzle-piece; }
308
+.@{fa-css-prefix}-microphone:before { content: @fa-var-microphone; }
309
+.@{fa-css-prefix}-microphone-slash:before { content: @fa-var-microphone-slash; }
310
+.@{fa-css-prefix}-shield:before { content: @fa-var-shield; }
311
+.@{fa-css-prefix}-calendar-o:before { content: @fa-var-calendar-o; }
312
+.@{fa-css-prefix}-fire-extinguisher:before { content: @fa-var-fire-extinguisher; }
313
+.@{fa-css-prefix}-rocket:before { content: @fa-var-rocket; }
314
+.@{fa-css-prefix}-maxcdn:before { content: @fa-var-maxcdn; }
315
+.@{fa-css-prefix}-chevron-circle-left:before { content: @fa-var-chevron-circle-left; }
316
+.@{fa-css-prefix}-chevron-circle-right:before { content: @fa-var-chevron-circle-right; }
317
+.@{fa-css-prefix}-chevron-circle-up:before { content: @fa-var-chevron-circle-up; }
318
+.@{fa-css-prefix}-chevron-circle-down:before { content: @fa-var-chevron-circle-down; }
319
+.@{fa-css-prefix}-html5:before { content: @fa-var-html5; }
320
+.@{fa-css-prefix}-css3:before { content: @fa-var-css3; }
321
+.@{fa-css-prefix}-anchor:before { content: @fa-var-anchor; }
322
+.@{fa-css-prefix}-unlock-alt:before { content: @fa-var-unlock-alt; }
323
+.@{fa-css-prefix}-bullseye:before { content: @fa-var-bullseye; }
324
+.@{fa-css-prefix}-ellipsis-h:before { content: @fa-var-ellipsis-h; }
325
+.@{fa-css-prefix}-ellipsis-v:before { content: @fa-var-ellipsis-v; }
326
+.@{fa-css-prefix}-rss-square:before { content: @fa-var-rss-square; }
327
+.@{fa-css-prefix}-play-circle:before { content: @fa-var-play-circle; }
328
+.@{fa-css-prefix}-ticket:before { content: @fa-var-ticket; }
329
+.@{fa-css-prefix}-minus-square:before { content: @fa-var-minus-square; }
330
+.@{fa-css-prefix}-minus-square-o:before { content: @fa-var-minus-square-o; }
331
+.@{fa-css-prefix}-level-up:before { content: @fa-var-level-up; }
332
+.@{fa-css-prefix}-level-down:before { content: @fa-var-level-down; }
333
+.@{fa-css-prefix}-check-square:before { content: @fa-var-check-square; }
334
+.@{fa-css-prefix}-pencil-square:before { content: @fa-var-pencil-square; }
335
+.@{fa-css-prefix}-external-link-square:before { content: @fa-var-external-link-square; }
336
+.@{fa-css-prefix}-share-square:before { content: @fa-var-share-square; }
337
+.@{fa-css-prefix}-compass:before { content: @fa-var-compass; }
338
+.@{fa-css-prefix}-toggle-down:before,
339
+.@{fa-css-prefix}-caret-square-o-down:before { content: @fa-var-caret-square-o-down; }
340
+.@{fa-css-prefix}-toggle-up:before,
341
+.@{fa-css-prefix}-caret-square-o-up:before { content: @fa-var-caret-square-o-up; }
342
+.@{fa-css-prefix}-toggle-right:before,
343
+.@{fa-css-prefix}-caret-square-o-right:before { content: @fa-var-caret-square-o-right; }
344
+.@{fa-css-prefix}-euro:before,
345
+.@{fa-css-prefix}-eur:before { content: @fa-var-eur; }
346
+.@{fa-css-prefix}-gbp:before { content: @fa-var-gbp; }
347
+.@{fa-css-prefix}-dollar:before,
348
+.@{fa-css-prefix}-usd:before { content: @fa-var-usd; }
349
+.@{fa-css-prefix}-rupee:before,
350
+.@{fa-css-prefix}-inr:before { content: @fa-var-inr; }
351
+.@{fa-css-prefix}-cny:before,
352
+.@{fa-css-prefix}-rmb:before,
353
+.@{fa-css-prefix}-yen:before,
354
+.@{fa-css-prefix}-jpy:before { content: @fa-var-jpy; }
355
+.@{fa-css-prefix}-ruble:before,
356
+.@{fa-css-prefix}-rouble:before,
357
+.@{fa-css-prefix}-rub:before { content: @fa-var-rub; }
358
+.@{fa-css-prefix}-won:before,
359
+.@{fa-css-prefix}-krw:before { content: @fa-var-krw; }
360
+.@{fa-css-prefix}-bitcoin:before,
361
+.@{fa-css-prefix}-btc:before { content: @fa-var-btc; }
362
+.@{fa-css-prefix}-file:before { content: @fa-var-file; }
363
+.@{fa-css-prefix}-file-text:before { content: @fa-var-file-text; }
364
+.@{fa-css-prefix}-sort-alpha-asc:before { content: @fa-var-sort-alpha-asc; }
365
+.@{fa-css-prefix}-sort-alpha-desc:before { content: @fa-var-sort-alpha-desc; }
366
+.@{fa-css-prefix}-sort-amount-asc:before { content: @fa-var-sort-amount-asc; }
367
+.@{fa-css-prefix}-sort-amount-desc:before { content: @fa-var-sort-amount-desc; }
368
+.@{fa-css-prefix}-sort-numeric-asc:before { content: @fa-var-sort-numeric-asc; }
369
+.@{fa-css-prefix}-sort-numeric-desc:before { content: @fa-var-sort-numeric-desc; }
370
+.@{fa-css-prefix}-thumbs-up:before { content: @fa-var-thumbs-up; }
371
+.@{fa-css-prefix}-thumbs-down:before { content: @fa-var-thumbs-down; }
372
+.@{fa-css-prefix}-youtube-square:before { content: @fa-var-youtube-square; }
373
+.@{fa-css-prefix}-youtube:before { content: @fa-var-youtube; }
374
+.@{fa-css-prefix}-xing:before { content: @fa-var-xing; }
375
+.@{fa-css-prefix}-xing-square:before { content: @fa-var-xing-square; }
376
+.@{fa-css-prefix}-youtube-play:before { content: @fa-var-youtube-play; }
377
+.@{fa-css-prefix}-dropbox:before { content: @fa-var-dropbox; }
378
+.@{fa-css-prefix}-stack-overflow:before { content: @fa-var-stack-overflow; }
379
+.@{fa-css-prefix}-instagram:before { content: @fa-var-instagram; }
380
+.@{fa-css-prefix}-flickr:before { content: @fa-var-flickr; }
381
+.@{fa-css-prefix}-adn:before { content: @fa-var-adn; }
382
+.@{fa-css-prefix}-bitbucket:before { content: @fa-var-bitbucket; }
383
+.@{fa-css-prefix}-bitbucket-square:before { content: @fa-var-bitbucket-square; }
384
+.@{fa-css-prefix}-tumblr:before { content: @fa-var-tumblr; }
385
+.@{fa-css-prefix}-tumblr-square:before { content: @fa-var-tumblr-square; }
386
+.@{fa-css-prefix}-long-arrow-down:before { content: @fa-var-long-arrow-down; }
387
+.@{fa-css-prefix}-long-arrow-up:before { content: @fa-var-long-arrow-up; }
388
+.@{fa-css-prefix}-long-arrow-left:before { content: @fa-var-long-arrow-left; }
389
+.@{fa-css-prefix}-long-arrow-right:before { content: @fa-var-long-arrow-right; }
390
+.@{fa-css-prefix}-apple:before { content: @fa-var-apple; }
391
+.@{fa-css-prefix}-windows:before { content: @fa-var-windows; }
392
+.@{fa-css-prefix}-android:before { content: @fa-var-android; }
393
+.@{fa-css-prefix}-linux:before { content: @fa-var-linux; }
394
+.@{fa-css-prefix}-dribbble:before { content: @fa-var-dribbble; }
395
+.@{fa-css-prefix}-skype:before { content: @fa-var-skype; }
396
+.@{fa-css-prefix}-foursquare:before { content: @fa-var-foursquare; }
397
+.@{fa-css-prefix}-trello:before { content: @fa-var-trello; }
398
+.@{fa-css-prefix}-female:before { content: @fa-var-female; }
399
+.@{fa-css-prefix}-male:before { content: @fa-var-male; }
400
+.@{fa-css-prefix}-gittip:before { content: @fa-var-gittip; }
401
+.@{fa-css-prefix}-sun-o:before { content: @fa-var-sun-o; }
402
+.@{fa-css-prefix}-moon-o:before { content: @fa-var-moon-o; }
403
+.@{fa-css-prefix}-archive:before { content: @fa-var-archive; }
404
+.@{fa-css-prefix}-bug:before { content: @fa-var-bug; }
405
+.@{fa-css-prefix}-vk:before { content: @fa-var-vk; }
406
+.@{fa-css-prefix}-weibo:before { content: @fa-var-weibo; }
407
+.@{fa-css-prefix}-renren:before { content: @fa-var-renren; }
408
+.@{fa-css-prefix}-pagelines:before { content: @fa-var-pagelines; }
409
+.@{fa-css-prefix}-stack-exchange:before { content: @fa-var-stack-exchange; }
410
+.@{fa-css-prefix}-arrow-circle-o-right:before { content: @fa-var-arrow-circle-o-right; }
411
+.@{fa-css-prefix}-arrow-circle-o-left:before { content: @fa-var-arrow-circle-o-left; }
412
+.@{fa-css-prefix}-toggle-left:before,
413
+.@{fa-css-prefix}-caret-square-o-left:before { content: @fa-var-caret-square-o-left; }
414
+.@{fa-css-prefix}-dot-circle-o:before { content: @fa-var-dot-circle-o; }
415
+.@{fa-css-prefix}-wheelchair:before { content: @fa-var-wheelchair; }
416
+.@{fa-css-prefix}-vimeo-square:before { content: @fa-var-vimeo-square; }
417
+.@{fa-css-prefix}-turkish-lira:before,
418
+.@{fa-css-prefix}-try:before { content: @fa-var-try; }
419
+.@{fa-css-prefix}-plus-square-o:before { content: @fa-var-plus-square-o; }
420
+.@{fa-css-prefix}-space-shuttle:before { content: @fa-var-space-shuttle; }
421
+.@{fa-css-prefix}-slack:before { content: @fa-var-slack; }
422
+.@{fa-css-prefix}-envelope-square:before { content: @fa-var-envelope-square; }
423
+.@{fa-css-prefix}-wordpress:before { content: @fa-var-wordpress; }
424
+.@{fa-css-prefix}-openid:before { content: @fa-var-openid; }
425
+.@{fa-css-prefix}-institution:before,
426
+.@{fa-css-prefix}-bank:before,
427
+.@{fa-css-prefix}-university:before { content: @fa-var-university; }
428
+.@{fa-css-prefix}-mortar-board:before,
429
+.@{fa-css-prefix}-graduation-cap:before { content: @fa-var-graduation-cap; }
430
+.@{fa-css-prefix}-yahoo:before { content: @fa-var-yahoo; }
431
+.@{fa-css-prefix}-google:before { content: @fa-var-google; }
432
+.@{fa-css-prefix}-reddit:before { content: @fa-var-reddit; }
433
+.@{fa-css-prefix}-reddit-square:before { content: @fa-var-reddit-square; }
434
+.@{fa-css-prefix}-stumbleupon-circle:before { content: @fa-var-stumbleupon-circle; }
435
+.@{fa-css-prefix}-stumbleupon:before { content: @fa-var-stumbleupon; }
436
+.@{fa-css-prefix}-delicious:before { content: @fa-var-delicious; }
437
+.@{fa-css-prefix}-digg:before { content: @fa-var-digg; }
438
+.@{fa-css-prefix}-pied-piper:before { content: @fa-var-pied-piper; }
439
+.@{fa-css-prefix}-pied-piper-alt:before { content: @fa-var-pied-piper-alt; }
440
+.@{fa-css-prefix}-drupal:before { content: @fa-var-drupal; }
441
+.@{fa-css-prefix}-joomla:before { content: @fa-var-joomla; }
442
+.@{fa-css-prefix}-language:before { content: @fa-var-language; }
443
+.@{fa-css-prefix}-fax:before { content: @fa-var-fax; }
444
+.@{fa-css-prefix}-building:before { content: @fa-var-building; }
445
+.@{fa-css-prefix}-child:before { content: @fa-var-child; }
446
+.@{fa-css-prefix}-paw:before { content: @fa-var-paw; }
447
+.@{fa-css-prefix}-spoon:before { content: @fa-var-spoon; }
448
+.@{fa-css-prefix}-cube:before { content: @fa-var-cube; }
449
+.@{fa-css-prefix}-cubes:before { content: @fa-var-cubes; }
450
+.@{fa-css-prefix}-behance:before { content: @fa-var-behance; }
451
+.@{fa-css-prefix}-behance-square:before { content: @fa-var-behance-square; }
452
+.@{fa-css-prefix}-steam:before { content: @fa-var-steam; }
453
+.@{fa-css-prefix}-steam-square:before { content: @fa-var-steam-square; }
454
+.@{fa-css-prefix}-recycle:before { content: @fa-var-recycle; }
455
+.@{fa-css-prefix}-automobile:before,
456
+.@{fa-css-prefix}-car:before { content: @fa-var-car; }
457
+.@{fa-css-prefix}-cab:before,
458
+.@{fa-css-prefix}-taxi:before { content: @fa-var-taxi; }
459
+.@{fa-css-prefix}-tree:before { content: @fa-var-tree; }
460
+.@{fa-css-prefix}-spotify:before { content: @fa-var-spotify; }
461
+.@{fa-css-prefix}-deviantart:before { content: @fa-var-deviantart; }
462
+.@{fa-css-prefix}-soundcloud:before { content: @fa-var-soundcloud; }
463
+.@{fa-css-prefix}-database:before { content: @fa-var-database; }
464
+.@{fa-css-prefix}-file-pdf-o:before { content: @fa-var-file-pdf-o; }
465
+.@{fa-css-prefix}-file-word-o:before { content: @fa-var-file-word-o; }
466
+.@{fa-css-prefix}-file-excel-o:before { content: @fa-var-file-excel-o; }
467
+.@{fa-css-prefix}-file-powerpoint-o:before { content: @fa-var-file-powerpoint-o; }
468
+.@{fa-css-prefix}-file-photo-o:before,
469
+.@{fa-css-prefix}-file-picture-o:before,
470
+.@{fa-css-prefix}-file-image-o:before { content: @fa-var-file-image-o; }
471
+.@{fa-css-prefix}-file-zip-o:before,
472
+.@{fa-css-prefix}-file-archive-o:before { content: @fa-var-file-archive-o; }
473
+.@{fa-css-prefix}-file-sound-o:before,
474
+.@{fa-css-prefix}-file-audio-o:before { content: @fa-var-file-audio-o; }
475
+.@{fa-css-prefix}-file-movie-o:before,
476
+.@{fa-css-prefix}-file-video-o:before { content: @fa-var-file-video-o; }
477
+.@{fa-css-prefix}-file-code-o:before { content: @fa-var-file-code-o; }
478
+.@{fa-css-prefix}-vine:before { content: @fa-var-vine; }
479
+.@{fa-css-prefix}-codepen:before { content: @fa-var-codepen; }
480
+.@{fa-css-prefix}-jsfiddle:before { content: @fa-var-jsfiddle; }
481
+.@{fa-css-prefix}-life-bouy:before,
482
+.@{fa-css-prefix}-life-buoy:before,
483
+.@{fa-css-prefix}-life-saver:before,
484
+.@{fa-css-prefix}-support:before,
485
+.@{fa-css-prefix}-life-ring:before { content: @fa-var-life-ring; }
486
+.@{fa-css-prefix}-circle-o-notch:before { content: @fa-var-circle-o-notch; }
487
+.@{fa-css-prefix}-ra:before,
488
+.@{fa-css-prefix}-rebel:before { content: @fa-var-rebel; }
489
+.@{fa-css-prefix}-ge:before,
490
+.@{fa-css-prefix}-empire:before { content: @fa-var-empire; }
491
+.@{fa-css-prefix}-git-square:before { content: @fa-var-git-square; }
492
+.@{fa-css-prefix}-git:before { content: @fa-var-git; }
493
+.@{fa-css-prefix}-hacker-news:before { content: @fa-var-hacker-news; }
494
+.@{fa-css-prefix}-tencent-weibo:before { content: @fa-var-tencent-weibo; }
495
+.@{fa-css-prefix}-qq:before { content: @fa-var-qq; }
496
+.@{fa-css-prefix}-wechat:before,
497
+.@{fa-css-prefix}-weixin:before { content: @fa-var-weixin; }
498
+.@{fa-css-prefix}-send:before,
499
+.@{fa-css-prefix}-paper-plane:before { content: @fa-var-paper-plane; }
500
+.@{fa-css-prefix}-send-o:before,
501
+.@{fa-css-prefix}-paper-plane-o:before { content: @fa-var-paper-plane-o; }
502
+.@{fa-css-prefix}-history:before { content: @fa-var-history; }
503
+.@{fa-css-prefix}-circle-thin:before { content: @fa-var-circle-thin; }
504
+.@{fa-css-prefix}-header:before { content: @fa-var-header; }
505
+.@{fa-css-prefix}-paragraph:before { content: @fa-var-paragraph; }
506
+.@{fa-css-prefix}-sliders:before { content: @fa-var-sliders; }
507
+.@{fa-css-prefix}-share-alt:before { content: @fa-var-share-alt; }
508
+.@{fa-css-prefix}-share-alt-square:before { content: @fa-var-share-alt-square; }
509
+.@{fa-css-prefix}-bomb:before { content: @fa-var-bomb; }
510
+.@{fa-css-prefix}-soccer-ball-o:before,
511
+.@{fa-css-prefix}-futbol-o:before { content: @fa-var-futbol-o; }
512
+.@{fa-css-prefix}-tty:before { content: @fa-var-tty; }
513
+.@{fa-css-prefix}-binoculars:before { content: @fa-var-binoculars; }
514
+.@{fa-css-prefix}-plug:before { content: @fa-var-plug; }
515
+.@{fa-css-prefix}-slideshare:before { content: @fa-var-slideshare; }
516
+.@{fa-css-prefix}-twitch:before { content: @fa-var-twitch; }
517
+.@{fa-css-prefix}-yelp:before { content: @fa-var-yelp; }
518
+.@{fa-css-prefix}-newspaper-o:before { content: @fa-var-newspaper-o; }
519
+.@{fa-css-prefix}-wifi:before { content: @fa-var-wifi; }
520
+.@{fa-css-prefix}-calculator:before { content: @fa-var-calculator; }
521
+.@{fa-css-prefix}-paypal:before { content: @fa-var-paypal; }
522
+.@{fa-css-prefix}-google-wallet:before { content: @fa-var-google-wallet; }
523
+.@{fa-css-prefix}-cc-visa:before { content: @fa-var-cc-visa; }
524
+.@{fa-css-prefix}-cc-mastercard:before { content: @fa-var-cc-mastercard; }
525
+.@{fa-css-prefix}-cc-discover:before { content: @fa-var-cc-discover; }
526
+.@{fa-css-prefix}-cc-amex:before { content: @fa-var-cc-amex; }
527
+.@{fa-css-prefix}-cc-paypal:before { content: @fa-var-cc-paypal; }
528
+.@{fa-css-prefix}-cc-stripe:before { content: @fa-var-cc-stripe; }
529
+.@{fa-css-prefix}-bell-slash:before { content: @fa-var-bell-slash; }
530
+.@{fa-css-prefix}-bell-slash-o:before { content: @fa-var-bell-slash-o; }
531
+.@{fa-css-prefix}-trash:before { content: @fa-var-trash; }
532
+.@{fa-css-prefix}-copyright:before { content: @fa-var-copyright; }
533
+.@{fa-css-prefix}-at:before { content: @fa-var-at; }
534
+.@{fa-css-prefix}-eyedropper:before { content: @fa-var-eyedropper; }
535
+.@{fa-css-prefix}-paint-brush:before { content: @fa-var-paint-brush; }
536
+.@{fa-css-prefix}-birthday-cake:before { content: @fa-var-birthday-cake; }
537
+.@{fa-css-prefix}-area-chart:before { content: @fa-var-area-chart; }
538
+.@{fa-css-prefix}-pie-chart:before { content: @fa-var-pie-chart; }
539
+.@{fa-css-prefix}-line-chart:before { content: @fa-var-line-chart; }
540
+.@{fa-css-prefix}-lastfm:before { content: @fa-var-lastfm; }
541
+.@{fa-css-prefix}-lastfm-square:before { content: @fa-var-lastfm-square; }
542
+.@{fa-css-prefix}-toggle-off:before { content: @fa-var-toggle-off; }
543
+.@{fa-css-prefix}-toggle-on:before { content: @fa-var-toggle-on; }
544
+.@{fa-css-prefix}-bicycle:before { content: @fa-var-bicycle; }
545
+.@{fa-css-prefix}-bus:before { content: @fa-var-bus; }
546
+.@{fa-css-prefix}-ioxhost:before { content: @fa-var-ioxhost; }
547
+.@{fa-css-prefix}-angellist:before { content: @fa-var-angellist; }
548
+.@{fa-css-prefix}-cc:before { content: @fa-var-cc; }
549
+.@{fa-css-prefix}-shekel:before,
550
+.@{fa-css-prefix}-sheqel:before,
551
+.@{fa-css-prefix}-ils:before { content: @fa-var-ils; }
552
+.@{fa-css-prefix}-meanpath:before { content: @fa-var-meanpath; }

+ 13 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/larger.less Просмотреть файл

@@ -0,0 +1,13 @@
1
+// Icon Sizes
2
+// -------------------------
3
+
4
+/* makes the font 33% larger relative to the icon container */
5
+.@{fa-css-prefix}-lg {
6
+  font-size: (4em / 3);
7
+  line-height: (3em / 4);
8
+  vertical-align: -15%;
9
+}
10
+.@{fa-css-prefix}-2x { font-size: 2em; }
11
+.@{fa-css-prefix}-3x { font-size: 3em; }
12
+.@{fa-css-prefix}-4x { font-size: 4em; }
13
+.@{fa-css-prefix}-5x { font-size: 5em; }

+ 19 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/list.less Просмотреть файл

@@ -0,0 +1,19 @@
1
+// List Icons
2
+// -------------------------
3
+
4
+.@{fa-css-prefix}-ul {
5
+  padding-left: 0;
6
+  margin-left: @fa-li-width;
7
+  list-style-type: none;
8
+  > li { position: relative; }
9
+}
10
+.@{fa-css-prefix}-li {
11
+  position: absolute;
12
+  left: -@fa-li-width;
13
+  width: @fa-li-width;
14
+  top: (2em / 14);
15
+  text-align: center;
16
+  &.@{fa-css-prefix}-lg {
17
+    left: (-@fa-li-width + (4em / 14));
18
+  }
19
+}

+ 25 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/mixins.less Просмотреть файл

@@ -0,0 +1,25 @@
1
+// Mixins
2
+// --------------------------
3
+
4
+.fa-icon() {
5
+  display: inline-block;
6
+  font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
7
+  font-size: inherit; // can't have font-size inherit on line above, so need to override
8
+  text-rendering: auto; // optimizelegibility throws things off #1094
9
+  -webkit-font-smoothing: antialiased;
10
+  -moz-osx-font-smoothing: grayscale;
11
+}
12
+
13
+.fa-icon-rotate(@degrees, @rotation) {
14
+  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation);
15
+  -webkit-transform: rotate(@degrees);
16
+      -ms-transform: rotate(@degrees);
17
+          transform: rotate(@degrees);
18
+}
19
+
20
+.fa-icon-flip(@horiz, @vert, @rotation) {
21
+  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1);
22
+  -webkit-transform: scale(@horiz, @vert);
23
+      -ms-transform: scale(@horiz, @vert);
24
+          transform: scale(@horiz, @vert);
25
+}

+ 14 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/path.less Просмотреть файл

@@ -0,0 +1,14 @@
1
+/* FONT PATH
2
+ * -------------------------- */
3
+
4
+@font-face {
5
+  font-family: 'FontAwesome';
6
+  src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
7
+  src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
8
+    url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
9
+    url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
10
+    url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
11
+//  src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
12
+  font-weight: normal;
13
+  font-style: normal;
14
+}

+ 20 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/rotated-flipped.less Просмотреть файл

@@ -0,0 +1,20 @@
1
+// Rotated & Flipped Icons
2
+// -------------------------
3
+
4
+.@{fa-css-prefix}-rotate-90  { .fa-icon-rotate(90deg, 1);  }
5
+.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
6
+.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
7
+
8
+.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
9
+.@{fa-css-prefix}-flip-vertical   { .fa-icon-flip(1, -1, 2); }
10
+
11
+// Hook for IE8-9
12
+// -------------------------
13
+
14
+:root .@{fa-css-prefix}-rotate-90,
15
+:root .@{fa-css-prefix}-rotate-180,
16
+:root .@{fa-css-prefix}-rotate-270,
17
+:root .@{fa-css-prefix}-flip-horizontal,
18
+:root .@{fa-css-prefix}-flip-vertical {
19
+  filter: none;
20
+}

+ 29 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/spinning.less Просмотреть файл

@@ -0,0 +1,29 @@
1
+// Spinning Icons
2
+// --------------------------
3
+
4
+.@{fa-css-prefix}-spin {
5
+  -webkit-animation: fa-spin 2s infinite linear;
6
+          animation: fa-spin 2s infinite linear;
7
+}
8
+
9
+@-webkit-keyframes fa-spin {
10
+  0% {
11
+    -webkit-transform: rotate(0deg);
12
+            transform: rotate(0deg);
13
+  }
14
+  100% {
15
+    -webkit-transform: rotate(359deg);
16
+            transform: rotate(359deg);
17
+  }
18
+}
19
+
20
+@keyframes fa-spin {
21
+  0% {
22
+    -webkit-transform: rotate(0deg);
23
+            transform: rotate(0deg);
24
+  }
25
+  100% {
26
+    -webkit-transform: rotate(359deg);
27
+            transform: rotate(359deg);
28
+  }
29
+}

+ 20 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/stacked.less Просмотреть файл

@@ -0,0 +1,20 @@
1
+// Stacked Icons
2
+// -------------------------
3
+
4
+.@{fa-css-prefix}-stack {
5
+  position: relative;
6
+  display: inline-block;
7
+  width: 2em;
8
+  height: 2em;
9
+  line-height: 2em;
10
+  vertical-align: middle;
11
+}
12
+.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
13
+  position: absolute;
14
+  left: 0;
15
+  width: 100%;
16
+  text-align: center;
17
+}
18
+.@{fa-css-prefix}-stack-1x { line-height: inherit; }
19
+.@{fa-css-prefix}-stack-2x { font-size: 2em; }
20
+.@{fa-css-prefix}-inverse { color: @fa-inverse; }

+ 561 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/less/variables.less Просмотреть файл

@@ -0,0 +1,561 @@
1
+// Variables
2
+// --------------------------
3
+
4
+@fa-font-path:        "../fonts";
5
+//@fa-font-path:        "//netdna.bootstrapcdn.com/font-awesome/4.2.0/fonts"; // for referencing Bootstrap CDN font files directly
6
+@fa-css-prefix:       fa;
7
+@fa-version:          "4.2.0";
8
+@fa-border-color:     #eee;
9
+@fa-inverse:          #fff;
10
+@fa-li-width:         (30em / 14);
11
+
12
+@fa-var-adjust: "\f042";
13
+@fa-var-adn: "\f170";
14
+@fa-var-align-center: "\f037";
15
+@fa-var-align-justify: "\f039";
16
+@fa-var-align-left: "\f036";
17
+@fa-var-align-right: "\f038";
18
+@fa-var-ambulance: "\f0f9";
19
+@fa-var-anchor: "\f13d";
20
+@fa-var-android: "\f17b";
21
+@fa-var-angellist: "\f209";
22
+@fa-var-angle-double-down: "\f103";
23
+@fa-var-angle-double-left: "\f100";
24
+@fa-var-angle-double-right: "\f101";
25
+@fa-var-angle-double-up: "\f102";
26
+@fa-var-angle-down: "\f107";
27
+@fa-var-angle-left: "\f104";
28
+@fa-var-angle-right: "\f105";
29
+@fa-var-angle-up: "\f106";
30
+@fa-var-apple: "\f179";
31
+@fa-var-archive: "\f187";
32
+@fa-var-area-chart: "\f1fe";
33
+@fa-var-arrow-circle-down: "\f0ab";
34
+@fa-var-arrow-circle-left: "\f0a8";
35
+@fa-var-arrow-circle-o-down: "\f01a";
36
+@fa-var-arrow-circle-o-left: "\f190";
37
+@fa-var-arrow-circle-o-right: "\f18e";
38
+@fa-var-arrow-circle-o-up: "\f01b";
39
+@fa-var-arrow-circle-right: "\f0a9";
40
+@fa-var-arrow-circle-up: "\f0aa";
41
+@fa-var-arrow-down: "\f063";
42
+@fa-var-arrow-left: "\f060";
43
+@fa-var-arrow-right: "\f061";
44
+@fa-var-arrow-up: "\f062";
45
+@fa-var-arrows: "\f047";
46
+@fa-var-arrows-alt: "\f0b2";
47
+@fa-var-arrows-h: "\f07e";
48
+@fa-var-arrows-v: "\f07d";
49
+@fa-var-asterisk: "\f069";
50
+@fa-var-at: "\f1fa";
51
+@fa-var-automobile: "\f1b9";
52
+@fa-var-backward: "\f04a";
53
+@fa-var-ban: "\f05e";
54
+@fa-var-bank: "\f19c";
55
+@fa-var-bar-chart: "\f080";
56
+@fa-var-bar-chart-o: "\f080";
57
+@fa-var-barcode: "\f02a";
58
+@fa-var-bars: "\f0c9";
59
+@fa-var-beer: "\f0fc";
60
+@fa-var-behance: "\f1b4";
61
+@fa-var-behance-square: "\f1b5";
62
+@fa-var-bell: "\f0f3";
63
+@fa-var-bell-o: "\f0a2";
64
+@fa-var-bell-slash: "\f1f6";
65
+@fa-var-bell-slash-o: "\f1f7";
66
+@fa-var-bicycle: "\f206";
67
+@fa-var-binoculars: "\f1e5";
68
+@fa-var-birthday-cake: "\f1fd";
69
+@fa-var-bitbucket: "\f171";
70
+@fa-var-bitbucket-square: "\f172";
71
+@fa-var-bitcoin: "\f15a";
72
+@fa-var-bold: "\f032";
73
+@fa-var-bolt: "\f0e7";
74
+@fa-var-bomb: "\f1e2";
75
+@fa-var-book: "\f02d";
76
+@fa-var-bookmark: "\f02e";
77
+@fa-var-bookmark-o: "\f097";
78
+@fa-var-briefcase: "\f0b1";
79
+@fa-var-btc: "\f15a";
80
+@fa-var-bug: "\f188";
81
+@fa-var-building: "\f1ad";
82
+@fa-var-building-o: "\f0f7";
83
+@fa-var-bullhorn: "\f0a1";
84
+@fa-var-bullseye: "\f140";
85
+@fa-var-bus: "\f207";
86
+@fa-var-cab: "\f1ba";
87
+@fa-var-calculator: "\f1ec";
88
+@fa-var-calendar: "\f073";
89
+@fa-var-calendar-o: "\f133";
90
+@fa-var-camera: "\f030";
91
+@fa-var-camera-retro: "\f083";
92
+@fa-var-car: "\f1b9";
93
+@fa-var-caret-down: "\f0d7";
94
+@fa-var-caret-left: "\f0d9";
95
+@fa-var-caret-right: "\f0da";
96
+@fa-var-caret-square-o-down: "\f150";
97
+@fa-var-caret-square-o-left: "\f191";
98
+@fa-var-caret-square-o-right: "\f152";
99
+@fa-var-caret-square-o-up: "\f151";
100
+@fa-var-caret-up: "\f0d8";
101
+@fa-var-cc: "\f20a";
102
+@fa-var-cc-amex: "\f1f3";
103
+@fa-var-cc-discover: "\f1f2";
104
+@fa-var-cc-mastercard: "\f1f1";
105
+@fa-var-cc-paypal: "\f1f4";
106
+@fa-var-cc-stripe: "\f1f5";
107
+@fa-var-cc-visa: "\f1f0";
108
+@fa-var-certificate: "\f0a3";
109
+@fa-var-chain: "\f0c1";
110
+@fa-var-chain-broken: "\f127";
111
+@fa-var-check: "\f00c";
112
+@fa-var-check-circle: "\f058";
113
+@fa-var-check-circle-o: "\f05d";
114
+@fa-var-check-square: "\f14a";
115
+@fa-var-check-square-o: "\f046";
116
+@fa-var-chevron-circle-down: "\f13a";
117
+@fa-var-chevron-circle-left: "\f137";
118
+@fa-var-chevron-circle-right: "\f138";
119
+@fa-var-chevron-circle-up: "\f139";
120
+@fa-var-chevron-down: "\f078";
121
+@fa-var-chevron-left: "\f053";
122
+@fa-var-chevron-right: "\f054";
123
+@fa-var-chevron-up: "\f077";
124
+@fa-var-child: "\f1ae";
125
+@fa-var-circle: "\f111";
126
+@fa-var-circle-o: "\f10c";
127
+@fa-var-circle-o-notch: "\f1ce";
128
+@fa-var-circle-thin: "\f1db";
129
+@fa-var-clipboard: "\f0ea";
130
+@fa-var-clock-o: "\f017";
131
+@fa-var-close: "\f00d";
132
+@fa-var-cloud: "\f0c2";
133
+@fa-var-cloud-download: "\f0ed";
134
+@fa-var-cloud-upload: "\f0ee";
135
+@fa-var-cny: "\f157";
136
+@fa-var-code: "\f121";
137
+@fa-var-code-fork: "\f126";
138
+@fa-var-codepen: "\f1cb";
139
+@fa-var-coffee: "\f0f4";
140
+@fa-var-cog: "\f013";
141
+@fa-var-cogs: "\f085";
142
+@fa-var-columns: "\f0db";
143
+@fa-var-comment: "\f075";
144
+@fa-var-comment-o: "\f0e5";
145
+@fa-var-comments: "\f086";
146
+@fa-var-comments-o: "\f0e6";
147
+@fa-var-compass: "\f14e";
148
+@fa-var-compress: "\f066";
149
+@fa-var-copy: "\f0c5";
150
+@fa-var-copyright: "\f1f9";
151
+@fa-var-credit-card: "\f09d";
152
+@fa-var-crop: "\f125";
153
+@fa-var-crosshairs: "\f05b";
154
+@fa-var-css3: "\f13c";
155
+@fa-var-cube: "\f1b2";
156
+@fa-var-cubes: "\f1b3";
157
+@fa-var-cut: "\f0c4";
158
+@fa-var-cutlery: "\f0f5";
159
+@fa-var-dashboard: "\f0e4";
160
+@fa-var-database: "\f1c0";
161
+@fa-var-dedent: "\f03b";
162
+@fa-var-delicious: "\f1a5";
163
+@fa-var-desktop: "\f108";
164
+@fa-var-deviantart: "\f1bd";
165
+@fa-var-digg: "\f1a6";
166
+@fa-var-dollar: "\f155";
167
+@fa-var-dot-circle-o: "\f192";
168
+@fa-var-download: "\f019";
169
+@fa-var-dribbble: "\f17d";
170
+@fa-var-dropbox: "\f16b";
171
+@fa-var-drupal: "\f1a9";
172
+@fa-var-edit: "\f044";
173
+@fa-var-eject: "\f052";
174
+@fa-var-ellipsis-h: "\f141";
175
+@fa-var-ellipsis-v: "\f142";
176
+@fa-var-empire: "\f1d1";
177
+@fa-var-envelope: "\f0e0";
178
+@fa-var-envelope-o: "\f003";
179
+@fa-var-envelope-square: "\f199";
180
+@fa-var-eraser: "\f12d";
181
+@fa-var-eur: "\f153";
182
+@fa-var-euro: "\f153";
183
+@fa-var-exchange: "\f0ec";
184
+@fa-var-exclamation: "\f12a";
185
+@fa-var-exclamation-circle: "\f06a";
186
+@fa-var-exclamation-triangle: "\f071";
187
+@fa-var-expand: "\f065";
188
+@fa-var-external-link: "\f08e";
189
+@fa-var-external-link-square: "\f14c";
190
+@fa-var-eye: "\f06e";
191
+@fa-var-eye-slash: "\f070";
192
+@fa-var-eyedropper: "\f1fb";
193
+@fa-var-facebook: "\f09a";
194
+@fa-var-facebook-square: "\f082";
195
+@fa-var-fast-backward: "\f049";
196
+@fa-var-fast-forward: "\f050";
197
+@fa-var-fax: "\f1ac";
198
+@fa-var-female: "\f182";
199
+@fa-var-fighter-jet: "\f0fb";
200
+@fa-var-file: "\f15b";
201
+@fa-var-file-archive-o: "\f1c6";
202
+@fa-var-file-audio-o: "\f1c7";
203
+@fa-var-file-code-o: "\f1c9";
204
+@fa-var-file-excel-o: "\f1c3";
205
+@fa-var-file-image-o: "\f1c5";
206
+@fa-var-file-movie-o: "\f1c8";
207
+@fa-var-file-o: "\f016";
208
+@fa-var-file-pdf-o: "\f1c1";
209
+@fa-var-file-photo-o: "\f1c5";
210
+@fa-var-file-picture-o: "\f1c5";
211
+@fa-var-file-powerpoint-o: "\f1c4";
212
+@fa-var-file-sound-o: "\f1c7";
213
+@fa-var-file-text: "\f15c";
214
+@fa-var-file-text-o: "\f0f6";
215
+@fa-var-file-video-o: "\f1c8";
216
+@fa-var-file-word-o: "\f1c2";
217
+@fa-var-file-zip-o: "\f1c6";
218
+@fa-var-files-o: "\f0c5";
219
+@fa-var-film: "\f008";
220
+@fa-var-filter: "\f0b0";
221
+@fa-var-fire: "\f06d";
222
+@fa-var-fire-extinguisher: "\f134";
223
+@fa-var-flag: "\f024";
224
+@fa-var-flag-checkered: "\f11e";
225
+@fa-var-flag-o: "\f11d";
226
+@fa-var-flash: "\f0e7";
227
+@fa-var-flask: "\f0c3";
228
+@fa-var-flickr: "\f16e";
229
+@fa-var-floppy-o: "\f0c7";
230
+@fa-var-folder: "\f07b";
231
+@fa-var-folder-o: "\f114";
232
+@fa-var-folder-open: "\f07c";
233
+@fa-var-folder-open-o: "\f115";
234
+@fa-var-font: "\f031";
235
+@fa-var-forward: "\f04e";
236
+@fa-var-foursquare: "\f180";
237
+@fa-var-frown-o: "\f119";
238
+@fa-var-futbol-o: "\f1e3";
239
+@fa-var-gamepad: "\f11b";
240
+@fa-var-gavel: "\f0e3";
241
+@fa-var-gbp: "\f154";
242
+@fa-var-ge: "\f1d1";
243
+@fa-var-gear: "\f013";
244
+@fa-var-gears: "\f085";
245
+@fa-var-gift: "\f06b";
246
+@fa-var-git: "\f1d3";
247
+@fa-var-git-square: "\f1d2";
248
+@fa-var-github: "\f09b";
249
+@fa-var-github-alt: "\f113";
250
+@fa-var-github-square: "\f092";
251
+@fa-var-gittip: "\f184";
252
+@fa-var-glass: "\f000";
253
+@fa-var-globe: "\f0ac";
254
+@fa-var-google: "\f1a0";
255
+@fa-var-google-plus: "\f0d5";
256
+@fa-var-google-plus-square: "\f0d4";
257
+@fa-var-google-wallet: "\f1ee";
258
+@fa-var-graduation-cap: "\f19d";
259
+@fa-var-group: "\f0c0";
260
+@fa-var-h-square: "\f0fd";
261
+@fa-var-hacker-news: "\f1d4";
262
+@fa-var-hand-o-down: "\f0a7";
263
+@fa-var-hand-o-left: "\f0a5";
264
+@fa-var-hand-o-right: "\f0a4";
265
+@fa-var-hand-o-up: "\f0a6";
266
+@fa-var-hdd-o: "\f0a0";
267
+@fa-var-header: "\f1dc";
268
+@fa-var-headphones: "\f025";
269
+@fa-var-heart: "\f004";
270
+@fa-var-heart-o: "\f08a";
271
+@fa-var-history: "\f1da";
272
+@fa-var-home: "\f015";
273
+@fa-var-hospital-o: "\f0f8";
274
+@fa-var-html5: "\f13b";
275
+@fa-var-ils: "\f20b";
276
+@fa-var-image: "\f03e";
277
+@fa-var-inbox: "\f01c";
278
+@fa-var-indent: "\f03c";
279
+@fa-var-info: "\f129";
280
+@fa-var-info-circle: "\f05a";
281
+@fa-var-inr: "\f156";
282
+@fa-var-instagram: "\f16d";
283
+@fa-var-institution: "\f19c";
284
+@fa-var-ioxhost: "\f208";
285
+@fa-var-italic: "\f033";
286
+@fa-var-joomla: "\f1aa";
287
+@fa-var-jpy: "\f157";
288
+@fa-var-jsfiddle: "\f1cc";
289
+@fa-var-key: "\f084";
290
+@fa-var-keyboard-o: "\f11c";
291
+@fa-var-krw: "\f159";
292
+@fa-var-language: "\f1ab";
293
+@fa-var-laptop: "\f109";
294
+@fa-var-lastfm: "\f202";
295
+@fa-var-lastfm-square: "\f203";
296
+@fa-var-leaf: "\f06c";
297
+@fa-var-legal: "\f0e3";
298
+@fa-var-lemon-o: "\f094";
299
+@fa-var-level-down: "\f149";
300
+@fa-var-level-up: "\f148";
301
+@fa-var-life-bouy: "\f1cd";
302
+@fa-var-life-buoy: "\f1cd";
303
+@fa-var-life-ring: "\f1cd";
304
+@fa-var-life-saver: "\f1cd";
305
+@fa-var-lightbulb-o: "\f0eb";
306
+@fa-var-line-chart: "\f201";
307
+@fa-var-link: "\f0c1";
308
+@fa-var-linkedin: "\f0e1";
309
+@fa-var-linkedin-square: "\f08c";
310
+@fa-var-linux: "\f17c";
311
+@fa-var-list: "\f03a";
312
+@fa-var-list-alt: "\f022";
313
+@fa-var-list-ol: "\f0cb";
314
+@fa-var-list-ul: "\f0ca";
315
+@fa-var-location-arrow: "\f124";
316
+@fa-var-lock: "\f023";
317
+@fa-var-long-arrow-down: "\f175";
318
+@fa-var-long-arrow-left: "\f177";
319
+@fa-var-long-arrow-right: "\f178";
320
+@fa-var-long-arrow-up: "\f176";
321
+@fa-var-magic: "\f0d0";
322
+@fa-var-magnet: "\f076";
323
+@fa-var-mail-forward: "\f064";
324
+@fa-var-mail-reply: "\f112";
325
+@fa-var-mail-reply-all: "\f122";
326
+@fa-var-male: "\f183";
327
+@fa-var-map-marker: "\f041";
328
+@fa-var-maxcdn: "\f136";
329
+@fa-var-meanpath: "\f20c";
330
+@fa-var-medkit: "\f0fa";
331
+@fa-var-meh-o: "\f11a";
332
+@fa-var-microphone: "\f130";
333
+@fa-var-microphone-slash: "\f131";
334
+@fa-var-minus: "\f068";
335
+@fa-var-minus-circle: "\f056";
336
+@fa-var-minus-square: "\f146";
337
+@fa-var-minus-square-o: "\f147";
338
+@fa-var-mobile: "\f10b";
339
+@fa-var-mobile-phone: "\f10b";
340
+@fa-var-money: "\f0d6";
341
+@fa-var-moon-o: "\f186";
342
+@fa-var-mortar-board: "\f19d";
343
+@fa-var-music: "\f001";
344
+@fa-var-navicon: "\f0c9";
345
+@fa-var-newspaper-o: "\f1ea";
346
+@fa-var-openid: "\f19b";
347
+@fa-var-outdent: "\f03b";
348
+@fa-var-pagelines: "\f18c";
349
+@fa-var-paint-brush: "\f1fc";
350
+@fa-var-paper-plane: "\f1d8";
351
+@fa-var-paper-plane-o: "\f1d9";
352
+@fa-var-paperclip: "\f0c6";
353
+@fa-var-paragraph: "\f1dd";
354
+@fa-var-paste: "\f0ea";
355
+@fa-var-pause: "\f04c";
356
+@fa-var-paw: "\f1b0";
357
+@fa-var-paypal: "\f1ed";
358
+@fa-var-pencil: "\f040";
359
+@fa-var-pencil-square: "\f14b";
360
+@fa-var-pencil-square-o: "\f044";
361
+@fa-var-phone: "\f095";
362
+@fa-var-phone-square: "\f098";
363
+@fa-var-photo: "\f03e";
364
+@fa-var-picture-o: "\f03e";
365
+@fa-var-pie-chart: "\f200";
366
+@fa-var-pied-piper: "\f1a7";
367
+@fa-var-pied-piper-alt: "\f1a8";
368
+@fa-var-pinterest: "\f0d2";
369
+@fa-var-pinterest-square: "\f0d3";
370
+@fa-var-plane: "\f072";
371
+@fa-var-play: "\f04b";
372
+@fa-var-play-circle: "\f144";
373
+@fa-var-play-circle-o: "\f01d";
374
+@fa-var-plug: "\f1e6";
375
+@fa-var-plus: "\f067";
376
+@fa-var-plus-circle: "\f055";
377
+@fa-var-plus-square: "\f0fe";
378
+@fa-var-plus-square-o: "\f196";
379
+@fa-var-power-off: "\f011";
380
+@fa-var-print: "\f02f";
381
+@fa-var-puzzle-piece: "\f12e";
382
+@fa-var-qq: "\f1d6";
383
+@fa-var-qrcode: "\f029";
384
+@fa-var-question: "\f128";
385
+@fa-var-question-circle: "\f059";
386
+@fa-var-quote-left: "\f10d";
387
+@fa-var-quote-right: "\f10e";
388
+@fa-var-ra: "\f1d0";
389
+@fa-var-random: "\f074";
390
+@fa-var-rebel: "\f1d0";
391
+@fa-var-recycle: "\f1b8";
392
+@fa-var-reddit: "\f1a1";
393
+@fa-var-reddit-square: "\f1a2";
394
+@fa-var-refresh: "\f021";
395
+@fa-var-remove: "\f00d";
396
+@fa-var-renren: "\f18b";
397
+@fa-var-reorder: "\f0c9";
398
+@fa-var-repeat: "\f01e";
399
+@fa-var-reply: "\f112";
400
+@fa-var-reply-all: "\f122";
401
+@fa-var-retweet: "\f079";
402
+@fa-var-rmb: "\f157";
403
+@fa-var-road: "\f018";
404
+@fa-var-rocket: "\f135";
405
+@fa-var-rotate-left: "\f0e2";
406
+@fa-var-rotate-right: "\f01e";
407
+@fa-var-rouble: "\f158";
408
+@fa-var-rss: "\f09e";
409
+@fa-var-rss-square: "\f143";
410
+@fa-var-rub: "\f158";
411
+@fa-var-ruble: "\f158";
412
+@fa-var-rupee: "\f156";
413
+@fa-var-save: "\f0c7";
414
+@fa-var-scissors: "\f0c4";
415
+@fa-var-search: "\f002";
416
+@fa-var-search-minus: "\f010";
417
+@fa-var-search-plus: "\f00e";
418
+@fa-var-send: "\f1d8";
419
+@fa-var-send-o: "\f1d9";
420
+@fa-var-share: "\f064";
421
+@fa-var-share-alt: "\f1e0";
422
+@fa-var-share-alt-square: "\f1e1";
423
+@fa-var-share-square: "\f14d";
424
+@fa-var-share-square-o: "\f045";
425
+@fa-var-shekel: "\f20b";
426
+@fa-var-sheqel: "\f20b";
427
+@fa-var-shield: "\f132";
428
+@fa-var-shopping-cart: "\f07a";
429
+@fa-var-sign-in: "\f090";
430
+@fa-var-sign-out: "\f08b";
431
+@fa-var-signal: "\f012";
432
+@fa-var-sitemap: "\f0e8";
433
+@fa-var-skype: "\f17e";
434
+@fa-var-slack: "\f198";
435
+@fa-var-sliders: "\f1de";
436
+@fa-var-slideshare: "\f1e7";
437
+@fa-var-smile-o: "\f118";
438
+@fa-var-soccer-ball-o: "\f1e3";
439
+@fa-var-sort: "\f0dc";
440
+@fa-var-sort-alpha-asc: "\f15d";
441
+@fa-var-sort-alpha-desc: "\f15e";
442
+@fa-var-sort-amount-asc: "\f160";
443
+@fa-var-sort-amount-desc: "\f161";
444
+@fa-var-sort-asc: "\f0de";
445
+@fa-var-sort-desc: "\f0dd";
446
+@fa-var-sort-down: "\f0dd";
447
+@fa-var-sort-numeric-asc: "\f162";
448
+@fa-var-sort-numeric-desc: "\f163";
449
+@fa-var-sort-up: "\f0de";
450
+@fa-var-soundcloud: "\f1be";
451
+@fa-var-space-shuttle: "\f197";
452
+@fa-var-spinner: "\f110";
453
+@fa-var-spoon: "\f1b1";
454
+@fa-var-spotify: "\f1bc";
455
+@fa-var-square: "\f0c8";
456
+@fa-var-square-o: "\f096";
457
+@fa-var-stack-exchange: "\f18d";
458
+@fa-var-stack-overflow: "\f16c";
459
+@fa-var-star: "\f005";
460
+@fa-var-star-half: "\f089";
461
+@fa-var-star-half-empty: "\f123";
462
+@fa-var-star-half-full: "\f123";
463
+@fa-var-star-half-o: "\f123";
464
+@fa-var-star-o: "\f006";
465
+@fa-var-steam: "\f1b6";
466
+@fa-var-steam-square: "\f1b7";
467
+@fa-var-step-backward: "\f048";
468
+@fa-var-step-forward: "\f051";
469
+@fa-var-stethoscope: "\f0f1";
470
+@fa-var-stop: "\f04d";
471
+@fa-var-strikethrough: "\f0cc";
472
+@fa-var-stumbleupon: "\f1a4";
473
+@fa-var-stumbleupon-circle: "\f1a3";
474
+@fa-var-subscript: "\f12c";
475
+@fa-var-suitcase: "\f0f2";
476
+@fa-var-sun-o: "\f185";
477
+@fa-var-superscript: "\f12b";
478
+@fa-var-support: "\f1cd";
479
+@fa-var-table: "\f0ce";
480
+@fa-var-tablet: "\f10a";
481
+@fa-var-tachometer: "\f0e4";
482
+@fa-var-tag: "\f02b";
483
+@fa-var-tags: "\f02c";
484
+@fa-var-tasks: "\f0ae";
485
+@fa-var-taxi: "\f1ba";
486
+@fa-var-tencent-weibo: "\f1d5";
487
+@fa-var-terminal: "\f120";
488
+@fa-var-text-height: "\f034";
489
+@fa-var-text-width: "\f035";
490
+@fa-var-th: "\f00a";
491
+@fa-var-th-large: "\f009";
492
+@fa-var-th-list: "\f00b";
493
+@fa-var-thumb-tack: "\f08d";
494
+@fa-var-thumbs-down: "\f165";
495
+@fa-var-thumbs-o-down: "\f088";
496
+@fa-var-thumbs-o-up: "\f087";
497
+@fa-var-thumbs-up: "\f164";
498
+@fa-var-ticket: "\f145";
499
+@fa-var-times: "\f00d";
500
+@fa-var-times-circle: "\f057";
501
+@fa-var-times-circle-o: "\f05c";
502
+@fa-var-tint: "\f043";
503
+@fa-var-toggle-down: "\f150";
504
+@fa-var-toggle-left: "\f191";
505
+@fa-var-toggle-off: "\f204";
506
+@fa-var-toggle-on: "\f205";
507
+@fa-var-toggle-right: "\f152";
508
+@fa-var-toggle-up: "\f151";
509
+@fa-var-trash: "\f1f8";
510
+@fa-var-trash-o: "\f014";
511
+@fa-var-tree: "\f1bb";
512
+@fa-var-trello: "\f181";
513
+@fa-var-trophy: "\f091";
514
+@fa-var-truck: "\f0d1";
515
+@fa-var-try: "\f195";
516
+@fa-var-tty: "\f1e4";
517
+@fa-var-tumblr: "\f173";
518
+@fa-var-tumblr-square: "\f174";
519
+@fa-var-turkish-lira: "\f195";
520
+@fa-var-twitch: "\f1e8";
521
+@fa-var-twitter: "\f099";
522
+@fa-var-twitter-square: "\f081";
523
+@fa-var-umbrella: "\f0e9";
524
+@fa-var-underline: "\f0cd";
525
+@fa-var-undo: "\f0e2";
526
+@fa-var-university: "\f19c";
527
+@fa-var-unlink: "\f127";
528
+@fa-var-unlock: "\f09c";
529
+@fa-var-unlock-alt: "\f13e";
530
+@fa-var-unsorted: "\f0dc";
531
+@fa-var-upload: "\f093";
532
+@fa-var-usd: "\f155";
533
+@fa-var-user: "\f007";
534
+@fa-var-user-md: "\f0f0";
535
+@fa-var-users: "\f0c0";
536
+@fa-var-video-camera: "\f03d";
537
+@fa-var-vimeo-square: "\f194";
538
+@fa-var-vine: "\f1ca";
539
+@fa-var-vk: "\f189";
540
+@fa-var-volume-down: "\f027";
541
+@fa-var-volume-off: "\f026";
542
+@fa-var-volume-up: "\f028";
543
+@fa-var-warning: "\f071";
544
+@fa-var-wechat: "\f1d7";
545
+@fa-var-weibo: "\f18a";
546
+@fa-var-weixin: "\f1d7";
547
+@fa-var-wheelchair: "\f193";
548
+@fa-var-wifi: "\f1eb";
549
+@fa-var-windows: "\f17a";
550
+@fa-var-won: "\f159";
551
+@fa-var-wordpress: "\f19a";
552
+@fa-var-wrench: "\f0ad";
553
+@fa-var-xing: "\f168";
554
+@fa-var-xing-square: "\f169";
555
+@fa-var-yahoo: "\f19e";
556
+@fa-var-yelp: "\f1e9";
557
+@fa-var-yen: "\f157";
558
+@fa-var-youtube: "\f167";
559
+@fa-var-youtube-play: "\f16a";
560
+@fa-var-youtube-square: "\f166";
561
+

+ 0 - 0
tracim/tracim/public/assets/font-awesome-4.2.0/scss/_bordered-pulled.scss Просмотреть файл


Некоторые файлы не были показаны из-за большого количества измененных файлов