@fluid-topics/ft-pager 1.1.17 → 1.1.19
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-pager.d.ts +1 -1
- package/build/ft-pager.js +29 -17
- package/build/ft-pager.light.js +236 -373
- package/build/ft-pager.min.js +287 -431
- package/package.json +6 -6
package/build/ft-pager.light.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,o,e,i,
|
|
1
|
+
!function(t,o,e,r,i,n){const a=e.css`
|
|
2
2
|
|
|
3
3
|
[part="container"] {
|
|
4
4
|
display: flex;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
align-items: center;
|
|
8
8
|
justify-content: center;
|
|
9
9
|
}
|
|
10
|
-
`,l=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),
|
|
10
|
+
`,l=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),c={color:l,backgroundColor:o.FtCssVariableFactory.extend("--ft-ripple-background-color","",l),opacityContentOnSurfacePressed:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},s=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),p=s,f=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",s),d=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),h=d,y=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",d),u=e.css`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
22
22
|
overflow: hidden;
|
|
23
|
-
border-radius: ${
|
|
23
|
+
border-radius: ${c.borderRadius};
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.ft-ripple .ft-ripple--background,
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.ft-ripple .ft-ripple--background {
|
|
57
|
-
background-color: ${
|
|
57
|
+
background-color: ${c.backgroundColor};
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.ft-ripple .ft-ripple--effect {
|
|
61
|
-
background-color: ${
|
|
61
|
+
background-color: ${c.color};
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
65
|
-
background-color: ${
|
|
65
|
+
background-color: ${y};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
73
|
-
background-color: ${
|
|
73
|
+
background-color: ${f};
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
77
|
-
background-color: ${
|
|
77
|
+
background-color: ${p};
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.ft-ripple .ft-ripple--background {
|
|
@@ -104,34 +104,34 @@
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
107
|
-
opacity: ${
|
|
107
|
+
opacity: ${c.opacityContentOnSurfaceHover};
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
111
|
-
opacity: ${
|
|
111
|
+
opacity: ${c.opacityContentOnSurfaceSelected};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
115
|
-
opacity: ${
|
|
115
|
+
opacity: ${c.opacityContentOnSurfaceFocused};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
119
|
-
opacity: ${
|
|
119
|
+
opacity: ${c.opacityContentOnSurfacePressed};
|
|
120
120
|
transform: translate(-50%, -50%) scale(1);
|
|
121
121
|
}
|
|
122
|
-
`,y=t=>"string"==typeof t?e.unsafeCSS(t):t;class b{static create(t,o,i,r){const n=t=>y(null!=t?t:r),a=e.css`var(${y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${y(t)}, ${n(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,i,r){const n=t=>i.get(null!=t?t:r),a=e.css`var(${y(t)}, ${n(r)})`;return a.name=t,a.description=o,a.category=i.category,a.fallbackVariable=i,a.defaultValue=r,a.defaultCssValue=n,a.get=o=>e.css`var(${y(t)}, ${n(o)})`,a.breadcrumb=()=>[i.name,...i.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:i.lastResortDefaultValue(),a}static external(t,o){const i=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):y(null!=o?o:t.lastResortDefaultValue()),r=e.css`var(${y(t.name)}, ${i(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=i,r.get=o=>e.css`var(${y(t.name)}, ${i(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const m={colorWhite:b.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:b.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:b.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:b.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:b.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:b.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:b.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:b.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:b.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:b.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:b.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:b.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:b.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:b.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:b.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:b.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:b.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:b.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:b.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:b.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:b.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:b.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:b.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:b.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:b.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:b.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:b.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:b.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:b.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:b.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:b.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:b.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:b.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:b.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:b.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:b.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:b.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:b.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:b.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:b.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:b.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:b.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:b.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:b.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:b.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:b.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:b.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:b.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:b.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:b.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:b.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:b.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:b.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:b.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:b.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:b.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:b.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:b.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:b.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:b.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:b.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:b.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:b.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:b.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:b.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:b.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:b.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:b.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:b.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:b.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:b.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:b.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:b.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:b.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:b.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:b.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:b.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:b.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:b.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:b.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:b.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:b.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:b.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:b.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:b.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:b.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:b.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:b.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:b.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:b.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:b.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:b.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:b.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:b.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:b.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:b.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:b.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:b.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:b.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:b.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:b.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:b.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:b.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:b.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:b.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:b.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:b.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:b.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:b.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:b.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:b.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:b.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:b.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:b.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:b.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:b.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:b.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:b.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:b.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:b.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:b.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:b.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:b.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:b.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:b.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:b.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:b.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:b.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:b.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:b.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:b.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:b.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:b.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:b.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:b.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:b.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:b.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:b.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:b.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:b.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:b.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:b.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:b.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:b.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:b.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:b.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:b.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:b.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:b.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:b.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:b.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:b.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:b.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:b.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:b.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:b.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:b.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:b.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:b.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:b.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:b.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:b.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:b.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:b.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:b.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:b.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:b.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:b.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:b.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:b.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:b.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:b.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:b.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:b.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:b.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:b.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:b.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:b.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:b.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:b.create("--ft-icon-size-6","","SIZE","48px"),opacity0:b.create("--ft-opacity-0","","NUMBER","0"),opacity8:b.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:b.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:b.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:b.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:b.create("--ft-opacity-80","","NUMBER","0.8")},x={display:{fontFamily:b.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:b.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:b.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:b.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:b.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:b.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:b.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:b.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:b.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:b.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:b.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:b.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:b.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:b.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:b.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:b.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:b.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:b.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:b.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:b.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:b.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:b.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:b.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:b.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:b.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:b.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:b.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},v={backgroundActionPrimary:b.extend("--ft-background-action-primary","Used as backgorund of primary action components.",m.colorBrand0),backgroundErrorPrimary:b.extend("--ft-background-error-primary","Used as background of error components.",m.colorRed0),backgroundErrorSubtle:b.extend("--ft-background-error-subtle","Used as background of subtle error components.",m.colorRed10),backgroundInfoPrimary:b.extend("--ft-background-info-primary","Used as background of information components.",m.colorCyan200),backgroundInfoSubtle:b.extend("--ft-background-info-subtle","Used as background of subtle information components.",m.colorCyan10),backgroundWarningPrimary:b.extend("--ft-background-warning-primary","Used as background of warning components.",m.colorOrange300),backgroundWarningSubtle:b.extend("--ft-background-warning-subtle","Used as background of subtle information components.",m.colorOrange10),backgroundSuccessPrimary:b.extend("--ft-background-success-primary","Used as background of success components.",m.colorGreen200),backgroundSuccessSubtle:b.extend("--ft-background-success-subtle","Used as background of subtle success components.",m.colorGreen10),backgroundGlobalSurface:b.extend("--ft-background-global-surface","Used as app background.",m.colorWhite),backgroundGlobalOnSurface:b.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",m.colorGray10),backgroundGlobalOnSurfaceDark:b.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",m.colorGray30),contentActionPrimary:b.extend("--ft-content-action-primary","Used on label of primary action on light surface.",m.colorBrand0),contentWarningPrimary:b.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",m.colorOrange300),contentWarningIconOnly:b.extend("--ft-content-warning-icon-only","Used on warning status icons alone",m.colorOrange0),contentErrorPrimary:b.extend("--ft-content-error-primary","Used on label of error messages on light surface.",m.colorRed0),contentErrorIconOnly:b.extend("--ft-content-error-icon-only","Used on error status icons alone",m.colorRed0),contentInfoPrimary:b.extend("--ft-content-info-primary","Used on label of information messages on light surface.",m.colorCyan200),contentInfoIconOnly:b.extend("--ft-content-info-icon-only","Used on info status icons alone",m.colorCyan0),contentSuccessIconOnly:b.extend("--ft-content-success-icon-only","Used on success status icons alone",m.colorGreen0),contentSuccessPrimary:b.extend("--ft-content-success-primary","Used on label of success messages on light surface.",m.colorGreen200),contentGlobalPrimary:b.extend("--ft-content-global-primary","Used for main content on the page.",m.colorGray500),contentGlobalSecondary:b.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",m.colorGray200),contentGlobalSubtle:b.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",m.colorGray0),contentGlobalOnColor:b.extend("--ft-content-global-on-color","Used for content on a dominant color.",m.colorWhite),borderActionPrimary:b.extend("--ft-border-action-primary","Used as border for primary action components.",m.colorBrand0),borderActionFocusRing:b.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",m.colorCyan0),borderWarningPrimary:b.extend("--ft-border-warning-primary","Used as border for warning components.",m.colorOrange30),borderSuccessPrimary:b.extend("--ft-border-success-primary","Used as border for success components.",m.colorGreen30),borderErrorPrimary:b.extend("--ft-border-error-primary","Used as border for error components.",m.colorRed30),borderInfoPrimary:b.extend("--ft-border-info-primary","Used as border for information components.",m.colorCyan30),borderGlobalSubtle:b.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",m.colorGray30),borderGlobalPrimary:b.extend("--ft-border-global-primary","Used as border for element like input.",m.colorGray50),borderInputPrimary:b.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",m.colorGray80)},O={largeHeight:b.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:b.extend("--ft-button-large-horizontal-padding","",m.spacing4),largeGap:b.extend("--ft-button-large-gap","",m.spacing2),largeBorderRadius:b.extend("--ft-button-large-border-radius","",m.borderRadiusS),largeIconSize:b.extend("--ft-button-large-icon-size","",m.iconSize3),largeBorderWidth:b.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:b.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:b.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:b.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:b.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:b.extend("--ft-button-small-horizontal-padding","",m.spacing3),smallGap:b.extend("--ft-button-small-gap","",m.spacing2),smallBorderRadius:b.extend("--ft-button-small-border-radius","",m.borderRadiusS),smallIconSize:b.extend("--ft-button-small-icon-size","",m.iconSize2),smallBorderWidth:b.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:b.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:b.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:b.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:b.extend("--ft-button-primary-background-color","",v.backgroundActionPrimary),primaryColor:b.extend("--ft-button-primary-color","",v.contentGlobalOnColor),primaryIconColor:b.extend("--ft-button-primary-icon-color","",v.contentGlobalOnColor),primaryStateLayerColor:b.extend("--ft-button-primary-state-layer-color","",v.contentGlobalOnColor),primaryStateLayerOpacityHover:b.extend("--ft-button-primary-state-layer-opacity-hover","",m.opacity16),primaryStateLayerOpacityFocus:b.extend("--ft-button-primary-state-layer-opacity-focus","",m.opacity16),primaryStateLayerOpacityActive:b.extend("--ft-button-primary-state-layer-opacity-active","",m.opacity24),primaryComponentOpacityDisabled:b.extend("--ft-button-primary-component-opacity-disabled","",m.opacity40),focusFocusRingColor:b.extend("--ft-button-focus-focus-ring-color","",v.borderActionFocusRing),tertiaryBackgroundColor:b.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:b.extend("--ft-button-tertiary-color","",v.contentActionPrimary),tertiaryIconColor:b.extend("--ft-button-tertiary-icon-color","",v.contentActionPrimary),tertiaryStateLayerColor:b.extend("--ft-button-tertiary-state-layer-color","",v.contentActionPrimary),tertiaryStateLayerOpacityHover:b.extend("--ft-button-tertiary-state-layer-opacity-hover","",m.opacity8),tertiaryStateLayerOpacityFocus:b.extend("--ft-button-tertiary-state-layer-opacity-focus","",m.opacity8),tertiaryStateLayerOpacityActive:b.extend("--ft-button-tertiary-state-layer-opacity-active","",m.opacity16),tertiaryComponentOpacityDisabled:b.extend("--ft-button-tertiary-component-opacity-disabled","",m.opacity40),secondaryBackgroundColor:b.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:b.extend("--ft-button-secondary-color","",v.contentActionPrimary),secondaryIconColor:b.extend("--ft-button-secondary-icon-color","",v.contentActionPrimary),secondaryStateLayerColor:b.extend("--ft-button-secondary-state-layer-color","",v.contentActionPrimary),secondaryStateLayerOpacityHover:b.extend("--ft-button-secondary-state-layer-opacity-hover","",m.opacity8),secondaryStateLayerOpacityFocus:b.extend("--ft-button-secondary-state-layer-opacity-focus","",m.opacity8),secondaryStateLayerOpacityActive:b.extend("--ft-button-secondary-state-layer-opacity-active","",m.opacity16),secondaryComponentOpacityDisabled:b.extend("--ft-button-secondary-component-opacity-disabled","",m.opacity40),secondaryBorderColor:b.extend("--ft-button-secondary-border-color","",v.borderActionPrimary),neutralBackgroundColor:b.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:b.extend("--ft-button-neutral-icon-color","",v.contentGlobalSecondary),neutralColor:b.extend("--ft-button-neutral-color","",v.contentGlobalSecondary),neutralStateLayerColor:b.extend("--ft-button-neutral-state-layer-color","",v.contentGlobalSecondary),neutralStateLayerOpacityHover:b.extend("--ft-button-neutral-state-layer-opacity-hover","",m.opacity8),neutralStateLayerOpacityFocus:b.extend("--ft-button-neutral-state-layer-opacity-focus","",m.opacity8),neutralStateLayerOpacityActive:b.extend("--ft-button-neutral-state-layer-opacity-active","",m.opacity16),neutralComponentOpacityDisabled:b.extend("--ft-button-neutral-component-opacity-disabled","",m.opacity40)};b.extend("--ft-tabs-top-left-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-top-right-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-label-horizontal-padding","",m.spacing4),b.extend("--ft-tabs-label-vertical-padding","",m.spacing3),b.extend("--ft-tabs-label-gap","",m.spacing1),b.extend("--ft-switch-group-horizontal-padding","",m.spacing1),b.extend("--ft-switch-group-vertical-padding","",m.spacing1),b.extend("--ft-switch-group-gap","",m.spacing1),b.extend("--ft-switch-group-background-color","",v.backgroundGlobalSurface),b.extend("--ft-switch-group-border-color","",v.borderGlobalSubtle),b.create("--ft-switch-group-border-radius","","SIZE","6px"),b.extend("--ft-switch-label-horizontal-padding","",m.spacing2),b.extend("--ft-switch-label-vertical-padding","",m.spacing1),b.extend("--ft-switch-icon-horizontal-padding","",m.spacing1),b.extend("--ft-switch-icon-vertical-padding","",m.spacing1),b.create("--ft-switch-focus-outline-width","","SIZE","2px"),b.extend("--ft-switch-focus-focus-ring-color","",v.borderActionFocusRing),b.extend("--ft-switch-option-border-radius","",m.borderRadiusS),b.extend("--ft-switch-off-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-switch-off-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-switch-off-state-layer-opacity-active","",m.opacity16),b.extend("--ft-switch-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-switch-off-color","",v.contentGlobalSubtle),b.extend("--ft-switch-off-state-layer-color","",v.contentGlobalSubtle),b.extend("--ft-chart-1-light","for area color charts",m.colorBrand40),b.extend("--ft-chart-1-base","for line charts",m.colorBrand0),b.extend("--ft-chart-2-light","for area color charts",m.colorYellow60),b.extend("--ft-chart-2-base","for line charts",m.colorYellow100),b.extend("--ft-chart-3-light","",m.colorUltramarine40),b.extend("--ft-chart-3-base","",m.colorUltramarine70),b.extend("--ft-chart-4-light","",m.colorCyan50),b.extend("--ft-chart-4-base","",m.colorCyan100),b.extend("--ft-chart-5-light","",m.colorRed40),b.extend("--ft-chart-5-base","",m.colorRed60),b.extend("--ft-chart-6-light","",m.colorGreen40),b.extend("--ft-chart-6-base","",m.colorGreen70),b.extend("--ft-chart-7-light","",m.colorOrange70),b.extend("--ft-chart-7-base","",m.colorOrange100),b.extend("--ft-chart-8-light","",m.colorAvocado70),b.extend("--ft-chart-8-base","",m.colorAvocado200),b.extend("--ft-chart-9-light","",m.colorBrown50),b.extend("--ft-chart-9-base","",m.colorBrown200),b.extend("--ft-chart-10-light","",m.colorGray50),b.extend("--ft-chart-10-base","",m.colorGray80),b.extend("--ft-chart-monochrome-10","",m.colorBrand10),b.extend("--ft-chart-monochrome-20","",m.colorBrand20),b.extend("--ft-chart-monochrome-30","",m.colorBrand40),b.extend("--ft-chart-monochrome-40","",m.colorBrand60),b.extend("--ft-chart-monochrome-50","",m.colorBrand0),b.extend("--ft-chart-monochrome-60","",m.colorBrand200),b.extend("--ft-chip-large-horizontal-padding","",m.spacing4),b.extend("--ft-chip-large-vertical-padding","",m.spacing2),b.extend("--ft-chip-large-gap","",m.spacing1),b.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-large-border-radius","",m.borderRadiusPill),b.create("--ft-chip-large-border-width","","SIZE","1px"),b.extend("--ft-chip-large-icon-size","",m.iconSize3),b.extend("--ft-chip-medium-horizontal-padding","",m.spacing3),b.extend("--ft-chip-medium-vertical-padding","",m.spacing1),b.extend("--ft-chip-medium-gap","",m.spacing1),b.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-medium-border-radius","",m.borderRadiusPill),b.create("--ft-chip-medium-border-width","","SIZE","1px"),b.extend("--ft-chip-medium-icon-size","",m.iconSize2),b.extend("--ft-chip-small-horizontal-padding","",m.spacing2),b.extend("--ft-chip-small-vertical-padding","",m.spacing05),b.extend("--ft-chip-small-gap","",m.spacing1),b.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-small-border-radius","",m.borderRadiusPill),b.create("--ft-chip-small-border-width","","SIZE","1px"),b.extend("--ft-chip-small-icon-size","",m.iconSize1),b.extend("--ft-chip-neutral-background-color","",v.backgroundGlobalOnSurface),b.extend("--ft-chip-neutral-color","",v.contentGlobalPrimary),b.extend("--ft-chip-neutral-border-color","",v.borderGlobalSubtle),b.extend("--ft-chip-info-background-color","",v.backgroundInfoSubtle),b.extend("--ft-chip-info-color","",v.contentInfoPrimary),b.extend("--ft-chip-info-border-color","",v.borderInfoPrimary),b.extend("--ft-chip-success-background-color","",v.backgroundSuccessSubtle),b.extend("--ft-chip-success-color","",v.contentSuccessPrimary),b.extend("--ft-chip-success-border-color","",v.borderSuccessPrimary),b.extend("--ft-chip-warning-background-color","",v.backgroundWarningSubtle),b.extend("--ft-chip-warning-color","",v.contentWarningPrimary),b.extend("--ft-chip-warning-border-color","",v.borderWarningPrimary),b.extend("--ft-chip-error-background-color","",v.backgroundErrorSubtle),b.extend("--ft-chip-error-color","",v.contentErrorPrimary),b.extend("--ft-chip-error-border-color","",v.borderErrorPrimary),b.create("--ft-notice-border-width","","SIZE","1px"),b.extend("--ft-notice-horizontal-padding","",m.spacing2),b.extend("--ft-notice-vertical-padding","",m.spacing1),b.extend("--ft-notice-border-radius","",m.borderRadiusS),b.extend("--ft-notice-gap","",m.spacing2),b.extend("--ft-notice-icon-size","",m.iconSize3),b.extend("--ft-notice-info-background-color","",v.backgroundInfoSubtle),b.extend("--ft-notice-info-border-color","",v.borderInfoPrimary),b.extend("--ft-notice-info-color","",v.contentInfoPrimary),b.extend("--ft-notice-warning-background-color","",v.backgroundWarningSubtle),b.extend("--ft-notice-warning-border-color","",v.borderWarningPrimary),b.extend("--ft-notice-warning-color","",v.contentWarningPrimary),b.extend("--ft-checkbox-label-color","",v.contentGlobalPrimary),b.extend("--ft-checkbox-checked-background-color","",v.contentActionPrimary),b.extend("--ft-checkbox-checked-state-layer-color","",v.contentActionPrimary),b.extend("--ft-checkbox-checked-color","",v.contentGlobalOnColor),b.extend("--ft-checkbox-checked-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-active","",m.opacity24),b.extend("--ft-checkbox-checked-component-opacity-disabled","",m.opacity40),b.extend("--ft-checkbox-unchecked-border-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",m.opacity24),b.extend("--ft-checkbox-unchecked-component-opacity-disabled","",m.opacity40),b.extend("--ft-checkbox-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),b.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),b.extend("--ft-checkbox-gap","",m.spacing3),b.extend("--ft-toggle-off-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-active","",m.opacity24),b.extend("--ft-toggle-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-toggle-off-background-color","",v.contentGlobalSubtle),b.extend("--ft-toggle-off-icon-color","",v.contentGlobalSubtle),b.extend("--ft-toggle-off-state-layer-color","",v.contentGlobalSubtle),b.extend("--ft-toggle-on-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-active","",m.opacity24),b.extend("--ft-toggle-on-component-opacity-disabled","",m.opacity40),b.extend("--ft-toggle-on-background-color","",v.contentActionPrimary),b.extend("--ft-toggle-on-icon-color","",v.contentActionPrimary),b.extend("--ft-toggle-on-state-layer-color","",v.contentActionPrimary),b.extend("--ft-toggle-label-color","",v.contentGlobalPrimary),b.extend("--ft-toggle-focus-focus-ring-color","",v.borderActionFocusRing),b.extend("--ft-toggle-gap","",m.spacing3),b.extend("--ft-radio-label-color","",v.contentGlobalPrimary),b.extend("--ft-radio-selected-color","",v.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-color","",v.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-active","",m.opacity24),b.extend("--ft-radio-selected-component-opacity-disabled","",m.opacity40),b.extend("--ft-radio-unselected-state-layer-color","",m.colorGray80),b.extend("--ft-radio-unselected-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-active","",m.opacity24),b.extend("--ft-radio-unselected-component-opacity-disabled","",m.opacity40),b.extend("--ft-radio-focus-focus-ring-color","",v.borderActionFocusRing),b.create("--ft-radio-focus-outline-offset","","SIZE","3px"),b.create("--ft-radio-focus-outline-width","","SIZE","2px"),b.extend("--ft-radio-gap","",m.spacing3),b.extend("--ft-notification-icon-size","",m.iconSize4),b.extend("--ft-notification-horizontal-padding","",m.spacing4),b.extend("--ft-notification-vertical-padding","",m.spacing4),b.extend("--ft-notification-info-background-color","",v.backgroundInfoSubtle),b.extend("--ft-notification-info-color","",v.contentInfoPrimary),b.extend("--ft-notification-info-border-color","",v.borderInfoPrimary),b.extend("--ft-notification-success-background-color","",v.backgroundSuccessSubtle),b.extend("--ft-notification-success-color","",v.contentSuccessPrimary),b.extend("--ft-notification-success-border-color","",v.borderSuccessPrimary),b.extend("--ft-notification-warning-background-color","",v.backgroundWarningSubtle),b.extend("--ft-notification-warning-color","",v.contentWarningPrimary),b.extend("--ft-notification-warning-border-color","",v.borderWarningPrimary),b.extend("--ft-notification-error-background-color","",v.backgroundErrorSubtle),b.extend("--ft-notification-error-color","",v.contentErrorPrimary),b.extend("--ft-notification-error-border-color","",v.borderErrorPrimary),b.extend("--ft-notification-border-radius","",m.borderRadiusPill),b.create("--ft-notification-border-width","","SIZE","1px"),b.extend("--ft-notification-gap-leading","",m.spacing2),b.extend("--ft-notification-gap-trailing","",m.spacing8);const N=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),$=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),S={fontFamily:$,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},w=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",N),C=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),k=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),R=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),E=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit"),U=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",N),W=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),L=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),Z=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit"),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",$),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",$),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit"),V={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",$),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit")},X=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",$),q=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),J=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),Q=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),tt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),ot=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit"),et={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",$),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit")},it=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",$),rt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),nt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),st=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit"),ct=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",$),ft=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),pt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),ht=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),gt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase"),ut={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",$),fontSize:o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase")},yt=e.css`
|
|
122
|
+
`,g=t=>"string"==typeof t?e.unsafeCSS(t):t;class b{static create(t,o,r,i){const n=t=>g(null!=t?t:i),a=e.css`var(${g(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(${g(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(${g(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(${g(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):g(null!=o?o:t.lastResortDefaultValue()),i=e.css`var(${g(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(${g(t.name)}, ${r(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}const m={colorWhite:b.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:b.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:b.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:b.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:b.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:b.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:b.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:b.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:b.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:b.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:b.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:b.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:b.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:b.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:b.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:b.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:b.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:b.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:b.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:b.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:b.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:b.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:b.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:b.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:b.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:b.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:b.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:b.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:b.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:b.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:b.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:b.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:b.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:b.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:b.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:b.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:b.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:b.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:b.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:b.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:b.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:b.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:b.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:b.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:b.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:b.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:b.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:b.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:b.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:b.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:b.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:b.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:b.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:b.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:b.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:b.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:b.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:b.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:b.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:b.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:b.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:b.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:b.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:b.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:b.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:b.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:b.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:b.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:b.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:b.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:b.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:b.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:b.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:b.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:b.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:b.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:b.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:b.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:b.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:b.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:b.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:b.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:b.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:b.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:b.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:b.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:b.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:b.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:b.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:b.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:b.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:b.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:b.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:b.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:b.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:b.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:b.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:b.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:b.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:b.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:b.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:b.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:b.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:b.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:b.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:b.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:b.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:b.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:b.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:b.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:b.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:b.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:b.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:b.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:b.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:b.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:b.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:b.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:b.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:b.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:b.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:b.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:b.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:b.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:b.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:b.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:b.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:b.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:b.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:b.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:b.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:b.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:b.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:b.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:b.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:b.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:b.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:b.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:b.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:b.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:b.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:b.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:b.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:b.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:b.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:b.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:b.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:b.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:b.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:b.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:b.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:b.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:b.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:b.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:b.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:b.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:b.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:b.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:b.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:b.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:b.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:b.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:b.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:b.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:b.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:b.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:b.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:b.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:b.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:b.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:b.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:b.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:b.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:b.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:b.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:b.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:b.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:b.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:b.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:b.create("--ft-icon-size-6","","SIZE","48px"),opacity0:b.create("--ft-opacity-0","","NUMBER","0"),opacity8:b.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:b.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:b.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:b.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:b.create("--ft-opacity-80","","NUMBER","0.8")},x={display:{fontFamily:b.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:b.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:b.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:b.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:b.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:b.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:b.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:b.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:b.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:b.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:b.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:b.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:b.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:b.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:b.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:b.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:b.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:b.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:b.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:b.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:b.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:b.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:b.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:b.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:b.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:b.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:b.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:b.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:b.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:b.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:b.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:b.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:b.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:b.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:b.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:b.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:b.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:b.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:b.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:b.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:b.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:b.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:b.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:b.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:b.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:b.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:b.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:b.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:b.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},O={backgroundActionPrimary:b.extend("--ft-background-action-primary","Used as backgorund of primary action components.",m.colorBrand0),backgroundErrorPrimary:b.extend("--ft-background-error-primary","Used as background of error components.",m.colorRed0),backgroundErrorSubtle:b.extend("--ft-background-error-subtle","Used as background of subtle error components.",m.colorRed10),backgroundInfoPrimary:b.extend("--ft-background-info-primary","Used as background of information components.",m.colorCyan200),backgroundInfoSubtle:b.extend("--ft-background-info-subtle","Used as background of subtle information components.",m.colorCyan10),backgroundWarningPrimary:b.extend("--ft-background-warning-primary","Used as background of warning components.",m.colorOrange300),backgroundWarningSubtle:b.extend("--ft-background-warning-subtle","Used as background of subtle information components.",m.colorOrange10),backgroundSuccessPrimary:b.extend("--ft-background-success-primary","Used as background of success components.",m.colorGreen200),backgroundSuccessSubtle:b.extend("--ft-background-success-subtle","Used as background of subtle success components.",m.colorGreen10),backgroundGlobalSurface:b.extend("--ft-background-global-surface","Used as app background.",m.colorWhite),backgroundGlobalOnSurface:b.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",m.colorGray10),backgroundGlobalOnSurfaceDark:b.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",m.colorGray30),contentActionPrimary:b.extend("--ft-content-action-primary","Used on label of primary action on light surface.",m.colorBrand0),contentWarningPrimary:b.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",m.colorOrange300),contentWarningIconOnly:b.extend("--ft-content-warning-icon-only","Used on warning status icons alone",m.colorOrange0),contentErrorPrimary:b.extend("--ft-content-error-primary","Used on label of error messages on light surface.",m.colorRed0),contentErrorIconOnly:b.extend("--ft-content-error-icon-only","Used on error status icons alone",m.colorRed0),contentInfoPrimary:b.extend("--ft-content-info-primary","Used on label of information messages on light surface.",m.colorCyan200),contentInfoIconOnly:b.extend("--ft-content-info-icon-only","Used on info status icons alone",m.colorCyan0),contentSuccessIconOnly:b.extend("--ft-content-success-icon-only","Used on success status icons alone",m.colorGreen0),contentSuccessPrimary:b.extend("--ft-content-success-primary","Used on label of success messages on light surface.",m.colorGreen200),contentGlobalPrimary:b.extend("--ft-content-global-primary","Used for main content on the page.",m.colorGray500),contentGlobalSecondary:b.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",m.colorGray200),contentGlobalSubtle:b.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",m.colorGray0),contentGlobalOnColor:b.extend("--ft-content-global-on-color","Used for content on a dominant color.",m.colorWhite),borderActionPrimary:b.extend("--ft-border-action-primary","Used as border for primary action components.",m.colorBrand0),borderActionFocusRing:b.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",m.colorCyan0),borderWarningPrimary:b.extend("--ft-border-warning-primary","Used as border for warning components.",m.colorOrange30),borderSuccessPrimary:b.extend("--ft-border-success-primary","Used as border for success components.",m.colorGreen30),borderErrorPrimary:b.extend("--ft-border-error-primary","Used as border for error components.",m.colorRed30),borderInfoPrimary:b.extend("--ft-border-info-primary","Used as border for information components.",m.colorCyan30),borderGlobalSubtle:b.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",m.colorGray30),borderGlobalPrimary:b.extend("--ft-border-global-primary","Used as border for element like input.",m.colorGray50),borderInputPrimary:b.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",m.colorGray80)},v={largeHeight:b.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:b.extend("--ft-button-large-horizontal-padding","",m.spacing4),largeGap:b.extend("--ft-button-large-gap","",m.spacing2),largeBorderRadius:b.extend("--ft-button-large-border-radius","",m.borderRadiusS),largeIconSize:b.extend("--ft-button-large-icon-size","",m.iconSize3),largeBorderWidth:b.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:b.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:b.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:b.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:b.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:b.extend("--ft-button-small-horizontal-padding","",m.spacing3),smallGap:b.extend("--ft-button-small-gap","",m.spacing2),smallBorderRadius:b.extend("--ft-button-small-border-radius","",m.borderRadiusS),smallIconSize:b.extend("--ft-button-small-icon-size","",m.iconSize2),smallBorderWidth:b.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:b.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:b.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:b.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:b.extend("--ft-button-primary-background-color","",O.backgroundActionPrimary),primaryColor:b.extend("--ft-button-primary-color","",O.contentGlobalOnColor),primaryIconColor:b.extend("--ft-button-primary-icon-color","",O.contentGlobalOnColor),primaryStateLayerColor:b.extend("--ft-button-primary-state-layer-color","",O.contentGlobalOnColor),primaryStateLayerOpacityHover:b.extend("--ft-button-primary-state-layer-opacity-hover","",m.opacity16),primaryStateLayerOpacityFocus:b.extend("--ft-button-primary-state-layer-opacity-focus","",m.opacity16),primaryStateLayerOpacityActive:b.extend("--ft-button-primary-state-layer-opacity-active","",m.opacity24),primaryComponentOpacityDisabled:b.extend("--ft-button-primary-component-opacity-disabled","",m.opacity40),focusFocusRingColor:b.extend("--ft-button-focus-focus-ring-color","",O.borderActionFocusRing),tertiaryBackgroundColor:b.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:b.extend("--ft-button-tertiary-color","",O.contentActionPrimary),tertiaryIconColor:b.extend("--ft-button-tertiary-icon-color","",O.contentActionPrimary),tertiaryStateLayerColor:b.extend("--ft-button-tertiary-state-layer-color","",O.contentActionPrimary),tertiaryStateLayerOpacityHover:b.extend("--ft-button-tertiary-state-layer-opacity-hover","",m.opacity8),tertiaryStateLayerOpacityFocus:b.extend("--ft-button-tertiary-state-layer-opacity-focus","",m.opacity8),tertiaryStateLayerOpacityActive:b.extend("--ft-button-tertiary-state-layer-opacity-active","",m.opacity16),tertiaryComponentOpacityDisabled:b.extend("--ft-button-tertiary-component-opacity-disabled","",m.opacity40),secondaryBackgroundColor:b.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:b.extend("--ft-button-secondary-color","",O.contentActionPrimary),secondaryIconColor:b.extend("--ft-button-secondary-icon-color","",O.contentActionPrimary),secondaryStateLayerColor:b.extend("--ft-button-secondary-state-layer-color","",O.contentActionPrimary),secondaryStateLayerOpacityHover:b.extend("--ft-button-secondary-state-layer-opacity-hover","",m.opacity8),secondaryStateLayerOpacityFocus:b.extend("--ft-button-secondary-state-layer-opacity-focus","",m.opacity8),secondaryStateLayerOpacityActive:b.extend("--ft-button-secondary-state-layer-opacity-active","",m.opacity16),secondaryComponentOpacityDisabled:b.extend("--ft-button-secondary-component-opacity-disabled","",m.opacity40),secondaryBorderColor:b.extend("--ft-button-secondary-border-color","",O.borderActionPrimary),neutralBackgroundColor:b.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:b.extend("--ft-button-neutral-icon-color","",O.contentGlobalSecondary),neutralColor:b.extend("--ft-button-neutral-color","",O.contentGlobalSecondary),neutralStateLayerColor:b.extend("--ft-button-neutral-state-layer-color","",O.contentGlobalSecondary),neutralStateLayerOpacityHover:b.extend("--ft-button-neutral-state-layer-opacity-hover","",m.opacity8),neutralStateLayerOpacityFocus:b.extend("--ft-button-neutral-state-layer-opacity-focus","",m.opacity8),neutralStateLayerOpacityActive:b.extend("--ft-button-neutral-state-layer-opacity-active","",m.opacity16),neutralComponentOpacityDisabled:b.extend("--ft-button-neutral-component-opacity-disabled","",m.opacity40)};b.extend("--ft-tabs-top-left-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-top-right-border-radius","",m.borderRadiusS),b.extend("--ft-tabs-label-horizontal-padding","",m.spacing4),b.extend("--ft-tabs-label-vertical-padding","",m.spacing3),b.extend("--ft-tabs-label-gap","",m.spacing1),b.extend("--ft-switch-group-horizontal-padding","",m.spacing1),b.extend("--ft-switch-group-vertical-padding","",m.spacing1),b.extend("--ft-switch-group-gap","",m.spacing1),b.extend("--ft-switch-group-background-color","",O.backgroundGlobalSurface),b.extend("--ft-switch-group-border-color","",O.borderGlobalSubtle),b.create("--ft-switch-group-border-radius","","SIZE","6px"),b.extend("--ft-switch-label-horizontal-padding","",m.spacing2),b.extend("--ft-switch-label-vertical-padding","",m.spacing1),b.extend("--ft-switch-icon-horizontal-padding","",m.spacing1),b.extend("--ft-switch-icon-vertical-padding","",m.spacing1),b.create("--ft-switch-focus-outline-width","","SIZE","2px"),b.extend("--ft-switch-focus-focus-ring-color","",O.borderActionFocusRing),b.extend("--ft-switch-option-border-radius","",m.borderRadiusS),b.extend("--ft-switch-off-state-layer-opacity-hover","",m.opacity8),b.extend("--ft-switch-off-state-layer-opacity-focus","",m.opacity8),b.extend("--ft-switch-off-state-layer-opacity-active","",m.opacity16),b.extend("--ft-switch-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-switch-off-color","",O.contentGlobalSubtle),b.extend("--ft-switch-off-state-layer-color","",O.contentGlobalSubtle),b.extend("--ft-chart-1-light","for area color charts",m.colorBrand40),b.extend("--ft-chart-1-base","for line charts",m.colorBrand0),b.extend("--ft-chart-2-light","for area color charts",m.colorYellow60),b.extend("--ft-chart-2-base","for line charts",m.colorYellow100),b.extend("--ft-chart-3-light","",m.colorUltramarine40),b.extend("--ft-chart-3-base","",m.colorUltramarine70),b.extend("--ft-chart-4-light","",m.colorCyan50),b.extend("--ft-chart-4-base","",m.colorCyan100),b.extend("--ft-chart-5-light","",m.colorRed40),b.extend("--ft-chart-5-base","",m.colorRed60),b.extend("--ft-chart-6-light","",m.colorGreen40),b.extend("--ft-chart-6-base","",m.colorGreen70),b.extend("--ft-chart-7-light","",m.colorOrange70),b.extend("--ft-chart-7-base","",m.colorOrange100),b.extend("--ft-chart-8-light","",m.colorAvocado70),b.extend("--ft-chart-8-base","",m.colorAvocado200),b.extend("--ft-chart-9-light","",m.colorBrown50),b.extend("--ft-chart-9-base","",m.colorBrown200),b.extend("--ft-chart-10-light","",m.colorGray50),b.extend("--ft-chart-10-base","",m.colorGray80),b.extend("--ft-chart-monochrome-10","",m.colorBrand10),b.extend("--ft-chart-monochrome-20","",m.colorBrand20),b.extend("--ft-chart-monochrome-30","",m.colorBrand40),b.extend("--ft-chart-monochrome-40","",m.colorBrand60),b.extend("--ft-chart-monochrome-50","",m.colorBrand0),b.extend("--ft-chart-monochrome-60","",m.colorBrand200),b.extend("--ft-chip-large-horizontal-padding","",m.spacing4),b.extend("--ft-chip-large-vertical-padding","",m.spacing2),b.extend("--ft-chip-large-gap","",m.spacing1),b.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-large-border-radius","",m.borderRadiusPill),b.create("--ft-chip-large-border-width","","SIZE","1px"),b.extend("--ft-chip-large-icon-size","",m.iconSize3),b.extend("--ft-chip-medium-horizontal-padding","",m.spacing3),b.extend("--ft-chip-medium-vertical-padding","",m.spacing1),b.extend("--ft-chip-medium-gap","",m.spacing1),b.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-medium-border-radius","",m.borderRadiusPill),b.create("--ft-chip-medium-border-width","","SIZE","1px"),b.extend("--ft-chip-medium-icon-size","",m.iconSize2),b.extend("--ft-chip-small-horizontal-padding","",m.spacing2),b.extend("--ft-chip-small-vertical-padding","",m.spacing05),b.extend("--ft-chip-small-gap","",m.spacing1),b.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),b.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),b.extend("--ft-chip-small-border-radius","",m.borderRadiusPill),b.create("--ft-chip-small-border-width","","SIZE","1px"),b.extend("--ft-chip-small-icon-size","",m.iconSize1),b.extend("--ft-chip-neutral-background-color","",O.backgroundGlobalOnSurface),b.extend("--ft-chip-neutral-color","",O.contentGlobalPrimary),b.extend("--ft-chip-neutral-border-color","",O.borderGlobalSubtle),b.extend("--ft-chip-info-background-color","",O.backgroundInfoSubtle),b.extend("--ft-chip-info-color","",O.contentInfoPrimary),b.extend("--ft-chip-info-border-color","",O.borderInfoPrimary),b.extend("--ft-chip-success-background-color","",O.backgroundSuccessSubtle),b.extend("--ft-chip-success-color","",O.contentSuccessPrimary),b.extend("--ft-chip-success-border-color","",O.borderSuccessPrimary),b.extend("--ft-chip-warning-background-color","",O.backgroundWarningSubtle),b.extend("--ft-chip-warning-color","",O.contentWarningPrimary),b.extend("--ft-chip-warning-border-color","",O.borderWarningPrimary),b.extend("--ft-chip-error-background-color","",O.backgroundErrorSubtle),b.extend("--ft-chip-error-color","",O.contentErrorPrimary),b.extend("--ft-chip-error-border-color","",O.borderErrorPrimary),b.create("--ft-notice-border-width","","SIZE","1px"),b.extend("--ft-notice-horizontal-padding","",m.spacing2),b.extend("--ft-notice-vertical-padding","",m.spacing1),b.extend("--ft-notice-border-radius","",m.borderRadiusS),b.extend("--ft-notice-gap","",m.spacing2),b.extend("--ft-notice-icon-size","",m.iconSize3),b.extend("--ft-notice-info-background-color","",O.backgroundInfoSubtle),b.extend("--ft-notice-info-border-color","",O.borderInfoPrimary),b.extend("--ft-notice-info-color","",O.contentInfoPrimary),b.extend("--ft-notice-warning-background-color","",O.backgroundWarningSubtle),b.extend("--ft-notice-warning-border-color","",O.borderWarningPrimary),b.extend("--ft-notice-warning-color","",O.contentWarningPrimary),b.extend("--ft-checkbox-label-color","",O.contentGlobalPrimary),b.extend("--ft-checkbox-checked-background-color","",O.contentActionPrimary),b.extend("--ft-checkbox-checked-state-layer-color","",O.contentActionPrimary),b.extend("--ft-checkbox-checked-color","",O.contentGlobalOnColor),b.extend("--ft-checkbox-checked-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-checkbox-checked-state-layer-opacity-active","",m.opacity24),b.extend("--ft-checkbox-checked-component-opacity-disabled","",m.opacity40),b.extend("--ft-checkbox-unchecked-border-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-color","",m.colorGray80),b.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",m.opacity24),b.extend("--ft-checkbox-unchecked-component-opacity-disabled","",m.opacity40),b.extend("--ft-checkbox-focus-focus-ring-color","",O.borderActionFocusRing),b.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),b.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),b.extend("--ft-checkbox-gap","",m.spacing3),b.extend("--ft-toggle-off-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-toggle-off-state-layer-opacity-active","",m.opacity24),b.extend("--ft-toggle-off-component-opacity-disabled","",m.opacity40),b.extend("--ft-toggle-off-background-color","",O.contentGlobalSubtle),b.extend("--ft-toggle-off-icon-color","",O.contentGlobalSubtle),b.extend("--ft-toggle-off-state-layer-color","",O.contentGlobalSubtle),b.extend("--ft-toggle-on-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-toggle-on-state-layer-opacity-active","",m.opacity24),b.extend("--ft-toggle-on-component-opacity-disabled","",m.opacity40),b.extend("--ft-toggle-on-background-color","",O.contentActionPrimary),b.extend("--ft-toggle-on-icon-color","",O.contentActionPrimary),b.extend("--ft-toggle-on-state-layer-color","",O.contentActionPrimary),b.extend("--ft-toggle-label-color","",O.contentGlobalPrimary),b.extend("--ft-toggle-focus-focus-ring-color","",O.borderActionFocusRing),b.extend("--ft-toggle-gap","",m.spacing3),b.extend("--ft-radio-label-color","",O.contentGlobalPrimary),b.extend("--ft-radio-selected-color","",O.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-color","",O.contentActionPrimary),b.extend("--ft-radio-selected-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-radio-selected-state-layer-opacity-active","",m.opacity24),b.extend("--ft-radio-selected-component-opacity-disabled","",m.opacity40),b.extend("--ft-radio-unselected-state-layer-color","",m.colorGray80),b.extend("--ft-radio-unselected-state-layer-opacity-hover","",m.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-focus","",m.opacity16),b.extend("--ft-radio-unselected-state-layer-opacity-active","",m.opacity24),b.extend("--ft-radio-unselected-component-opacity-disabled","",m.opacity40),b.extend("--ft-radio-focus-focus-ring-color","",O.borderActionFocusRing),b.create("--ft-radio-focus-outline-offset","","SIZE","3px"),b.create("--ft-radio-focus-outline-width","","SIZE","2px"),b.extend("--ft-radio-gap","",m.spacing3),b.extend("--ft-notification-icon-size","",m.iconSize4),b.extend("--ft-notification-horizontal-padding","",m.spacing4),b.extend("--ft-notification-vertical-padding","",m.spacing4),b.extend("--ft-notification-info-background-color","",O.backgroundInfoSubtle),b.extend("--ft-notification-info-color","",O.contentInfoPrimary),b.extend("--ft-notification-info-border-color","",O.borderInfoPrimary),b.extend("--ft-notification-success-background-color","",O.backgroundSuccessSubtle),b.extend("--ft-notification-success-color","",O.contentSuccessPrimary),b.extend("--ft-notification-success-border-color","",O.borderSuccessPrimary),b.extend("--ft-notification-warning-background-color","",O.backgroundWarningSubtle),b.extend("--ft-notification-warning-color","",O.contentWarningPrimary),b.extend("--ft-notification-warning-border-color","",O.borderWarningPrimary),b.extend("--ft-notification-error-background-color","",O.backgroundErrorSubtle),b.extend("--ft-notification-error-color","",O.contentErrorPrimary),b.extend("--ft-notification-error-border-color","",O.borderErrorPrimary),b.extend("--ft-notification-border-radius","",m.borderRadiusPill),b.create("--ft-notification-border-width","","SIZE","1px"),b.extend("--ft-notification-gap-leading","",m.spacing2),b.extend("--ft-notification-gap-trailing","",m.spacing8);const N=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),S=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),$={fontFamily:S,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},w=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",N),C=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",$.fontSize,"20px"),I=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",$.fontWeight,"normal"),R=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",$.letterSpacing,"0.15px"),k=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",$.lineHeight,"1.2"),U=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",$.textTransform,"inherit"),W=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",N),E=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",$.fontSize,"14px"),L=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"),K=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",$.textTransform,"inherit"),F=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",S),B=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",$.fontSize,"16px"),D=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",$.fontWeight,"600"),A=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",$.letterSpacing,"0.144px"),H=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",$.lineHeight,"1.5"),P=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",$.textTransform,"inherit"),G=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",S),j=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",$.fontSize,"14px"),M=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",$.fontWeight,"normal"),T=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",$.letterSpacing,"0.098px"),Y=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",$.lineHeight,"1.7"),_=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",$.textTransform,"inherit"),V={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",S),fontSize:o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",$.fontSize,"16px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",$.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",$.letterSpacing,"0.496px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",$.lineHeight,"1.5"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",$.textTransform,"inherit")},X=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",S),q=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",$.fontSize,"14px"),J=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",$.fontWeight,"normal"),Q=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",$.letterSpacing,"0.252px"),tt=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",$.lineHeight,"1.4"),ot=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",$.textTransform,"inherit"),et={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",S),fontSize:o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",$.fontSize,"12px"),fontWeight:o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",$.fontWeight,"normal"),letterSpacing:o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",$.letterSpacing,"0.396px"),lineHeight:o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",$.lineHeight,"1.33"),textTransform:o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",$.textTransform,"inherit")},rt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",S),it=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",$.fontSize,"10px"),nt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",$.fontWeight,"normal"),at=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",$.letterSpacing,"0.33px"),lt=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",$.lineHeight,"1.6"),ct=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",$.textTransform,"inherit"),st=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",S),pt=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",$.fontSize,"10px"),ft=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",$.fontWeight,"normal"),dt=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",$.letterSpacing,"1.5px"),ht=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",$.lineHeight,"1.6"),yt=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",$.textTransform,"uppercase"),ut={fontFamily:o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",S),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")},gt=e.css`
|
|
123
123
|
.ft-typography--title {
|
|
124
124
|
font-family: ${w};
|
|
125
125
|
font-size: ${C};
|
|
126
126
|
font-weight: ${I};
|
|
127
|
-
letter-spacing: ${
|
|
128
|
-
line-height: ${
|
|
129
|
-
text-transform: ${
|
|
127
|
+
letter-spacing: ${R};
|
|
128
|
+
line-height: ${k};
|
|
129
|
+
text-transform: ${U};
|
|
130
130
|
}
|
|
131
131
|
`,bt=e.css`
|
|
132
132
|
.ft-typography--title-dense {
|
|
133
|
-
font-family: ${
|
|
134
|
-
font-size: ${
|
|
133
|
+
font-family: ${W};
|
|
134
|
+
font-size: ${E};
|
|
135
135
|
font-weight: ${L};
|
|
136
136
|
letter-spacing: ${z};
|
|
137
137
|
line-height: ${Z};
|
|
@@ -139,8 +139,8 @@
|
|
|
139
139
|
}
|
|
140
140
|
`,mt=e.css`
|
|
141
141
|
.ft-typography--subtitle1 {
|
|
142
|
-
font-family: ${
|
|
143
|
-
font-size: ${
|
|
142
|
+
font-family: ${F};
|
|
143
|
+
font-size: ${B};
|
|
144
144
|
font-weight: ${D};
|
|
145
145
|
letter-spacing: ${A};
|
|
146
146
|
line-height: ${H};
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
text-transform: ${_};
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
`,
|
|
159
|
+
`,Ot=e.css`
|
|
160
160
|
.ft-typography--body1 {
|
|
161
161
|
font-family: ${V.fontFamily};
|
|
162
162
|
font-size: ${V.fontSize};
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
line-height: ${V.lineHeight};
|
|
166
166
|
text-transform: ${V.textTransform};
|
|
167
167
|
}
|
|
168
|
-
`,
|
|
168
|
+
`,vt=e.css`
|
|
169
169
|
.ft-typography--body2 {
|
|
170
170
|
font-family: ${X};
|
|
171
171
|
font-size: ${q};
|
|
@@ -183,23 +183,23 @@
|
|
|
183
183
|
line-height: ${et.lineHeight};
|
|
184
184
|
text-transform: ${et.textTransform};
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
`,St=e.css`
|
|
187
187
|
.ft-typography--breadcrumb {
|
|
188
|
-
font-family: ${
|
|
189
|
-
font-size: ${
|
|
188
|
+
font-family: ${rt};
|
|
189
|
+
font-size: ${it};
|
|
190
190
|
font-weight: ${nt};
|
|
191
191
|
letter-spacing: ${at};
|
|
192
192
|
line-height: ${lt};
|
|
193
|
-
text-transform: ${
|
|
193
|
+
text-transform: ${ct};
|
|
194
194
|
}
|
|
195
|
-
|
|
195
|
+
`,$t=e.css`
|
|
196
196
|
.ft-typography--overline {
|
|
197
|
-
font-family: ${
|
|
198
|
-
font-size: ${
|
|
199
|
-
font-weight: ${
|
|
197
|
+
font-family: ${st};
|
|
198
|
+
font-size: ${pt};
|
|
199
|
+
font-weight: ${ft};
|
|
200
200
|
letter-spacing: ${dt};
|
|
201
201
|
line-height: ${ht};
|
|
202
|
-
text-transform: ${
|
|
202
|
+
text-transform: ${yt};
|
|
203
203
|
}
|
|
204
204
|
`,wt=e.css`
|
|
205
205
|
.ft-typography--button {
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
line-height: ${o.lineHeight};
|
|
224
224
|
text-transform: ${o.textCase};
|
|
225
225
|
}
|
|
226
|
-
`}(t)))],
|
|
226
|
+
`}(t)))],Rt={color:o.FtCssVariableFactory.extend("--ft-loader-color","",o.designSystemVariables.colorPrimary),size:o.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},kt=e.css`
|
|
227
227
|
:host {
|
|
228
228
|
line-height: 0;
|
|
229
229
|
}
|
|
@@ -232,8 +232,8 @@
|
|
|
232
232
|
display: inline-block;
|
|
233
233
|
position: relative;
|
|
234
234
|
|
|
235
|
-
width: ${
|
|
236
|
-
height: ${
|
|
235
|
+
width: ${Rt.size};
|
|
236
|
+
height: ${Rt.size};
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
.ft-loader div {
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
width: 25%;
|
|
243
243
|
height: 25%;
|
|
244
244
|
border-radius: 50%;
|
|
245
|
-
background: ${
|
|
245
|
+
background: ${Rt.color};
|
|
246
246
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
247
247
|
}
|
|
248
248
|
|
|
@@ -289,10 +289,10 @@
|
|
|
289
289
|
transform: translate(0, 0);
|
|
290
290
|
}
|
|
291
291
|
100% {
|
|
292
|
-
transform: translate(calc(0.35 * ${
|
|
292
|
+
transform: translate(calc(0.35 * ${Rt.size}), 0);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
`,
|
|
295
|
+
`,Ut={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")},Wt=e.css`
|
|
296
296
|
:host, i.ft-icon {
|
|
297
297
|
display: inline-flex;
|
|
298
298
|
align-items: center;
|
|
@@ -301,14 +301,14 @@
|
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
:host {
|
|
304
|
-
width: ${
|
|
305
|
-
height: ${
|
|
304
|
+
width: ${Ut.size};
|
|
305
|
+
height: ${Ut.size};
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
i.ft-icon {
|
|
309
309
|
width: 100%;
|
|
310
310
|
height: 100%;
|
|
311
|
-
font-size: ${
|
|
311
|
+
font-size: ${Ut.size};
|
|
312
312
|
line-height: 1;
|
|
313
313
|
font-weight: normal;
|
|
314
314
|
text-transform: none;
|
|
@@ -319,28 +319,28 @@
|
|
|
319
319
|
text-rendering: auto;
|
|
320
320
|
-webkit-font-smoothing: antialiased;
|
|
321
321
|
-moz-osx-font-smoothing: grayscale;
|
|
322
|
-
vertical-align: ${
|
|
322
|
+
vertical-align: ${Ut.verticalAlign};
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
i.ft-icon.ft-icon--fluid-topics {
|
|
326
|
-
font-family: ${
|
|
326
|
+
font-family: ${Ut.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
327
327
|
|
|
328
328
|
/* Ugly fix because font is broken */
|
|
329
|
-
font-size: calc(0.75 * ${
|
|
330
|
-
line-height: ${
|
|
329
|
+
font-size: calc(0.75 * ${Ut.size});
|
|
330
|
+
line-height: ${Ut.size};
|
|
331
331
|
position: relative;
|
|
332
332
|
top: -4%;
|
|
333
333
|
justify-content: center;
|
|
334
334
|
}
|
|
335
335
|
|
|
336
336
|
.ft-icon--file-format {
|
|
337
|
-
font-family: ${
|
|
337
|
+
font-family: ${Ut.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
.ft-icon--material {
|
|
341
|
-
font-family: ${
|
|
341
|
+
font-family: ${Ut.materialFontFamily}, "Material Icons", sans-serif;
|
|
342
342
|
}
|
|
343
|
-
`,
|
|
343
|
+
`,Et=o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorPrimary),Lt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorSurface),borderRadius:o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusL),color:Et,fontSize:o.FtCssVariableFactory.extend("--ft-button-font-size","",ut.fontSize),iconSize:o.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.FtCssVariableFactory.extend("--ft-button-ripple-color","",Et),verticalPadding:o.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOpacityDisabled,"Design system")},zt=o.FtCssVariableFactory.extend("--ft-button-primary-color","",o.FtCssVariableFactory.extend("--ft-button-color","",o.designSystemVariables.colorOnPrimary)),Zt={backgroundColor:o.FtCssVariableFactory.extend("--ft-button-primary-background-color","",o.FtCssVariableFactory.extend("--ft-button-background-color","",o.designSystemVariables.colorPrimary)),color:zt,rippleColor:o.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",zt)},Kt=o.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",o.FtCssVariableFactory.extend("--ft-button-border-radius","",o.designSystemVariables.borderRadiusM)),Ft=o.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Bt=o.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Dt=o.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px"),At=[e.css`
|
|
344
344
|
:host {
|
|
345
345
|
display: inline-block;
|
|
346
346
|
max-width: 100%;
|
|
@@ -382,8 +382,8 @@
|
|
|
382
382
|
|
|
383
383
|
--ft-button-internal-line-height: max(calc(${Lt.fontSize} + 2px), ${Lt.iconSize});
|
|
384
384
|
--ft-button-internal-color: ${Lt.color};
|
|
385
|
-
${o.setVariable(
|
|
386
|
-
${o.setVariable(
|
|
385
|
+
${o.setVariable(Ut.size,Lt.iconSize)};
|
|
386
|
+
${o.setVariable(c.color,Lt.rippleColor)};
|
|
387
387
|
|
|
388
388
|
border-radius: ${Lt.borderRadius};
|
|
389
389
|
padding: ${Lt.verticalPadding} ${Lt.horizontalPadding};
|
|
@@ -398,13 +398,13 @@
|
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
.ft-button.ft-button--dense {
|
|
401
|
-
padding: ${
|
|
401
|
+
padding: ${Ft} ${Bt};
|
|
402
402
|
border-radius: ${Kt};
|
|
403
403
|
gap: ${Dt};
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
407
|
-
padding: calc(${
|
|
407
|
+
padding: calc(${Ft} - 1px) calc(${Bt} - 1px);
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
.ft-button:not([disabled]):hover {
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
.ft-button--round.ft-button--dense {
|
|
419
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
419
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ft});
|
|
420
420
|
}
|
|
421
421
|
|
|
422
422
|
.ft-button[disabled] {
|
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
.ft-button.ft-button--primary {
|
|
428
428
|
background-color: ${Zt.backgroundColor};
|
|
429
429
|
--ft-button-internal-color: ${Zt.color};
|
|
430
|
-
${o.setVariable(
|
|
430
|
+
${o.setVariable(c.color,Zt.rippleColor)};
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
.ft-button:focus {
|
|
@@ -464,8 +464,8 @@
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
467
|
-
margin: 0 calc(${
|
|
468
|
-
padding: 0 ${
|
|
467
|
+
margin: 0 calc(${Bt} * -1);
|
|
468
|
+
padding: 0 ${Ft};
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -474,40 +474,40 @@
|
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
ft-loader {
|
|
477
|
-
${o.setVariable(
|
|
478
|
-
${o.setVariable(
|
|
477
|
+
${o.setVariable(Rt.size,Lt.iconSize)};
|
|
478
|
+
${o.setVariable(Rt.color,"var(--ft-button-internal-color)")};
|
|
479
479
|
}
|
|
480
|
-
`,o.noTextSelect];var Ht=function(t,o,e,
|
|
480
|
+
`,o.noTextSelect];var Ht=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 Pt extends o.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return e.html`
|
|
481
481
|
<style>
|
|
482
482
|
.ft-ripple .ft-ripple--effect {
|
|
483
483
|
left: ${this.originX}px;
|
|
484
484
|
top: ${this.originY}px;
|
|
485
485
|
}
|
|
486
486
|
</style>
|
|
487
|
-
<div class="${
|
|
487
|
+
<div class="${i.classMap(t)}">
|
|
488
488
|
<div class="ft-ripple--background"></div>
|
|
489
489
|
<div class="ft-ripple--effect"></div>
|
|
490
490
|
</div>
|
|
491
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),
|
|
491
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let 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()}}Pt.elementDefinitions={},Pt.styles=u,Ht([r.property({type:Boolean})],Pt.prototype,"primary",void 0),Ht([r.property({type:Boolean})],Pt.prototype,"secondary",void 0),Ht([r.property({type:Boolean})],Pt.prototype,"unbounded",void 0),Ht([r.property({type:Boolean})],Pt.prototype,"activated",void 0),Ht([r.property({type:Boolean})],Pt.prototype,"selected",void 0),Ht([r.property({type:Boolean})],Pt.prototype,"disabled",void 0),Ht([r.state()],Pt.prototype,"hovered",void 0),Ht([r.state()],Pt.prototype,"focused",void 0),Ht([r.state()],Pt.prototype,"pressed",void 0),Ht([r.state()],Pt.prototype,"rippling",void 0),Ht([r.state()],Pt.prototype,"originX",void 0),Ht([r.state()],Pt.prototype,"originY",void 0),Ht([r.query(".ft-ripple")],Pt.prototype,"ripple",void 0),Ht([r.query(".ft-ripple--effect")],Pt.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(Pt);
|
|
492
492
|
/**
|
|
493
493
|
* @license
|
|
494
494
|
* Copyright 2017 Google LLC
|
|
495
495
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
496
496
|
*/
|
|
497
|
-
const Gt=globalThis,jt=Gt.trustedTypes,Mt=jt?jt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Tt="$lit$",Yt=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+Yt,Vt=`<${_t}>`,Xt=document,qt=()=>Xt.createComment(""),Jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Qt=Array.isArray,to="[ \t\n\f\r]",oo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,eo=/-->/g,
|
|
497
|
+
const Gt=globalThis,jt=Gt.trustedTypes,Mt=jt?jt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Tt="$lit$",Yt=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+Yt,Vt=`<${_t}>`,Xt=document,qt=()=>Xt.createComment(""),Jt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Qt=Array.isArray,to="[ \t\n\f\r]",oo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,eo=/-->/g,ro=/>/g,io=RegExp(`>|${to}(?:([^\\s"'>=/]+)(${to}*=${to}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),no=/'/g,ao=/"/g,lo=/^(?:script|style|textarea|title)$/i,co=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),so=Symbol.for("lit-noChange"),po=Symbol.for("lit-nothing"),fo=new WeakMap,ho=Xt.createTreeWalker(Xt,129);function yo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Mt?Mt.createHTML(o):o}const uo=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=oo;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(a.lastIndex=p,c=a.exec(e),null!==c);)p=a.lastIndex,a===oo?"!--"===c[1]?a=eo:void 0!==c[1]?a=ro:void 0!==c[2]?(lo.test(c[2])&&(i=RegExp("</"+c[2],"g")),a=io):void 0!==c[3]&&(a=io):a===io?">"===c[0]?(a=i??oo,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?io:'"'===c[3]?ao:no):a===ao||a===no?a=io:a===eo||a===ro?a=oo:(a=io,i=void 0);const f=a===io&&t[o+1].startsWith("/>")?" ":"";n+=a===oo?e+Vt:s>=0?(r.push(l),e.slice(0,s)+Tt+e.slice(s)+Yt+f):e+Yt+(-2===s?o:f)}return[yo(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class go{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[c,s]=uo(t,o);if(this.el=go.createElement(c,e),ho.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ho.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Tt)){const o=s[n++],e=r.getAttribute(t).split(Yt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?vo:"?"===a[1]?No:"@"===a[1]?So:Oo}),r.removeAttribute(t)}else t.startsWith(Yt)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(lo.test(r.tagName)){const t=r.textContent.split(Yt),o=t.length-1;if(o>0){r.textContent=jt?jt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],qt()),ho.nextNode(),l.push({type:2,index:++i});r.append(t[o],qt())}}}else if(8===r.nodeType)if(r.data===_t)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Yt,t+1));)l.push({type:7,index:i}),t+=Yt.length-1}i++}}static createElement(t,o){const e=Xt.createElement("template");return e.innerHTML=t,e}}function bo(t,o,e=t,r){if(o===so)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Jt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=bo(t,i._$AS(t,o.values),i,r)),o}class mo{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Xt).importNode(o,!0);ho.currentNode=r;let i=ho.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new xo(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new $o(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=ho.nextNode(),n++)}return ho.currentNode=Xt,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 xo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=po,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=bo(this,t,o),Jt(t)?t===po||null==t||""===t?(this._$AH!==po&&this._$AR(),this._$AH=po):t!==this._$AH&&t!==so&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Qt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==po&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Xt.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=go.createElement(yo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new mo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=fo.get(t.strings);return void 0===o&&fo.set(t.strings,o=new go(t)),o}T(t){Qt(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 xo(this.k(qt()),this.k(qt()),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 Oo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=po,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=po}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=bo(this,t,o,0),n=!Jt(t)||t!==this._$AH&&t!==so,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=bo(this,r[e+a],o,a),l===so&&(l=this._$AH[a]),n||=!Jt(l)||l!==this._$AH[a],l===po?t=po:t!==po&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===po?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class vo extends Oo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===po?void 0:t}}class No extends Oo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==po)}}class So extends Oo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=bo(this,t,o,0)??po)===so)return;const e=this._$AH,r=t===po&&e!==po||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==po&&(e===po||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 $o{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){bo(this,t)}}const wo=Gt.litHtmlPolyfillSupport;wo?.(go,xo),(Gt.litHtmlVersions??=[]).push("3.1.0");
|
|
498
498
|
/**
|
|
499
499
|
* @license
|
|
500
500
|
* Copyright 2020 Google LLC
|
|
501
501
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
502
502
|
*/
|
|
503
|
-
const Co=Symbol.for(""),Io=t=>{if(t?.r===Co)return t?._$litStatic$},
|
|
504
|
-
<${
|
|
503
|
+
const Co=Symbol.for(""),Io=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$litStatic$:t,r:Co}),ko=new Map,Uo=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(n=e[s],i=Io(n));)c+=i+o[++s],p=!0;s!==r&&l.push(n),a.push(c),s++}if(s===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=ko.get(t))&&(a.raw=a,ko.set(t,o=a)),e=l}return t(o,...e)})(co);var Wo;!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"}(Wo||(Wo={}));var Eo=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 Lo extends o.FtLitElement{constructor(){super(...arguments),this.variant=Wo.body1}render(){return this.element?Uo`
|
|
504
|
+
<${Ro(this.element)}
|
|
505
505
|
class="ft-typography ft-typography--${this.variant}">
|
|
506
506
|
<slot></slot>
|
|
507
|
-
</${
|
|
508
|
-
`:
|
|
507
|
+
</${Ro(this.element)}>
|
|
508
|
+
`:Uo`
|
|
509
509
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
510
|
-
`}}Lo.styles=[
|
|
510
|
+
`}}Lo.styles=[gt,bt,mt,xt,Ot,vt,Nt,St,$t,wt,Ct,...It],Eo([r.property()],Lo.prototype,"element",void 0),Eo([r.property()],Lo.prototype,"variant",void 0),o.customElement("ft-typography")(Lo);const zo=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),Zo=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ko=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),Fo=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),Bo=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),Do=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),Ao=e.css`
|
|
511
511
|
.ft-tooltip--container {
|
|
512
512
|
display: block;
|
|
513
513
|
}
|
|
@@ -525,18 +525,18 @@ const Co=Symbol.for(""),Io=t=>{if(t?.r===Co)return t?._$litStatic$},ko=t=>({_$li
|
|
|
525
525
|
max-width: ${Do};
|
|
526
526
|
text-align: center;
|
|
527
527
|
padding: ${zo};
|
|
528
|
-
z-index: ${
|
|
528
|
+
z-index: ${Fo};
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
.ft-tooltip--content {
|
|
532
532
|
padding: 4px 8px;
|
|
533
|
-
border-radius: ${
|
|
533
|
+
border-radius: ${Bo};
|
|
534
534
|
background-color: ${Ko};
|
|
535
535
|
color: ${Zo};
|
|
536
536
|
position: relative;
|
|
537
537
|
word-break: break-word;
|
|
538
538
|
}
|
|
539
|
-
`,Ho=["start","end"],Po=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Ho[0],o+"-"+Ho[1])),[]),Go=Math.min,jo=Math.max,Mo=Math.round,To=t=>({x:t,y:t}),Yo={left:"right",right:"left",bottom:"top",top:"bottom"},_o={start:"end",end:"start"};function Vo(t,o,e){return jo(t,Go(o,e))}function Xo(t,o){return"function"==typeof t?t(o):t}function qo(t){return t.split("-")[0]}function Jo(t){return t.split("-")[1]}function Qo(t){return"x"===t?"y":"x"}function te(t){return"y"===t?"height":"width"}function oe(t){return["top","bottom"].includes(qo(t))?"y":"x"}function ee(t){return Qo(oe(t))}function ie(t){return t.replace(/left|right|bottom|top/g,(t=>Yo[t]))}function re(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ne(t,o,e){let{reference:i,floating:r}=t;const n=oe(o),a=ee(o),l=te(a),s=qo(o),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,d=i[l]/2-r[l]/2;let h;switch(s){case"top":h={x:f,y:i.y-r.height};break;case"bottom":h={x:f,y:i.y+i.height};break;case"right":h={x:i.x+i.width,y:p};break;case"left":h={x:i.x-r.width,y:p};break;default:h={x:i.x,y:i.y}}switch(Jo(o)){case"start":h[a]-=d*(e&&c?-1:1);break;case"end":h[a]+=d*(e&&c?-1:1)}return h}async function ae(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Xo(o,t),g=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),u=l[d?"floating"===p?"reference":"floating":p],y=re(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(u)))||e?u:u.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=re(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-v.top+g.top)/x.y,bottom:(v.bottom-y.bottom+g.bottom)/x.y,left:(y.left-v.left+g.left)/x.x,right:(v.right-y.right+g.right)/x.x}}function le(t,o,e){return(t?[...e.filter((o=>Jo(o)===t)),...e.filter((o=>Jo(o)!==t))]:e.filter((t=>qo(t)===t))).filter((e=>!t||(Jo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>_o[t]))}(e)!==e)))}const se=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Po,autoAlignment:h=!0,...g}=Xo(t,o),u=void 0!==p||d===Po?le(p||null,h,d):d,y=await ae(o,g),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=u[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Jo(t),r=ee(t),n=te(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=ie(a)),[a,ie(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:u[0]}};const v=[y[qo(m)],y[x[0]],y[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=u[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const $=O.map((t=>{const o=Jo(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=$.filter((t=>t[2].slice(0,Jo(t[0])?2:3).every((t=>t<=0)))),w=(null==(r=S[0])?void 0:r[0])||$[0][0];return w!==l?{data:{index:b+1,overflows:O},reset:{placement:w}}:{}}}};function ce(t){return de(t)?(t.nodeName||"").toLowerCase():"#document"}function fe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function pe(t){var o;return null==(o=(de(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function de(t){return t instanceof Node||t instanceof fe(t).Node}function he(t){return t instanceof Element||t instanceof fe(t).Element}function ge(t){return t instanceof HTMLElement||t instanceof fe(t).HTMLElement}function ue(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof fe(t).ShadowRoot)}function ye(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=Oe(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function be(t){return["table","td","th"].includes(ce(t))}function me(t){const o=xe(),e=Oe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function xe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ve(t){return["html","body","#document"].includes(ce(t))}function Oe(t){return fe(t).getComputedStyle(t)}function Ne(t){return he(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $e(t){if("html"===ce(t))return t;const o=t.assignedSlot||t.parentNode||ue(t)&&t.host||pe(t);return ue(o)?o.host:o}function Se(t){const o=$e(t);return ve(o)?t.ownerDocument?t.ownerDocument.body:t.body:ge(o)&&ye(o)?o:Se(o)}function we(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=Se(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=fe(r);return n?o.concat(a,a.visualViewport||[],ye(r)?r:[],a.frameElement&&e?we(a.frameElement):[]):o.concat(r,we(r,[],e))}function Ce(t){const o=Oe(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=ge(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,l=Mo(e)!==n||Mo(i)!==a;return l&&(e=n,i=a),{width:e,height:i,$:l}}function Ie(t){return he(t)?t:t.contextElement}function ke(t){const o=Ie(t);if(!ge(o))return To(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=Ce(o);let a=(n?Mo(e.width):e.width)/i,l=(n?Mo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const Re=To(0);function Ee(t){const o=fe(t);return xe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:Re}function Ue(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=Ie(t);let a=To(1);o&&(i?he(i)&&(a=ke(i)):a=ke(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==fe(t))&&o}(n,e,i)?Ee(n):To(0);let s=(r.left+l.x)/a.x,c=(r.top+l.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=fe(n),o=i&&he(i)?fe(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ke(e),o=e.getBoundingClientRect(),i=Oe(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=r,c+=n,e=fe(e).frameElement}}return re({width:f,height:p,x:s,y:c})}function We(t){return Ue(pe(t)).left+Ne(t).scrollLeft}function Le(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=fe(t),i=pe(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,l=0,s=0;if(r){n=r.width,a=r.height;const t=xe();(!t||t&&"fixed"===o)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)i=function(t){const o=pe(t),e=Ne(t),i=t.ownerDocument.body,r=jo(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=jo(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+We(t);const l=-e.scrollTop;return"rtl"===Oe(i).direction&&(a+=jo(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:l}}(pe(t));else if(he(o))i=function(t,o){const e=Ue(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=ge(t)?ke(t):To(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Ee(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return re(i)}function ze(t,o){const e=$e(t);return!(e===o||!he(e)||ve(e))&&("fixed"===Oe(e).position||ze(e,o))}function Ze(t,o,e){const i=ge(o),r=pe(o),n="fixed"===e,a=Ue(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=To(0);if(i||!i&&!n)if(("body"!==ce(o)||ye(r))&&(l=Ne(o)),i){const t=Ue(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else r&&(s.x=We(r));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Ke(t,o){return ge(t)&&"fixed"!==Oe(t).position?o?o(t):t.offsetParent:null}function Be(t,o){const e=fe(t);if(!ge(t))return e;let i=Ke(t,o);for(;i&&be(i)&&"static"===Oe(i).position;)i=Ke(i,o);return i&&("html"===ce(i)||"body"===ce(i)&&"static"===Oe(i).position&&!me(i))?e:i||function(t){let o=$e(t);for(;ge(o)&&!ve(o);){if(me(o))return o;o=$e(o)}return null}(t)||e}const Fe={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=ge(e),n=pe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=To(1);const s=To(0);if((r||!r&&"fixed"!==i)&&(("body"!==ce(e)||ye(n))&&(a=Ne(e)),ge(e))){const t=Ue(e);l=ke(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:pe,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=we(t,[],!1).filter((t=>he(t)&&"body"!==ce(t))),r=null;const n="fixed"===Oe(t).position;let a=n?$e(t):t;for(;he(a)&&!ve(a);){const o=Oe(a),e=me(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ye(a)&&!e&&ze(t,a))?i=i.filter((t=>t!==a)):r=o,a=$e(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],l=n.reduce(((t,e)=>{const i=Le(o,e,r);return t.top=jo(i.top,t.top),t.right=Go(i.right,t.right),t.bottom=Go(i.bottom,t.bottom),t.left=jo(i.left,t.left),t}),Le(o,a,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Be,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Be,n=this.getDimensions;return{reference:Ze(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Ce(t)},getScale:ke,isElement:he,isRTL:function(t){return"rtl"===Oe(t).direction}},De=(t,o,e)=>{const i=new Map,r={platform:Fe,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:f,y:p}=ne(c,i,s),d=i,h={},g=0;for(let e=0;e<l.length;e++){const{name:n,fn:u}=l[e],{x:y,y:b,data:m,reset:x}=await u({x:f,y:p,initialPlacement:i,placement:d,strategy:r,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(d=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:f,y:p}=ne(c,d,s))),e=-1)}return{x:f,y:p,placement:d,strategy:r,middlewareData:h}})(t,o,{...r,platform:n})};function Ae(t){return function(t){for(let o=t;o;o=He(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=He(t);o;o=He(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function He(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Pe,Ge,je,Me=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Te extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
539
|
+
`,Ho=["start","end"],Po=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Ho[0],o+"-"+Ho[1])),[]),Go=Math.min,jo=Math.max,Mo=Math.round,To=t=>({x:t,y:t}),Yo={left:"right",right:"left",bottom:"top",top:"bottom"},_o={start:"end",end:"start"};function Vo(t,o,e){return jo(t,Go(o,e))}function Xo(t,o){return"function"==typeof t?t(o):t}function qo(t){return t.split("-")[0]}function Jo(t){return t.split("-")[1]}function Qo(t){return"x"===t?"y":"x"}function te(t){return"y"===t?"height":"width"}function oe(t){return["top","bottom"].includes(qo(t))?"y":"x"}function ee(t){return Qo(oe(t))}function re(t){return t.replace(/left|right|bottom|top/g,(t=>Yo[t]))}function ie(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ne(t,o,e){let{reference:r,floating:i}=t;const n=oe(o),a=ee(o),l=te(a),c=qo(o),s="y"===n,p=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:p,y:r.y-i.height};break;case"bottom":h={x:p,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(Jo(o)){case"start":h[a]-=d*(e&&s?-1:1);break;case"end":h[a]+=d*(e&&s?-1:1)}return h}async function ae(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:p="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Xo(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),u=l[d?"floating"===f?"reference":"floating":f],g=ie(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(u)))||e?u:u.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:p,strategy:c})),b="floating"===f?{...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=ie(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-O.top+y.top)/x.y,bottom:(O.bottom-g.bottom+y.bottom)/x.y,left:(g.left-O.left+y.left)/x.x,right:(O.right-g.right+y.right)/x.x}}function le(t,o,e){return(t?[...e.filter((o=>Jo(o)===t)),...e.filter((o=>Jo(o)!==t))]:e.filter((t=>qo(t)===t))).filter((e=>!t||(Jo(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>_o[t]))}(e)!==e)))}const ce=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:p=!1,alignment:f,allowedPlacements:d=Po,autoAlignment:h=!0,...y}=Xo(t,o),u=void 0!==f||d===Po?le(f||null,h,d):d,g=await ae(o,y),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=u[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Jo(t),i=ee(t),n=te(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=re(a)),[a,re(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:u[0]}};const O=[g[qo(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=u[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const S=v.map((t=>{const o=Jo(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),$=S.filter((t=>t[2].slice(0,Jo(t[0])?2:3).every((t=>t<=0)))),w=(null==(i=$[0])?void 0:i[0])||S[0][0];return w!==l?{data:{index:b+1,overflows:v},reset:{placement:w}}:{}}}};function se(t){return de(t)?(t.nodeName||"").toLowerCase():"#document"}function pe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function fe(t){var o;return null==(o=(de(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function de(t){return t instanceof Node||t instanceof pe(t).Node}function he(t){return t instanceof Element||t instanceof pe(t).Element}function ye(t){return t instanceof HTMLElement||t instanceof pe(t).HTMLElement}function ue(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof pe(t).ShadowRoot)}function ge(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ve(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function be(t){return["table","td","th"].includes(se(t))}function me(t){const o=xe(),e=ve(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function xe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Oe(t){return["html","body","#document"].includes(se(t))}function ve(t){return pe(t).getComputedStyle(t)}function Ne(t){return he(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Se(t){if("html"===se(t))return t;const o=t.assignedSlot||t.parentNode||ue(t)&&t.host||fe(t);return ue(o)?o.host:o}function $e(t){const o=Se(t);return Oe(o)?t.ownerDocument?t.ownerDocument.body:t.body:ye(o)&&ge(o)?o:$e(o)}function we(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=$e(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=pe(i);return n?o.concat(a,a.visualViewport||[],ge(i)?i:[],a.frameElement&&e?we(a.frameElement):[]):o.concat(i,we(i,[],e))}function Ce(t){const o=ve(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=ye(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Mo(e)!==n||Mo(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function Ie(t){return he(t)?t:t.contextElement}function Re(t){const o=Ie(t);if(!ye(o))return To(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=Ce(o);let a=(n?Mo(e.width):e.width)/r,l=(n?Mo(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ke=To(0);function Ue(t){const o=pe(t);return xe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ke}function We(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=Ie(t);let a=To(1);o&&(r?he(r)&&(a=Re(r)):a=Re(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==pe(t))&&o}(n,e,r)?Ue(n):To(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=pe(n),o=r&&he(r)?pe(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=Re(e),o=e.getBoundingClientRect(),r=ve(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,p*=t.x,f*=t.y,c+=i,s+=n,e=pe(e).frameElement}}return ie({width:p,height:f,x:c,y:s})}function Ee(t){return We(fe(t)).left+Ne(t).scrollLeft}function Le(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=pe(t),r=fe(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=xe();(!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=fe(t),e=Ne(t),r=t.ownerDocument.body,i=jo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=jo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Ee(t);const l=-e.scrollTop;return"rtl"===ve(r).direction&&(a+=jo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(fe(t));else if(he(o))r=function(t,o){const e=We(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=ye(t)?Re(t):To(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=Ue(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return ie(r)}function ze(t,o){const e=Se(t);return!(e===o||!he(e)||Oe(e))&&("fixed"===ve(e).position||ze(e,o))}function Ze(t,o,e){const r=ye(o),i=fe(o),n="fixed"===e,a=We(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=To(0);if(r||!r&&!n)if(("body"!==se(o)||ge(i))&&(l=Ne(o)),r){const t=We(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=Ee(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Ke(t,o){return ye(t)&&"fixed"!==ve(t).position?o?o(t):t.offsetParent:null}function Fe(t,o){const e=pe(t);if(!ye(t))return e;let r=Ke(t,o);for(;r&&be(r)&&"static"===ve(r).position;)r=Ke(r,o);return r&&("html"===se(r)||"body"===se(r)&&"static"===ve(r).position&&!me(r))?e:r||function(t){let o=Se(t);for(;ye(o)&&!Oe(o);){if(me(o))return o;o=Se(o)}return null}(t)||e}const Be={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=ye(e),n=fe(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=To(1);const c=To(0);if((i||!i&&"fixed"!==r)&&(("body"!==se(e)||ge(n))&&(a=Ne(e)),ye(e))){const t=We(e);l=Re(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:fe,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=we(t,[],!1).filter((t=>he(t)&&"body"!==se(t))),i=null;const n="fixed"===ve(t).position;let a=n?Se(t):t;for(;he(a)&&!Oe(a);){const o=ve(a),e=me(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ge(a)&&!e&&ze(t,a))?r=r.filter((t=>t!==a)):i=o,a=Se(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=Le(o,e,i);return t.top=jo(r.top,t.top),t.right=Go(r.right,t.right),t.bottom=Go(r.bottom,t.bottom),t.left=jo(r.left,t.left),t}),Le(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Fe,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Fe,n=this.getDimensions;return{reference:Ze(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 Ce(t)},getScale:Re,isElement:he,isRTL:function(t){return"rtl"===ve(t).direction}},De=(t,o,e)=>{const r=new Map,i={platform:Be,...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:p,y:f}=ne(s,r,c),d=r,h={},y=0;for(let e=0;e<l.length;e++){const{name:n,fn:u}=l[e],{x:g,y:b,data:m,reset:x}=await u({x:p,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,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:p,y:f}=ne(s,d,c))),e=-1)}return{x:p,y:f,placement:d,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function Ae(t){return function(t){for(let o=t;o;o=He(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=He(t);o;o=He(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function He(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Pe,Ge,je,Me=function(t,o,e,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 Te extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
540
540
|
<div part="container"
|
|
541
541
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
542
542
|
@mouseenter=${this.onHover}
|
|
@@ -554,21 +554,21 @@ const Co=Symbol.for(""),Io=t=>{if(t?.r===Co)return t?._$litStatic$},ko=t=>({_$li
|
|
|
554
554
|
</div>
|
|
555
555
|
</div>
|
|
556
556
|
</div>
|
|
557
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",De(this.slottedElement,this.tooltip,{platform:{...Fe,getOffsetParent:t=>Fe.getOffsetParent(t,Ae)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:i,placement:r}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Xo(t,o),c={x:e,y:i},f=await ae(o,s),p=oe(qo(r)),d=Qo(p);let h=c[d],g=c[p];if(n){const t="y"===d?"bottom":"right";h=Vo(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";g=Vo(g+f["y"===p?"top":"left"],g,g-f[t])}const u=l.fn({...o,[d]:h,[p]:g});return{...u,data:{x:u.x-e,y:u.y-i}}}}),se({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Te.elementDefinitions={"ft-typography":Lo},Te.styles=Ao,Me([i.property()],Te.prototype,"text",void 0),Me([i.property({type:Boolean})],Te.prototype,"manual",void 0),Me([i.property({type:Boolean})],Te.prototype,"inline",void 0),Me([i.property({type:Number})],Te.prototype,"delay",void 0),Me([i.property()],Te.prototype,"position",void 0),Me([i.queryAssignedNodes()],Te.prototype,"slotNodes",void 0),Me([i.query(".ft-tooltip--container")],Te.prototype,"container",void 0),Me([i.query(".ft-tooltip")],Te.prototype,"tooltip",void 0),Me([i.query(".ft-tooltip--content")],Te.prototype,"tooltipContent",void 0),Me([i.state()],Te.prototype,"visible",void 0),Me([i.eventOptions({passive:!0})],Te.prototype,"onTouch",null),Me([i.eventOptions({passive:!0})],Te.prototype,"onHover",null),Me([i.eventOptions({passive:!0})],Te.prototype,"onOut",null),Me([i.eventOptions({passive:!0})],Te.prototype,"onClick",null),o.customElement("ft-tooltip")(Te),function(t){t.THUMBS_DOWN="",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.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=""}(Pe||(Pe={})),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=""}(Ge||(Ge={})),new Map([...["abw"].map((t=>[t,Ge.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ge.AUDIO])),...["avi"].map((t=>[t,Ge.AVI])),...["chm","xhs"].map((t=>[t,Ge.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ge.CODE])),...["csv"].map((t=>[t,Ge.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ge.DITA])),...["epub"].map((t=>[t,Ge.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ge.EXCEL])),...["flac"].map((t=>[t,Ge.FLAC])),...["gif"].map((t=>[t,Ge.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ge.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ge.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ge.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ge.JPEG])),...["json"].map((t=>[t,Ge.JSON])),...["m4a","m4p"].map((t=>[t,Ge.M4A])),...["mov","qt"].map((t=>[t,Ge.MOV])),...["mp3"].map((t=>[t,Ge.MP3])),...["mp4","m4v"].map((t=>[t,Ge.MP4])),...["ogg","oga"].map((t=>[t,Ge.OGG])),...["pdf","ps"].map((t=>[t,Ge.PDF])),...["png"].map((t=>[t,Ge.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ge.POWERPOINT])),...["rar"].map((t=>[t,Ge.RAR])),...["stp"].map((t=>[t,Ge.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ge.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ge.VIDEO])),...["wav"].map((t=>[t,Ge.WAV])),...["wma"].map((t=>[t,Ge.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ge.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ge.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ge.YAML])),...["zip"].map((t=>[t,Ge.ZIP]))]),Ge.ABW,Ge.AUDIO,Ge.AVI,Ge.CHM,Ge.CODE,Ge.CSV,Ge.DITA,Ge.EPUB,Ge.EXCEL,Ge.FLAC,Ge.GIF,Ge.GZIP,Ge.HTML,Ge.IMAGE,Ge.JPEG,Ge.JSON,Ge.M4A,Ge.MOV,Ge.MP3,Ge.MP4,Ge.OGG,Ge.PDF,Ge.PNG,Ge.POWERPOINT,Ge.RAR,Ge.STP,Ge.TEXT,Ge.UNKNOWN,Ge.VIDEO,Ge.WAV,Ge.WMA,Ge.WORD,Ge.XML,Ge.YAML,Ge.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(je||(je={}));var Ye=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _e extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,o=t!==je.material||!!this.value;return e.html`
|
|
557
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",De(this.slottedElement,this.tooltip,{platform:{...Be,getOffsetParent:t=>Be.getOffsetParent(t,Ae)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Xo(t,o),s={x:e,y:r},p=await ae(o,c),f=oe(qo(i)),d=Qo(f);let h=s[d],y=s[f];if(n){const t="y"===d?"bottom":"right";h=Vo(h+p["y"===d?"top":"left"],h,h-p[t])}if(a){const t="y"===f?"bottom":"right";y=Vo(y+p["y"===f?"top":"left"],y,y-p[t])}const u=l.fn({...o,[d]:h,[f]:y});return{...u,data:{x:u.x-e,y:u.y-r}}}}),ce({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Te.elementDefinitions={"ft-typography":Lo},Te.styles=Ao,Me([r.property()],Te.prototype,"text",void 0),Me([r.property({type:Boolean})],Te.prototype,"manual",void 0),Me([r.property({type:Boolean})],Te.prototype,"inline",void 0),Me([r.property({type:Number})],Te.prototype,"delay",void 0),Me([r.property()],Te.prototype,"position",void 0),Me([r.queryAssignedNodes()],Te.prototype,"slotNodes",void 0),Me([r.query(".ft-tooltip--container")],Te.prototype,"container",void 0),Me([r.query(".ft-tooltip")],Te.prototype,"tooltip",void 0),Me([r.query(".ft-tooltip--content")],Te.prototype,"tooltipContent",void 0),Me([r.state()],Te.prototype,"visible",void 0),Me([r.eventOptions({passive:!0})],Te.prototype,"onTouch",null),Me([r.eventOptions({passive:!0})],Te.prototype,"onHover",null),Me([r.eventOptions({passive:!0})],Te.prototype,"onOut",null),Me([r.eventOptions({passive:!0})],Te.prototype,"onClick",null),o.customElement("ft-tooltip")(Te),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.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=""}(Pe||(Pe={})),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=""}(Ge||(Ge={})),new Map([...["abw"].map((t=>[t,Ge.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ge.AUDIO])),...["avi"].map((t=>[t,Ge.AVI])),...["chm","xhs"].map((t=>[t,Ge.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ge.CODE])),...["csv"].map((t=>[t,Ge.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ge.DITA])),...["epub"].map((t=>[t,Ge.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ge.EXCEL])),...["flac"].map((t=>[t,Ge.FLAC])),...["gif"].map((t=>[t,Ge.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ge.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ge.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ge.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ge.JPEG])),...["json"].map((t=>[t,Ge.JSON])),...["m4a","m4p"].map((t=>[t,Ge.M4A])),...["mov","qt"].map((t=>[t,Ge.MOV])),...["mp3"].map((t=>[t,Ge.MP3])),...["mp4","m4v"].map((t=>[t,Ge.MP4])),...["ogg","oga"].map((t=>[t,Ge.OGG])),...["pdf","ps"].map((t=>[t,Ge.PDF])),...["png"].map((t=>[t,Ge.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ge.POWERPOINT])),...["rar"].map((t=>[t,Ge.RAR])),...["stp"].map((t=>[t,Ge.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ge.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ge.VIDEO])),...["wav"].map((t=>[t,Ge.WAV])),...["wma"].map((t=>[t,Ge.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ge.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ge.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ge.YAML])),...["zip"].map((t=>[t,Ge.ZIP]))]),Ge.ABW,Ge.AUDIO,Ge.AVI,Ge.CHM,Ge.CODE,Ge.CSV,Ge.DITA,Ge.EPUB,Ge.EXCEL,Ge.FLAC,Ge.GIF,Ge.GZIP,Ge.HTML,Ge.IMAGE,Ge.JPEG,Ge.JSON,Ge.M4A,Ge.MOV,Ge.MP3,Ge.MP4,Ge.OGG,Ge.PDF,Ge.PNG,Ge.POWERPOINT,Ge.RAR,Ge.STP,Ge.TEXT,Ge.UNKNOWN,Ge.VIDEO,Ge.WAV,Ge.WMA,Ge.WORD,Ge.XML,Ge.YAML,Ge.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(je||(je={}));var Ye=function(t,o,e,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 _e extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(je).includes(this.variant)?this.variant:je.fluid_topics,o=t!==je.material||!!this.value;return e.html`
|
|
558
558
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
559
559
|
${n.unsafeHTML(this.resolvedIcon)}
|
|
560
560
|
<slot ?hidden=${o}></slot>
|
|
561
561
|
</i>
|
|
562
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let
|
|
562
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case je.file_format:this.resolvedIcon=null!==(t=Ge[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case je.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Pe[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}_e.elementDefinitions={},_e.styles=Wt,Ye([r.property()],_e.prototype,"variant",void 0),Ye([r.property()],_e.prototype,"value",void 0),Ye([r.state()],_e.prototype,"resolvedIcon",void 0),Ye([r.query("slot")],_e.prototype,"slottedContent",void 0),o.customElement("ft-icon")(_e);class Ve extends o.FtLitElement{render(){return e.html`
|
|
563
563
|
<div class="ft-loader">
|
|
564
564
|
<div></div>
|
|
565
565
|
<div></div>
|
|
566
566
|
<div></div>
|
|
567
567
|
<div></div>
|
|
568
568
|
</div>
|
|
569
|
-
`}}Ve.styles=
|
|
569
|
+
`}}Ve.styles=kt,o.customElement("ft-loader")(Ve);var Xe=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 qe extends(o.toFtFormComponent(o.FtLitElement,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(e.html`
|
|
570
570
|
<button part="button"
|
|
571
|
-
class="${
|
|
571
|
+
class="${i.classMap(this.buttonClasses)}"
|
|
572
572
|
aria-label="${this.getLabel()}"
|
|
573
573
|
?disabled=${this.isDisabled()}>
|
|
574
574
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
@@ -589,7 +589,7 @@ const Co=Symbol.for(""),Io=t=>{if(t?.r===Co)return t?._$litStatic$},ko=t=>({_$li
|
|
|
589
589
|
</ft-tooltip>
|
|
590
590
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
591
591
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
592
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}qe.elementDefinitions={"ft-ripple":Pt,"ft-tooltip":Te,"ft-typography":Lo,"ft-icon":_e,"ft-loader":Ve},Xe([
|
|
592
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}qe.elementDefinitions={"ft-ripple":Pt,"ft-tooltip":Te,"ft-typography":Lo,"ft-icon":_e,"ft-loader":Ve},Xe([r.property({type:String,reflect:!0})],qe.prototype,"role",void 0),Xe([r.property()],qe.prototype,"type",void 0),Xe([r.property({type:Boolean})],qe.prototype,"disabled",void 0),Xe([r.property()],qe.prototype,"label",void 0),Xe([r.property()],qe.prototype,"icon",void 0),Xe([r.property()],qe.prototype,"iconVariant",void 0),Xe([r.property({type:Boolean})],qe.prototype,"trailingIcon",void 0),Xe([r.property({type:Boolean})],qe.prototype,"loading",void 0),Xe([r.property()],qe.prototype,"tooltipPosition",void 0),Xe([r.property({type:Boolean})],qe.prototype,"hideTooltip",void 0),Xe([r.property({type:Boolean})],qe.prototype,"forceTooltip",void 0),Xe([r.query(".ft-button")],qe.prototype,"button",void 0),Xe([r.query(".ft-button--label slot")],qe.prototype,"slottedContent",void 0);var Je=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 Qe extends qe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Qe.styles=[o.safariEllipsisFix,At],Je([r.property({type:Boolean})],Qe.prototype,"primary",void 0),Je([r.property({type:Boolean})],Qe.prototype,"outlined",void 0),Je([r.property({type:Boolean})],Qe.prototype,"dense",void 0),Je([r.property({type:Boolean})],Qe.prototype,"round",void 0);const tr=[e.css`
|
|
593
593
|
:host {
|
|
594
594
|
display: inline-block;
|
|
595
595
|
max-width: 100%;
|
|
@@ -639,7 +639,7 @@ const Co=Symbol.for(""),Io=t=>{if(t?.r===Co)return t?._$litStatic$},ko=t=>({_$li
|
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
.ft-button:focus-visible {
|
|
642
|
-
outline-color: ${
|
|
642
|
+
outline-color: ${v.focusFocusRingColor};
|
|
643
643
|
outline-style: solid;
|
|
644
644
|
}
|
|
645
645
|
|
|
@@ -668,170 +668,164 @@ const Co=Symbol.for(""),Io=t=>{if(t?.r===Co)return t?._$litStatic$},ko=t=>({_$li
|
|
|
668
668
|
/** Primary styles **/
|
|
669
669
|
|
|
670
670
|
.ft-button--primary {
|
|
671
|
-
${o.setVariable(
|
|
671
|
+
${o.setVariable(Rt.color,v.primaryIconColor)};
|
|
672
672
|
|
|
673
|
-
${o.setVariable(
|
|
674
|
-
${o.setVariable(
|
|
675
|
-
${o.setVariable(
|
|
676
|
-
${o.setVariable(
|
|
677
|
-
${o.setVariable(
|
|
673
|
+
${o.setVariable(c.color,v.primaryStateLayerColor)};
|
|
674
|
+
${o.setVariable(c.opacityContentOnSurfaceHover,v.primaryStateLayerOpacityHover)};
|
|
675
|
+
${o.setVariable(c.opacityContentOnSurfaceFocused,v.primaryStateLayerOpacityFocus)};
|
|
676
|
+
${o.setVariable(c.opacityContentOnSurfaceSelected,v.primaryStateLayerOpacityActive)};
|
|
677
|
+
${o.setVariable(c.opacityContentOnSurfacePressed,v.primaryStateLayerOpacityActive)};
|
|
678
678
|
|
|
679
|
-
background-color: ${
|
|
680
|
-
color: ${
|
|
679
|
+
background-color: ${v.primaryBackgroundColor};
|
|
680
|
+
color: ${v.primaryColor};
|
|
681
681
|
border-style: none;
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
.ft-button--primary[disabled] {
|
|
685
|
-
opacity: ${
|
|
685
|
+
opacity: ${v.primaryComponentOpacityDisabled};
|
|
686
686
|
}
|
|
687
687
|
|
|
688
688
|
.ft-button--primary ft-icon {
|
|
689
|
-
color: ${
|
|
689
|
+
color: ${v.primaryIconColor};
|
|
690
690
|
}
|
|
691
691
|
|
|
692
692
|
/** Secondary styles **/
|
|
693
693
|
|
|
694
694
|
.ft-button--secondary {
|
|
695
|
-
${o.setVariable(
|
|
695
|
+
${o.setVariable(Rt.color,v.secondaryIconColor)};
|
|
696
696
|
|
|
697
|
-
${o.setVariable(
|
|
698
|
-
${o.setVariable(
|
|
699
|
-
${o.setVariable(
|
|
700
|
-
${o.setVariable(
|
|
701
|
-
${o.setVariable(
|
|
697
|
+
${o.setVariable(c.color,v.secondaryStateLayerColor)};
|
|
698
|
+
${o.setVariable(c.opacityContentOnSurfaceHover,v.secondaryStateLayerOpacityHover)};
|
|
699
|
+
${o.setVariable(c.opacityContentOnSurfaceFocused,v.secondaryStateLayerOpacityFocus)};
|
|
700
|
+
${o.setVariable(c.opacityContentOnSurfaceSelected,v.secondaryStateLayerOpacityActive)};
|
|
701
|
+
${o.setVariable(c.opacityContentOnSurfacePressed,v.secondaryStateLayerOpacityActive)};
|
|
702
702
|
|
|
703
|
-
background-color: ${
|
|
704
|
-
color: ${
|
|
705
|
-
border-color: ${
|
|
703
|
+
background-color: ${v.secondaryBackgroundColor};
|
|
704
|
+
color: ${v.secondaryColor};
|
|
705
|
+
border-color: ${v.secondaryBorderColor};
|
|
706
706
|
border-style: solid;
|
|
707
707
|
}
|
|
708
708
|
|
|
709
709
|
.ft-button--secondary[disabled] {
|
|
710
|
-
opacity: ${
|
|
710
|
+
opacity: ${v.secondaryComponentOpacityDisabled};
|
|
711
711
|
}
|
|
712
712
|
|
|
713
713
|
.ft-button--secondary ft-icon {
|
|
714
|
-
color: ${
|
|
714
|
+
color: ${v.secondaryIconColor};
|
|
715
715
|
}
|
|
716
716
|
|
|
717
717
|
/** Tertiary styles **/
|
|
718
718
|
|
|
719
719
|
.ft-button--tertiary {
|
|
720
|
-
${o.setVariable(
|
|
720
|
+
${o.setVariable(Rt.color,v.tertiaryIconColor)};
|
|
721
721
|
|
|
722
|
-
${o.setVariable(
|
|
723
|
-
${o.setVariable(
|
|
724
|
-
${o.setVariable(
|
|
725
|
-
${o.setVariable(
|
|
726
|
-
${o.setVariable(
|
|
722
|
+
${o.setVariable(c.color,v.tertiaryStateLayerColor)};
|
|
723
|
+
${o.setVariable(c.opacityContentOnSurfaceHover,v.tertiaryStateLayerOpacityHover)};
|
|
724
|
+
${o.setVariable(c.opacityContentOnSurfaceFocused,v.tertiaryStateLayerOpacityFocus)};
|
|
725
|
+
${o.setVariable(c.opacityContentOnSurfaceSelected,v.tertiaryStateLayerOpacityActive)};
|
|
726
|
+
${o.setVariable(c.opacityContentOnSurfacePressed,v.tertiaryStateLayerOpacityActive)};
|
|
727
727
|
|
|
728
|
-
background-color: ${
|
|
729
|
-
color: ${
|
|
728
|
+
background-color: ${v.tertiaryBackgroundColor};
|
|
729
|
+
color: ${v.tertiaryColor};
|
|
730
730
|
border-style: none;
|
|
731
731
|
}
|
|
732
732
|
|
|
733
733
|
.ft-button--tertiary[disabled] {
|
|
734
|
-
opacity: ${
|
|
734
|
+
opacity: ${v.tertiaryComponentOpacityDisabled};
|
|
735
735
|
}
|
|
736
736
|
|
|
737
737
|
.ft-button--tertiary ft-icon {
|
|
738
|
-
color: ${
|
|
738
|
+
color: ${v.tertiaryIconColor};
|
|
739
739
|
}
|
|
740
740
|
|
|
741
741
|
/** Neutral styles **/
|
|
742
742
|
|
|
743
743
|
.ft-button--neutral {
|
|
744
|
-
${o.setVariable(
|
|
744
|
+
${o.setVariable(Rt.color,v.neutralIconColor)};
|
|
745
745
|
|
|
746
|
-
${o.setVariable(
|
|
747
|
-
${o.setVariable(
|
|
748
|
-
${o.setVariable(
|
|
749
|
-
${o.setVariable(
|
|
750
|
-
${o.setVariable(
|
|
746
|
+
${o.setVariable(c.backgroundColor,v.neutralStateLayerColor)};
|
|
747
|
+
${o.setVariable(c.opacityContentOnSurfaceHover,v.neutralStateLayerOpacityHover)};
|
|
748
|
+
${o.setVariable(c.opacityContentOnSurfaceFocused,v.neutralStateLayerOpacityFocus)};
|
|
749
|
+
${o.setVariable(c.opacityContentOnSurfaceSelected,v.neutralStateLayerOpacityActive)};
|
|
750
|
+
${o.setVariable(c.opacityContentOnSurfacePressed,v.neutralStateLayerOpacityActive)};
|
|
751
751
|
|
|
752
|
-
background-color: ${
|
|
753
|
-
color: ${
|
|
752
|
+
background-color: ${v.neutralBackgroundColor};
|
|
753
|
+
color: ${v.neutralColor};
|
|
754
754
|
border-style: none;
|
|
755
755
|
}
|
|
756
756
|
|
|
757
757
|
.ft-button--neutral[disabled] {
|
|
758
|
-
opacity: ${
|
|
758
|
+
opacity: ${v.neutralComponentOpacityDisabled};
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
.ft-button--neutral ft-icon {
|
|
762
|
-
color: ${
|
|
762
|
+
color: ${v.neutralIconColor};
|
|
763
763
|
}
|
|
764
764
|
|
|
765
765
|
/** Large styles **/
|
|
766
766
|
|
|
767
767
|
.ft-button--large {
|
|
768
|
-
${o.setVariable(
|
|
769
|
-
${o.setVariable(
|
|
770
|
-
|
|
771
|
-
height: ${
|
|
772
|
-
padding: 0 ${
|
|
773
|
-
gap: ${
|
|
774
|
-
border-radius: ${
|
|
775
|
-
border-width: ${
|
|
768
|
+
${o.setVariable(Ut.size,v.largeIconSize)};
|
|
769
|
+
${o.setVariable(Rt.size,v.largeIconSize)};
|
|
770
|
+
|
|
771
|
+
height: ${v.largeHeight};
|
|
772
|
+
padding: 0 ${v.largeHorizontalPadding};
|
|
773
|
+
gap: ${v.largeGap};
|
|
774
|
+
border-radius: ${v.largeBorderRadius};
|
|
775
|
+
border-width: ${v.largeBorderWidth};
|
|
776
776
|
}
|
|
777
777
|
|
|
778
778
|
.ft-button--large:focus-visible {
|
|
779
|
-
outline-width: ${
|
|
780
|
-
outline-offset: ${
|
|
779
|
+
outline-width: ${v.largeFocusOutlineWidth};
|
|
780
|
+
outline-offset: ${v.largeFocusOutlineOffset};
|
|
781
781
|
}
|
|
782
782
|
|
|
783
783
|
.ft-button--large.ft-button--icon-only {
|
|
784
|
-
width: ${
|
|
784
|
+
width: ${v.largeIconOnlyWidth};
|
|
785
785
|
padding: unset;
|
|
786
786
|
}
|
|
787
787
|
|
|
788
788
|
/** Small styles **/
|
|
789
789
|
|
|
790
790
|
.ft-button--small {
|
|
791
|
-
${o.setVariable(
|
|
792
|
-
${o.setVariable(
|
|
793
|
-
|
|
794
|
-
height: ${
|
|
795
|
-
padding: 0 ${
|
|
796
|
-
gap: ${
|
|
797
|
-
border-radius: ${
|
|
798
|
-
border-width: ${
|
|
791
|
+
${o.setVariable(Ut.size,v.smallIconSize)};
|
|
792
|
+
${o.setVariable(Rt.size,v.smallIconSize)};
|
|
793
|
+
|
|
794
|
+
height: ${v.smallHeight};
|
|
795
|
+
padding: 0 ${v.smallHorizontalPadding};
|
|
796
|
+
gap: ${v.smallGap};
|
|
797
|
+
border-radius: ${v.smallBorderRadius};
|
|
798
|
+
border-width: ${v.smallBorderWidth};
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
.ft-button--small:focus-visible {
|
|
802
|
-
outline-width: ${
|
|
803
|
-
outline-offset: ${
|
|
802
|
+
outline-width: ${v.smallFocusOutlineWidth};
|
|
803
|
+
outline-offset: ${v.smallFocusOutlineOffset};
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
.ft-button--small.ft-button--icon-only {
|
|
807
|
-
width: ${
|
|
807
|
+
width: ${v.smallIconOnlyWidth};
|
|
808
808
|
padding: unset;
|
|
809
809
|
}
|
|
810
|
-
`,o.noTextSelect];var
|
|
811
|
-
/**
|
|
812
|
-
* @license
|
|
813
|
-
* Copyright 2018 Google LLC
|
|
814
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
815
|
-
*/
|
|
816
|
-
const ii={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.FtCssVariableFactory.extend("--ft-input-label-border-color","",o.designSystemVariables.colorOutline),textColor:o.FtCssVariableFactory.extend("--ft-input-label-text-color","",o.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:o.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",o.designSystemVariables.colorOnSurfaceDisabled),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system")},ri=e.css`
|
|
810
|
+
`,o.noTextSelect];var or=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 er extends qe{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Wo.caption1medium:Wo.body2medium}}er.styles=[o.safariEllipsisFix,tr],or([r.property({type:Boolean})],er.prototype,"primary",void 0),or([r.property({type:Boolean})],er.prototype,"secondary",void 0),or([r.property({type:Boolean})],er.prototype,"tertiary",void 0),or([r.property({type:Boolean})],er.prototype,"neutral",void 0),or([r.property({type:Boolean})],er.prototype,"small",void 0),o.customElement("ft-button")(Qe),o.customElement("ftds-button")(er);const rr={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.FtCssVariableFactory.extend("--ft-input-label-border-color","",o.designSystemVariables.colorOutline),textColor:o.FtCssVariableFactory.extend("--ft-input-label-text-color","",o.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:o.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",o.designSystemVariables.colorOnSurfaceDisabled),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system")},ir=e.css`
|
|
817
811
|
.ft-input-label {
|
|
818
812
|
position: absolute;
|
|
819
813
|
inset: 0;
|
|
820
814
|
display: flex;
|
|
821
|
-
background-color: ${
|
|
822
|
-
border-radius: ${
|
|
815
|
+
background-color: ${rr.colorSurface};
|
|
816
|
+
border-radius: ${rr.borderRadiusS} ${rr.borderRadiusS} 0 0;
|
|
823
817
|
}
|
|
824
818
|
|
|
825
819
|
.ft-input-label--outlined {
|
|
826
|
-
border-radius: ${
|
|
820
|
+
border-radius: ${rr.borderRadiusS};
|
|
827
821
|
}
|
|
828
822
|
|
|
829
823
|
.ft-input-label {
|
|
830
|
-
border-color: ${
|
|
824
|
+
border-color: ${rr.borderColor};
|
|
831
825
|
}
|
|
832
826
|
|
|
833
827
|
.ft-input-label.ft-input-label--in-error {
|
|
834
|
-
border-color: ${
|
|
828
|
+
border-color: ${rr.colorError}
|
|
835
829
|
}
|
|
836
830
|
|
|
837
831
|
.ft-input-label:before,
|
|
@@ -844,7 +838,7 @@ const ii={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size",""
|
|
|
844
838
|
}
|
|
845
839
|
|
|
846
840
|
.ft-input-label:before {
|
|
847
|
-
width: calc(${
|
|
841
|
+
width: calc(${rr.horizontalSpacing} - 4px);
|
|
848
842
|
flex-shrink: 0;
|
|
849
843
|
}
|
|
850
844
|
|
|
@@ -860,20 +854,20 @@ const ii={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size",""
|
|
|
860
854
|
border-bottom-width: 1px;
|
|
861
855
|
border-bottom-style: solid;
|
|
862
856
|
border-color: inherit;
|
|
863
|
-
color: ${
|
|
857
|
+
color: ${rr.textColor};
|
|
864
858
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
865
|
-
max-width: calc(${
|
|
859
|
+
max-width: calc(${rr.labelMaxWidth} - 2 * (${rr.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
866
860
|
text-overflow: ellipsis;
|
|
867
|
-
${o.setVariable(et.fontSize,
|
|
868
|
-
${o.setVariable(et.lineHeight,
|
|
861
|
+
${o.setVariable(et.fontSize,rr.fontSize)};
|
|
862
|
+
${o.setVariable(et.lineHeight,rr.fontSize)};
|
|
869
863
|
}
|
|
870
864
|
|
|
871
865
|
.ft-input-label--in-error .ft-input-label--text {
|
|
872
|
-
color: ${
|
|
866
|
+
color: ${rr.colorError}
|
|
873
867
|
}
|
|
874
868
|
|
|
875
869
|
.ft-input-label--disabled .ft-input-label--text {
|
|
876
|
-
color: ${
|
|
870
|
+
color: ${rr.disabledTextColor};
|
|
877
871
|
}
|
|
878
872
|
|
|
879
873
|
.ft-input-label--hidden-text {
|
|
@@ -890,19 +884,19 @@ const ii={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size",""
|
|
|
890
884
|
overflow: hidden;
|
|
891
885
|
white-space: nowrap;
|
|
892
886
|
text-overflow: ellipsis;
|
|
893
|
-
padding: ${
|
|
894
|
-
margin: calc(${
|
|
887
|
+
padding: ${rr.verticalSpacing} 4px;
|
|
888
|
+
margin: calc(${rr.verticalSpacing} * -1) 0;
|
|
895
889
|
max-width: 100%;
|
|
896
890
|
box-sizing: border-box;
|
|
897
891
|
}
|
|
898
892
|
|
|
899
893
|
.ft-input-label--raised .ft-input-label--text {
|
|
900
|
-
${o.setVariable(et.fontSize,
|
|
901
|
-
${o.setVariable(et.lineHeight,
|
|
894
|
+
${o.setVariable(et.fontSize,rr.raisedFontSize)};
|
|
895
|
+
${o.setVariable(et.lineHeight,rr.raisedFontSize)};
|
|
902
896
|
}
|
|
903
897
|
|
|
904
898
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
905
|
-
top: ${
|
|
899
|
+
top: ${rr.verticalSpacing};
|
|
906
900
|
}
|
|
907
901
|
|
|
908
902
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -915,41 +909,32 @@ const ii={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size",""
|
|
|
915
909
|
.ft-input-label--outlined:before {
|
|
916
910
|
border-left-width: 1px;
|
|
917
911
|
border-left-style: solid;
|
|
918
|
-
border-radius: ${
|
|
912
|
+
border-radius: ${rr.borderRadiusS} 0 0 ${rr.borderRadiusS};
|
|
919
913
|
}
|
|
920
914
|
|
|
921
915
|
.ft-input-label--outlined:after {
|
|
922
916
|
border-right-width: 1px;
|
|
923
917
|
border-right-style: solid;
|
|
924
|
-
border-radius: 0 ${
|
|
918
|
+
border-radius: 0 ${rr.borderRadiusS} ${rr.borderRadiusS} 0;
|
|
925
919
|
}
|
|
926
920
|
|
|
927
921
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
928
922
|
padding: 2px 4px;
|
|
929
|
-
z-index: ${
|
|
930
|
-
background-color: ${
|
|
931
|
-
border-radius: ${
|
|
923
|
+
z-index: ${rr.raisedZIndex};
|
|
924
|
+
background-color: ${rr.colorSurface};
|
|
925
|
+
border-radius: ${rr.borderRadiusS};
|
|
932
926
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
933
927
|
}
|
|
934
928
|
|
|
935
929
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
936
930
|
border-top: none;
|
|
937
931
|
}
|
|
938
|
-
|
|
939
|
-
<div class="${r.classMap(t)}">
|
|
940
|
-
${this.text?e.html`
|
|
941
|
-
<div class="ft-input-label--text ft-typography--caption">
|
|
942
|
-
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
943
|
-
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
944
|
-
</div>
|
|
945
|
-
`:null}
|
|
946
|
-
</div>
|
|
947
|
-
`}}ai.elementDefinitions={},ai.styles=[Nt,ri],ni([i.property({type:String})],ai.prototype,"text",void 0),ni([i.property({type:Boolean})],ai.prototype,"raised",void 0),ni([i.property({type:Boolean})],ai.prototype,"outlined",void 0),ni([i.property({type:Boolean})],ai.prototype,"disabled",void 0),ni([i.property({type:Boolean})],ai.prototype,"error",void 0),o.customElement("ft-input-label")(ai);const li={fontSize:o.FtCssVariableFactory.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:o.FtCssVariableFactory.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:o.FtCssVariableFactory.extend("--ft-text-field-helper-color","",o.designSystemVariables.colorOnSurfaceMedium),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorError:o.FtCssVariableFactory.external(o.designSystemVariables.colorError,"Design system"),prefixColor:o.FtCssVariableFactory.extend("--ft-text-field-prefix-color","",o.designSystemVariables.colorOnSurfaceMedium),iconColor:o.FtCssVariableFactory.extend("--ft-text-field-icon-color","",o.designSystemVariables.colorOnSurfaceMedium),floatingZIndex:o.FtCssVariableFactory.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system"),elevation02:o.FtCssVariableFactory.external(o.designSystemVariables.elevation02,"Design system"),suggestSize:o.FtCssVariableFactory.create("--ft-text-field-suggest-size","","SIZE","300px")},si=e.css`
|
|
932
|
+
`,nr={fontSize:o.FtCssVariableFactory.create("--ft-number-field-font-size","","SIZE","14px"),labelSize:o.FtCssVariableFactory.create("--ft-number-field-label-size","","SIZE","11px"),verticalSpacing:o.FtCssVariableFactory.create("--ft-number-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.FtCssVariableFactory.create("--ft-number-field-horizontal-spacing","","SIZE","16px"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system"),borderRadiusS:o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorOutline:o.FtCssVariableFactory.external(o.designSystemVariables.colorOutline,"Design system")},ar=e.css`
|
|
948
933
|
*:focus {
|
|
949
934
|
outline: none;
|
|
950
935
|
}
|
|
951
936
|
|
|
952
|
-
.ft-
|
|
937
|
+
.ft-number-field {
|
|
953
938
|
display: flex;
|
|
954
939
|
flex-direction: column;
|
|
955
940
|
align-items: stretch;
|
|
@@ -957,148 +942,75 @@ const ii={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size",""
|
|
|
957
942
|
}
|
|
958
943
|
|
|
959
944
|
ft-input-label {
|
|
960
|
-
${o.setVariable(
|
|
961
|
-
${o.setVariable(
|
|
962
|
-
${o.setVariable(
|
|
963
|
-
${o.setVariable(
|
|
945
|
+
${o.setVariable(rr.fontSize,nr.fontSize)};
|
|
946
|
+
${o.setVariable(rr.raisedFontSize,nr.labelSize)};
|
|
947
|
+
${o.setVariable(rr.verticalSpacing,nr.verticalSpacing)};
|
|
948
|
+
${o.setVariable(rr.horizontalSpacing,nr.horizontalSpacing)};
|
|
964
949
|
}
|
|
965
950
|
|
|
966
|
-
.ft-
|
|
951
|
+
.ft-number-field--main-panel {
|
|
967
952
|
position: relative;
|
|
968
953
|
display: flex;
|
|
969
|
-
height: calc(4 * ${
|
|
954
|
+
height: calc(4 * ${nr.verticalSpacing} + ${nr.labelSize} + ${nr.fontSize});
|
|
970
955
|
}
|
|
971
956
|
|
|
972
|
-
.ft-
|
|
957
|
+
.ft-number-field--input-panel {
|
|
973
958
|
flex-grow: 1;
|
|
974
959
|
position: relative;
|
|
975
960
|
display: flex;
|
|
976
961
|
align-items: center;
|
|
977
962
|
overflow: hidden;
|
|
978
|
-
padding: 0 ${
|
|
963
|
+
padding: 0 ${nr.horizontalSpacing};
|
|
979
964
|
|
|
980
|
-
${o.setVariable(V.fontSize,
|
|
981
|
-
${o.setVariable(V.lineHeight,
|
|
965
|
+
${o.setVariable(V.fontSize,nr.fontSize)};
|
|
966
|
+
${o.setVariable(V.lineHeight,nr.fontSize)};
|
|
982
967
|
}
|
|
983
968
|
|
|
984
|
-
.ft-
|
|
985
|
-
${o.setVariable(
|
|
986
|
-
${o.setVariable(
|
|
969
|
+
.ft-number-field--input-panel ft-ripple {
|
|
970
|
+
${o.setVariable(c.opacityContentOnSurfaceHover,"0.08")};
|
|
971
|
+
${o.setVariable(c.opacityContentOnSurfacePressed,"0.04")};
|
|
987
972
|
}
|
|
988
973
|
|
|
989
|
-
.ft-
|
|
974
|
+
.ft-number-field--filled.ft-number-field--with-label .ft-number-field--input-panel {
|
|
990
975
|
align-items: flex-end;
|
|
991
|
-
padding: 0 ${
|
|
976
|
+
padding: 0 ${nr.horizontalSpacing} ${nr.verticalSpacing} ${nr.horizontalSpacing};
|
|
992
977
|
}
|
|
993
978
|
|
|
994
|
-
.ft-
|
|
995
|
-
color: ${li.prefixColor};
|
|
996
|
-
margin-right: 2px;
|
|
997
|
-
flex-shrink: 1;
|
|
998
|
-
overflow: hidden;
|
|
999
|
-
white-space: nowrap;
|
|
1000
|
-
text-overflow: ellipsis;
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
.ft-text-field--with-label:not(.ft-text-field--raised-label) .ft-text-field--prefix {
|
|
1004
|
-
display: none;
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
.ft-text-field--input {
|
|
979
|
+
.ft-number-field--input {
|
|
1008
980
|
display: block;
|
|
1009
981
|
position: relative;
|
|
1010
982
|
flex-grow: 1;
|
|
1011
983
|
flex-shrink: 1;
|
|
1012
984
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
1013
985
|
|
|
1014
|
-
color: ${
|
|
1015
|
-
padding: calc(2 * ${
|
|
986
|
+
color: ${nr.colorOnSurface};
|
|
987
|
+
padding: calc(2 * ${nr.verticalSpacing}) 0;
|
|
1016
988
|
border: none;
|
|
1017
989
|
background: none;
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
.ft-text-field--filled.ft-text-field--with-label .ft-text-field--input {
|
|
1021
|
-
padding-bottom: 0;
|
|
1022
|
-
padding-top: calc(${li.labelSize} + 2 * ${li.verticalSpacing});
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
1026
|
-
.ft-text-field--input::-webkit-list-button {
|
|
1027
|
-
display: none !important;
|
|
1028
|
-
}
|
|
1029
|
-
|
|
1030
|
-
.ft-text-field--disabled .ft-text-field--input {
|
|
1031
|
-
color: ${li.colorOnSurfaceDisabled};
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
1035
|
-
${o.setVariable(ii.borderColor,li.colorPrimary)};
|
|
1036
|
-
${o.setVariable(ii.textColor,li.colorPrimary)};
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
.ft-text-field--filled .ft-text-field--input-panel {
|
|
1040
|
-
border-radius: ${li.borderRadiusS} ${li.borderRadiusS} 0 0;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
1044
|
-
border-radius: ${li.borderRadiusS};
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
.ft-text-field--helper-text {
|
|
1048
|
-
padding: 0 12px 0 ${li.horizontalSpacing};
|
|
1049
|
-
color: ${li.helperColor};
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
.ft-text-field--in-error .ft-text-field--input,
|
|
1053
|
-
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
1054
|
-
.ft-text-field--in-error .ft-text-field--prefix {
|
|
1055
|
-
color: ${li.colorError};
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
.ft-text-field--icon {
|
|
1059
|
-
align-self: center;
|
|
1060
|
-
margin-left: 8px;
|
|
1061
|
-
color: ${li.iconColor};
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
|
-
.ft-text-field--container {
|
|
1065
|
-
position: relative;
|
|
1066
|
-
}
|
|
1067
990
|
|
|
1068
|
-
|
|
1069
|
-
display: none;
|
|
1070
|
-
flex-direction: column;
|
|
1071
|
-
position: absolute;
|
|
1072
|
-
left: 0;
|
|
1073
|
-
right: 0;
|
|
1074
|
-
z-index: ${li.floatingZIndex};
|
|
1075
|
-
background: ${li.colorSurface};
|
|
1076
|
-
border: 1px solid ${li.colorOutline};
|
|
1077
|
-
border-radius: 0 0 ${li.borderRadiusS} ${li.borderRadiusS};
|
|
1078
|
-
box-shadow: ${li.elevation02};
|
|
1079
|
-
outline: none;
|
|
1080
|
-
max-height: ${li.suggestSize};
|
|
1081
|
-
overflow-y: auto;
|
|
991
|
+
-moz-appearance: textfield;
|
|
1082
992
|
}
|
|
1083
993
|
|
|
1084
|
-
.ft-
|
|
1085
|
-
|
|
994
|
+
.ft-number-field--filled.ft-number-field--with-label .ft-number-field--input {
|
|
995
|
+
padding-bottom: 0;
|
|
996
|
+
padding-top: calc(${nr.labelSize} + 2 * ${nr.verticalSpacing});
|
|
1086
997
|
}
|
|
1087
998
|
|
|
1088
|
-
.ft-
|
|
1089
|
-
|
|
999
|
+
.ft-number-field--disabled .ft-number-field--input {
|
|
1000
|
+
color: ${nr.colorOnSurfaceDisabled};
|
|
1090
1001
|
}
|
|
1091
1002
|
|
|
1092
|
-
.ft-
|
|
1093
|
-
|
|
1003
|
+
.ft-number-field:not(.ft-number-field--disabled):focus-within ft-input-label {
|
|
1004
|
+
${o.setVariable(rr.borderColor,nr.colorPrimary)};
|
|
1005
|
+
${o.setVariable(rr.textColor,nr.colorPrimary)};
|
|
1094
1006
|
}
|
|
1095
1007
|
|
|
1096
|
-
.ft-
|
|
1097
|
-
|
|
1008
|
+
.ft-number-field--filled .ft-number-field--input-panel {
|
|
1009
|
+
border-radius: ${nr.borderRadiusS} ${nr.borderRadiusS} 0 0;
|
|
1098
1010
|
}
|
|
1099
1011
|
|
|
1100
|
-
.ft-
|
|
1101
|
-
|
|
1012
|
+
.ft-number-field--outlined .ft-number-field--input-panel {
|
|
1013
|
+
border-radius: ${nr.borderRadiusS};
|
|
1102
1014
|
}
|
|
1103
1015
|
|
|
1104
1016
|
input::-webkit-outer-spin-button,
|
|
@@ -1106,117 +1018,68 @@ const ii={fontSize:o.FtCssVariableFactory.create("--ft-input-label-font-size",""
|
|
|
1106
1018
|
-webkit-appearance: none;
|
|
1107
1019
|
margin: 0;
|
|
1108
1020
|
}
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1021
|
+
`;var lr=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 cr extends o.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return e.html`
|
|
1022
|
+
<div class="${i.classMap(t)}">
|
|
1023
|
+
${this.text?e.html`
|
|
1024
|
+
<div class="ft-input-label--text ft-typography--caption">
|
|
1025
|
+
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
1026
|
+
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
1027
|
+
</div>
|
|
1028
|
+
`:null}
|
|
1029
|
+
</div>
|
|
1030
|
+
`}}cr.elementDefinitions={},cr.styles=[Nt,ir],lr([r.property({type:String})],cr.prototype,"text",void 0),lr([r.property({type:Boolean})],cr.prototype,"raised",void 0),lr([r.property({type:Boolean})],cr.prototype,"outlined",void 0),lr([r.property({type:Boolean})],cr.prototype,"disabled",void 0),lr([r.property({type:Boolean})],cr.prototype,"error",void 0),o.customElement("ft-input-label")(cr);var sr=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 pr extends o.FtLitElement{constructor(){super(...arguments),this.outlined=!1,this.disabled=!1,this.focused=!1}render(){const t={"ft-number-field":!0,"ft-number-field--filled":!this.outlined,"ft-number-field--outlined":this.outlined,"ft-number-field--disabled":this.disabled,"ft-number-field--has-value":null!=this.value,"ft-number-field--with-label":!!this.label};return e.html`
|
|
1031
|
+
<div class="${i.classMap(t)}">
|
|
1032
|
+
<div class="ft-number-field--main-panel"
|
|
1117
1033
|
@focusout=${this.onMainPanelBlur}>
|
|
1118
1034
|
<ft-input-label text="${this.label}"
|
|
1119
1035
|
?disabled=${this.disabled}
|
|
1120
1036
|
?outlined=${this.outlined}
|
|
1121
|
-
?raised=${this.focused||
|
|
1122
|
-
|
|
1123
|
-
<div class="ft-
|
|
1037
|
+
?raised=${this.focused||null!=this.value}>
|
|
1038
|
+
</ft-input-label>
|
|
1039
|
+
<div class="ft-number-field--input-panel">
|
|
1124
1040
|
${this.outlined?e.nothing:e.html`
|
|
1125
1041
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
1126
1042
|
`}
|
|
1127
|
-
|
|
1128
|
-
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
1129
|
-
${this.prefix}
|
|
1130
|
-
</ft-typography>
|
|
1131
|
-
`:e.nothing}
|
|
1132
|
-
<input type=${this.password&&this.hidePassword?"password":this.type}
|
|
1133
|
-
maxlength=${(t=>t??fo)(this.maxLength||void 0)}
|
|
1043
|
+
<input type="number"
|
|
1134
1044
|
.min=${this.min}
|
|
1135
1045
|
.max=${this.max}
|
|
1136
1046
|
aria-label="${this.label}"
|
|
1137
|
-
class="ft-typography--body1 ft-
|
|
1047
|
+
class="ft-typography--body1 ft-number-field--input"
|
|
1138
1048
|
part="input"
|
|
1139
1049
|
?disabled=${this.disabled}
|
|
1140
1050
|
.value=${this.value}
|
|
1141
|
-
@
|
|
1142
|
-
@
|
|
1143
|
-
|
|
1144
|
-
${this.renderIcon()}
|
|
1145
|
-
</div>
|
|
1146
|
-
<div class="ft-text-field--suggestions ${this.suggestionsOnTop?"ft-text-field--suggestions-on-top":""}"
|
|
1147
|
-
@suggestion-selected=${this.onSuggestionSelected}>
|
|
1148
|
-
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
1051
|
+
@change=${this.onChange}
|
|
1052
|
+
@focus=${this.onFocus}
|
|
1053
|
+
/>
|
|
1149
1054
|
</div>
|
|
1150
1055
|
</div>
|
|
1151
|
-
${this.helper?e.html`
|
|
1152
|
-
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
1153
|
-
${this.helper}
|
|
1154
|
-
</ft-typography>
|
|
1155
|
-
`:e.nothing}
|
|
1156
1056
|
</div>
|
|
1157
|
-
`}
|
|
1158
|
-
<
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?e.html`
|
|
1163
|
-
<ft-icon class="ft-text-field--icon"
|
|
1164
|
-
.variant=${this.iconVariant}
|
|
1165
|
-
.value=${this.icon}
|
|
1166
|
-
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
1167
|
-
`:e.nothing}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var o,e;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(o=this.input)||void 0===o?void 0:o.getBoundingClientRect(),i=null===(e=this.suggestionsContainer)||void 0===e?void 0:e.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,o=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),o&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var o;const e=(null===(o=this.input)||void 0===o?void 0:o.value)||"";this.setValue(e,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var o;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const e=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?e<this.visibleSuggestions.length-1?e+1:0:e>0?e-1:this.visibleSuggestions.length-1,null===(o=this.visibleSuggestions[i])||void 0===o||o.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var o;this.setValue(t.detail,!0),null===(o=this.input)||void 0===o||o.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,o;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(o=this.input)||void 0===o?void 0:o.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}fi.elementDefinitions={"ft-input-label":ai,"ft-ripple":Pt,"ft-typography":Lo,"ft-icon":_e},fi.styles=[vt,si],ci([i.property()],fi.prototype,"label",void 0),ci([i.property({noAccessor:!0})],fi.prototype,"value",null),ci([i.state()],fi.prototype,"dispatchedValue",void 0),ci([i.property()],fi.prototype,"helper",void 0),ci([i.property({type:Boolean})],fi.prototype,"outlined",void 0),ci([i.property({type:Boolean})],fi.prototype,"disabled",void 0),ci([i.property({type:Boolean})],fi.prototype,"error",void 0),ci([i.property()],fi.prototype,"prefix",void 0),ci([i.property()],fi.prototype,"icon",void 0),ci([i.property()],fi.prototype,"passwordHiddenIcon",void 0),ci([i.property()],fi.prototype,"passwordRevealedIcon",void 0),ci([i.property()],fi.prototype,"iconVariant",void 0),ci([i.property({type:Boolean})],fi.prototype,"filterSuggestions",void 0),ci([i.property({type:Number})],fi.prototype,"maxLength",void 0),ci([i.property({type:Boolean})],fi.prototype,"password",void 0),ci([i.property()],fi.prototype,"type",void 0),ci([i.property()],fi.prototype,"min",void 0),ci([i.property()],fi.prototype,"max",void 0),ci([i.state()],fi.prototype,"focused",void 0),ci([i.state()],fi.prototype,"hidePassword",void 0),ci([i.state()],fi.prototype,"suggestionsOnTop",void 0),ci([i.state()],fi.prototype,"hideSuggestions",void 0),ci([i.state()],fi.prototype,"visibleSuggestions",void 0),ci([i.query(".ft-text-field--main-panel")],fi.prototype,"mainPanel",void 0),ci([i.query(".ft-text-field--input")],fi.prototype,"input",void 0),ci([i.query(".ft-text-field--suggestions")],fi.prototype,"suggestionsContainer",void 0),ci([i.queryAssignedElements({selector:"ft-text-field-suggestion"})],fi.prototype,"suggestions",void 0);const pi=e.css`
|
|
1168
|
-
.ft-text-field-suggestion {
|
|
1169
|
-
position: relative;
|
|
1170
|
-
padding: 8px 16px;
|
|
1171
|
-
cursor: pointer;
|
|
1172
|
-
min-height: 44px;
|
|
1173
|
-
box-sizing: border-box;
|
|
1174
|
-
outline: none;
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
.ft-text-field-suggestion,
|
|
1178
|
-
.ft-text-field-suggestion--label {
|
|
1179
|
-
display: flex;
|
|
1180
|
-
align-items: center;
|
|
1181
|
-
gap: 8px;
|
|
1182
|
-
}
|
|
1057
|
+
`}update(t){super.update(t),(t.has("max")||t.has("min"))&&this.setValue(this.value)}lowerBound(t){return null!=this.min?Math.max(this.min,t):t}upperBound(t){return null!=this.max?Math.min(this.max,t):t}onChange(t){t.preventDefault(),t.stopPropagation(),this.setValue(+t.target.value)}setValue(t){let o=this.value;this.value=t;let e=null==this.value?void 0:this.lowerBound(this.upperBound(this.value));setTimeout((()=>{this.value=e,o!==e&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}))}onFocus(){this.focused=!0}onMainPanelBlur(){var t;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1)}}pr.elementDefinitions={"ft-input-label":cr,"ft-ripple":Pt,"ft-typography":Lo},pr.styles=ar,sr([r.property()],pr.prototype,"label",void 0),sr([o.optionalNumberProperty()],pr.prototype,"value",void 0),sr([r.property({type:Boolean})],pr.prototype,"outlined",void 0),sr([r.property({type:Boolean})],pr.prototype,"disabled",void 0),sr([o.optionalNumberProperty()],pr.prototype,"min",void 0),sr([o.optionalNumberProperty()],pr.prototype,"max",void 0),sr([r.state()],pr.prototype,"focused",void 0),sr([r.query(".ft-number-field--input")],pr.prototype,"input",void 0),sr([r.query(".ft-number-field--main-panel")],pr.prototype,"mainPanel",void 0),o.customElement("ft-number-field")(pr);var fr=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 dr extends o.FtLitElement{constructor(){super(...arguments),this.currentPage=1,this.nextLabel="Next",this.previousLabel="Previous"}get resolvedMaxPage(){return this.maxPage?Math.max(1,this.maxPage):this.totalItemsCount&&this.itemsPerPage?Math.ceil(Math.max(1,this.totalItemsCount)/Math.max(1,this.itemsPerPage)):1}render(){let t=this.resolvedMaxPage;return e.html`
|
|
1058
|
+
<style>
|
|
1059
|
+
ft-number-field::part(input) {
|
|
1060
|
+
width: ${Math.max(2,(""+t).length)}ch;
|
|
1061
|
+
}
|
|
1183
1062
|
|
|
1184
|
-
|
|
1185
|
-
flex-grow: 1;
|
|
1186
|
-
flex-shrink: 1;
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
slot {
|
|
1190
|
-
pointer-events: none;
|
|
1191
|
-
}
|
|
1192
|
-
`;var di=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hi extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class gi extends o.FtLitElement{render(){return e.html`
|
|
1193
|
-
<div class="ft-text-field-suggestion"
|
|
1194
|
-
tabindex="-1"
|
|
1195
|
-
@keydown=${this.onKeyDown}
|
|
1196
|
-
@click=${this.confirmSuggestion}>
|
|
1197
|
-
<ft-ripple></ft-ripple>
|
|
1198
|
-
<ft-typography part="label"
|
|
1199
|
-
variant="body1"
|
|
1200
|
-
class="ft-text-field-suggestion--label">
|
|
1201
|
-
<slot></slot>
|
|
1202
|
-
</ft-typography>
|
|
1203
|
-
</div>
|
|
1204
|
-
`}focus(t){var o;null===(o=this.container)||void 0===o||o.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new hi(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}gi.elementDefinitions={"ft-ripple":Pt,"ft-typography":Lo,"ft-icon":_e},gi.styles=pi,di([i.property()],gi.prototype,"value",void 0),di([i.query(".ft-text-field-suggestion")],gi.prototype,"container",void 0),di([i.queryAssignedNodes()],gi.prototype,"assignedNodes",void 0),o.customElement("ft-text-field")(fi),o.customElement("ft-text-field-suggestion")(gi);var ui=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,l=t.length-1;l>=0;l--)(r=t[l])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class yi extends o.FtLitElement{constructor(){super(...arguments),this.currentPage=1,this.nextLabel="Next",this.previousLabel="Previous"}get resolvedMaxPage(){return this.maxPage?Math.max(1,this.maxPage):this.totalItemsCount&&this.itemsPerPage?Math.ceil(Math.max(1,this.totalItemsCount)/Math.max(1,this.itemsPerPage)):1}get resolvedCurrentPage(){return o.minmax(1,this.currentPage,this.resolvedMaxPage)}render(){return e.html`
|
|
1063
|
+
</style>
|
|
1205
1064
|
<div part="container">
|
|
1206
1065
|
<ft-button icon=${Pe.THIN_ARROW_LEFT}
|
|
1207
|
-
?disabled="${1==this.
|
|
1208
|
-
@click="${()=>this.setPage(this.
|
|
1209
|
-
label="${this.previousLabel}"
|
|
1066
|
+
?disabled="${1==this.currentPage}"
|
|
1067
|
+
@click="${()=>this.setPage(this.currentPage-1)}"
|
|
1068
|
+
label="${this.previousLabel}"
|
|
1069
|
+
tooltipPosition="top">
|
|
1210
1070
|
</ft-button>
|
|
1211
|
-
<ft-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1071
|
+
<ft-number-field outlined
|
|
1072
|
+
value="${this.currentPage}"
|
|
1073
|
+
min="1"
|
|
1074
|
+
max="${t}"
|
|
1075
|
+
@change="${this.onChange}">
|
|
1076
|
+
</ft-number-field>
|
|
1077
|
+
<ft-typography variant="body1"> / ${t}</ft-typography>
|
|
1216
1078
|
<ft-button icon=${Pe.THIN_ARROW_RIGHT}
|
|
1217
|
-
?disabled="${this.
|
|
1218
|
-
@click="${()=>this.setPage(this.
|
|
1219
|
-
label="${this.nextLabel}"
|
|
1079
|
+
?disabled="${this.currentPage==t}"
|
|
1080
|
+
@click="${()=>this.setPage(this.currentPage+1)}"
|
|
1081
|
+
label="${this.nextLabel}"
|
|
1082
|
+
tooltipPosition="top">
|
|
1220
1083
|
</ft-button>
|
|
1221
1084
|
</div>
|
|
1222
|
-
`}setPage(t){this.currentPage=t,this.dispatchEvent(new CustomEvent("change",{detail:t}))}}
|
|
1085
|
+
`}onChange(t){t.stopPropagation(),this.setPage(t.detail)}setPage(t){this.currentPage=t,this.dispatchEvent(new CustomEvent("change",{detail:t}))}}dr.elementDefinitions={"ft-button":Qe,"ft-number-field":pr,"ft-typography":Lo},dr.styles=a,fr([r.property({type:Number,reflect:!0})],dr.prototype,"currentPage",void 0),fr([r.property({type:Number})],dr.prototype,"maxPage",void 0),fr([r.property({type:Number})],dr.prototype,"itemsPerPage",void 0),fr([r.property({type:Number})],dr.prototype,"totalItemsCount",void 0),fr([r.property()],dr.prototype,"nextLabel",void 0),fr([r.property()],dr.prototype,"previousLabel",void 0),o.customElement("ft-pager")(dr),t.FtPager=dr,t.FtPagerCssVariables={},t.styles=a}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|