@fluid-topics/ft-floating-menu 1.1.25 → 1.1.27
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.
- package/build/ft-floating-menu.light.js +126 -126
- package/build/ft-floating-menu.min.js +71 -71
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
!function(t,o,e,r,i,
|
|
1
|
+
!function(t,o,e,r,i,a){const n={zIndex:o.FtCssVariableFactory.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:o.FtCssVariableFactory.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:o.FtCssVariableFactory.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:o.FtCssVariableFactory.extend("--ft-floating-menu-text-color","",o.designSystemVariables.colorOnSurfaceHigh),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),menuElevation:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system")},l=e.css`
|
|
2
2
|
.ft-floating-menu {
|
|
3
|
-
color: ${
|
|
3
|
+
color: ${n.textColor};
|
|
4
4
|
display: inline-block;
|
|
5
5
|
}
|
|
6
6
|
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
display: none;
|
|
18
18
|
position: relative;
|
|
19
19
|
overflow: auto;
|
|
20
|
-
max-width: ${
|
|
21
|
-
max-height: ${
|
|
22
|
-
box-shadow: ${
|
|
23
|
-
background-color: ${
|
|
24
|
-
border-radius: ${
|
|
25
|
-
color: ${
|
|
26
|
-
z-index: ${
|
|
20
|
+
max-width: ${n.maxWidth};
|
|
21
|
+
max-height: ${n.maxHeight};
|
|
22
|
+
box-shadow: ${n.menuElevation};
|
|
23
|
+
background-color: ${n.colorSurface};
|
|
24
|
+
border-radius: ${n.borderRadiusS};
|
|
25
|
+
color: ${n.textColor};
|
|
26
|
+
z-index: ${n.zIndex};
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.ft-floating-menu--open .ft-floating-menu--options {
|
|
30
30
|
display: block;
|
|
31
31
|
}
|
|
32
|
-
`,c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),
|
|
32
|
+
`,c=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),p={color:c,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",c),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")},s=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),f=s,d=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",s),h=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),g=h,y=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",h),u=e.css`
|
|
33
33
|
:host {
|
|
34
34
|
display: contents;
|
|
35
35
|
}
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
|
|
43
43
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
44
44
|
overflow: hidden;
|
|
45
|
-
border-radius: ${
|
|
45
|
+
border-radius: ${p.borderRadius};
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.ft-ripple .ft-ripple--background,
|
|
@@ -76,19 +76,19 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.ft-ripple .ft-ripple--background {
|
|
79
|
-
background-color: ${
|
|
79
|
+
background-color: ${p.backgroundColor};
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.ft-ripple .ft-ripple--effect {
|
|
83
|
-
background-color: ${
|
|
83
|
+
background-color: ${p.color};
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
87
|
-
background-color: ${
|
|
87
|
+
background-color: ${y};
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
91
|
-
background-color: ${
|
|
91
|
+
background-color: ${g};
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
99
|
-
background-color: ${
|
|
99
|
+
background-color: ${f};
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.ft-ripple .ft-ripple--background {
|
|
@@ -126,49 +126,49 @@
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
129
|
-
opacity: ${
|
|
129
|
+
opacity: ${p.opacityContentOnSurfaceHover};
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
133
|
-
opacity: ${
|
|
133
|
+
opacity: ${p.opacityContentOnSurfaceSelected};
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
137
|
-
opacity: ${
|
|
137
|
+
opacity: ${p.opacityContentOnSurfaceFocused};
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
141
|
-
opacity: ${
|
|
141
|
+
opacity: ${p.opacityContentOnSurfacePressed};
|
|
142
142
|
transform: translate(-50%, -50%) scale(1);
|
|
143
143
|
}
|
|
144
|
-
`,b=t=>"string"==typeof t?e.unsafeCSS(t):t;class m{static create(t,o,r,i){const n=t=>b(null!=t?t:i),a=e.css`var(${b(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${b(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(t,o,r,i){const n=t=>r.get(null!=t?t:i),a=e.css`var(${b(t)}, ${n(i)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=i,a.defaultCssValue=n,a.get=o=>e.css`var(${b(t)}, ${n(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):b(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${b(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${b(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const x={colorWhite:m.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:m.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:m.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:m.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:m.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:m.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:m.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:m.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:m.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:m.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:m.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:m.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:m.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:m.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:m.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:m.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:m.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:m.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:m.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:m.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:m.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:m.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:m.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:m.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:m.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:m.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:m.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:m.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:m.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:m.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:m.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:m.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:m.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:m.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:m.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:m.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:m.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:m.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:m.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:m.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:m.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:m.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:m.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:m.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:m.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:m.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:m.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:m.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:m.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:m.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:m.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:m.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:m.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:m.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:m.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:m.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:m.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:m.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:m.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:m.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:m.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:m.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:m.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:m.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:m.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:m.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:m.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:m.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:m.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:m.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:m.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:m.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:m.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:m.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:m.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:m.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:m.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:m.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:m.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:m.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:m.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:m.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:m.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:m.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:m.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:m.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:m.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:m.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:m.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:m.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:m.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:m.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:m.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:m.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:m.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:m.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:m.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:m.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:m.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:m.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:m.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:m.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:m.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:m.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:m.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:m.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:m.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:m.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:m.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:m.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:m.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:m.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:m.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:m.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:m.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:m.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:m.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:m.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:m.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:m.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:m.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:m.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:m.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:m.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:m.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:m.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:m.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:m.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:m.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:m.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:m.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:m.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:m.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:m.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:m.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:m.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:m.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:m.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:m.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:m.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:m.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:m.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:m.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:m.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:m.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:m.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:m.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:m.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:m.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:m.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:m.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:m.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:m.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:m.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:m.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:m.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:m.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:m.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:m.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:m.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:m.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:m.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:m.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:m.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:m.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:m.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:m.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:m.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:m.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:m.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:m.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:m.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:m.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:m.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:m.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:m.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:m.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:m.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:m.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:m.create("--ft-icon-size-6","","SIZE","48px"),opacity0:m.create("--ft-opacity-0","","NUMBER","0"),opacity8:m.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:m.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:m.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:m.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:m.create("--ft-opacity-80","","NUMBER","0.8")},O={display:{fontFamily:m.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:m.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:m.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:m.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:m.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:m.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:m.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:m.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:m.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:m.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:m.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:m.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:m.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:m.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:m.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:m.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:m.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:m.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:m.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:m.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:m.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:m.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:m.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:m.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:m.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:m.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:m.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:m.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:m.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},v={backgroundActionPrimary:m.extend("--ft-background-action-primary","Used as backgorund of primary action components.",x.colorBrand0),backgroundErrorPrimary:m.extend("--ft-background-error-primary","Used as background of error components.",x.colorRed0),backgroundErrorSubtle:m.extend("--ft-background-error-subtle","Used as background of subtle error components.",x.colorRed10),backgroundInfoPrimary:m.extend("--ft-background-info-primary","Used as background of information components.",x.colorCyan200),backgroundInfoSubtle:m.extend("--ft-background-info-subtle","Used as background of subtle information components.",x.colorCyan10),backgroundWarningPrimary:m.extend("--ft-background-warning-primary","Used as background of warning components.",x.colorOrange300),backgroundWarningSubtle:m.extend("--ft-background-warning-subtle","Used as background of subtle information components.",x.colorOrange10),backgroundSuccessPrimary:m.extend("--ft-background-success-primary","Used as background of success components.",x.colorGreen200),backgroundSuccessSubtle:m.extend("--ft-background-success-subtle","Used as background of subtle success components.",x.colorGreen10),backgroundGlobalSurface:m.extend("--ft-background-global-surface","Used as app background.",x.colorWhite),backgroundGlobalOnSurface:m.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",x.colorGray10),backgroundGlobalOnSurfaceDark:m.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",x.colorGray30),contentActionPrimary:m.extend("--ft-content-action-primary","Used on label of primary action on light surface.",x.colorBrand0),contentWarningPrimary:m.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",x.colorOrange300),contentWarningIconOnly:m.extend("--ft-content-warning-icon-only","Used on warning status icons alone",x.colorOrange0),contentErrorPrimary:m.extend("--ft-content-error-primary","Used on label of error messages on light surface.",x.colorRed0),contentErrorIconOnly:m.extend("--ft-content-error-icon-only","Used on error status icons alone",x.colorRed0),contentInfoPrimary:m.extend("--ft-content-info-primary","Used on label of information messages on light surface.",x.colorCyan200),contentInfoIconOnly:m.extend("--ft-content-info-icon-only","Used on info status icons alone",x.colorCyan0),contentSuccessIconOnly:m.extend("--ft-content-success-icon-only","Used on success status icons alone",x.colorGreen0),contentSuccessPrimary:m.extend("--ft-content-success-primary","Used on label of success messages on light surface.",x.colorGreen200),contentGlobalPrimary:m.extend("--ft-content-global-primary","Used for main content on the page.",x.colorGray500),contentGlobalSecondary:m.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",x.colorGray200),contentGlobalSubtle:m.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",x.colorGray0),contentGlobalOnColor:m.extend("--ft-content-global-on-color","Used for content on a dominant color.",x.colorWhite),borderActionPrimary:m.extend("--ft-border-action-primary","Used as border for primary action components.",x.colorBrand0),borderActionFocusRing:m.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",x.colorCyan0),borderWarningPrimary:m.extend("--ft-border-warning-primary","Used as border for warning components.",x.colorOrange30),borderSuccessPrimary:m.extend("--ft-border-success-primary","Used as border for success components.",x.colorGreen30),borderErrorPrimary:m.extend("--ft-border-error-primary","Used as border for error components.",x.colorRed30),borderInfoPrimary:m.extend("--ft-border-info-primary","Used as border for information components.",x.colorCyan30),borderGlobalSubtle:m.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",x.colorGray30),borderGlobalPrimary:m.extend("--ft-border-global-primary","Used as border for element like input.",x.colorGray50),borderInputPrimary:m.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",x.colorGray80)},N={largeHeight:m.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:m.extend("--ft-button-large-horizontal-padding","",x.spacing4),largeGap:m.extend("--ft-button-large-gap","",x.spacing2),largeBorderRadius:m.extend("--ft-button-large-border-radius","",x.borderRadiusS),largeIconSize:m.extend("--ft-button-large-icon-size","",x.iconSize3),largeBorderWidth:m.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:m.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:m.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:m.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:m.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:m.extend("--ft-button-small-horizontal-padding","",x.spacing3),smallGap:m.extend("--ft-button-small-gap","",x.spacing2),smallBorderRadius:m.extend("--ft-button-small-border-radius","",x.borderRadiusS),smallIconSize:m.extend("--ft-button-small-icon-size","",x.iconSize2),smallBorderWidth:m.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:m.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:m.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:m.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:m.extend("--ft-button-primary-background-color","",v.backgroundActionPrimary),primaryColor:m.extend("--ft-button-primary-color","",v.contentGlobalOnColor),primaryIconColor:m.extend("--ft-button-primary-icon-color","",v.contentGlobalOnColor),primaryStateLayerColor:m.extend("--ft-button-primary-state-layer-color","",v.contentGlobalOnColor),primaryStateLayerOpacityHover:m.extend("--ft-button-primary-state-layer-opacity-hover","",x.opacity16),primaryStateLayerOpacityFocus:m.extend("--ft-button-primary-state-layer-opacity-focus","",x.opacity16),primaryStateLayerOpacityActive:m.extend("--ft-button-primary-state-layer-opacity-active","",x.opacity24),primaryComponentOpacityDisabled:m.extend("--ft-button-primary-component-opacity-disabled","",x.opacity40),focusFocusRingColor:m.extend("--ft-button-focus-focus-ring-color","",v.borderActionFocusRing),tertiaryBackgroundColor:m.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:m.extend("--ft-button-tertiary-color","",v.contentActionPrimary),tertiaryIconColor:m.extend("--ft-button-tertiary-icon-color","",v.contentActionPrimary),tertiaryStateLayerColor:m.extend("--ft-button-tertiary-state-layer-color","",v.contentActionPrimary),tertiaryStateLayerOpacityHover:m.extend("--ft-button-tertiary-state-layer-opacity-hover","",x.opacity8),tertiaryStateLayerOpacityFocus:m.extend("--ft-button-tertiary-state-layer-opacity-focus","",x.opacity8),tertiaryStateLayerOpacityActive:m.extend("--ft-button-tertiary-state-layer-opacity-active","",x.opacity16),tertiaryComponentOpacityDisabled:m.extend("--ft-button-tertiary-component-opacity-disabled","",x.opacity40),secondaryBackgroundColor:m.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:m.extend("--ft-button-secondary-color","",v.contentActionPrimary),secondaryIconColor:m.extend("--ft-button-secondary-icon-color","",v.contentActionPrimary),secondaryStateLayerColor:m.extend("--ft-button-secondary-state-layer-color","",v.contentActionPrimary),secondaryStateLayerOpacityHover:m.extend("--ft-button-secondary-state-layer-opacity-hover","",x.opacity8),secondaryStateLayerOpacityFocus:m.extend("--ft-button-secondary-state-layer-opacity-focus","",x.opacity8),secondaryStateLayerOpacityActive:m.extend("--ft-button-secondary-state-layer-opacity-active","",x.opacity16),secondaryComponentOpacityDisabled:m.extend("--ft-button-secondary-component-opacity-disabled","",x.opacity40),secondaryBorderColor:m.extend("--ft-button-secondary-border-color","",v.borderActionPrimary),neutralBackgroundColor:m.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:m.extend("--ft-button-neutral-icon-color","",v.contentGlobalSecondary),neutralColor:m.extend("--ft-button-neutral-color","",v.contentGlobalSecondary),neutralStateLayerColor:m.extend("--ft-button-neutral-state-layer-color","",v.contentGlobalSecondary),neutralStateLayerOpacityHover:m.extend("--ft-button-neutral-state-layer-opacity-hover","",x.opacity8),neutralStateLayerOpacityFocus:m.extend("--ft-button-neutral-state-layer-opacity-focus","",x.opacity8),neutralStateLayerOpacityActive:m.extend("--ft-button-neutral-state-layer-opacity-active","",x.opacity16),neutralComponentOpacityDisabled:m.extend("--ft-button-neutral-component-opacity-disabled","",x.opacity40)};m.extend("--ft-tabs-top-left-border-radius","",x.borderRadiusS),m.extend("--ft-tabs-top-right-border-radius","",x.borderRadiusS),m.extend("--ft-tabs-label-horizontal-padding","",x.spacing4),m.extend("--ft-tabs-label-vertical-padding","",x.spacing3),m.extend("--ft-tabs-label-gap","",x.spacing1),m.extend("--ft-switch-group-horizontal-padding","",x.spacing1),m.extend("--ft-switch-group-vertical-padding","",x.spacing1),m.extend("--ft-switch-group-gap","",x.spacing1),m.extend("--ft-switch-group-background-color","",v.backgroundGlobalSurface),m.extend("--ft-switch-group-border-color","",v.borderGlobalSubtle),m.create("--ft-switch-group-border-radius","","SIZE","6px"),m.extend("--ft-switch-label-horizontal-padding","",x.spacing2),m.extend("--ft-switch-label-vertical-padding","",x.spacing1),m.extend("--ft-switch-icon-horizontal-padding","",x.spacing1),m.extend("--ft-switch-icon-vertical-padding","",x.spacing1),m.create("--ft-switch-focus-outline-width","","SIZE","2px"),m.extend("--ft-switch-focus-focus-ring-color","",v.borderActionFocusRing),m.extend("--ft-switch-option-border-radius","",x.borderRadiusS),m.extend("--ft-switch-off-state-layer-opacity-hover","",x.opacity8),m.extend("--ft-switch-off-state-layer-opacity-focus","",x.opacity8),m.extend("--ft-switch-off-state-layer-opacity-active","",x.opacity16),m.extend("--ft-switch-off-component-opacity-disabled","",x.opacity40),m.extend("--ft-switch-off-color","",v.contentGlobalSubtle),m.extend("--ft-switch-off-state-layer-color","",v.contentGlobalSubtle),m.extend("--ft-chart-1-light","for area color charts",x.colorBrand40),m.extend("--ft-chart-1-base","for line charts",x.colorBrand0),m.extend("--ft-chart-2-light","for area color charts",x.colorYellow60),m.extend("--ft-chart-2-base","for line charts",x.colorYellow100),m.extend("--ft-chart-3-light","",x.colorUltramarine40),m.extend("--ft-chart-3-base","",x.colorUltramarine70),m.extend("--ft-chart-4-light","",x.colorCyan50),m.extend("--ft-chart-4-base","",x.colorCyan100),m.extend("--ft-chart-5-light","",x.colorRed40),m.extend("--ft-chart-5-base","",x.colorRed60),m.extend("--ft-chart-6-light","",x.colorGreen40),m.extend("--ft-chart-6-base","",x.colorGreen70),m.extend("--ft-chart-7-light","",x.colorOrange70),m.extend("--ft-chart-7-base","",x.colorOrange100),m.extend("--ft-chart-8-light","",x.colorAvocado70),m.extend("--ft-chart-8-base","",x.colorAvocado200),m.extend("--ft-chart-9-light","",x.colorBrown50),m.extend("--ft-chart-9-base","",x.colorBrown200),m.extend("--ft-chart-10-light","",x.colorGray50),m.extend("--ft-chart-10-base","",x.colorGray80),m.extend("--ft-chart-monochrome-10","",x.colorBrand10),m.extend("--ft-chart-monochrome-20","",x.colorBrand20),m.extend("--ft-chart-monochrome-30","",x.colorBrand40),m.extend("--ft-chart-monochrome-40","",x.colorBrand60),m.extend("--ft-chart-monochrome-50","",x.colorBrand0),m.extend("--ft-chart-monochrome-60","",x.colorBrand200),m.extend("--ft-chip-large-horizontal-padding","",x.spacing4),m.extend("--ft-chip-large-vertical-padding","",x.spacing2),m.extend("--ft-chip-large-gap","",x.spacing1),m.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-large-border-radius","",x.borderRadiusPill),m.create("--ft-chip-large-border-width","","SIZE","1px"),m.extend("--ft-chip-large-icon-size","",x.iconSize3),m.extend("--ft-chip-medium-horizontal-padding","",x.spacing3),m.extend("--ft-chip-medium-vertical-padding","",x.spacing1),m.extend("--ft-chip-medium-gap","",x.spacing1),m.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-medium-border-radius","",x.borderRadiusPill),m.create("--ft-chip-medium-border-width","","SIZE","1px"),m.extend("--ft-chip-medium-icon-size","",x.iconSize2),m.extend("--ft-chip-small-horizontal-padding","",x.spacing2),m.extend("--ft-chip-small-vertical-padding","",x.spacing05),m.extend("--ft-chip-small-gap","",x.spacing1),m.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-small-border-radius","",x.borderRadiusPill),m.create("--ft-chip-small-border-width","","SIZE","1px"),m.extend("--ft-chip-small-icon-size","",x.iconSize1),m.extend("--ft-chip-neutral-background-color","",v.backgroundGlobalOnSurface),m.extend("--ft-chip-neutral-color","",v.contentGlobalPrimary),m.extend("--ft-chip-neutral-border-color","",v.borderGlobalSubtle),m.extend("--ft-chip-info-background-color","",v.backgroundInfoSubtle),m.extend("--ft-chip-info-color","",v.contentInfoPrimary),m.extend("--ft-chip-info-border-color","",v.borderInfoPrimary),m.extend("--ft-chip-success-background-color","",v.backgroundSuccessSubtle),m.extend("--ft-chip-success-color","",v.contentSuccessPrimary),m.extend("--ft-chip-success-border-color","",v.borderSuccessPrimary),m.extend("--ft-chip-warning-background-color","",v.backgroundWarningSubtle),m.extend("--ft-chip-warning-color","",v.contentWarningPrimary),m.extend("--ft-chip-warning-border-color","",v.borderWarningPrimary),m.extend("--ft-chip-error-background-color","",v.backgroundErrorSubtle),m.extend("--ft-chip-error-color","",v.contentErrorPrimary),m.extend("--ft-chip-error-border-color","",v.borderErrorPrimary),m.create("--ft-notice-border-width","","SIZE","1px"),m.extend("--ft-notice-horizontal-padding","",x.spacing2),m.extend("--ft-notice-vertical-padding","",x.spacing1),m.extend("--ft-notice-border-radius","",x.borderRadiusS),m.extend("--ft-notice-gap","",x.spacing2),m.extend("--ft-notice-icon-size","",x.iconSize3),m.extend("--ft-notice-info-background-color","",v.backgroundInfoSubtle),m.extend("--ft-notice-info-border-color","",v.borderInfoPrimary),m.extend("--ft-notice-info-color","",v.contentInfoPrimary),m.extend("--ft-notice-warning-background-color","",v.backgroundWarningSubtle),m.extend("--ft-notice-warning-border-color","",v.borderWarningPrimary),m.extend("--ft-notice-warning-color","",v.contentWarningPrimary),m.extend("--ft-checkbox-label-color","",v.contentGlobalPrimary),m.extend("--ft-checkbox-checked-background-color","",v.contentActionPrimary),m.extend("--ft-checkbox-checked-state-layer-color","",v.contentActionPrimary),m.extend("--ft-checkbox-checked-color","",v.contentGlobalOnColor),m.extend("--ft-checkbox-checked-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-checkbox-checked-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-checkbox-checked-state-layer-opacity-active","",x.opacity24),m.extend("--ft-checkbox-checked-component-opacity-disabled","",x.opacity40),m.extend("--ft-checkbox-unchecked-border-color","",x.colorGray80),m.extend("--ft-checkbox-unchecked-state-layer-color","",x.colorGray80),m.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",x.opacity24),m.extend("--ft-checkbox-unchecked-component-opacity-disabled","",x.opacity40),m.extend("--ft-checkbox-focus-focus-ring-color","",v.borderActionFocusRing),m.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),m.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),m.extend("--ft-checkbox-gap","",x.spacing3),m.extend("--ft-toggle-off-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-toggle-off-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-toggle-off-state-layer-opacity-active","",x.opacity24),m.extend("--ft-toggle-off-component-opacity-disabled","",x.opacity40),m.extend("--ft-toggle-off-background-color","",v.contentGlobalSubtle),m.extend("--ft-toggle-off-icon-color","",v.contentGlobalSubtle),m.extend("--ft-toggle-off-state-layer-color","",v.contentGlobalSubtle),m.extend("--ft-toggle-on-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-toggle-on-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-toggle-on-state-layer-opacity-active","",x.opacity24),m.extend("--ft-toggle-on-component-opacity-disabled","",x.opacity40),m.extend("--ft-toggle-on-background-color","",v.contentActionPrimary),m.extend("--ft-toggle-on-icon-color","",v.contentActionPrimary),m.extend("--ft-toggle-on-state-layer-color","",v.contentActionPrimary),m.extend("--ft-toggle-label-color","",v.contentGlobalPrimary),m.extend("--ft-toggle-focus-focus-ring-color","",v.borderActionFocusRing),m.extend("--ft-toggle-gap","",x.spacing3),m.extend("--ft-radio-label-color","",v.contentGlobalPrimary),m.extend("--ft-radio-selected-color","",v.contentActionPrimary),m.extend("--ft-radio-selected-state-layer-color","",v.contentActionPrimary),m.extend("--ft-radio-selected-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-radio-selected-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-radio-selected-state-layer-opacity-active","",x.opacity24),m.extend("--ft-radio-selected-component-opacity-disabled","",x.opacity40),m.extend("--ft-radio-unselected-state-layer-color","",x.colorGray80),m.extend("--ft-radio-unselected-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-radio-unselected-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-radio-unselected-state-layer-opacity-active","",x.opacity24),m.extend("--ft-radio-unselected-component-opacity-disabled","",x.opacity40),m.extend("--ft-radio-focus-focus-ring-color","",v.borderActionFocusRing),m.create("--ft-radio-focus-outline-offset","","SIZE","3px"),m.create("--ft-radio-focus-outline-width","","SIZE","2px"),m.extend("--ft-radio-gap","",x.spacing3),m.extend("--ft-notification-icon-size","",x.iconSize4),m.extend("--ft-notification-horizontal-padding","",x.spacing4),m.extend("--ft-notification-vertical-padding","",x.spacing4),m.extend("--ft-notification-info-background-color","",v.backgroundInfoSubtle),m.extend("--ft-notification-info-color","",v.contentInfoPrimary),m.extend("--ft-notification-info-border-color","",v.borderInfoPrimary),m.extend("--ft-notification-success-background-color","",v.backgroundSuccessSubtle),m.extend("--ft-notification-success-color","",v.contentSuccessPrimary),m.extend("--ft-notification-success-border-color","",v.borderSuccessPrimary),m.extend("--ft-notification-warning-background-color","",v.backgroundWarningSubtle),m.extend("--ft-notification-warning-color","",v.contentWarningPrimary),m.extend("--ft-notification-warning-border-color","",v.borderWarningPrimary),m.extend("--ft-notification-error-background-color","",v.backgroundErrorSubtle),m.extend("--ft-notification-error-color","",v.contentErrorPrimary),m.extend("--ft-notification-error-border-color","",v.borderErrorPrimary),m.extend("--ft-notification-border-radius","",x.borderRadiusPill),m.create("--ft-notification-border-width","","SIZE","1px"),m.extend("--ft-notification-gap-leading","",x.spacing2),m.extend("--ft-notification-gap-trailing","",x.spacing8);const S=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),w=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),$={fontFamily:w,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")},C=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",S),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),R=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),k=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),U=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),W=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit"),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",S),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",$.fontWeight,"normal"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",$.letterSpacing,"0.105px"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",$.lineHeight,"1.7"),B=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",w),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",w),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),V=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit"),X=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",w),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),J=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),tt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),ot=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit"),et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",w),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),it=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),nt=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),lt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit"),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",w),st=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),dt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),ht=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit"),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",w),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",w),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),wt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),$t=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase"),Ct={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",w),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",$.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",$.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",$.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",$.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",$.textTransform,"uppercase")},It=e.css`
|
|
144
|
+
`,b=t=>"string"==typeof t?e.unsafeCSS(t):t;class m{static create(t,o,r,i){const a=t=>b(null!=t?t:i),n=e.css`var(${b(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${b(t)}, ${a(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,r,i){const a=t=>r.get(null!=t?t:i),n=e.css`var(${b(t)}, ${a(i)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=i,n.defaultCssValue=a,n.get=o=>e.css`var(${b(t)}, ${a(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):b(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${b(t.name)}, ${r(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=r,i.get=o=>e.css`var(${b(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const x={colorWhite:m.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:m.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:m.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:m.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:m.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:m.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:m.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:m.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:m.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:m.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:m.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:m.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:m.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:m.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:m.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:m.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:m.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:m.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:m.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:m.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:m.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:m.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:m.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:m.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:m.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:m.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:m.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:m.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:m.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:m.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:m.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:m.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:m.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:m.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:m.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:m.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:m.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:m.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:m.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:m.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:m.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:m.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:m.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:m.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:m.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:m.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:m.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:m.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:m.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:m.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:m.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:m.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:m.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:m.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:m.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:m.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:m.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:m.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:m.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:m.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:m.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:m.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:m.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:m.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:m.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:m.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:m.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:m.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:m.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:m.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:m.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:m.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:m.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:m.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:m.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:m.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:m.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:m.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:m.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:m.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:m.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:m.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:m.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:m.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:m.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:m.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:m.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:m.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:m.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:m.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:m.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:m.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:m.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:m.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:m.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:m.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:m.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:m.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:m.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:m.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:m.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:m.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:m.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:m.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:m.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:m.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:m.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:m.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:m.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:m.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:m.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:m.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:m.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:m.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:m.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:m.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:m.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:m.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:m.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:m.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:m.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:m.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:m.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:m.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:m.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:m.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:m.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:m.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:m.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:m.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:m.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:m.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:m.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:m.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:m.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:m.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:m.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:m.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:m.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:m.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:m.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:m.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:m.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:m.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:m.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:m.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:m.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:m.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:m.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:m.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:m.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:m.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:m.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:m.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:m.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:m.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:m.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:m.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:m.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:m.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:m.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:m.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:m.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:m.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:m.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:m.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:m.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:m.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:m.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:m.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:m.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:m.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:m.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:m.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:m.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:m.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:m.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:m.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:m.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:m.create("--ft-icon-size-6","","SIZE","48px"),opacity0:m.create("--ft-opacity-0","","NUMBER","0"),opacity8:m.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:m.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:m.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:m.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:m.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:m.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:m.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:m.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:m.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:m.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:m.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:m.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:m.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:m.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},O={display:{fontFamily:m.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:m.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:m.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:m.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:m.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:m.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:m.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:m.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:m.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:m.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:m.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:m.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:m.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:m.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:m.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:m.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:m.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:m.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:m.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:m.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:m.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:m.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:m.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:m.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:m.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:m.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:m.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:m.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:m.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:m.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:m.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:m.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:m.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:m.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:m.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:m.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:m.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:m.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:m.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:m.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:m.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:m.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:m.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:m.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:m.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:m.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:m.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:m.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:m.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:m.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:m.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:m.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:m.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:m.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:m.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:m.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},v={backgroundActionPrimary:m.extend("--ft-background-action-primary","Used as backgorund of primary action components.",x.colorBrand0),backgroundErrorPrimary:m.extend("--ft-background-error-primary","Used as background of error components.",x.colorRed0),backgroundErrorSubtle:m.extend("--ft-background-error-subtle","Used as background of subtle error components.",x.colorRed10),backgroundInfoPrimary:m.extend("--ft-background-info-primary","Used as background of information components.",x.colorCyan200),backgroundInfoSubtle:m.extend("--ft-background-info-subtle","Used as background of subtle information components.",x.colorCyan10),backgroundWarningPrimary:m.extend("--ft-background-warning-primary","Used as background of warning components.",x.colorOrange300),backgroundWarningSubtle:m.extend("--ft-background-warning-subtle","Used as background of subtle information components.",x.colorOrange10),backgroundSuccessPrimary:m.extend("--ft-background-success-primary","Used as background of success components.",x.colorGreen200),backgroundSuccessSubtle:m.extend("--ft-background-success-subtle","Used as background of subtle success components.",x.colorGreen10),backgroundGlobalSurface:m.extend("--ft-background-global-surface","Used as app background.",x.colorWhite),backgroundGlobalOnSurface:m.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",x.colorGray10),backgroundGlobalOnSurfaceDark:m.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",x.colorGray30),contentActionPrimary:m.extend("--ft-content-action-primary","Used on label of primary action on light surface.",x.colorBrand0),contentWarningPrimary:m.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",x.colorOrange300),contentWarningIconOnly:m.extend("--ft-content-warning-icon-only","Used on warning status icons alone",x.colorOrange0),contentErrorPrimary:m.extend("--ft-content-error-primary","Used on label of error messages on light surface.",x.colorRed0),contentErrorIconOnly:m.extend("--ft-content-error-icon-only","Used on error status icons alone",x.colorRed0),contentInfoPrimary:m.extend("--ft-content-info-primary","Used on label of information messages on light surface.",x.colorCyan200),contentInfoIconOnly:m.extend("--ft-content-info-icon-only","Used on info status icons alone",x.colorCyan0),contentSuccessPrimary:m.extend("--ft-content-success-primary","Used on label of success messages on light surface.",x.colorGreen200),contentSuccessIconOnly:m.extend("--ft-content-success-icon-only","Used on success status icons alone",x.colorGreen0),contentGlobalPrimary:m.extend("--ft-content-global-primary","Used for main content on the page.",x.colorGray500),contentGlobalSecondary:m.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",x.colorGray200),contentGlobalSubtle:m.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",x.colorGray0),contentGlobalOnColor:m.extend("--ft-content-global-on-color","Used for content on a dominant color.",x.colorWhite),borderActionPrimary:m.extend("--ft-border-action-primary","Used as border for primary action components.",x.colorBrand0),borderActionFocusRing:m.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",x.colorCyan0),borderWarningPrimary:m.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",x.colorOrange300),borderWarningSubtle:m.extend("--ft-border-warning-subtle","Used as border for warning components.",x.colorOrange30),borderSuccessPrimary:m.extend("--ft-border-success-primary","Used as border for success buttons.",x.colorGreen200),borderSuccessSubtle:m.extend("--ft-border-success-subtle","Used as border for success components.",x.colorGreen30),borderErrorPrimary:m.extend("--ft-border-error-primary","Used as border for text fields in error states.",x.colorRed0),borderErrorSubtle:m.extend("--ft-border-error-subtle","Used as border for error components.",x.colorRed30),borderInfoPrimary:m.extend("--ft-border-info-primary","Used as border for buttons in info color.",x.colorCyan200),borderInfoSubtle:m.extend("--ft-border-info-subtle","Used as border for information components.",x.colorCyan30),borderGlobalPrimary:m.extend("--ft-border-global-primary","Used as border for element like input.",x.colorGray50),borderGlobalSubtle:m.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",x.colorGray30),borderInputPrimary:m.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",x.colorGray80)},N={largeHeight:m.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:m.extend("--ft-button-large-horizontal-padding","",x.spacing4),largeGap:m.extend("--ft-button-large-gap","",x.spacing2),largeBorderRadius:m.extend("--ft-button-large-border-radius","",x.borderRadiusS),largeIconSize:m.extend("--ft-button-large-icon-size","",x.iconSize3),largeBorderWidth:m.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:m.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:m.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:m.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:m.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:m.extend("--ft-button-small-horizontal-padding","",x.spacing3),smallGap:m.extend("--ft-button-small-gap","",x.spacing2),smallBorderRadius:m.extend("--ft-button-small-border-radius","",x.borderRadiusS),smallIconSize:m.extend("--ft-button-small-icon-size","",x.iconSize2),smallBorderWidth:m.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:m.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:m.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:m.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:m.extend("--ft-button-primary-background-color","",v.backgroundActionPrimary),primaryColor:m.extend("--ft-button-primary-color","",v.contentGlobalOnColor),primaryIconColor:m.extend("--ft-button-primary-icon-color","",v.contentGlobalOnColor),primaryStateLayerColor:m.extend("--ft-button-primary-state-layer-color","",v.contentGlobalOnColor),primaryStateLayerOpacityHover:m.extend("--ft-button-primary-state-layer-opacity-hover","",x.opacity16),primaryStateLayerOpacityFocus:m.extend("--ft-button-primary-state-layer-opacity-focus","",x.opacity16),primaryStateLayerOpacityActive:m.extend("--ft-button-primary-state-layer-opacity-active","",x.opacity24),primaryComponentOpacityDisabled:m.extend("--ft-button-primary-component-opacity-disabled","",x.opacity40),focusFocusRingColor:m.extend("--ft-button-focus-focus-ring-color","",v.borderActionFocusRing),tertiaryBackgroundColor:m.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:m.extend("--ft-button-tertiary-color","",v.contentActionPrimary),tertiaryIconColor:m.extend("--ft-button-tertiary-icon-color","",v.contentActionPrimary),tertiaryStateLayerColor:m.extend("--ft-button-tertiary-state-layer-color","",v.contentActionPrimary),tertiaryStateLayerOpacityHover:m.extend("--ft-button-tertiary-state-layer-opacity-hover","",x.opacity8),tertiaryStateLayerOpacityFocus:m.extend("--ft-button-tertiary-state-layer-opacity-focus","",x.opacity8),tertiaryStateLayerOpacityActive:m.extend("--ft-button-tertiary-state-layer-opacity-active","",x.opacity16),tertiaryComponentOpacityDisabled:m.extend("--ft-button-tertiary-component-opacity-disabled","",x.opacity40),secondaryBackgroundColor:m.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:m.extend("--ft-button-secondary-color","",v.contentActionPrimary),secondaryIconColor:m.extend("--ft-button-secondary-icon-color","",v.contentActionPrimary),secondaryStateLayerColor:m.extend("--ft-button-secondary-state-layer-color","",v.contentActionPrimary),secondaryStateLayerOpacityHover:m.extend("--ft-button-secondary-state-layer-opacity-hover","",x.opacity8),secondaryStateLayerOpacityFocus:m.extend("--ft-button-secondary-state-layer-opacity-focus","",x.opacity8),secondaryStateLayerOpacityActive:m.extend("--ft-button-secondary-state-layer-opacity-active","",x.opacity16),secondaryComponentOpacityDisabled:m.extend("--ft-button-secondary-component-opacity-disabled","",x.opacity40),secondaryBorderColor:m.extend("--ft-button-secondary-border-color","",v.borderActionPrimary),neutralBackgroundColor:m.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:m.extend("--ft-button-neutral-icon-color","",v.contentGlobalSecondary),neutralColor:m.extend("--ft-button-neutral-color","",v.contentGlobalSecondary),neutralStateLayerColor:m.extend("--ft-button-neutral-state-layer-color","",v.contentGlobalSecondary),neutralStateLayerOpacityHover:m.extend("--ft-button-neutral-state-layer-opacity-hover","",x.opacity8),neutralStateLayerOpacityFocus:m.extend("--ft-button-neutral-state-layer-opacity-focus","",x.opacity8),neutralStateLayerOpacityActive:m.extend("--ft-button-neutral-state-layer-opacity-active","",x.opacity16),neutralComponentOpacityDisabled:m.extend("--ft-button-neutral-component-opacity-disabled","",x.opacity40)};m.extend("--ft-floating-menu-horizontal-padding","",x.spacing4),m.extend("--ft-floating-menu-vertical-padding","",x.spacing4),m.extend("--ft-floating-menu-off-icon-color","",v.contentGlobalPrimary),m.extend("--ft-floating-menu-off-color","",v.contentGlobalPrimary),m.extend("--ft-floating-menu-on-color","",v.contentActionPrimary),m.extend("--ft-floating-menu-on-icon-color","",v.contentActionPrimary),m.extend("--ft-floating-menu-on-state-layer-color","",v.contentActionPrimary),m.extend("--ft-floating-menu-gap","",x.spacing3),m.extend("--ft-floating-menu-focus-focus-ring-color","",v.borderActionFocusRing),m.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),m.extend("--ft-floating-menu-state-layer-opacity-hover","",x.opacity8),m.extend("--ft-floating-menu-state-layer-opacity-active","",x.opacity16),m.extend("--ft-floating-menu-state-layer-opacity-focus","",x.opacity8),m.extend("--ft-floating-menu-component-opacity-disabled","",x.opacity40),m.extend("--ft-floating-menu-icon-size","",x.iconSize3),m.extend("--ft-floating-menu-background-color","",v.backgroundGlobalOnSurface),m.extend("--ft-tabs-top-left-border-radius","",x.borderRadiusS),m.extend("--ft-tabs-top-right-border-radius","",x.borderRadiusS),m.extend("--ft-tabs-label-horizontal-padding","",x.spacing4),m.extend("--ft-tabs-label-vertical-padding","",x.spacing3),m.extend("--ft-tabs-label-gap","",x.spacing1),m.extend("--ft-tabs-icon-horizontal-padding","",x.spacing1),m.extend("--ft-tabs-icon-vertical-padding","",x.spacing4),m.create("--ft-tabs-focus-outline-width","","SIZE","2px"),m.extend("--ft-tabs-focus-focus-ring-color","",v.borderActionFocusRing),m.extend("--ft-tabs-off-state-layer-opacity-hover","",x.opacity8),m.extend("--ft-tabs-off-state-layer-opacity-focus","",x.opacity8),m.extend("--ft-tabs-off-state-layer-opacity-active","",x.opacity16),m.extend("--ft-tabs-off-component-opacity-disabled","",x.opacity40),m.extend("--ft-tabs-off-color","",v.contentGlobalSubtle),m.extend("--ft-tabs-off-state-layer-color","",v.contentGlobalSubtle),m.extend("--ft-tabs-on-state-layer-opacity-hover","",x.opacity8),m.extend("--ft-tabs-on-state-layer-opacity-focus","",x.opacity8),m.extend("--ft-tabs-on-state-layer-opacity-active","",x.opacity16),m.extend("--ft-tabs-on-component-opacity-disabled","",x.opacity40),m.extend("--ft-tabs-on-color","",v.contentActionPrimary),m.extend("--ft-tabs-on-state-layer-color","",v.contentActionPrimary),m.extend("--ft-collapsible-state-layer-opacity-hover","",x.opacity8),m.extend("--ft-collapsible-state-layer-opacity-focus","",x.opacity8),m.extend("--ft-collapsible-state-layer-opacity-active","",x.opacity16),m.extend("--ft-collapsible-component-opacity-disabled","",x.opacity40),m.extend("--ft-collapsible-horizontal-padding","",x.spacing4),m.extend("--ft-collapsible-vertical-padding","",x.spacing3),m.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),m.extend("--ft-collapsible-focus-focus-ring-color","",v.borderActionFocusRing),m.extend("--ft-collapsible-color","",v.contentGlobalPrimary),m.extend("--ft-collapsible-state-layer-color","",v.contentGlobalPrimary),m.extend("--ft-collapsible-background-color","",v.backgroundGlobalOnSurface),m.extend("--ft-collapsible-border-color","",v.borderGlobalSubtle),m.extend("--ft-collapsible-icon-size","",x.iconSize3),m.extend("--ft-switch-group-horizontal-padding","",x.spacing1),m.extend("--ft-switch-group-vertical-padding","",x.spacing1),m.extend("--ft-switch-group-gap","",x.spacing1),m.extend("--ft-switch-group-background-color","",v.backgroundGlobalSurface),m.extend("--ft-switch-group-border-color","",v.borderGlobalSubtle),m.create("--ft-switch-group-border-radius","","SIZE","6px"),m.extend("--ft-switch-label-horizontal-padding","",x.spacing2),m.extend("--ft-switch-label-vertical-padding","",x.spacing1),m.extend("--ft-switch-icon-horizontal-padding","",x.spacing1),m.extend("--ft-switch-icon-vertical-padding","",x.spacing1),m.create("--ft-switch-focus-outline-width","","SIZE","2px"),m.extend("--ft-switch-focus-focus-ring-color","",v.borderActionFocusRing),m.extend("--ft-switch-option-border-radius","",x.borderRadiusS),m.extend("--ft-switch-off-state-layer-opacity-hover","",x.opacity8),m.extend("--ft-switch-off-state-layer-opacity-focus","",x.opacity8),m.extend("--ft-switch-off-state-layer-opacity-active","",x.opacity16),m.extend("--ft-switch-off-component-opacity-disabled","",x.opacity40),m.extend("--ft-switch-off-color","",v.contentGlobalSubtle),m.extend("--ft-switch-off-state-layer-color","",v.contentGlobalSubtle),m.extend("--ft-switch-on-state-layer-opacity-hover","",x.opacity8),m.extend("--ft-switch-on-state-layer-opacity-focus","",x.opacity8),m.extend("--ft-switch-on-state-layer-opacity-active","",x.opacity16),m.extend("--ft-switch-on-component-opacity-disabled","",x.opacity40),m.extend("--ft-switch-on-color","",v.contentActionPrimary),m.extend("--ft-switch-on-state-layer-color","",v.contentActionPrimary),m.extend("--ft-chart-1-light","for area color charts",x.colorBrand40),m.extend("--ft-chart-1-base","for line charts",x.colorBrand0),m.extend("--ft-chart-2-light","for area color charts",x.colorYellow60),m.extend("--ft-chart-2-base","for line charts",x.colorYellow100),m.extend("--ft-chart-3-light","",x.colorUltramarine40),m.extend("--ft-chart-3-base","",x.colorUltramarine70),m.extend("--ft-chart-4-light","",x.colorCyan50),m.extend("--ft-chart-4-base","",x.colorCyan100),m.extend("--ft-chart-5-light","",x.colorRed40),m.extend("--ft-chart-5-base","",x.colorRed60),m.extend("--ft-chart-6-light","",x.colorGreen40),m.extend("--ft-chart-6-base","",x.colorGreen70),m.extend("--ft-chart-7-light","",x.colorOrange70),m.extend("--ft-chart-7-base","",x.colorOrange100),m.extend("--ft-chart-8-light","",x.colorAvocado70),m.extend("--ft-chart-8-base","",x.colorAvocado200),m.extend("--ft-chart-9-light","",x.colorBrown50),m.extend("--ft-chart-9-base","",x.colorBrown200),m.extend("--ft-chart-10-light","",x.colorGray50),m.extend("--ft-chart-10-base","",x.colorGray80),m.extend("--ft-chart-monochrome-10","",x.colorBrand10),m.extend("--ft-chart-monochrome-20","",x.colorBrand20),m.extend("--ft-chart-monochrome-30","",x.colorBrand40),m.extend("--ft-chart-monochrome-40","",x.colorBrand60),m.extend("--ft-chart-monochrome-50","",x.colorBrand0),m.extend("--ft-chart-monochrome-60","",x.colorBrand200),m.extend("--ft-chip-large-horizontal-padding","",x.spacing4),m.extend("--ft-chip-large-vertical-padding","",x.spacing2),m.extend("--ft-chip-large-gap","",x.spacing1),m.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-large-border-radius","",x.borderRadiusPill),m.create("--ft-chip-large-border-width","","SIZE","1px"),m.extend("--ft-chip-large-icon-size","",x.iconSize3),m.extend("--ft-chip-medium-horizontal-padding","",x.spacing3),m.extend("--ft-chip-medium-vertical-padding","",x.spacing1),m.extend("--ft-chip-medium-gap","",x.spacing1),m.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-medium-border-radius","",x.borderRadiusPill),m.create("--ft-chip-medium-border-width","","SIZE","1px"),m.extend("--ft-chip-medium-icon-size","",x.iconSize2),m.extend("--ft-chip-small-horizontal-padding","",x.spacing2),m.extend("--ft-chip-small-vertical-padding","",x.spacing05),m.extend("--ft-chip-small-gap","",x.spacing1),m.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),m.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),m.extend("--ft-chip-small-border-radius","",x.borderRadiusPill),m.create("--ft-chip-small-border-width","","SIZE","1px"),m.extend("--ft-chip-small-icon-size","",x.iconSize1),m.extend("--ft-chip-neutral-background-color","",v.backgroundGlobalOnSurface),m.extend("--ft-chip-neutral-color","",v.contentGlobalPrimary),m.extend("--ft-chip-neutral-border-color","",v.borderGlobalSubtle),m.extend("--ft-chip-info-background-color","",v.backgroundInfoSubtle),m.extend("--ft-chip-info-color","",v.contentInfoPrimary),m.extend("--ft-chip-info-border-color","",v.borderInfoSubtle),m.extend("--ft-chip-success-background-color","",v.backgroundSuccessSubtle),m.extend("--ft-chip-success-color","",v.contentSuccessPrimary),m.extend("--ft-chip-success-border-color","",v.borderSuccessSubtle),m.extend("--ft-chip-warning-background-color","",v.backgroundWarningSubtle),m.extend("--ft-chip-warning-color","",v.contentWarningPrimary),m.extend("--ft-chip-warning-border-color","",v.borderWarningSubtle),m.extend("--ft-chip-error-background-color","",v.backgroundErrorSubtle),m.extend("--ft-chip-error-color","",v.contentErrorPrimary),m.extend("--ft-chip-error-border-color","",v.borderErrorSubtle),m.create("--ft-notice-border-width","","SIZE","1px"),m.extend("--ft-notice-horizontal-padding","",x.spacing2),m.extend("--ft-notice-vertical-padding","",x.spacing1),m.extend("--ft-notice-border-radius","",x.borderRadiusS),m.extend("--ft-notice-gap","",x.spacing2),m.extend("--ft-notice-icon-size","",x.iconSize3),m.extend("--ft-notice-info-background-color","",v.backgroundInfoSubtle),m.extend("--ft-notice-info-border-color","",v.borderInfoSubtle),m.extend("--ft-notice-info-color","",v.contentInfoPrimary),m.extend("--ft-notice-warning-background-color","",v.backgroundWarningSubtle),m.extend("--ft-notice-warning-border-color","",v.borderWarningSubtle),m.extend("--ft-notice-warning-color","",v.contentWarningPrimary),m.extend("--ft-checkbox-label-color","",v.contentGlobalPrimary),m.extend("--ft-checkbox-checked-background-color","",v.contentActionPrimary),m.extend("--ft-checkbox-checked-state-layer-color","",v.contentActionPrimary),m.extend("--ft-checkbox-checked-color","",v.contentGlobalOnColor),m.extend("--ft-checkbox-checked-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-checkbox-checked-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-checkbox-checked-state-layer-opacity-active","",x.opacity24),m.extend("--ft-checkbox-checked-component-opacity-disabled","",x.opacity40),m.extend("--ft-checkbox-unchecked-border-color","",x.colorGray80),m.extend("--ft-checkbox-unchecked-state-layer-color","",x.colorGray80),m.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",x.opacity24),m.extend("--ft-checkbox-unchecked-component-opacity-disabled","",x.opacity40),m.extend("--ft-checkbox-focus-focus-ring-color","",v.borderActionFocusRing),m.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),m.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),m.extend("--ft-checkbox-gap","",x.spacing3),m.extend("--ft-toggle-off-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-toggle-off-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-toggle-off-state-layer-opacity-active","",x.opacity24),m.extend("--ft-toggle-off-component-opacity-disabled","",x.opacity40),m.extend("--ft-toggle-off-background-color","",v.contentGlobalSubtle),m.extend("--ft-toggle-off-icon-color","",v.contentGlobalSubtle),m.extend("--ft-toggle-off-state-layer-color","",v.contentGlobalSubtle),m.extend("--ft-toggle-on-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-toggle-on-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-toggle-on-state-layer-opacity-active","",x.opacity24),m.extend("--ft-toggle-on-component-opacity-disabled","",x.opacity40),m.extend("--ft-toggle-on-background-color","",v.contentActionPrimary),m.extend("--ft-toggle-on-icon-color","",v.contentActionPrimary),m.extend("--ft-toggle-on-state-layer-color","",v.contentActionPrimary),m.extend("--ft-toggle-label-color","",v.contentGlobalPrimary),m.extend("--ft-toggle-focus-focus-ring-color","",v.borderActionFocusRing),m.extend("--ft-toggle-gap","",x.spacing3),m.extend("--ft-radio-label-color","",v.contentGlobalPrimary),m.extend("--ft-radio-selected-color","",v.contentActionPrimary),m.extend("--ft-radio-selected-state-layer-color","",v.contentActionPrimary),m.extend("--ft-radio-selected-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-radio-selected-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-radio-selected-state-layer-opacity-active","",x.opacity24),m.extend("--ft-radio-selected-component-opacity-disabled","",x.opacity40),m.extend("--ft-radio-unselected-state-layer-color","",x.colorGray80),m.extend("--ft-radio-unselected-state-layer-opacity-hover","",x.opacity16),m.extend("--ft-radio-unselected-state-layer-opacity-focus","",x.opacity16),m.extend("--ft-radio-unselected-state-layer-opacity-active","",x.opacity24),m.extend("--ft-radio-unselected-component-opacity-disabled","",x.opacity40),m.extend("--ft-radio-focus-focus-ring-color","",v.borderActionFocusRing),m.create("--ft-radio-focus-outline-offset","","SIZE","3px"),m.create("--ft-radio-focus-outline-width","","SIZE","2px"),m.extend("--ft-radio-gap","",x.spacing3),m.extend("--ft-notification-icon-size","",x.iconSize4),m.extend("--ft-notification-horizontal-padding","",x.spacing4),m.extend("--ft-notification-vertical-padding","",x.spacing4),m.extend("--ft-notification-info-background-color","",v.backgroundInfoSubtle),m.extend("--ft-notification-info-color","",v.contentInfoPrimary),m.extend("--ft-notification-info-border-color","",v.borderInfoSubtle),m.extend("--ft-notification-success-background-color","",v.backgroundSuccessSubtle),m.extend("--ft-notification-success-color","",v.contentSuccessPrimary),m.extend("--ft-notification-success-border-color","",v.borderSuccessSubtle),m.extend("--ft-notification-warning-background-color","",v.backgroundWarningSubtle),m.extend("--ft-notification-warning-color","",v.contentWarningPrimary),m.extend("--ft-notification-warning-border-color","",v.borderWarningSubtle),m.extend("--ft-notification-error-background-color","",v.backgroundErrorSubtle),m.extend("--ft-notification-error-color","",v.contentErrorPrimary),m.extend("--ft-notification-error-border-color","",v.borderErrorSubtle),m.extend("--ft-notification-border-radius","",x.borderRadiusPill),m.create("--ft-notification-border-width","","SIZE","1px"),m.extend("--ft-notification-gap-leading","",x.spacing2),m.extend("--ft-notification-gap-trailing","",x.spacing8),m.extend("--ft-tooltip-horizontal-padding","",x.spacing2),m.extend("--ft-tooltip-vertical-padding","",x.spacing2),m.extend("--ft-tooltip-border-radius","",x.borderRadiusS),m.extend("--ft-tooltip-label","",v.contentGlobalOnColor),m.extend("--ft-tooltip-background","",v.contentGlobalPrimary),m.extend("--ft-tooltip-background-opacity","",x.opacity80),m.extend("--ft-tooltip-shadow","",x.shadowElevation03);const S=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),w=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),C={fontFamily:w,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")},$=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",S),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",C.fontSize,"20px"),W=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",C.fontWeight,"normal"),U=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",C.letterSpacing,"0.15px"),E=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",C.lineHeight,"1.2"),R=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",C.textTransform,"inherit"),k=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",S),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",C.fontSize,"14px"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",C.fontWeight,"normal"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",C.letterSpacing,"0.105px"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",C.lineHeight,"1.7"),F=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",C.textTransform,"inherit"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",w),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",C.fontSize,"16px"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",C.fontWeight,"600"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",C.letterSpacing,"0.144px"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",C.lineHeight,"1.5"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",C.textTransform,"inherit"),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",w),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",C.fontSize,"14px"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",C.fontWeight,"normal"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",C.letterSpacing,"0.098px"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",C.lineHeight,"1.7"),V=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",C.textTransform,"inherit"),X=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",w),q=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",C.fontSize,"16px"),J=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",C.fontWeight,"normal"),Q=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",C.letterSpacing,"0.496px"),tt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",C.lineHeight,"1.5"),ot=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",C.textTransform,"inherit"),et=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",w),rt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",C.fontSize,"14px"),it=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",C.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",C.letterSpacing,"0.252px"),nt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",C.lineHeight,"1.4"),lt=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",C.textTransform,"inherit"),ct=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",w),pt=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",C.fontSize,"12px"),st=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",C.fontWeight,"normal"),ft=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",C.letterSpacing,"0.396px"),dt=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",C.lineHeight,"1.33"),ht=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",C.textTransform,"inherit"),gt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",w),yt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",C.fontSize,"10px"),ut=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",C.fontWeight,"normal"),bt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",C.letterSpacing,"0.33px"),mt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",C.lineHeight,"1.6"),xt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",C.textTransform,"inherit"),Ot=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",w),vt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",C.fontSize,"10px"),Nt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",C.fontWeight,"normal"),St=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",C.letterSpacing,"1.5px"),wt=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",C.lineHeight,"1.6"),Ct=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",C.textTransform,"uppercase"),$t={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",w),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",C.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",C.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",C.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",C.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",C.textTransform,"uppercase")},It=e.css`
|
|
145
145
|
.ft-typography--title {
|
|
146
|
-
font-family: ${
|
|
146
|
+
font-family: ${$};
|
|
147
147
|
font-size: ${I};
|
|
148
|
-
font-weight: ${
|
|
149
|
-
letter-spacing: ${
|
|
150
|
-
line-height: ${
|
|
151
|
-
text-transform: ${
|
|
148
|
+
font-weight: ${W};
|
|
149
|
+
letter-spacing: ${U};
|
|
150
|
+
line-height: ${E};
|
|
151
|
+
text-transform: ${R};
|
|
152
152
|
}
|
|
153
|
-
`,
|
|
153
|
+
`,Wt=e.css`
|
|
154
154
|
.ft-typography--title-dense {
|
|
155
|
-
font-family: ${
|
|
155
|
+
font-family: ${k};
|
|
156
156
|
font-size: ${L};
|
|
157
157
|
font-weight: ${K};
|
|
158
158
|
letter-spacing: ${Z};
|
|
159
159
|
line-height: ${z};
|
|
160
|
-
text-transform: ${
|
|
160
|
+
text-transform: ${F};
|
|
161
161
|
}
|
|
162
|
-
`,
|
|
162
|
+
`,Ut=e.css`
|
|
163
163
|
.ft-typography--subtitle1 {
|
|
164
|
-
font-family: ${
|
|
165
|
-
font-size: ${
|
|
166
|
-
font-weight: ${
|
|
167
|
-
letter-spacing: ${
|
|
164
|
+
font-family: ${D};
|
|
165
|
+
font-size: ${B};
|
|
166
|
+
font-weight: ${H};
|
|
167
|
+
letter-spacing: ${A};
|
|
168
168
|
line-height: ${G};
|
|
169
169
|
text-transform: ${P};
|
|
170
170
|
}
|
|
171
|
-
`,
|
|
171
|
+
`,Et=e.css`
|
|
172
172
|
.ft-typography--subtitle2 {
|
|
173
173
|
font-family: ${j};
|
|
174
174
|
font-size: ${M};
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
text-transform: ${V};
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
`,
|
|
181
|
+
`,Rt=e.css`
|
|
182
182
|
.ft-typography--body1 {
|
|
183
183
|
font-family: ${X};
|
|
184
184
|
font-size: ${q};
|
|
@@ -187,28 +187,28 @@
|
|
|
187
187
|
line-height: ${tt};
|
|
188
188
|
text-transform: ${ot};
|
|
189
189
|
}
|
|
190
|
-
`,
|
|
190
|
+
`,kt=e.css`
|
|
191
191
|
.ft-typography--body2 {
|
|
192
192
|
font-family: ${et};
|
|
193
193
|
font-size: ${rt};
|
|
194
194
|
font-weight: ${it};
|
|
195
|
-
letter-spacing: ${
|
|
196
|
-
line-height: ${
|
|
195
|
+
letter-spacing: ${at};
|
|
196
|
+
line-height: ${nt};
|
|
197
197
|
text-transform: ${lt};
|
|
198
198
|
}
|
|
199
199
|
`,Lt=e.css`
|
|
200
200
|
.ft-typography--caption {
|
|
201
201
|
font-family: ${ct};
|
|
202
|
-
font-size: ${
|
|
203
|
-
font-weight: ${
|
|
204
|
-
letter-spacing: ${
|
|
202
|
+
font-size: ${pt};
|
|
203
|
+
font-weight: ${st};
|
|
204
|
+
letter-spacing: ${ft};
|
|
205
205
|
line-height: ${dt};
|
|
206
206
|
text-transform: ${ht};
|
|
207
207
|
}
|
|
208
208
|
`,Kt=e.css`
|
|
209
209
|
.ft-typography--breadcrumb {
|
|
210
|
-
font-family: ${
|
|
211
|
-
font-size: ${
|
|
210
|
+
font-family: ${gt};
|
|
211
|
+
font-size: ${yt};
|
|
212
212
|
font-weight: ${ut};
|
|
213
213
|
letter-spacing: ${bt};
|
|
214
214
|
line-height: ${mt};
|
|
@@ -221,22 +221,22 @@
|
|
|
221
221
|
font-weight: ${Nt};
|
|
222
222
|
letter-spacing: ${St};
|
|
223
223
|
line-height: ${wt};
|
|
224
|
-
text-transform: ${
|
|
224
|
+
text-transform: ${Ct};
|
|
225
225
|
}
|
|
226
226
|
`,zt=e.css`
|
|
227
227
|
.ft-typography--button {
|
|
228
|
-
font-family: ${
|
|
229
|
-
font-size: ${
|
|
230
|
-
font-weight: ${
|
|
231
|
-
letter-spacing: ${
|
|
232
|
-
line-height: ${
|
|
233
|
-
text-transform: ${
|
|
234
|
-
}
|
|
235
|
-
`,
|
|
228
|
+
font-family: ${$t.fontFamily};
|
|
229
|
+
font-size: ${$t.fontSize};
|
|
230
|
+
font-weight: ${$t.fontWeight};
|
|
231
|
+
letter-spacing: ${$t.letterSpacing};
|
|
232
|
+
line-height: ${$t.lineHeight};
|
|
233
|
+
text-transform: ${$t.textTransform};
|
|
234
|
+
}
|
|
235
|
+
`,Ft=e.css`
|
|
236
236
|
.ft-typography {
|
|
237
237
|
vertical-align: inherit;
|
|
238
238
|
}
|
|
239
|
-
`,
|
|
239
|
+
`,Dt=[Object.keys(O).map((t=>function(t){const o=O[t];return e.css`
|
|
240
240
|
.ft-typography--${e.unsafeCSS(t)} {
|
|
241
241
|
font-family: ${o.fontFamily};
|
|
242
242
|
font-size: ${o.fontSize};
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
line-height: ${o.lineHeight};
|
|
246
246
|
text-transform: ${o.textCase};
|
|
247
247
|
}
|
|
248
|
-
`}(t)))],
|
|
248
|
+
`}(t)))],Bt={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Ht=e.css`
|
|
249
249
|
:host {
|
|
250
250
|
line-height: 0;
|
|
251
251
|
}
|
|
@@ -254,8 +254,8 @@
|
|
|
254
254
|
display: inline-block;
|
|
255
255
|
position: relative;
|
|
256
256
|
|
|
257
|
-
width: ${
|
|
258
|
-
height: ${
|
|
257
|
+
width: ${Bt.size};
|
|
258
|
+
height: ${Bt.size};
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
.ft-loader div {
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
width: 25%;
|
|
265
265
|
height: 25%;
|
|
266
266
|
border-radius: 50%;
|
|
267
|
-
background: ${
|
|
267
|
+
background: ${Bt.color};
|
|
268
268
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
269
269
|
}
|
|
270
270
|
|
|
@@ -311,10 +311,10 @@
|
|
|
311
311
|
transform: translate(0, 0);
|
|
312
312
|
}
|
|
313
313
|
100% {
|
|
314
|
-
transform: translate(calc(0.35 * ${
|
|
314
|
+
transform: translate(calc(0.35 * ${Bt.size}), 0);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
`,
|
|
317
|
+
`,At={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")},Gt=e.css`
|
|
318
318
|
:host, i.ft-icon {
|
|
319
319
|
display: inline-flex;
|
|
320
320
|
align-items: center;
|
|
@@ -323,14 +323,14 @@
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
:host {
|
|
326
|
-
width: ${
|
|
327
|
-
height: ${
|
|
326
|
+
width: ${At.size};
|
|
327
|
+
height: ${At.size};
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
i.ft-icon {
|
|
331
331
|
width: 100%;
|
|
332
332
|
height: 100%;
|
|
333
|
-
font-size: ${
|
|
333
|
+
font-size: ${At.size};
|
|
334
334
|
line-height: 1;
|
|
335
335
|
font-weight: normal;
|
|
336
336
|
text-transform: none;
|
|
@@ -341,28 +341,28 @@
|
|
|
341
341
|
text-rendering: auto;
|
|
342
342
|
-webkit-font-smoothing: antialiased;
|
|
343
343
|
-moz-osx-font-smoothing: grayscale;
|
|
344
|
-
vertical-align: ${
|
|
344
|
+
vertical-align: ${At.verticalAlign};
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
i.ft-icon.ft-icon--fluid-topics {
|
|
348
|
-
font-family: ${
|
|
348
|
+
font-family: ${At.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
349
349
|
|
|
350
350
|
/* Ugly fix because font is broken */
|
|
351
|
-
font-size: calc(0.75 * ${
|
|
352
|
-
line-height: ${
|
|
351
|
+
font-size: calc(0.75 * ${At.size});
|
|
352
|
+
line-height: ${At.size};
|
|
353
353
|
position: relative;
|
|
354
354
|
top: -4%;
|
|
355
355
|
justify-content: center;
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
.ft-icon--file-format {
|
|
359
|
-
font-family: ${
|
|
359
|
+
font-family: ${At.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
.ft-icon--material {
|
|
363
|
-
font-family: ${
|
|
363
|
+
font-family: ${At.materialFontFamily}, "Material Icons", sans-serif;
|
|
364
364
|
}
|
|
365
|
-
`,Pt=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),jt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Pt,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size",""
|
|
365
|
+
`,Pt=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),jt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Pt,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",$t.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Pt),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")},Mt=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Tt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:Mt,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Mt)},_t=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Yt=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Vt=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Xt=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),qt=[e.css`
|
|
366
366
|
:host {
|
|
367
367
|
display: inline-block;
|
|
368
368
|
max-width: 100%;
|
|
@@ -404,8 +404,8 @@
|
|
|
404
404
|
|
|
405
405
|
--ft-button-internal-line-height: max(calc(${jt.fontSize} + 2px), ${jt.iconSize});
|
|
406
406
|
--ft-button-internal-color: ${jt.color};
|
|
407
|
-
${o.setVariable(
|
|
408
|
-
${o.setVariable(
|
|
407
|
+
${o.setVariable(At.size,jt.iconSize)};
|
|
408
|
+
${o.setVariable(p.color,jt.rippleColor)};
|
|
409
409
|
|
|
410
410
|
border-radius: ${jt.borderRadius};
|
|
411
411
|
padding: ${jt.verticalPadding} ${jt.horizontalPadding};
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
.ft-button.ft-button--primary {
|
|
450
450
|
background-color: ${Tt.backgroundColor};
|
|
451
451
|
--ft-button-internal-color: ${Tt.color};
|
|
452
|
-
${o.setVariable(
|
|
452
|
+
${o.setVariable(p.color,Tt.rippleColor)};
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
.ft-button:focus {
|
|
@@ -463,8 +463,8 @@
|
|
|
463
463
|
text-overflow: ellipsis;
|
|
464
464
|
display: block;
|
|
465
465
|
margin: 0 ${jt.iconPadding};
|
|
466
|
-
${o.setVariable(
|
|
467
|
-
${o.setVariable(
|
|
466
|
+
${o.setVariable($t.fontSize,"1em")};
|
|
467
|
+
${o.setVariable($t.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
468
468
|
}
|
|
469
469
|
|
|
470
470
|
.ft-button--dense .ft-button--label {
|
|
@@ -496,10 +496,10 @@
|
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
ft-loader {
|
|
499
|
-
${o.setVariable(
|
|
500
|
-
${o.setVariable(
|
|
499
|
+
${o.setVariable(Bt.size,jt.iconSize)};
|
|
500
|
+
${o.setVariable(Bt.color,"var(--ft-button-internal-color)")};
|
|
501
501
|
}
|
|
502
|
-
`,o.noTextSelect];var Jt=function(t,o,e,r){for(var i,
|
|
502
|
+
`,o.noTextSelect];var Jt=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class Qt 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:r,y:i}=this.getCoordinates(t),a=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!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.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`
|
|
503
503
|
<style>
|
|
504
504
|
.ft-ripple .ft-ripple--effect {
|
|
505
505
|
left: ${this.originX}px;
|
|
@@ -510,26 +510,26 @@
|
|
|
510
510
|
<div class="ft-ripple--background"></div>
|
|
511
511
|
<div class="ft-ripple--effect"></div>
|
|
512
512
|
</div>
|
|
513
|
-
`}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"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},
|
|
513
|
+
`}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"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},a={passive:!0};t.addEventListener("mouseover",this.startHover,a),t.addEventListener("mousemove",this.moveRipple,a),t.addEventListener("mouseleave",this.endHover,a),t.addEventListener("mousedown",e,a),t.addEventListener("touchstart",r,a),t.addEventListener("touchmove",this.moveRipple,a),t.addEventListener("keydown",i,a),t.addEventListener("focus",this.startFocus,a),t.addEventListener("blur",this.endFocus,a),t.addEventListener("focusin",this.startFocus,a),t.addEventListener("focusout",this.endFocus,a),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,a),t.removeEventListener("mousemove",this.moveRipple,a),t.removeEventListener("mouseleave",this.endHover,a),t.removeEventListener("mousedown",e,a),t.removeEventListener("touchstart",r,a),t.removeEventListener("touchmove",this.moveRipple,a),t.removeEventListener("keydown",i,a),t.removeEventListener("focus",this.startFocus,a),t.removeEventListener("blur",this.endFocus,a),t.removeEventListener("focusin",this.startFocus,a),t.removeEventListener("focusout",this.endFocus,a),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}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()}}Qt.elementDefinitions={},Qt.styles=u,Jt([r.property({type:Boolean})],Qt.prototype,"primary",void 0),Jt([r.property({type:Boolean})],Qt.prototype,"secondary",void 0),Jt([r.property({type:Boolean})],Qt.prototype,"unbounded",void 0),Jt([r.property({type:Boolean})],Qt.prototype,"activated",void 0),Jt([r.property({type:Boolean})],Qt.prototype,"selected",void 0),Jt([r.property({type:Boolean})],Qt.prototype,"disabled",void 0),Jt([r.state()],Qt.prototype,"hovered",void 0),Jt([r.state()],Qt.prototype,"focused",void 0),Jt([r.state()],Qt.prototype,"pressed",void 0),Jt([r.state()],Qt.prototype,"rippling",void 0),Jt([r.state()],Qt.prototype,"originX",void 0),Jt([r.state()],Qt.prototype,"originY",void 0),Jt([r.query(".ft-ripple")],Qt.prototype,"ripple",void 0),Jt([r.query(".ft-ripple--effect")],Qt.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Qt);
|
|
514
514
|
/**
|
|
515
515
|
* @license
|
|
516
516
|
* Copyright 2017 Google LLC
|
|
517
517
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
518
518
|
*/
|
|
519
|
-
const to=globalThis,oo=to.trustedTypes,eo=oo?oo.createPolicy("lit-html",{createHTML:t=>t}):void 0,ro="$lit$",io=`lit$${(Math.random()+"").slice(9)}$`,
|
|
519
|
+
const to=globalThis,oo=to.trustedTypes,eo=oo?oo.createPolicy("lit-html",{createHTML:t=>t}):void 0,ro="$lit$",io=`lit$${(Math.random()+"").slice(9)}$`,ao="?"+io,no=`<${ao}>`,lo=document,co=()=>lo.createComment(""),po=t=>null===t||"object"!=typeof t&&"function"!=typeof t,so=Array.isArray,fo="[ \t\n\f\r]",ho=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,go=/-->/g,yo=/>/g,uo=RegExp(`>|${fo}(?:([^\\s"'>=/]+)(${fo}*=${fo}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),bo=/'/g,mo=/"/g,xo=/^(?:script|style|textarea|title)$/i,Oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),vo=Symbol.for("lit-noChange"),No=Symbol.for("lit-nothing"),So=new WeakMap,wo=lo.createTreeWalker(lo,129);function Co(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==eo?eo.createHTML(o):o}const $o=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=ho;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(n.lastIndex=s,c=n.exec(e),null!==c);)s=n.lastIndex,n===ho?"!--"===c[1]?n=go:void 0!==c[1]?n=yo:void 0!==c[2]?(xo.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=uo):void 0!==c[3]&&(n=uo):n===uo?">"===c[0]?(n=i??ho,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?uo:'"'===c[3]?mo:bo):n===mo||n===bo?n=uo:n===go||n===yo?n=ho:(n=uo,i=void 0);const f=n===uo&&t[o+1].startsWith("/>")?" ":"";a+=n===ho?e+no:p>=0?(r.push(l),e.slice(0,p)+ro+e.slice(p)+io+f):e+io+(-2===p?o:f)}return[Co(t,a+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class Io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,p]=$o(t,o);if(this.el=Io.createElement(c,e),wo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=wo.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(ro)){const o=p[a++],e=r.getAttribute(t).split(io),n=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:n[2],strings:e,ctor:"."===n[1]?ko:"?"===n[1]?Lo:"@"===n[1]?Ko:Ro}),r.removeAttribute(t)}else t.startsWith(io)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(xo.test(r.tagName)){const t=r.textContent.split(io),o=t.length-1;if(o>0){r.textContent=oo?oo.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],co()),wo.nextNode(),l.push({type:2,index:++i});r.append(t[o],co())}}}else if(8===r.nodeType)if(r.data===ao)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(io,t+1));)l.push({type:7,index:i}),t+=io.length-1}i++}}static createElement(t,o){const e=lo.createElement("template");return e.innerHTML=t,e}}function Wo(t,o,e=t,r){if(o===vo)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const a=po(o)?void 0:o._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=Wo(t,i._$AS(t,o.values),i,r)),o}class Uo{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,r=(t?.creationScope??lo).importNode(o,!0);wo.currentNode=r;let i=wo.nextNode(),a=0,n=0,l=e[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new Eo(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new Zo(i,this,t)),this._$AV.push(o),l=e[++n]}a!==l?.index&&(i=wo.nextNode(),a++)}return wo.currentNode=lo,r}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 Eo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=No,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.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=Wo(this,t,o),po(t)?t===No||null==t||""===t?(this._$AH!==No&&this._$AR(),this._$AH=No):t!==this._$AH&&t!==vo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>so(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!==No&&po(this._$AH)?this._$AA.nextSibling.data=t:this.$(lo.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=Io.createElement(Co(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new Uo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=So.get(t.strings);return void 0===o&&So.set(t.strings,o=new Io(t)),o}T(t){so(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new Eo(this.k(co()),this.k(co()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$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 Ro{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=No,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=No}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=Wo(this,t,o,0),a=!po(t)||t!==this._$AH&&t!==vo,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=Wo(this,r[e+n],o,n),l===vo&&(l=this._$AH[n]),a||=!po(l)||l!==this._$AH[n],l===No?t=No:t!==No&&(t+=(l??"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.O(t)}O(t){t===No?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ko extends Ro{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===No?void 0:t}}class Lo extends Ro{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==No)}}class Ko extends Ro{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Wo(this,t,o,0)??No)===vo)return;const e=this._$AH,r=t===No&&e!==No||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==No&&(e===No||r);r&&this.element.removeEventListener(this.name,this,e),i&&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 Zo{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){Wo(this,t)}}const zo=to.litHtmlPolyfillSupport;zo?.(Io,Eo),(to.litHtmlVersions??=[]).push("3.1.0");
|
|
520
520
|
/**
|
|
521
521
|
* @license
|
|
522
522
|
* Copyright 2020 Google LLC
|
|
523
523
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
524
524
|
*/
|
|
525
|
-
const
|
|
526
|
-
<${
|
|
525
|
+
const Fo=Symbol.for(""),Do=t=>{if(t?.r===Fo)return t?._$litStatic$},Bo=t=>({_$litStatic$:t,r:Fo}),Ho=new Map,Ao=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(a=e[p],i=Do(a));)c+=i+o[++p],s=!0;p!==r&&l.push(a),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=Ho.get(t))&&(n.raw=n,Ho.set(t,o=n)),e=l}return t(o,...e)})(Oo);var Go;!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"}(Go||(Go={}));var Po=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class jo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Go.body1}render(){return this.element?Ao`
|
|
526
|
+
<${Bo(this.element)}
|
|
527
527
|
class="ft-typography ft-typography--${this.variant}">
|
|
528
528
|
<slot></slot>
|
|
529
|
-
</${
|
|
530
|
-
`:
|
|
529
|
+
</${Bo(this.element)}>
|
|
530
|
+
`:Ao`
|
|
531
531
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
532
|
-
`}}jo.styles=[It,
|
|
532
|
+
`}}jo.styles=[It,Wt,Ut,Et,Rt,kt,Lt,Kt,Zt,zt,Ft,...Dt],Po([r.property()],jo.prototype,"element",void 0),Po([r.property()],jo.prototype,"variant",void 0),o.customElement("ft-typography")(jo);const Mo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),To=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),_o=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Yo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Vo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Xo=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),qo=e.css`
|
|
533
533
|
.ft-tooltip--container {
|
|
534
534
|
display: block;
|
|
535
535
|
}
|
|
@@ -558,7 +558,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
558
558
|
position: relative;
|
|
559
559
|
word-break: break-word;
|
|
560
560
|
}
|
|
561
|
-
`,Jo=["start","end"],Qo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Jo[0],o+"-"+Jo[1])),[]),te=Math.min,oe=Math.max,ee=Math.round,re=t=>({x:t,y:t}),ie={left:"right",right:"left",bottom:"top",top:"bottom"},ne={start:"end",end:"start"};function ae(t,o,e){return oe(t,te(o,e))}function le(t,o){return"function"==typeof t?t(o):t}function ce(t){return t.split("-")[0]}function se(t){return t.split("-")[1]}function fe(t){return"x"===t?"y":"x"}function pe(t){return"y"===t?"height":"width"}function de(t){return["top","bottom"].includes(ce(t))?"y":"x"}function he(t){return fe(de(t))}function ye(t){return t.replace(/left|right|bottom|top/g,(t=>ie[t]))}function ge(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ue(t,o,e){let{reference:r,floating:i}=t;const n=de(o),a=he(o),l=pe(a),c=ce(o),s="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(se(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function be(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=le(o,t),y=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),g=l[d?"floating"===p?"reference":"floating":p],u=ge(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}: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},O=ge(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+y.top)/x.y,bottom:(O.bottom-u.bottom+y.bottom)/x.y,left:(u.left-O.left+y.left)/x.x,right:(O.right-u.right+y.right)/x.x}}function me(t,o,e){return(t?[...e.filter((o=>se(o)===t)),...e.filter((o=>se(o)!==t))]:e.filter((t=>ce(t)===t))).filter((e=>!t||(se(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ne[t]))}(e)!==e)))}const xe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Qo,autoAlignment:h=!0,...y}=le(t,o),g=void 0!==p||d===Qo?me(p||null,h,d):d,u=await be(o,y),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=se(t),i=he(t),n=pe(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=ye(a)),[a,ye(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[u[ce(m)],u[x[0]],u[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=g[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=se(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])),w=S.filter((t=>t[2].slice(0,se(t[0])?2:3).every((t=>t<=0)))),$=(null==(i=w[0])?void 0:i[0])||S[0][0];return $!==l?{data:{index:b+1,overflows:v},reset:{placement:$}}:{}}}};function Oe(t){return Se(t)?(t.nodeName||"").toLowerCase():"#document"}function ve(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ne(t){var o;return null==(o=(Se(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Se(t){return t instanceof Node||t instanceof ve(t).Node}function we(t){return t instanceof Element||t instanceof ve(t).Element}function $e(t){return t instanceof HTMLElement||t instanceof ve(t).HTMLElement}function Ce(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ve(t).ShadowRoot)}function Ie(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Ee(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Re(t){return["table","td","th"].includes(Oe(t))}function ke(t){const o=Ue(),e=Ee(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 Ue(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function We(t){return["html","body","#document"].includes(Oe(t))}function Ee(t){return ve(t).getComputedStyle(t)}function Le(t){return we(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ke(t){if("html"===Oe(t))return t;const o=t.assignedSlot||t.parentNode||Ce(t)&&t.host||Ne(t);return Ce(o)?o.host:o}function Ze(t){const o=Ke(t);return We(o)?t.ownerDocument?t.ownerDocument.body:t.body:$e(o)&&Ie(o)?o:Ze(o)}function ze(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ze(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=ve(i);return n?o.concat(a,a.visualViewport||[],Ie(i)?i:[],a.frameElement&&e?ze(a.frameElement):[]):o.concat(i,ze(i,[],e))}function Be(t){const o=Ee(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=$e(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=ee(e)!==n||ee(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function Fe(t){return we(t)?t:t.contextElement}function De(t){const o=Fe(t);if(!$e(o))return re(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Be(o);let a=(n?ee(e.width):e.width)/r,l=(n?ee(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Ae=re(0);function He(t){const o=ve(t);return Ue()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Ae}function Ge(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Fe(t);let a=re(1);o&&(r?we(r)&&(a=De(r)):a=De(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ve(t))&&o}(n,e,r)?He(n):re(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=ve(n),o=r&&we(r)?ve(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=De(e),o=e.getBoundingClientRect(),r=Ee(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,f*=t.x,p*=t.y,c+=i,s+=n,e=ve(e).frameElement}}return ge({width:f,height:p,x:c,y:s})}function Pe(t){return Ge(Ne(t)).left+Le(t).scrollLeft}function je(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=ve(t),r=Ne(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=Ue();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Ne(t),e=Le(t),r=t.ownerDocument.body,i=oe(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=oe(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Pe(t);const l=-e.scrollTop;return"rtl"===Ee(r).direction&&(a+=oe(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Ne(t));else if(we(o))r=function(t,o){const e=Ge(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=$e(t)?De(t):re(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=He(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ge(r)}function Me(t,o){const e=Ke(t);return!(e===o||!we(e)||We(e))&&("fixed"===Ee(e).position||Me(e,o))}function Te(t,o,e){const r=$e(o),i=Ne(o),n="fixed"===e,a=Ge(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=re(0);if(r||!r&&!n)if(("body"!==Oe(o)||Ie(i))&&(l=Le(o)),r){const t=Ge(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Pe(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function _e(t,o){return $e(t)&&"fixed"!==Ee(t).position?o?o(t):t.offsetParent:null}function Ye(t,o){const e=ve(t);if(!$e(t))return e;let r=_e(t,o);for(;r&&Re(r)&&"static"===Ee(r).position;)r=_e(r,o);return r&&("html"===Oe(r)||"body"===Oe(r)&&"static"===Ee(r).position&&!ke(r))?e:r||function(t){let o=Ke(t);for(;$e(o)&&!We(o);){if(ke(o))return o;o=Ke(o)}return null}(t)||e}const Ve={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=$e(e),n=Ne(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=re(1);const c=re(0);if((i||!i&&"fixed"!==r)&&(("body"!==Oe(e)||Ie(n))&&(a=Le(e)),$e(e))){const t=Ge(e);l=De(e),c.x=t.x+e.clientLeft,c.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+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Ne,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ze(t,[],!1).filter((t=>we(t)&&"body"!==Oe(t))),i=null;const n="fixed"===Ee(t).position;let a=n?Ke(t):t;for(;we(a)&&!We(a);){const o=Ee(a),e=ke(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ie(a)&&!e&&Me(t,a))?r=r.filter((t=>t!==a)):i=o,a=Ke(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=je(o,e,i);return t.top=oe(r.top,t.top),t.right=te(r.right,t.right),t.bottom=te(r.bottom,t.bottom),t.left=oe(r.left,t.left),t}),je(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ye,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ye,n=this.getDimensions;return{reference:Te(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Be(t)},getScale:De,isElement:we,isRTL:function(t){return"rtl"===Ee(t).direction}},Xe=(t,o,e)=>{const r=new Map,i={platform:Ve,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=ue(s,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:u,y:b,data:m,reset:x}=await g({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=u?u:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&y<=50&&(y++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(s=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:f,y:p}=ue(s,d,c))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function qe(t){return function(t){for(let o=t;o;o=Je(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Je(t);o;o=Je(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 Je(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Qe(t,o,e){return Xe(t,o,{platform:{...Ve,getOffsetParent:t=>Ve.getOffsetParent(t,qe)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=le(r,t),s={x:o,y:e},f=await be(t,c),p=de(ce(i)),d=fe(p);let h=s[d],y=s[p];if(n){const t="y"===d?"bottom":"right";h=ae(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";y=ae(y+f["y"===p?"top":"left"],y,y-f[t])}const g=l.fn({...t,[d]:h,[p]:y});return{...g,data:{x:g.x-o,y:g.y-e}}}}),xe({allowedPlacements:[e]})]});var r}var tr,or,er,rr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ir 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`
|
|
561
|
+
`,Jo=["start","end"],Qo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Jo[0],o+"-"+Jo[1])),[]),te=Math.min,oe=Math.max,ee=Math.round,re=t=>({x:t,y:t}),ie={left:"right",right:"left",bottom:"top",top:"bottom"},ae={start:"end",end:"start"};function ne(t,o,e){return oe(t,te(o,e))}function le(t,o){return"function"==typeof t?t(o):t}function ce(t){return t.split("-")[0]}function pe(t){return t.split("-")[1]}function se(t){return"x"===t?"y":"x"}function fe(t){return"y"===t?"height":"width"}function de(t){return["top","bottom"].includes(ce(t))?"y":"x"}function he(t){return se(de(t))}function ge(t){return t.replace(/left|right|bottom|top/g,(t=>ie[t]))}function ye(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ue(t,o,e){let{reference:r,floating:i}=t;const a=de(o),n=he(o),l=fe(n),c=ce(o),p="y"===a,s=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:s,y:r.y-i.height};break;case"bottom":h={x:s,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-i.width,y:f};break;default:h={x:r.x,y:r.y}}switch(pe(o)){case"start":h[n]-=d*(e&&p?-1:1);break;case"end":h[n]+=d*(e&&p?-1:1)}return h}async function be(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:a,rects:n,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=le(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),y=l[d?"floating"===f?"reference":"floating":f],u=ye(await a.getClippingRect({element:null==(e=await(null==a.isElement?void 0:a.isElement(y)))||e?y:y.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:s,strategy:c})),b="floating"===f?{...n.floating,x:r,y:i}:n.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),x=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},O=ye(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(u.top-O.top+g.top)/x.y,bottom:(O.bottom-u.bottom+g.bottom)/x.y,left:(u.left-O.left+g.left)/x.x,right:(O.right-u.right+g.right)/x.x}}function me(t,o,e){return(t?[...e.filter((o=>pe(o)===t)),...e.filter((o=>pe(o)!==t))]:e.filter((t=>ce(t)===t))).filter((e=>!t||(pe(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>ae[t]))}(e)!==e)))}const xe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:a,middlewareData:n,placement:l,platform:c,elements:p}=o,{crossAxis:s=!1,alignment:f,allowedPlacements:d=Qo,autoAlignment:h=!0,...g}=le(t,o),y=void 0!==f||d===Qo?me(f||null,h,d):d,u=await be(o,g),b=(null==(e=n.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=pe(t),i=he(t),a=fe(i);let n="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[a]>o.floating[a]&&(n=ge(n)),[n,ge(n)]}(m,a,await(null==c.isRTL?void 0:c.isRTL(p.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[u[ce(m)],u[x[0]],u[x[1]]],v=[...(null==(r=n.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=pe(t.placement);return[t.placement,o&&s?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,pe(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==l?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Oe(t){return Se(t)?(t.nodeName||"").toLowerCase():"#document"}function ve(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Ne(t){var o;return null==(o=(Se(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Se(t){return t instanceof Node||t instanceof ve(t).Node}function we(t){return t instanceof Element||t instanceof ve(t).Element}function Ce(t){return t instanceof HTMLElement||t instanceof ve(t).HTMLElement}function $e(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ve(t).ShadowRoot)}function Ie(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ke(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function We(t){return["table","td","th"].includes(Oe(t))}function Ue(t){const o=Ee(),e=ke(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 Ee(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Re(t){return["html","body","#document"].includes(Oe(t))}function ke(t){return ve(t).getComputedStyle(t)}function Le(t){return we(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ke(t){if("html"===Oe(t))return t;const o=t.assignedSlot||t.parentNode||$e(t)&&t.host||Ne(t);return $e(o)?o.host:o}function Ze(t){const o=Ke(t);return Re(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ce(o)&&Ie(o)?o:Ze(o)}function ze(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=Ze(t),a=i===(null==(r=t.ownerDocument)?void 0:r.body),n=ve(i);return a?o.concat(n,n.visualViewport||[],Ie(i)?i:[],n.frameElement&&e?ze(n.frameElement):[]):o.concat(i,ze(i,[],e))}function Fe(t){const o=ke(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ce(t),a=i?t.offsetWidth:e,n=i?t.offsetHeight:r,l=ee(e)!==a||ee(r)!==n;return l&&(e=a,r=n),{width:e,height:r,$:l}}function De(t){return we(t)?t:t.contextElement}function Be(t){const o=De(t);if(!Ce(o))return re(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:a}=Fe(o);let n=(a?ee(e.width):e.width)/r,l=(a?ee(e.height):e.height)/i;return n&&Number.isFinite(n)||(n=1),l&&Number.isFinite(l)||(l=1),{x:n,y:l}}const He=re(0);function Ae(t){const o=ve(t);return Ee()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:He}function Ge(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),a=De(t);let n=re(1);o&&(r?we(r)&&(n=Be(r)):n=Be(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==ve(t))&&o}(a,e,r)?Ae(a):re(0);let c=(i.left+l.x)/n.x,p=(i.top+l.y)/n.y,s=i.width/n.x,f=i.height/n.y;if(a){const t=ve(a),o=r&&we(r)?ve(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Be(e),o=e.getBoundingClientRect(),r=ke(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,a=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,p*=t.y,s*=t.x,f*=t.y,c+=i,p+=a,e=ve(e).frameElement}}return ye({width:s,height:f,x:c,y:p})}function Pe(t){return Ge(Ne(t)).left+Le(t).scrollLeft}function je(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=ve(t),r=Ne(t),i=e.visualViewport;let a=r.clientWidth,n=r.clientHeight,l=0,c=0;if(i){a=i.width,n=i.height;const t=Ee();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:n,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Ne(t),e=Le(t),r=t.ownerDocument.body,i=oe(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),a=oe(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let n=-e.scrollLeft+Pe(t);const l=-e.scrollTop;return"rtl"===ke(r).direction&&(n+=oe(o.clientWidth,r.clientWidth)-i),{width:i,height:a,x:n,y:l}}(Ne(t));else if(we(o))r=function(t,o){const e=Ge(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,a=Ce(t)?Be(t):re(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:i*a.x,y:r*a.y}}(o,e);else{const e=Ae(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ye(r)}function Me(t,o){const e=Ke(t);return!(e===o||!we(e)||Re(e))&&("fixed"===ke(e).position||Me(e,o))}function Te(t,o,e){const r=Ce(o),i=Ne(o),a="fixed"===e,n=Ge(t,!0,a,o);let l={scrollLeft:0,scrollTop:0};const c=re(0);if(r||!r&&!a)if(("body"!==Oe(o)||Ie(i))&&(l=Le(o)),r){const t=Ge(o,!0,a,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Pe(i));return{x:n.left+l.scrollLeft-c.x,y:n.top+l.scrollTop-c.y,width:n.width,height:n.height}}function _e(t,o){return Ce(t)&&"fixed"!==ke(t).position?o?o(t):t.offsetParent:null}function Ye(t,o){const e=ve(t);if(!Ce(t))return e;let r=_e(t,o);for(;r&&We(r)&&"static"===ke(r).position;)r=_e(r,o);return r&&("html"===Oe(r)||"body"===Oe(r)&&"static"===ke(r).position&&!Ue(r))?e:r||function(t){let o=Ke(t);for(;Ce(o)&&!Re(o);){if(Ue(o))return o;o=Ke(o)}return null}(t)||e}const Ve={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ce(e),a=Ne(e);if(e===a)return o;let n={scrollLeft:0,scrollTop:0},l=re(1);const c=re(0);if((i||!i&&"fixed"!==r)&&(("body"!==Oe(e)||Ie(a))&&(n=Le(e)),Ce(e))){const t=Ge(e);l=Be(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-n.scrollLeft*l.x+c.x,y:o.y*l.y-n.scrollTop*l.y+c.y}},getDocumentElement:Ne,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const a=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ze(t,[],!1).filter((t=>we(t)&&"body"!==Oe(t))),i=null;const a="fixed"===ke(t).position;let n=a?Ke(t):t;for(;we(n)&&!Re(n);){const o=ke(n),e=Ue(n);e||"fixed"!==o.position||(i=null),(a?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Ie(n)&&!e&&Me(t,n))?r=r.filter((t=>t!==n)):i=o,n=Ke(n)}return o.set(t,r),r}(o,this._c):[].concat(e),r],n=a[0],l=a.reduce(((t,e)=>{const r=je(o,e,i);return t.top=oe(r.top,t.top),t.right=te(r.right,t.right),t.bottom=te(r.bottom,t.bottom),t.left=oe(r.left,t.left),t}),je(o,n,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ye,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ye,a=this.getDimensions;return{reference:Te(o,await i(e),r),floating:{x:0,y:0,...await a(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Fe(t)},getScale:Be,isElement:we,isRTL:function(t){return"rtl"===ke(t).direction}},Xe=(t,o,e)=>{const r=new Map,i={platform:Ve,...e},a={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:n}=e,l=a.filter(Boolean),c=await(null==n.isRTL?void 0:n.isRTL(o));let p=await n.getElementRects({reference:t,floating:o,strategy:i}),{x:s,y:f}=ue(p,r,c),d=r,h={},g=0;for(let e=0;e<l.length;e++){const{name:a,fn:y}=l[e],{x:u,y:b,data:m,reset:x}=await y({x:s,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:p,platform:n,elements:{reference:t,floating:o}});s=null!=u?u:s,f=null!=b?b:f,h={...h,[a]:{...h[a],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(p=!0===x.rects?await n.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:s,y:f}=ue(p,d,c))),e=-1)}return{x:s,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:a})};function qe(t){return function(t){for(let o=t;o;o=Je(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Je(t);o;o=Je(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 Je(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Qe(t,o,e){return Xe(t,o,{platform:{...Ve,getOffsetParent:t=>Ve.getOffsetParent(t,qe)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:a=!0,crossAxis:n=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=le(r,t),p={x:o,y:e},s=await be(t,c),f=de(ce(i)),d=se(f);let h=p[d],g=p[f];if(a){const t="y"===d?"bottom":"right";h=ne(h+s["y"===d?"top":"left"],h,h-s[t])}if(n){const t="y"===f?"bottom":"right";g=ne(g+s["y"===f?"top":"left"],g,g-s[t])}const y=l.fn({...t,[d]:h,[f]:g});return{...y,data:{x:y.x-o,y:y.y-e}}}}),xe({allowedPlacements:[e]})]});var r}var tr,or,er,rr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ir 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`
|
|
562
562
|
<div part="container"
|
|
563
563
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
564
564
|
@mouseenter=${this.onHover}
|
|
@@ -576,19 +576,19 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
576
576
|
</div>
|
|
577
577
|
</div>
|
|
578
578
|
</div>
|
|
579
|
-
`}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()}async show(t){this.visible=!0,null!=t&&await 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(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Qe(this.slottedElement,this.tooltip,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))}}ir.elementDefinitions={"ft-typography":jo},ir.styles=qo,rr([r.property()],ir.prototype,"text",void 0),rr([r.property({type:Boolean})],ir.prototype,"manual",void 0),rr([r.property({type:Boolean})],ir.prototype,"inline",void 0),rr([r.property({type:Number})],ir.prototype,"delay",void 0),rr([r.property()],ir.prototype,"position",void 0),rr([r.queryAssignedNodes()],ir.prototype,"slotNodes",void 0),rr([r.query(".ft-tooltip--container")],ir.prototype,"container",void 0),rr([r.query(".ft-tooltip")],ir.prototype,"tooltip",void 0),rr([r.query(".ft-tooltip--content")],ir.prototype,"tooltipContent",void 0),rr([r.state()],ir.prototype,"visible",void 0),rr([r.eventOptions({passive:!0})],ir.prototype,"onTouch",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onHover",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onOut",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onClick",null),o.customElement("ft-tooltip")(ir),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(tr||(tr={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(or||(or={})),new Map([...["abw"].map((t=>[t,or.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,or.AUDIO])),...["avi"].map((t=>[t,or.AVI])),...["chm","xhs"].map((t=>[t,or.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,or.CODE])),...["csv"].map((t=>[t,or.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,or.DITA])),...["epub"].map((t=>[t,or.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,or.EXCEL])),...["flac"].map((t=>[t,or.FLAC])),...["gif"].map((t=>[t,or.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,or.GZIP])),...["html","htm","xhtml"].map((t=>[t,or.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,or.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,or.JPEG])),...["json"].map((t=>[t,or.JSON])),...["m4a","m4p"].map((t=>[t,or.M4A])),...["mov","qt"].map((t=>[t,or.MOV])),...["mp3"].map((t=>[t,or.MP3])),...["mp4","m4v"].map((t=>[t,or.MP4])),...["ogg","oga"].map((t=>[t,or.OGG])),...["pdf","ps"].map((t=>[t,or.PDF])),...["png"].map((t=>[t,or.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,or.POWERPOINT])),...["rar"].map((t=>[t,or.RAR])),...["stp"].map((t=>[t,or.STP])),...["txt","rtf","md","mdown"].map((t=>[t,or.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,or.VIDEO])),...["wav"].map((t=>[t,or.WAV])),...["wma"].map((t=>[t,or.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,or.WORD])),...["xml","xsl","rdf"].map((t=>[t,or.XML])),...["yaml","yml","x-yaml"].map((t=>[t,or.YAML])),...["zip"].map((t=>[t,or.ZIP]))]),or.ABW,or.AUDIO,or.AVI,or.CHM,or.CODE,or.CSV,or.DITA,or.EPUB,or.EXCEL,or.FLAC,or.GIF,or.GZIP,or.HTML,or.IMAGE,or.JPEG,or.JSON,or.M4A,or.MOV,or.MP3,or.MP4,or.OGG,or.PDF,or.PNG,or.POWERPOINT,or.RAR,or.STP,or.TEXT,or.UNKNOWN,or.VIDEO,or.WAV,or.WMA,or.WORD,or.XML,or.YAML,or.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(er||(er={}));var nr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ar extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(er).includes(this.variant)?this.variant:er.fluid_topics,o=t!==er.material||!!this.value;return e.html`
|
|
579
|
+
`}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()}async show(t){this.visible=!0,null!=t&&await 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(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Qe(this.slottedElement,this.tooltip,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))}}ir.elementDefinitions={"ft-typography":jo},ir.styles=qo,rr([r.property()],ir.prototype,"text",void 0),rr([r.property({type:Boolean})],ir.prototype,"manual",void 0),rr([r.property({type:Boolean})],ir.prototype,"inline",void 0),rr([r.property({type:Number})],ir.prototype,"delay",void 0),rr([r.property()],ir.prototype,"position",void 0),rr([r.queryAssignedNodes()],ir.prototype,"slotNodes",void 0),rr([r.query(".ft-tooltip--container")],ir.prototype,"container",void 0),rr([r.query(".ft-tooltip")],ir.prototype,"tooltip",void 0),rr([r.query(".ft-tooltip--content")],ir.prototype,"tooltipContent",void 0),rr([r.state()],ir.prototype,"visible",void 0),rr([r.eventOptions({passive:!0})],ir.prototype,"onTouch",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onHover",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onOut",null),rr([r.eventOptions({passive:!0})],ir.prototype,"onClick",null),o.customElement("ft-tooltip")(ir),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(tr||(tr={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(or||(or={})),new Map([...["abw"].map((t=>[t,or.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,or.AUDIO])),...["avi"].map((t=>[t,or.AVI])),...["chm","xhs"].map((t=>[t,or.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,or.CODE])),...["csv"].map((t=>[t,or.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,or.DITA])),...["epub"].map((t=>[t,or.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,or.EXCEL])),...["flac"].map((t=>[t,or.FLAC])),...["gif"].map((t=>[t,or.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,or.GZIP])),...["html","htm","xhtml"].map((t=>[t,or.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,or.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,or.JPEG])),...["json"].map((t=>[t,or.JSON])),...["m4a","m4p"].map((t=>[t,or.M4A])),...["mov","qt"].map((t=>[t,or.MOV])),...["mp3"].map((t=>[t,or.MP3])),...["mp4","m4v"].map((t=>[t,or.MP4])),...["ogg","oga"].map((t=>[t,or.OGG])),...["pdf","ps"].map((t=>[t,or.PDF])),...["png"].map((t=>[t,or.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,or.POWERPOINT])),...["rar"].map((t=>[t,or.RAR])),...["stp"].map((t=>[t,or.STP])),...["txt","rtf","md","mdown"].map((t=>[t,or.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,or.VIDEO])),...["wav"].map((t=>[t,or.WAV])),...["wma"].map((t=>[t,or.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,or.WORD])),...["xml","xsl","rdf"].map((t=>[t,or.XML])),...["yaml","yml","x-yaml"].map((t=>[t,or.YAML])),...["zip"].map((t=>[t,or.ZIP]))]),or.ABW,or.AUDIO,or.AVI,or.CHM,or.CODE,or.CSV,or.DITA,or.EPUB,or.EXCEL,or.FLAC,or.GIF,or.GZIP,or.HTML,or.IMAGE,or.JPEG,or.JSON,or.M4A,or.MOV,or.MP3,or.MP4,or.OGG,or.PDF,or.PNG,or.POWERPOINT,or.RAR,or.STP,or.TEXT,or.UNKNOWN,or.VIDEO,or.WAV,or.WMA,or.WORD,or.XML,or.YAML,or.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(er||(er={}));var ar=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class nr extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(er).includes(this.variant)?this.variant:er.fluid_topics,o=t!==er.material||!!this.value;return e.html`
|
|
580
580
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
581
|
-
${
|
|
581
|
+
${a.unsafeHTML(this.resolvedIcon)}
|
|
582
582
|
<slot ?hidden=${o}></slot>
|
|
583
583
|
</i>
|
|
584
|
-
`}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 r=this.value||this.textContent;switch(this.variant){case er.file_format:this.resolvedIcon=null!==(t=or[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case er.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=tr[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}
|
|
584
|
+
`}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 r=this.value||this.textContent;switch(this.variant){case er.file_format:this.resolvedIcon=null!==(t=or[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case er.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=tr[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}nr.elementDefinitions={},nr.styles=Gt,ar([r.property()],nr.prototype,"variant",void 0),ar([r.property()],nr.prototype,"value",void 0),ar([r.state()],nr.prototype,"resolvedIcon",void 0),ar([r.query("slot")],nr.prototype,"slottedContent",void 0),o.customElement("ft-icon")(nr);class lr extends o.FtLitElement{render(){return e.html`
|
|
585
585
|
<div class="ft-loader">
|
|
586
586
|
<div></div>
|
|
587
587
|
<div></div>
|
|
588
588
|
<div></div>
|
|
589
589
|
<div></div>
|
|
590
590
|
</div>
|
|
591
|
-
`}}lr.styles=
|
|
591
|
+
`}}lr.styles=Ht,o.customElement("ft-loader")(lr);var cr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class pr extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(),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.addEventListener("click",(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`
|
|
592
592
|
<button part="button"
|
|
593
593
|
class="${i.classMap(this.buttonClasses)}"
|
|
594
594
|
aria-label="${this.getLabel()}"
|
|
@@ -611,7 +611,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
611
611
|
</ft-tooltip>
|
|
612
612
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
613
613
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
614
|
-
<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}}
|
|
614
|
+
<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}}pr.elementDefinitions={"ft-ripple":Qt,"ft-tooltip":ir,"ft-typography":jo,"ft-icon":nr,"ft-loader":lr},cr([r.property({type:String,reflect:!0})],pr.prototype,"role",void 0),cr([r.property()],pr.prototype,"type",void 0),cr([r.property({type:Boolean})],pr.prototype,"disabled",void 0),cr([r.property()],pr.prototype,"label",void 0),cr([r.property()],pr.prototype,"icon",void 0),cr([r.property()],pr.prototype,"iconVariant",void 0),cr([r.property({type:Boolean})],pr.prototype,"trailingIcon",void 0),cr([r.property({type:Boolean})],pr.prototype,"loading",void 0),cr([r.property()],pr.prototype,"tooltipPosition",void 0),cr([r.property({type:Boolean})],pr.prototype,"hideTooltip",void 0),cr([r.property({type:Boolean})],pr.prototype,"forceTooltip",void 0),cr([r.query(".ft-button")],pr.prototype,"button",void 0),cr([r.query(".ft-button--label slot")],pr.prototype,"slottedContent",void 0);var sr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class fr extends pr{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"}}fr.styles=[o.safariEllipsisFix,qt],sr([r.property({type:Boolean})],fr.prototype,"primary",void 0),sr([r.property({type:Boolean})],fr.prototype,"outlined",void 0),sr([r.property({type:Boolean})],fr.prototype,"dense",void 0),sr([r.property({type:Boolean})],fr.prototype,"round",void 0);const dr=[e.css`
|
|
615
615
|
:host {
|
|
616
616
|
display: inline-block;
|
|
617
617
|
max-width: 100%;
|
|
@@ -690,13 +690,13 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
690
690
|
/** Primary styles **/
|
|
691
691
|
|
|
692
692
|
.ft-button--primary {
|
|
693
|
-
${o.setVariable(
|
|
693
|
+
${o.setVariable(Bt.color,N.primaryIconColor)};
|
|
694
694
|
|
|
695
|
-
${o.setVariable(
|
|
696
|
-
${o.setVariable(
|
|
697
|
-
${o.setVariable(
|
|
698
|
-
${o.setVariable(
|
|
699
|
-
${o.setVariable(
|
|
695
|
+
${o.setVariable(p.color,N.primaryStateLayerColor)};
|
|
696
|
+
${o.setVariable(p.opacityContentOnSurfaceHover,N.primaryStateLayerOpacityHover)};
|
|
697
|
+
${o.setVariable(p.opacityContentOnSurfaceFocused,N.primaryStateLayerOpacityFocus)};
|
|
698
|
+
${o.setVariable(p.opacityContentOnSurfaceSelected,N.primaryStateLayerOpacityActive)};
|
|
699
|
+
${o.setVariable(p.opacityContentOnSurfacePressed,N.primaryStateLayerOpacityActive)};
|
|
700
700
|
|
|
701
701
|
background-color: ${N.primaryBackgroundColor};
|
|
702
702
|
color: ${N.primaryColor};
|
|
@@ -714,13 +714,13 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
714
714
|
/** Secondary styles **/
|
|
715
715
|
|
|
716
716
|
.ft-button--secondary {
|
|
717
|
-
${o.setVariable(
|
|
717
|
+
${o.setVariable(Bt.color,N.secondaryIconColor)};
|
|
718
718
|
|
|
719
|
-
${o.setVariable(
|
|
720
|
-
${o.setVariable(
|
|
721
|
-
${o.setVariable(
|
|
722
|
-
${o.setVariable(
|
|
723
|
-
${o.setVariable(
|
|
719
|
+
${o.setVariable(p.color,N.secondaryStateLayerColor)};
|
|
720
|
+
${o.setVariable(p.opacityContentOnSurfaceHover,N.secondaryStateLayerOpacityHover)};
|
|
721
|
+
${o.setVariable(p.opacityContentOnSurfaceFocused,N.secondaryStateLayerOpacityFocus)};
|
|
722
|
+
${o.setVariable(p.opacityContentOnSurfaceSelected,N.secondaryStateLayerOpacityActive)};
|
|
723
|
+
${o.setVariable(p.opacityContentOnSurfacePressed,N.secondaryStateLayerOpacityActive)};
|
|
724
724
|
|
|
725
725
|
background-color: ${N.secondaryBackgroundColor};
|
|
726
726
|
color: ${N.secondaryColor};
|
|
@@ -739,13 +739,13 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
739
739
|
/** Tertiary styles **/
|
|
740
740
|
|
|
741
741
|
.ft-button--tertiary {
|
|
742
|
-
${o.setVariable(
|
|
742
|
+
${o.setVariable(Bt.color,N.tertiaryIconColor)};
|
|
743
743
|
|
|
744
|
-
${o.setVariable(
|
|
745
|
-
${o.setVariable(
|
|
746
|
-
${o.setVariable(
|
|
747
|
-
${o.setVariable(
|
|
748
|
-
${o.setVariable(
|
|
744
|
+
${o.setVariable(p.color,N.tertiaryStateLayerColor)};
|
|
745
|
+
${o.setVariable(p.opacityContentOnSurfaceHover,N.tertiaryStateLayerOpacityHover)};
|
|
746
|
+
${o.setVariable(p.opacityContentOnSurfaceFocused,N.tertiaryStateLayerOpacityFocus)};
|
|
747
|
+
${o.setVariable(p.opacityContentOnSurfaceSelected,N.tertiaryStateLayerOpacityActive)};
|
|
748
|
+
${o.setVariable(p.opacityContentOnSurfacePressed,N.tertiaryStateLayerOpacityActive)};
|
|
749
749
|
|
|
750
750
|
background-color: ${N.tertiaryBackgroundColor};
|
|
751
751
|
color: ${N.tertiaryColor};
|
|
@@ -763,13 +763,13 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
763
763
|
/** Neutral styles **/
|
|
764
764
|
|
|
765
765
|
.ft-button--neutral {
|
|
766
|
-
${o.setVariable(
|
|
766
|
+
${o.setVariable(Bt.color,N.neutralIconColor)};
|
|
767
767
|
|
|
768
|
-
${o.setVariable(
|
|
769
|
-
${o.setVariable(
|
|
770
|
-
${o.setVariable(
|
|
771
|
-
${o.setVariable(
|
|
772
|
-
${o.setVariable(
|
|
768
|
+
${o.setVariable(p.backgroundColor,N.neutralStateLayerColor)};
|
|
769
|
+
${o.setVariable(p.opacityContentOnSurfaceHover,N.neutralStateLayerOpacityHover)};
|
|
770
|
+
${o.setVariable(p.opacityContentOnSurfaceFocused,N.neutralStateLayerOpacityFocus)};
|
|
771
|
+
${o.setVariable(p.opacityContentOnSurfaceSelected,N.neutralStateLayerOpacityActive)};
|
|
772
|
+
${o.setVariable(p.opacityContentOnSurfacePressed,N.neutralStateLayerOpacityActive)};
|
|
773
773
|
|
|
774
774
|
background-color: ${N.neutralBackgroundColor};
|
|
775
775
|
color: ${N.neutralColor};
|
|
@@ -787,8 +787,8 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
787
787
|
/** Large styles **/
|
|
788
788
|
|
|
789
789
|
.ft-button--large {
|
|
790
|
-
${o.setVariable(
|
|
791
|
-
${o.setVariable(
|
|
790
|
+
${o.setVariable(At.size,N.largeIconSize)};
|
|
791
|
+
${o.setVariable(Bt.size,N.largeIconSize)};
|
|
792
792
|
|
|
793
793
|
height: ${N.largeHeight};
|
|
794
794
|
padding: 0 ${N.largeHorizontalPadding};
|
|
@@ -810,8 +810,8 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
810
810
|
/** Small styles **/
|
|
811
811
|
|
|
812
812
|
.ft-button--small {
|
|
813
|
-
${o.setVariable(
|
|
814
|
-
${o.setVariable(
|
|
813
|
+
${o.setVariable(At.size,N.smallIconSize)};
|
|
814
|
+
${o.setVariable(Bt.size,N.smallIconSize)};
|
|
815
815
|
|
|
816
816
|
height: ${N.smallHeight};
|
|
817
817
|
padding: 0 ${N.smallHorizontalPadding};
|
|
@@ -829,7 +829,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
829
829
|
width: ${N.smallIconOnlyWidth};
|
|
830
830
|
padding: unset;
|
|
831
831
|
}
|
|
832
|
-
`,o.noTextSelect];var hr=function(t,o,e,r){for(var i,
|
|
832
|
+
`,o.noTextSelect];var hr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class gr extends pr{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?Go.caption1medium:Go.body2medium}}gr.styles=[o.safariEllipsisFix,dr],hr([r.property({type:Boolean})],gr.prototype,"primary",void 0),hr([r.property({type:Boolean})],gr.prototype,"secondary",void 0),hr([r.property({type:Boolean})],gr.prototype,"tertiary",void 0),hr([r.property({type:Boolean})],gr.prototype,"neutral",void 0),hr([r.property({type:Boolean})],gr.prototype,"small",void 0),o.customElement("ft-button")(fr),o.customElement("ftds-button")(gr);const yr={iconColor:o.FtCssVariableFactory.extend("--ft-floating-menu-icon-color","",o.designSystemVariables.colorOnSurfaceMedium)},ur=e.css`
|
|
833
833
|
.ft-floating-menu-item {
|
|
834
834
|
cursor: pointer;
|
|
835
835
|
display: flex;
|
|
@@ -844,7 +844,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
844
844
|
}
|
|
845
845
|
|
|
846
846
|
.ft-floating-menu-item ft-icon {
|
|
847
|
-
color: ${
|
|
847
|
+
color: ${yr.iconColor};
|
|
848
848
|
margin-left: 0;
|
|
849
849
|
flex-shrink: 0;
|
|
850
850
|
flex-grow: 0;
|
|
@@ -859,7 +859,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
859
859
|
word-break: break-word;
|
|
860
860
|
hyphens: auto;
|
|
861
861
|
}
|
|
862
|
-
`;var br=function(t,o,e,r){for(var i,
|
|
862
|
+
`;var br=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class mr extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class xr extends o.FtLitElement{constructor(){super(...arguments),this.value=""}render(){return e.html`
|
|
863
863
|
<div class="ft-floating-menu-item"
|
|
864
864
|
tabindex="0"
|
|
865
865
|
@keydown=${t=>this.onKeyDown(t)}
|
|
@@ -872,7 +872,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
872
872
|
<slot></slot>
|
|
873
873
|
</ft-typography>
|
|
874
874
|
</div>
|
|
875
|
-
`}onClick(t){this.dispatchEvent(new mr(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new mr(this.value)))}}xr.elementDefinitions={"ft-icon":
|
|
875
|
+
`}onClick(t){this.dispatchEvent(new mr(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new mr(this.value)))}}xr.elementDefinitions={"ft-icon":nr,"ft-ripple":Qt,"ft-typography":jo},xr.styles=ur,br([r.property()],xr.prototype,"iconVariant",void 0),br([r.property()],xr.prototype,"icon",void 0),br([r.property()],xr.prototype,"value",void 0);var Or=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class vr extends o.FtLitElement{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=er.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return e.html`
|
|
876
876
|
<div class="${i.classMap(t)}">
|
|
877
877
|
|
|
878
878
|
<slot name="toggle"
|
|
@@ -908,7 +908,7 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
908
908
|
</div>
|
|
909
909
|
</div>
|
|
910
910
|
</div>
|
|
911
|
-
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Qe(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}vr.elementDefinitions={"ft-floating-menu-item":xr},Or([r.state()],vr.prototype,"menuOpen",void 0),Or([r.state()],vr.prototype,"forceMenuOpen",void 0),Or([r.query(".ft-floating-menu")],vr.prototype,"container",void 0),Or([r.query(".ft-floating-menu--wrapper")],vr.prototype,"menuWrapper",void 0),Or([r.query("#actions-button")],vr.prototype,"actionButton",void 0),Or([r.queryAssignedElements({slot:"toggle"})],vr.prototype,"customToggle",void 0),Or([r.property({type:Boolean})],vr.prototype,"primary",void 0),Or([r.property({type:Boolean})],vr.prototype,"secondary",void 0),Or([r.property({type:Boolean})],vr.prototype,"tertiary",void 0),Or([r.property({type:Boolean})],vr.prototype,"neutral",void 0),Or([r.property({type:Boolean})],vr.prototype,"small",void 0),Or([r.property()],vr.prototype,"label",void 0),Or([r.property()],vr.prototype,"tooltipPosition",void 0),Or([r.property()],vr.prototype,"iconVariant",void 0),Or([r.property()],vr.prototype,"icon",void 0),Or([r.property()],vr.prototype,"text",void 0),Or([r.property()],vr.prototype,"horizontalAlignment",void 0),Or([r.property()],vr.prototype,"verticalAlignment",void 0),Or([r.property({type:Boolean})],vr.prototype,"disabled",void 0),Or([o.jsonProperty([])],vr.prototype,"closeMenuMatchers",void 0);class Nr extends vr{}Nr.elementDefinitions={"ft-or-ftds-button":
|
|
911
|
+
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){o.eventPathContainsMatchingElement(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Qe(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}vr.elementDefinitions={"ft-floating-menu-item":xr},Or([r.state()],vr.prototype,"menuOpen",void 0),Or([r.state()],vr.prototype,"forceMenuOpen",void 0),Or([r.query(".ft-floating-menu")],vr.prototype,"container",void 0),Or([r.query(".ft-floating-menu--wrapper")],vr.prototype,"menuWrapper",void 0),Or([r.query("#actions-button")],vr.prototype,"actionButton",void 0),Or([r.queryAssignedElements({slot:"toggle"})],vr.prototype,"customToggle",void 0),Or([r.property({type:Boolean})],vr.prototype,"primary",void 0),Or([r.property({type:Boolean})],vr.prototype,"secondary",void 0),Or([r.property({type:Boolean})],vr.prototype,"tertiary",void 0),Or([r.property({type:Boolean})],vr.prototype,"neutral",void 0),Or([r.property({type:Boolean})],vr.prototype,"small",void 0),Or([r.property()],vr.prototype,"label",void 0),Or([r.property()],vr.prototype,"tooltipPosition",void 0),Or([r.property()],vr.prototype,"iconVariant",void 0),Or([r.property()],vr.prototype,"icon",void 0),Or([r.property()],vr.prototype,"text",void 0),Or([r.property()],vr.prototype,"horizontalAlignment",void 0),Or([r.property()],vr.prototype,"verticalAlignment",void 0),Or([r.property({type:Boolean})],vr.prototype,"disabled",void 0),Or([o.jsonProperty([])],vr.prototype,"closeMenuMatchers",void 0);class Nr extends vr{}Nr.elementDefinitions={"ft-or-ftds-button":fr},Nr.styles=l;class Sr extends vr{}Sr.elementDefinitions={"ft-or-ftds-button":gr},Sr.styles=l;const wr={color:o.FtCssVariableFactory.extend("--ft-floating-menu-label-color","",o.designSystemVariables.colorOnSurfaceMedium)},Cr=e.css`
|
|
912
912
|
.ft-floating-menu-label {
|
|
913
913
|
padding: 4px 8px;
|
|
914
914
|
}
|
|
@@ -921,10 +921,10 @@ const Bo=Symbol.for(""),Fo=t=>{if(t?.r===Bo)return t?._$litStatic$},Do=t=>({_$li
|
|
|
921
921
|
overflow: hidden;
|
|
922
922
|
color: ${wr.color}
|
|
923
923
|
}
|
|
924
|
-
`;class
|
|
924
|
+
`;class $r extends o.FtLitElement{render(){return e.html`
|
|
925
925
|
<div class="ft-floating-menu-label">
|
|
926
926
|
<ft-typography variant="caption">
|
|
927
927
|
<slot></slot>
|
|
928
928
|
</ft-typography>
|
|
929
929
|
</div>
|
|
930
|
-
`}}
|
|
930
|
+
`}}$r.elementDefinitions={"ft-typography":jo},$r.styles=Cr,o.customElement("ft-floating-menu")(Nr),o.customElement("ftds-floating-menu")(Sr),o.customElement("ft-floating-menu-item")(xr),o.customElement("ft-floating-menu-label")($r),t.FtFloatingMenu=Nr,t.FtFloatingMenuCssVariables=n,t.FtFloatingMenuItem=xr,t.FtFloatingMenuItemCssVariables=yr,t.FtFloatingMenuItemSelect=mr,t.FtFloatingMenuLabel=$r,t.FtFloatingMenuLabelCssVariables=wr,t.FtdsFloatingMenu=Sr,t.itemStyles=ur,t.labelStyles=Cr,t.styles=l}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|