@fluid-topics/ft-pager 1.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1222 @@
1
+ !function(t,o,e,i,r,n){const a=e.css`
2
+
3
+ [part="container"] {
4
+ display: flex;
5
+ gap: 4px;
6
+ flex-wrap: nowrap;
7
+ align-items: center;
8
+ justify-content: center;
9
+ }
10
+ `,l=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),s={color:l,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",l),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),f=c,p=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",c),d=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),h=d,g=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",d),u=e.css`
11
+ :host {
12
+ display: contents;
13
+ }
14
+
15
+ .ft-ripple {
16
+ position: absolute;
17
+ inset: 0;
18
+ pointer-events: none;
19
+ }
20
+
21
+ .ft-ripple:not(.ft-ripple--unbounded) {
22
+ overflow: hidden;
23
+ border-radius: ${s.borderRadius};
24
+ }
25
+
26
+ .ft-ripple .ft-ripple--background,
27
+ .ft-ripple .ft-ripple--effect {
28
+ position: absolute;
29
+ opacity: 0;
30
+ }
31
+
32
+ .ft-ripple .ft-ripple--effect {
33
+ aspect-ratio: 1;
34
+ width: auto;
35
+ height: auto;
36
+ min-width: 170%;
37
+ min-height: 170%;
38
+ }
39
+
40
+ .ft-ripple .ft-ripple--background{
41
+ width: 100%;
42
+ height: 100%;
43
+ }
44
+
45
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
46
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
47
+ aspect-ratio: 1;
48
+ width: auto;
49
+ height: auto;
50
+ max-width: unset;
51
+ max-height: unset;
52
+ min-width: 100%;
53
+ min-height: 100%;
54
+ }
55
+
56
+ .ft-ripple .ft-ripple--background {
57
+ background-color: ${s.backgroundColor};
58
+ }
59
+
60
+ .ft-ripple .ft-ripple--effect {
61
+ background-color: ${s.color};
62
+ }
63
+
64
+ .ft-ripple.ft-ripple--secondary .ft-ripple--background {
65
+ background-color: ${g};
66
+ }
67
+
68
+ .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
69
+ background-color: ${h};
70
+ }
71
+
72
+ .ft-ripple.ft-ripple--primary .ft-ripple--background {
73
+ background-color: ${p};
74
+ }
75
+
76
+ .ft-ripple.ft-ripple--primary .ft-ripple--effect {
77
+ background-color: ${f};
78
+ }
79
+
80
+ .ft-ripple .ft-ripple--background {
81
+ top: 0;
82
+ left: 0;
83
+ transition: opacity 75ms linear;
84
+ }
85
+
86
+ .ft-ripple .ft-ripple--effect,
87
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
88
+ border-radius: 50%;
89
+ }
90
+
91
+ .ft-ripple .ft-ripple--effect {
92
+ transform: translate(-50%, -50%) scale(0.15);
93
+ transition: transform 300ms ease, opacity 75ms linear;
94
+ }
95
+
96
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
97
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
98
+ left: 50%;
99
+ top: 50%;
100
+ }
101
+
102
+ .ft-ripple.ft-ripple--unbounded .ft-ripple--background {
103
+ transform: translate(-50%, -50%);
104
+ }
105
+
106
+ .ft-ripple.ft-ripple--hovered .ft-ripple--background {
107
+ opacity: ${s.opacityContentOnSurfaceHover};
108
+ }
109
+
110
+ .ft-ripple.ft-ripple--selected .ft-ripple--background {
111
+ opacity: ${s.opacityContentOnSurfaceSelected};
112
+ }
113
+
114
+ .ft-ripple.ft-ripple--focused .ft-ripple--background {
115
+ opacity: ${s.opacityContentOnSurfaceFocused};
116
+ }
117
+
118
+ .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
119
+ opacity: ${s.opacityContentOnSurfacePressed};
120
+ transform: translate(-50%, -50%) scale(1);
121
+ }
122
+ `,y=t=>"string"==typeof t?e.unsafeCSS(t):t;class b{static create(t,o,i,r){const n=t=>y(null!=t?t:r),a=e.css`var(${y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${y(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${y(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):y(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${y(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${y(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const m={colorWhite:b.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:b.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:b.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:b.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:b.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:b.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:b.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:b.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:b.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:b.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:b.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:b.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:b.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:b.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:b.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:b.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:b.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:b.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:b.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:b.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:b.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:b.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:b.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:b.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:b.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:b.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:b.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:b.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:b.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:b.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:b.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:b.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:b.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:b.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:b.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:b.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:b.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:b.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:b.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:b.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:b.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:b.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:b.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:b.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:b.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:b.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:b.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:b.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:b.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:b.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:b.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:b.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:b.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:b.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:b.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:b.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:b.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:b.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:b.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:b.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:b.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:b.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:b.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:b.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:b.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:b.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:b.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:b.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:b.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:b.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:b.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:b.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:b.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:b.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:b.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:b.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:b.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:b.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:b.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:b.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:b.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:b.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:b.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:b.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:b.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:b.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:b.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:b.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:b.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:b.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:b.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:b.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:b.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:b.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:b.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:b.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:b.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:b.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:b.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:b.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:b.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:b.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:b.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:b.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:b.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:b.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:b.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:b.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:b.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:b.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:b.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:b.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:b.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:b.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:b.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:b.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:b.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:b.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:b.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:b.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:b.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:b.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:b.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:b.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:b.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:b.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:b.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:b.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:b.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:b.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:b.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:b.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:b.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:b.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:b.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:b.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:b.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:b.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:b.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:b.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:b.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:b.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:b.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:b.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:b.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:b.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:b.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:b.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:b.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:b.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:b.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:b.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:b.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:b.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:b.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:b.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:b.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:b.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:b.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:b.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:b.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:b.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:b.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:b.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:b.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:b.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:b.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:b.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:b.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:b.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:b.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:b.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:b.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:b.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:b.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:b.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:b.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:b.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:b.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:b.create("--ft-icon-size-6","","SIZE","48px"),opacity0:b.create("--ft-opacity-0","","NUMBER","0"),opacity8:b.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:b.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:b.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:b.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:b.create("--ft-opacity-80","","NUMBER","0.8")},x={display:{fontFamily:b.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:b.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:b.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:b.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:b.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:b.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:b.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:b.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:b.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:b.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:b.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:b.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:b.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:b.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:b.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:b.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:b.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:b.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:b.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:b.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:b.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:b.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:b.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:b.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:b.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:b.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:b.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},v={backgroundActionPrimary:b.extend("--ft-background-action-primary","Used as backgorund of primary action components.",m.colorBrand0),backgroundErrorPrimary:b.extend("--ft-background-error-primary","Used as background of error components.",m.colorRed0),backgroundErrorSubtle:b.extend("--ft-background-error-subtle","Used as background of subtle error components.",m.colorRed10),backgroundInfoPrimary:b.extend("--ft-background-info-primary","Used as background of information components.",m.colorCyan200),backgroundInfoSubtle:b.extend("--ft-background-info-subtle","Used as background of subtle information components.",m.colorCyan10),backgroundWarningPrimary:b.extend("--ft-background-warning-primary","Used as background of warning components.",m.colorOrange300),backgroundWarningSubtle:b.extend("--ft-background-warning-subtle","Used as background of subtle information components.",m.colorOrange10),backgroundSuccessPrimary:b.extend("--ft-background-success-primary","Used as background of success components.",m.colorGreen200),backgroundSuccessSubtle:b.extend("--ft-background-success-subtle","Used as background of subtle success components.",m.colorGreen10),backgroundGlobalSurface:b.extend("--ft-background-global-surface","Used as app background.",m.colorWhite),backgroundGlobalOnSurface:b.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",m.colorGray10),backgroundGlobalOnSurfaceDark:b.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",m.colorGray30),contentActionPrimary:b.extend("--ft-content-action-primary","Used on label of primary action on light surface.",m.colorBrand0),contentWarningPrimary:b.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",m.colorOrange300),contentWarningIconOnly:b.extend("--ft-content-warning-icon-only","Used on warning status icons alone",m.colorOrange0),contentErrorPrimary:b.extend("--ft-content-error-primary","Used on label of error messages on light surface.",m.colorRed0),contentErrorIconOnly:b.extend("--ft-content-error-icon-only","Used on error status icons alone",m.colorRed0),contentInfoPrimary:b.extend("--ft-content-info-primary","Used on label of information messages on light surface.",m.colorCyan200),contentInfoIconOnly:b.extend("--ft-content-info-icon-only","Used on info status icons alone",m.colorCyan0),contentSuccessIconOnly:b.extend("--ft-content-success-icon-only","Used on success status icons alone",m.colorGreen0),contentSuccessPrimary:b.extend("--ft-content-success-primary","Used on label of success messages on light surface.",m.colorGreen200),contentGlobalPrimary:b.extend("--ft-content-global-primary","Used for main content on the page.",m.colorGray500),contentGlobalSecondary:b.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",m.colorGray200),contentGlobalSubtle:b.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",m.colorGray0),contentGlobalOnColor:b.extend("--ft-content-global-on-color","Used for content on a dominant color.",m.colorWhite),borderActionPrimary:b.extend("--ft-border-action-primary","Used as border for primary action components.",m.colorBrand0),borderActionFocusRing:b.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",m.colorCyan0),borderWarningPrimary:b.extend("--ft-border-warning-primary","Used as border for warning components.",m.colorOrange30),borderSuccessPrimary:b.extend("--ft-border-success-primary","Used as border for success components.",m.colorGreen30),borderErrorPrimary:b.extend("--ft-border-error-primary","Used as border for error components.",m.colorRed30),borderInfoPrimary:b.extend("--ft-border-info-primary","Used as border for information components.",m.colorCyan30),borderGlobalSubtle:b.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",m.colorGray30),borderGlobalPrimary:b.extend("--ft-border-global-primary","Used as border for element like input.",m.colorGray50),borderInputPrimary:b.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",m.colorGray80)},O={largeHeight:b.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:b.extend("--ft-button-large-horizontal-padding","",m.spacing4),largeGap:b.extend("--ft-button-large-gap","",m.spacing2),largeBorderRadius:b.extend("--ft-button-large-border-radius","",m.borderRadiusS),largeIconSize:b.extend("--ft-button-large-icon-size","",m.iconSize3),largeBorderWidth:b.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:b.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:b.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:b.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:b.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:b.extend("--ft-button-small-horizontal-padding","",m.spacing3),smallGap:b.extend("--ft-button-small-gap","",m.spacing2),smallBorderRadius:b.extend("--ft-button-small-border-radius","",m.borderRadiusS),smallIconSize:b.extend("--ft-button-small-icon-size","",m.iconSize2),smallBorderWidth:b.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:b.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:b.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:b.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:b.extend("--ft-button-primary-background-color","",v.backgroundActionPrimary),primaryColor:b.extend("--ft-button-primary-color","",v.contentGlobalOnColor),primaryIconColor:b.extend("--ft-button-primary-icon-color","",v.contentGlobalOnColor),primaryStateLayerColor:b.extend("--ft-button-primary-state-layer-color","",v.contentGlobalOnColor),primaryStateLayerOpacityHover:b.extend("--ft-button-primary-state-layer-opacity-hover","",m.opacity16),primaryStateLayerOpacityFocus:b.extend("--ft-button-primary-state-layer-opacity-focus","",m.opacity16),primaryStateLayerOpacityActive:b.extend("--ft-button-primary-state-layer-opacity-active","",m.opacity24),primaryComponentOpacityDisabled:b.extend("--ft-button-primary-component-opacity-disabled","",m.opacity40),focusFocusRingColor:b.extend("--ft-button-focus-focus-ring-color","",v.borderActionFocusRing),tertiaryBackgroundColor:b.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:b.extend("--ft-button-tertiary-color","",v.contentActionPrimary),tertiaryIconColor:b.extend("--ft-button-tertiary-icon-color","",v.contentActionPrimary),tertiaryStateLayerColor:b.extend("--ft-button-tertiary-state-layer-color","",v.contentActionPrimary),tertiaryStateLayerOpacityHover:b.extend("--ft-button-tertiary-state-layer-opacity-hover","",m.opacity8),tertiaryStateLayerOpacityFocus:b.extend("--ft-button-tertiary-state-layer-opacity-focus","",m.opacity8),tertiaryStateLayerOpacityActive:b.extend("--ft-button-tertiary-state-layer-opacity-active","",m.opacity16),tertiaryComponentOpacityDisabled:b.extend("--ft-button-tertiary-component-opacity-disabled","",m.opacity40),secondaryBackgroundColor:b.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:b.extend("--ft-button-secondary-color","",v.contentActionPrimary),secondaryIconColor:b.extend("--ft-button-secondary-icon-color","",v.contentActionPrimary),secondaryStateLayerColor:b.extend("--ft-button-secondary-state-layer-color","",v.contentActionPrimary),secondaryStateLayerOpacityHover:b.extend("--ft-button-secondary-state-layer-opacity-hover","",m.opacity8),secondaryStateLayerOpacityFocus:b.extend("--ft-button-secondary-state-layer-opacity-focus","",m.opacity8),secondaryStateLayerOpacityActive:b.extend("--ft-button-secondary-state-layer-opacity-active","",m.opacity16),secondaryComponentOpacityDisabled:b.extend("--ft-button-secondary-component-opacity-disabled","",m.opacity40),secondaryBorderColor:b.extend("--ft-button-secondary-border-color","",v.borderActionPrimary),neutralBackgroundColor:b.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:b.extend("--ft-button-neutral-icon-color","",v.contentGlobalSecondary),neutralColor:b.extend("--ft-button-neutral-color","",v.contentGlobalSecondary),neutralStateLayerColor:b.extend("--ft-button-neutral-state-layer-color","",v.contentGlobalSecondary),neutralStateLayerOpacityHover:b.extend("--ft-button-neutral-state-layer-opacity-hover","",m.opacity8),neutralStateLayerOpacityFocus:b.extend("--ft-button-neutral-state-layer-opacity-focus","",m.opacity8),neutralStateLayerOpacityActive:b.extend("--ft-button-neutral-state-layer-opacity-active","",m.opacity16),neutralComponentOpacityDisabled:b.extend("--ft-button-neutral-component-opacity-disabled","",m.opacity40)};b.extend("--ft-tabs-top-left-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-top-right-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-label-horizontal-padding","",m.spacing4),b.extend("--ft-tabs-label-vertical-padding","",m.spacing3),b.extend("--ft-tabs-label-gap","",m.spacing1),b.extend("--ft-switch-group-horizontal-padding","",m.spacing1),b.extend("--ft-switch-group-vertical-padding","",m.spacing1),b.extend("--ft-switch-group-gap","",m.spacing1),b.extend("--ft-switch-group-background-color","",v.backgroundGlobalSurface),b.extend("--ft-switch-group-border-color","",v.borderGlobalSubtle),b.create("--ft-switch-group-border-radius","","SIZE","6px"),b.extend("--ft-switch-label-horizontal-padding","",m.spacing2),b.extend("--ft-switch-label-vertical-padding","",m.spacing1),b.extend("--ft-switch-icon-horizontal-padding","",m.spacing1),b.extend("--ft-switch-icon-vertical-padding","",m.spacing1),b.create("--ft-switch-focus-outline-width","","SIZE","2px"),b.extend("--ft-switch-focus-focus-ring-color","",v.borderActionFocusRing),b.extend("--ft-switch-option-border-radius","",m.borderRadiusS),b.extend("--ft-switch-off-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-switch-off-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-switch-off-state-layer-opacity-active","",m.opacity16),b.extend("--ft-switch-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-switch-off-color","",v.contentGlobalSubtle),b.extend("--ft-switch-off-state-layer-color","",v.contentGlobalSubtle),b.extend("--ft-chart-1-light","for area color charts",m.colorBrand40),b.extend("--ft-chart-1-base","for line charts",m.colorBrand0),b.extend("--ft-chart-2-light","for area color charts",m.colorYellow60),b.extend("--ft-chart-2-base","for line charts",m.colorYellow100),b.extend("--ft-chart-3-light","",m.colorUltramarine40),b.extend("--ft-chart-3-base","",m.colorUltramarine70),b.extend("--ft-chart-4-light","",m.colorCyan50),b.extend("--ft-chart-4-base","",m.colorCyan100),b.extend("--ft-chart-5-light","",m.colorRed40),b.extend("--ft-chart-5-base","",m.colorRed60),b.extend("--ft-chart-6-light","",m.colorGreen40),b.extend("--ft-chart-6-base","",m.colorGreen70),b.extend("--ft-chart-7-light","",m.colorOrange70),b.extend("--ft-chart-7-base","",m.colorOrange100),b.extend("--ft-chart-8-light","",m.colorAvocado70),b.extend("--ft-chart-8-base","",m.colorAvocado200),b.extend("--ft-chart-9-light","",m.colorBrown50),b.extend("--ft-chart-9-base","",m.colorBrown200),b.extend("--ft-chart-10-light","",m.colorGray50),b.extend("--ft-chart-10-base","",m.colorGray80),b.extend("--ft-chart-monochrome-10","",m.colorBrand10),b.extend("--ft-chart-monochrome-20","",m.colorBrand20),b.extend("--ft-chart-monochrome-30","",m.colorBrand40),b.extend("--ft-chart-monochrome-40","",m.colorBrand60),b.extend("--ft-chart-monochrome-50","",m.colorBrand0),b.extend("--ft-chart-monochrome-60","",m.colorBrand200),b.extend("--ft-chip-large-horizontal-padding","",m.spacing4),b.extend("--ft-chip-large-vertical-padding","",m.spacing2),b.extend("--ft-chip-large-gap","",m.spacing1),b.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-large-border-radius","",m.borderRadiusPill),b.create("--ft-chip-large-border-width","","SIZE","1px"),b.extend("--ft-chip-large-icon-size","",m.iconSize3),b.extend("--ft-chip-medium-horizontal-padding","",m.spacing3),b.extend("--ft-chip-medium-vertical-padding","",m.spacing1),b.extend("--ft-chip-medium-gap","",m.spacing1),b.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-medium-border-radius","",m.borderRadiusPill),b.create("--ft-chip-medium-border-width","","SIZE","1px"),b.extend("--ft-chip-medium-icon-size","",m.iconSize2),b.extend("--ft-chip-small-horizontal-padding","",m.spacing2),b.extend("--ft-chip-small-vertical-padding","",m.spacing05),b.extend("--ft-chip-small-gap","",m.spacing1),b.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-small-border-radius","",m.borderRadiusPill),b.create("--ft-chip-small-border-width","","SIZE","1px"),b.extend("--ft-chip-small-icon-size","",m.iconSize1),b.extend("--ft-chip-neutral-background-color","",v.backgroundGlobalOnSurface),b.extend("--ft-chip-neutral-color","",v.contentGlobalPrimary),b.extend("--ft-chip-neutral-border-color","",v.borderGlobalSubtle),b.extend("--ft-chip-info-background-color","",v.backgroundInfoSubtle),b.extend("--ft-chip-info-color","",v.contentInfoPrimary),b.extend("--ft-chip-info-border-color","",v.borderInfoPrimary),b.extend("--ft-chip-success-background-color","",v.backgroundSuccessSubtle),b.extend("--ft-chip-success-color","",v.contentSuccessPrimary),b.extend("--ft-chip-success-border-color","",v.borderSuccessPrimary),b.extend("--ft-chip-warning-background-color","",v.backgroundWarningSubtle),b.extend("--ft-chip-warning-color","",v.contentWarningPrimary),b.extend("--ft-chip-warning-border-color","",v.borderWarningPrimary),b.extend("--ft-chip-error-background-color","",v.backgroundErrorSubtle),b.extend("--ft-chip-error-color","",v.contentErrorPrimary),b.extend("--ft-chip-error-border-color","",v.borderErrorPrimary),b.create("--ft-notice-border-width","","SIZE","1px"),b.extend("--ft-notice-horizontal-padding","",m.spacing2),b.extend("--ft-notice-vertical-padding","",m.spacing1),b.extend("--ft-notice-border-radius","",m.borderRadiusS),b.extend("--ft-notice-gap","",m.spacing2),b.extend("--ft-notice-icon-size","",m.iconSize3),b.extend("--ft-notice-info-background-color","",v.backgroundInfoSubtle),b.extend("--ft-notice-info-border-color","",v.borderInfoPrimary),b.extend("--ft-notice-info-color","",v.contentInfoPrimary),b.extend("--ft-notice-warning-background-color","",v.backgroundWarningSubtle),b.extend("--ft-notice-warning-border-color","",v.borderWarningPrimary),b.extend("--ft-notice-warning-color","",v.contentWarningPrimary),b.extend("--ft-checkbox-label-color","",v.contentGlobalPrimary),b.extend("--ft-checkbox-checked-background-color","",v.contentActionPrimary),b.extend("--ft-checkbox-checked-state-layer-color","",v.contentActionPrimary),b.extend("--ft-checkbox-checked-color","",v.contentGlobalOnColor),b.extend("--ft-checkbox-checked-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-active","",m.opacity24),b.extend("--ft-checkbox-checked-component-opacity-disabled","",m.opacity40),b.extend("--ft-checkbox-unchecked-border-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",m.opacity24),b.extend("--ft-checkbox-unchecked-component-opacity-disabled","",m.opacity40),b.extend("--ft-checkbox-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),b.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),b.extend("--ft-checkbox-gap","",m.spacing3),b.extend("--ft-toggle-off-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-active","",m.opacity24),b.extend("--ft-toggle-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-toggle-off-background-color","",v.contentGlobalSubtle),b.extend("--ft-toggle-off-icon-color","",v.contentGlobalSubtle),b.extend("--ft-toggle-off-state-layer-color","",v.contentGlobalSubtle),b.extend("--ft-toggle-on-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-active","",m.opacity24),b.extend("--ft-toggle-on-component-opacity-disabled","",m.opacity40),b.extend("--ft-toggle-on-background-color","",v.contentActionPrimary),b.extend("--ft-toggle-on-icon-color","",v.contentActionPrimary),b.extend("--ft-toggle-on-state-layer-color","",v.contentActionPrimary),b.extend("--ft-toggle-label-color","",v.contentGlobalPrimary),b.extend("--ft-toggle-focus-focus-ring-color","",v.borderActionFocusRing),b.extend("--ft-toggle-gap","",m.spacing3),b.extend("--ft-radio-label-color","",v.contentGlobalPrimary),b.extend("--ft-radio-selected-color","",v.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-color","",v.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-active","",m.opacity24),b.extend("--ft-radio-selected-component-opacity-disabled","",m.opacity40),b.extend("--ft-radio-unselected-state-layer-color","",m.colorGray80),b.extend("--ft-radio-unselected-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-active","",m.opacity24),b.extend("--ft-radio-unselected-component-opacity-disabled","",m.opacity40),b.extend("--ft-radio-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-radio-focus-outline-offset","","SIZE","3px"),b.create("--ft-radio-focus-outline-width","","SIZE","2px"),b.extend("--ft-radio-gap","",m.spacing3),b.extend("--ft-notification-icon-size","",m.iconSize4),b.extend("--ft-notification-horizontal-padding","",m.spacing4),b.extend("--ft-notification-vertical-padding","",m.spacing4),b.extend("--ft-notification-info-background-color","",v.backgroundInfoSubtle),b.extend("--ft-notification-info-color","",v.contentInfoPrimary),b.extend("--ft-notification-info-border-color","",v.borderInfoPrimary),b.extend("--ft-notification-success-background-color","",v.backgroundSuccessSubtle),b.extend("--ft-notification-success-color","",v.contentSuccessPrimary),b.extend("--ft-notification-success-border-color","",v.borderSuccessPrimary),b.extend("--ft-notification-warning-background-color","",v.backgroundWarningSubtle),b.extend("--ft-notification-warning-color","",v.contentWarningPrimary),b.extend("--ft-notification-warning-border-color","",v.borderWarningPrimary),b.extend("--ft-notification-error-background-color","",v.backgroundErrorSubtle),b.extend("--ft-notification-error-color","",v.contentErrorPrimary),b.extend("--ft-notification-error-border-color","",v.borderErrorPrimary),b.extend("--ft-notification-border-radius","",m.borderRadiusPill),b.create("--ft-notification-border-width","","SIZE","1px"),b.extend("--ft-notification-gap-leading","",m.spacing2),b.extend("--ft-notification-gap-trailing","",m.spacing8);const N=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),$=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),S={fontFamily:$,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},w=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",N),C=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),k=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),R=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),E=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit"),U=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",N),W=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit"),V={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit")},X=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$),q=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),J=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),Q=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),tt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),ot=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit"),et={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit")},it=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$),rt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),nt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),st=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit"),ct=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$),ft=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),pt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),ht=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),gt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase"),ut={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},yt=e.css`
123
+ .ft-typography--title {
124
+ font-family: ${w};
125
+ font-size: ${C};
126
+ font-weight: ${I};
127
+ letter-spacing: ${k};
128
+ line-height: ${R};
129
+ text-transform: ${E};
130
+ }
131
+ `,bt=e.css`
132
+ .ft-typography--title-dense {
133
+ font-family: ${U};
134
+ font-size: ${W};
135
+ font-weight: ${L};
136
+ letter-spacing: ${z};
137
+ line-height: ${Z};
138
+ text-transform: ${K};
139
+ }
140
+ `,mt=e.css`
141
+ .ft-typography--subtitle1 {
142
+ font-family: ${B};
143
+ font-size: ${F};
144
+ font-weight: ${D};
145
+ letter-spacing: ${A};
146
+ line-height: ${H};
147
+ text-transform: ${P};
148
+ }
149
+ `,xt=e.css`
150
+ .ft-typography--subtitle2 {
151
+ font-family: ${G};
152
+ font-size: ${j};
153
+ font-weight: ${M};
154
+ letter-spacing: ${T};
155
+ line-height: ${Y};
156
+ text-transform: ${_};
157
+ }
158
+
159
+ `,vt=e.css`
160
+ .ft-typography--body1 {
161
+ font-family: ${V.fontFamily};
162
+ font-size: ${V.fontSize};
163
+ font-weight: ${V.fontWeight};
164
+ letter-spacing: ${V.letterSpacing};
165
+ line-height: ${V.lineHeight};
166
+ text-transform: ${V.textTransform};
167
+ }
168
+ `,Ot=e.css`
169
+ .ft-typography--body2 {
170
+ font-family: ${X};
171
+ font-size: ${q};
172
+ font-weight: ${J};
173
+ letter-spacing: ${Q};
174
+ line-height: ${tt};
175
+ text-transform: ${ot};
176
+ }
177
+ `,Nt=e.css`
178
+ .ft-typography--caption {
179
+ font-family: ${et.fontFamily};
180
+ font-size: ${et.fontSize};
181
+ font-weight: ${et.fontWeight};
182
+ letter-spacing: ${et.letterSpacing};
183
+ line-height: ${et.lineHeight};
184
+ text-transform: ${et.textTransform};
185
+ }
186
+ `,$t=e.css`
187
+ .ft-typography--breadcrumb {
188
+ font-family: ${it};
189
+ font-size: ${rt};
190
+ font-weight: ${nt};
191
+ letter-spacing: ${at};
192
+ line-height: ${lt};
193
+ text-transform: ${st};
194
+ }
195
+ `,St=e.css`
196
+ .ft-typography--overline {
197
+ font-family: ${ct};
198
+ font-size: ${ft};
199
+ font-weight: ${pt};
200
+ letter-spacing: ${dt};
201
+ line-height: ${ht};
202
+ text-transform: ${gt};
203
+ }
204
+ `,wt=e.css`
205
+ .ft-typography--button {
206
+ font-family: ${ut.fontFamily};
207
+ font-size: ${ut.fontSize};
208
+ font-weight: ${ut.fontWeight};
209
+ letter-spacing: ${ut.letterSpacing};
210
+ line-height: ${ut.lineHeight};
211
+ text-transform: ${ut.textTransform};
212
+ }
213
+ `,Ct=e.css`
214
+ .ft-typography {
215
+ vertical-align: inherit;
216
+ }
217
+ `,It=[Object.keys(x).map((t=>function(t){const o=x[t];return e.css`
218
+ .ft-typography--${e.unsafeCSS(t)} {
219
+ font-family: ${o.fontFamily};
220
+ font-size: ${o.fontSize};
221
+ font-weight: ${o.fontWeight};
222
+ letter-spacing: ${o.letterSpacing};
223
+ line-height: ${o.lineHeight};
224
+ text-transform: ${o.textCase};
225
+ }
226
+ `}(t)))],kt={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Rt=e.css`
227
+ :host {
228
+ line-height: 0;
229
+ }
230
+
231
+ .ft-loader {
232
+ display: inline-block;
233
+ position: relative;
234
+
235
+ width: ${kt.size};
236
+ height: ${kt.size};
237
+ }
238
+
239
+ .ft-loader div {
240
+ position: absolute;
241
+ top: 37.5%;
242
+ width: 25%;
243
+ height: 25%;
244
+ border-radius: 50%;
245
+ background: ${kt.color};
246
+ animation-timing-function: cubic-bezier(0, 1, 1, 0);
247
+ }
248
+
249
+ .ft-loader div:nth-child(1) {
250
+ left: 2.5%;
251
+ animation: appear 0.6s infinite;
252
+ }
253
+
254
+ .ft-loader div:nth-child(2) {
255
+ left: 2.5%;
256
+ animation: move 0.6s infinite;
257
+ }
258
+
259
+ .ft-loader div:nth-child(3) {
260
+ left: 37.5%;
261
+ animation: move 0.6s infinite;
262
+ }
263
+
264
+ .ft-loader div:nth-child(4) {
265
+ left: 72.5%;
266
+ animation: disappear 0.6s infinite;
267
+ }
268
+
269
+ @keyframes appear {
270
+ 0% {
271
+ transform: scale(0);
272
+ }
273
+ 100% {
274
+ transform: scale(1);
275
+ }
276
+ }
277
+
278
+ @keyframes disappear {
279
+ 0% {
280
+ transform: scale(1);
281
+ }
282
+ 100% {
283
+ transform: scale(0);
284
+ }
285
+ }
286
+
287
+ @keyframes move {
288
+ 0% {
289
+ transform: translate(0, 0);
290
+ }
291
+ 100% {
292
+ transform: translate(calc(0.35 * ${kt.size}), 0);
293
+ }
294
+ }
295
+ `,Et={size:o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ut=e.css`
296
+ :host, i.ft-icon {
297
+ display: inline-flex;
298
+ align-items: center;
299
+ flex-shrink: 0;
300
+ flex-grow: 0;
301
+ }
302
+
303
+ :host {
304
+ width: ${Et.size};
305
+ height: ${Et.size};
306
+ }
307
+
308
+ i.ft-icon {
309
+ width: 100%;
310
+ height: 100%;
311
+ font-size: ${Et.size};
312
+ line-height: 1;
313
+ font-weight: normal;
314
+ text-transform: none;
315
+ font-style: normal;
316
+ font-variant: normal;
317
+ speak: none;
318
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
319
+ text-rendering: auto;
320
+ -webkit-font-smoothing: antialiased;
321
+ -moz-osx-font-smoothing: grayscale;
322
+ vertical-align: ${Et.verticalAlign};
323
+ }
324
+
325
+ i.ft-icon.ft-icon--fluid-topics {
326
+ font-family: ${Et.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
327
+
328
+ /* Ugly fix because font is broken */
329
+ font-size: calc(0.75 * ${Et.size});
330
+ line-height: ${Et.size};
331
+ position: relative;
332
+ top: -4%;
333
+ justify-content: center;
334
+ }
335
+
336
+ .ft-icon--file-format {
337
+ font-family: ${Et.fileFormatFontFamily}, ft-mime, sans-serif;
338
+ }
339
+
340
+ .ft-icon--material {
341
+ font-family: ${Et.materialFontFamily}, "Material Icons", sans-serif;
342
+ }
343
+ `,Wt=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Lt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Wt,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",ut.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Wt),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},zt=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Zt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:zt,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",zt)},Kt=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Bt=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ft=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Dt=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),At=[e.css`
344
+ :host {
345
+ display: inline-block;
346
+ max-width: 100%;
347
+ pointer-events: none;
348
+ }
349
+
350
+ button {
351
+ box-shadow: 0px 0px 0px transparent;
352
+ border: 0px solid transparent;
353
+ text-shadow: 0px 0px 0px transparent;
354
+ font-size: ${Lt.fontSize};
355
+ }
356
+
357
+ button:hover {
358
+ box-shadow: 0px 0px 0px transparent;
359
+ border: 0px solid transparent;
360
+ text-shadow: 0px 0px 0px transparent;
361
+ }
362
+
363
+ button:active {
364
+ outline: none;
365
+ border: none;
366
+ }
367
+
368
+ button:focus {
369
+ outline: 0;
370
+ }
371
+
372
+ .ft-button {
373
+ position: relative;
374
+ display: flex;
375
+ justify-content: center;
376
+ align-items: center;
377
+ width: 100%;
378
+ overflow: hidden;
379
+ box-sizing: border-box;
380
+ border: none;
381
+ pointer-events: auto;
382
+
383
+ --ft-button-internal-line-height: max(calc(${Lt.fontSize} + 2px), ${Lt.iconSize});
384
+ --ft-button-internal-color: ${Lt.color};
385
+ ${o.setVariable(Et.size,Lt.iconSize)};
386
+ ${o.setVariable(s.color,Lt.rippleColor)};
387
+
388
+ border-radius: ${Lt.borderRadius};
389
+ padding: ${Lt.verticalPadding} ${Lt.horizontalPadding};
390
+ background-color: ${Lt.backgroundColor};
391
+ color: var(--ft-button-internal-color);
392
+ -webkit-mask-image: radial-gradient(white, black);
393
+ }
394
+
395
+ .ft-button.ft-button--outlined {
396
+ border: 1px solid var(--ft-button-internal-color);
397
+ padding: calc(${Lt.verticalPadding} - 1px) calc(${Lt.horizontalPadding} - 1px);
398
+ }
399
+
400
+ .ft-button.ft-button--dense {
401
+ padding: ${Bt} ${Ft};
402
+ border-radius: ${Kt};
403
+ gap: ${Dt};
404
+ }
405
+
406
+ .ft-button.ft-button--dense.ft-button--outlined {
407
+ padding: calc(${Bt} - 1px) calc(${Ft} - 1px);
408
+ }
409
+
410
+ .ft-button:not([disabled]):hover {
411
+ cursor: pointer;
412
+ }
413
+
414
+ .ft-button--round {
415
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Lt.verticalPadding});
416
+ }
417
+
418
+ .ft-button--round.ft-button--dense {
419
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Bt});
420
+ }
421
+
422
+ .ft-button[disabled] {
423
+ filter: grayscale(1);
424
+ opacity: ${Lt.opacityDisabled};
425
+ }
426
+
427
+ .ft-button.ft-button--primary {
428
+ background-color: ${Zt.backgroundColor};
429
+ --ft-button-internal-color: ${Zt.color};
430
+ ${o.setVariable(s.color,Zt.rippleColor)};
431
+ }
432
+
433
+ .ft-button:focus {
434
+ outline: none;
435
+ }
436
+
437
+ .ft-button--label {
438
+ position: relative;
439
+ overflow: hidden;
440
+ white-space: nowrap;
441
+ text-overflow: ellipsis;
442
+ display: block;
443
+ margin: 0 ${Lt.iconPadding};
444
+ ${o.setVariable(ut.fontSize,"1em")};
445
+ ${o.setVariable(ut.lineHeight,"var(--ft-button-internal-line-height)")};
446
+ }
447
+
448
+ .ft-button--dense .ft-button--label {
449
+ margin: 0 ${Dt};
450
+ }
451
+
452
+ .ft-button--label[hidden] {
453
+ display: none;
454
+ }
455
+
456
+ ft-icon {
457
+ flex-shrink: 0;
458
+ position: relative;
459
+ }
460
+
461
+ .ft-button--label[hidden] + ft-icon {
462
+ margin: 0 calc(${Lt.horizontalPadding} * -1);
463
+ padding: 0 ${Lt.verticalPadding};
464
+ }
465
+
466
+ .ft-button--dense .ft-button--label[hidden] + ft-icon {
467
+ margin: 0 calc(${Ft} * -1);
468
+ padding: 0 ${Bt};
469
+ }
470
+
471
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
472
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
473
+ order: -1;
474
+ }
475
+
476
+ ft-loader {
477
+ ${o.setVariable(kt.size,Lt.iconSize)};
478
+ ${o.setVariable(kt.color,"var(--ft-button-internal-color)")};
479
+ }
480
+ `,o.noTextSelect];var Ht=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Pt extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
481
+ <style>
482
+ .ft-ripple .ft-ripple--effect {
483
+ left: ${this.originX}px;
484
+ top: ${this.originY}px;
485
+ }
486
+ </style>
487
+ <div class="${r.classMap(t)}">
488
+ <div class="ft-ripple--background"></div>
489
+ <div class="ft-ripple--effect"></div>
490
+ </div>
491
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Pt.elementDefinitions={},Pt.styles=u,Ht([i.property({type:Boolean})],Pt.prototype,"primary",void 0),Ht([i.property({type:Boolean})],Pt.prototype,"secondary",void 0),Ht([i.property({type:Boolean})],Pt.prototype,"unbounded",void 0),Ht([i.property({type:Boolean})],Pt.prototype,"activated",void 0),Ht([i.property({type:Boolean})],Pt.prototype,"selected",void 0),Ht([i.property({type:Boolean})],Pt.prototype,"disabled",void 0),Ht([i.state()],Pt.prototype,"hovered",void 0),Ht([i.state()],Pt.prototype,"focused",void 0),Ht([i.state()],Pt.prototype,"pressed",void 0),Ht([i.state()],Pt.prototype,"rippling",void 0),Ht([i.state()],Pt.prototype,"originX",void 0),Ht([i.state()],Pt.prototype,"originY",void 0),Ht([i.query(".ft-ripple")],Pt.prototype,"ripple",void 0),Ht([i.query(".ft-ripple--effect")],Pt.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Pt);
492
+ /**
493
+ * @license
494
+ * Copyright 2017 Google LLC
495
+ * SPDX-License-Identifier: BSD-3-Clause
496
+ */
497
+ const Gt=globalThis,jt=Gt.trustedTypes,Mt=jt?jt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Tt="$lit$",Yt=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+Yt,Vt=`<${_t}>`,Xt=document,qt=()=>Xt.createComment(""),Jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Qt=Array.isArray,to="[ \t\n\f\r]",oo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,eo=/-->/g,io=/>/g,ro=RegExp(`>|${to}(?:([^\\s"'>=/]+)(${to}*=${to}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),no=/'/g,ao=/"/g,lo=/^(?:script|style|textarea|title)$/i,so=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),co=Symbol.for("lit-noChange"),fo=Symbol.for("lit-nothing"),po=new WeakMap,ho=Xt.createTreeWalker(Xt,129);function go(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Mt?Mt.createHTML(o):o}const uo=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=oo;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===oo?"!--"===s[1]?a=eo:void 0!==s[1]?a=io:void 0!==s[2]?(lo.test(s[2])&&(r=RegExp("</"+s[2],"g")),a=ro):void 0!==s[3]&&(a=ro):a===ro?">"===s[0]?(a=r??oo,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?ro:'"'===s[3]?ao:no):a===ao||a===no?a=ro:a===eo||a===io?a=oo:(a=ro,r=void 0);const p=a===ro&&t[o+1].startsWith("/>")?" ":"";n+=a===oo?e+Vt:c>=0?(i.push(l),e.slice(0,c)+Tt+e.slice(c)+Yt+p):e+Yt+(-2===c?o:p)}return[go(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class yo{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[s,c]=uo(t,o);if(this.el=yo.createElement(s,e),ho.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ho.nextNode())&&l.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Tt)){const o=c[n++],e=i.getAttribute(t).split(Yt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?Oo:"?"===a[1]?No:"@"===a[1]?$o:vo}),i.removeAttribute(t)}else t.startsWith(Yt)&&(l.push({type:6,index:r}),i.removeAttribute(t));if(lo.test(i.tagName)){const t=i.textContent.split(Yt),o=t.length-1;if(o>0){i.textContent=jt?jt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],qt()),ho.nextNode(),l.push({type:2,index:++r});i.append(t[o],qt())}}}else if(8===i.nodeType)if(i.data===_t)l.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Yt,t+1));)l.push({type:7,index:r}),t+=Yt.length-1}r++}}static createElement(t,o){const e=Xt.createElement("template");return e.innerHTML=t,e}}function bo(t,o,e=t,i){if(o===co)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Jt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=bo(t,r._$AS(t,o.values),r,i)),o}class mo{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Xt).importNode(o,!0);ho.currentNode=i;let r=ho.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new xo(r,r.nextSibling,this,t):1===l.type?o=new l.ctor(r,l.name,l.strings,this,t):6===l.type&&(o=new So(r,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(r=ho.nextNode(),n++)}return ho.currentNode=Xt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class xo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=fo,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=bo(this,t,o),Jt(t)?t===fo||null==t||""===t?(this._$AH!==fo&&this._$AR(),this._$AH=fo):t!==this._$AH&&t!==co&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Qt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==fo&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Xt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=yo.createElement(go(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new mo(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=po.get(t.strings);return void 0===o&&po.set(t.strings,o=new yo(t)),o}T(t){Qt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new xo(this.k(qt()),this.k(qt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class vo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=fo,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=fo}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=bo(this,t,o,0),n=!Jt(t)||t!==this._$AH&&t!==co,n&&(this._$AH=t);else{const i=t;let a,l;for(t=r[0],a=0;a<r.length-1;a++)l=bo(this,i[e+a],o,a),l===co&&(l=this._$AH[a]),n||=!Jt(l)||l!==this._$AH[a],l===fo?t=fo:t!==fo&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}n&&!i&&this.O(t)}O(t){t===fo?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Oo extends vo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===fo?void 0:t}}class No extends vo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==fo)}}class $o extends vo{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=bo(this,t,o,0)??fo)===co)return;const e=this._$AH,i=t===fo&&e!==fo||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==fo&&(e===fo||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class So{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){bo(this,t)}}const wo=Gt.litHtmlPolyfillSupport;wo?.(yo,xo),(Gt.litHtmlVersions??=[]).push("3.1.0");
498
+ /**
499
+ * @license
500
+ * Copyright 2020 Google LLC
501
+ * SPDX-License-Identifier: BSD-3-Clause
502
+ */
503
+ const Co=Symbol.for(""),Io=t=>{if(t?.r===Co)return t?._$litStatic$},ko=t=>({_$litStatic$:t,r:Co}),Ro=new Map,Eo=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],l=[];let s,c=0,f=!1;for(;c<i;){for(s=o[c];c<i&&void 0!==(n=e[c],r=Io(n));)s+=r+o[++c],f=!0;c!==i&&l.push(n),a.push(s),c++}if(c===i&&a.push(o[i]),f){const t=a.join("$$lit$$");void 0===(o=Ro.get(t))&&(a.raw=a,Ro.set(t,o=a)),e=l}return t(o,...e)})(so);var Uo;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Uo||(Uo={}));var Wo=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Lo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Uo.body1}render(){return this.element?Eo`
504
+ <${ko(this.element)}
505
+ class="ft-typography ft-typography--${this.variant}">
506
+ <slot></slot>
507
+ </${ko(this.element)}>
508
+ `:Eo`
509
+ <slot class="ft-typography ft-typography--${this.variant}"></slot>
510
+ `}}Lo.styles=[yt,bt,mt,xt,vt,Ot,Nt,$t,St,wt,Ct,...It],Wo([i.property()],Lo.prototype,"element",void 0),Wo([i.property()],Lo.prototype,"variant",void 0),o.customElement("ft-typography")(Lo);const zo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Zo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ko=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Bo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Fo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Do=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Ao=e.css`
511
+ .ft-tooltip--container {
512
+ display: block;
513
+ }
514
+
515
+ .ft-tooltip--inline {
516
+ display: inline-block;
517
+ max-width: 100%;
518
+ }
519
+
520
+ .ft-tooltip {
521
+ position: fixed;
522
+ box-sizing: border-box;
523
+ overflow: hidden;
524
+ width: max-content;
525
+ max-width: ${Do};
526
+ text-align: center;
527
+ padding: ${zo};
528
+ z-index: ${Bo};
529
+ }
530
+
531
+ .ft-tooltip--content {
532
+ padding: 4px 8px;
533
+ border-radius: ${Fo};
534
+ background-color: ${Ko};
535
+ color: ${Zo};
536
+ position: relative;
537
+ word-break: break-word;
538
+ }
539
+ `,Ho=["start","end"],Po=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Ho[0],o+"-"+Ho[1])),[]),Go=Math.min,jo=Math.max,Mo=Math.round,To=t=>({x:t,y:t}),Yo={left:"right",right:"left",bottom:"top",top:"bottom"},_o={start:"end",end:"start"};function Vo(t,o,e){return jo(t,Go(o,e))}function Xo(t,o){return"function"==typeof t?t(o):t}function qo(t){return t.split("-")[0]}function Jo(t){return t.split("-")[1]}function Qo(t){return"x"===t?"y":"x"}function te(t){return"y"===t?"height":"width"}function oe(t){return["top","bottom"].includes(qo(t))?"y":"x"}function ee(t){return Qo(oe(t))}function ie(t){return t.replace(/left|right|bottom|top/g,(t=>Yo[t]))}function re(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ne(t,o,e){let{reference:i,floating:r}=t;const n=oe(o),a=ee(o),l=te(a),s=qo(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(Jo(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function ae(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Xo(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),u=l[d?"floating"===p?"reference":"floating":p],y=re(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(u)))||e?u:u.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=re(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+g.top)/x.y,bottom:(v.bottom-y.bottom+g.bottom)/x.y,left:(y.left-v.left+g.left)/x.x,right:(v.right-y.right+g.right)/x.x}}function le(t,o,e){return(t?[...e.filter((o=>Jo(o)===t)),...e.filter((o=>Jo(o)!==t))]:e.filter((t=>qo(t)===t))).filter((e=>!t||(Jo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>_o[t]))}(e)!==e)))}const se=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Po,autoAlignment:h=!0,...g}=Xo(t,o),u=void 0!==p||d===Po?le(p||null,h,d):d,y=await ae(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=u[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Jo(t),r=ee(t),n=te(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=ie(a)),[a,ie(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:u[0]}};const v=[y[qo(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=u[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const $=O.map((t=>{const o=Jo(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=$.filter((t=>t[2].slice(0,Jo(t[0])?2:3).every((t=>t<=0)))),w=(null==(r=S[0])?void 0:r[0])||$[0][0];return w!==l?{data:{index:b+1,overflows:O},reset:{placement:w}}:{}}}};function ce(t){return de(t)?(t.nodeName||"").toLowerCase():"#document"}function fe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function pe(t){var o;return null==(o=(de(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function de(t){return t instanceof Node||t instanceof fe(t).Node}function he(t){return t instanceof Element||t instanceof fe(t).Element}function ge(t){return t instanceof HTMLElement||t instanceof fe(t).HTMLElement}function ue(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof fe(t).ShadowRoot)}function ye(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Oe(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function be(t){return["table","td","th"].includes(ce(t))}function me(t){const o=xe(),e=Oe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function xe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ve(t){return["html","body","#document"].includes(ce(t))}function Oe(t){return fe(t).getComputedStyle(t)}function Ne(t){return he(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $e(t){if("html"===ce(t))return t;const o=t.assignedSlot||t.parentNode||ue(t)&&t.host||pe(t);return ue(o)?o.host:o}function Se(t){const o=$e(t);return ve(o)?t.ownerDocument?t.ownerDocument.body:t.body:ge(o)&&ye(o)?o:Se(o)}function we(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Se(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=fe(r);return n?o.concat(a,a.visualViewport||[],ye(r)?r:[],a.frameElement&&e?we(a.frameElement):[]):o.concat(r,we(r,[],e))}function Ce(t){const o=Oe(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=ge(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=Mo(e)!==n||Mo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function Ie(t){return he(t)?t:t.contextElement}function ke(t){const o=Ie(t);if(!ge(o))return To(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Ce(o);let a=(n?Mo(e.width):e.width)/i,l=(n?Mo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Re=To(0);function Ee(t){const o=fe(t);return xe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Re}function Ue(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=Ie(t);let a=To(1);o&&(i?he(i)&&(a=ke(i)):a=ke(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==fe(t))&&o}(n,e,i)?Ee(n):To(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=fe(n),o=i&&he(i)?fe(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ke(e),o=e.getBoundingClientRect(),i=Oe(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,e=fe(e).frameElement}}return re({width:f,height:p,x:s,y:c})}function We(t){return Ue(pe(t)).left+Ne(t).scrollLeft}function Le(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=fe(t),i=pe(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=xe();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=pe(t),e=Ne(t),i=t.ownerDocument.body,r=jo(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=jo(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+We(t);const l=-e.scrollTop;return"rtl"===Oe(i).direction&&(a+=jo(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(pe(t));else if(he(o))i=function(t,o){const e=Ue(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=ge(t)?ke(t):To(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Ee(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return re(i)}function ze(t,o){const e=$e(t);return!(e===o||!he(e)||ve(e))&&("fixed"===Oe(e).position||ze(e,o))}function Ze(t,o,e){const i=ge(o),r=pe(o),n="fixed"===e,a=Ue(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=To(0);if(i||!i&&!n)if(("body"!==ce(o)||ye(r))&&(l=Ne(o)),i){const t=Ue(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=We(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Ke(t,o){return ge(t)&&"fixed"!==Oe(t).position?o?o(t):t.offsetParent:null}function Be(t,o){const e=fe(t);if(!ge(t))return e;let i=Ke(t,o);for(;i&&be(i)&&"static"===Oe(i).position;)i=Ke(i,o);return i&&("html"===ce(i)||"body"===ce(i)&&"static"===Oe(i).position&&!me(i))?e:i||function(t){let o=$e(t);for(;ge(o)&&!ve(o);){if(me(o))return o;o=$e(o)}return null}(t)||e}const Fe={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=ge(e),n=pe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=To(1);const s=To(0);if((r||!r&&"fixed"!==i)&&(("body"!==ce(e)||ye(n))&&(a=Ne(e)),ge(e))){const t=Ue(e);l=ke(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:pe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=we(t,[],!1).filter((t=>he(t)&&"body"!==ce(t))),r=null;const n="fixed"===Oe(t).position;let a=n?$e(t):t;for(;he(a)&&!ve(a);){const o=Oe(a),e=me(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ye(a)&&!e&&ze(t,a))?i=i.filter((t=>t!==a)):r=o,a=$e(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=Le(o,e,r);return t.top=jo(i.top,t.top),t.right=Go(i.right,t.right),t.bottom=Go(i.bottom,t.bottom),t.left=jo(i.left,t.left),t}),Le(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Be,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Be,n=this.getDimensions;return{reference:Ze(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ce(t)},getScale:ke,isElement:he,isRTL:function(t){return"rtl"===Oe(t).direction}},De=(t,o,e)=>{const i=new Map,r={platform:Fe,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=ne(c,i,s),d=i,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:u}=l[e],{x:y,y:b,data:m,reset:x}=await u({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=ne(c,d,s))),e=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function Ae(t){return function(t){for(let o=t;o;o=He(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=He(t);o;o=He(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function He(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Pe,Ge,je,Me=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Te extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
540
+ <div part="container"
541
+ class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
542
+ @mouseenter=${this.onHover}
543
+ @mouseleave=${this.onOut}
544
+ @focusin=${this.onHover}
545
+ @focusout=${this.onOut}
546
+ @touchstart=${this.onTouch}>
547
+ <slot part="slot" @click=${this.onClick}></slot>
548
+ <div part="tooltip" role="tooltip" inert
549
+ class="ft-tooltip ft-tooltip--${this.validPosition}"
550
+ ?hidden=${!this.visible}>
551
+ <div part="tooltip-content" class="ft-tooltip--content">
552
+ <slot name="text"></slot>
553
+ <ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
554
+ </div>
555
+ </div>
556
+ </div>
557
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",De(this.slottedElement,this.tooltip,{platform:{...Fe,getOffsetParent:t=>Fe.getOffsetParent(t,Ae)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Xo(t,o),c={x:e,y:i},f=await ae(o,s),p=oe(qo(r)),d=Qo(p);let h=c[d],g=c[p];if(n){const t="y"===d?"bottom":"right";h=Vo(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";g=Vo(g+f["y"===p?"top":"left"],g,g-f[t])}const u=l.fn({...o,[d]:h,[p]:g});return{...u,data:{x:u.x-e,y:u.y-i}}}}),se({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Te.elementDefinitions={"ft-typography":Lo},Te.styles=Ao,Me([i.property()],Te.prototype,"text",void 0),Me([i.property({type:Boolean})],Te.prototype,"manual",void 0),Me([i.property({type:Boolean})],Te.prototype,"inline",void 0),Me([i.property({type:Number})],Te.prototype,"delay",void 0),Me([i.property()],Te.prototype,"position",void 0),Me([i.queryAssignedNodes()],Te.prototype,"slotNodes",void 0),Me([i.query(".ft-tooltip--container")],Te.prototype,"container",void 0),Me([i.query(".ft-tooltip")],Te.prototype,"tooltip",void 0),Me([i.query(".ft-tooltip--content")],Te.prototype,"tooltipContent",void 0),Me([i.state()],Te.prototype,"visible",void 0),Me([i.eventOptions({passive:!0})],Te.prototype,"onTouch",null),Me([i.eventOptions({passive:!0})],Te.prototype,"onHover",null),Me([i.eventOptions({passive:!0})],Te.prototype,"onOut",null),Me([i.eventOptions({passive:!0})],Te.prototype,"onClick",null),o.customElement("ft-tooltip")(Te),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(Pe||(Pe={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ge||(Ge={})),new Map([...["abw"].map((t=>[t,Ge.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ge.AUDIO])),...["avi"].map((t=>[t,Ge.AVI])),...["chm","xhs"].map((t=>[t,Ge.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ge.CODE])),...["csv"].map((t=>[t,Ge.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ge.DITA])),...["epub"].map((t=>[t,Ge.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ge.EXCEL])),...["flac"].map((t=>[t,Ge.FLAC])),...["gif"].map((t=>[t,Ge.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ge.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ge.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ge.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ge.JPEG])),...["json"].map((t=>[t,Ge.JSON])),...["m4a","m4p"].map((t=>[t,Ge.M4A])),...["mov","qt"].map((t=>[t,Ge.MOV])),...["mp3"].map((t=>[t,Ge.MP3])),...["mp4","m4v"].map((t=>[t,Ge.MP4])),...["ogg","oga"].map((t=>[t,Ge.OGG])),...["pdf","ps"].map((t=>[t,Ge.PDF])),...["png"].map((t=>[t,Ge.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ge.POWERPOINT])),...["rar"].map((t=>[t,Ge.RAR])),...["stp"].map((t=>[t,Ge.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ge.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ge.VIDEO])),...["wav"].map((t=>[t,Ge.WAV])),...["wma"].map((t=>[t,Ge.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ge.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ge.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ge.YAML])),...["zip"].map((t=>[t,Ge.ZIP]))]),Ge.ABW,Ge.AUDIO,Ge.AVI,Ge.CHM,Ge.CODE,Ge.CSV,Ge.DITA,Ge.EPUB,Ge.EXCEL,Ge.FLAC,Ge.GIF,Ge.GZIP,Ge.HTML,Ge.IMAGE,Ge.JPEG,Ge.JSON,Ge.M4A,Ge.MOV,Ge.MP3,Ge.MP4,Ge.OGG,Ge.PDF,Ge.PNG,Ge.POWERPOINT,Ge.RAR,Ge.STP,Ge.TEXT,Ge.UNKNOWN,Ge.VIDEO,Ge.WAV,Ge.WMA,Ge.WORD,Ge.XML,Ge.YAML,Ge.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(je||(je={}));var Ye=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _e extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,o=t!==je.material||!!this.value;return e.html`
558
+ <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
559
+ ${n.unsafeHTML(this.resolvedIcon)}
560
+ <slot ?hidden=${o}></slot>
561
+ </i>
562
+ `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let i=this.value||this.textContent;switch(this.variant){case je.file_format:this.resolvedIcon=null!==(t=Ge[i.replace("-","_").toUpperCase()])&&void 0!==t?t:i;break;case je.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Pe[i.replace("-","_").toUpperCase()])&&void 0!==o?o:i}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}_e.elementDefinitions={},_e.styles=Ut,Ye([i.property()],_e.prototype,"variant",void 0),Ye([i.property()],_e.prototype,"value",void 0),Ye([i.state()],_e.prototype,"resolvedIcon",void 0),Ye([i.query("slot")],_e.prototype,"slottedContent",void 0),o.customElement("ft-icon")(_e);class Ve extends o.FtLitElement{render(){return e.html`
563
+ <div class="ft-loader">
564
+ <div></div>
565
+ <div></div>
566
+ <div></div>
567
+ <div></div>
568
+ </div>
569
+ `}}Ve.styles=Rt,o.customElement("ft-loader")(Ve);var Xe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class qe extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
570
+ <button part="button"
571
+ class="${r.classMap(this.buttonClasses)}"
572
+ aria-label="${this.getLabel()}"
573
+ ?disabled=${this.isDisabled()}>
574
+ <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
575
+ <ft-typography part="label"
576
+ variant=${this.typographyVariant}
577
+ element="span"
578
+ class="ft-button--label ${o.isSafari?"ft-safari-ellipsis-fix":""}"
579
+ ?hidden=${!this.hasTextContent()}>
580
+ <slot @slotchange=${this.onSlotchange}></slot>
581
+ </ft-typography>
582
+ ${this.resolveIcon()}
583
+ </button>
584
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?e.html`
585
+ <ft-tooltip part="tooltip"
586
+ text="${this.getLabel()}"
587
+ position="${this.tooltipPosition}">
588
+ ${t}
589
+ </ft-tooltip>
590
+ `:t}resolveIcon(){return this.loading?e.html`
591
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
592
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}qe.elementDefinitions={"ft-ripple":Pt,"ft-tooltip":Te,"ft-typography":Lo,"ft-icon":_e,"ft-loader":Ve},Xe([i.property({type:String,reflect:!0})],qe.prototype,"role",void 0),Xe([i.property()],qe.prototype,"type",void 0),Xe([i.property({type:Boolean})],qe.prototype,"disabled",void 0),Xe([i.property()],qe.prototype,"label",void 0),Xe([i.property()],qe.prototype,"icon",void 0),Xe([i.property()],qe.prototype,"iconVariant",void 0),Xe([i.property({type:Boolean})],qe.prototype,"trailingIcon",void 0),Xe([i.property({type:Boolean})],qe.prototype,"loading",void 0),Xe([i.property()],qe.prototype,"tooltipPosition",void 0),Xe([i.property({type:Boolean})],qe.prototype,"hideTooltip",void 0),Xe([i.property({type:Boolean})],qe.prototype,"forceTooltip",void 0),Xe([i.query(".ft-button")],qe.prototype,"button",void 0),Xe([i.query(".ft-button--label slot")],qe.prototype,"slottedContent",void 0);var Je=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qe extends qe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Qe.styles=[o.safariEllipsisFix,At],Je([i.property({type:Boolean})],Qe.prototype,"primary",void 0),Je([i.property({type:Boolean})],Qe.prototype,"outlined",void 0),Je([i.property({type:Boolean})],Qe.prototype,"dense",void 0),Je([i.property({type:Boolean})],Qe.prototype,"round",void 0);const ti=[e.css`
593
+ :host {
594
+ display: inline-block;
595
+ max-width: 100%;
596
+ pointer-events: none;
597
+ }
598
+
599
+ /** Remove default button styles **/
600
+
601
+ button {
602
+ box-shadow: 0 0 0 transparent;
603
+ border: 0 solid transparent;
604
+ text-shadow: 0 0 0 transparent;
605
+ }
606
+
607
+ button:hover {
608
+ box-shadow: 0 0 0 transparent;
609
+ text-shadow: 0 0 0 transparent;
610
+ }
611
+
612
+ button:active {
613
+ outline: none;
614
+ }
615
+
616
+ button:focus {
617
+ outline: 0;
618
+ }
619
+
620
+ /** Base styles **/
621
+
622
+ .ft-button {
623
+ position: relative;
624
+ display: flex;
625
+ justify-content: center;
626
+ align-items: center;
627
+ width: 100%;
628
+ overflow: hidden;
629
+ box-sizing: border-box;
630
+ pointer-events: auto;
631
+ }
632
+
633
+ .ft-button:not([disabled]):hover {
634
+ cursor: pointer;
635
+ }
636
+
637
+ .ft-button:focus {
638
+ outline: none;
639
+ }
640
+
641
+ .ft-button:focus-visible {
642
+ outline-color: ${O.focusFocusRingColor};
643
+ outline-style: solid;
644
+ }
645
+
646
+ ft-icon {
647
+ flex-shrink: 0;
648
+ position: relative;
649
+ }
650
+
651
+ .ft-button:not(.ft-button--trailing-icon) ft-icon,
652
+ .ft-button:not(.ft-button--trailing-icon) ft-loader {
653
+ order: -1;
654
+ }
655
+
656
+ .ft-button--label {
657
+ position: relative;
658
+ overflow: hidden;
659
+ white-space: nowrap;
660
+ text-overflow: ellipsis;
661
+ display: block;
662
+ }
663
+
664
+ .ft-button--label[hidden] {
665
+ display: none;
666
+ }
667
+
668
+ /** Primary styles **/
669
+
670
+ .ft-button--primary {
671
+ ${o.setVariable(kt.color,O.primaryIconColor)};
672
+
673
+ ${o.setVariable(s.color,O.primaryStateLayerColor)};
674
+ ${o.setVariable(s.opacityContentOnSurfaceHover,O.primaryStateLayerOpacityHover)};
675
+ ${o.setVariable(s.opacityContentOnSurfaceFocused,O.primaryStateLayerOpacityFocus)};
676
+ ${o.setVariable(s.opacityContentOnSurfaceSelected,O.primaryStateLayerOpacityActive)};
677
+ ${o.setVariable(s.opacityContentOnSurfacePressed,O.primaryStateLayerOpacityActive)};
678
+
679
+ background-color: ${O.primaryBackgroundColor};
680
+ color: ${O.primaryColor};
681
+ border-style: none;
682
+ }
683
+
684
+ .ft-button--primary[disabled] {
685
+ opacity: ${O.primaryComponentOpacityDisabled};
686
+ }
687
+
688
+ .ft-button--primary ft-icon {
689
+ color: ${O.primaryIconColor};
690
+ }
691
+
692
+ /** Secondary styles **/
693
+
694
+ .ft-button--secondary {
695
+ ${o.setVariable(kt.color,O.secondaryIconColor)};
696
+
697
+ ${o.setVariable(s.color,O.secondaryStateLayerColor)};
698
+ ${o.setVariable(s.opacityContentOnSurfaceHover,O.secondaryStateLayerOpacityHover)};
699
+ ${o.setVariable(s.opacityContentOnSurfaceFocused,O.secondaryStateLayerOpacityFocus)};
700
+ ${o.setVariable(s.opacityContentOnSurfaceSelected,O.secondaryStateLayerOpacityActive)};
701
+ ${o.setVariable(s.opacityContentOnSurfacePressed,O.secondaryStateLayerOpacityActive)};
702
+
703
+ background-color: ${O.secondaryBackgroundColor};
704
+ color: ${O.secondaryColor};
705
+ border-color: ${O.secondaryBorderColor};
706
+ border-style: solid;
707
+ }
708
+
709
+ .ft-button--secondary[disabled] {
710
+ opacity: ${O.secondaryComponentOpacityDisabled};
711
+ }
712
+
713
+ .ft-button--secondary ft-icon {
714
+ color: ${O.secondaryIconColor};
715
+ }
716
+
717
+ /** Tertiary styles **/
718
+
719
+ .ft-button--tertiary {
720
+ ${o.setVariable(kt.color,O.tertiaryIconColor)};
721
+
722
+ ${o.setVariable(s.color,O.tertiaryStateLayerColor)};
723
+ ${o.setVariable(s.opacityContentOnSurfaceHover,O.tertiaryStateLayerOpacityHover)};
724
+ ${o.setVariable(s.opacityContentOnSurfaceFocused,O.tertiaryStateLayerOpacityFocus)};
725
+ ${o.setVariable(s.opacityContentOnSurfaceSelected,O.tertiaryStateLayerOpacityActive)};
726
+ ${o.setVariable(s.opacityContentOnSurfacePressed,O.tertiaryStateLayerOpacityActive)};
727
+
728
+ background-color: ${O.tertiaryBackgroundColor};
729
+ color: ${O.tertiaryColor};
730
+ border-style: none;
731
+ }
732
+
733
+ .ft-button--tertiary[disabled] {
734
+ opacity: ${O.tertiaryComponentOpacityDisabled};
735
+ }
736
+
737
+ .ft-button--tertiary ft-icon {
738
+ color: ${O.tertiaryIconColor};
739
+ }
740
+
741
+ /** Neutral styles **/
742
+
743
+ .ft-button--neutral {
744
+ ${o.setVariable(kt.color,O.neutralIconColor)};
745
+
746
+ ${o.setVariable(s.backgroundColor,O.neutralStateLayerColor)};
747
+ ${o.setVariable(s.opacityContentOnSurfaceHover,O.neutralStateLayerOpacityHover)};
748
+ ${o.setVariable(s.opacityContentOnSurfaceFocused,O.neutralStateLayerOpacityFocus)};
749
+ ${o.setVariable(s.opacityContentOnSurfaceSelected,O.neutralStateLayerOpacityActive)};
750
+ ${o.setVariable(s.opacityContentOnSurfacePressed,O.neutralStateLayerOpacityActive)};
751
+
752
+ background-color: ${O.neutralBackgroundColor};
753
+ color: ${O.neutralColor};
754
+ border-style: none;
755
+ }
756
+
757
+ .ft-button--neutral[disabled] {
758
+ opacity: ${O.neutralComponentOpacityDisabled};
759
+ }
760
+
761
+ .ft-button--neutral ft-icon {
762
+ color: ${O.neutralIconColor};
763
+ }
764
+
765
+ /** Large styles **/
766
+
767
+ .ft-button--large {
768
+ ${o.setVariable(Et.size,O.largeIconSize)};
769
+ ${o.setVariable(kt.size,O.largeIconSize)};
770
+
771
+ height: ${O.largeHeight};
772
+ padding: 0 ${O.largeHorizontalPadding};
773
+ gap: ${O.largeGap};
774
+ border-radius: ${O.largeBorderRadius};
775
+ border-width: ${O.largeBorderWidth};
776
+ }
777
+
778
+ .ft-button--large:focus-visible {
779
+ outline-width: ${O.largeFocusOutlineWidth};
780
+ outline-offset: ${O.largeFocusOutlineOffset};
781
+ }
782
+
783
+ .ft-button--large.ft-button--icon-only {
784
+ width: ${O.largeIconOnlyWidth};
785
+ padding: unset;
786
+ }
787
+
788
+ /** Small styles **/
789
+
790
+ .ft-button--small {
791
+ ${o.setVariable(Et.size,O.smallIconSize)};
792
+ ${o.setVariable(kt.size,O.smallIconSize)};
793
+
794
+ height: ${O.smallHeight};
795
+ padding: 0 ${O.smallHorizontalPadding};
796
+ gap: ${O.smallGap};
797
+ border-radius: ${O.smallBorderRadius};
798
+ border-width: ${O.smallBorderWidth};
799
+ }
800
+
801
+ .ft-button--small:focus-visible {
802
+ outline-width: ${O.smallFocusOutlineWidth};
803
+ outline-offset: ${O.smallFocusOutlineOffset};
804
+ }
805
+
806
+ .ft-button--small.ft-button--icon-only {
807
+ width: ${O.smallIconOnlyWidth};
808
+ padding: unset;
809
+ }
810
+ `,o.noTextSelect];var oi=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ei extends qe{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Uo.caption1medium:Uo.body2medium}}ei.styles=[o.safariEllipsisFix,ti],oi([i.property({type:Boolean})],ei.prototype,"primary",void 0),oi([i.property({type:Boolean})],ei.prototype,"secondary",void 0),oi([i.property({type:Boolean})],ei.prototype,"tertiary",void 0),oi([i.property({type:Boolean})],ei.prototype,"neutral",void 0),oi([i.property({type:Boolean})],ei.prototype,"small",void 0),o.customElement("ft-button")(Qe),o.customElement("ftds-button")(ei);
811
+ /**
812
+ * @license
813
+ * Copyright 2018 Google LLC
814
+ * SPDX-License-Identifier: BSD-3-Clause
815
+ */
816
+ const ii={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.FtCssVariableFactory.extend("--ft-input-label-border-color","",o.designSystemVariables.colorOutline),textColor:o.FtCssVariableFactory.extend("--ft-input-label-text-color","",o.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:o.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",o.designSystemVariables.colorOnSurfaceDisabled),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system")},ri=e.css`
817
+ .ft-input-label {
818
+ position: absolute;
819
+ inset: 0;
820
+ display: flex;
821
+ background-color: ${ii.colorSurface};
822
+ border-radius: ${ii.borderRadiusS} ${ii.borderRadiusS} 0 0;
823
+ }
824
+
825
+ .ft-input-label--outlined {
826
+ border-radius: ${ii.borderRadiusS};
827
+ }
828
+
829
+ .ft-input-label {
830
+ border-color: ${ii.borderColor};
831
+ }
832
+
833
+ .ft-input-label.ft-input-label--in-error {
834
+ border-color: ${ii.colorError}
835
+ }
836
+
837
+ .ft-input-label:before,
838
+ .ft-input-label:after {
839
+ content: "";
840
+ display: flex;
841
+ border-bottom-width: 1px;
842
+ border-bottom-style: solid;
843
+ border-color: inherit;
844
+ }
845
+
846
+ .ft-input-label:before {
847
+ width: calc(${ii.horizontalSpacing} - 4px);
848
+ flex-shrink: 0;
849
+ }
850
+
851
+ .ft-input-label:after {
852
+ flex-grow: 1;
853
+ flex-shrink: 1;
854
+ }
855
+
856
+ .ft-input-label--text {
857
+ display: flex;
858
+ flex-shrink: 1;
859
+ position: relative;
860
+ border-bottom-width: 1px;
861
+ border-bottom-style: solid;
862
+ border-color: inherit;
863
+ color: ${ii.textColor};
864
+ transition: font-size 250ms, line-height 250ms, color 250ms;
865
+ max-width: calc(${ii.labelMaxWidth} - 2 * (${ii.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
866
+ text-overflow: ellipsis;
867
+ ${o.setVariable(et.fontSize,ii.fontSize)};
868
+ ${o.setVariable(et.lineHeight,ii.fontSize)};
869
+ }
870
+
871
+ .ft-input-label--in-error .ft-input-label--text {
872
+ color: ${ii.colorError}
873
+ }
874
+
875
+ .ft-input-label--disabled .ft-input-label--text {
876
+ color: ${ii.disabledTextColor};
877
+ }
878
+
879
+ .ft-input-label--hidden-text {
880
+ padding: 0 4px;
881
+ opacity: 0;
882
+ max-width: 100%;
883
+ box-sizing: border-box;
884
+ }
885
+
886
+ .ft-input-label--floating-text {
887
+ position: absolute;
888
+ top: calc(50% - var(--ft-typography-caption-line-height) / 2);
889
+ transition: top 250ms;
890
+ overflow: hidden;
891
+ white-space: nowrap;
892
+ text-overflow: ellipsis;
893
+ padding: ${ii.verticalSpacing} 4px;
894
+ margin: calc(${ii.verticalSpacing} * -1) 0;
895
+ max-width: 100%;
896
+ box-sizing: border-box;
897
+ }
898
+
899
+ .ft-input-label--raised .ft-input-label--text {
900
+ ${o.setVariable(et.fontSize,ii.raisedFontSize)};
901
+ ${o.setVariable(et.lineHeight,ii.raisedFontSize)};
902
+ }
903
+
904
+ .ft-input-label--raised .ft-input-label--floating-text {
905
+ top: ${ii.verticalSpacing};
906
+ }
907
+
908
+ .ft-input-label--outlined .ft-input-label--text,
909
+ .ft-input-label--outlined:before,
910
+ .ft-input-label--outlined:after {
911
+ border-top-width: 1px;
912
+ border-top-style: solid;
913
+ }
914
+
915
+ .ft-input-label--outlined:before {
916
+ border-left-width: 1px;
917
+ border-left-style: solid;
918
+ border-radius: ${ii.borderRadiusS} 0 0 ${ii.borderRadiusS};
919
+ }
920
+
921
+ .ft-input-label--outlined:after {
922
+ border-right-width: 1px;
923
+ border-right-style: solid;
924
+ border-radius: 0 ${ii.borderRadiusS} ${ii.borderRadiusS} 0;
925
+ }
926
+
927
+ .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
928
+ padding: 2px 4px;
929
+ z-index: ${ii.raisedZIndex};
930
+ background-color: ${ii.colorSurface};
931
+ border-radius: ${ii.borderRadiusS};
932
+ top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
933
+ }
934
+
935
+ .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
936
+ border-top: none;
937
+ }
938
+ `;var ni=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ai extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return e.html`
939
+ <div class="${r.classMap(t)}">
940
+ ${this.text?e.html`
941
+ <div class="ft-input-label--text ft-typography--caption">
942
+ <span class="ft-input-label--floating-text">${this.text}</span>
943
+ <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
944
+ </div>
945
+ `:null}
946
+ </div>
947
+ `}}ai.elementDefinitions={},ai.styles=[Nt,ri],ni([i.property({type:String})],ai.prototype,"text",void 0),ni([i.property({type:Boolean})],ai.prototype,"raised",void 0),ni([i.property({type:Boolean})],ai.prototype,"outlined",void 0),ni([i.property({type:Boolean})],ai.prototype,"disabled",void 0),ni([i.property({type:Boolean})],ai.prototype,"error",void 0),o.customElement("ft-input-label")(ai);const li={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.FtCssVariableFactory.extend("--ft-text-field-helper-color","",o.designSystemVariables.colorOnSurfaceMedium),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system"),prefixColor:o.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",o.designSystemVariables.colorOnSurfaceMedium),iconColor:o.FtCssVariableFactory.extend("--ft-text-field-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:o.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),elevation02:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),suggestSize:o.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},si=e.css`
948
+ *:focus {
949
+ outline: none;
950
+ }
951
+
952
+ .ft-text-field {
953
+ display: flex;
954
+ flex-direction: column;
955
+ align-items: stretch;
956
+ position: relative;
957
+ }
958
+
959
+ ft-input-label {
960
+ ${o.setVariable(ii.fontSize,li.fontSize)};
961
+ ${o.setVariable(ii.raisedFontSize,li.labelSize)};
962
+ ${o.setVariable(ii.verticalSpacing,li.verticalSpacing)};
963
+ ${o.setVariable(ii.horizontalSpacing,li.horizontalSpacing)};
964
+ }
965
+
966
+ .ft-text-field--main-panel {
967
+ position: relative;
968
+ display: flex;
969
+ height: calc(4 * ${li.verticalSpacing} + ${li.labelSize} + ${li.fontSize});
970
+ }
971
+
972
+ .ft-text-field--input-panel {
973
+ flex-grow: 1;
974
+ position: relative;
975
+ display: flex;
976
+ align-items: center;
977
+ overflow: hidden;
978
+ padding: 0 ${li.horizontalSpacing};
979
+
980
+ ${o.setVariable(V.fontSize,li.fontSize)};
981
+ ${o.setVariable(V.lineHeight,li.fontSize)};
982
+ }
983
+
984
+ .ft-text-field--input-panel ft-ripple {
985
+ ${o.setVariable(s.opacityContentOnSurfaceHover,"0.08")};
986
+ ${o.setVariable(s.opacityContentOnSurfacePressed,"0.04")};
987
+ }
988
+
989
+ .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input-panel {
990
+ align-items: flex-end;
991
+ padding: 0 ${li.horizontalSpacing} ${li.verticalSpacing} ${li.horizontalSpacing};
992
+ }
993
+
994
+ .ft-text-field--prefix {
995
+ color: ${li.prefixColor};
996
+ margin-right: 2px;
997
+ flex-shrink: 1;
998
+ overflow: hidden;
999
+ white-space: nowrap;
1000
+ text-overflow: ellipsis;
1001
+ }
1002
+
1003
+ .ft-text-field--with-label:not(.ft-text-field--raised-label) .ft-text-field--prefix {
1004
+ display: none;
1005
+ }
1006
+
1007
+ .ft-text-field--input {
1008
+ display: block;
1009
+ position: relative;
1010
+ flex-grow: 1;
1011
+ flex-shrink: 1;
1012
+ min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
1013
+
1014
+ color: ${li.colorOnSurface};
1015
+ padding: calc(2 * ${li.verticalSpacing}) 0;
1016
+ border: none;
1017
+ background: none;
1018
+ }
1019
+
1020
+ .ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
1021
+ padding-bottom: 0;
1022
+ padding-top: calc(${li.labelSize} + 2 * ${li.verticalSpacing});
1023
+ }
1024
+
1025
+ .ft-text-field--input::-webkit-calendar-picker-indicator,
1026
+ .ft-text-field--input::-webkit-list-button {
1027
+ display: none !important;
1028
+ }
1029
+
1030
+ .ft-text-field--disabled .ft-text-field--input {
1031
+ color: ${li.colorOnSurfaceDisabled};
1032
+ }
1033
+
1034
+ .ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
1035
+ ${o.setVariable(ii.borderColor,li.colorPrimary)};
1036
+ ${o.setVariable(ii.textColor,li.colorPrimary)};
1037
+ }
1038
+
1039
+ .ft-text-field--filled .ft-text-field--input-panel {
1040
+ border-radius: ${li.borderRadiusS} ${li.borderRadiusS} 0 0;
1041
+ }
1042
+
1043
+ .ft-text-field--outlined .ft-text-field--input-panel {
1044
+ border-radius: ${li.borderRadiusS};
1045
+ }
1046
+
1047
+ .ft-text-field--helper-text {
1048
+ padding: 0 12px 0 ${li.horizontalSpacing};
1049
+ color: ${li.helperColor};
1050
+ }
1051
+
1052
+ .ft-text-field--in-error .ft-text-field--input,
1053
+ .ft-text-field--in-error .ft-text-field--helper-text,
1054
+ .ft-text-field--in-error .ft-text-field--prefix {
1055
+ color: ${li.colorError};
1056
+ }
1057
+
1058
+ .ft-text-field--icon {
1059
+ align-self: center;
1060
+ margin-left: 8px;
1061
+ color: ${li.iconColor};
1062
+ }
1063
+
1064
+ .ft-text-field--container {
1065
+ position: relative;
1066
+ }
1067
+
1068
+ .ft-text-field--suggestions {
1069
+ display: none;
1070
+ flex-direction: column;
1071
+ position: absolute;
1072
+ left: 0;
1073
+ right: 0;
1074
+ z-index: ${li.floatingZIndex};
1075
+ background: ${li.colorSurface};
1076
+ border: 1px solid ${li.colorOutline};
1077
+ border-radius: 0 0 ${li.borderRadiusS} ${li.borderRadiusS};
1078
+ box-shadow: ${li.elevation02};
1079
+ outline: none;
1080
+ max-height: ${li.suggestSize};
1081
+ overflow-y: auto;
1082
+ }
1083
+
1084
+ .ft-text-field--suggestions:not(.ft-text-field--suggestions-on-top) {
1085
+ top: 100%;
1086
+ }
1087
+
1088
+ .ft-text-field--suggestions.ft-text-field--suggestions-on-top {
1089
+ bottom: 100%;
1090
+ }
1091
+
1092
+ .ft-text-field:not(.ft-text-field--hide-suggestions):focus-within .ft-text-field--suggestions {
1093
+ display: flex;
1094
+ }
1095
+
1096
+ .ft-text-field--with-icon {
1097
+ ${o.setVariable(ii.labelMaxWidth,`calc(100% - ${Et.size} - ${ii.horizontalSpacing})`)};
1098
+ }
1099
+
1100
+ .ft-text-field--with-password ft-icon:hover {
1101
+ cursor: pointer;
1102
+ }
1103
+
1104
+ input::-webkit-outer-spin-button,
1105
+ input::-webkit-inner-spin-button {
1106
+ -webkit-appearance: none;
1107
+ margin: 0;
1108
+ }
1109
+
1110
+ input[type=number] {
1111
+ -moz-appearance: textfield;
1112
+ }
1113
+ `;var ci=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fi extends(o.toFtFormComponent(o.FtLitElement,"textbox")){constructor(){super(...arguments),this._value="",this.dispatchedValue="",this.outlined=!1,this.disabled=!1,this.error=!1,this.prefix=null,this.passwordHiddenIcon=Pe.EYE_SLASH,this.passwordRevealedIcon=Pe.EYE,this.filterSuggestions=!1,this.password=!1,this.type="text",this.focused=!1,this.hidePassword=!0,this.suggestionsOnTop=!1,this.hideSuggestions=!1,this.visibleSuggestions=[]}get value(){return this._value||""}set value(t){this.setInternalValue(t||""),this.dispatchedValue=t||""}setInternalValue(t){const o=this._value;this._value=t||"",this.setFormValue(this._value),this.requestUpdate("value",o)}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}render(){const t={"ft-text-field":!0,"ft-text-field--filled":!this.outlined,"ft-text-field--outlined":this.outlined,"ft-text-field--disabled":this.disabled,"ft-text-field--has-value":!!this.value,"ft-text-field--with-label":!!this.label,"ft-text-field--in-error":this.error,"ft-text-field--with-prefix":!!this.prefix,"ft-text-field--hide-suggestions":0===this.visibleSuggestions.length||this.hideSuggestions,"ft-text-field--raised-label":this.focused||""!=this.value,"ft-text-field--with-icon":!!this.icon,"ft-text-field--with-password":this.password};return e.html`
1114
+ <div class="${r.classMap(t)}">
1115
+ <div class="ft-text-field--main-panel"
1116
+ @keydown=${this.handleKeyboardNavigation}
1117
+ @focusout=${this.onMainPanelBlur}>
1118
+ <ft-input-label text="${this.label}"
1119
+ ?disabled=${this.disabled}
1120
+ ?outlined=${this.outlined}
1121
+ ?raised=${this.focused||""!=this.value}
1122
+ ?error=${this.error}></ft-input-label>
1123
+ <div class="ft-text-field--input-panel">
1124
+ ${this.outlined?e.nothing:e.html`
1125
+ <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
1126
+ `}
1127
+ ${this.prefix?e.html`
1128
+ <ft-typography class="ft-text-field--prefix" variant="body1">
1129
+ ${this.prefix}
1130
+ </ft-typography>
1131
+ `:e.nothing}
1132
+ <input type=${this.password&&this.hidePassword?"password":this.type}
1133
+ maxlength=${(t=>t??fo)(this.maxLength||void 0)}
1134
+ .min=${this.min}
1135
+ .max=${this.max}
1136
+ aria-label="${this.label}"
1137
+ class="ft-typography--body1 ft-text-field--input"
1138
+ part="input"
1139
+ ?disabled=${this.disabled}
1140
+ .value=${this.value}
1141
+ @click=${this.handleClick}
1142
+ @keyup=${this.handleInput}
1143
+ @focus=${this.onFocus}/>
1144
+ ${this.renderIcon()}
1145
+ </div>
1146
+ <div class="ft-text-field--suggestions ${this.suggestionsOnTop?"ft-text-field--suggestions-on-top":""}"
1147
+ @suggestion-selected=${this.onSuggestionSelected}>
1148
+ <slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
1149
+ </div>
1150
+ </div>
1151
+ ${this.helper?e.html`
1152
+ <ft-typography class="ft-text-field--helper-text" variant="caption">
1153
+ ${this.helper}
1154
+ </ft-typography>
1155
+ `:e.nothing}
1156
+ </div>
1157
+ `}renderPasswordIcon(){return e.html`
1158
+ <ft-icon class="ft-text-field--icon"
1159
+ .variant=${this.iconVariant}
1160
+ .value=${this.hidePassword?this.passwordHiddenIcon:this.passwordRevealedIcon}
1161
+ @click=${()=>this.togglePasswordVisibility()}></ft-icon>
1162
+ `}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?e.html`
1163
+ <ft-icon class="ft-text-field--icon"
1164
+ .variant=${this.iconVariant}
1165
+ .value=${this.icon}
1166
+ @click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
1167
+ `:e.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var o,e;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(o=this.input)||void 0===o?void 0:o.getBoundingClientRect(),i=null===(e=this.suggestionsContainer)||void 0===e?void 0:e.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;const e=(null===(o=this.input)||void 0===o?void 0:o.value)||"";this.setValue(e,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const e=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?e<this.visibleSuggestions.length-1?e+1:0:e>0?e-1:this.visibleSuggestions.length-1,null===(o=this.visibleSuggestions[i])||void 0===o||o.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.detail,!0),null===(o=this.input)||void 0===o||o.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,o;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(o=this.input)||void 0===o?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}fi.elementDefinitions={"ft-input-label":ai,"ft-ripple":Pt,"ft-typography":Lo,"ft-icon":_e},fi.styles=[vt,si],ci([i.property()],fi.prototype,"label",void 0),ci([i.property({noAccessor:!0})],fi.prototype,"value",null),ci([i.state()],fi.prototype,"dispatchedValue",void 0),ci([i.property()],fi.prototype,"helper",void 0),ci([i.property({type:Boolean})],fi.prototype,"outlined",void 0),ci([i.property({type:Boolean})],fi.prototype,"disabled",void 0),ci([i.property({type:Boolean})],fi.prototype,"error",void 0),ci([i.property()],fi.prototype,"prefix",void 0),ci([i.property()],fi.prototype,"icon",void 0),ci([i.property()],fi.prototype,"passwordHiddenIcon",void 0),ci([i.property()],fi.prototype,"passwordRevealedIcon",void 0),ci([i.property()],fi.prototype,"iconVariant",void 0),ci([i.property({type:Boolean})],fi.prototype,"filterSuggestions",void 0),ci([i.property({type:Number})],fi.prototype,"maxLength",void 0),ci([i.property({type:Boolean})],fi.prototype,"password",void 0),ci([i.property()],fi.prototype,"type",void 0),ci([i.property()],fi.prototype,"min",void 0),ci([i.property()],fi.prototype,"max",void 0),ci([i.state()],fi.prototype,"focused",void 0),ci([i.state()],fi.prototype,"hidePassword",void 0),ci([i.state()],fi.prototype,"suggestionsOnTop",void 0),ci([i.state()],fi.prototype,"hideSuggestions",void 0),ci([i.state()],fi.prototype,"visibleSuggestions",void 0),ci([i.query(".ft-text-field--main-panel")],fi.prototype,"mainPanel",void 0),ci([i.query(".ft-text-field--input")],fi.prototype,"input",void 0),ci([i.query(".ft-text-field--suggestions")],fi.prototype,"suggestionsContainer",void 0),ci([i.queryAssignedElements({selector:"ft-text-field-suggestion"})],fi.prototype,"suggestions",void 0);const pi=e.css`
1168
+ .ft-text-field-suggestion {
1169
+ position: relative;
1170
+ padding: 8px 16px;
1171
+ cursor: pointer;
1172
+ min-height: 44px;
1173
+ box-sizing: border-box;
1174
+ outline: none;
1175
+ }
1176
+
1177
+ .ft-text-field-suggestion,
1178
+ .ft-text-field-suggestion--label {
1179
+ display: flex;
1180
+ align-items: center;
1181
+ gap: 8px;
1182
+ }
1183
+
1184
+ .ft-text-field-suggestion--label {
1185
+ flex-grow: 1;
1186
+ flex-shrink: 1;
1187
+ }
1188
+
1189
+ slot {
1190
+ pointer-events: none;
1191
+ }
1192
+ `;var di=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hi extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class gi extends o.FtLitElement{render(){return e.html`
1193
+ <div class="ft-text-field-suggestion"
1194
+ tabindex="-1"
1195
+ @keydown=${this.onKeyDown}
1196
+ @click=${this.confirmSuggestion}>
1197
+ <ft-ripple></ft-ripple>
1198
+ <ft-typography part="label"
1199
+ variant="body1"
1200
+ class="ft-text-field-suggestion--label">
1201
+ <slot></slot>
1202
+ </ft-typography>
1203
+ </div>
1204
+ `}focus(t){var o;null===(o=this.container)||void 0===o||o.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new hi(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}gi.elementDefinitions={"ft-ripple":Pt,"ft-typography":Lo,"ft-icon":_e},gi.styles=pi,di([i.property()],gi.prototype,"value",void 0),di([i.query(".ft-text-field-suggestion")],gi.prototype,"container",void 0),di([i.queryAssignedNodes()],gi.prototype,"assignedNodes",void 0),o.customElement("ft-text-field")(fi),o.customElement("ft-text-field-suggestion")(gi);var ui=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yi extends o.FtLitElement{constructor(){super(...arguments),this.currentPage=1,this.nextLabel="Next",this.previousLabel="Previous"}get resolvedMaxPage(){return this.maxPage?Math.max(1,this.maxPage):this.totalItemsCount&&this.itemsPerPage?Math.ceil(Math.max(1,this.totalItemsCount)/Math.max(1,this.itemsPerPage)):1}get resolvedCurrentPage(){return o.minmax(1,this.currentPage,this.resolvedMaxPage)}render(){return e.html`
1205
+ <div part="container">
1206
+ <ft-button icon=${Pe.THIN_ARROW_LEFT}
1207
+ ?disabled="${1==this.resolvedCurrentPage}"
1208
+ @click="${()=>this.setPage(this.resolvedCurrentPage-1)}"
1209
+ label="${this.previousLabel}" tooltipPosition="top">
1210
+ </ft-button>
1211
+ <ft-text-field outlined value="${this.resolvedCurrentPage}"
1212
+ type="number" min="1" max="${this.resolvedMaxPage}"
1213
+ @change="${t=>this.setPage(+t.detail)}">
1214
+ </ft-text-field>
1215
+ <ft-typography variant="body1"> / ${this.resolvedMaxPage}</ft-typography>
1216
+ <ft-button icon=${Pe.THIN_ARROW_RIGHT}
1217
+ ?disabled="${this.resolvedCurrentPage==this.resolvedMaxPage}"
1218
+ @click="${()=>this.setPage(this.resolvedCurrentPage+1)}"
1219
+ label="${this.nextLabel}" tooltipPosition="top">
1220
+ </ft-button>
1221
+ </div>
1222
+ `}setPage(t){this.currentPage=t,this.dispatchEvent(new CustomEvent("change",{detail:t}))}}yi.elementDefinitions={"ft-button":Qe,"ft-text-field":fi,"ft-typography":Lo},yi.styles=a,ui([i.property({type:Number,reflect:!0})],yi.prototype,"currentPage",void 0),ui([i.property({type:Number})],yi.prototype,"maxPage",void 0),ui([i.property({type:Number})],yi.prototype,"itemsPerPage",void 0),ui([i.property({type:Number})],yi.prototype,"totalItemsCount",void 0),ui([i.property()],yi.prototype,"nextLabel",void 0),ui([i.property()],yi.prototype,"previousLabel",void 0),o.customElement("ft-pager")(yi),t.FtPager=yi,t.FtPagerCssVariables={},t.styles=a}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);