forked from fluidd-core/fluidd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobals.ts
580 lines (569 loc) · 46 KB
/
globals.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
import {
mdiClose,
mdiTune,
mdiMinus,
mdiPlus,
mdiCheck,
mdiFire,
mdiCog,
mdiCarBrakeAlert,
mdiPrinter3d,
mdiPrinter3dNozzle,
mdiPrinter3dNozzleOutline,
mdiFileCodeOutline,
mdiFileRefreshOutline,
mdiConsole,
mdiChevronUp,
mdiChevronDown,
mdiTimerSand,
mdiClockOutline,
mdiFormatLineSpacing,
mdiPause,
mdiWindowClose,
mdiPrinter,
mdiCamera,
mdiFan,
mdiArrowUp,
mdiArrowDown,
mdiArrowLeft,
mdiArrowRight,
mdiArrowCollapseDown,
mdiViewGridOutline,
mdiArrowExpandHorizontal,
mdiArrowExpandVertical,
mdiRefresh,
mdiCheckCircleOutline,
mdiCheckboxBlankCircleOutline,
mdiPrinter3dNozzleAlertOutline,
mdiAlertCircle,
mdiFolderPlus,
mdiFile,
mdiFileLock,
mdiFolder,
mdiFolderLock,
mdiPencil,
mdiMagnify,
mdiMagnifyPlus,
mdiMagnifyMinus,
mdiDownload,
mdiFormTextbox,
mdiDelete,
mdiCogs,
mdiContentSaveOutline,
mdiAlert,
mdiDotsVertical,
mdiSend,
mdiArrowHorizontalLock,
mdiChartTimelineVariant,
mdiFireAlert,
mdiSnowflakeAlert,
mdiUpload,
mdiFolderUpload,
mdiProgressUpload,
mdiProgressQuestion,
mdiRadioboxMarked,
mdiCheckboxBlankOutline,
mdiCheckboxMarkedOutline,
mdiFilePlus,
mdiBellOutline,
mdiPower,
mdiPowerCycle,
mdiRestart,
mdiRestartAlert,
mdiUpdate,
mdiChevronRight,
mdiChevronLeft,
mdiDrag,
mdiCheckboxMultipleBlank,
mdiOpenInApp,
mdiDesktopTower,
mdiDotsHorizontal,
mdiToggleSwitch,
mdiToggleSwitchOffOutline,
mdiMotionOutline,
mdiThermometerLow,
mdiHelpCircle,
mdiHistory,
mdiFilterOutline,
mdiSourceCommit,
mdiArrowExpandUp,
mdiCloudCheck,
mdiCloudAlert,
mdiCircle,
mdiFolderMove,
mdiConsoleLine,
mdiDotsGrid,
mdiHammerWrench,
mdiAccount,
mdiFileTableOutline,
mdiLock,
mdiLockOpenVariant,
mdiPencilLock,
mdiLockReset,
mdiCubeScan,
mdiHandBackRight,
mdiThermometerAlert,
mdiShieldAccount,
mdiContentCopy,
mdiApps,
mdiAccountPlus,
mdiViewDashboardOutline,
mdiHome,
mdiRestore,
mdiMenu,
mdiFileCancel,
mdiCancel,
mdiCircleSlice3,
mdiCodeJson,
mdiHarddisk,
mdiLayersTripleOutline,
mdiMessageTextOutline,
mdiFormatListBulleted,
mdiSwapVertical,
mdiFullscreen,
mdiStop,
mdiPlay,
mdiFileVideoOutline,
mdiBellSleep,
mdiChip,
mdiViewHeadline,
mdiAxisArrow,
mdiVectorLine,
mdiOpenInNew,
mdiImageSizeSelectLarge,
mdiListStatus,
mdiLayersMinus,
mdiLayers,
mdiLayersPlus,
mdiFolderOpen,
mdiArchive,
mdiArchivePlus,
mdiTrayFull,
mdiTrayPlus,
mdiFolderArrowUp,
mdiTableColumn,
mdiShape,
mdiSync,
mdiContentDuplicate,
mdiArchiveLock,
mdiFileImage,
mdiGauge,
mdiMonitorScreenshot,
mdiRotateLeft,
mdiRotateRight,
mdiToothbrush,
mdiUsb
} from '@mdi/js'
const mdiFilament = 'M 12 2 C 11.811244 2.0027 11.62182 2.01009 11.433594 2.0234375 C 11.245368 2.0367892 11.058338 2.0560871 10.871094 2.0800781 C 10.528376 2.1223311 10.188076 2.1823072 9.8515625 2.2597656 C 9.4050859 2.3584685 8.9659029 2.4876777 8.5371094 2.6464844 C 8.2433457 2.7507726 7.9546177 2.8687402 7.671875 3 L 7.6699219 3 C 7.2200923 3.2179359 6.7872406 3.4692919 6.375 3.7519531 C 6.1149723 3.9281592 5.8633915 4.1165194 5.6210938 4.3164062 C 5.2734281 4.6063526 4.9458497 4.9195737 4.640625 5.2539062 C 4.4299712 5.4884886 4.2305306 5.7329027 4.0429688 5.9863281 C 4.0007188 6.0418801 3.9590487 6.0978726 3.9179688 6.1542969 C 3.7241339 6.4206091 3.543575 6.6963363 3.3769531 6.9804688 C 3.3651531 7.0019097 3.3534369 7.0233949 3.3417969 7.0449219 C 2.9828732 7.6642764 2.691488 8.3203821 2.4726562 9.0019531 C 2.3383154 9.4325109 2.233258 9.8716656 2.1582031 10.316406 C 2.1085032 10.625133 2.0733024 10.936022 2.0527344 11.248047 L 2.0527344 11.25 L 2.0527344 11.251953 L 2.0527344 11.253906 L 2.0527344 11.255859 C 2.0258944 11.502973 2.00832 11.751383 2 12 C 2.000879 12.252257 2.0113 12.504391 2.03125 12.755859 L 2.0332031 12.767578 C 2.0566631 13.076458 2.0944624 13.384082 2.1464844 13.689453 C 2.2214943 14.129536 2.3258985 14.564103 2.4589844 14.990234 C 2.5675343 15.334756 2.6946769 15.673142 2.8398438 16.003906 L 2.8457031 16.017578 L 2.8535156 16.03125 C 2.9986205 16.362102 3.1616911 16.684839 3.3417969 16.998047 L 3.34375 17 C 3.5265728 17.317394 3.7267926 17.624495 3.9433594 17.919922 C 4.1600882 18.215026 4.3928602 18.498004 4.640625 18.767578 C 4.9426097 19.096141 5.2662503 19.404121 5.609375 19.689453 C 5.8509948 19.889955 6.1019244 20.078968 6.3613281 20.255859 C 6.7778367 20.540458 7.2152833 20.793132 7.6699219 21.011719 L 7.671875 21.011719 C 7.9543247 21.147608 8.2431027 21.27014 8.5371094 21.378906 C 8.956542 21.533797 9.3858911 21.660384 9.8222656 21.757812 L 9.8242188 21.757812 C 10.165943 21.833832 10.511518 21.891861 10.859375 21.931641 C 10.885405 21.935041 10.91144 21.938206 10.9375 21.941406 C 11.290376 21.979776 11.645044 21.99934 12 22 C 12.188756 21.9973 12.37818 21.98991 12.566406 21.976562 C 12.754632 21.963215 12.941662 21.943912 13.128906 21.919922 C 13.471624 21.877672 13.811924 21.817693 14.148438 21.740234 C 14.594914 21.641534 15.034096 21.512323 15.462891 21.353516 C 15.756653 21.249229 16.045381 21.131261 16.328125 21 L 16.330078 21 C 16.779908 20.782064 17.21276 20.530708 17.625 20.248047 C 17.885029 20.07184 18.136608 19.883481 18.378906 19.683594 C 18.726573 19.393647 19.054149 19.080425 19.359375 18.746094 C 19.570029 18.511511 19.76947 18.267097 19.957031 18.013672 C 19.999281 17.958122 20.040951 17.902127 20.082031 17.845703 C 20.275866 17.57939 20.456425 17.303665 20.623047 17.019531 C 20.634847 16.998091 20.646563 16.976598 20.658203 16.955078 C 21.017127 16.335724 21.308511 15.679617 21.527344 14.998047 C 21.661685 14.567489 21.766742 14.128334 21.841797 13.683594 C 21.891497 13.374867 21.926698 13.063978 21.947266 12.751953 L 21.947266 12.75 L 21.947266 12.748047 L 21.947266 12.746094 L 21.947266 12.744141 C 21.974096 12.496824 21.99169 12.248617 22 12 C 21.999121 11.747743 21.9887 11.495609 21.96875 11.244141 L 21.966797 11.232422 C 21.943337 10.923542 21.905537 10.615918 21.853516 10.310547 C 21.778506 9.8704641 21.6741 9.4358974 21.541016 9.0097656 C 21.432464 8.6652447 21.305324 8.3268573 21.160156 7.9960938 L 21.154297 7.9824219 L 21.146484 7.96875 C 21.001384 7.6379017 20.838309 7.315161 20.658203 7.0019531 L 20.65625 7 C 20.47338 6.6826091 20.273207 6.375505 20.056641 6.0800781 C 19.839912 5.7849746 19.60714 5.5019958 19.359375 5.2324219 C 19.05739 4.903859 18.73375 4.5958783 18.390625 4.3105469 C 18.149005 4.1100449 17.898076 3.921033 17.638672 3.7441406 C 17.222163 3.459542 16.784717 3.2068671 16.330078 2.9882812 L 16.328125 2.9882812 C 16.045675 2.8523915 15.756897 2.72986 15.462891 2.6210938 C 15.043458 2.4662029 14.614109 2.3396166 14.177734 2.2421875 L 14.175781 2.2421875 C 13.834058 2.1661636 13.488482 2.1081404 13.140625 2.0683594 C 13.114595 2.0649994 13.08856 2.0617537 13.0625 2.0585938 C 12.709629 2.0202237 12.354956 2.0006604 12 2 z M 10.701172 4.25 L 10.957031 4.3984375 L 11.066406 4.4609375 L 11.132812 4.5 L 11.566406 4.75 L 11.566406 5.75 L 11.132812 6 L 10.875 6.1484375 C 10.874877 6.1490598 10.875123 6.1497684 10.875 6.1503906 L 10.701172 6.25 L 10.267578 6 L 9.8359375 5.75 L 9.8359375 4.75 L 10.103516 4.5957031 L 10.701172 4.25 z M 13.298828 4.25 L 14.164062 4.75 L 14.164062 5.75 L 13.298828 6.25 L 12.433594 5.75 L 12.433594 4.75 L 13.298828 4.25 z M 8.8398438 4.6757812 L 8.96875 4.75 L 8.96875 5.75 L 8.5371094 6 L 8.1035156 6.25 L 7.2382812 5.75 L 7.2382812 5.578125 C 7.7356888 5.2168041 8.2730923 4.9140239 8.8398438 4.6757812 z M 15.160156 4.6757812 C 15.726909 4.914025 16.264309 5.2168044 16.761719 5.578125 L 16.761719 5.75 L 16.103516 6.1308594 L 15.896484 6.25 L 15.03125 5.75 L 15.03125 4.75 L 15.160156 4.6757812 z M 6.8046875 6.5 L 7.6699219 7 L 7.6699219 8 L 6.8046875 8.5 L 6.7011719 8.4394531 L 5.9394531 8 L 5.9394531 7.75 L 5.9394531 7 L 6.8046875 6.5 z M 9.4023438 6.5 L 10.267578 7 L 10.267578 7.8398438 L 10.267578 8 L 10.140625 8.0742188 L 9.8339844 8.25 L 9.4023438 8.5 L 8.9707031 8.25 L 8.5371094 8 L 8.5371094 7 L 8.96875 6.75 L 9.4023438 6.5 z M 12 6.5 L 12.865234 7 L 12.865234 7.75 L 12.865234 8 L 12.744141 8.0703125 C 12.743508 8.0701923 12.74282 8.0704324 12.742188 8.0703125 C 12.497492 8.0239396 12.249054 8.0001594 12 8 C 11.754037 8.00282 11.508857 8.0283149 11.267578 8.0761719 L 11.134766 8 L 11.134766 7.25 L 11.134766 7 L 11.896484 6.5605469 L 12 6.5 z M 14.597656 6.5 L 15.029297 6.75 L 15.462891 7 L 15.462891 8 L 14.597656 8.5 L 14.166016 8.25 L 13.732422 8 L 13.732422 7 L 14.166016 6.75 L 14.597656 6.5 z M 17.195312 6.5 L 17.298828 6.5605469 L 18.060547 7 L 18.060547 7.25 L 18.060547 8 L 17.298828 8.4394531 L 17.195312 8.5 L 16.330078 8 L 16.330078 7 L 17.195312 6.5 z M 5.5058594 8.75 L 6.3710938 9.25 L 6.3710938 10.25 L 5.5058594 10.75 L 4.640625 10.25 L 4.640625 9.25 L 5.5058594 8.75 z M 8.1035156 8.75 L 8.96875 9.25 L 8.96875 9.390625 C 8.6470443 9.7691664 8.398667 10.204324 8.2363281 10.673828 L 8.1035156 10.75 L 7.5449219 10.427734 L 7.2382812 10.25 L 7.2382812 9.25 L 8.1035156 8.75 z M 15.896484 8.75 L 16.761719 9.25 L 16.761719 10.25 L 16.328125 10.5 L 15.896484 10.75 L 15.775391 10.679688 C 15.6258 10.253096 15.401287 9.8581752 15.119141 9.5058594 C 15.089259 9.4685462 15.062498 9.4288507 15.03125 9.3925781 L 15.03125 9.390625 L 15.03125 9.25 L 15.462891 9 L 15.896484 8.75 z M 18.494141 8.75 L 19.359375 9.25 L 19.359375 10.25 L 18.494141 10.75 L 18.287109 10.630859 L 17.628906 10.25 L 17.628906 9.25 L 18.494141 8.75 z M 12 10 C 13.104568 10 14 10.895432 14 12 C 14 13.035532 13.213589 13.887814 12.205078 13.990234 C 12.137844 13.997062 12.069035 14 12 14 C 11.792894 14 11.592174 13.968592 11.404297 13.910156 C 11.028542 13.793284 10.701584 13.567814 10.457031 13.271484 C 10.416272 13.222096 10.377738 13.172341 10.341797 13.119141 C 10.126148 12.799939 10 12.414213 10 12 C 10 11.930965 10.002938 11.862156 10.009766 11.794922 C 10.037078 11.525986 10.119032 11.273584 10.242188 11.046875 C 10.396132 10.763489 10.614858 10.521504 10.880859 10.341797 C 10.93406 10.305855 10.990198 10.272976 11.046875 10.242188 C 11.330261 10.088243 11.654823 10 12 10 z M 4.2070312 11 L 5.0722656 11.5 L 5.0722656 11.75 L 5.0722656 12.5 L 4.2070312 13 L 4.0722656 12.921875 C 4.0304257 12.616234 4.0063 12.308428 4 12 C 4.00315 11.845786 4.0113888 11.690819 4.0234375 11.537109 C 4.0354862 11.383399 4.0513406 11.230945 4.0722656 11.078125 L 4.2070312 11 z M 6.8046875 11 L 7.2363281 11.25 L 7.6699219 11.5 L 7.6699219 12.5 L 6.8046875 13 L 6.7011719 12.939453 L 5.9394531 12.5 L 5.9394531 11.5 L 6.7011719 11.060547 L 6.8046875 11 z M 17.195312 11 L 17.298828 11.060547 L 18.060547 11.5 L 18.060547 12.5 L 17.298828 12.939453 L 17.195312 13 L 16.763672 12.75 L 16.330078 12.5 L 16.330078 11.5 L 17.195312 11 z M 19.792969 11 L 19.927734 11.078125 C 19.969574 11.383766 19.9937 11.691572 20 12 C 19.9937 12.308428 19.969584 12.616234 19.927734 12.921875 L 19.792969 13 L 18.927734 12.5 L 18.927734 12.25 L 18.927734 11.5 L 19.792969 11 z M 5.5058594 13.25 L 5.7128906 13.369141 L 6.3710938 13.75 L 6.3710938 14.75 L 5.5058594 15.25 L 4.640625 14.75 L 4.640625 13.75 L 5.5058594 13.25 z M 8.1035156 13.25 L 8.2246094 13.320312 C 8.3742003 13.746904 8.5987134 14.141825 8.8808594 14.494141 C 8.9107409 14.531454 8.9375015 14.571149 8.96875 14.607422 C 8.9690848 14.607816 8.968415 14.608981 8.96875 14.609375 L 8.96875 14.75 L 8.5371094 15 L 8.1035156 15.25 L 7.2382812 14.75 L 7.2382812 13.75 L 7.671875 13.5 L 8.1035156 13.25 z M 15.896484 13.25 L 16.455078 13.572266 L 16.761719 13.75 L 16.761719 14.75 L 15.896484 15.25 L 15.03125 14.75 L 15.03125 14.609375 C 15.288819 14.306302 15.495308 13.965789 15.652344 13.601562 C 15.6928 13.511265 15.729958 13.419415 15.763672 13.326172 L 15.896484 13.25 z M 18.494141 13.25 L 19.359375 13.75 L 19.359375 14.75 L 18.494141 15.25 L 17.628906 14.75 L 17.628906 13.75 L 18.494141 13.25 z M 6.8046875 15.5 L 7.6699219 16 L 7.6699219 17 L 6.8046875 17.5 L 6.7011719 17.439453 L 5.9394531 17 L 5.9394531 16.75 L 5.9394531 16 L 6.7011719 15.560547 L 6.8046875 15.5 z M 9.4023438 15.5 L 9.8339844 15.75 L 10.267578 16 L 10.267578 17 L 9.8339844 17.25 L 9.4023438 17.5 L 8.9707031 17.25 L 8.5371094 17 L 8.5371094 16.25 L 8.5371094 16 L 8.96875 15.75 L 8.9707031 15.75 L 9.4023438 15.5 z M 14.597656 15.5 L 15.029297 15.75 L 15.462891 16 L 15.462891 17 L 15.03125 17.25 L 14.597656 17.5 L 13.732422 17 L 13.732422 16.160156 L 13.732422 16 L 13.859375 15.925781 L 14.166016 15.75 L 14.597656 15.5 z M 17.195312 15.5 L 17.298828 15.560547 L 18.060547 16 L 18.060547 16.25 L 18.060547 17 L 17.195312 17.5 L 16.330078 17 L 16.330078 16 L 17.195312 15.5 z M 12.732422 15.923828 L 12.865234 16 L 12.865234 16.75 L 12.865234 17 L 12.103516 17.439453 L 12 17.5 L 11.134766 17 L 11.134766 16 L 11.255859 15.929688 C 11.256492 15.929808 11.25718 15.929568 11.257812 15.929688 C 11.502508 15.976059 11.750946 15.99984 12 16 C 12.122981 15.9986 12.244987 15.991227 12.367188 15.978516 C 12.489388 15.965806 12.611782 15.947758 12.732422 15.923828 z M 8.1035156 17.75 L 8.96875 18.25 L 8.96875 19.25 L 8.8398438 19.324219 C 8.2730923 19.085975 7.7356888 18.783196 7.2382812 18.421875 L 7.2382812 18.25 L 7.8964844 17.869141 L 8.1035156 17.75 z M 10.701172 17.75 L 11.566406 18.25 L 11.566406 19.25 L 10.701172 19.75 L 9.8359375 19.25 L 9.8359375 18.25 L 10.701172 17.75 z M 13.298828 17.75 L 13.732422 18 L 14.164062 18.25 L 14.164062 19.25 L 13.896484 19.404297 L 13.298828 19.75 L 13.042969 19.601562 L 12.867188 19.5 L 12.433594 19.25 L 12.433594 18.25 L 12.867188 18 L 13.125 17.851562 C 13.125123 17.85094 13.124877 17.850232 13.125 17.849609 L 13.298828 17.75 z M 15.896484 17.75 L 16.761719 18.25 L 16.761719 18.421875 C 16.264309 18.783196 15.726909 19.085977 15.160156 19.324219 L 15.03125 19.25 L 15.03125 18.25 L 15.462891 18 L 15.896484 17.75 z'
const mdiFilamentDown = 'M 12 2 A 10 10 0 0 0 10.871094 2.0800781 A 10 10 0 0 0 9.8515625 2.2597656 A 10 10 0 0 0 8.5371094 2.6464844 A 10 10 0 0 0 7.671875 3 A 10 10 0 0 0 7.6699219 3 A 10 10 0 0 0 6.375 3.7519531 A 10 10 0 0 0 5.6210938 4.3164062 A 10 10 0 0 0 4.640625 5.2539062 A 10 10 0 0 0 4.0429688 5.9863281 A 10 10 0 0 0 3.9179688 6.1542969 A 10 10 0 0 0 3.3769531 6.9804688 A 10 10 0 0 0 3.3417969 7.0449219 A 10 10 0 0 0 2.4726562 9.0019531 A 10 10 0 0 0 2.1582031 10.316406 A 10 10 0 0 0 2.0527344 11.248047 A 10 10 0 0 0 2.0527344 11.255859 A 10 10 0 0 0 2 12 A 10 10 0 0 0 2.0527344 12.742188 A 10 10 0 0 0 2.0527344 12.748047 A 10 10 0 0 0 2.1582031 13.683594 A 10 10 0 0 0 2.4726562 14.998047 A 10 10 0 0 0 3.3417969 16.955078 A 10 10 0 0 0 3.3769531 17.019531 A 10 10 0 0 0 3.9179688 17.845703 A 10 10 0 0 0 4.0429688 18.013672 A 10 10 0 0 0 4.640625 18.746094 A 10 10 0 0 0 5.6210938 19.683594 A 10 10 0 0 0 6.375 20.248047 A 10 10 0 0 0 7.6699219 21 A 10 10 0 0 0 7.671875 21 A 10 10 0 0 0 8.5371094 21.353516 A 10 10 0 0 0 9.8515625 21.740234 A 10 10 0 0 0 10.871094 21.919922 A 10 10 0 0 0 12 22 A 10 10 0 0 0 13.128906 21.919922 A 10 10 0 0 0 13.71875 21.816406 A 6 6 0 0 1 13.042969 19.601562 L 12.433594 19.25 L 12.433594 18.25 L 12.867188 18 L 13.125 17.851562 A 6 6 0 0 1 13.732422 16.160156 L 13.732422 16 L 13.859375 15.925781 A 6 6 0 0 1 15.201172 14.367188 A 4 4 0 0 0 15.763672 13.326172 L 15.896484 13.25 L 16.455078 13.572266 A 6 6 0 0 1 19 13 A 6 6 0 0 1 21.833984 13.712891 A 10 10 0 0 0 21.841797 13.683594 A 10 10 0 0 0 21.947266 12.751953 A 10 10 0 0 0 21.947266 12.75 A 10 10 0 0 0 21.947266 12.748047 A 10 10 0 0 0 21.947266 12.746094 A 10 10 0 0 0 21.947266 12.744141 A 10 10 0 0 0 22 12 A 10 10 0 0 0 21.96875 11.244141 A 10 10 0 0 0 21.966797 11.232422 A 10 10 0 0 0 21.853516 10.310547 A 10 10 0 0 0 21.541016 9.0097656 A 10 10 0 0 0 21.160156 7.9960938 A 10 10 0 0 0 21.154297 7.9824219 A 10 10 0 0 0 21.146484 7.96875 A 10 10 0 0 0 20.658203 7.0019531 A 10 10 0 0 0 20.65625 7 A 10 10 0 0 0 20.056641 6.0800781 A 10 10 0 0 0 19.359375 5.2324219 A 10 10 0 0 0 18.390625 4.3105469 A 10 10 0 0 0 17.638672 3.7441406 A 10 10 0 0 0 16.330078 2.9882812 A 10 10 0 0 0 16.328125 2.9882812 A 10 10 0 0 0 15.462891 2.6210938 A 10 10 0 0 0 14.177734 2.2421875 A 10 10 0 0 0 14.175781 2.2421875 A 10 10 0 0 0 13.140625 2.0683594 A 10 10 0 0 0 13.0625 2.0585938 A 10 10 0 0 0 12 2 z M 10.701172 4.25 L 11.132812 4.5 L 11.566406 4.75 L 11.566406 5.75 L 10.701172 6.25 L 10.267578 6 L 9.8359375 5.75 L 9.8359375 4.75 L 10.103516 4.5957031 L 10.701172 4.25 z M 13.298828 4.25 L 14.164062 4.75 L 14.164062 5.75 L 13.298828 6.25 L 12.433594 5.75 L 12.433594 4.75 L 13.298828 4.25 z M 15.181641 4.6640625 A 8 8 0 0 1 16.761719 5.5742188 L 16.761719 5.75 L 16.103516 6.1308594 L 15.896484 6.25 L 15.03125 5.75 L 15.03125 4.75 L 15.181641 4.6640625 z M 8.8398438 4.6757812 L 8.96875 4.75 L 8.96875 5.75 L 8.5371094 6 L 8.1035156 6.25 L 7.2382812 5.75 L 7.2382812 5.578125 A 8 8 0 0 1 8.8398438 4.6757812 z M 6.8046875 6.5 L 7.6699219 7 L 7.6699219 8 L 6.8046875 8.5 L 6.7011719 8.4394531 L 5.9394531 8 L 5.9394531 7.75 L 5.9394531 7 L 6.8046875 6.5 z M 9.4023438 6.5 L 10.267578 7 L 10.267578 8 L 9.8339844 8.25 L 9.4023438 8.5 L 8.9707031 8.25 L 8.5371094 8 L 8.5371094 7 L 8.96875 6.75 L 9.4023438 6.5 z M 12 6.5 L 12.865234 7 L 12.865234 7.75 L 12.865234 8 L 12.744141 8.0703125 A 4 4 0 0 0 12 8 A 4 4 0 0 0 11.267578 8.0761719 L 11.134766 8 L 11.134766 7 L 12 6.5 z M 14.597656 6.5 L 15.462891 7 L 15.462891 7.75 L 15.462891 8 L 14.597656 8.5 L 13.732422 8 L 13.732422 7.75 L 13.732422 7 L 14.597656 6.5 z M 17.195312 6.5 L 18.060547 7 L 18.060547 8 L 17.195312 8.5 L 16.330078 8 L 16.330078 7 L 17.195312 6.5 z M 5.5058594 8.75 L 6.3710938 9.25 L 6.3710938 10.25 L 5.5058594 10.75 L 4.640625 10.25 L 4.640625 9.25 L 5.5058594 8.75 z M 8.1035156 8.75 L 8.96875 9.25 L 8.96875 9.390625 A 4 4 0 0 0 8.2363281 10.673828 L 8.1035156 10.75 L 7.2382812 10.25 L 7.2382812 9.25 L 8.1035156 8.75 z M 15.896484 8.75 L 16.761719 9.25 L 16.761719 10.25 L 15.896484 10.75 L 15.775391 10.679688 A 4 4 0 0 0 15.03125 9.3925781 L 15.03125 9.25 L 15.896484 8.75 z M 18.494141 8.75 L 19.359375 9.25 L 19.359375 10.25 L 18.494141 10.75 L 18.287109 10.630859 L 17.628906 10.25 L 17.628906 9.25 L 18.494141 8.75 z M 12 10 A 2 2 0 0 1 14 12 A 2 2 0 0 1 12 14 A 2 2 0 0 1 10 12 A 2 2 0 0 1 12 10 z M 4.2070312 11 L 5.0722656 11.5 L 5.0722656 12.5 L 4.2070312 13 L 4.0722656 12.921875 A 8 8 0 0 1 4 12 A 8 8 0 0 1 4.0722656 11.078125 L 4.2070312 11 z M 6.8046875 11 L 7.6699219 11.5 L 7.6699219 12.5 L 6.8046875 13 L 6.7011719 12.939453 L 5.9394531 12.5 L 5.9394531 11.5 L 6.7011719 11.060547 L 6.8046875 11 z M 17.195312 11 L 18.060547 11.5 L 18.060547 12.5 L 17.195312 13 L 16.763672 12.75 L 16.330078 12.5 L 16.330078 11.5 L 17.195312 11 z M 19.792969 11 L 19.947266 11.089844 A 8 8 0 0 1 20 12 A 8 8 0 0 1 19.927734 12.921875 L 19.792969 13 L 18.927734 12.5 L 18.927734 12.25 L 18.927734 11.5 L 19.792969 11 z M 5.5058594 13.25 L 6.3710938 13.75 L 6.3710938 14.75 L 5.5058594 15.25 L 4.640625 14.75 L 4.640625 13.75 L 5.5058594 13.25 z M 8.1035156 13.25 L 8.2363281 13.326172 A 4 4 0 0 0 8.96875 14.609375 L 8.96875 14.75 L 8.5371094 15 L 8.1035156 15.25 L 7.2382812 14.75 L 7.2382812 13.75 L 7.671875 13.5 L 8.1035156 13.25 z M 6.8046875 15.5 L 7.6699219 16 L 7.6699219 17 L 6.8046875 17.5 L 6.7011719 17.439453 L 5.9394531 17 L 5.9394531 16.75 L 5.9394531 16 L 6.7011719 15.560547 L 6.8046875 15.5 z M 9.4023438 15.5 L 9.8339844 15.75 L 10.267578 16 L 10.267578 17 L 9.8339844 17.25 L 9.4023438 17.5 L 8.9707031 17.25 L 8.5371094 17 L 8.5371094 16 L 8.96875 15.75 L 8.9707031 15.75 L 9.4023438 15.5 z M 11.267578 15.923828 A 4 4 0 0 0 12 16 A 4 4 0 0 0 12.732422 15.923828 L 12.865234 16 L 12.865234 16.75 L 12.865234 17 L 12.103516 17.439453 L 12 17.5 L 11.134766 17 L 11.134766 16 L 11.267578 15.923828 z M 18 16 L 18 20 L 16 20 L 19 23 L 22 20 L 20 20 L 20 16 L 18 16 z M 8.1035156 17.75 L 8.96875 18.25 L 8.96875 19.25 L 8.8398438 19.324219 A 8 8 0 0 1 7.2382812 18.421875 L 7.2382812 18.25 L 8.1035156 17.75 z M 10.701172 17.75 L 11.566406 18.25 L 11.566406 19.25 L 10.701172 19.75 L 9.8359375 19.25 L 9.8359375 18.25 L 10.701172 17.75 z'
const mdiFilamentUp = 'M 12 2 A 10 10 0 0 0 10.871094 2.0800781 A 10 10 0 0 0 9.8515625 2.2597656 A 10 10 0 0 0 8.5371094 2.6464844 A 10 10 0 0 0 7.671875 3 A 10 10 0 0 0 7.6699219 3 A 10 10 0 0 0 6.375 3.7519531 A 10 10 0 0 0 5.6210938 4.3164062 A 10 10 0 0 0 4.640625 5.2539062 A 10 10 0 0 0 4.0429688 5.9863281 A 10 10 0 0 0 3.9179688 6.1542969 A 10 10 0 0 0 3.3769531 6.9804688 A 10 10 0 0 0 3.3417969 7.0449219 A 10 10 0 0 0 2.4726562 9.0019531 A 10 10 0 0 0 2.1582031 10.316406 A 10 10 0 0 0 2.0527344 11.248047 A 10 10 0 0 0 2.0527344 11.255859 A 10 10 0 0 0 2 12 A 10 10 0 0 0 2.0527344 12.742188 A 10 10 0 0 0 2.0527344 12.748047 A 10 10 0 0 0 2.1582031 13.683594 A 10 10 0 0 0 2.4726562 14.998047 A 10 10 0 0 0 3.3417969 16.955078 A 10 10 0 0 0 3.3769531 17.019531 A 10 10 0 0 0 3.9179688 17.845703 A 10 10 0 0 0 4.0429688 18.013672 A 10 10 0 0 0 4.640625 18.746094 A 10 10 0 0 0 5.6210938 19.683594 A 10 10 0 0 0 6.375 20.248047 A 10 10 0 0 0 7.6699219 21 A 10 10 0 0 0 7.671875 21 A 10 10 0 0 0 8.5371094 21.353516 A 10 10 0 0 0 9.8515625 21.740234 A 10 10 0 0 0 10.871094 21.919922 A 10 10 0 0 0 12 22 A 10 10 0 0 0 13.128906 21.919922 A 10 10 0 0 0 13.71875 21.816406 A 6 6 0 0 1 13.042969 19.601562 L 12.433594 19.25 L 12.433594 18.25 L 12.867188 18 L 13.125 17.851562 A 6 6 0 0 1 13.732422 16.160156 L 13.732422 16 L 13.859375 15.925781 A 6 6 0 0 1 15.201172 14.367188 A 4 4 0 0 0 15.763672 13.326172 L 15.896484 13.25 L 16.455078 13.572266 A 6 6 0 0 1 19 13 A 6 6 0 0 1 21.833984 13.712891 A 10 10 0 0 0 21.841797 13.683594 A 10 10 0 0 0 21.947266 12.751953 A 10 10 0 0 0 21.947266 12.75 A 10 10 0 0 0 21.947266 12.748047 A 10 10 0 0 0 21.947266 12.746094 A 10 10 0 0 0 21.947266 12.744141 A 10 10 0 0 0 22 12 A 10 10 0 0 0 21.96875 11.244141 A 10 10 0 0 0 21.966797 11.232422 A 10 10 0 0 0 21.853516 10.310547 A 10 10 0 0 0 21.541016 9.0097656 A 10 10 0 0 0 21.160156 7.9960938 A 10 10 0 0 0 21.154297 7.9824219 A 10 10 0 0 0 21.146484 7.96875 A 10 10 0 0 0 20.658203 7.0019531 A 10 10 0 0 0 20.65625 7 A 10 10 0 0 0 20.056641 6.0800781 A 10 10 0 0 0 19.359375 5.2324219 A 10 10 0 0 0 18.390625 4.3105469 A 10 10 0 0 0 17.638672 3.7441406 A 10 10 0 0 0 16.330078 2.9882812 A 10 10 0 0 0 16.328125 2.9882812 A 10 10 0 0 0 15.462891 2.6210938 A 10 10 0 0 0 14.177734 2.2421875 A 10 10 0 0 0 14.175781 2.2421875 A 10 10 0 0 0 13.140625 2.0683594 A 10 10 0 0 0 13.0625 2.0585938 A 10 10 0 0 0 12 2 z M 10.701172 4.25 L 11.132812 4.5 L 11.566406 4.75 L 11.566406 5.75 L 10.701172 6.25 L 10.267578 6 L 9.8359375 5.75 L 9.8359375 4.75 L 10.103516 4.5957031 L 10.701172 4.25 z M 13.298828 4.25 L 14.164062 4.75 L 14.164062 5.75 L 13.298828 6.25 L 12.433594 5.75 L 12.433594 4.75 L 13.298828 4.25 z M 15.181641 4.6640625 A 8 8 0 0 1 16.761719 5.5742188 L 16.761719 5.75 L 16.103516 6.1308594 L 15.896484 6.25 L 15.03125 5.75 L 15.03125 4.75 L 15.181641 4.6640625 z M 8.8398438 4.6757812 L 8.96875 4.75 L 8.96875 5.75 L 8.5371094 6 L 8.1035156 6.25 L 7.2382812 5.75 L 7.2382812 5.578125 A 8 8 0 0 1 8.8398438 4.6757812 z M 6.8046875 6.5 L 7.6699219 7 L 7.6699219 8 L 6.8046875 8.5 L 6.7011719 8.4394531 L 5.9394531 8 L 5.9394531 7.75 L 5.9394531 7 L 6.8046875 6.5 z M 9.4023438 6.5 L 10.267578 7 L 10.267578 8 L 9.8339844 8.25 L 9.4023438 8.5 L 8.9707031 8.25 L 8.5371094 8 L 8.5371094 7 L 8.96875 6.75 L 9.4023438 6.5 z M 12 6.5 L 12.865234 7 L 12.865234 7.75 L 12.865234 8 L 12.744141 8.0703125 A 4 4 0 0 0 12 8 A 4 4 0 0 0 11.267578 8.0761719 L 11.134766 8 L 11.134766 7 L 12 6.5 z M 14.597656 6.5 L 15.462891 7 L 15.462891 7.75 L 15.462891 8 L 14.597656 8.5 L 13.732422 8 L 13.732422 7.75 L 13.732422 7 L 14.597656 6.5 z M 17.195312 6.5 L 18.060547 7 L 18.060547 8 L 17.195312 8.5 L 16.330078 8 L 16.330078 7 L 17.195312 6.5 z M 5.5058594 8.75 L 6.3710938 9.25 L 6.3710938 10.25 L 5.5058594 10.75 L 4.640625 10.25 L 4.640625 9.25 L 5.5058594 8.75 z M 8.1035156 8.75 L 8.96875 9.25 L 8.96875 9.390625 A 4 4 0 0 0 8.2363281 10.673828 L 8.1035156 10.75 L 7.2382812 10.25 L 7.2382812 9.25 L 8.1035156 8.75 z M 15.896484 8.75 L 16.761719 9.25 L 16.761719 10.25 L 15.896484 10.75 L 15.775391 10.679688 A 4 4 0 0 0 15.03125 9.3925781 L 15.03125 9.25 L 15.896484 8.75 z M 18.494141 8.75 L 19.359375 9.25 L 19.359375 10.25 L 18.494141 10.75 L 18.287109 10.630859 L 17.628906 10.25 L 17.628906 9.25 L 18.494141 8.75 z M 12 10 A 2 2 0 0 1 14 12 A 2 2 0 0 1 12 14 A 2 2 0 0 1 10 12 A 2 2 0 0 1 12 10 z M 4.2070312 11 L 5.0722656 11.5 L 5.0722656 12.5 L 4.2070312 13 L 4.0722656 12.921875 A 8 8 0 0 1 4 12 A 8 8 0 0 1 4.0722656 11.078125 L 4.2070312 11 z M 6.8046875 11 L 7.6699219 11.5 L 7.6699219 12.5 L 6.8046875 13 L 6.7011719 12.939453 L 5.9394531 12.5 L 5.9394531 11.5 L 6.7011719 11.060547 L 6.8046875 11 z M 17.195312 11 L 18.060547 11.5 L 18.060547 12.5 L 17.195312 13 L 16.763672 12.75 L 16.330078 12.5 L 16.330078 11.5 L 17.195312 11 z M 19.792969 11 L 19.947266 11.089844 A 8 8 0 0 1 20 12 A 8 8 0 0 1 19.927734 12.921875 L 19.792969 13 L 18.927734 12.5 L 18.927734 12.25 L 18.927734 11.5 L 19.792969 11 z M 5.5058594 13.25 L 6.3710938 13.75 L 6.3710938 14.75 L 5.5058594 15.25 L 4.640625 14.75 L 4.640625 13.75 L 5.5058594 13.25 z M 8.1035156 13.25 L 8.2363281 13.326172 A 4 4 0 0 0 8.96875 14.609375 L 8.96875 14.75 L 8.5371094 15 L 8.1035156 15.25 L 7.2382812 14.75 L 7.2382812 13.75 L 7.671875 13.5 L 8.1035156 13.25 z M 19 15 L 16 18 L 18 18 L 18 22 L 20 22 L 20 18 L 22 18 L 19 15 z M 6.8046875 15.5 L 7.6699219 16 L 7.6699219 17 L 6.8046875 17.5 L 6.7011719 17.439453 L 5.9394531 17 L 5.9394531 16.75 L 5.9394531 16 L 6.7011719 15.560547 L 6.8046875 15.5 z M 9.4023438 15.5 L 9.8339844 15.75 L 10.267578 16 L 10.267578 17 L 9.8339844 17.25 L 9.4023438 17.5 L 8.9707031 17.25 L 8.5371094 17 L 8.5371094 16 L 8.96875 15.75 L 8.9707031 15.75 L 9.4023438 15.5 z M 11.267578 15.923828 A 4 4 0 0 0 12 16 A 4 4 0 0 0 12.732422 15.923828 L 12.865234 16 L 12.865234 16.75 L 12.865234 17 L 12.103516 17.439453 L 12 17.5 L 11.134766 17 L 11.134766 16 L 11.267578 15.923828 z M 8.1035156 17.75 L 8.96875 18.25 L 8.96875 19.25 L 8.8398438 19.324219 A 8 8 0 0 1 7.2382812 18.421875 L 7.2382812 18.25 L 8.1035156 17.75 z M 10.701172 17.75 L 11.566406 18.25 L 11.566406 19.25 L 10.701172 19.75 L 9.8359375 19.25 L 9.8359375 18.25 L 10.701172 17.75 z'
const mdiFilamentChange = 'm 23.5,18.5 -3,-3 v 2 h -4 v 2 h 4 v 2 z m -9,0 3,3 v -2 h 4 v -2 h -4 v -2 z M 12,2 C 11.622488,2.00536 11.245583,2.032096 10.871094,2.080078 10.528376,2.122331 10.188076,2.182307 9.8515625,2.2597655 9.4050853,2.3584681 8.9659036,2.4876776 8.5371094,2.6464844 8.2433456,2.7507727 7.9546188,2.8687401 7.671875,3 H 7.669925 C 7.2200951,3.2179361 6.7872412,3.4692916 6.375,3.7519531 6.1149725,3.9281594 5.8633915,4.1165192 5.6210938,4.3164062 5.2734271,4.6063528 4.9458507,4.9195733 4.640625,5.2539062 4.4299716,5.4884888 4.2305301,5.7329024 4.0429688,5.9863281 4.0007171,6.04188 3.9590482,6.0978726 3.9179688,6.1542969 3.7241339,6.4206094 3.5435752,6.6963361 3.3769531,6.9804688 3.3651555,7.0019101 3.3534367,7.0233946 3.3417969,7.0449219 2.9828723,7.664277 2.6914886,8.3203814 2.4726562,9.0019531 2.3383156,9.4325113 2.233258,9.871665 2.1582031,10.316406 2.1084999,10.625133 2.073305,10.936022 2.0527344,11.248047 v 0.0078 C 2.0259069,11.503164 2.0083166,11.751383 2,12 c 0.00836,0.247965 0.025955,0.495532 0.052734,0.742188 v 0.0059 c 0.020449,0.313332 0.055644,0.625527 0.1054687,0.935547 0.075055,0.444741 0.1801125,0.883895 0.3144531,1.314453 0.2188324,0.681572 0.5102161,1.337676 0.8691407,1.957031 0.01164,0.02153 0.023359,0.04301 0.035156,0.06445 0.1666221,0.284133 0.3471808,0.55986 0.5410157,0.826172 0.041079,0.05642 0.082748,0.112417 0.125,0.167969 0.1875613,0.253426 0.3870028,0.497839 0.5976562,0.732422 0.3052257,0.334333 0.6328021,0.647553 0.9804688,0.9375 C 5.8633915,19.883481 6.1149725,20.071841 6.375,20.248047 6.7872412,20.530708 7.2200951,20.782064 7.6699219,21 h 0.00195 c 0.2827438,0.13126 0.5714706,0.249228 0.8652344,0.353516 0.4287942,0.158807 0.8679759,0.288016 1.3144531,0.386718 0.3365136,0.07746 0.6768136,0.137435 1.0195316,0.179688 C 11.245583,21.967904 11.622488,21.99464 12,22 12.377512,21.9946 12.754417,21.9679 13.128906,21.91992 13.32651,21.89131 13.523213,21.85679 13.71875,21.816404 13.351809,21.12901 13.122274,20.37672 13.042969,19.601562 L 12.433594,19.25 v -1 L 12.867188,18 13.125,17.851562 c 0.11641,-0.5911 0.32118,-1.161297 0.607422,-1.691406 V 16 l 0.126953,-0.07422 c 0.354229,-0.592884 0.808162,-1.120159 1.341797,-1.558593 0.238072,-0.3172 0.427646,-0.668043 0.5625,-1.041016 L 15.896484,13.25 16.455078,13.572266 C 17.251154,13.197189 18.119991,13.001817 19,13 c 0.988977,4.37e-4 1.962512,0.24533 2.833984,0.712891 0.0026,-0.0098 0.0052,-0.01953 0.0078,-0.0293 0.0497,-0.308727 0.0849,-0.619616 0.105469,-0.931641 v -0.002 -0.002 -0.002 -0.002 C 21.974093,12.496836 21.991684,12.248617 22,12 21.999121,11.747743 21.9887,11.49561 21.96875,11.244141 l -0.002,-0.01172 C 21.94329,10.923541 21.90549,10.615917 21.853469,10.310546 21.778459,9.8704628 21.674054,9.4358968 21.540969,9.0097646 21.432417,8.6652433 21.305277,8.3268567 21.160109,7.9960928 l -0.0059,-0.013672 -0.0078,-0.013672 C 21.001308,7.6379002 20.838309,7.3151613 20.658203,7.0019531 L 20.65625,7 C 20.47338,6.6826088 20.273208,6.3755053 20.056641,6.0800781 19.839912,5.7849743 19.60714,5.5019961 19.359375,5.2324219 19.05739,4.9038587 18.73375,4.5958786 18.390625,4.3105469 18.149005,4.1100447 17.898076,3.9210332 17.638672,3.7441406 17.222163,3.4595417 16.784717,3.2068673 16.330078,2.9882812 h -0.002 C 16.045628,2.8523913 15.756898,2.7298602 15.462891,2.6210938 15.043458,2.4662028 14.614109,2.3396167 14.177734,2.2421875 h -0.002 C 13.83401,2.1661631 13.488482,2.1081405 13.140625,2.0683594 13.114596,2.0650017 13.088554,2.0617465 13.0625,2.0585938 12.709624,2.0202193 12.354956,2.0006604 12,2 Z m -1.298828,2.25 0.43164,0.25 0.433594,0.25 v 1 L 10.701172,6.25 10.267578,6 9.8359375,5.75 v -1 L 10.103516,4.5957031 Z m 2.597656,0 0.865234,0.5 v 1 l -0.865234,0.5 -0.865234,-0.5 v -1 z m 1.882813,0.4140625 c 0.55966,0.2421723 1.089796,0.5475408 1.580078,0.9101563 V 5.75 L 16.103516,6.1308594 15.896484,6.25 15.03125,5.75 v -1 z M 8.8398438,4.6757812 8.96875,4.75 v 1 L 8.5371094,6 8.1035156,6.25 7.2382812,5.75 V 5.578125 C 7.7356899,5.2168037 8.273091,4.9140241 8.8398438,4.6757812 Z M 6.8046875,6.5 7.6699219,7 V 8 L 6.8046875,8.5 6.7011719,8.4394531 5.9394531,8 V 7.75 7 Z M 9.4023438,6.5 10.267578,7 V 8 L 9.8339844,8.25 9.4023438,8.5 8.9707031,8.25 8.5371094,8 V 7 L 8.96875,6.75 Z M 12,6.5 12.865234,7 V 7.75 8 L 12.744141,8.070312 C 12.498832,8.0237001 12.249698,8.0001598 12,8 11.754037,8.00282 11.508857,8.028315 11.267578,8.076172 L 11.134766,8 V 7 Z m 2.597656,0 0.865235,0.5 V 7.75 8 L 14.597656,8.5 13.732422,8 V 7.75 7 Z m 2.597656,0 0.865235,0.5 V 8 L 17.195312,8.5 16.330078,8 V 7 Z M 5.5058594,8.75 6.3710938,9.25 v 1 l -0.8652344,0.5 -0.8652344,-0.5 v -1 z m 2.5976562,0 0.8652344,0.5 V 9.390625 C 8.6470442,9.7691668 8.3986671,10.204323 8.2363281,10.673828 L 8.1035156,10.75 7.2382812,10.25 v -1 z m 7.7929684,0 0.865235,0.5 v 1 l -0.865235,0.5 -0.121093,-0.07031 C 15.609957,10.207918 15.357551,9.7713421 15.03125,9.3925781 V 9.25 Z m 2.597657,0 0.865234,0.5 v 1 L 18.494141,10.75 18.287109,10.630859 17.628906,10.25 v -1 z M 12,10 c 1.104569,0 2,0.895431 2,2 0,1.104569 -0.895431,2 -2,2 -1.104569,0 -2,-0.895431 -2,-2 0,-1.104569 0.895431,-2 2,-2 z m -7.7929688,1 0.8652344,0.5 v 1 L 4.2070312,13 4.0722656,12.921875 C 4.0304228,12.616234 4.0062939,12.308428 4,12 4.00629,11.691572 4.030423,11.383766 4.072266,11.078125 Z m 2.5976563,0 0.8652344,0.5 v 1 L 6.8046875,13 6.7011719,12.939453 5.9394531,12.5 v -1 l 0.7617188,-0.439453 z m 10.3906245,0 0.865235,0.5 v 1 L 17.195312,13 16.763672,12.75 16.330078,12.5 v -1 z m 2.597657,0 0.154297,0.08984 C 19.982131,11.39198 19.999737,11.695859 20,12 c -0.0063,0.308428 -0.03042,0.616234 -0.07227,0.921875 L 19.792969,13 18.927734,12.5 V 12.25 11.5 Z m -14.2871096,2.25 0.8652344,0.5 v 1 l -0.8652344,0.5 -0.8652344,-0.5 v -1 z m 2.5976562,0 0.1328125,0.07617 c 0.162339,0.469505 0.4107161,0.904661 0.7324219,1.283203 V 14.75 L 8.5371094,15 8.1035156,15.25 7.2382812,14.75 v -1 L 7.671875,13.5 Z M 6.8046875,15.5 7.6699219,16 v 1 L 6.8046875,17.5 6.7011719,17.439453 5.9394531,17 V 16.75 16 l 0.7617188,-0.439453 z m 2.5976563,0 0.4316406,0.25 0.4335936,0.25 v 1 L 9.8339844,17.25 9.4023438,17.5 8.9707031,17.25 8.5371094,17 V 16 L 8.96875,15.75 H 8.9707 Z m 1.8652342,0.423828 C 11.508857,15.971685 11.754037,15.997183 12,16 c 0.245963,-0.0028 0.491143,-0.02831 0.732422,-0.07617 L 12.865234,16 V 16.75 17 L 12.103516,17.439453 12,17.5 11.134766,17 V 16 Z M 8.1035156,17.75 8.96875,18.25 v 1 L 8.8398438,19.32422 C 8.273091,19.085976 7.7356899,18.783196 7.2382812,18.421875 V 18.25 Z m 2.5976564,0 0.865234,0.5 v 1 l -0.865234,0.5 -0.8652345,-0.5 v -1 z'
const mdiFileImageLock = 'M 6 2 C 4.8900033 2 4 2.8900033 4 4 L 4 20 C 4 21.099997 4.8900033 22 6 22 L 11.111328 22 L 12 22 L 12 20 L 6 20 L 12 14 L 13.210938 15.210938 C 13.375508 12.672702 15.686928 11 18 11 C 18.699997 11 19.400001 11.200391 20 11.400391 L 20 11 L 20 8 L 14 2 L 6 2 z M 13 3.5 L 18.5 9 L 13 9 L 13 3.5 z M 8 9 A 2 2 0 0 1 10 11 A 2 2 0 0 1 8 13 A 2 2 0 0 1 6 11 A 2 2 0 0 1 8 9 z M 18 13 C 16.600001 13 15.199219 14.100002 15.199219 15.5 L 15.199219 17 C 14.599219 17 14 17.599219 14 18.199219 L 14 21.699219 C 14 22.399217 14.599219 23 15.199219 23 L 20.699219 23 C 21.399218 23 22 22.400781 22 21.800781 L 22 18.300781 C 22 17.600783 21.400781 17 20.800781 17 L 20.800781 15.5 C 20.800781 14.100002 19.399998 13 18 13 z M 18 14.199219 C 18.799997 14.199219 19.5 14.700002 19.5 15.5 L 19.5 17 L 16.5 17 L 16.5 15.5 C 16.5 14.700002 17.200002 14.199219 18 14.199219 z'
/**
* Global, static constants.
*/
export const Globals = Object.freeze({
APP_NAME: 'fluidd',
HEADER_HEIGHT: 56,
DEFAULTS: {
CAMERA_URL_STREAM: '/webcam/?action=stream',
CAMERA_URL_SNAPSHOT: '/webcam/?action=snapshot'
},
NETWORK_REQUEST_TIMEOUT: 0,
KLIPPY_RETRY_DELAY: 1500,
SOCKET_RETRY_DELAY: 2000,
SOCKET_PING_INTERVAL: 10000,
CONSOLE_HISTORY_RETENTION: 1000, // total count
CONSOLE_RECEIVE_PREFIX: '',
CONSOLE_SEND_PREFIX: '$ ',
CONSOLE_COMMAND_HISTORY: 20,
CHART_HISTORY_RETENTION: 1200,
JOB_HISTORY_LOAD: 50,
KLIPPY_DISCONNECTED_REDIRECT: '/configuration',
LOCAL_CARDSTATE_STORAGE_KEY: 'cardState', // collapsed or not
LOCAL_CARDLAYOUT_STORAGE_KEY: 'cardLayout2', // Specific layout / enabled / disabled
LOCAL_INSTANCES_STORAGE_KEY: 'appInstances',
KLIPPER_MIN_VERSION: 'v0.11.0-257',
MOONRAKER_MIN_VERSION: 'v0.8.0-309',
MOONRAKER_DB: {
fluidd: {
NAMESPACE: 'fluidd',
ROOTS: {
uiSettings: { name: 'uiSettings', dispatch: 'config/initUiSettings' },
macros: { name: 'macros', dispatch: 'macros/initMacros' },
console: { name: 'console', dispatch: 'console/initConsole' },
charts: { name: 'charts', dispatch: 'charts/initCharts' },
cameras: { name: 'cameras', dispatch: 'webcams/initLegacyCameras', migrate_only: true },
webcams: { name: 'webcams', dispatch: 'webcams/initWebcams' },
layout: { name: 'layout', dispatch: 'layout/initLayout' }
}
},
webcams: {
NAMESPACE: 'webcams',
ROOTS: []
}
},
MOONRAKER_COMPONENTS: {
auth: { name: 'authorization', dispatch: 'auth/init' },
power: { name: 'power', dispatch: 'power/init' },
updateManager: { name: 'update_manager', dispatch: 'version/init' },
history: { name: 'history', dispatch: 'history/init' },
timelapse: { name: 'timelapse', dispatch: 'timelapse/init' },
announcements: { name: 'announcements', dispatch: 'announcements/init' },
webcams: { name: 'webcam', dispatch: 'webcams/init' },
jobQueue: { name: 'job_queue', dispatch: 'jobQueue/init' },
spoolman: { name: 'spoolman', dispatch: 'spoolman/init' },
sensors: { name: 'sensor', dispatch: 'sensors/init' }
},
// Ordered by weight.
CONFIG_SERVICE_MAP: [
{ filename: 'moonraker.conf', service: 'moonraker', link: 'https://moonraker.readthedocs.io/en/latest/configuration/' },
{ filename: 'webcam.txt', service: 'webcamd' },
{ filename: 'crowsnest.conf', service: 'crowsnest', link: 'https://crowsnest.mainsail.xyz/configuration/sample-config' },
{ filename: 'klipperscreen.conf', service: 'KlipperScreen', link: 'https://klipperscreen.readthedocs.io/en/latest/' },
{ filename: 'sonar.conf', service: 'sonar', link: 'https://github.com/mainsail-crew/sonar' },
{ filename: 'mooncord-webcam.json', service: 'webcamd', link: 'https://github.com/eliteSchwein/mooncord' },
{ prefix: 'mooncord', service: 'MoonCord', link: 'https://github.com/eliteSchwein/mooncord' },
{ filename: 'telegram.conf', service: 'moonraker-telegram-bot', link: 'https://github.com/nlef/moonraker-telegram-bot/wiki/Sample-config' },
{ suffix: '.cfg', service: 'klipper', link: '{klipperDomain}/Config_Reference.html' }
],
SUPPORTED_SERVICES: {
klipper: {
klipper: {
domain: 'https://www.klipper3d.org'
},
'danger-klipper': {
domain: 'https://dangerklipper.io'
}
}
},
FILE_DATA_TRANSFER_TYPES: {
files: 'x-fluidd-files',
jobs: 'x-fluidd-jobs'
},
FILTERED_FOLDER_NAMES: ['.git'],
FILTERED_FILES_PREFIX: ['.thumbs', 'thumbs'],
FILTERED_FILES_EXTENSION: ['.ignoreme'],
KEYBOARD_SHORTCUTS: {
home: 'h',
console: 'c',
preview: 'p',
jobs: 'j',
history: 'i',
timelapse: 'l',
tune: 't',
diagnostics: 'g',
configure: 'x',
system: 'q',
settings: 's'
},
DOCS_ROOT: 'https://docs.fluidd.xyz',
DOCS_REQUIRED_CONFIGURATION: 'https://docs.fluidd.xyz/configuration/initial_setup',
DOCS_MULTIPLE_INSTANCES: 'https://docs.fluidd.xyz/configuration/multiple_printers',
DOCS_MOONRAKER_COMPONENTS: 'https://docs.fluidd.xyz/configuration/moonraker',
DOCS_AUTH_LOST_PASSWORD: 'https://docs.fluidd.xyz/authorization#lost-password',
DOCS_AUTH: 'https://docs.fluidd.xyz/authorization',
GITHUB_REPO: 'https://github.com/fluidd-core/fluidd'
})
export const Icons = Object.freeze({
dash: mdiViewDashboardOutline,
account: mdiAccount,
addAccount: mdiAccountPlus,
help: mdiHelpCircle,
motion: mdiMotionOutline,
limits: mdiArrowHorizontalLock,
send: mdiSend,
open: mdiOpenInApp,
move: mdiFolderMove,
tabs: mdiCheckboxMultipleBlank,
menu: mdiDotsVertical,
menuAlt: mdiMenu,
dots: mdiDotsHorizontal,
dotsGrid: mdiDotsGrid,
drag: mdiDrag,
chart: mdiChartTimelineVariant,
power: mdiPower,
powerCycle: mdiPowerCycle,
powerOn: mdiToggleSwitch,
powerOff: mdiToggleSwitchOffOutline,
home: mdiHome,
close: mdiClose,
refresh: mdiRefresh,
restart: mdiRestart,
restartAlert: mdiRestartAlert,
update: mdiUpdate,
warning: mdiAlert,
error: mdiHandBackRight,
thermometer: mdiThermometerLow,
bell: mdiBellOutline,
fireAlert: mdiFireAlert,
snowflakeAlert: mdiSnowflakeAlert,
circle: mdiCircle,
blankCircle: mdiCheckboxBlankCircleOutline,
markedCircle: mdiRadioboxMarked,
checkedCircle: mdiCheckCircleOutline,
checkboxBlank: mdiCheckboxBlankOutline,
checkboxMarked: mdiCheckboxMarkedOutline,
alertCircle: mdiAlertCircle,
folderAdd: mdiFolderPlus,
folderUp: mdiFolderUpload,
folderUpload: mdiFolderArrowUp,
folder: mdiFolder,
folderLock: mdiFolderLock,
fileUpload: mdiUpload,
fileAdd: mdiFilePlus,
inProgress: mdiCircleSlice3,
progressUpload: mdiProgressUpload,
progressQuestion: mdiProgressQuestion,
up: mdiArrowUp,
down: mdiArrowDown,
left: mdiArrowLeft,
right: mdiArrowRight,
tune: mdiTune,
zUp: mdiArrowExpandUp,
zDown: mdiArrowCollapseDown,
expandHorizontal: mdiArrowExpandHorizontal,
expandVertical: mdiArrowExpandVertical,
cog: mdiCog,
cogs: mdiCogs,
save: mdiContentSaveOutline,
estop: mdiCarBrakeAlert,
fire: mdiFire,
tools: mdiHammerWrench,
minus: mdiMinus,
plus: mdiPlus,
check: mdiCheck,
console: mdiConsole,
clock: mdiClockOutline,
formatLineSpacing: mdiFormatLineSpacing,
layersTripleOutline: mdiLayersTripleOutline,
chevronUp: mdiChevronUp,
chevronDown: mdiChevronDown,
chevronRight: mdiChevronRight,
chevronLeft: mdiChevronLeft,
timer: mdiTimerSand,
fileCode: mdiFileCodeOutline,
fileRefresh: mdiFileRefreshOutline,
files: mdiFileTableOutline,
file: mdiFile,
fileLock: mdiFileLock,
fileCancel: mdiFileCancel,
pause: mdiPause,
cancel: mdiWindowClose,
cancelled: mdiCancel,
play: mdiPlay,
resume: mdiPlay,
stop: mdiStop,
reprint: mdiPrinter,
printer: mdiPrinter,
download: mdiDownload,
rename: mdiFormTextbox,
duplicate: mdiContentDuplicate,
sync: mdiSync,
delete: mdiDelete,
camera: mdiCamera,
fan: mdiFan,
pencil: mdiPencil,
pencilLock: mdiPencilLock,
magnify: mdiMagnify,
magnifyPlus: mdiMagnifyPlus,
magnifyMinus: mdiMagnifyMinus,
printer3d: mdiPrinter3d,
printer3dNozzle: mdiPrinter3dNozzleOutline,
printer3dNozzleAlert: mdiPrinter3dNozzleAlertOutline,
bedMesh: mdiViewGridOutline,
host: mdiDesktopTower,
history: mdiHistory,
filter: mdiFilterOutline,
commit: mdiSourceCommit,
cloudCheck: mdiCloudCheck,
cloudAlert: mdiCloudAlert,
cubeScan: mdiCubeScan,
consoleLine: mdiConsoleLine,
lock: mdiLock,
lockOpen: mdiLockOpenVariant,
lockReset: mdiLockReset,
reset: mdiRestore,
tempError: mdiThermometerAlert,
contentCopy: mdiContentCopy,
apps: mdiApps,
shieldAccount: mdiShieldAccount,
retract: mdiSwapVertical,
codeJson: mdiCodeJson,
desktopTower: mdiDesktopTower,
harddisk: mdiHarddisk,
message: mdiMessageTextOutline,
list: mdiFormatListBulleted,
fullScreen: mdiFullscreen,
video: mdiFileVideoOutline,
snooze: mdiBellSleep,
chip: mdiChip,
viewHeadline: mdiViewHeadline,
absolutePositioning: mdiAxisArrow,
relativePositioning: mdiVectorLine,
openInNew: mdiOpenInNew,
imageSizeSelectLarge: mdiImageSizeSelectLarge,
listStatus: mdiListStatus,
previousLayer: mdiLayersMinus,
currentLayer: mdiLayers,
nextLayer: mdiLayersPlus,
moves: mdiVectorLine,
extrusions: mdiPrinter3dNozzle,
retractions: mdiSwapVertical,
tableColumn: mdiTableColumn,
parts: mdiShape,
folderOpen: mdiFolderOpen,
fileImage: mdiFileImage,
fileImageLock: mdiFileImageLock,
fileZip: mdiArchive,
fileZipLock: mdiArchiveLock,
fileZipAdd: mdiArchivePlus,
filament: mdiFilament,
loadFilament: mdiFilamentDown,
unloadFilament: mdiFilamentUp,
changeFilament: mdiFilamentChange,
cleanNozzle: mdiToothbrush,
jobQueue: mdiTrayFull,
enqueueJob: mdiTrayPlus,
sensors: mdiGauge,
screenshot: mdiMonitorScreenshot,
zRotateClockwise: mdiRotateRight,
zRotateCounterclockwise: mdiRotateLeft,
devices: mdiUsb
})
export const Waits = Object.freeze({
onServiceRestart: 'onServiceRestart',
onServiceStop: 'onServiceStop',
onServiceStart: 'onServiceStart',
onDevicePowerToggle: 'onDevicePowerToggle',
onHomeAll: 'onHomeAll',
onHomeXY: 'onHomeXY',
onHomeX: 'onHomeX',
onHomeY: 'onHomeY',
onHomeZ: 'onHomeZ',
onQGL: 'onQGL',
onZTilt: 'onZTilt',
onBedScrewsAdjust: 'onBedScrewAdjust',
onBedScrewsCalculate: 'onBedScrewsCalculate',
onBedTiltCalibrate: 'onBedTiltCalibrate',
onDeltaCalibrate: 'onDeltaCalibrate',
onPrintPause: 'onPrintPause',
onPrintCancel: 'onPrintCancel',
onPrintResume: 'onPrintResume',
onMacro: 'onMacro',
onSetSpeed: 'onSetSpeed',
onSetFlow: 'onSetFlow',
onSetPressureAdvance: 'onSetPressureAdvance',
onSetFanSpeed: 'onSetFanSpeed',
onSetOutputPin: 'onSetOutputPin',
onZAdjust: 'onZAdjust',
onZApply: 'onZApply',
onSaveConfig: 'onSaveConfig',
onRetract: 'onRetract',
onExtrude: 'onExtrude',
onMeshCalibrate: 'onMeshCalibrate',
onKlipperRestart: 'klipperRestart',
onKlipperFirmwareRestart: 'klipperFirmwareRestart',
onSetVelocity: 'onSetVelocity',
onSetAcceleration: 'onSetAcceleration',
onSetAccelToDecel: 'onSetAccelToDecel',
onSetMinimumCruiseRatio: 'onSetMinimumCruiseRatio',
onSetSquareCornerVelocity: 'onSetSquareCornerVelocity',
onSetRetractLength: 'onSetRetractLength',
onSetRetractSpeed: 'onSetRetractSpeed',
onSetUnretractSpeed: 'onSetUnretractSpeed',
onSetUnretractExtraLength: 'onSetUnretractExtraLength',
onExtruderChange: 'onExtruderChange',
onLoadLanguage: 'onLoadLanguage',
onFileSystem: 'onFileSystem',
onJobQueue: 'onJobQueue',
onTimelapseSaveFrame: 'onTimelapseSaveFrame',
onManualProbe: 'onManualProbe',
onProbeCalibrate: 'onProbeCalibrate',
onProbeAccuracy: 'onProbeAccuracy',
onZEndstopCalibrate: 'onZEndstopCalibrate',
onQueryEndstops: 'onQueryEndstops',
onQueryProbe: 'onQueryProbe',
onVersionRefresh: 'onVersionRefresh',
onSyncExtruder: 'onSyncExtruder',
onStepperEnable: 'onStepperEnable',
onMachinePeripheralsUsb: 'onMachinePeripheralsUsb',
onMachinePeripheralsSerial: 'onMachinePeripheralsSerial',
onMachinePeripheralsVideo: 'onMachinePeripheralsVideo',
onMachinePeripheralsCanbus: 'onMachinePeripheralsCanbus'
})
export const SupportedLocales = Object.freeze([
{ name: 'English', code: 'en' },
{ name: 'Afrikaans', code: 'af' },
{ name: 'Čeština', code: 'cs' },
{ name: '简体中文', code: 'zh-CN' },
{ name: '繁體中文', code: 'zh-HK' },
{ name: 'Deutsch', code: 'de' },
{ name: 'Español', code: 'es' },
{ name: 'Français', code: 'fr' },
{ name: 'Italiano', code: 'it' },
{ name: 'Magyar', code: 'hu' },
{ name: 'Nederlands', code: 'nl' },
{ name: 'Polski', code: 'pl' },
{ name: 'Português', code: 'pt' },
{ name: 'Русский', code: 'ru' },
{ name: 'Slovenščina', code: 'sl' },
{ name: 'Türkçe', code: 'tr' },
{ name: 'Українська', code: 'uk' },
{ name: '한국어', code: 'ko' },
{ name: 'العربية', code: 'ar' },
{ name: '日本語', code: 'ja' }
])
export const SupportedImageFormats = Object.freeze([
'.bmp',
'.gif',
'.jfif',
'.jpeg',
'.jpg',
'.png',
'.svg',
'.tif',
'.tiff',
'.webp'
])
export const SupportedMarkdownFormats = Object.freeze([
'.markdown',
'.md',
'.mdown'
])
export const SupportedVideoFormats = Object.freeze([
'.mp4',
'.mpeg',
'.mpg'
])
export type DateTimeFormat = {
locales?: Intl.LocalesArgument,
options: Intl.DateTimeFormatOptions,
suffix?: string
}
export const DateFormats = Object.freeze<Record<string, DateTimeFormat>>({
iso: {
locales: 'lt',
options: { day: '2-digit', month: '2-digit', year: 'numeric' },
suffix: ' (ISO 8601)'
},
digits2: {
options: { day: '2-digit', month: '2-digit', year: 'numeric' }
},
short: {
options: { day: '2-digit', month: 'short', year: 'numeric' }
}
})
export const TimeFormats = Object.freeze<Record<string, DateTimeFormat>>({
iso: {
locales: 'lt',
options: { hour: '2-digit', minute: '2-digit', hour12: false },
suffix: ' (ISO 8601)'
},
hours12: {
options: { hour: '2-digit', minute: '2-digit', hour12: true }
},
hours24: {
options: { hour: '2-digit', minute: '2-digit', hour12: false }
}
})