-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy path4333.983f664.js
4783 lines (4253 loc) · 200 KB
/
4333.983f664.js
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
"use strict";(self.webpackChunk_JUPYTERLAB_CORE_OUTPUT=self.webpackChunk_JUPYTERLAB_CORE_OUTPUT||[]).push([[4333],{24333:(e,t,o)=>{function r(e,t,o){return isNaN(e)||e<=t?t:e>=o?o:e}function a(e,t,o){return isNaN(e)||e<=t?0:e>=o?1:e/(o-t)}function i(e,t,o){return isNaN(e)?t:t+e*(o-t)}function l(e){return e*(Math.PI/180)}function n(e,t,o){return isNaN(e)||e<=0?t:e>=1?o:t+e*(o-t)}function s(e,t,o){if(e<=0)return t%360;if(e>=1)return o%360;const r=(t-o+360)%360;return r<=(o-t+360)%360?(t-r*e+360)%360:(t+r*e+360)%360}function c(e,t){const o=Math.pow(10,t);return Math.round(e*o)/o}o.r(t),o.d(t,{Accordion:()=>q.Accordion,AccordionItem:()=>q.AccordionItem,Anchor:()=>Rr,AnchoredRegion:()=>q.AnchoredRegion,Avatar:()=>_r,Badge:()=>q.Badge,Breadcrumb:()=>q.Breadcrumb,BreadcrumbItem:()=>q.BreadcrumbItem,Button:()=>ea,Card:()=>aa,Checkbox:()=>sa,Combobox:()=>pa,DataGrid:()=>q.DataGrid,DataGridCell:()=>q.DataGridCell,DataGridRow:()=>q.DataGridRow,DelegatesARIAToolbar:()=>Qi,DesignSystemProvider:()=>ja,Dialog:()=>q.Dialog,DirectionalStyleSheetBehavior:()=>Mr,Disclosure:()=>Pa,Divider:()=>q.Divider,FoundationToolbar:()=>Ki,Listbox:()=>Ea,Menu:()=>Wa,MenuItem:()=>q.MenuItem,NumberField:()=>Ja,Option:()=>q.ListboxOption,PaletteRGB:()=>ae,Picker:()=>q.Picker,PickerMenu:()=>vl,Progress:()=>q.BaseProgress,ProgressRing:()=>q.BaseProgress,Radio:()=>ni,RadioGroup:()=>di,Search:()=>bi,Select:()=>vi,Skeleton:()=>q.Skeleton,Slider:()=>Ci,SliderLabel:()=>Bi,StandardLuminance:()=>A,SwatchRGB:()=>R,Switch:()=>Ni,Tab:()=>q.Tab,TabPanel:()=>q.TabPanel,Tabs:()=>q.Tabs,TextArea:()=>Ei,TextField:()=>Wi,Toolbar:()=>el,Tooltip:()=>q.Tooltip,TreeItem:()=>q.TreeItem,TreeView:()=>q.TreeView,accentColor:()=>yt,accentFillActive:()=>At,accentFillActiveDelta:()=>qe,accentFillFocus:()=>Mt,accentFillFocusDelta:()=>We,accentFillHover:()=>Pt,accentFillHoverDelta:()=>_e,accentFillRecipe:()=>Rt,accentFillRest:()=>It,accentFillRestDelta:()=>Ee,accentForegroundActive:()=>oo,accentForegroundActiveDelta:()=>Ye,accentForegroundFocus:()=>ro,accentForegroundFocusDelta:()=>Ze,accentForegroundHover:()=>to,accentForegroundHoverDelta:()=>Xe,accentForegroundRecipe:()=>Qt,accentForegroundRest:()=>eo,accentForegroundRestDelta:()=>Ue,accentPalette:()=>wt,accordionItemStyles:()=>Fr,accordionStyles:()=>yr,addJupyterLabThemeChangeListener:()=>fr,allComponents:()=>kl,anchorStyles:()=>Or,anchoredRegionStyles:()=>Pr,applyJupyterTheme:()=>$r,avatarStyles:()=>Er,badgeStyles:()=>Ur,baseHeightMultiplier:()=>be,baseHorizontalSpacingMultiplier:()=>fe,baseLayerLuminance:()=>me,bodyFont:()=>ge,breadcrumbItemStyles:()=>Jr,breadcrumbStyles:()=>Yr,buttonStyles:()=>Qr,cardStyles:()=>ra,checkboxStyles:()=>la,checkboxTemplate:()=>na,comboboxStyles:()=>ua,controlCornerRadius:()=>ve,dataGridCellStyles:()=>ma,dataGridRowStyles:()=>fa,dataGridStyles:()=>ba,density:()=>$e,designSystemProviderStyles:()=>Na,designSystemProviderTemplate:()=>La,designUnit:()=>xe,dialogStyles:()=>Oa,direction:()=>ye,disabledOpacity:()=>we,disclosureStyles:()=>Ia,dividerStyles:()=>Ma,errorColor:()=>Eo,errorFillActive:()=>Xo,errorFillFocus:()=>Yo,errorFillHover:()=>Uo,errorFillRecipe:()=>qo,errorFillRest:()=>Wo,errorForegroundActive:()=>dr,errorForegroundFocus:()=>hr,errorForegroundHover:()=>cr,errorForegroundRecipe:()=>nr,errorForegroundRest:()=>sr,errorPalette:()=>_o,fillColor:()=>Ht,focusStrokeInner:()=>zo,focusStrokeInnerRecipe:()=>To,focusStrokeOuter:()=>So,focusStrokeOuterRecipe:()=>Do,focusStrokeWidth:()=>Fe,foregroundOnAccentActive:()=>Wt,foregroundOnAccentActiveLarge:()=>Jt,foregroundOnAccentFocus:()=>Ut,foregroundOnAccentFocusLarge:()=>Kt,foregroundOnAccentHover:()=>qt,foregroundOnAccentHoverLarge:()=>Zt,foregroundOnAccentLargeRecipe:()=>Xt,foregroundOnAccentRecipe:()=>Et,foregroundOnAccentRest:()=>_t,foregroundOnAccentRestLarge:()=>Yt,foregroundOnErrorActive:()=>er,foregroundOnErrorActiveLarge:()=>ir,foregroundOnErrorFocus:()=>tr,foregroundOnErrorFocusLarge:()=>lr,foregroundOnErrorHover:()=>Qo,foregroundOnErrorHoverLarge:()=>ar,foregroundOnErrorLargeRecipe:()=>or,foregroundOnErrorRecipe:()=>Jo,foregroundOnErrorRest:()=>Ko,foregroundOnErrorRestLarge:()=>rr,heightNumberAsToken:()=>Go,horizontalSliderLabelStyles:()=>Si,imgTemplate:()=>qr,isDark:()=>G,jpAccordion:()=>Vr,jpAccordionItem:()=>Cr,jpAnchor:()=>Ir,jpAnchoredRegion:()=>Ar,jpAvatar:()=>Wr,jpBadge:()=>Xr,jpBreadcrumb:()=>Zr,jpBreadcrumbItem:()=>Kr,jpButton:()=>ta,jpCard:()=>ia,jpCheckbox:()=>ca,jpCombobox:()=>ga,jpDataGrid:()=>xa,jpDataGridCell:()=>va,jpDataGridRow:()=>$a,jpDateField:()=>Sa,jpDesignSystemProvider:()=>Ha,jpDialog:()=>Ra,jpDisclosure:()=>Aa,jpDivider:()=>Ga,jpListbox:()=>_a,jpMenu:()=>Ua,jpMenuItem:()=>Ya,jpNumberField:()=>Ka,jpOption:()=>ei,jpPicker:()=>ml,jpPickerList:()=>yl,jpPickerListItem:()=>wl,jpPickerMenu:()=>$l,jpPickerMenuOption:()=>xl,jpProgress:()=>oi,jpProgressRing:()=>ai,jpRadio:()=>si,jpRadioGroup:()=>hi,jpSearch:()=>fi,jpSelect:()=>$i,jpSkeleton:()=>yi,jpSlider:()=>Vi,jpSliderLabel:()=>ji,jpSwitch:()=>Hi,jpTab:()=>Pi,jpTabPanel:()=>Ri,jpTabs:()=>Mi,jpTextArea:()=>_i,jpTextField:()=>Ui,jpToolbar:()=>tl,jpTooltip:()=>rl,jpTreeItem:()=>dl,jpTreeView:()=>ul,listboxStyles:()=>da,menuItemStyles:()=>Xa,menuStyles:()=>qa,neutralColor:()=>$t,neutralFillActive:()=>no,neutralFillActiveDelta:()=>Qe,neutralFillFocus:()=>so,neutralFillFocusDelta:()=>et,neutralFillHover:()=>lo,neutralFillHoverDelta:()=>Ke,neutralFillInputActive:()=>po,neutralFillInputActiveDelta:()=>rt,neutralFillInputFocus:()=>go,neutralFillInputFocusDelta:()=>at,neutralFillInputHover:()=>uo,neutralFillInputHoverDelta:()=>ot,neutralFillInputRecipe:()=>co,neutralFillInputRest:()=>ho,neutralFillInputRestDelta:()=>tt,neutralFillLayerRecipe:()=>Co,neutralFillLayerRest:()=>Vo,neutralFillLayerRestDelta:()=>pt,neutralFillRecipe:()=>ao,neutralFillRest:()=>io,neutralFillRestDelta:()=>Je,neutralFillStealthActive:()=>vo,neutralFillStealthActiveDelta:()=>nt,neutralFillStealthFocus:()=>$o,neutralFillStealthFocusDelta:()=>st,neutralFillStealthHover:()=>mo,neutralFillStealthHoverDelta:()=>lt,neutralFillStealthRecipe:()=>bo,neutralFillStealthRest:()=>fo,neutralFillStealthRestDelta:()=>it,neutralFillStrongActive:()=>ko,neutralFillStrongActiveDelta:()=>ht,neutralFillStrongFocus:()=>Fo,neutralFillStrongFocusDelta:()=>ut,neutralFillStrongHover:()=>wo,neutralFillStrongHoverDelta:()=>dt,neutralFillStrongRecipe:()=>xo,neutralFillStrongRest:()=>yo,neutralFillStrongRestDelta:()=>ct,neutralForegroundHint:()=>jo,neutralForegroundHintRecipe:()=>Bo,neutralForegroundRecipe:()=>Lo,neutralForegroundRest:()=>No,neutralLayer1:()=>St,neutralLayer1Recipe:()=>Dt,neutralLayer2:()=>zt,neutralLayer2Recipe:()=>Tt,neutralLayer3:()=>jt,neutralLayer3Recipe:()=>Bt,neutralLayer4:()=>Nt,neutralLayer4Recipe:()=>Lt,neutralLayerCardContainer:()=>Ft,neutralLayerCardContainerRecipe:()=>kt,neutralLayerFloating:()=>Vt,neutralLayerFloatingRecipe:()=>Ct,neutralPalette:()=>xt,neutralStrokeActive:()=>Io,neutralStrokeActiveDelta:()=>ft,neutralStrokeDividerRecipe:()=>Ao,neutralStrokeDividerRest:()=>Mo,neutralStrokeDividerRestDelta:()=>vt,neutralStrokeFocus:()=>Po,neutralStrokeFocusDelta:()=>mt,neutralStrokeHover:()=>Ro,neutralStrokeHoverDelta:()=>bt,neutralStrokeRecipe:()=>Ho,neutralStrokeRest:()=>Oo,neutralStrokeRestDelta:()=>gt,numberFieldStyles:()=>Za,optionStyles:()=>Qa,pickerListItemStyles:()=>fl,pickerMenuOptionStyles:()=>bl,pickerMenuStyles:()=>gl,pickerStyles:()=>pl,progressRingStyles:()=>ri,progressStyles:()=>ti,provideJupyterDesignSystem:()=>Fl,radioGroupStyles:()=>ci,radioStyles:()=>ii,radioTemplate:()=>li,searchStyles:()=>mi,selectStyles:()=>ha,skeletonStyles:()=>xi,sliderLabelStyles:()=>zi,sliderStyles:()=>Fi,strokeWidth:()=>ke,switchStyles:()=>Li,tabPanelStyles:()=>Oi,tabStyles:()=>Ii,tabsStyles:()=>Ai,textAreaStyles:()=>Gi,textFieldStyles:()=>qi,toolbarStyles:()=>Zi,tooltipStyles:()=>ol,treeItemStyles:()=>cl,treeViewStyles:()=>hl,typeRampBaseFontSize:()=>Ce,typeRampBaseLineHeight:()=>Ve,typeRampMinus1FontSize:()=>De,typeRampMinus1LineHeight:()=>Se,typeRampMinus2FontSize:()=>Te,typeRampMinus2LineHeight:()=>ze,typeRampPlus1FontSize:()=>Be,typeRampPlus1LineHeight:()=>je,typeRampPlus2FontSize:()=>Le,typeRampPlus2LineHeight:()=>Ne,typeRampPlus3FontSize:()=>He,typeRampPlus3LineHeight:()=>Oe,typeRampPlus4FontSize:()=>Re,typeRampPlus4LineHeight:()=>Ie,typeRampPlus5FontSize:()=>Pe,typeRampPlus5LineHeight:()=>Ae,typeRampPlus6FontSize:()=>Me,typeRampPlus6LineHeight:()=>Ge,verticalSliderLabelStyles:()=>Ti}),Math.PI;class d{constructor(e,t,o,r){this.r=e,this.g=t,this.b=o,this.a="number"!=typeof r||isNaN(r)?1:r}static fromObject(e){return!e||isNaN(e.r)||isNaN(e.g)||isNaN(e.b)?null:new d(e.r,e.g,e.b,e.a)}equalValue(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}toStringHexRGB(){return"#"+[this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringHexRGBA(){return this.toStringHexRGB()+this.formatHexValue(this.a)}toStringHexARGB(){return"#"+[this.a,this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringWebRGB(){return`rgb(${Math.round(i(this.r,0,255))},${Math.round(i(this.g,0,255))},${Math.round(i(this.b,0,255))})`}toStringWebRGBA(){return`rgba(${Math.round(i(this.r,0,255))},${Math.round(i(this.g,0,255))},${Math.round(i(this.b,0,255))},${r(this.a,0,1)})`}roundToPrecision(e){return new d(c(this.r,e),c(this.g,e),c(this.b,e),c(this.a,e))}clamp(){return new d(r(this.r,0,1),r(this.g,0,1),r(this.b,0,1),r(this.a,0,1))}toObject(){return{r:this.r,g:this.g,b:this.b,a:this.a}}formatHexValue(e){return function(e){const t=Math.round(r(e,0,255)).toString(16);return 1===t.length?"0"+t:t}(i(e,0,255))}}const h={aliceblue:{r:.941176,g:.972549,b:1},antiquewhite:{r:.980392,g:.921569,b:.843137},aqua:{r:0,g:1,b:1},aquamarine:{r:.498039,g:1,b:.831373},azure:{r:.941176,g:1,b:1},beige:{r:.960784,g:.960784,b:.862745},bisque:{r:1,g:.894118,b:.768627},black:{r:0,g:0,b:0},blanchedalmond:{r:1,g:.921569,b:.803922},blue:{r:0,g:0,b:1},blueviolet:{r:.541176,g:.168627,b:.886275},brown:{r:.647059,g:.164706,b:.164706},burlywood:{r:.870588,g:.721569,b:.529412},cadetblue:{r:.372549,g:.619608,b:.627451},chartreuse:{r:.498039,g:1,b:0},chocolate:{r:.823529,g:.411765,b:.117647},coral:{r:1,g:.498039,b:.313725},cornflowerblue:{r:.392157,g:.584314,b:.929412},cornsilk:{r:1,g:.972549,b:.862745},crimson:{r:.862745,g:.078431,b:.235294},cyan:{r:0,g:1,b:1},darkblue:{r:0,g:0,b:.545098},darkcyan:{r:0,g:.545098,b:.545098},darkgoldenrod:{r:.721569,g:.52549,b:.043137},darkgray:{r:.662745,g:.662745,b:.662745},darkgreen:{r:0,g:.392157,b:0},darkgrey:{r:.662745,g:.662745,b:.662745},darkkhaki:{r:.741176,g:.717647,b:.419608},darkmagenta:{r:.545098,g:0,b:.545098},darkolivegreen:{r:.333333,g:.419608,b:.184314},darkorange:{r:1,g:.54902,b:0},darkorchid:{r:.6,g:.196078,b:.8},darkred:{r:.545098,g:0,b:0},darksalmon:{r:.913725,g:.588235,b:.478431},darkseagreen:{r:.560784,g:.737255,b:.560784},darkslateblue:{r:.282353,g:.239216,b:.545098},darkslategray:{r:.184314,g:.309804,b:.309804},darkslategrey:{r:.184314,g:.309804,b:.309804},darkturquoise:{r:0,g:.807843,b:.819608},darkviolet:{r:.580392,g:0,b:.827451},deeppink:{r:1,g:.078431,b:.576471},deepskyblue:{r:0,g:.74902,b:1},dimgray:{r:.411765,g:.411765,b:.411765},dimgrey:{r:.411765,g:.411765,b:.411765},dodgerblue:{r:.117647,g:.564706,b:1},firebrick:{r:.698039,g:.133333,b:.133333},floralwhite:{r:1,g:.980392,b:.941176},forestgreen:{r:.133333,g:.545098,b:.133333},fuchsia:{r:1,g:0,b:1},gainsboro:{r:.862745,g:.862745,b:.862745},ghostwhite:{r:.972549,g:.972549,b:1},gold:{r:1,g:.843137,b:0},goldenrod:{r:.854902,g:.647059,b:.12549},gray:{r:.501961,g:.501961,b:.501961},green:{r:0,g:.501961,b:0},greenyellow:{r:.678431,g:1,b:.184314},grey:{r:.501961,g:.501961,b:.501961},honeydew:{r:.941176,g:1,b:.941176},hotpink:{r:1,g:.411765,b:.705882},indianred:{r:.803922,g:.360784,b:.360784},indigo:{r:.294118,g:0,b:.509804},ivory:{r:1,g:1,b:.941176},khaki:{r:.941176,g:.901961,b:.54902},lavender:{r:.901961,g:.901961,b:.980392},lavenderblush:{r:1,g:.941176,b:.960784},lawngreen:{r:.486275,g:.988235,b:0},lemonchiffon:{r:1,g:.980392,b:.803922},lightblue:{r:.678431,g:.847059,b:.901961},lightcoral:{r:.941176,g:.501961,b:.501961},lightcyan:{r:.878431,g:1,b:1},lightgoldenrodyellow:{r:.980392,g:.980392,b:.823529},lightgray:{r:.827451,g:.827451,b:.827451},lightgreen:{r:.564706,g:.933333,b:.564706},lightgrey:{r:.827451,g:.827451,b:.827451},lightpink:{r:1,g:.713725,b:.756863},lightsalmon:{r:1,g:.627451,b:.478431},lightseagreen:{r:.12549,g:.698039,b:.666667},lightskyblue:{r:.529412,g:.807843,b:.980392},lightslategray:{r:.466667,g:.533333,b:.6},lightslategrey:{r:.466667,g:.533333,b:.6},lightsteelblue:{r:.690196,g:.768627,b:.870588},lightyellow:{r:1,g:1,b:.878431},lime:{r:0,g:1,b:0},limegreen:{r:.196078,g:.803922,b:.196078},linen:{r:.980392,g:.941176,b:.901961},magenta:{r:1,g:0,b:1},maroon:{r:.501961,g:0,b:0},mediumaquamarine:{r:.4,g:.803922,b:.666667},mediumblue:{r:0,g:0,b:.803922},mediumorchid:{r:.729412,g:.333333,b:.827451},mediumpurple:{r:.576471,g:.439216,b:.858824},mediumseagreen:{r:.235294,g:.701961,b:.443137},mediumslateblue:{r:.482353,g:.407843,b:.933333},mediumspringgreen:{r:0,g:.980392,b:.603922},mediumturquoise:{r:.282353,g:.819608,b:.8},mediumvioletred:{r:.780392,g:.082353,b:.521569},midnightblue:{r:.098039,g:.098039,b:.439216},mintcream:{r:.960784,g:1,b:.980392},mistyrose:{r:1,g:.894118,b:.882353},moccasin:{r:1,g:.894118,b:.709804},navajowhite:{r:1,g:.870588,b:.678431},navy:{r:0,g:0,b:.501961},oldlace:{r:.992157,g:.960784,b:.901961},olive:{r:.501961,g:.501961,b:0},olivedrab:{r:.419608,g:.556863,b:.137255},orange:{r:1,g:.647059,b:0},orangered:{r:1,g:.270588,b:0},orchid:{r:.854902,g:.439216,b:.839216},palegoldenrod:{r:.933333,g:.909804,b:.666667},palegreen:{r:.596078,g:.984314,b:.596078},paleturquoise:{r:.686275,g:.933333,b:.933333},palevioletred:{r:.858824,g:.439216,b:.576471},papayawhip:{r:1,g:.937255,b:.835294},peachpuff:{r:1,g:.854902,b:.72549},peru:{r:.803922,g:.521569,b:.247059},pink:{r:1,g:.752941,b:.796078},plum:{r:.866667,g:.627451,b:.866667},powderblue:{r:.690196,g:.878431,b:.901961},purple:{r:.501961,g:0,b:.501961},red:{r:1,g:0,b:0},rosybrown:{r:.737255,g:.560784,b:.560784},royalblue:{r:.254902,g:.411765,b:.882353},saddlebrown:{r:.545098,g:.270588,b:.07451},salmon:{r:.980392,g:.501961,b:.447059},sandybrown:{r:.956863,g:.643137,b:.376471},seagreen:{r:.180392,g:.545098,b:.341176},seashell:{r:1,g:.960784,b:.933333},sienna:{r:.627451,g:.321569,b:.176471},silver:{r:.752941,g:.752941,b:.752941},skyblue:{r:.529412,g:.807843,b:.921569},slateblue:{r:.415686,g:.352941,b:.803922},slategray:{r:.439216,g:.501961,b:.564706},slategrey:{r:.439216,g:.501961,b:.564706},snow:{r:1,g:.980392,b:.980392},springgreen:{r:0,g:1,b:.498039},steelblue:{r:.27451,g:.509804,b:.705882},tan:{r:.823529,g:.705882,b:.54902},teal:{r:0,g:.501961,b:.501961},thistle:{r:.847059,g:.74902,b:.847059},tomato:{r:1,g:.388235,b:.278431},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:.25098,g:.878431,b:.815686},violet:{r:.933333,g:.509804,b:.933333},wheat:{r:.960784,g:.870588,b:.701961},white:{r:1,g:1,b:1},whitesmoke:{r:.960784,g:.960784,b:.960784},yellow:{r:1,g:1,b:0},yellowgreen:{r:.603922,g:.803922,b:.196078}},u=/^rgb\(\s*((?:(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*){2}(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*)\)$/i,p=/^rgba\(\s*((?:(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*){3}(?:0|1|0?\.\d*)\s*)\)$/i,g=/^#((?:[0-9a-f]{6}|[0-9a-f]{3}))$/i,b=/^#((?:[0-9a-f]{8}|[0-9a-f]{4}))$/i;function f(e){const t=g.exec(e);if(null===t)return null;let o=t[1];if(3===o.length){const e=o.charAt(0),t=o.charAt(1),r=o.charAt(2);o=e.concat(e,t,t,r,r)}const r=parseInt(o,16);return isNaN(r)?null:new d(a((16711680&r)>>>16,0,255),a((65280&r)>>>8,0,255),a(255&r,0,255),1)}function m(e){const t=e.toLowerCase();return function(e){return g.test(e)}(t)?f(t):function(e){return function(e){return b.test(e)}(e)}(t)?function(e){const t=b.exec(e);if(null===t)return null;let o=t[1];if(4===o.length){const e=o.charAt(0),t=o.charAt(1),r=o.charAt(2),a=o.charAt(3);o=e.concat(e,t,t,r,r,a,a)}const r=parseInt(o,16);return isNaN(r)?null:new d(a((16711680&r)>>>16,0,255),a((65280&r)>>>8,0,255),a(255&r,0,255),a((4278190080&r)>>>24,0,255))}(t):function(e){return u.test(e)}(t)?function(e){const t=u.exec(e);if(null===t)return null;const o=t[1].split(",");return new d(a(Number(o[0]),0,255),a(Number(o[1]),0,255),a(Number(o[2]),0,255),1)}(t):function(e){return p.test(e)}(t)?function(e){const t=p.exec(e);if(null===t)return null;const o=t[1].split(",");return 4===o.length?new d(a(Number(o[0]),0,255),a(Number(o[1]),0,255),a(Number(o[2]),0,255),Number(o[3])):null}(t):function(e){return h.hasOwnProperty(e)}(t)?function(e){const t=h[e.toLowerCase()];return t?new d(t.r,t.g,t.b,t.hasOwnProperty("a")?t.a:void 0):null}(t):null}class v{constructor(e,t,o){this.h=e,this.s=t,this.l=o}static fromObject(e){return!e||isNaN(e.h)||isNaN(e.s)||isNaN(e.l)?null:new v(e.h,e.s,e.l)}equalValue(e){return this.h===e.h&&this.s===e.s&&this.l===e.l}roundToPrecision(e){return new v(c(this.h,e),c(this.s,e),c(this.l,e))}toObject(){return{h:this.h,s:this.s,l:this.l}}}class ${constructor(e,t,o){this.h=e,this.s=t,this.v=o}static fromObject(e){return!e||isNaN(e.h)||isNaN(e.s)||isNaN(e.v)?null:new $(e.h,e.s,e.v)}equalValue(e){return this.h===e.h&&this.s===e.s&&this.v===e.v}roundToPrecision(e){return new $(c(this.h,e),c(this.s,e),c(this.v,e))}toObject(){return{h:this.h,s:this.s,v:this.v}}}class x{constructor(e,t,o){this.l=e,this.a=t,this.b=o}static fromObject(e){return!e||isNaN(e.l)||isNaN(e.a)||isNaN(e.b)?null:new x(e.l,e.a,e.b)}equalValue(e){return this.l===e.l&&this.a===e.a&&this.b===e.b}roundToPrecision(e){return new x(c(this.l,e),c(this.a,e),c(this.b,e))}toObject(){return{l:this.l,a:this.a,b:this.b}}}x.epsilon=216/24389,x.kappa=24389/27;class y{constructor(e,t,o){this.l=e,this.c=t,this.h=o}static fromObject(e){return!e||isNaN(e.l)||isNaN(e.c)||isNaN(e.h)?null:new y(e.l,e.c,e.h)}equalValue(e){return this.l===e.l&&this.c===e.c&&this.h===e.h}roundToPrecision(e){return new y(c(this.l,e),c(this.c,e),c(this.h,e))}toObject(){return{l:this.l,c:this.c,h:this.h}}}class w{constructor(e,t,o){this.x=e,this.y=t,this.z=o}static fromObject(e){return!e||isNaN(e.x)||isNaN(e.y)||isNaN(e.z)?null:new w(e.x,e.y,e.z)}equalValue(e){return this.x===e.x&&this.y===e.y&&this.z===e.z}roundToPrecision(e){return new w(c(this.x,e),c(this.y,e),c(this.z,e))}toObject(){return{x:this.x,y:this.y,z:this.z}}}function k(e){return.2126*e.r+.7152*e.g+.0722*e.b}function F(e){function t(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}return k(new d(t(e.r),t(e.g),t(e.b),1))}w.whitePoint=new w(.95047,1,1.08883);const C=(e,t)=>(e+.05)/(t+.05);function V(e,t){const o=F(e),r=F(t);return o>r?C(o,r):C(r,o)}function D(e){const t=Math.max(e.r,e.g,e.b),o=Math.min(e.r,e.g,e.b),r=t-o;let a=0;0!==r&&(a=t===e.r?(e.g-e.b)/r%6*60:t===e.g?60*((e.b-e.r)/r+2):60*((e.r-e.g)/r+4)),a<0&&(a+=360);const i=(t+o)/2;let l=0;return 0!==r&&(l=r/(1-Math.abs(2*i-1))),new v(a,l,i)}function S(e,t=1){const o=(1-Math.abs(2*e.l-1))*e.s,r=o*(1-Math.abs(e.h/60%2-1)),a=e.l-o/2;let i=0,l=0,n=0;return e.h<60?(i=o,l=r,n=0):e.h<120?(i=r,l=o,n=0):e.h<180?(i=0,l=o,n=r):e.h<240?(i=0,l=r,n=o):e.h<300?(i=r,l=0,n=o):e.h<360&&(i=o,l=0,n=r),new d(i+a,l+a,n+a,t)}function T(e){const t=Math.max(e.r,e.g,e.b),o=t-Math.min(e.r,e.g,e.b);let r=0;0!==o&&(r=t===e.r?(e.g-e.b)/o%6*60:t===e.g?60*((e.b-e.r)/o+2):60*((e.r-e.g)/o+4)),r<0&&(r+=360);let a=0;return 0!==t&&(a=o/t),new $(r,a,t)}function z(e){function t(e){return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}const o=t(e.r),r=t(e.g),a=t(e.b);return new w(.4124564*o+.3575761*r+.1804375*a,.2126729*o+.7151522*r+.072175*a,.0193339*o+.119192*r+.9503041*a)}function B(e,t=1){function o(e){return e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055}const r=o(3.2404542*e.x-1.5371385*e.y-.4985314*e.z),a=o(-.969266*e.x+1.8760108*e.y+.041556*e.z),i=o(.0556434*e.x-.2040259*e.y+1.0572252*e.z);return new d(r,a,i,t)}function j(e){return function(e){function t(e){return e>x.epsilon?Math.pow(e,1/3):(x.kappa*e+16)/116}const o=t(e.x/w.whitePoint.x),r=t(e.y/w.whitePoint.y),a=t(e.z/w.whitePoint.z);return new x(116*r-16,500*(o-r),200*(r-a))}(z(e))}function L(e,t=1){return B(function(e){const t=(e.l+16)/116,o=t+e.a/500,r=t-e.b/200,a=Math.pow(o,3),i=Math.pow(t,3),l=Math.pow(r,3);let n=0;n=a>x.epsilon?a:(116*o-16)/x.kappa;let s=0;s=e.l>x.epsilon*x.kappa?i:e.l/x.kappa;let c=0;return c=l>x.epsilon?l:(116*r-16)/x.kappa,n=w.whitePoint.x*n,s=w.whitePoint.y*s,c=w.whitePoint.z*c,new w(n,s,c)}(e),t)}function N(e){return function(e){let t=0;(Math.abs(e.b)>.001||Math.abs(e.a)>.001)&&(t=Math.atan2(e.b,e.a)*(180/Math.PI)),t<0&&(t+=360);const o=Math.sqrt(e.a*e.a+e.b*e.b);return new y(e.l,o,t)}(j(e))}function H(e,t=1){return L(function(e){let t=0,o=0;return 0!==e.h&&(t=Math.cos(l(e.h))*e.c,o=Math.sin(l(e.h))*e.c),new x(e.l,t,o)}(e),t)}function O(e,t){const o=e.relativeLuminance>t.relativeLuminance?e:t,r=e.relativeLuminance>t.relativeLuminance?t:e;return(o.relativeLuminance+.05)/(r.relativeLuminance+.05)}const R=Object.freeze({create:(e,t,o)=>new I(e,t,o),from:e=>new I(e.r,e.g,e.b)});class I extends d{constructor(e,t,o){super(e,t,o,1),this.toColorString=this.toStringHexRGB,this.contrast=O.bind(null,this),this.createCSS=this.toColorString,this.relativeLuminance=F(this)}static fromObject(e){return new I(e.r,e.g,e.b)}}function P(e){return R.create(e,e,e)}const A={LightMode:1,DarkMode:.23},M=(-.1+Math.sqrt(.21))/2;function G(e){return e.relativeLuminance<=M}var E,_,q=o(31327),W=o(6618);function U(e,t,o=18){const r=N(e);let a=r.c+t*o;return a<0&&(a=0),H(new y(r.l,a,r.h))}function X(e,t){return e*t}function Y(e,t){return new d(X(e.r,t.r),X(e.g,t.g),X(e.b,t.b),1)}function Z(e,t){return r(e<.5?2*t*e:1-2*(1-t)*(1-e),0,1)}function J(e,t){return new d(Z(e.r,t.r),Z(e.g,t.g),Z(e.b,t.b),1)}function K(e,t,o,r){if(isNaN(e)||e<=0)return o;if(e>=1)return r;switch(t){case _.HSL:return S(function(e,t,o){return isNaN(e)||e<=0?t:e>=1?o:new v(s(e,t.h,o.h),n(e,t.s,o.s),n(e,t.l,o.l))}(e,D(o),D(r)));case _.HSV:return function(e,t=1){const o=e.s*e.v,r=o*(1-Math.abs(e.h/60%2-1)),a=e.v-o;let i=0,l=0,n=0;return e.h<60?(i=o,l=r,n=0):e.h<120?(i=r,l=o,n=0):e.h<180?(i=0,l=o,n=r):e.h<240?(i=0,l=r,n=o):e.h<300?(i=r,l=0,n=o):e.h<360&&(i=o,l=0,n=r),new d(i+a,l+a,n+a,t)}(function(e,t,o){return isNaN(e)||e<=0?t:e>=1?o:new $(s(e,t.h,o.h),n(e,t.s,o.s),n(e,t.v,o.v))}(e,T(o),T(r)));case _.XYZ:return B(function(e,t,o){return isNaN(e)||e<=0?t:e>=1?o:new w(n(e,t.x,o.x),n(e,t.y,o.y),n(e,t.z,o.z))}(e,z(o),z(r)));case _.LAB:return L(function(e,t,o){return isNaN(e)||e<=0?t:e>=1?o:new x(n(e,t.l,o.l),n(e,t.a,o.a),n(e,t.b,o.b))}(e,j(o),j(r)));case _.LCH:return H(function(e,t,o){return isNaN(e)||e<=0?t:e>=1?o:new y(n(e,t.l,o.l),n(e,t.c,o.c),s(e,t.h,o.h))}(e,N(o),N(r)));default:return function(e,t,o){return isNaN(e)||e<=0?t:e>=1?o:new d(n(e,t.r,o.r),n(e,t.g,o.g),n(e,t.b,o.b),n(e,t.a,o.a))}(e,o,r)}}!function(e){e[e.Burn=0]="Burn",e[e.Color=1]="Color",e[e.Darken=2]="Darken",e[e.Dodge=3]="Dodge",e[e.Lighten=4]="Lighten",e[e.Multiply=5]="Multiply",e[e.Overlay=6]="Overlay",e[e.Screen=7]="Screen"}(E||(E={})),function(e){e[e.RGB=0]="RGB",e[e.HSL=1]="HSL",e[e.HSV=2]="HSV",e[e.XYZ=3]="XYZ",e[e.LAB=4]="LAB",e[e.LCH=5]="LCH"}(_||(_={}));class Q{constructor(e){if(null==e||0===e.length)throw new Error("The stops argument must be non-empty");this.stops=this.sortColorScaleStops(e)}static createBalancedColorScale(e){if(null==e||0===e.length)throw new Error("The colors argument must be non-empty");const t=new Array(e.length);for(let o=0;o<e.length;o++)0===o?t[o]={color:e[o],position:0}:o===e.length-1?t[o]={color:e[o],position:1}:t[o]={color:e[o],position:o*(1/(e.length-1))};return new Q(t)}getColor(e,t=_.RGB){if(1===this.stops.length)return this.stops[0].color;if(e<=0)return this.stops[0].color;if(e>=1)return this.stops[this.stops.length-1].color;let o=0;for(let t=0;t<this.stops.length;t++)this.stops[t].position<=e&&(o=t);let r=o+1;return r>=this.stops.length&&(r=this.stops.length-1),K((e-this.stops[o].position)*(1/(this.stops[r].position-this.stops[o].position)),t,this.stops[o].color,this.stops[r].color)}trim(e,t,o=_.RGB){if(e<0||t>1||t<e)throw new Error("Invalid bounds");if(e===t)return new Q([{color:this.getColor(e,o),position:0}]);const r=[];for(let o=0;o<this.stops.length;o++)this.stops[o].position>=e&&this.stops[o].position<=t&&r.push(this.stops[o]);if(0===r.length)return new Q([{color:this.getColor(e),position:e},{color:this.getColor(t),position:t}]);r[0].position!==e&&r.unshift({color:this.getColor(e),position:e}),r[r.length-1].position!==t&&r.push({color:this.getColor(t),position:t});const a=t-e,i=new Array(r.length);for(let t=0;t<r.length;t++)i[t]={color:r[t].color,position:(r[t].position-e)/a};return new Q(i)}findNextColor(e,t,o=!1,r=_.RGB,a=.005,i=32){isNaN(e)||e<=0?e=0:e>=1&&(e=1);const l=this.getColor(e,r),n=o?0:1;if(V(l,this.getColor(n,r))<=t)return n;let s=o?0:e,c=o?e:0,d=n,h=0;for(;h<=i;){d=Math.abs(c-s)/2+s;const e=V(l,this.getColor(d,r));if(Math.abs(e-t)<=a)return d;e>t?o?s=d:c=d:o?c=d:s=d,h++}return d}clone(){const e=new Array(this.stops.length);for(let t=0;t<e.length;t++)e[t]={color:this.stops[t].color,position:this.stops[t].position};return new Q(e)}sortColorScaleStops(e){return e.sort(((e,t)=>{const o=e.position,r=t.position;return o<r?-1:o>r?1:0}))}}class ee{constructor(e){this.config=Object.assign({},ee.defaultPaletteConfig,e),this.palette=[],this.updatePaletteColors()}updatePaletteGenerationValues(e){let t=!1;for(const o in e)this.config[o]&&(this.config[o].equalValue?this.config[o].equalValue(e[o])||(this.config[o]=e[o],t=!0):e[o]!==this.config[o]&&(this.config[o]=e[o],t=!0));return t&&this.updatePaletteColors(),t}updatePaletteColors(){const e=this.generatePaletteColorScale();for(let t=0;t<this.config.steps;t++)this.palette[t]=e.getColor(t/(this.config.steps-1),this.config.interpolationMode)}generatePaletteColorScale(){const e=D(this.config.baseColor),t=new Q([{position:0,color:this.config.scaleColorLight},{position:.5,color:this.config.baseColor},{position:1,color:this.config.scaleColorDark}]).trim(this.config.clipLight,1-this.config.clipDark);let o=t.getColor(0),r=t.getColor(1);if(e.s>=this.config.saturationAdjustmentCutoff&&(o=U(o,this.config.saturationLight),r=U(r,this.config.saturationDark)),0!==this.config.multiplyLight){const e=Y(this.config.baseColor,o);o=K(this.config.multiplyLight,this.config.interpolationMode,o,e)}if(0!==this.config.multiplyDark){const e=Y(this.config.baseColor,r);r=K(this.config.multiplyDark,this.config.interpolationMode,r,e)}if(0!==this.config.overlayLight){const e=J(this.config.baseColor,o);o=K(this.config.overlayLight,this.config.interpolationMode,o,e)}if(0!==this.config.overlayDark){const e=J(this.config.baseColor,r);r=K(this.config.overlayDark,this.config.interpolationMode,r,e)}return this.config.baseScalePosition?this.config.baseScalePosition<=0?new Q([{position:0,color:this.config.baseColor},{position:1,color:r.clamp()}]):this.config.baseScalePosition>=1?new Q([{position:0,color:o.clamp()},{position:1,color:this.config.baseColor}]):new Q([{position:0,color:o.clamp()},{position:this.config.baseScalePosition,color:this.config.baseColor},{position:1,color:r.clamp()}]):new Q([{position:0,color:o.clamp()},{position:.5,color:this.config.baseColor},{position:1,color:r.clamp()}])}}ee.defaultPaletteConfig={baseColor:f("#808080"),steps:11,interpolationMode:_.RGB,scaleColorLight:new d(1,1,1,1),scaleColorDark:new d(0,0,0,1),clipLight:.185,clipDark:.16,saturationAdjustmentCutoff:.05,saturationLight:.35,saturationDark:1.25,overlayLight:0,overlayDark:.25,multiplyLight:0,multiplyDark:0,baseScalePosition:.5},ee.greyscalePaletteConfig={baseColor:f("#808080"),steps:11,interpolationMode:_.RGB,scaleColorLight:new d(1,1,1,1),scaleColorDark:new d(0,0,0,1),clipLight:0,clipDark:0,saturationAdjustmentCutoff:0,saturationLight:0,saturationDark:0,overlayLight:0,overlayDark:0,multiplyLight:0,multiplyDark:0,baseScalePosition:.5},ee.defaultPaletteConfig.scaleColorLight,ee.defaultPaletteConfig.scaleColorDark;class te{constructor(e){this.palette=[],this.config=Object.assign({},te.defaultPaletteConfig,e),this.regenPalettes()}regenPalettes(){let e=this.config.steps;(isNaN(e)||e<3)&&(e=3);const t=.14,o=new d(t,t,t,1),r=new ee(Object.assign(Object.assign({},ee.greyscalePaletteConfig),{baseColor:o,baseScalePosition:86/94,steps:e})).palette,a=(k(this.config.baseColor)+D(this.config.baseColor).l)/2,i=this.matchRelativeLuminanceIndex(a,r)/(e-1),l=this.matchRelativeLuminanceIndex(t,r)/(e-1),n=D(this.config.baseColor),s=S(v.fromObject({h:n.h,s:n.s,l:t})),c=S(v.fromObject({h:n.h,s:n.s,l:.06})),h=new Array(5);h[0]={position:0,color:new d(1,1,1,1)},h[1]={position:i,color:this.config.baseColor},h[2]={position:l,color:s},h[3]={position:.99,color:c},h[4]={position:1,color:new d(0,0,0,1)};const u=new Q(h);this.palette=new Array(e);for(let t=0;t<e;t++){const o=u.getColor(t/(e-1),_.RGB);this.palette[t]=o}}matchRelativeLuminanceIndex(e,t){let o=Number.MAX_VALUE,r=0,a=0;const i=t.length;for(;a<i;a++){const i=Math.abs(k(t[a])-e);i<o&&(o=i,r=a)}return r}}function oe(e,t,o=0,r=e.length-1){if(r===o)return e[o];const a=Math.floor((r-o)/2)+o;return t(e[a])?oe(e,t,o,a):oe(e,t,a+1,r)}function re(e){return G(e)?-1:1}te.defaultPaletteConfig={baseColor:f("#808080"),steps:94};const ae=Object.freeze({create:function(e,t,o){return"number"==typeof e?ae.from(R.create(e,t,o)):ae.from(e)},from:function(e){return function(e){const t={r:0,g:0,b:0,toColorString:()=>"",contrast:()=>0,relativeLuminance:0};for(const o in t)if(typeof t[o]!=typeof e[o])return!1;return!0}(e)?ie.from(e):ie.from(R.create(e.r,e.g,e.b))}});class ie{constructor(e,t){this.closestIndexCache=new Map,this.source=e,this.swatches=t,this.reversedSwatches=Object.freeze([...this.swatches].reverse()),this.lastIndex=this.swatches.length-1}colorContrast(e,t,o,r){void 0===o&&(o=this.closestIndexOf(e));let a=this.swatches;const i=this.lastIndex;let l=o;return void 0===r&&(r=re(e)),-1===r&&(a=this.reversedSwatches,l=i-l),oe(a,(o=>O(e,o)>=t),l,i)}get(e){return this.swatches[e]||this.swatches[r(e,0,this.lastIndex)]}closestIndexOf(e){if(this.closestIndexCache.has(e.relativeLuminance))return this.closestIndexCache.get(e.relativeLuminance);let t=this.swatches.indexOf(e);if(-1!==t)return this.closestIndexCache.set(e.relativeLuminance,t),t;const o=this.swatches.reduce(((t,o)=>Math.abs(o.relativeLuminance-e.relativeLuminance)<Math.abs(t.relativeLuminance-e.relativeLuminance)?o:t));return t=this.swatches.indexOf(o),this.closestIndexCache.set(e.relativeLuminance,t),t}static from(e){return new ie(e,Object.freeze(new te({baseColor:d.fromObject(e)}).palette.map((e=>{const t=f(e.toStringHexRGB());return R.create(t.r,t.g,t.b)}))))}}const le=R.create(1,1,1),ne=R.create(0,0,0),se=R.from(f("#808080")),ce=R.from(f("#DA1A5F")),de=R.from(f("#D32F2F"));function he(e,t,o,r,a,i){return Math.max(e.closestIndexOf(P(t))+o,r,a,i)}const{create:ue}=q.DesignToken;function pe(e){return q.DesignToken.create({name:e,cssCustomPropertyName:null})}const ge=ue("body-font").withDefault('aktiv-grotesk, "Segoe UI", Arial, Helvetica, sans-serif'),be=ue("base-height-multiplier").withDefault(10),fe=ue("base-horizontal-spacing-multiplier").withDefault(3),me=ue("base-layer-luminance").withDefault(A.DarkMode),ve=ue("control-corner-radius").withDefault(4),$e=ue("density").withDefault(0),xe=ue("design-unit").withDefault(4),ye=ue("direction").withDefault(W.N.ltr),we=ue("disabled-opacity").withDefault(.4),ke=ue("stroke-width").withDefault(1),Fe=ue("focus-stroke-width").withDefault(2),Ce=ue("type-ramp-base-font-size").withDefault("14px"),Ve=ue("type-ramp-base-line-height").withDefault("20px"),De=ue("type-ramp-minus-1-font-size").withDefault("12px"),Se=ue("type-ramp-minus-1-line-height").withDefault("16px"),Te=ue("type-ramp-minus-2-font-size").withDefault("10px"),ze=ue("type-ramp-minus-2-line-height").withDefault("16px"),Be=ue("type-ramp-plus-1-font-size").withDefault("16px"),je=ue("type-ramp-plus-1-line-height").withDefault("24px"),Le=ue("type-ramp-plus-2-font-size").withDefault("20px"),Ne=ue("type-ramp-plus-2-line-height").withDefault("28px"),He=ue("type-ramp-plus-3-font-size").withDefault("28px"),Oe=ue("type-ramp-plus-3-line-height").withDefault("36px"),Re=ue("type-ramp-plus-4-font-size").withDefault("34px"),Ie=ue("type-ramp-plus-4-line-height").withDefault("44px"),Pe=ue("type-ramp-plus-5-font-size").withDefault("46px"),Ae=ue("type-ramp-plus-5-line-height").withDefault("56px"),Me=ue("type-ramp-plus-6-font-size").withDefault("60px"),Ge=ue("type-ramp-plus-6-line-height").withDefault("72px"),Ee=pe("accent-fill-rest-delta").withDefault(0),_e=pe("accent-fill-hover-delta").withDefault(4),qe=pe("accent-fill-active-delta").withDefault(-5),We=pe("accent-fill-focus-delta").withDefault(0),Ue=pe("accent-foreground-rest-delta").withDefault(0),Xe=pe("accent-foreground-hover-delta").withDefault(6),Ye=pe("accent-foreground-active-delta").withDefault(-4),Ze=pe("accent-foreground-focus-delta").withDefault(0),Je=pe("neutral-fill-rest-delta").withDefault(7),Ke=pe("neutral-fill-hover-delta").withDefault(10),Qe=pe("neutral-fill-active-delta").withDefault(5),et=pe("neutral-fill-focus-delta").withDefault(0),tt=pe("neutral-fill-input-rest-delta").withDefault(0),ot=pe("neutral-fill-input-hover-delta").withDefault(0),rt=pe("neutral-fill-input-active-delta").withDefault(0),at=pe("neutral-fill-input-focus-delta").withDefault(0),it=pe("neutral-fill-stealth-rest-delta").withDefault(0),lt=pe("neutral-fill-stealth-hover-delta").withDefault(5),nt=pe("neutral-fill-stealth-active-delta").withDefault(3),st=pe("neutral-fill-stealth-focus-delta").withDefault(0),ct=pe("neutral-fill-strong-rest-delta").withDefault(0),dt=pe("neutral-fill-strong-hover-delta").withDefault(8),ht=pe("neutral-fill-strong-active-delta").withDefault(-5),ut=pe("neutral-fill-strong-focus-delta").withDefault(0),pt=pe("neutral-fill-layer-rest-delta").withDefault(3),gt=pe("neutral-stroke-rest-delta").withDefault(25),bt=pe("neutral-stroke-hover-delta").withDefault(40),ft=pe("neutral-stroke-active-delta").withDefault(16),mt=pe("neutral-stroke-focus-delta").withDefault(25),vt=pe("neutral-stroke-divider-rest-delta").withDefault(8),$t=ue("neutral-color").withDefault(se),xt=pe("neutral-palette").withDefault((e=>ae.from($t.getValueFor(e)))),yt=ue("accent-color").withDefault(ce),wt=pe("accent-palette").withDefault((e=>ae.from(yt.getValueFor(e)))),kt=pe("neutral-layer-card-container-recipe").withDefault({evaluate:e=>{return t=xt.getValueFor(e),o=me.getValueFor(e),r=pt.getValueFor(e),t.get(t.closestIndexOf(P(o))+r);var t,o,r}}),Ft=ue("neutral-layer-card-container").withDefault((e=>kt.getValueFor(e).evaluate(e))),Ct=pe("neutral-layer-floating-recipe").withDefault({evaluate:e=>function(e,t,o){const r=e.closestIndexOf(P(t))-o;return e.get(r-o)}(xt.getValueFor(e),me.getValueFor(e),pt.getValueFor(e))}),Vt=ue("neutral-layer-floating").withDefault((e=>Ct.getValueFor(e).evaluate(e))),Dt=pe("neutral-layer-1-recipe").withDefault({evaluate:e=>function(e,t){return e.get(e.closestIndexOf(P(t)))}(xt.getValueFor(e),me.getValueFor(e))}),St=ue("neutral-layer-1").withDefault((e=>Dt.getValueFor(e).evaluate(e))),Tt=pe("neutral-layer-2-recipe").withDefault({evaluate:e=>{return t=xt.getValueFor(e),o=me.getValueFor(e),r=pt.getValueFor(e),a=Je.getValueFor(e),i=Ke.getValueFor(e),l=Qe.getValueFor(e),t.get(he(t,o,r,a,i,l));var t,o,r,a,i,l}}),zt=ue("neutral-layer-2").withDefault((e=>Tt.getValueFor(e).evaluate(e))),Bt=pe("neutral-layer-3-recipe").withDefault({evaluate:e=>{return t=xt.getValueFor(e),o=me.getValueFor(e),r=pt.getValueFor(e),a=Je.getValueFor(e),i=Ke.getValueFor(e),l=Qe.getValueFor(e),t.get(he(t,o,r,a,i,l)+r);var t,o,r,a,i,l}}),jt=ue("neutral-layer-3").withDefault((e=>Bt.getValueFor(e).evaluate(e))),Lt=pe("neutral-layer-4-recipe").withDefault({evaluate:e=>{return t=xt.getValueFor(e),o=me.getValueFor(e),r=pt.getValueFor(e),a=Je.getValueFor(e),i=Ke.getValueFor(e),l=Qe.getValueFor(e),t.get(he(t,o,r,a,i,l)+2*r);var t,o,r,a,i,l}}),Nt=ue("neutral-layer-4").withDefault((e=>Lt.getValueFor(e).evaluate(e))),Ht=ue("fill-color").withDefault((e=>St.getValueFor(e)));var Ot;!function(e){e[e.normal=4.5]="normal",e[e.large=7]="large"}(Ot||(Ot={}));const Rt=ue({name:"accent-fill-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(e,t)=>function(e,t,o,r,a,i,l,n,s){const c=e.source,d=t.closestIndexOf(o)>=Math.max(l,n,s)?-1:1,h=e.closestIndexOf(c),u=h+-1*d*r,p=u+d*a,g=u+d*i;return{rest:e.get(u),hover:e.get(h),active:e.get(p),focus:e.get(g)}}(wt.getValueFor(e),xt.getValueFor(e),t||Ht.getValueFor(e),_e.getValueFor(e),qe.getValueFor(e),We.getValueFor(e),Je.getValueFor(e),Ke.getValueFor(e),Qe.getValueFor(e))}),It=ue("accent-fill-rest").withDefault((e=>Rt.getValueFor(e).evaluate(e).rest)),Pt=ue("accent-fill-hover").withDefault((e=>Rt.getValueFor(e).evaluate(e).hover)),At=ue("accent-fill-active").withDefault((e=>Rt.getValueFor(e).evaluate(e).active)),Mt=ue("accent-fill-focus").withDefault((e=>Rt.getValueFor(e).evaluate(e).focus)),Gt=e=>(t,o)=>function(e,t){return e.contrast(le)>=t?le:ne}(o||It.getValueFor(t),e),Et=pe("foreground-on-accent-recipe").withDefault({evaluate:(e,t)=>Gt(Ot.normal)(e,t)}),_t=ue("foreground-on-accent-rest").withDefault((e=>Et.getValueFor(e).evaluate(e,It.getValueFor(e)))),qt=ue("foreground-on-accent-hover").withDefault((e=>Et.getValueFor(e).evaluate(e,Pt.getValueFor(e)))),Wt=ue("foreground-on-accent-active").withDefault((e=>Et.getValueFor(e).evaluate(e,At.getValueFor(e)))),Ut=ue("foreground-on-accent-focus").withDefault((e=>Et.getValueFor(e).evaluate(e,Mt.getValueFor(e)))),Xt=pe("foreground-on-accent-large-recipe").withDefault({evaluate:(e,t)=>Gt(Ot.large)(e,t)}),Yt=ue("foreground-on-accent-rest-large").withDefault((e=>Xt.getValueFor(e).evaluate(e,It.getValueFor(e)))),Zt=ue("foreground-on-accent-hover-large").withDefault((e=>Xt.getValueFor(e).evaluate(e,Pt.getValueFor(e)))),Jt=ue("foreground-on-accent-active-large").withDefault((e=>Xt.getValueFor(e).evaluate(e,At.getValueFor(e)))),Kt=ue("foreground-on-accent-focus-large").withDefault((e=>Xt.getValueFor(e).evaluate(e,Mt.getValueFor(e)))),Qt=ue({name:"accent-foreground-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(e,t)=>(e=>(t,o)=>function(e,t,o,r,a,i,l){const n=e.source,s=e.closestIndexOf(n),c=re(t),d=s+(1===c?Math.min(r,a):Math.max(c*r,c*a)),h=e.colorContrast(t,o,d,c),u=e.closestIndexOf(h),p=u+c*Math.abs(r-a);let g,b;return(1===c?r<a:c*r>c*a)?(g=u,b=p):(g=p,b=u),{rest:e.get(g),hover:e.get(b),active:e.get(g+c*i),focus:e.get(g+c*l)}}(wt.getValueFor(t),o||Ht.getValueFor(t),e,Ue.getValueFor(t),Xe.getValueFor(t),Ye.getValueFor(t),Ze.getValueFor(t)))(Ot.normal)(e,t)}),eo=ue("accent-foreground-rest").withDefault((e=>Qt.getValueFor(e).evaluate(e).rest)),to=ue("accent-foreground-hover").withDefault((e=>Qt.getValueFor(e).evaluate(e).hover)),oo=ue("accent-foreground-active").withDefault((e=>Qt.getValueFor(e).evaluate(e).active)),ro=ue("accent-foreground-focus").withDefault((e=>Qt.getValueFor(e).evaluate(e).focus)),ao=ue({name:"neutral-fill-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(e,t)=>function(e,t,o,r,a,i){const l=e.closestIndexOf(t),n=l>=Math.max(o,r,a,i)?-1:1;return{rest:e.get(l+n*o),hover:e.get(l+n*r),active:e.get(l+n*a),focus:e.get(l+n*i)}}(xt.getValueFor(e),t||Ht.getValueFor(e),Je.getValueFor(e),Ke.getValueFor(e),Qe.getValueFor(e),et.getValueFor(e))}),io=ue("neutral-fill-rest").withDefault((e=>ao.getValueFor(e).evaluate(e).rest)),lo=ue("neutral-fill-hover").withDefault((e=>ao.getValueFor(e).evaluate(e).hover)),no=ue("neutral-fill-active").withDefault((e=>ao.getValueFor(e).evaluate(e).active)),so=ue("neutral-fill-focus").withDefault((e=>ao.getValueFor(e).evaluate(e).focus)),co=ue({name:"neutral-fill-input-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(e,t)=>function(e,t,o,r,a,i){const l=re(t),n=e.closestIndexOf(t);return{rest:e.get(n-l*o),hover:e.get(n-l*r),active:e.get(n-l*a),focus:e.get(n-l*i)}}(xt.getValueFor(e),t||Ht.getValueFor(e),tt.getValueFor(e),ot.getValueFor(e),rt.getValueFor(e),at.getValueFor(e))}),ho=ue("neutral-fill-input-rest").withDefault((e=>co.getValueFor(e).evaluate(e).rest)),uo=ue("neutral-fill-input-hover").withDefault((e=>co.getValueFor(e).evaluate(e).hover)),po=ue("neutral-fill-input-active").withDefault((e=>co.getValueFor(e).evaluate(e).active)),go=ue("neutral-fill-input-focus").withDefault((e=>co.getValueFor(e).evaluate(e).focus)),bo=ue({name:"neutral-fill-stealth-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(e,t)=>function(e,t,o,r,a,i,l,n,s,c){const d=Math.max(o,r,a,i,l,n,s,c),h=e.closestIndexOf(t),u=h>=d?-1:1;return{rest:e.get(h+u*o),hover:e.get(h+u*r),active:e.get(h+u*a),focus:e.get(h+u*i)}}(xt.getValueFor(e),t||Ht.getValueFor(e),it.getValueFor(e),lt.getValueFor(e),nt.getValueFor(e),st.getValueFor(e),Je.getValueFor(e),Ke.getValueFor(e),Qe.getValueFor(e),et.getValueFor(e))}),fo=ue("neutral-fill-stealth-rest").withDefault((e=>bo.getValueFor(e).evaluate(e).rest)),mo=ue("neutral-fill-stealth-hover").withDefault((e=>bo.getValueFor(e).evaluate(e).hover)),vo=ue("neutral-fill-stealth-active").withDefault((e=>bo.getValueFor(e).evaluate(e).active)),$o=ue("neutral-fill-stealth-focus").withDefault((e=>bo.getValueFor(e).evaluate(e).focus)),xo=ue({name:"neutral-fill-strong-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(e,t)=>function(e,t,o,r,a,i){const l=re(t),n=e.closestIndexOf(e.colorContrast(t,4.5)),s=n+l*Math.abs(o-r);let c,d;return(1===l?o<r:l*o>l*r)?(c=n,d=s):(c=s,d=n),{rest:e.get(c),hover:e.get(d),active:e.get(c+l*a),focus:e.get(c+l*i)}}(xt.getValueFor(e),t||Ht.getValueFor(e),ct.getValueFor(e),dt.getValueFor(e),ht.getValueFor(e),ut.getValueFor(e))}),yo=ue("neutral-fill-strong-rest").withDefault((e=>xo.getValueFor(e).evaluate(e).rest)),wo=ue("neutral-fill-strong-hover").withDefault((e=>xo.getValueFor(e).evaluate(e).hover)),ko=ue("neutral-fill-strong-active").withDefault((e=>xo.getValueFor(e).evaluate(e).active)),Fo=ue("neutral-fill-strong-focus").withDefault((e=>xo.getValueFor(e).evaluate(e).focus)),Co=pe("neutral-fill-layer-recipe").withDefault({evaluate:(e,t)=>function(e,t,o){const r=e.closestIndexOf(t);return e.get(r-(r<o?-1*o:o))}(xt.getValueFor(e),t||Ht.getValueFor(e),pt.getValueFor(e))}),Vo=ue("neutral-fill-layer-rest").withDefault((e=>Co.getValueFor(e).evaluate(e))),Do=pe("focus-stroke-outer-recipe").withDefault({evaluate:e=>{return t=xt.getValueFor(e),o=Ht.getValueFor(e),t.colorContrast(o,3.5);var t,o}}),So=ue("focus-stroke-outer").withDefault((e=>Do.getValueFor(e).evaluate(e))),To=pe("focus-stroke-inner-recipe").withDefault({evaluate:e=>{return t=wt.getValueFor(e),o=Ht.getValueFor(e),r=So.getValueFor(e),t.colorContrast(r,3.5,t.closestIndexOf(t.source),-1*re(o));var t,o,r}}),zo=ue("focus-stroke-inner").withDefault((e=>To.getValueFor(e).evaluate(e))),Bo=pe("neutral-foreground-hint-recipe").withDefault({evaluate:e=>{return t=xt.getValueFor(e),o=Ht.getValueFor(e),t.colorContrast(o,4.5);var t,o}}),jo=ue("neutral-foreground-hint").withDefault((e=>Bo.getValueFor(e).evaluate(e))),Lo=pe("neutral-foreground-recipe").withDefault({evaluate:e=>{return t=xt.getValueFor(e),o=Ht.getValueFor(e),t.colorContrast(o,14);var t,o}}),No=ue("neutral-foreground-rest").withDefault((e=>Lo.getValueFor(e).evaluate(e))),Ho=ue({name:"neutral-stroke-recipe",cssCustomPropertyName:null}).withDefault({evaluate:e=>function(e,t,o,r,a,i){const l=e.closestIndexOf(t),n=re(t),s=l+n*o,c=s+n*(r-o),d=s+n*(a-o),h=s+n*(i-o);return{rest:e.get(s),hover:e.get(c),active:e.get(d),focus:e.get(h)}}(xt.getValueFor(e),Ht.getValueFor(e),gt.getValueFor(e),bt.getValueFor(e),ft.getValueFor(e),mt.getValueFor(e))}),Oo=ue("neutral-stroke-rest").withDefault((e=>Ho.getValueFor(e).evaluate(e).rest)),Ro=ue("neutral-stroke-hover").withDefault((e=>Ho.getValueFor(e).evaluate(e).hover)),Io=ue("neutral-stroke-active").withDefault((e=>Ho.getValueFor(e).evaluate(e).active)),Po=ue("neutral-stroke-focus").withDefault((e=>Ho.getValueFor(e).evaluate(e).focus)),Ao=pe("neutral-stroke-divider-recipe").withDefault({evaluate:(e,t)=>function(e,t,o){return e.get(e.closestIndexOf(t)+re(t)*o)}(xt.getValueFor(e),t||Ht.getValueFor(e),vt.getValueFor(e))}),Mo=ue("neutral-stroke-divider-rest").withDefault((e=>Ao.getValueFor(e).evaluate(e))),Go=q.DesignToken.create({name:"height-number",cssCustomPropertyName:null}).withDefault((e=>(be.getValueFor(e)+$e.getValueFor(e))*xe.getValueFor(e))),Eo=ue("error-color").withDefault(de),_o=pe("error-palette").withDefault((e=>ae.from(Eo.getValueFor(e)))),qo=ue({name:"error-fill-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(e,t)=>function(e,t,o,r,a,i,l,n,s){const c=e.source,d=t.closestIndexOf(o)>=Math.max(l,n,s)?-1:1,h=e.closestIndexOf(c),u=h+-1*d*r,p=u+d*a,g=u+d*i;return{rest:e.get(u),hover:e.get(h),active:e.get(p),focus:e.get(g)}}(_o.getValueFor(e),xt.getValueFor(e),t||Ht.getValueFor(e),_e.getValueFor(e),qe.getValueFor(e),We.getValueFor(e),Je.getValueFor(e),Ke.getValueFor(e),Qe.getValueFor(e))}),Wo=ue("error-fill-rest").withDefault((e=>qo.getValueFor(e).evaluate(e).rest)),Uo=ue("error-fill-hover").withDefault((e=>qo.getValueFor(e).evaluate(e).hover)),Xo=ue("error-fill-active").withDefault((e=>qo.getValueFor(e).evaluate(e).active)),Yo=ue("error-fill-focus").withDefault((e=>qo.getValueFor(e).evaluate(e).focus)),Zo=e=>(t,o)=>function(e,t){return e.contrast(le)>=t?le:ne}(o||Wo.getValueFor(t),e),Jo=ue({name:"foreground-on-error-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(e,t)=>Zo(Ot.normal)(e,t)}),Ko=ue("foreground-on-error-rest").withDefault((e=>Jo.getValueFor(e).evaluate(e,Wo.getValueFor(e)))),Qo=ue("foreground-on-error-hover").withDefault((e=>Jo.getValueFor(e).evaluate(e,Uo.getValueFor(e)))),er=ue("foreground-on-error-active").withDefault((e=>Jo.getValueFor(e).evaluate(e,Xo.getValueFor(e)))),tr=ue("foreground-on-error-focus").withDefault((e=>Jo.getValueFor(e).evaluate(e,Yo.getValueFor(e)))),or=ue({name:"foreground-on-error-large-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(e,t)=>Zo(Ot.large)(e,t)}),rr=ue("foreground-on-error-rest-large").withDefault((e=>or.getValueFor(e).evaluate(e,Wo.getValueFor(e)))),ar=ue("foreground-on-error-hover-large").withDefault((e=>or.getValueFor(e).evaluate(e,Uo.getValueFor(e)))),ir=ue("foreground-on-error-active-large").withDefault((e=>or.getValueFor(e).evaluate(e,Xo.getValueFor(e)))),lr=ue("foreground-on-error-focus-large").withDefault((e=>or.getValueFor(e).evaluate(e,Yo.getValueFor(e)))),nr=ue({name:"error-foreground-recipe",cssCustomPropertyName:null}).withDefault({evaluate:(e,t)=>(e=>(t,o)=>function(e,t,o,r,a,i,l){const n=e.source,s=e.closestIndexOf(n),c=G(t)?-1:1,d=s+(1===c?Math.min(r,a):Math.max(c*r,c*a)),h=e.colorContrast(t,o,d,c),u=e.closestIndexOf(h),p=u+c*Math.abs(r-a);let g,b;return(1===c?r<a:c*r>c*a)?(g=u,b=p):(g=p,b=u),{rest:e.get(g),hover:e.get(b),active:e.get(g+c*i),focus:e.get(g+c*l)}}(_o.getValueFor(t),o||Ht.getValueFor(t),e,Ue.getValueFor(t),Xe.getValueFor(t),Ye.getValueFor(t),Ze.getValueFor(t)))(Ot.normal)(e,t)}),sr=ue("error-foreground-rest").withDefault((e=>nr.getValueFor(e).evaluate(e).rest)),cr=ue("error-foreground-hover").withDefault((e=>nr.getValueFor(e).evaluate(e).hover)),dr=ue("error-foreground-active").withDefault((e=>nr.getValueFor(e).evaluate(e).active)),hr=ue("error-foreground-focus").withDefault((e=>nr.getValueFor(e).evaluate(e).focus)),ur="data-jp-theme-name",pr="data-jp-theme-light",gr="--jp-layout-color1";let br=!1;function fr(){br||(br=!0,function(){const e=()=>{new MutationObserver((()=>{$r()})).observe(document.body,{attributes:!0,attributeFilter:[ur],childList:!1,characterData:!1}),$r()};"complete"===document.readyState?e():window.addEventListener("load",e)}())}const mr=e=>{const t=parseInt(e,10);return isNaN(t)?null:t},vr={"--jp-border-width":{converter:mr,token:ke},"--jp-border-radius":{converter:mr,token:ve},[gr]:{converter:(e,t)=>{const o=m(e);if(o){const e=D(o),t=S(v.fromObject({h:e.h,s:e.s,l:.5}));return R.create(t.r,t.g,t.b)}return null},token:$t},"--jp-brand-color1":{converter:(e,t)=>{const o=m(e);if(o){const e=D(o),r=t?1:-1,a=S(v.fromObject({h:e.h,s:e.s,l:e.l+r*_e.getValueFor(document.body)/94}));return R.create(a.r,a.g,a.b)}return null},token:yt},"--jp-error-color1":{converter:(e,t)=>{const o=m(e);if(o){const e=D(o),r=t?1:-1,a=S(v.fromObject({h:e.h,s:e.s,l:e.l+r*_e.getValueFor(document.body)/94}));return R.create(a.r,a.g,a.b)}return null},token:Eo},"--jp-ui-font-family":{token:ge},"--jp-ui-font-size1":{token:Ce}};function $r(){var e;const t=getComputedStyle(document.body),o=document.body.getAttribute(pr);let r=!1;if(o)r="false"===o;else{const e=t.getPropertyValue(gr).toString();if(e){const t=m(e);t&&(r=G(R.create(t.r,t.g,t.b)),console.debug(`Theme is ${r?"dark":"light"} based on '${gr}' value: ${e}.`))}}me.setValueFor(document.body,r?A.DarkMode:A.LightMode);for(const o in vr){const a=vr[o],i=t.getPropertyValue(o).toString();if(document.body&&""!==i){const t=(null!==(e=a.converter)&&void 0!==e?e:e=>e)(i.trim(),r);null!==t?a.token.setValueFor(document.body,t):console.error(`Fail to parse value '${i}' for '${o}' as FAST design token.`)}}}var xr=o(40950);const yr=(e,t)=>xr.css`
${(0,q.display)("flex")} :host {
box-sizing: border-box;
flex-direction: column;
font-family: ${ge};
font-size: ${De};
line-height: ${Se};
color: ${No};
border-top: calc(${ke} * 1px) solid ${Mo};
}
`;var wr;!function(e){e.Canvas="Canvas",e.CanvasText="CanvasText",e.LinkText="LinkText",e.VisitedText="VisitedText",e.ActiveText="ActiveText",e.ButtonFace="ButtonFace",e.ButtonText="ButtonText",e.Field="Field",e.FieldText="FieldText",e.Highlight="Highlight",e.HighlightText="HighlightText",e.GrayText="GrayText"}(wr||(wr={}));const kr=xr.cssPartial`(${be} + ${$e}) * ${xe}`,Fr=(e,t)=>xr.css`
${(0,q.display)("flex")} :host {
box-sizing: border-box;
font-family: ${ge};
flex-direction: column;
font-size: ${De};
line-height: ${Se};
border-bottom: calc(${ke} * 1px) solid
${Mo};
}
.region {
display: none;
padding: calc((6 + (${xe} * 2 * ${$e})) * 1px);
}
div.heading {
display: grid;
position: relative;
grid-template-columns: calc(${kr} * 1px) auto 1fr auto;
color: ${No};
}
.button {
appearance: none;
border: none;
background: none;
grid-column: 3;
outline: none;
padding: 0 calc((6 + (${xe} * 2 * ${$e})) * 1px);
text-align: left;
height: calc(${kr} * 1px);
color: currentcolor;
cursor: pointer;
font-family: inherit;
}
.button:hover {
color: currentcolor;
}
.button:active {
color: currentcolor;
}
.button::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
cursor: pointer;
}
/* prettier-ignore */
.button:${q.focusVisible}::before {
outline: none;
border: calc(${Fe} * 1px) solid ${Mt};
border-radius: calc(${ve} * 1px);
}
:host([expanded]) .region {
display: block;
}
.icon {
display: flex;
align-items: center;
justify-content: center;
grid-column: 1;
grid-row: 1;
pointer-events: none;
position: relative;
}
slot[name='expanded-icon'],
slot[name='collapsed-icon'] {
fill: currentcolor;
}
slot[name='collapsed-icon'] {
display: flex;
}
:host([expanded]) slot[name='collapsed-icon'] {
display: none;
}
slot[name='expanded-icon'] {
display: none;
}
:host([expanded]) slot[name='expanded-icon'] {
display: flex;
}
.start {
display: flex;
align-items: center;
padding-inline-start: calc(${xe} * 1px);
justify-content: center;
grid-column: 2;
position: relative;
}
.end {
display: flex;
align-items: center;
justify-content: center;
grid-column: 4;
position: relative;
}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
/* prettier-ignore */
.button:${q.focusVisible}::before {
border-color: ${wr.Highlight};
}
:host slot[name='collapsed-icon'],
:host([expanded]) slot[name='expanded-icon'] {
fill: ${wr.ButtonText};
}
`)),Cr=q.AccordionItem.compose({baseName:"accordion-item",template:q.accordionItemTemplate,styles:Fr,collapsedIcon:'\n <svg\n width="20"\n height="20"\n viewBox="0 0 16 16"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n d="M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z"\n />\n </svg>\n ',expandedIcon:'\n <svg\n width="20"\n height="20"\n viewBox="0 0 16 16"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n fill-rule="evenodd"\n clip-rule="evenodd"\n transform="rotate(90,8,8)"\n d="M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z"\n />\n </svg>\n '}),Vr=q.Accordion.compose({baseName:"accordion",template:q.accordionTemplate,styles:yr});function Dr(e,t,o,r){var a,i=arguments.length,l=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,o,r);else for(var n=e.length-1;n>=0;n--)(a=e[n])&&(l=(i<3?a(l):i>3?a(t,o,l):a(t,o))||l);return i>3&&l&&Object.defineProperty(t,o,l),l}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;const Sr=xr.css`
${(0,q.display)("inline-flex")} :host {
font-family: ${ge};
outline: none;
font-size: ${Ce};
line-height: ${Ve};
height: calc(${kr} * 1px);
min-width: calc(${kr} * 1px);
background-color: ${io};
color: ${No};
border-radius: calc(${ve} * 1px);
fill: currentcolor;
cursor: pointer;
margin: calc((${Fe} + 2) * 1px);
}
.control {
background: transparent;
height: inherit;
flex-grow: 1;
box-sizing: border-box;
display: inline-flex;
justify-content: center;
align-items: center;
padding: 0 calc((10 + (${xe} * 2 * ${$e})) * 1px);
white-space: nowrap;
outline: none;
text-decoration: none;
border: calc(${ke} * 1px) solid transparent;
color: inherit;
border-radius: inherit;
fill: inherit;
cursor: inherit;
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
:host(:hover) {
background-color: ${lo};
}
:host(:active) {
background-color: ${no};
}
:host([aria-pressed='true']) {
box-shadow: inset 0px 0px 2px 2px ${ko};
}
:host([minimal]) {
--density: -4;
}
:host([minimal]) .control {
padding: 1px;
}
/* prettier-ignore */
.control:${q.focusVisible} {
outline: calc(${Fe} * 1px) solid ${Fo};
outline-offset: 2px;
-moz-outline-radius: 0px;
}
.control::-moz-focus-inner {
border: 0;
}
.start,
.end {
display: flex;
}
.control.icon-only {
padding: 0;
line-height: 0;
}
::slotted(svg) {
${""} width: 16px;
height: 16px;
pointer-events: none;
}
.start {
margin-inline-end: 11px;
}
.end {
margin-inline-start: 11px;
}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host .control {
background-color: ${wr.ButtonFace};
border-color: ${wr.ButtonText};
color: ${wr.ButtonText};
fill: currentColor;
}
:host(:hover) .control {
forced-color-adjust: none;
background-color: ${wr.Highlight};
color: ${wr.HighlightText};
}
/* prettier-ignore */
.control:${q.focusVisible} {
forced-color-adjust: none;
background-color: ${wr.Highlight};
outline-color: ${wr.ButtonText};
color: ${wr.HighlightText};
}
.control:hover,
:host([appearance='outline']) .control:hover {
border-color: ${wr.ButtonText};
}
:host([href]) .control {
border-color: ${wr.LinkText};
color: ${wr.LinkText};
}
:host([href]) .control:hover,
:host([href]) .control:${q.focusVisible} {
forced-color-adjust: none;
background: ${wr.ButtonFace};
outline-color: ${wr.LinkText};
color: ${wr.LinkText};
fill: currentColor;
}
`)),Tr=xr.css`
:host([appearance='accent']) {
background: ${It};
color: ${_t};
}
:host([appearance='accent']:hover) {
background: ${Pt};
color: ${qt};
}
:host([appearance='accent'][aria-pressed='true']) {
box-shadow: inset 0px 0px 2px 2px ${oo};
}
:host([appearance='accent']:active) .control:active {
background: ${At};
color: ${Wt};
}
:host([appearance="accent"]) .control:${q.focusVisible} {
outline-color: ${Mt};
}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance='accent']) .control {
forced-color-adjust: none;
background: ${wr.Highlight};
color: ${wr.HighlightText};
}
:host([appearance='accent']) .control:hover,
:host([appearance='accent']:active) .control:active {
background: ${wr.HighlightText};
border-color: ${wr.Highlight};
color: ${wr.Highlight};
}
:host([appearance="accent"]) .control:${q.focusVisible} {
outline-color: ${wr.Highlight};
}
:host([appearance='accent'][href]) .control {
background: ${wr.LinkText};
color: ${wr.HighlightText};
}
:host([appearance='accent'][href]) .control:hover {
background: ${wr.ButtonFace};
border-color: ${wr.LinkText};
box-shadow: none;
color: ${wr.LinkText};
fill: currentColor;
}
:host([appearance="accent"][href]) .control:${q.focusVisible} {
outline-color: ${wr.HighlightText};
}
`)),zr=xr.css`
:host([appearance='error']) {
background: ${Wo};
color: ${_t};
}
:host([appearance='error']:hover) {
background: ${Uo};
color: ${qt};
}
:host([appearance='error'][aria-pressed='true']) {
box-shadow: inset 0px 0px 2px 2px ${dr};
}
:host([appearance='error']:active) .control:active {
background: ${Xo};
color: ${Wt};
}
:host([appearance="error"]) .control:${q.focusVisible} {
outline-color: ${Yo};
}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance='error']) .control {
forced-color-adjust: none;
background: ${wr.Highlight};
color: ${wr.HighlightText};
}
:host([appearance='error']) .control:hover,
:host([appearance='error']:active) .control:active {
background: ${wr.HighlightText};
border-color: ${wr.Highlight};
color: ${wr.Highlight};
}
:host([appearance="error"]) .control:${q.focusVisible} {
outline-color: ${wr.Highlight};
}
:host([appearance='error'][href]) .control {
background: ${wr.LinkText};
color: ${wr.HighlightText};
}
:host([appearance='error'][href]) .control:hover {
background: ${wr.ButtonFace};
border-color: ${wr.LinkText};
box-shadow: none;
color: ${wr.LinkText};
fill: currentColor;
}
:host([appearance="error"][href]) .control:${q.focusVisible} {
outline-color: ${wr.HighlightText};
}
`)),Br=xr.css`
:host([appearance='hypertext']) {
font-size: inherit;
line-height: inherit;
height: auto;
min-width: 0;
background: transparent;
}
:host([appearance='hypertext']) .control {
display: inline;
padding: 0;
border: none;
box-shadow: none;
border-radius: 0;
line-height: 1;
}
:host a.control:not(:link) {
background-color: transparent;
cursor: default;
}
:host([appearance='hypertext']) .control:link,
:host([appearance='hypertext']) .control:visited {
background: transparent;
color: ${eo};
border-bottom: calc(${ke} * 1px) solid ${eo};
}
:host([appearance='hypertext']:hover),
:host([appearance='hypertext']) .control:hover {
background: transparent;
border-bottom-color: ${to};
}
:host([appearance='hypertext']:active),
:host([appearance='hypertext']) .control:active {
background: transparent;
border-bottom-color: ${oo};
}
:host([appearance="hypertext"]) .control:${q.focusVisible} {
outline-color: transparent;
border-bottom: calc(${Fe} * 1px) solid ${So};
margin-bottom: calc(calc(${ke} - ${Fe}) * 1px);
}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance='hypertext']:hover) {
background-color: ${wr.ButtonFace};
color: ${wr.ButtonText};
}
:host([appearance="hypertext"][href]) .control:hover,
:host([appearance="hypertext"][href]) .control:active,
:host([appearance="hypertext"][href]) .control:${q.focusVisible} {
color: ${wr.LinkText};
border-bottom-color: ${wr.LinkText};
box-shadow: none;
}
`)),jr=xr.css`
:host([appearance='lightweight']) {
background: transparent;
color: ${eo};
}
:host([appearance='lightweight']) .control {
padding: 0;
height: initial;
border: none;
box-shadow: none;
border-radius: 0;
}
:host([appearance='lightweight']:hover) {
background: transparent;
color: ${to};
}
:host([appearance='lightweight']:active) {
background: transparent;
color: ${oo};
}
:host([appearance='lightweight']) .content {
position: relative;
}
:host([appearance='lightweight']) .content::before {
content: '';
display: block;
height: calc(${ke} * 1px);
position: absolute;
top: calc(1em + 4px);
width: 100%;
}
:host([appearance='lightweight']:hover) .content::before {
background: ${to};
}
:host([appearance='lightweight']:active) .content::before {
background: ${oo};
}
:host([appearance="lightweight"]) .control:${q.focusVisible} {
outline-color: transparent;
}
:host([appearance="lightweight"]) .control:${q.focusVisible} .content::before {
background: ${No};
height: calc(${Fe} * 1px);
}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance="lightweight"]) .control:hover,
:host([appearance="lightweight"]) .control:${q.focusVisible} {
forced-color-adjust: none;
background: ${wr.ButtonFace};
color: ${wr.Highlight};
}
:host([appearance="lightweight"]) .control:hover .content::before,
:host([appearance="lightweight"]) .control:${q.focusVisible} .content::before {
background: ${wr.Highlight};
}
:host([appearance="lightweight"][href]) .control:hover,
:host([appearance="lightweight"][href]) .control:${q.focusVisible} {
background: ${wr.ButtonFace};
box-shadow: none;
color: ${wr.LinkText};
}
:host([appearance="lightweight"][href]) .control:hover .content::before,
:host([appearance="lightweight"][href]) .control:${q.focusVisible} .content::before {
background: ${wr.LinkText};
}
`)),Lr=xr.css`
:host([appearance='outline']) {
background: transparent;
border-color: ${It};
}
:host([appearance='outline']:hover) {
border-color: ${Pt};
}
:host([appearance='outline']:active) {
border-color: ${At};
}
:host([appearance='outline']) .control {
border-color: inherit;
}
:host([appearance="outline"]) .control:${q.focusVisible} {
outline-color: ${Mt};
}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance='outline']) .control {
border-color: ${wr.ButtonText};
}
:host([appearance="outline"]) .control:${q.focusVisible} {
forced-color-adjust: none;
background-color: ${wr.Highlight};
outline-color: ${wr.ButtonText};
color: ${wr.HighlightText};
fill: currentColor;
}
:host([appearance='outline'][href]) .control {
background: ${wr.ButtonFace};
border-color: ${wr.LinkText};
color: ${wr.LinkText};
fill: currentColor;
}
:host([appearance="outline"][href]) .control:hover,
:host([appearance="outline"][href]) .control:${q.focusVisible} {
forced-color-adjust: none;
outline-color: ${wr.LinkText};
}
`)),Nr=xr.css`
:host([appearance='stealth']) {
background: transparent;
}
:host([appearance='stealth']:hover) {
background: ${mo};
}
:host([appearance='stealth']:active) {
background: ${vo};
}
:host([appearance='stealth']) .control:${q.focusVisible} {
outline-color: ${Mt};
}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance='stealth']),
:host([appearance='stealth']) .control {
forced-color-adjust: none;
background: ${wr.ButtonFace};
border-color: transparent;
color: ${wr.ButtonText};
fill: currentColor;
}
:host([appearance='stealth']:hover) .control {
background: ${wr.Highlight};
border-color: ${wr.Highlight};
color: ${wr.HighlightText};
fill: currentColor;
}
:host([appearance="stealth"]:${q.focusVisible}) .control {
outline-color: ${wr.Highlight};
color: ${wr.HighlightText};
fill: currentColor;
}
:host([appearance='stealth'][href]) .control {
color: ${wr.LinkText};
}
:host([appearance="stealth"][href]:hover) .control,
:host([appearance="stealth"][href]:${q.focusVisible}) .control {
background: ${wr.LinkText};
border-color: ${wr.LinkText};
color: ${wr.HighlightText};
fill: currentColor;
}
:host([appearance="stealth"][href]:${q.focusVisible}) .control {
forced-color-adjust: none;
box-shadow: 0 0 0 1px ${wr.LinkText};
}
`));function Hr(e,t){return new q.PropertyStyleSheetBehavior("appearance",e,t)}const Or=(e,t)=>xr.css`
${Sr}
`.withBehaviors(Hr("accent",Tr),Hr("hypertext",Br),Hr("lightweight",jr),Hr("outline",Lr),Hr("stealth",Nr));class Rr extends q.Anchor{appearanceChanged(e,t){this.$fastController.isConnected&&(this.classList.remove(e),this.classList.add(t))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(e,t){const o=this.defaultSlottedContent.filter((e=>e.nodeType===Node.ELEMENT_NODE));1===o.length&&o[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}Dr([xr.attr],Rr.prototype,"appearance",void 0);const Ir=Rr.compose({baseName:"anchor",baseClass:q.Anchor,template:q.anchorTemplate,styles:Or,shadowOptions:{delegatesFocus:!0}}),Pr=(e,t)=>xr.css`
:host {
contain: layout;
display: block;
}
`,Ar=q.AnchoredRegion.compose({baseName:"anchored-region",template:q.anchoredRegionTemplate,styles:Pr});class Mr{constructor(e,t){this.cache=new WeakMap,this.ltr=e,this.rtl=t}bind(e){this.attach(e)}unbind(e){const t=this.cache.get(e);t&&ye.unsubscribe(t)}attach(e){const t=this.cache.get(e)||new Gr(this.ltr,this.rtl,e),o=ye.getValueFor(e);ye.subscribe(t),t.attach(o),this.cache.set(e,t)}}class Gr{constructor(e,t,o){this.ltr=e,this.rtl=t,this.source=o,this.attached=null}handleChange({target:e,token:t}){this.attach(t.getValueFor(e))}attach(e){this.attached!==this[e]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[e],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}const Er=(e,t)=>xr.css`
${(0,q.display)("flex")} :host {
position: relative;
height: var(--avatar-size, var(--avatar-size-default));
width: var(--avatar-size, var(--avatar-size-default));
--avatar-size-default: calc(
(
(${be} + ${$e}) * ${xe} +
((${xe} * 8) - 40)
) * 1px
);
--avatar-text-size: ${Ce};
--avatar-text-ratio: ${xe};
}
.link {
text-decoration: none;
color: ${No};
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
min-width: 100%;
}
.square {
border-radius: calc(${ve} * 1px);
min-width: 100%;
overflow: hidden;
}
.circle {
border-radius: 100%;
min-width: 100%;
overflow: hidden;
}
.backplate {
position: relative;
display: flex;
background-color: ${It};
}
.media,
::slotted(img) {
max-width: 100%;
position: absolute;
display: block;
}
.content {
font-size: calc(
(
var(--avatar-text-size) +
var(--avatar-size, var(--avatar-size-default))
) / var(--avatar-text-ratio)
);
line-height: var(--avatar-size, var(--avatar-size-default));
display: block;
min-height: var(--avatar-size, var(--avatar-size-default));
}
::slotted(${e.tagFor(q.Badge)}) {
position: absolute;
display: block;
}
`.withBehaviors(new Mr(((e,t)=>xr.css`
::slotted(${e.tagFor(q.Badge)}) {
right: 0;
}
`)(e),((e,t)=>xr.css`
::slotted(${e.tagFor(q.Badge)}) {
left: 0;
}
`)(e)));class _r extends q.Avatar{}Dr([(0,xr.attr)({attribute:"src"})],_r.prototype,"imgSrc",void 0),Dr([xr.attr],_r.prototype,"alt",void 0);const qr=xr.html`
${(0,xr.when)((e=>e.imgSrc),xr.html`
<img
src="${e=>e.imgSrc}"
alt="${e=>e.alt}"
slot="media"
class="media"
part="media"
/>
`)}
`,Wr=_r.compose({baseName:"avatar",baseClass:q.Avatar,template:q.avatarTemplate,styles:Er,media:qr,shadowOptions:{delegatesFocus:!0}}),Ur=(e,t)=>xr.css`
${(0,q.display)("inline-block")} :host {
box-sizing: border-box;
font-family: ${ge};
font-size: ${De};
line-height: ${Se};
}
.control {
border-radius: calc(${ve} * 1px);
padding: calc(((${xe} * 0.5) - ${ke}) * 1px)
calc((${xe} - ${ke}) * 1px);
color: ${No};
font-weight: 600;
border: calc(${ke} * 1px) solid transparent;
background-color: ${io};
}
.control[style] {
font-weight: 400;
}
:host([circular]) .control {
border-radius: 100px;
padding: 0 calc(${xe} * 1px);
height: calc((${kr} - (${xe} * 3)) * 1px);
min-width: calc((${kr} - (${xe} * 3)) * 1px);
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
}
`,Xr=q.Badge.compose({baseName:"badge",template:q.badgeTemplate,styles:Ur}),Yr=(e,t)=>xr.css`
${(0,q.display)("inline-block")} :host {
box-sizing: border-box;
font-family: ${ge};
font-size: ${Ce};
line-height: ${Ve};
}
.list {
display: flex;
flex-wrap: wrap;
}
`,Zr=q.Breadcrumb.compose({baseName:"breadcrumb",template:q.breadcrumbTemplate,styles:Yr}),Jr=(e,t)=>xr.css`
${(0,q.display)("inline-flex")} :host {
background: transparent;
box-sizing: border-box;
font-family: ${ge};
font-size: ${Ce};
fill: currentColor;
line-height: ${Ve};
min-width: calc(${kr} * 1px);
outline: none;
color: ${No}
}
.listitem {
display: flex;
align-items: center;
width: max-content;
}
.separator {
margin: 0 6px;
display: flex;
}
.control {
align-items: center;
box-sizing: border-box;
color: ${eo};
cursor: pointer;
display: flex;
fill: inherit;
outline: none;
text-decoration: none;
white-space: nowrap;
}
.control:hover {
color: ${to};
}
.control:active {
color: ${oo};
}
.control .content {
position: relative;
}
.control .content::before {
content: "";
display: block;
height: calc(${ke} * 1px);
left: 0;
position: absolute;
right: 0;
top: calc(1em + 4px);
width: 100%;
}
.control:hover .content::before {
background: ${to};
}
.control:active .content::before {
background: ${oo};
}
.control:${q.focusVisible} .content::before {
background: ${ro};
height: calc(${Fe} * 1px);
}
.control:not([href]) {
color: ${No};
cursor: default;
}
.control:not([href]) .content::before {
background: none;
}
.start,
.end {
display: flex;
}
::slotted(svg) {
/* TODO: adaptive typography https://github.com/microsoft/fast/issues/2432 */
width: 16px;
height: 16px;
}
.start {
margin-inline-end: 6px;
}
.end {
margin-inline-start: 6px;
}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
.control:hover .content::before,
.control:${q.focusVisible} .content::before {
background: ${wr.LinkText};
}
.start,
.end {
fill: ${wr.ButtonText};
}
`)),Kr=q.BreadcrumbItem.compose({baseName:"breadcrumb-item",template:q.breadcrumbItemTemplate,styles:Jr,separator:"/",shadowOptions:{delegatesFocus:!0}}),Qr=(e,t)=>xr.css`
:host([disabled]),
:host([disabled]:hover),
:host([disabled]:active) {
opacity: ${we};
background-color: ${io};
cursor: ${q.disabledCursor};
}
${Sr}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([disabled]),
:host([disabled]) .control,
:host([disabled]:hover),
:host([disabled]:active) {
forced-color-adjust: none;
background-color: ${wr.ButtonFace};
outline-color: ${wr.GrayText};
color: ${wr.GrayText};
cursor: ${q.disabledCursor};
opacity: 1;
}
`),Hr("accent",xr.css`
:host([appearance='accent'][disabled]),
:host([appearance='accent'][disabled]:hover),
:host([appearance='accent'][disabled]:active) {
background: ${It};
}
${Tr}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance='accent'][disabled]) .control,
:host([appearance='accent'][disabled]) .control:hover {
background: ${wr.ButtonFace};
border-color: ${wr.GrayText};
color: ${wr.GrayText};
}
`))),Hr("error",xr.css`
:host([appearance='error'][disabled]),
:host([appearance='error'][disabled]:hover),
:host([appearance='error'][disabled]:active) {
background: ${Wo};
}
${zr}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance='error'][disabled]) .control,
:host([appearance='error'][disabled]) .control:hover {
background: ${wr.ButtonFace};
border-color: ${wr.GrayText};
color: ${wr.GrayText};
}
`))),Hr("lightweight",xr.css`
:host([appearance='lightweight'][disabled]:hover),
:host([appearance='lightweight'][disabled]:active) {
background-color: transparent;
color: ${eo};
}
:host([appearance='lightweight'][disabled]) .content::before,
:host([appearance='lightweight'][disabled]:hover) .content::before,
:host([appearance='lightweight'][disabled]:active) .content::before {
background: transparent;
}
${jr}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance='lightweight'].disabled) .control {
forced-color-adjust: none;
color: ${wr.GrayText};
}
:host([appearance='lightweight'].disabled)
.control:hover
.content::before {
background: none;
}
`))),Hr("outline",xr.css`
:host([appearance='outline'][disabled]),
:host([appearance='outline'][disabled]:hover),
:host([appearance='outline'][disabled]:active) {
background: transparent;
border-color: ${It};
}
${Lr}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance='outline'][disabled]) .control {
border-color: ${wr.GrayText};
}
`))),Hr("stealth",xr.css`
${Nr}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host([appearance='stealth'][disabled]) {
background: ${wr.ButtonFace};
}
:host([appearance='stealth'][disabled]) .control {
background: ${wr.ButtonFace};
border-color: transparent;
color: ${wr.GrayText};
}
`))));class ea extends q.Button{constructor(){super(...arguments),this.appearance="neutral"}defaultSlottedContentChanged(e,t){const o=this.defaultSlottedContent.filter((e=>e.nodeType===Node.ELEMENT_NODE));1===o.length&&(o[0]instanceof SVGElement||o[0].classList.contains("fa")||o[0].classList.contains("fas"))?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}Dr([xr.attr],ea.prototype,"appearance",void 0),Dr([(0,xr.attr)({attribute:"minimal",mode:"boolean"})],ea.prototype,"minimal",void 0);const ta=ea.compose({baseName:"button",baseClass:q.Button,template:q.buttonTemplate,styles:Qr,shadowOptions:{delegatesFocus:!0}}),oa="box-shadow: 0 0 calc((var(--elevation) * 0.225px) + 2px) rgba(0, 0, 0, calc(.11 * (2 - var(--background-luminance, 1)))), 0 calc(var(--elevation) * 0.4px) calc((var(--elevation) * 0.9px)) rgba(0, 0, 0, calc(.13 * (2 - var(--background-luminance, 1))));",ra=(e,t)=>xr.css`
${(0,q.display)("block")} :host {
--elevation: 4;
display: block;
contain: content;
height: var(--card-height, 100%);
width: var(--card-width, 100%);
box-sizing: border-box;
background: ${Ht};
border-radius: calc(${ve} * 1px);
${oa}
}
`.withBehaviors((0,q.forcedColorsStylesheetBehavior)(xr.css`
:host {
forced-color-adjust: none;
background: ${wr.Canvas};
box-shadow: 0 0 0 1px ${wr.CanvasText};
}
`));class aa extends q.Card{connectedCallback(){super.connectedCallback();const e=(0,q.composedParent)(this);e&&Ht.setValueFor(this,(t=>Co.getValueFor(t).evaluate(t,Ht.getValueFor(e))))}}const ia=aa.compose({baseName:"card",baseClass:q.Card,template:q.cardTemplate,styles:ra}),la=(e,t)=>xr.css`
${(0,q.display)("inline-flex")} :host {
align-items: center;
outline: none;
margin: calc(${xe} * 1px) 0;
/* Chromium likes to select label text or the default slot when the checkbox is
clicked. Maybe there is a better solution here? */
user-select: none;
}
.control {
position: relative;
width: calc((${kr} / 2 + ${xe}) * 1px);
height: calc((${kr} / 2 + ${xe}) * 1px);
box-sizing: border-box;
border-radius: calc(${ve} * 1px);
border: calc(${ke} * 1px) solid ${Oo};
background: ${ho};
outline: none;
cursor: pointer;
}
:host([aria-invalid='true']) .control {
border-color: ${Wo};
}
.label {