-
Notifications
You must be signed in to change notification settings - Fork 0
/
components.html
7594 lines (6549 loc) · 293 KB
/
components.html
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
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html data-protected="all">
<head>
<title>Webstrate Componenets package repository</title>
<meta charset="UTF-8">
</head>
<body>
<div class="packages">
<div class="package" id="wsc-icon-registry">
<script id="descriptor-script" type="descriptor">
{
"friendlyName": "Icon registry",
"description": "Icon providers can register icons for everyone and everything",
"dependencies": [],
"assets": [
],
"version": "0.1",
"license": "Apache 2.0 + CC-BY",
"changelog": {
"0.1": "Initial version"
}
}
</script>
<script id="IconRegistry-script" type="disabled">
/**
* IconRegistry
* Register icons and use them on the page
*
* Copyright 2020, 2021 Rolf Bagge, Janus B. Kristensen, CAVI,
* Center for Advanced Visualization and Interacion, Aarhus University
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
/**
* Registers icons and uses them on the page
*/
window.IconRegistry = class IconRegistry {
static registerProvider(iconProvider){
IconRegistry.iconProviders.push(iconProvider);
// TODO: update all icons
}
static createIcon(iconIdentifier){
let icon = null;
let searchPath = null;
if (Array.isArray(iconIdentifier)){
searchPath = iconIdentifier;
} else {
searchPath = [iconIdentifier];
}
// Query each icon or fallback in order
search: for (const attempt of searchPath){
for (const provider of IconRegistry.iconProviders){
if (provider.provides(attempt)){
icon = provider.createIcon(attempt);
break search;
}
}
}
// Ultimate fallback is invisible
if (icon===null){
icon = document.createElement("span");
}
icon.classList.add("wsc-registry-icon");
icon.wscIconIdentifier = iconIdentifier;
return icon;
}
};
window.IconRegistry.iconProviders = [];
</script>
<style id="icons-style">
.wsc-registry-icon {
width: 100%;
height: 100%;
object-fit: contain;
}
/* Fix Chrome SVG render bug for gradients/filters etc */
head {
display: block;
position: absolute;
z-index: -10;
opacity: 0;
pointer-events: none;
}
</style>
</div>
<div class="package" id="FragmentLogoIcons">
<script id="descriptor-script" type="descriptor">
{
"friendlyName": "Fragment Logo Icon Set",
"description": "Provides Icons for Fragments based on their logos",
"dependencies": [
"#wsc-icon-registry"
],
"assets": [
],
"version": "0.1",
"license": "Apache 2.0 + Various",
"changelog": {
"0.1": "Initial version"
}
}
</script>
<script id="FragmentLogoIconProvider-script" type="disabled">
/**
* FragmentLogoIconProvider
* A provider for Codestrate fragment type icons
*
* Copyright 2020, 2021 Rolf Bagge, Janus B. Kristensen, CAVI,
* Center for Advanced Visualization and Interacion, Aarhus University
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
/**
* A provider for Codestrate fragment type icons
*/
window.FragmentLogoIconProvider = class FragmentLogoIconProvider {
provides(iconIdentifier){
return iconIdentifier.startsWith("code-fragment:");
}
/**
* Create an icon
*/
createIcon(iconIdentifier) {
let mimeType = iconIdentifier.slice(14);
/*
"wpm/descriptor": (
base: #000080,
text: #A0A0FF,
name: 'WPM Package Descriptor',
type: 'wpm'
),
*/
let supportedTypes = [
"text/html",
"text/javascript",
"text/javascript+babel",
"text/css",
"text/x-typescript",
"text/markdown",
"text/x-latex",
"image/svg+xml",
"application/json",
"text/p5js",
"text/ruby",
"application/x-lua",
"model/vnd.usda",
"text/x-scss",
"text/python"
];
if (mimeType==="text/javascript+babel") mimeType = "text/javascript";
if (supportedTypes.includes(mimeType)){
let icon = document.createElementNS("http://www.w3.org/2000/svg", "svg");
let link = document.createElementNS('http://www.w3.org/2000/svg', 'use');
link.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', '#'+mimeType.replace(/(\/|\+)/g, "-"));
icon.appendChild(link);
return icon;
}
if (mimeType==="wpm/descriptor"){
return IconRegistry.createIcon("mdc:list_alt");
} else if (mimeType==="text/mirrorverse-audio-router"){
return IconRegistry.createIcon("mdc:route");
} else if (mimeType==="text/varv"){
return IconRegistry.createIcon("webstrates:varv");
}
return null;
}
}
/**
* Icons for fragments
* @type {FragmentIcons.IconProvider}
* @hideconstructor
*/
IconRegistry.registerProvider(new FragmentLogoIconProvider());
</script>
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 595.3 841.9">
<symbol id="text-html" viewBox="0 0 512 512">
<!-- License: Creative Commons Attribution 3.0: W3C -->
<path d="M108.4 0h23v22.8h21.2V0h23v69h-23V46h-21v23h-23.2M206 23h-20.3V0h63.7v23H229v46h-23M259.5 0h24.1l14.8 24.3L313.2 0h24.1v69h-23V34.8l-16.1 24.8l-16.1-24.8v34.2h-22.6M348.7 0h23v46.2h32.6V69h-55.6"/>
<path fill="#e44d26" d="M107.6 471l-33-370.4h362.8l-33 370.2L255.7 512"/>
<path fill="#f16529" d="M256 480.5V131H404.3L376 447"/>
<path fill="#ebebeb" d="M142 176.3h114v45.4h-64.2l4.2 46.5h60v45.3H154.4M156.4 336.3H202l3.2 36.3 50.8 13.6v47.4l-93.2-26"/>
<path fill="#fff" d="M369.6 176.3H255.8v45.4h109.6M361.3 268.2H255.8v45.4h56l-5.3 59-50.7 13.6v47.2l93-25.8"/>
</symbol>
<symbol id="text-css" viewBox="0 0 362.73 512">
<!-- License: Creative Commons Attribution 3.0: Rudloff -->
<g transform="translate(-193.63 -276.36)">
<g transform="translate(119 276.36)">
<polygon points="437.37 100.62 404.32 470.82 255.78 512 107.64 470.88 74.633 100.62" fill="#264de4"/>
<polygon points="376.03 447.25 404.27 130.89 256 130.89 256 480.52" fill="#2965f1"/>
<g fill="#ebebeb">
<polygon points="150.31 268.22 154.38 313.63 256 313.63 256 268.22"/>
<polygon points="256 176.3 255.84 176.3 142.13 176.3 146.26 221.72 256 221.72"/>
<polygon points="256 433.4 256 386.15 255.8 386.21 205.23 372.55 201.99 336.33 177.42 336.33 156.41 336.33 162.77 407.63 255.79 433.46"/>
</g>
<path d="m160 0h55v23h-32v23h32v23h-55z"/>
<path d="m226 0h55v20h-32v4h32v46h-55v-21h32v-4h-32z"/>
<path d="m292 0h55v20h-32v4h32v46h-55v-21h32v-4h-32z"/>
<polygon points="311.76 313.63 306.49 372.52 255.84 386.19 255.84 433.44 348.94 407.63 349.62 399.96 360.29 280.41 361.4 268.22 369.6 176.3 255.84 176.3 255.84 221.72 319.83 221.72 315.7 268.22 255.84 268.22 255.84 313.63" fill="#fff"/>
</g>
</g>
</symbol>
<symbol id="text-javascript" viewBox="0 0 630 630">
<!-- License: MIT: Copyright (c) 2011 Christopher Williams -->
<rect width="630" height="630" fill="#f7df1e"/>
<path d="m423.2 492.19c12.69 20.72 29.2 35.95 58.4 35.95 24.53 0 40.2-12.26 40.2-29.2 0-20.3-16.1-27.49-43.1-39.3l-14.8-6.35c-42.72-18.2-71.1-41-71.1-89.2 0-44.4 33.83-78.2 86.7-78.2 37.64 0 64.7 13.1 84.2 47.4l-46.1 29.6c-10.15-18.2-21.1-25.37-38.1-25.37-17.34 0-28.33 11-28.33 25.37 0 17.76 11 24.95 36.4 35.95l14.8 6.34c50.3 21.57 78.7 43.56 78.7 93 0 53.3-41.87 82.5-98.1 82.5-54.98 0-90.5-26.2-107.88-60.54zm-209.13 5.13c9.3 16.5 17.76 30.45 38.1 30.45 19.45 0 31.72-7.61 31.72-37.2v-201.3h59.2v202.1c0 61.3-35.94 89.2-88.4 89.2-47.4 0-74.85-24.53-88.81-54.075z"/>
</symbol>
<symbol id="text-x-latex" viewBox="0 0 1200 500">
<path d="M285.7 238h-11.25c-4.5 45.9-10.8 101.7-90 101.7H148c-21.15 0-22.05-3.15-22.05-18V82.75c0-15.3 0-21.6 42.3-21.6h14.85v-13.5C166.9 49 126.4 49 107.95 49 90.4 49 55.3 49 40 47.65v13.5h10.35C85 61.15 85.9 66.1 85.9 82.3v236.25c0 16.2-.9 21.15-35.55 21.15H40v13.95h233.55L285.7 238z"/>
<path d="M278.05 47.2c-1.8-5.4-2.7-7.2-8.55-7.2-5.85 0-7.2 1.8-9 7.2l-72.45 183.6c-3.15 7.65-8.55 21.6-36.45 21.6v11.25h69.75V252.4c-13.95 0-22.5-6.3-22.5-15.3 0-2.25.45-3.15 1.35-6.3l15.3-38.7h89.1l18 45.9c.9 1.8 1.8 4.05 1.8 5.4 0 9-17.1 9-25.65 9v11.25h88.65V252.4h-6.3c-21.15 0-23.4-3.15-26.55-12.15L278.05 47.2zm-18 31.95l40.05 101.7H220l40.05-101.7z"/>
<path d="M638.5 50.35H364.45l-8.1 100.8h10.8c6.3-72.45 13.05-87.3 81-87.3 8.1 0 19.8 0 24.3.9 9.45 1.8 9.45 6.75 9.45 17.1V318.1c0 15.3 0 21.6-47.25 21.6h-18v13.95c18.45-1.35 63.9-1.35 84.6-1.35 20.7 0 67.05 0 85.5 1.35V339.7h-18c-47.25 0-47.25-6.3-47.25-21.6V81.85c0-9 0-15.3 8.1-17.1 4.95-.9 17.1-.9 25.65-.9 67.5 0 74.25 14.85 80.55 87.3h11.25l-8.55-100.8z"/>
<path d="M879.7 339.25h-11.25c-11.25 68.85-21.6 101.7-98.55 101.7h-59.4c-21.15 0-22.05-3.15-22.05-18v-119.7h40.05c43.65 0 48.6 14.4 48.6 52.65h11.25V237.1H777.1c0 38.25-4.95 52.2-48.6 52.2h-40.05V181.75c0-14.85.9-18 22.05-18h57.6c68.85 0 80.55 24.75 87.75 87.3h11.25l-12.6-100.8h-252v13.5h10.35c34.65 0 35.55 4.95 35.55 21.15v234.9c0 16.2-.9 21.15-35.55 21.15H602.5v13.95h258.3l18.9-115.65z"/>
<path d="M1015.15 180.4l61.65-90c9.45-14.4 24.75-28.8 64.8-29.25v-13.5h-107.1v13.5c18 .45 27.9 10.35 27.9 20.7 0 4.5-.9 5.4-4.05 10.35l-51.3 75.6-57.6-86.4c-.9-1.35-3.15-4.95-3.15-6.75 0-5.4 9.9-13.05 28.8-13.5v-13.5C959.8 49 926.95 49 909.85 49c-13.95 0-41.85-.45-58.5-1.35v13.5h8.55c24.75 0 33.3 3.15 41.85 15.75l82.35 124.65L910.75 310c-6.3 9-19.8 29.7-64.8 29.7v13.95h107.1V339.7c-20.7-.45-28.35-12.6-28.35-20.7 0-4.05 1.35-5.85 4.5-10.8l63.45-94.05 71.1 107.1c.9 1.8 2.25 3.6 2.25 4.95 0 5.4-9.9 13.05-29.25 13.5v13.95c15.75-1.35 48.6-1.35 65.25-1.35 18.9 0 39.6.45 58.5 1.35V339.7h-8.55c-23.4 0-32.85-2.25-42.3-16.2l-94.5-143.1z"/>
</symbol>
<symbol id="text-x-typescript" viewBox="0 0 400 400">
<path fill="#007acc" d="M0 200V0h400v400H0"/>
<path d="M87.7 200.7V217h52v148h36.9V217h52v-16c0-9 0-16.3-.4-16.5 0-.3-31.7-.4-70.2-.4l-70 .3v16.4l-.3-.1zM321.4 184c10.2 2.4 18 7 25 14.3 3.7 4 9.2 11 9.6 12.8 0 .6-17.3 12.3-27.8 18.8-.4.3-2-1.4-3.6-4-5.2-7.4-10.5-10.6-18.8-11.2-12-.8-20 5.5-20 16 0 3.2.6 5 1.8 7.6 2.7 5.5 7.7 8.8 23.2 15.6 28.6 12.3 41 20.4 48.5 32 8.5 13 10.4 33.4 4.7 48.7-6.4 16.7-22 28-44.3 31.7-7 1.2-23 1-30.5-.3-16-3-31.3-11-40.7-21.3-3.7-4-10.8-14.7-10.4-15.4l3.8-2.4 15-8.7 11.3-6.6 2.6 3.5c3.3 5.2 10.7 12.2 15 14.6 13 6.7 30.4 5.8 39-2 3.7-3.4 5.3-7 5.3-12 0-4.6-.7-6.7-3-10.2-3.2-4.4-9.6-8-27.6-16-20.7-8.8-29.5-14.4-37.7-23-4.7-5.2-9-13.3-11-20-1.5-5.8-2-20-.6-25.7 4.3-20 19.4-34 41-38 7-1.4 23.5-.8 30.4 1l-.2.2z"/>
</symbol>
<symbol id="text-markdown" viewBox="0 0 208 128">
<!-- License: Creative Commons CC0 1.0 Universal Public Domain Dedication -->
<rect width="198" height="118" x="5" y="5" ry="10" stroke="currentColor" stroke-width="10" fill="none"/>
<path d="M30 98V30h20l20 25 20-25h20v68H90V59L70 84 50 59v39zm125 0l-30-33h20V30h20v35h20z"/>
</symbol>
<symbol id="text-x-scss" viewBox="0 0 548 548">
<!-- License: Creative Commons CC0 1.0 Universal Public Domain Dedication, (c) Jonas Oxenbøll Petersen -->
<g fill="#D465A7">
<path d="M199 370c-31 0-55 15-51 35 5 21 41 36 84 36 17 0 34-1 48-4 6-35-23-67-81-67zm125-206c-8 12-14 26-15 42-2 20 7 34 19 34 9 0 15-9 17-20s4-35-21-56z"/>
<path d="M274 0a274 274 0 1 0 0 548 274 274 0 0 0 0-548zm143 109c-3 11-12 17-21 17-16 0-32 6-47 16a82 82 0 0 1 22 78c-4 24-24 46-47 46-25 0-45-23-43-60 1-17 7-37 16-52l-24-3c-71 0-101 45-97 82 4 38 36 52 86 70 49 17 106 37 92 91-6 23-27 42-60 51a69 69 0 0 1-47 38c-5 0-8-2-8-5 0-2 1-4 5-5 11-3 23-11 30-23a308 308 0 0 1-42 3c-50 0-96-18-103-48-7-28 22-52 68-52 63 0 105 36 101 78 19-7 33-21 36-37 8-37-26-53-80-71-47-15-96-31-105-90-8-54 32-118 126-118 18 0 33 4 46 8 23-21 52-35 84-35 9 0 15 9 12 21z"/>
</g>
</symbol>
<symbol id="text-p5js" viewBox="0 0 202 202">
<!-- License: Creative Commons CC0 1.0 Universal Public Domain Dedication, (c) Jonas Oxenbøll Petersen -->
<g fill="#E83B71">
<path d="M0 0v202h202V0H0zm66 157c-9 5-26 6-35-6v38H16V98h14v9l1-1c16-17 42-11 49 11 4 16-1 33-14 40zm62 2c-14 5-31 2-39-10l-2-2 11-10c3 7 8 11 16 12 12 0 20-9 18-21-2-9-8-14-17-15l-12 1-12 4 1-48h51v13h-36l-1 18c7 1 14 0 20 2 13 3 20 12 21 25 1 14-6 26-19 31zm56-66-5 4-6-8-6 7-5-4 6-7-9-3 2-7 9 3v-9h6v9l9-2 2 6-8 3 5 8z"/>
<path d="M45 109c-10 2-17 13-14 24 2 10 10 16 20 15 9-1 15-9 15-20 0-12-9-21-21-19z"/>
</g>
</symbol>
<symbol id="image-svg-xml" viewBox="0 0 966 966">
<!-- License: Creative Commons CC0 1.0 Universal Public Domain Dedication, (c) Jonas Oxenbøll Petersen -->
<path fill="#000100" d="M825 0H141C63 0 0 63 0 141v684c0 78 63 141 141 141h684c78 0 141-63 141-141V141C966 63 903 0 825 0z"/>
<path fill="#FAAE3C" d="M659 217a34 34 0 0 0-48 0h-70l49-49a34 34 0 1 0-34-34l-49 49v-69a34 34 0 1 0-48 0v69l-49-49a34 34 0 1 0-34 34l49 49h-70a34 34 0 1 0 0 49h70l-49 49a34 34 0 1 0 34 34l49-49v69a34 34 0 1 0 48 0v-69l49 49a34 34 0 1 0 34-34l-49-49h70a34 34 0 1 0 48-49z"/>
<path fill="#FFF" d="M144 687a125 125 0 0 1 89-213c69 0 125 56 125 125h-74a52 52 0 1 0-88 36c9 10 17 13 37 16 34 3 65 14 88 36a125 125 0 0 1-88 214c-69 0-126-56-126-125h74a52 52 0 1 0 88-37c-9-9-23-12-36-15-34-5-66-14-89-37zm464-213-88 427h-74l-88-427h73l52 250 52-250h73zm125 177h126v125a125 125 0 0 1-251 0V599a125 125 0 0 1 251 0h-74a52 52 0 0 0-103 0v177a52 52 0 0 0 103 0v-52h-52v-73z"/>
</symbol>
<symbol id="text-ruby" viewBox="0 0 384.9 369">
<!-- License: Creative Commons CC0 1.0 Universal Public Domain Dedication, (c) Jonas Oxenbøll Petersen -->
<path fill="#D5181D" d="M274 223 106 331l254 35-86-143zM384 63l-23 34-77 116c-1 3-3 4-1 8l74 123 13 19 15-299-1-1zM44 191c1 2 4 2 6 2l71-36c8-5 13-12 20-18l65-60 4-4 23-46-28-10c-1-1-3 0-4 1l-63 36c-10 6-18 15-27 24a3253 3253 0 0 0-53 52l-30 43 16 16zm88-19L96 323l168-108-132-43zm94-84 49 118 94-142-143 24zm-92 74 130 42-49-117-81 75zm-88 59L1 329l86-2-41-106zm42 81 1-1 32-131-69 36 36 96zM352 57l-42-11-59-16c-3-1-5-1-6 2l-21 43-1 2 129-19v-1zm-80-33 112 31-18-53-94 21v1zm34 344-93-13-115-15c-14-2-28-1-43 0a2033 2033 0 0 0-38 2l288 27 1-1zM3 296l37-86c1-3 1-5-2-7l-15-17L0 300h1l2-3zM247 17l63-15 4-1V0l-91 12c9 4 15 7 24 5z"/>
</symbol>
<symbol id="model-vnd.usda" viewBox="0 0 20 22.72">
<g>
<path d="m13.88,22.72V7.31L0,2.54v15.43l13.88,4.75Zm-11.34-6.69V6.36l8.69,2.96v9.67l-8.69-2.96Z" fill="#208ecd" stroke-width="0"/>
<path d="m3.55,15.19l6.63,2.27v-7.31l-6.63-2.27v7.31Z" fill="#7dd1f6" stroke-width="0"/>
<path d="m17.85,11.19l2.15.75V2.72L12.09,0v2.33l5.76,2v6.87Z" fill="#7dd1f6" stroke-width="0"/>
<path d="m5.97,1.19v2.33l8.78,3.04v9.94l2.15.72V4.96L5.97,1.19Z" fill="#35c3f1" stroke-width="0"/>
</g>
</symbol>
<symbol id="application-x-lua" viewBox="0 0 946.5 946.5">
<!-- License:
Copyright © 1998 Lua.org. Graphic design by Alexandre Nakonechnyj.
Permission is hereby granted, without written agreement and without license or royalty fees, to use, copy, and distribute this logo for any purpose, including commercial applications, subject to the following conditions:
The origin of this logo must not be misrepresented; you must not claim that you drew the original logo.
The only modification you can make is to adapt the orbiting text to your product name.
The logo can be used in any scale as long as the relative proportions of its elements are maintained.
-->
<path fill="navy" d="M835 473a362 362 0 1 0-724 1 362 362 0 0 0 724-1"/>
<path fill="#fff" d="M729 323a106 106 0 1 0-212 0 106 106 0 0 0 212 0"/>
<path fill="navy" d="M941 111a106 106 0 1 0-212 0 106 106 0 0 0 212 0"/>
<path fill="#fff" d="M258 628h117v26H228V417h30zm257 26v-24c-16 23-32 32-57 32-33 0-54-18-54-47V484h27v120c0 21 14 34 35 34 28 0 47-23 47-58v-96h27v170zm223 5-18 3c-18 0-27-8-28-25a81 81 0 0 1-58 25c-35 0-56-20-56-51 0-22 10-37 30-45 10-5 16-6 54-11 22-2 29-7 29-19v-7c0-16-14-25-39-25s-37 9-40 30h-27c1-17 4-27 12-35 11-13 32-20 56-20 42 0 65 16 65 46v101c0 8 5 13 14 13l6-1zm-47-89c-10 4-15 5-44 9s-41 14-41 32c0 17 12 27 33 27 16 0 30-5 41-15 8-8 11-13 11-23z"/>
<path fill="none" stroke="gray" stroke-dasharray="40.8" stroke-miterlimit="10" stroke-width="10.9" d="M890 261A468 468 0 1 1 709 69"/>
</symbol>
<defs>
<linearGradient id="application-json-linearGradient8385">
<stop offset="0"/>
<stop stop-color="#fff" offset="1"/>
</linearGradient>
<linearGradient id="application-json-linearGradient3002" x1="-553.27" x2="-666.12" y1="525.91" y2="413.05" gradientTransform="matrix(.99884 0 0 .9987 689.01 -388.84)" gradientUnits="userSpaceOnUse" xlink:href="#application-json-linearGradient8385"/>
<linearGradient id="application-json-linearGradient3005" x1="-666.12" x2="-553.27" y1="413.04" y2="525.91" gradientTransform="matrix(.99884 0 0 .9987 689.01 -388.84)" gradientUnits="userSpaceOnUse" xlink:href="#application-json-linearGradient8385"/>
</defs>
<symbol id="application-json" viewBox="0 0 160 160">
<!-- License:
Douglas Crockford
This logo image consists only of simple geometric shapes or text. It does not meet the threshold of originality needed for copyright protection, and is therefore in the public domain. Although it is free of copyright restrictions, this image may still be subject to other restrictions - Wikimedia Commons
-->
<path d="m79.865 119.1c35.398 48.255 70.04-13.469 69.989-50.587-0.0602-43.886-44.541-68.414-70.018-68.414-40.892 0-79.836 33.796-79.836 80.036 0 51.396 44.64 79.865 79.836 79.865-7.9645-1.1468-34.506-6.834-34.863-67.967-0.23987-41.347 13.488-57.866 34.805-50.599 0.47743 0.17707 23.514 9.2645 23.514 38.951 0 29.56-23.427 38.715-23.427 38.715z" color="#000000" fill="url(#application-json-linearGradient3005)" fill-rule="evenodd"/>
<path d="m79.823 41.401c-23.39-8.0619-52.043 11.216-52.043 49.829 0 63.048 46.721 68.77 52.384 68.77 40.892 0 79.836-33.796 79.836-80.036 0-51.396-44.64-79.865-79.836-79.865 9.7481-1.35 52.541 10.55 52.541 69.037 0 38.141-31.953 58.905-52.735 50.033-0.47743-0.17707-23.514-9.2645-23.514-38.951 0-29.56 23.367-38.818 23.367-38.818z" color="#000000" fill="url(#application-json-linearGradient3002)" fill-rule="evenodd"/>
</symbol>
<defs>
<linearGradient id="text-python-b" x1="89.1" x2="147.8" y1="111.9" y2="168.1" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#ffe052"/>
<stop offset="1" stop-color="#ffc331"/>
</linearGradient>
<linearGradient id="text-python-a" x1="55.5" x2="110.2" y1="77.1" y2="131.8" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#387eb8"/>
<stop offset="1" stop-color="#366994"/>
</linearGradient>
</defs>
<symbol id="text-python" viewBox="0 0 110.4 109.8">
<!-- License:
https://www.python.org/psf/trademarks/
Use of Python Two-Snakes trademarked logo (version 1.5.0):
[...] stating accurately that software is written in the Python programming language,
that it is compatible with the Python programming language, or that it contains the Python
programming language, is always allowed. In those cases, you may use the word "Python"
or the unaltered logos to indicate this, without our prior approval. This is true
both for non-commercial and commercial uses.
This clause overrides other clauses of this policy
[...]-->
<g color="#000">
<path fill="url(#text-python-a)" d="M100 67c-28 0-27 13-27 13l1 12h26v4H63s-18-2-18 26c0 29 16 28 16 28h9v-14s-1-15 15-15h27s15 0 15-15V82s2-15-27-15zm-15 9a5 5 0 1 1 0 10 5 5 0 0 1 0-10z" transform="translate(-45 -67)"/>
<path fill="url(#text-python-b)" d="M101 177c28 0 26-12 26-12v-12h-27v-4h37s18 2 18-26c0-29-15-28-15-28h-10v13s1 16-15 16H88s-14 0-14 14v25s-3 14 27 14zm14-8a5 5 0 1 1 0-10 5 5 0 0 1 0 10z" transform="translate(-45 -67)"/>
</g>
</svg>
</div>
<div class="package" id="WebstrateIcons">
<script id="descriptor-script" type="descriptor">
{
"friendlyName": "Webstrates Default Icon Set",
"description": "Provides Icons for Webstrate features",
"dependencies": [
"#wsc-icon-registry"
],
"assets": [],
"version": "0.1",
"license": "Apache 2.0 + CC-BY",
"changelog": {
"0.1": "Initial version"
}
}
</script>
<script id="WSIconProvider-script" type="disabled">
/**
* WSIconProvider
* A provider for webstrates icons
*
* Copyright 2020, 2021 Rolf Bagge, Janus B. Kristensen, CAVI,
* Center for Advanced Visualization and Interacion, Aarhus University
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
/**
* A provider for webstrates icons
*/
window.WSIconProvider = class WSIconProvider {
constructor(){
this.supportedTypes = [
"webstrates:logo",
"webstrates:wpm-package-open",
"webstrates:wpm-package-closed",
"webstrates:cauldron",
"webstrates:codestrates",
"webstrates:components",
"webstrates:varv"
];
}
provides(iconIdentifier){
return this.supportedTypes.includes(iconIdentifier);
}
createIcon(iconIdentifier) {
let icon = document.createElementNS("http://www.w3.org/2000/svg", "svg");
let link = document.createElementNS('http://www.w3.org/2000/svg', 'use');
link.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', '#'+iconIdentifier.replace(/webstrates:/g, '')+"-icon");
icon.appendChild(link);
return icon;
}
};
IconRegistry.registerProvider(new WSIconProvider());
</script>
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 595.3 841.9" enable-background="new 0 0 595.3 841.9" xml:space="preserve">
<symbol id="logo-icon" viewBox="0 0 265.000000 265.000000" preserveAspectRatio="xMidYMid meet">
<!-- License:
Copyright (c) 2020, 2021 Jonas Oxenbøll Petersen, CAVI - Center for Advanced Visualization and Interaction, Aarhus University
Distributed under Creative Commons Attribution 4.0 (CC-BY-4.0)
-->
<g transform="translate(0.000000,265.000000) scale(0.100000,-0.100000)"
fill="currentColor" stroke="none">
<path d="M407 2300 c-119 -42 -177 -101 -177 -180 0 -45 0 -46 120 -153 41
-38 42 -40 36 -87 -10 -75 -69 -251 -186 -555 -173 -449 -173 -450 -178 -593
-5 -145 8 -190 70 -258 53 -57 108 -77 196 -72 126 7 265 94 471 293 63 60
147 150 187 198 l74 88 0 -83 c1 -157 49 -304 129 -390 129 -140 376 -156 607
-40 336 170 658 570 798 992 58 174 68 246 64 442 -3 165 -4 176 -31 233 -62
132 -123 176 -252 183 -130 7 -231 -31 -282 -107 -29 -43 -31 -108 -4 -142 57
-73 87 -169 101 -318 16 -172 -18 -337 -110 -528 -94 -197 -228 -355 -354
-414 -152 -72 -228 -10 -228 186 0 179 53 341 234 719 95 196 111 237 115 290
4 52 2 66 -19 95 -12 19 -40 43 -60 53 -48 25 -166 34 -240 19 -100 -21 -111
-34 -233 -269 -137 -264 -256 -458 -399 -649 -104 -139 -338 -395 -350 -382
-8 8 69 222 182 505 218 547 249 723 145 843 -18 22 -59 52 -91 67 -49 24 -72
28 -167 31 -92 3 -120 0 -168 -17z m317 -60 c27 -14 63 -42 80 -64 31 -37 31
-40 30 -144 -1 -136 -23 -208 -186 -622 -140 -354 -201 -530 -196 -568 2 -22
9 -28 35 -30 27 -3 43 8 128 90 250 239 482 577 732 1068 70 138 87 151 204
158 96 6 162 -11 190 -47 39 -49 25 -102 -98 -357 -182 -377 -228 -523 -228
-724 0 -115 2 -130 26 -175 14 -28 41 -61 60 -73 29 -21 43 -23 95 -19 232 18
509 376 588 761 22 103 20 269 -3 381 -17 84 -67 205 -91 220 -5 3 -10 21 -10
40 0 45 37 87 101 115 44 18 66 21 140 18 78 -3 92 -6 131 -33 53 -38 103
-126 117 -211 89 -510 -334 -1265 -852 -1520 -110 -53 -176 -67 -291 -62 -145
8 -239 64 -295 177 -43 86 -52 120 -64 268 l-12 138 -30 3 c-27 2 -38 -7 -99
-83 -86 -105 -288 -304 -381 -374 -192 -145 -329 -163 -422 -57 -80 90 -83
228 -9 441 24 72 81 225 126 340 101 258 165 446 185 542 21 102 10 129 -81
203 -53 42 -64 56 -64 81 0 42 15 65 59 93 71 45 118 56 231 53 90 -2 113 -6
154 -27z"/>
</g>
</symbol>
<symbol id="wpm-package-open-icon" viewBox="0 0 195 195" enable-background="new 0 0 195 195" xml:space="preserve">
<!-- License:
Copyright (c) 2020, 2021 Jonas Oxenbøll Petersen, CAVI - Center for Advanced Visualization and Interaction, Aarhus University
Distributed under Creative Commons Attribution 4.0 (CC-BY-4.0)
-->
<g>
<polygon fill="#8C6239" points="35.9,45.1 83.6,72.2 86.5,163.7 42,121.1 "/>
<polygon fill="#C69C6D" points="163.2,51.3 155.1,132.7 86.5,163.7 83.6,72.2 "/>
<g id="izg6T3.tif_6_">
<g>
<path fill="#298158" d="M129.2,125.9c-1.2,0.2-2.5,0.6-3.7,0.6c-2.5,0.1-4-1.4-5-3.6c-0.7-1.6-1.1-3.5-1.7-5.5
c-0.8,1.8-1.6,3.5-2.4,5.2c-2.3,4.8-4.8,9.4-8.1,13.6c-3.5,4.2-7.4,5.2-9.6,2.2c-1-1.4-1.7-3.5-1.7-5.6c0.2-5.4,1-11,1.5-16.8
c0.4-4.2,0.6-8.6,0.8-13c0.1-1.7-0.7-2.5-2.1-2.8c-0.3-0.1-0.6-0.2-1-0.3c-3.3-0.8-3.8-2.7-1.7-6.4c2.9-5,11.6-8.8,14.8-5.1
c1.8,2,2,4.9,1.7,7.6c-0.7,7.4-1.8,14.6-2.6,21.5c-0.4,2.9-0.6,5.7-1,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,1.3,2,4
c-1.1,4.6-2.2,9-3.2,13.4c-1,4.8-1.7,9.4-1.5,13.7c0.1,1.3,0.4,2.5,0.9,3.5c1.5,2.8,3.6,2.1,6.1-0.9c3.8-4.4,5.6-9.7,7-15.2
c1.2-4.7,1.7-9.3,1.1-13.8c-0.4-3-1-5.8-2.7-7.9c-1.3-1.6-0.9-3.8,1-5.9c3.6-4,7.6-3.5,8.8,1.1C150,74.2,150.3,76,150.5,76.9z"/>
</g>
</g>
<polygon fill="#754C24" points="105.9,31.3 107.3,66 83.6,72.2 35.9,45.1 "/>
<polygon fill="#603813" points="163.2,51.3 107.3,66 105.9,31.3 "/>
<polygon fill="#A67C52" points="35.9,45.1 83.6,72.2 42.3,103.8 0.9,67.4 "/>
<polygon fill="#A67C52" points="105.9,31.3 35.9,45.1 17.2,25.2 86.5,16.5 "/>
<polygon fill="#A67C52" points="163.2,51.3 105.9,31.3 130.3,8.9 190.1,21.8 "/>
<polygon fill="#A67C52" points="83.6,72.2 163.2,51.3 193.2,81.2 111.8,112.5 "/>
</g>
</symbol>
<symbol id="wpm-package-closed-icon" viewBox="0 0 195 195" enable-background="new 0 0 195 195" xml:space="preserve">
<!-- License:
Copyright (c) 2020, 2021 Jonas Oxenbøll Petersen, CAVI - Center for Advanced Visualization and Interaction, Aarhus University
Distributed under Creative Commons Attribution 4.0 (CC-BY-4.0)
-->
<g>
<polygon fill="#8C6239" points="35.8,45.1 83.5,72.2 86.5,163.7 41.9,121.1 "/>
<polygon fill="#C69C6D" points="163.2,51.3 155,132.7 86.5,163.7 83.5,72.2 "/>
<polygon fill="#A67C52" points="104.9,31.3 163.2,51.3 83.5,72.2 35.8,45.1 "/>
<g id="izg6T3.tif_3_">
<g>
<path fill="#298158" d="M129.1,125.9c-1.2,0.2-2.5,0.6-3.7,0.6c-2.5,0.1-4-1.4-5-3.6c-0.7-1.6-1.1-3.5-1.7-5.5
c-0.8,1.8-1.6,3.5-2.4,5.2c-2.3,4.8-4.8,9.4-8.1,13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5,9.9-3.7c1.9,0.4,3,2,2.9,4.1
c0,4.3-0.3,8.6-0.7,12.8c-0.7,7.2-1.7,14.2-2.4,20.9c-0.1,0.5,0.3,1,0.4,1.5c0.5-0.4,1.2-0.7,1.5-1.2c1.4-2.5,2.9-4.9,3.9-7.5
c1.9-4.5,3.7-9.1,5.1-13.8c1.8-5.9,3.3-11.9,5-18.2c0.5-1.8,1.1-3.6,2.5-4.4c1.5-0.9,3.1-1.9,4.6-2c2.1-0.3,2.7,1.3,2,4
c-1.1,4.6-2.2,9-3.2,13.4c-1,4.8-1.7,9.4-1.5,13.7c0.1,1.3,0.4,2.5,0.9,3.5c1.5,2.8,3.6,2.1,6.1-0.9c3.8-4.4,5.6-9.7,7-15.2
c1.2-4.7,1.7-9.3,1.1-13.8c-0.4-3-1-5.8-2.7-7.9c-1.3-1.6-0.9-3.8,1-5.9c3.6-4,7.6-3.5,8.8,1.1C149.9,74.2,150.2,76,150.4,76.9z"
/>
</g>
</g>
</g>
</symbol>
<symbol id="cauldron-icon" viewBox="0 0 121.1 121.1" enable-background="new 0 0 121.1 121.1" xml:space="preserve">
<!-- License:
Copyright (c) 2020, 2021 Jonas Oxenbøll Petersen, CAVI - Center for Advanced Visualization and Interaction, Aarhus University
Distributed under Creative Commons Attribution 4.0 (CC-BY-4.0)
-->
<path fill="none" stroke="currentColor" stroke-width="12" stroke-miterlimit="10" d="M102.4,36.5v60.9c0,9.7-9.1,17.6-20.3,17.6H39.8
c-11.2,0-20.3-7.9-20.3-17.6V36.5"/>
<path d="M83.6,29.9c-2.2,4.4-5.1,7.5-8.6,10.1c-3,2.2-6.2,4-9.8,5.1c-2.9,1-6,1.6-9,0.9c-4.7-1.2-6.9-4.2-5.4-9.2
c0.3-1,0.8-2.1,1.1-3.1c0.1-0.3,0.1-0.9-0.1-1c-0.2-0.2-0.8-0.2-1.1-0.1c-1.5,0.7-3,1.6-4.6,2.1c-3.2,1.1-6.4,2.4-9.9,2.2
c-2.4-0.2-3.8-3-3-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2,1.9,0.5,1.9,1.5C80.8,68.9,80.8,69.3,80.8,69.5z"/>
<path fill="none" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" d="M24,55.9c0,0,9.5-4,16-4s12.7,4,20.9,4
S75.5,52,82.1,52s16,3.9,16,3.9"/>
<path fill="none" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" d="M32.2,25.1C24,15.3,12.7,14.7,12.7,14.7"/>
<path fill="none" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" d="M36.2,19.1C24.5,7.8,12.7,7.8,12.7,7.8"/>
<path fill="none" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" d="M40.2,13.1C28.8,1,12.7,1,12.7,1"/>
</symbol>
<symbol id="varv-icon" viewBox="0 0 567 567">
<!-- License:
Copyright (c) 2022 Jonas Oxenbøll Petersen, CAVI - Center for Advanced Visualization and Interaction, Aarhus University
Distributed under Creative Commons Attribution 4.0 (CC-BY-4.0)
-->
<path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="50" d="M39 56h503M6 147h503M95 238h472M26 329h416M1 420h503M39 511h485"/>
</symbol>
<symbol id="codestrates-icon" viewBox="0 0 567 567">
<!-- License:
Copyright (c) 2022 Jonas Oxenbøll Petersen, CAVI - Center for Advanced Visualization and Interaction, Aarhus University
Distributed under Creative Commons Attribution 4.0 (CC-BY-4.0)
-->
<ellipse cx="283.5" cy="250.8" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="20" rx="270.1" ry="86.3"/><ellipse cx="283.5" cy="316.2" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="20" rx="270.1" ry="86.3"/><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="20" d="M13 251v65M554 251v65"/><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="9" d="m262 308-25-25 25-25M305 258l26 25-26 25M291 249l-15 69"/>
</symbol>
<symbol id="components-icon" viewBox="0 0 567 567">
<!-- License:
Copyright (c) 2022 Jonas Oxenbøll Petersen, CAVI - Center for Advanced Visualization and Interaction, Aarhus University
Distributed under Creative Commons Attribution 4.0 (CC-BY-4.0)
-->
<path fill="currentColor" d="M335 410c-1 13-4 23-9 33-5 8-11 16-18 23-6 5-12 10-20 11-13 3-21-2-23-16l-1-8-1-3-3 1-8 10c-6 6-13 13-21 16-6 2-12-3-13-9 0-7 2-13 4-20l11-27 2-9c1-3 0-5-3-7-2-2-4-3-4-6 1-3 3-4 6-5 5-2 11-2 17 2 3 2 4 5 3 8l-5 19-12 34v3l3-1 10-9 14-20 14-25c2-3 3-5 6-5h9c4 1 5 4 3 8l-9 19c-3 8-6 15-7 23l1 8c2 7 7 8 13 5 9-5 14-13 18-22 4-8 5-15 5-23-1-6-1-11-4-16-3-3-2-6 3-8 7-4 15 0 17 8l2 8z"/><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="20" d="M13 364h541v144H13zM80 326h100v38H80zM385 326h100v38H385z"/><path fill="currentColor" d="M335 144c-1 13-4 24-9 33s-11 16-18 23c-6 5-12 10-20 12-13 2-21-3-23-16l-1-9-1-2c-1-1-2 0-3 1l-8 9c-6 7-13 13-21 16-6 3-12-3-13-8 0-8 2-14 4-21l11-27 2-8c1-3 0-6-3-8-2-1-4-3-4-6 1-2 3-4 6-5 5-2 11-2 17 2 3 2 4 5 3 8l-5 20-12 33v3h3l10-10 14-19 14-26c2-2 3-5 6-5h9c4 1 5 4 3 8l-9 20c-3 7-6 15-7 23l1 7c2 7 7 8 13 5 9-5 14-13 18-22 4-7 5-15 5-23-1-6-1-11-4-15s-2-7 3-9c7-4 15 0 17 8l2 8z"/><path fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="20" d="M13 98h541v144H13zM80 60h100v38H80zM385 60h100v38H385z"/>
</symbol>
</svg>
</div>
<div class="package" id="MaterialDesignOutlinedIcons">
<script id="descriptor-script" type="descriptor">
{
"friendlyName": "Icons based on the outlined Material Design icon set",
"description": "Various icons from Material Design",
"dependencies": [
"#wsc-icon-registry",
"wpm_js_libs #material-design-icons"
],
"assets": [],
"version": "0.1",
"changelog": {
"0.1": "Initial version"
},
"license": "Apache 2.0"
}
</script>
<script id="material-design-outlined-icon-provider-script" type="disabled">
/**
* MaterialDesignOutlinedIconProvider
* A provider for registering material icons
*
* Copyright 2020, 2021, 2024 Rolf Bagge, Janus B. Kristensen, CAVI,
* Center for Advanced Visualization and Interacion, Aarhus University
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
/**
* A provider for registering material icons in the outlined variation
*/
window.MaterialDesignOutlinedIconProvider = class MaterialDesignOutlinedIconProvider {
provides(iconIdentifier){
return iconIdentifier.startsWith("mdc:");
}
/**
* Create a MaterialDesign icon
* @param {String} iconIdentifier - The id of the icon
* @returns {HTMLSpanElement} - The created icon
*/
createIcon(iconIdentifier) {
let iconName = iconIdentifier.slice(4);
let icon = document.createElement("span");
icon.classList.add("material-icons-outlined");
icon.textContent = iconName;
return icon;
}
};
IconRegistry.registerProvider(new MaterialDesignOutlinedIconProvider());
</script>
</div>
<div class="package" id="WebstrateComponents_Tools">
<script id="descriptor-script" type="descriptor">
{
"friendlyName": "WebstrateComponents Tools",
"description": "Various tools that are nice to reuse",
"dependencies": [],
"assets": [],
"version": "0.1",
"license": "Apache 2.0",
"changelog": {
"0.1": "Initial version"
}
}
</script>
<script id="Tools-script" type="disabled">
/**
* WebstrateComponents Tools
*
* Ease-of-use tools to help manage WPM package info and templates
*
* Copyright 2019, 2020, 2021 Rolf Bagge, Janus Bager Kristensen,
* CAVI - Center for Advanced Visualisation and Interaction,
* Aarhus University
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
/**
* @namespace WebstrateComponents
*/
window.WebstrateComponents = {};
/**
* A collection of tools
* @type {WebstrateComponents.Tools}
* @hideconstructor
*/
WebstrateComponents.Tools = class Tools {
/**
* Tries to extract the entry with the given key from the given config. If key does not exist, returns defaultValue instead.
* @param {Object} config - The configuration to extract the entry from
* @param {String} key - The key of the entry to extract
* @param {*} [defaultValue=null] - The default value to return if the key does not exist.
*/
static fromConfig(config, key, defaultValue = null) {
if(config != null && config[key] != null) {
return config[key];
}
return defaultValue;
}
/**
* Loads a template from the document and returns it
* @param {String} id - The identifier of the template to load
* @returns {Element} - The loaded template
*/
static loadTemplate(id) {
if(!id.startsWith("#")) {
id = "#" + id;
}
let fragment = document.importNode(document.querySelector(id).content, true);
if(fragment.children.length > 1) {
console.warn("Template had more than 1 direct child:", id, fragment);
}
return fragment.children[0];
}
/**
* Tests if the given testElement is inside the given elm
* @param {Element} elm
* @param {Element} testElement
*/
static isInsideElement(elm, testElement) {
let parent = testElement;
while(parent != null) {
if(parent === elm) {
return true;
}
parent = parent.parentNode;
}
return false;
}
};
</script>
</div>
<div class="package" id="EdgeDocker">
<script id="descriptor-script" type="descriptor">
{
"friendlyName": "Edge Docking Area",
"description": "Creates a dockable area and reflows the rest of the parent around it like regular built-in developer tools",
"dependencies": [
"wpm_js_libs #CaviTouch",
"WebstrateComponents_Tools"
],
"assets": [],
"version": "0.9",
"license": "Apache 2.0",
"changelog": {
"0.8": "Initial checkin based on linear editor docking system",
"0.9": "Support for moving around rest of document when docking"
}
}
</script>
<style id="main-style">
/**
* EdgeDocker Styles
*
* Copyright 2020, 2021 Rolf Bagge, Janus B. Kristensen, CAVI,
* Center for Advanced Visualization and Interacion, Aarhus University
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
html {
height: 100vh; }
html[transient-data-docking-area-component-mode~="minimized"] .docking-area-resizer {
display: none; }
html[transient-data-docking-area-component-mode~="minimized"] .docking-area-component {
display: none; }
html[transient-data-docking-area-component-mode~="embedded"] .docking-area-resizer {
display: none; }
html[transient-data-docking-area-component-mode~="embedded"] .docking-area-component {
width: 100%;
height: 100%; }
html[transient-data-docking-area-component-mode~="maximized"] > *:not(.docking-area-component):not(.docking-area--ignore) {
/* Hide other items without breaking Monaco */
opacity: 0;
overflow: hidden;
width: 1em;
height: 1em; }
html[transient-data-docking-area-component-mode~="maximized"] .docking-area-resizer {
display: none; }
html[transient-data-docking-area-component-mode~="maximized"] .docking-area-component {
position: fixed !important;
display: block;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important; }
html[transient-data-docking-area-component-mode~="floating"] .docking-area-resizer {
display: none; }
html[transient-data-docking-area-component-mode~="floating"] .docking-area-component {
position: fixed;
display: block;
top: 0;
left: 0;
width: 35em;
height: 22em;
overflow: auto;
resize: both;
box-sizing: border-box;
border: 1px outset #ababab;
box-shadow: 0.1em 0.1em 0.5em rgba(0, 0, 0, 0.15); }
html[transient-data-docking-area-component-mode~="edge"] {
overflow: hidden;
display: flex; }
html[transient-data-docking-area-component-mode~="edge"] > *:not(.docking-area--ignore) {
flex: 1 1 auto;
overflow: auto;
contain: paint; }
html[transient-data-docking-area-component-mode~="edge"] > .docking-area-resizer {
flex: 0 0 auto;
min-height: 1px;
min-width: 1px;
cursor: ew-resize;
position: relative;
margin: -2px;
border: 2px solid transparent;
contain: none;
overflow: visible;
z-index: 5; }
html[transient-data-docking-area-component-mode~="edge"] > .docking-area-resizer:before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(128, 128, 128, 0.5);
content: ""; }
html[transient-data-docking-area-component-mode~="edge"] > .docking-area-resizer:hover {
margin: -0.5em;
border: 0.5em solid transparent; }
html[transient-data-docking-area-component-mode~="edge"] > .docking-area-resizer:hover:before {
margin: -1px;
border: 1px solid rgba(128, 128, 128, 0.1); }
html[transient-data-docking-area-component-mode~="edge"] > .docking-area-component {
contain: none;
position: relative;
flex: 0 0 auto;
min-width: 20vw;
min-height: 20vh; }
html[transient-data-docking-area-component-mode~="edge"][transient-data-docking-area-component-mode~="left"] > .docking-area-resizer {
order: -1; }
html[transient-data-docking-area-component-mode~="edge"][transient-data-docking-area-component-mode~="left"] > .docking-area-component {
order: -2;
height: auto; }
html[transient-data-docking-area-component-mode~="edge"][transient-data-docking-area-component-mode~="right"] > .docking-area-resizer {
order: 1; }
html[transient-data-docking-area-component-mode~="edge"][transient-data-docking-area-component-mode~="right"] > .docking-area-component {
order: 2;
height: auto; }
html[transient-data-docking-area-component-mode~="edge"][transient-data-docking-area-component-mode~="bottom"] {
flex-direction: column; }
html[transient-data-docking-area-component-mode~="edge"][transient-data-docking-area-component-mode~="bottom"] > .docking-area-resizer {
order: 1;
cursor: ns-resize; }
html[transient-data-docking-area-component-mode~="edge"][transient-data-docking-area-component-mode~="bottom"] > .docking-area-component {
order: 2; }
html .docking-area-component {
z-index: 1000000; }
html .docking-area-visualizer {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 15em;
height: 10em;
background: rgba(10, 10, 255, 0.25);
border: 1px solid rgba(0, 0, 255, 0.3);
box-sizing: border-box;
transition: all 0.1s;
opacity: 0;
display: block;
pointer-events: none;
z-index: 1000000; }
html[transient-data-docking-area-component-drag~="dragging"] {
overflow: hidden; }
html[transient-data-docking-area-component-drag~="dragging"] .docking-area-visualizer {
opacity: 1; }
html[transient-data-docking-area-component-drag~="dragging"][transient-data-docking-area-component-drag~="float"] .docking-area-visualizer {
opacity: 0;
transition: none; }
html[transient-data-docking-area-component-drag~="dragging"][transient-data-docking-area-component-drag~="left"] .docking-area-visualizer {
left: 0 !important;
top: 0 !important;
right: 90% !important;
bottom: 0 !important;
width: auto;
height: auto; }
html[transient-data-docking-area-component-drag~="dragging"][transient-data-docking-area-component-drag~="right"] .docking-area-visualizer {
left: 90% !important;
right: 0 !important;
top: 0 !important;
bottom: 0 !important;
width: auto;
height: auto; }
html[transient-data-docking-area-component-drag~="dragging"][transient-data-docking-area-component-drag~="bottom"] .docking-area-visualizer {
left: 0 !important;
right: 0 !important;
top: 90% !important;
bottom: 0 !important;
width: auto;