@fluid-topics/ft-tree-selector 1.1.103
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/README.md +30 -0
- package/build/ft-tree-selector.d.ts +48 -0
- package/build/ft-tree-selector.js +279 -0
- package/build/ft-tree-selector.light.js +1116 -0
- package/build/ft-tree-selector.min.js +1344 -0
- package/build/ft-tree-selector.properties.d.ts +3 -0
- package/build/ft-tree-selector.properties.js +1 -0
- package/build/ft-tree-selector.styles.d.ts +11 -0
- package/build/ft-tree-selector.styles.js +138 -0
- package/build/index.d.ts +3 -0
- package/build/index.js +6 -0
- package/build/model/FtTree.d.ts +19 -0
- package/build/model/FtTree.js +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,1116 @@
|
|
|
1
|
+
"use strict";(()=>{var Zn=Object.create;var mo=Object.defineProperty;var Mn=Object.getOwnPropertyDescriptor;var Kn=Object.getOwnPropertyNames;var Fn=Object.getPrototypeOf,Vn=Object.prototype.hasOwnProperty;var Ut=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var jn=(e,o,r,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of Kn(o))!Vn.call(e,i)&&i!==r&&mo(e,i,{get:()=>o[i],enumerable:!(a=Mn(o,i))||a.enumerable});return e};var m=(e,o,r)=>(r=e!=null?Zn(Fn(e)):{},jn(o||!e||!e.__esModule?mo(r,"default",{value:e,enumerable:!0}):r,e));var w=Ut((Sa,yo)=>{yo.exports=ftGlobals.wcUtils});var _=Ut((Ca,bo)=>{bo.exports=ftGlobals.lit});var pt=Ut((va,xo)=>{xo.exports=ftGlobals.litDecorators});var Ne=Ut((cs,Or)=>{Or.exports=ftGlobals.litClassMap});var xn=Ut((fp,bn)=>{bn.exports=ftGlobals.litUnsafeHTML});var Hn=Ut((Nd,_n)=>{_n.exports=ftGlobals.litRepeat});var Un=m(w());var it=m(_()),Ht=m(w());var $n=m(_()),$=m(w());var lo=m(w());var xe=m(pt()),Rn=m(w());var br=m(_()),O=m(w());var Eo=m(_()),B=m(w()),Oo=B.FtCssVariableFactory.extend("--ft-ripple-color","",B.designSystemVariables.colorContent),N={color:Oo,backgroundColor:B.FtCssVariableFactory.extend("--ft-ripple-background-color","",Oo),opacityContentOnSurfacePressed:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:B.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},So=B.FtCssVariableFactory.extend("--ft-ripple-color","",B.designSystemVariables.colorPrimary),Co={color:So,backgroundColor:B.FtCssVariableFactory.extend("--ft-ripple-background-color","",So)},vo=B.FtCssVariableFactory.extend("--ft-ripple-color","",B.designSystemVariables.colorSecondary),No={color:vo,backgroundColor:B.FtCssVariableFactory.extend("--ft-ripple-background-color","",vo)},wo=Eo.css`
|
|
2
|
+
:host {
|
|
3
|
+
display: contents;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.ft-ripple {
|
|
7
|
+
position: absolute;
|
|
8
|
+
inset: 0;
|
|
9
|
+
pointer-events: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
border-radius: ${N.borderRadius};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ft-ripple .ft-ripple--background,
|
|
18
|
+
.ft-ripple .ft-ripple--effect {
|
|
19
|
+
position: absolute;
|
|
20
|
+
opacity: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.ft-ripple .ft-ripple--effect {
|
|
24
|
+
aspect-ratio: 1;
|
|
25
|
+
width: auto;
|
|
26
|
+
height: auto;
|
|
27
|
+
min-width: 170%;
|
|
28
|
+
min-height: 170%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ft-ripple .ft-ripple--background{
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
37
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
38
|
+
aspect-ratio: 1;
|
|
39
|
+
width: auto;
|
|
40
|
+
height: auto;
|
|
41
|
+
max-width: unset;
|
|
42
|
+
max-height: unset;
|
|
43
|
+
min-width: 100%;
|
|
44
|
+
min-height: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ft-ripple .ft-ripple--background {
|
|
48
|
+
background-color: ${N.backgroundColor};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ft-ripple .ft-ripple--effect {
|
|
52
|
+
background-color: ${N.color};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
56
|
+
background-color: ${No.backgroundColor};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
60
|
+
background-color: ${No.color};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
64
|
+
background-color: ${Co.backgroundColor};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
68
|
+
background-color: ${Co.color};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.ft-ripple .ft-ripple--background {
|
|
72
|
+
top: 0;
|
|
73
|
+
left: 0;
|
|
74
|
+
transition: opacity 75ms linear;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ft-ripple .ft-ripple--effect,
|
|
78
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
79
|
+
border-radius: 50%;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ft-ripple .ft-ripple--effect {
|
|
83
|
+
transform: translate(-50%, -50%) scale(0.15);
|
|
84
|
+
transition: transform 300ms ease, opacity 75ms linear;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
88
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
89
|
+
left: 50%;
|
|
90
|
+
top: 50%;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
94
|
+
transform: translate(-50%, -50%);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
98
|
+
opacity: ${N.opacityContentOnSurfaceHover};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
102
|
+
opacity: ${N.opacityContentOnSurfaceSelected};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
106
|
+
opacity: ${N.opacityContentOnSurfaceFocused};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
110
|
+
opacity: ${N.opacityContentOnSurfacePressed};
|
|
111
|
+
transform: translate(-50%, -50%) scale(1);
|
|
112
|
+
}
|
|
113
|
+
`;var rt=m(_()),u=m(w());var gt=m(_(),1),wt=e=>typeof e=="string"?(0,gt.unsafeCSS)(e):e,t=class{static create(o,r,a,i){let l=p=>wt(p??i),c=gt.css`var(${wt(o)}, ${l(i)})`;return c.name=o,c.description=r,c.category=a,c.defaultValue=i,c.defaultCssValue=l,c.get=p=>gt.css`var(${wt(o)}, ${l(p)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(o,r,a,i){let l=p=>a.get(p??i),c=gt.css`var(${wt(o)}, ${l(i)})`;return c.name=o,c.description=r,c.category=a.category,c.fallbackVariable=a,c.defaultValue=i,c.defaultCssValue=l,c.get=p=>gt.css`var(${wt(o)}, ${l(p)})`,c.breadcrumb=()=>[a.name,...a.breadcrumb()],c.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),c}static external(o,r){let a=l=>o.fallbackVariable?o.fallbackVariable.get(l??o.defaultValue):wt(l??o.lastResortDefaultValue()),i=gt.css`var(${wt(o.name)}, ${a(o.defaultValue)})`;return i.name=o.name,i.category=o.category,i.fallbackVariable=o.fallbackVariable,i.defaultValue=o.defaultValue,i.context=r,i.defaultCssValue=a,i.get=l=>gt.css`var(${wt(o.name)}, ${a(l)})`,i.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>o.lastResortDefaultValue(),i}};var n={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ro={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Lo={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ao={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},$o={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Po={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Wo={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Io={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Bo={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ko={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Yn={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},zo={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},To={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},_o={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Uo={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Do={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Go={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Zo={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Mo={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ko={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Fo={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Vo={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},jo={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Yo={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Xo={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},qo={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Se={display:Ro,"title-1":Lo,"title-2":Ao,"title-3":$o,"body-1-regular":Po,"body-1-medium":Wo,"body-1-semibold":Io,"body-2-regular":Bo,"body-2-medium":ko,"body-2-medium-underline":Yn,"body-2-semibold":zo,"label-1-medium":To,"label-1-semibold":_o,"label-1-bold":Ho,"label-2-medium":Uo,"label-2-semibold":Do,"label-2-bold":Go,"caption-1-medium":Zo,"caption-1-semibold":Mo,"caption-1-bold":Ko,"caption-2-medium":Fo,"caption-2-semibold":Vo,"caption-2-bold":jo,"caption-3-medium":Yo,"caption-3-semibold":Xo,"caption-3-bold":qo};var s={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",n.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",n.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",n.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",n.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",n.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",n.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",n.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",n.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",n.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",n.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",n.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",n.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",n.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",n.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",n.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",n.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",n.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",n.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
114
|
+
Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",n.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",n.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",n.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",n.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",n.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",n.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",n.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",n.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",n.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",n.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",n.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",n.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",n.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",n.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",n.colorGray80)};var f={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",n.spacing4),largeGap:t.extend("--ft-button-large-gap","",n.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",n.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",n.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",n.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",n.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",n.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",n.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",n.spacing2),smallGap:t.extend("--ft-button-small-gap","",n.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",n.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",n.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",n.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",n.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",s.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",s.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",s.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",s.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",n.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",n.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",n.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",s.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",s.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",s.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",s.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",n.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",n.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",n.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",n.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",s.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",s.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",s.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",n.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",n.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",n.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",n.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",s.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",s.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",s.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",s.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",n.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",n.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",n.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",n.opacity40)};var _a={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",n.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",n.spacing1),largeGap:t.extend("--ft-chip-large-gap","",n.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",n.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",n.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",n.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",n.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",n.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",n.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",n.spacing05),smallGap:t.extend("--ft-chip-small-gap","",n.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",n.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",s.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",s.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",s.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",s.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",s.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",s.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",s.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",s.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",s.borderErrorSubtle)};var Za={focusOpacity:t.extend("--ft-link-focus-opacity","",n.opacity80),focusFocusRingColor:t.extend("--ft-link-focus-focus-ring-color","",s.borderActionFocusRing),brandColor:t.extend("--ft-link-brand-color","",s.contentActionPrimary),infoColor:t.extend("--ft-link-info-color","",s.contentInfoPrimary)};var ja={iconSize:t.extend("--ft-banner-icon-size","",n.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",n.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",n.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",n.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",n.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",n.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",n.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",n.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",s.borderInfoSubtle)};var Qa={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",n.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",n.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",n.borderRadiusPill),color:t.extend("--ft-badge-color","",s.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",s.contentActionPrimary)};var ni={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",n.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",s.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",s.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",s.contentGlobalSubtle)};var si={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",n.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",n.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",n.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",n.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",n.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",n.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",n.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",s.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",s.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",s.contentGlobalSecondary)};var ui={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",n.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-modal-shadow","",n.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",n.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",n.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",n.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",n.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",s.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",s.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",n.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",n.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",n.spacing6),headerGap:t.extend("--ft-modal-header-gap","",n.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",n.borderRadiusM)};var xi={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-drawer-shadow","",n.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",s.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",n.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",n.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",n.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",s.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",s.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",s.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",s.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",n.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",n.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",s.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",s.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",s.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",n.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",n.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",n.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",n.colorGray700)};var Ni={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",n.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",n.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",n.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-tabs-off-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",s.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",s.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",n.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",n.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",n.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",n.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",n.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",n.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",n.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",n.opacity24),onColor:t.extend("--ft-tabs-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",s.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",s.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",n.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",n.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",n.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",n.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",s.borderActionFocusRing)};var Ai={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",s.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",s.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",s.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",n.opacity40)};var Bi={backgroundColor:t.extend("--ft-text-area-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",s.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",s.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",s.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",n.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",n.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",n.borderRadiusM)};var Hi={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",n.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",s.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",s.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",s.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",n.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",n.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",n.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",n.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",n.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",s.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",n.shadowElevation02)};var Mi={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",n.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",n.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",s.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",s.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",s.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",s.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",n.opacity40)};var Yi={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",s.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",s.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",s.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",s.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",s.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",s.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",s.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",s.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",s.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",s.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",n.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",n.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",n.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",n.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",n.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",n.borderRadiusM)};var tl={backgroundColor:t.extend("--ft-popover-background-color","",s.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",n.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",n.spacing6),titleColor:t.extend("--ft-popover-title-color","",s.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",s.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",s.contentActionPrimary),gap:t.extend("--ft-popover-gap","",n.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",n.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",n.shadowElevation02)};var al={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",n.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",n.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",s.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",n.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",n.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",n.spacing3),color:t.extend("--ft-collapsible-color","",s.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",s.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",s.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",s.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",n.iconSize3)};var pl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",n.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",n.spacing1),groupGap:t.extend("--ft-switch-group-gap","",n.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",s.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",s.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",n.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",n.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",n.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",n.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-switch-off-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",n.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",n.opacity40),onColor:t.extend("--ft-switch-on-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",s.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",n.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",n.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",s.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",n.borderRadiusS)};var ul={color1Light:t.extend("--ft-chart-1-light","for area color charts",n.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",n.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",n.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",n.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",n.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",n.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",n.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",n.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",n.colorRed40),color5Base:t.extend("--ft-chart-5-base","",n.colorRed60),color6Light:t.extend("--ft-chart-6-light","",n.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",n.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",n.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",n.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",n.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",n.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",n.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",n.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",n.colorGray50),color10Base:t.extend("--ft-chart-10-base","",n.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",n.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",n.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",n.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",n.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",n.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",n.colorBrand200)};var xl={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",n.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",n.borderRadiusS),gap:t.extend("--ft-notice-gap","",n.spacing2),iconSize:t.extend("--ft-notice-icon-size","",n.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",s.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",s.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",s.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",s.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",s.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",s.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",s.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",s.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",s.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",s.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",s.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",s.contentSuccessIconOnly)};var Nl={color:t.extend("--ft-checkbox-color","",s.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",s.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",s.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",s.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",n.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",n.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",n.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",n.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",n.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",n.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",n.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",n.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",n.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",n.spacing3)};var Al={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",n.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",n.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",n.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",n.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",s.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",s.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",s.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",n.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",n.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",n.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",n.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",s.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",s.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",s.contentActionPrimary),color:t.extend("--ft-toggle-color","",s.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",s.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",n.spacing3)};var Bl={color:t.extend("--ft-radio-color","",s.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",s.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",s.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",n.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",n.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",n.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",n.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",s.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",s.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",n.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",n.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",n.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",s.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",n.spacing3)};var Hl={iconSize:t.extend("--ft-notification-icon-size","",n.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",n.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",n.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",n.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",s.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",s.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",s.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",s.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",s.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",s.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",s.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",s.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",s.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",s.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",s.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",s.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",s.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",s.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",s.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",s.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",n.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",n.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",n.spacing8)};var Ml={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",n.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",n.borderRadiusS),color:t.extend("--ft-tooltip-color","",s.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",s.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",n.opacity80),shadow:t.extend("--ft-tooltip-shadow","",n.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",n.spacing05)};var Ce;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ce||(Ce={}));var Dt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Dt||(Dt={}));var ve=m(_());function Jo(e){let o=Se[e];return ve.css`
|
|
115
|
+
.ft-typography--${(0,ve.unsafeCSS)(e)} {
|
|
116
|
+
font-family: ${o.fontFamily};
|
|
117
|
+
font-size: ${o.fontSize};
|
|
118
|
+
font-weight: ${o.fontWeight};
|
|
119
|
+
letter-spacing: ${o.letterSpacing};
|
|
120
|
+
line-height: ${o.lineHeight};
|
|
121
|
+
text-transform: ${o.textCase};
|
|
122
|
+
}
|
|
123
|
+
`}var Qo=u.FtCssVariableFactory.extend("--ft-typography-font-family","",u.designSystemVariables.titleFont),mt=u.FtCssVariableFactory.extend("--ft-typography-font-family","",u.designSystemVariables.contentFont),b={fontFamily:mt,fontSize:u.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:u.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:u.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:u.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:u.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Gt={fontFamily:u.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Qo),fontSize:u.FtCssVariableFactory.extend("--ft-typography-title-font-size","",b.fontSize,"20px"),fontWeight:u.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",b.fontWeight,"normal"),letterSpacing:u.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",b.letterSpacing,"0.15px"),lineHeight:u.FtCssVariableFactory.extend("--ft-typography-title-line-height","",b.lineHeight,"1.2"),textTransform:u.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",b.textTransform,"inherit")},Zt={fontFamily:u.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Qo),fontSize:u.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",b.fontSize,"14px"),fontWeight:u.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",b.fontWeight,"normal"),letterSpacing:u.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",b.letterSpacing,"0.105px"),lineHeight:u.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",b.lineHeight,"1.7"),textTransform:u.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",b.textTransform,"inherit")},Mt={fontFamily:u.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",mt),fontSize:u.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",b.fontSize,"16px"),fontWeight:u.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",b.fontWeight,"600"),letterSpacing:u.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",b.letterSpacing,"0.144px"),lineHeight:u.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",b.lineHeight,"1.5"),textTransform:u.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",b.textTransform,"inherit")},Kt={fontFamily:u.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",mt),fontSize:u.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",b.fontSize,"14px"),fontWeight:u.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",b.fontWeight,"normal"),letterSpacing:u.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",b.letterSpacing,"0.098px"),lineHeight:u.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",b.lineHeight,"1.7"),textTransform:u.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",b.textTransform,"inherit")},Ft={fontFamily:u.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",mt),fontSize:u.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",b.fontSize,"16px"),fontWeight:u.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",b.fontWeight,"normal"),letterSpacing:u.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",b.letterSpacing,"0.496px"),lineHeight:u.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",b.lineHeight,"1.5"),textTransform:u.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",b.textTransform,"inherit")},Vt={fontFamily:u.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",mt),fontSize:u.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",b.fontSize,"14px"),fontWeight:u.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",b.fontWeight,"normal"),letterSpacing:u.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",b.letterSpacing,"0.252px"),lineHeight:u.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",b.lineHeight,"1.4"),textTransform:u.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",b.textTransform,"inherit")},jt={fontFamily:u.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",mt),fontSize:u.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",b.fontSize,"12px"),fontWeight:u.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",b.fontWeight,"normal"),letterSpacing:u.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",b.letterSpacing,"0.396px"),lineHeight:u.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",b.lineHeight,"1.33"),textTransform:u.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",b.textTransform,"inherit")},Yt={fontFamily:u.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",mt),fontSize:u.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",b.fontSize,"10px"),fontWeight:u.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",b.fontWeight,"normal"),letterSpacing:u.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",b.letterSpacing,"0.33px"),lineHeight:u.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",b.lineHeight,"1.6"),textTransform:u.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",b.textTransform,"inherit")},Xt={fontFamily:u.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",mt),fontSize:u.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",b.fontSize,"10px"),fontWeight:u.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",b.fontWeight,"normal"),letterSpacing:u.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",b.letterSpacing,"1.5px"),lineHeight:u.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",b.lineHeight,"1.6"),textTransform:u.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",b.textTransform,"uppercase")},dt={fontFamily:u.FtCssVariableFactory.extend("--ft-typography-button-font-family","",mt),fontSize:u.FtCssVariableFactory.extend("--ft-typography-button-font-size","",b.fontSize,"14px"),fontWeight:u.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",b.fontWeight,"600"),letterSpacing:u.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",b.letterSpacing,"1.246px"),lineHeight:u.FtCssVariableFactory.extend("--ft-typography-button-line-height","",b.lineHeight,"1.15"),textTransform:u.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",b.textTransform,"uppercase")},tr=rt.css`
|
|
124
|
+
.ft-typography--title {
|
|
125
|
+
font-family: ${Gt.fontFamily};
|
|
126
|
+
font-size: ${Gt.fontSize};
|
|
127
|
+
font-weight: ${Gt.fontWeight};
|
|
128
|
+
letter-spacing: ${Gt.letterSpacing};
|
|
129
|
+
line-height: ${Gt.lineHeight};
|
|
130
|
+
text-transform: ${Gt.textTransform};
|
|
131
|
+
}
|
|
132
|
+
`,er=rt.css`
|
|
133
|
+
.ft-typography--title-dense {
|
|
134
|
+
font-family: ${Zt.fontFamily};
|
|
135
|
+
font-size: ${Zt.fontSize};
|
|
136
|
+
font-weight: ${Zt.fontWeight};
|
|
137
|
+
letter-spacing: ${Zt.letterSpacing};
|
|
138
|
+
line-height: ${Zt.lineHeight};
|
|
139
|
+
text-transform: ${Zt.textTransform};
|
|
140
|
+
}
|
|
141
|
+
`,or=rt.css`
|
|
142
|
+
.ft-typography--subtitle1 {
|
|
143
|
+
font-family: ${Mt.fontFamily};
|
|
144
|
+
font-size: ${Mt.fontSize};
|
|
145
|
+
font-weight: ${Mt.fontWeight};
|
|
146
|
+
letter-spacing: ${Mt.letterSpacing};
|
|
147
|
+
line-height: ${Mt.lineHeight};
|
|
148
|
+
text-transform: ${Mt.textTransform};
|
|
149
|
+
}
|
|
150
|
+
`,rr=rt.css`
|
|
151
|
+
.ft-typography--subtitle2 {
|
|
152
|
+
font-family: ${Kt.fontFamily};
|
|
153
|
+
font-size: ${Kt.fontSize};
|
|
154
|
+
font-weight: ${Kt.fontWeight};
|
|
155
|
+
letter-spacing: ${Kt.letterSpacing};
|
|
156
|
+
line-height: ${Kt.lineHeight};
|
|
157
|
+
text-transform: ${Kt.textTransform};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
`,nr=rt.css`
|
|
161
|
+
.ft-typography--body1 {
|
|
162
|
+
font-family: ${Ft.fontFamily};
|
|
163
|
+
font-size: ${Ft.fontSize};
|
|
164
|
+
font-weight: ${Ft.fontWeight};
|
|
165
|
+
letter-spacing: ${Ft.letterSpacing};
|
|
166
|
+
line-height: ${Ft.lineHeight};
|
|
167
|
+
text-transform: ${Ft.textTransform};
|
|
168
|
+
}
|
|
169
|
+
`,ar=rt.css`
|
|
170
|
+
.ft-typography--body2 {
|
|
171
|
+
font-family: ${Vt.fontFamily};
|
|
172
|
+
font-size: ${Vt.fontSize};
|
|
173
|
+
font-weight: ${Vt.fontWeight};
|
|
174
|
+
letter-spacing: ${Vt.letterSpacing};
|
|
175
|
+
line-height: ${Vt.lineHeight};
|
|
176
|
+
text-transform: ${Vt.textTransform};
|
|
177
|
+
}
|
|
178
|
+
`,ir=rt.css`
|
|
179
|
+
.ft-typography--caption {
|
|
180
|
+
font-family: ${jt.fontFamily};
|
|
181
|
+
font-size: ${jt.fontSize};
|
|
182
|
+
font-weight: ${jt.fontWeight};
|
|
183
|
+
letter-spacing: ${jt.letterSpacing};
|
|
184
|
+
line-height: ${jt.lineHeight};
|
|
185
|
+
text-transform: ${jt.textTransform};
|
|
186
|
+
}
|
|
187
|
+
`,lr=rt.css`
|
|
188
|
+
.ft-typography--breadcrumb {
|
|
189
|
+
font-family: ${Yt.fontFamily};
|
|
190
|
+
font-size: ${Yt.fontSize};
|
|
191
|
+
font-weight: ${Yt.fontWeight};
|
|
192
|
+
letter-spacing: ${Yt.letterSpacing};
|
|
193
|
+
line-height: ${Yt.lineHeight};
|
|
194
|
+
text-transform: ${Yt.textTransform};
|
|
195
|
+
}
|
|
196
|
+
`,cr=rt.css`
|
|
197
|
+
.ft-typography--overline {
|
|
198
|
+
font-family: ${Xt.fontFamily};
|
|
199
|
+
font-size: ${Xt.fontSize};
|
|
200
|
+
font-weight: ${Xt.fontWeight};
|
|
201
|
+
letter-spacing: ${Xt.letterSpacing};
|
|
202
|
+
line-height: ${Xt.lineHeight};
|
|
203
|
+
text-transform: ${Xt.textTransform};
|
|
204
|
+
}
|
|
205
|
+
`,sr=rt.css`
|
|
206
|
+
.ft-typography--button {
|
|
207
|
+
font-family: ${dt.fontFamily};
|
|
208
|
+
font-size: ${dt.fontSize};
|
|
209
|
+
font-weight: ${dt.fontWeight};
|
|
210
|
+
letter-spacing: ${dt.letterSpacing};
|
|
211
|
+
line-height: ${dt.lineHeight};
|
|
212
|
+
text-transform: ${dt.textTransform};
|
|
213
|
+
}
|
|
214
|
+
`,pr=rt.css`
|
|
215
|
+
.ft-typography {
|
|
216
|
+
vertical-align: inherit;
|
|
217
|
+
}
|
|
218
|
+
`,dr=[Object.keys(Se).map(e=>Jo(e))];var fr=m(_()),ie=m(w()),F={color:ie.FtCssVariableFactory.extend("--ft-loader-color","",ie.designSystemVariables.colorPrimary),size:ie.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},hr=fr.css`
|
|
219
|
+
:host {
|
|
220
|
+
line-height: 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.ft-loader {
|
|
224
|
+
display: inline-block;
|
|
225
|
+
position: relative;
|
|
226
|
+
|
|
227
|
+
width: ${F.size};
|
|
228
|
+
height: ${F.size};
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.ft-loader div {
|
|
232
|
+
position: absolute;
|
|
233
|
+
top: 37.5%;
|
|
234
|
+
width: 25%;
|
|
235
|
+
height: 25%;
|
|
236
|
+
border-radius: 50%;
|
|
237
|
+
background: ${F.color};
|
|
238
|
+
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.ft-loader div:nth-child(1) {
|
|
242
|
+
left: 2.5%;
|
|
243
|
+
animation: appear 0.6s infinite;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.ft-loader div:nth-child(2) {
|
|
247
|
+
left: 2.5%;
|
|
248
|
+
animation: move 0.6s infinite;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.ft-loader div:nth-child(3) {
|
|
252
|
+
left: 37.5%;
|
|
253
|
+
animation: move 0.6s infinite;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.ft-loader div:nth-child(4) {
|
|
257
|
+
left: 72.5%;
|
|
258
|
+
animation: disappear 0.6s infinite;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
@keyframes appear {
|
|
262
|
+
0% {
|
|
263
|
+
transform: scale(0);
|
|
264
|
+
}
|
|
265
|
+
100% {
|
|
266
|
+
transform: scale(1);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
@keyframes disappear {
|
|
271
|
+
0% {
|
|
272
|
+
transform: scale(1);
|
|
273
|
+
}
|
|
274
|
+
100% {
|
|
275
|
+
transform: scale(0);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
@keyframes move {
|
|
280
|
+
0% {
|
|
281
|
+
transform: translate(0, 0);
|
|
282
|
+
}
|
|
283
|
+
100% {
|
|
284
|
+
transform: translate(calc(0.35 * ${F.size}), 0);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
`;var ur=m(_()),yt=m(w()),V={size:yt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:yt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:yt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:yt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:yt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},gr=ur.css`
|
|
288
|
+
:host, i.ft-icon {
|
|
289
|
+
display: inline-flex;
|
|
290
|
+
align-items: center;
|
|
291
|
+
flex-shrink: 0;
|
|
292
|
+
flex-grow: 0;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
:host {
|
|
296
|
+
width: ${V.size};
|
|
297
|
+
height: ${V.size};
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
i.ft-icon {
|
|
301
|
+
width: 100%;
|
|
302
|
+
height: 100%;
|
|
303
|
+
font-size: ${V.size};
|
|
304
|
+
line-height: 1;
|
|
305
|
+
font-weight: normal;
|
|
306
|
+
text-transform: none;
|
|
307
|
+
font-style: normal;
|
|
308
|
+
font-variant: normal;
|
|
309
|
+
speak: none;
|
|
310
|
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
|
|
311
|
+
text-rendering: auto;
|
|
312
|
+
-webkit-font-smoothing: antialiased;
|
|
313
|
+
-moz-osx-font-smoothing: grayscale;
|
|
314
|
+
vertical-align: ${V.verticalAlign};
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
i.ft-icon.ft-icon--fluid-topics {
|
|
318
|
+
font-family: ${V.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
319
|
+
|
|
320
|
+
/* Ugly fix because font is broken */
|
|
321
|
+
font-size: calc(0.75 * ${V.size});
|
|
322
|
+
line-height: ${V.size};
|
|
323
|
+
position: relative;
|
|
324
|
+
top: -4%;
|
|
325
|
+
justify-content: center;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.ft-icon--file-format {
|
|
329
|
+
font-family: ${V.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.ft-icon--material {
|
|
333
|
+
font-family: ${V.materialFontFamily}, "Material Icons", sans-serif;
|
|
334
|
+
}
|
|
335
|
+
`;var mr=O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorPrimary),R={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorSurface),borderRadius:O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusL),color:mr,fontSize:O.FtCssVariableFactory.extend("--ft-button-font-size","",dt.fontSize),iconSize:O.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:O.FtCssVariableFactory.extend("--ft-button-ripple-color","",mr),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")},yr=O.FtCssVariableFactory.extend("--ft-button-primary-color","",O.FtCssVariableFactory.extend("--ft-button-color","",O.designSystemVariables.colorOnPrimary)),Ue={backgroundColor:O.FtCssVariableFactory.extend("--ft-button-primary-background-color","",O.FtCssVariableFactory.extend("--ft-button-background-color","",O.designSystemVariables.colorPrimary)),color:yr,rippleColor:O.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",yr)},ft={borderRadius:O.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",O.FtCssVariableFactory.extend("--ft-button-border-radius","",O.designSystemVariables.borderRadiusM)),verticalPadding:O.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:O.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:O.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},xr=[br.css`
|
|
336
|
+
:host {
|
|
337
|
+
display: inline-block;
|
|
338
|
+
max-width: 100%;
|
|
339
|
+
pointer-events: none;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
button {
|
|
343
|
+
box-shadow: 0px 0px 0px transparent;
|
|
344
|
+
border: 0px solid transparent;
|
|
345
|
+
text-shadow: 0px 0px 0px transparent;
|
|
346
|
+
font-size: ${R.fontSize};
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
button:hover {
|
|
350
|
+
box-shadow: 0px 0px 0px transparent;
|
|
351
|
+
border: 0px solid transparent;
|
|
352
|
+
text-shadow: 0px 0px 0px transparent;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
button:active {
|
|
356
|
+
outline: none;
|
|
357
|
+
border: none;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
button:focus {
|
|
361
|
+
outline: 0;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.ft-button {
|
|
365
|
+
position: relative;
|
|
366
|
+
display: flex;
|
|
367
|
+
justify-content: center;
|
|
368
|
+
align-items: center;
|
|
369
|
+
width: 100%;
|
|
370
|
+
overflow: hidden;
|
|
371
|
+
box-sizing: border-box;
|
|
372
|
+
border: none;
|
|
373
|
+
pointer-events: auto;
|
|
374
|
+
|
|
375
|
+
--ft-button-internal-line-height: max(calc(${R.fontSize} + 2px), ${R.iconSize});
|
|
376
|
+
--ft-button-internal-color: ${R.color};
|
|
377
|
+
${(0,O.setVariable)(V.size,R.iconSize)};
|
|
378
|
+
${(0,O.setVariable)(N.color,R.rippleColor)};
|
|
379
|
+
|
|
380
|
+
border-radius: ${R.borderRadius};
|
|
381
|
+
padding: ${R.verticalPadding} ${R.horizontalPadding};
|
|
382
|
+
background-color: ${R.backgroundColor};
|
|
383
|
+
color: var(--ft-button-internal-color);
|
|
384
|
+
-webkit-mask-image: radial-gradient(white, black);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.ft-button.ft-button--outlined {
|
|
388
|
+
border: 1px solid var(--ft-button-internal-color);
|
|
389
|
+
padding: calc(${R.verticalPadding} - 1px) calc(${R.horizontalPadding} - 1px);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.ft-button.ft-button--dense {
|
|
393
|
+
padding: ${ft.verticalPadding} ${ft.horizontalPadding};
|
|
394
|
+
border-radius: ${ft.borderRadius};
|
|
395
|
+
gap: ${ft.iconPadding};
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.ft-button.ft-button--dense.ft-button--outlined {
|
|
399
|
+
padding: calc(${ft.verticalPadding} - 1px) calc(${ft.horizontalPadding} - 1px);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.ft-button:not([disabled]):hover {
|
|
403
|
+
cursor: pointer;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.ft-button--round {
|
|
407
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${R.verticalPadding});
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.ft-button--round.ft-button--dense {
|
|
411
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ft.verticalPadding});
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.ft-button[disabled] {
|
|
415
|
+
filter: grayscale(1);
|
|
416
|
+
opacity: ${R.opacityDisabled};
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.ft-button.ft-button--primary {
|
|
420
|
+
background-color: ${Ue.backgroundColor};
|
|
421
|
+
--ft-button-internal-color: ${Ue.color};
|
|
422
|
+
${(0,O.setVariable)(N.color,Ue.rippleColor)};
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.ft-button:focus {
|
|
426
|
+
outline: none;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.ft-button--label {
|
|
430
|
+
position: relative;
|
|
431
|
+
overflow: hidden;
|
|
432
|
+
white-space: nowrap;
|
|
433
|
+
text-overflow: ellipsis;
|
|
434
|
+
display: block;
|
|
435
|
+
margin: 0 ${R.iconPadding};
|
|
436
|
+
${(0,O.setVariable)(dt.fontSize,"1em")};
|
|
437
|
+
${(0,O.setVariable)(dt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.ft-button--dense .ft-button--label {
|
|
441
|
+
margin: 0 ${ft.iconPadding};
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.ft-button--label[hidden] {
|
|
445
|
+
display: none;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
[part="icon"] {
|
|
449
|
+
flex-shrink: 0;
|
|
450
|
+
position: relative;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
454
|
+
margin: 0 calc(${R.horizontalPadding} * -1);
|
|
455
|
+
padding: 0 ${R.verticalPadding};
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
459
|
+
margin: 0 calc(${ft.horizontalPadding} * -1);
|
|
460
|
+
padding: 0 ${ft.verticalPadding};
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
464
|
+
order: 2;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
ft-loader {
|
|
468
|
+
${(0,O.setVariable)(F.size,R.iconSize)};
|
|
469
|
+
${(0,O.setVariable)(F.color,"var(--ft-button-internal-color)")};
|
|
470
|
+
}
|
|
471
|
+
`,O.noTextSelect];var ne=m(w());var vr=m(w());var Sr=m(_()),D=m(pt()),Cr=m(Ne()),le=m(w());var X=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},L=class extends le.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 le.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new le.Debouncer(10),this.moveRipple=o=>{var r,a;let{x:i,y:l}=this.getCoordinates(o),c=(a=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&a!==void 0?a:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-c.x:c.width/2),this.originY=Math.round(l!=null?l-c.y:c.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"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 Sr.html`
|
|
472
|
+
<style>
|
|
473
|
+
.ft-ripple .ft-ripple--effect {
|
|
474
|
+
left: ${this.originX}px;
|
|
475
|
+
top: ${this.originY}px;
|
|
476
|
+
}
|
|
477
|
+
</style>
|
|
478
|
+
<div class="${(0,Cr.classMap)(o)}">
|
|
479
|
+
<div class="ft-ripple--background"></div>
|
|
480
|
+
<div class="ft-ripple--effect"></div>
|
|
481
|
+
</div>
|
|
482
|
+
`}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var r,a;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(a=this.target)===null||a===void 0||a.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 o,r;let a=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;a&&this.setupFor((r=this.target)!==null&&r!==void 0?r:a)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let r=(...p)=>d=>{p.forEach(g=>window.addEventListener(g,this.endPress,{once:!0})),this.startPress(d)},a=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),l=p=>{["Enter"," "].includes(p.key)&&r("keyup")(p)},c={passive:!0};o.addEventListener("mouseover",this.startHover,c),o.addEventListener("mousemove",this.moveRipple,c),o.addEventListener("mouseleave",this.endHover,c),o.addEventListener("mousedown",a,c),o.addEventListener("touchstart",i,c),o.addEventListener("touchmove",this.moveRipple,c),o.addEventListener("keydown",l,c),o.addEventListener("focus",this.startFocus,c),o.addEventListener("blur",this.endFocus,c),o.addEventListener("focusin",this.startFocus,c),o.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,c),o.removeEventListener("mousemove",this.moveRipple,c),o.removeEventListener("mouseleave",this.endHover,c),o.removeEventListener("mousedown",a,c),o.removeEventListener("touchstart",i,c),o.removeEventListener("touchmove",this.moveRipple,c),o.removeEventListener("keydown",l,c),o.removeEventListener("focus",this.startFocus,c),o.removeEventListener("blur",this.endFocus,c),o.removeEventListener("focusin",this.startFocus,c),o.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let r=o,a=o,i,l;return r.x!=null?{x:i,y:l}=r:a.touches!=null&&(i=a.touches[0].clientX,l=a.touches[0].clientY),{x:i,y:l}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let r of o.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};L.elementDefinitions={};L.styles=wo;X([(0,D.property)({type:Boolean})],L.prototype,"primary",void 0);X([(0,D.property)({type:Boolean})],L.prototype,"secondary",void 0);X([(0,D.property)({type:Boolean})],L.prototype,"unbounded",void 0);X([(0,D.property)({type:Boolean})],L.prototype,"activated",void 0);X([(0,D.property)({type:Boolean})],L.prototype,"selected",void 0);X([(0,D.property)({type:Boolean})],L.prototype,"disabled",void 0);X([(0,D.state)()],L.prototype,"hovered",void 0);X([(0,D.state)()],L.prototype,"focused",void 0);X([(0,D.state)()],L.prototype,"pressed",void 0);X([(0,D.state)()],L.prototype,"rippling",void 0);X([(0,D.state)()],L.prototype,"originX",void 0);X([(0,D.state)()],L.prototype,"originY",void 0);X([(0,D.query)(".ft-ripple")],L.prototype,"ripple",void 0);X([(0,D.query)(".ft-ripple--effect")],L.prototype,"rippleEffect",void 0);(0,vr.customElement)("ft-ripple")(L);var yn=m(w());var mn=m(_()),H=m(pt()),ye=m(w());var Zr=m(w());var Ve=globalThis,Ee=Ve.trustedTypes,Nr=Ee?Ee.createPolicy("lit-html",{createHTML:e=>e}):void 0,$r="$lit$",Rt=`lit$${(Math.random()+"").slice(9)}$`,Pr="?"+Rt,Xn=`<${Pr}>`,It=document,we=()=>It.createComment(""),se=e=>e===null||typeof e!="object"&&typeof e!="function",Wr=Array.isArray,qn=e=>Wr(e)||typeof e?.[Symbol.iterator]=="function",De=`[
|
|
483
|
+
\f\r]`,ce=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Er=/-->/g,wr=/>/g,Pt=RegExp(`>|${De}(?:([^\\s"'>=/]+)(${De}*=${De}*(?:[^
|
|
484
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Rr=/'/g,Lr=/"/g,Ir=/^(?:script|style|textarea|title)$/i,Br=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),kr=Br(1),zr=Br(2),pe=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),Ar=new WeakMap,Wt=It.createTreeWalker(It,129);function Tr(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Nr!==void 0?Nr.createHTML(o):o}var Jn=(e,o)=>{let r=e.length-1,a=[],i,l=o===2?"<svg>":"",c=ce;for(let p=0;p<r;p++){let d=e[p],g,x,y=-1,v=0;for(;v<d.length&&(c.lastIndex=v,x=c.exec(d),x!==null);)v=c.lastIndex,c===ce?x[1]==="!--"?c=Er:x[1]!==void 0?c=wr:x[2]!==void 0?(Ir.test(x[2])&&(i=RegExp("</"+x[2],"g")),c=Pt):x[3]!==void 0&&(c=Pt):c===Pt?x[0]===">"?(c=i??ce,y=-1):x[1]===void 0?y=-2:(y=c.lastIndex-x[2].length,g=x[1],c=x[3]===void 0?Pt:x[3]==='"'?Lr:Rr):c===Lr||c===Rr?c=Pt:c===Er||c===wr?c=ce:(c=Pt,i=void 0);let S=c===Pt&&e[p+1].startsWith("/>")?" ":"";l+=c===ce?d+Xn:y>=0?(a.push(g),d.slice(0,y)+$r+d.slice(y)+Rt+S):d+Rt+(y===-2?p:S)}return[Tr(e,l+(e[r]||"<?>")+(o===2?"</svg>":"")),a]},de=class e{constructor({strings:o,_$litType$:r},a){let i;this.parts=[];let l=0,c=0,p=o.length-1,d=this.parts,[g,x]=Jn(o,r);if(this.el=e.createElement(g,a),Wt.currentNode=this.el.content,r===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=Wt.nextNode())!==null&&d.length<p;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith($r)){let v=x[c++],S=i.getAttribute(y).split(Rt),E=/([.?@])?(.*)/.exec(v);d.push({type:1,index:l,name:E[2],strings:S,ctor:E[1]==="."?Ze:E[1]==="?"?Me:E[1]==="@"?Ke:Jt}),i.removeAttribute(y)}else y.startsWith(Rt)&&(d.push({type:6,index:l}),i.removeAttribute(y));if(Ir.test(i.tagName)){let y=i.textContent.split(Rt),v=y.length-1;if(v>0){i.textContent=Ee?Ee.emptyScript:"";for(let S=0;S<v;S++)i.append(y[S],we()),Wt.nextNode(),d.push({type:2,index:++l});i.append(y[v],we())}}}else if(i.nodeType===8)if(i.data===Pr)d.push({type:2,index:l});else{let y=-1;for(;(y=i.data.indexOf(Rt,y+1))!==-1;)d.push({type:7,index:l}),y+=Rt.length-1}l++}}static createElement(o,r){let a=It.createElement("template");return a.innerHTML=o,a}};function qt(e,o,r=e,a){if(o===pe)return o;let i=a!==void 0?r._$Co?.[a]:r._$Cl,l=se(o)?void 0:o._$litDirective$;return i?.constructor!==l&&(i?._$AO?.(!1),l===void 0?i=void 0:(i=new l(e),i._$AT(e,r,a)),a!==void 0?(r._$Co??=[])[a]=i:r._$Cl=i),i!==void 0&&(o=qt(e,i._$AS(e,o.values),i,a)),o}var Ge=class{constructor(o,r){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:r},parts:a}=this._$AD,i=(o?.creationScope??It).importNode(r,!0);Wt.currentNode=i;let l=Wt.nextNode(),c=0,p=0,d=a[0];for(;d!==void 0;){if(c===d.index){let g;d.type===2?g=new Re(l,l.nextSibling,this,o):d.type===1?g=new d.ctor(l,d.name,d.strings,this,o):d.type===6&&(g=new Fe(l,this,o)),this._$AV.push(g),d=a[++p]}c!==d?.index&&(l=Wt.nextNode(),c++)}return Wt.currentNode=It,i}p(o){let r=0;for(let a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(o,a,r),r+=a.strings.length-2):a._$AI(o[r])),r++}},Re=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,a,i){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=a,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,r=this._$AM;return r!==void 0&&o?.nodeType===11&&(o=r.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,r=this){o=qt(this,o,r),se(o)?o===U||o==null||o===""?(this._$AH!==U&&this._$AR(),this._$AH=U):o!==this._$AH&&o!==pe&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):qn(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==U&&se(this._$AH)?this._$AA.nextSibling.data=o:this.$(It.createTextNode(o)),this._$AH=o}g(o){let{values:r,_$litType$:a}=o,i=typeof a=="number"?this._$AC(o):(a.el===void 0&&(a.el=de.createElement(Tr(a.h,a.h[0]),this.options)),a);if(this._$AH?._$AD===i)this._$AH.p(r);else{let l=new Ge(i,this),c=l.u(this.options);l.p(r),this.$(c),this._$AH=l}}_$AC(o){let r=Ar.get(o.strings);return r===void 0&&Ar.set(o.strings,r=new de(o)),r}T(o){Wr(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,a,i=0;for(let l of o)i===r.length?r.push(a=new e(this.k(we()),this.k(we()),this,this.options)):a=r[i],a._$AI(l),i++;i<r.length&&(this._$AR(a&&a._$AB.nextSibling,i),r.length=i)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let a=o.nextSibling;o.remove(),o=a}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Jt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,a,i,l){this.type=1,this._$AH=U,this._$AN=void 0,this.element=o,this.name=r,this._$AM=i,this.options=l,a.length>2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=U}_$AI(o,r=this,a,i){let l=this.strings,c=!1;if(l===void 0)o=qt(this,o,r,0),c=!se(o)||o!==this._$AH&&o!==pe,c&&(this._$AH=o);else{let p=o,d,g;for(o=l[0],d=0;d<l.length-1;d++)g=qt(this,p[a+d],r,d),g===pe&&(g=this._$AH[d]),c||=!se(g)||g!==this._$AH[d],g===U?o=U:o!==U&&(o+=(g??"")+l[d+1]),this._$AH[d]=g}c&&!i&&this.O(o)}O(o){o===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Ze=class extends Jt{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===U?void 0:o}},Me=class extends Jt{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==U)}},Ke=class extends Jt{constructor(o,r,a,i,l){super(o,r,a,i,l),this.type=5}_$AI(o,r=this){if((o=qt(this,o,r,0)??U)===pe)return;let a=this._$AH,i=o===U&&a!==U||o.capture!==a.capture||o.once!==a.once||o.passive!==a.passive,l=o!==U&&(a===U||i);i&&this.element.removeEventListener(this.name,this,a),l&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Fe=class{constructor(o,r,a){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(o){qt(this,o)}};var Qn=Ve.litHtmlPolyfillSupport;Qn?.(de,Re),(Ve.litHtmlVersions??=[]).push("3.1.0");var Hr=Symbol.for(""),ta=e=>{if(e?.r===Hr)return e?._$litStatic$},je=e=>({_$litStatic$:e,r:Hr});var _r=new Map,Ur=e=>(o,...r)=>{let a=r.length,i,l,c=[],p=[],d,g=0,x=!1;for(;g<a;){for(d=o[g];g<a&&(l=r[g],(i=ta(l))!==void 0);)d+=i+o[++g],x=!0;g!==a&&p.push(l),c.push(d),g++}if(g===a&&c.push(o[a]),x){let y=c.join("$$lit$$");(o=_r.get(y))===void 0&&(c.raw=c,_r.set(y,o=c)),r=p}return e(o,...r)},Ye=Ur(kr),bs=Ur(zr);var Xe=m(pt()),Gr=m(w());var Lt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(Lt||(Lt={}));var Dr=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},j=class extends Gr.FtLitElement{constructor(){super(...arguments),this.variant=Lt.body1}render(){return this.element?Ye`
|
|
485
|
+
<${je(this.element)}
|
|
486
|
+
part="text"
|
|
487
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
488
|
+
<slot></slot>
|
|
489
|
+
</${je(this.element)}>
|
|
490
|
+
`:Ye`
|
|
491
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
492
|
+
`}};j.styles=[tr,er,or,rr,nr,ar,ir,lr,cr,sr,pr,...dr];Dr([(0,Xe.property)()],j.prototype,"element",void 0);Dr([(0,Xe.property)()],j.prototype,"variant",void 0);(0,Zr.customElement)("ft-typography")(j);var Mr=m(_()),bt=m(w()),Qt={distance:bt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:bt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:bt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:bt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:bt.FtCssVariableFactory.external(bt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:bt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Kr=Mr.css`
|
|
493
|
+
.ft-tooltip--container {
|
|
494
|
+
display: block;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.ft-tooltip--inline {
|
|
498
|
+
display: inline-block;
|
|
499
|
+
max-width: 100%;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.ft-tooltip {
|
|
503
|
+
position: fixed;
|
|
504
|
+
box-sizing: border-box;
|
|
505
|
+
overflow: hidden;
|
|
506
|
+
width: max-content;
|
|
507
|
+
max-width: ${Qt.maxWidth};
|
|
508
|
+
text-align: center;
|
|
509
|
+
padding: ${Qt.distance};
|
|
510
|
+
z-index: ${Qt.zIndex};
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.ft-tooltip--content {
|
|
514
|
+
padding: 4px 8px;
|
|
515
|
+
border-radius: ${Qt.borderRadiusS};
|
|
516
|
+
background-color: ${Qt.backgroundColor};
|
|
517
|
+
color: ${Qt.color};
|
|
518
|
+
position: relative;
|
|
519
|
+
word-break: break-word;
|
|
520
|
+
}
|
|
521
|
+
`;var Vr=["top","right","bottom","left"],Fr=["start","end"],Je=Vr.reduce((e,o)=>e.concat(o,o+"-"+Fr[0],o+"-"+Fr[1]),[]),fe=Math.min,At=Math.max,he=Math.round;var xt=e=>({x:e,y:e}),ea={left:"right",right:"left",bottom:"top",top:"bottom"},oa={start:"end",end:"start"};function Qe(e,o,r){return At(e,fe(o,r))}function Le(e,o){return typeof e=="function"?e(o):e}function te(e){return e.split("-")[0]}function $t(e){return e.split("-")[1]}function to(e){return e==="x"?"y":"x"}function eo(e){return e==="y"?"height":"width"}function Ae(e){return["top","bottom"].includes(te(e))?"y":"x"}function oo(e){return to(Ae(e))}function jr(e,o,r){r===void 0&&(r=!1);let a=$t(e),i=oo(e),l=eo(i),c=i==="x"?a===(r?"end":"start")?"right":"left":a==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(c=qe(c)),[c,qe(c)]}function Yr(e){return e.replace(/start|end/g,o=>oa[o])}function qe(e){return e.replace(/left|right|bottom|top/g,o=>ea[o])}function ra(e){return{top:0,right:0,bottom:0,left:0,...e}}function Xr(e){return typeof e!="number"?ra(e):{top:e,right:e,bottom:e,left:e}}function Bt(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function qr(e,o,r){let{reference:a,floating:i}=e,l=Ae(o),c=oo(o),p=eo(c),d=te(o),g=l==="y",x=a.x+a.width/2-i.width/2,y=a.y+a.height/2-i.height/2,v=a[p]/2-i[p]/2,S;switch(d){case"top":S={x,y:a.y-i.height};break;case"bottom":S={x,y:a.y+a.height};break;case"right":S={x:a.x+a.width,y};break;case"left":S={x:a.x-i.width,y};break;default:S={x:a.x,y:a.y}}switch($t(o)){case"start":S[c]-=v*(r&&g?-1:1);break;case"end":S[c]+=v*(r&&g?-1:1);break}return S}var Jr=async(e,o,r)=>{let{placement:a="bottom",strategy:i="absolute",middleware:l=[],platform:c}=r,p=l.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(o)),g=await c.getElementRects({reference:e,floating:o,strategy:i}),{x,y}=qr(g,a,d),v=a,S={},E=0;for(let W=0;W<p.length;W++){let{name:z,fn:I}=p[W],{x:T,y:K,data:Et,reset:Z}=await I({x,y,initialPlacement:a,placement:v,strategy:i,middlewareData:S,rects:g,platform:c,elements:{reference:e,floating:o}});if(x=T??x,y=K??y,S={...S,[z]:{...S[z],...Et}},Z&&E<=50){E++,typeof Z=="object"&&(Z.placement&&(v=Z.placement),Z.rects&&(g=Z.rects===!0?await c.getElementRects({reference:e,floating:o,strategy:i}):Z.rects),{x,y}=qr(g,v,d)),W=-1;continue}}return{x,y,placement:v,strategy:i,middlewareData:S}};async function ro(e,o){var r;o===void 0&&(o={});let{x:a,y:i,platform:l,rects:c,elements:p,strategy:d}=e,{boundary:g="clippingAncestors",rootBoundary:x="viewport",elementContext:y="floating",altBoundary:v=!1,padding:S=0}=Le(o,e),E=Xr(S),z=p[v?y==="floating"?"reference":"floating":y],I=Bt(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(z)))==null||r?z:z.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(p.floating)),boundary:g,rootBoundary:x,strategy:d})),T=y==="floating"?{...c.floating,x:a,y:i}:c.reference,K=await(l.getOffsetParent==null?void 0:l.getOffsetParent(p.floating)),Et=await(l.isElement==null?void 0:l.isElement(K))?await(l.getScale==null?void 0:l.getScale(K))||{x:1,y:1}:{x:1,y:1},Z=Bt(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:K,strategy:d}):T);return{top:(I.top-Z.top+E.top)/Et.y,bottom:(Z.bottom-I.bottom+E.bottom)/Et.y,left:(I.left-Z.left+E.left)/Et.x,right:(Z.right-I.right+E.right)/Et.x}}function na(e,o,r){return(e?[...r.filter(i=>$t(i)===e),...r.filter(i=>$t(i)!==e)]:r.filter(i=>te(i)===i)).filter(i=>e?$t(i)===e||(o?Yr(i)!==i:!1):!0)}var no=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,a,i;let{rects:l,middlewareData:c,placement:p,platform:d,elements:g}=o,{crossAxis:x=!1,alignment:y,allowedPlacements:v=Je,autoAlignment:S=!0,...E}=Le(e,o),W=y!==void 0||v===Je?na(y||null,S,v):v,z=await ro(o,E),I=((r=c.autoPlacement)==null?void 0:r.index)||0,T=W[I];if(T==null)return{};let K=jr(T,l,await(d.isRTL==null?void 0:d.isRTL(g.floating)));if(p!==T)return{reset:{placement:W[0]}};let Et=[z[te(T)],z[K[0]],z[K[1]]],Z=[...((a=c.autoPlacement)==null?void 0:a.overflows)||[],{placement:T,overflows:Et}],ho=W[I+1];if(ho)return{data:{index:I+1,overflows:Z},reset:{placement:ho}};let uo=Z.map(st=>{let ae=$t(st.placement);return[st.placement,ae&&x?st.overflows.slice(0,2).reduce((Dn,Gn)=>Dn+Gn,0):st.overflows[0],st.overflows]}).sort((st,ae)=>st[1]-ae[1]),go=((i=uo.filter(st=>st[2].slice(0,$t(st[0])?2:3).every(ae=>ae<=0))[0])==null?void 0:i[0])||uo[0][0];return go!==p?{data:{index:I+1,overflows:Z},reset:{placement:go}}:{}}}};var ao=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:a,placement:i}=o,{mainAxis:l=!0,crossAxis:c=!1,limiter:p={fn:z=>{let{x:I,y:T}=z;return{x:I,y:T}}},...d}=Le(e,o),g={x:r,y:a},x=await ro(o,d),y=Ae(te(i)),v=to(y),S=g[v],E=g[y];if(l){let z=v==="y"?"top":"left",I=v==="y"?"bottom":"right",T=S+x[z],K=S-x[I];S=Qe(T,S,K)}if(c){let z=y==="y"?"top":"left",I=y==="y"?"bottom":"right",T=E+x[z],K=E-x[I];E=Qe(T,E,K)}let W=p.fn({...o,[v]:S,[y]:E});return{...W,data:{x:W.x-r,y:W.y-a}}}}};function Ot(e){return tn(e)?(e.nodeName||"").toLowerCase():"#document"}function q(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function St(e){var o;return(o=(tn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function tn(e){return e instanceof Node||e instanceof q(e).Node}function ht(e){return e instanceof Element||e instanceof q(e).Element}function lt(e){return e instanceof HTMLElement||e instanceof q(e).HTMLElement}function Qr(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof q(e).ShadowRoot}function ee(e){let{overflow:o,overflowX:r,overflowY:a,display:i}=et(e);return/auto|scroll|overlay|hidden|clip/.test(o+a+r)&&!["inline","contents"].includes(i)}function en(e){return["table","td","th"].includes(Ot(e))}function Pe(e){let o=We(),r=et(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(r.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(r.contain||"").includes(a))}function on(e){let o=kt(e);for(;lt(o)&&!ue(o);){if(Pe(o))return o;o=kt(o)}return null}function We(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ue(e){return["html","body","#document"].includes(Ot(e))}function et(e){return q(e).getComputedStyle(e)}function ge(e){return ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function kt(e){if(Ot(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Qr(e)&&e.host||St(e);return Qr(o)?o.host:o}function rn(e){let o=kt(e);return ue(o)?e.ownerDocument?e.ownerDocument.body:e.body:lt(o)&&ee(o)?o:rn(o)}function $e(e,o,r){var a;o===void 0&&(o=[]),r===void 0&&(r=!0);let i=rn(e),l=i===((a=e.ownerDocument)==null?void 0:a.body),c=q(i);return l?o.concat(c,c.visualViewport||[],ee(i)?i:[],c.frameElement&&r?$e(c.frameElement):[]):o.concat(i,$e(i,[],r))}function ln(e){let o=et(e),r=parseFloat(o.width)||0,a=parseFloat(o.height)||0,i=lt(e),l=i?e.offsetWidth:r,c=i?e.offsetHeight:a,p=he(r)!==l||he(a)!==c;return p&&(r=l,a=c),{width:r,height:a,$:p}}function cn(e){return ht(e)?e:e.contextElement}function oe(e){let o=cn(e);if(!lt(o))return xt(1);let r=o.getBoundingClientRect(),{width:a,height:i,$:l}=ln(o),c=(l?he(r.width):r.width)/a,p=(l?he(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!p||!Number.isFinite(p))&&(p=1),{x:c,y:p}}var aa=xt(0);function sn(e){let o=q(e);return!We()||!o.visualViewport?aa:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ia(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==q(e)?!1:o}function me(e,o,r,a){o===void 0&&(o=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),l=cn(e),c=xt(1);o&&(a?ht(a)&&(c=oe(a)):c=oe(e));let p=ia(l,r,a)?sn(l):xt(0),d=(i.left+p.x)/c.x,g=(i.top+p.y)/c.y,x=i.width/c.x,y=i.height/c.y;if(l){let v=q(l),S=a&&ht(a)?q(a):a,E=v.frameElement;for(;E&&a&&S!==v;){let W=oe(E),z=E.getBoundingClientRect(),I=et(E),T=z.left+(E.clientLeft+parseFloat(I.paddingLeft))*W.x,K=z.top+(E.clientTop+parseFloat(I.paddingTop))*W.y;d*=W.x,g*=W.y,x*=W.x,y*=W.y,d+=T,g+=K,E=q(E).frameElement}}return Bt({width:x,height:y,x:d,y:g})}function la(e){let{rect:o,offsetParent:r,strategy:a}=e,i=lt(r),l=St(r);if(r===l)return o;let c={scrollLeft:0,scrollTop:0},p=xt(1),d=xt(0);if((i||!i&&a!=="fixed")&&((Ot(r)!=="body"||ee(l))&&(c=ge(r)),lt(r))){let g=me(r);p=oe(r),d.x=g.x+r.clientLeft,d.y=g.y+r.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-c.scrollLeft*p.x+d.x,y:o.y*p.y-c.scrollTop*p.y+d.y}}function ca(e){return Array.from(e.getClientRects())}function pn(e){return me(St(e)).left+ge(e).scrollLeft}function sa(e){let o=St(e),r=ge(e),a=e.ownerDocument.body,i=At(o.scrollWidth,o.clientWidth,a.scrollWidth,a.clientWidth),l=At(o.scrollHeight,o.clientHeight,a.scrollHeight,a.clientHeight),c=-r.scrollLeft+pn(e),p=-r.scrollTop;return et(a).direction==="rtl"&&(c+=At(o.clientWidth,a.clientWidth)-i),{width:i,height:l,x:c,y:p}}function pa(e,o){let r=q(e),a=St(e),i=r.visualViewport,l=a.clientWidth,c=a.clientHeight,p=0,d=0;if(i){l=i.width,c=i.height;let g=We();(!g||g&&o==="fixed")&&(p=i.offsetLeft,d=i.offsetTop)}return{width:l,height:c,x:p,y:d}}function da(e,o){let r=me(e,!0,o==="fixed"),a=r.top+e.clientTop,i=r.left+e.clientLeft,l=lt(e)?oe(e):xt(1),c=e.clientWidth*l.x,p=e.clientHeight*l.y,d=i*l.x,g=a*l.y;return{width:c,height:p,x:d,y:g}}function nn(e,o,r){let a;if(o==="viewport")a=pa(e,r);else if(o==="document")a=sa(St(e));else if(ht(o))a=da(o,r);else{let i=sn(e);a={...o,x:o.x-i.x,y:o.y-i.y}}return Bt(a)}function dn(e,o){let r=kt(e);return r===o||!ht(r)||ue(r)?!1:et(r).position==="fixed"||dn(r,o)}function fa(e,o){let r=o.get(e);if(r)return r;let a=$e(e,[],!1).filter(p=>ht(p)&&Ot(p)!=="body"),i=null,l=et(e).position==="fixed",c=l?kt(e):e;for(;ht(c)&&!ue(c);){let p=et(c),d=Pe(c);!d&&p.position==="fixed"&&(i=null),(l?!d&&!i:!d&&p.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||ee(c)&&!d&&dn(e,c))?a=a.filter(x=>x!==c):i=p,c=kt(c)}return o.set(e,a),a}function ha(e){let{element:o,boundary:r,rootBoundary:a,strategy:i}=e,c=[...r==="clippingAncestors"?fa(o,this._c):[].concat(r),a],p=c[0],d=c.reduce((g,x)=>{let y=nn(o,x,i);return g.top=At(y.top,g.top),g.right=fe(y.right,g.right),g.bottom=fe(y.bottom,g.bottom),g.left=At(y.left,g.left),g},nn(o,p,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function ua(e){return ln(e)}function ga(e,o,r){let a=lt(o),i=St(o),l=r==="fixed",c=me(e,!0,l,o),p={scrollLeft:0,scrollTop:0},d=xt(0);if(a||!a&&!l)if((Ot(o)!=="body"||ee(i))&&(p=ge(o)),a){let g=me(o,!0,l,o);d.x=g.x+o.clientLeft,d.y=g.y+o.clientTop}else i&&(d.x=pn(i));return{x:c.left+p.scrollLeft-d.x,y:c.top+p.scrollTop-d.y,width:c.width,height:c.height}}function an(e,o){return!lt(e)||et(e).position==="fixed"?null:o?o(e):e.offsetParent}function fn(e,o){let r=q(e);if(!lt(e))return r;let a=an(e,o);for(;a&&en(a)&&et(a).position==="static";)a=an(a,o);return a&&(Ot(a)==="html"||Ot(a)==="body"&&et(a).position==="static"&&!Pe(a))?r:a||on(e)||r}var ma=async function(e){let{reference:o,floating:r,strategy:a}=e,i=this.getOffsetParent||fn,l=this.getDimensions;return{reference:ga(o,await i(r),a),floating:{x:0,y:0,...await l(r)}}};function ya(e){return et(e).direction==="rtl"}var Ie={convertOffsetParentRelativeRectToViewportRelativeRect:la,getDocumentElement:St,getClippingRect:ha,getOffsetParent:fn,getElementRects:ma,getClientRects:ca,getDimensions:ua,getScale:oe,isElement:ht,isRTL:ya};var hn=(e,o,r)=>{let a=new Map,i={platform:Ie,...r},l={...i.platform,_c:a};return Jr(e,o,{...i,platform:l})};function un(e){return ba(e)}function io(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function ba(e){for(let o=e;o;o=io(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=io(e);o;o=io(o)){if(!(o instanceof Element))continue;let r=getComputedStyle(o);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||o.tagName==="BODY"))return o}return null}async function gn(e,o,r){return hn(e,o,{platform:{...Ie,getOffsetParent:a=>Ie.getOffsetParent(a,un)},middleware:[ao({crossAxis:!0}),no({allowedPlacements:[r]})]})}var J=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},A=class extends ye.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 ye.Debouncer,this.revealDebouncer=new ye.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return mn.html`
|
|
522
|
+
<div part="container"
|
|
523
|
+
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
524
|
+
@mouseenter=${this.onHover}
|
|
525
|
+
@mouseleave=${this.onOut}
|
|
526
|
+
@focusin=${this.onHover}
|
|
527
|
+
@focusout=${this.onOut}
|
|
528
|
+
@touchstart=${this.onTouch}>
|
|
529
|
+
<slot part="slot" @click=${this.onClick}></slot>
|
|
530
|
+
<div part="tooltip" role="tooltip" inert
|
|
531
|
+
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
532
|
+
?hidden=${!this.visible}>
|
|
533
|
+
<div part="tooltip-content" class="ft-tooltip--content">
|
|
534
|
+
<slot name="text"></slot>
|
|
535
|
+
<ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
|
|
536
|
+
</div>
|
|
537
|
+
</div>
|
|
538
|
+
</div>
|
|
539
|
+
`}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(r=>o.has(r))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",gn(this.slottedElement,this.tooltip,this.position).then(({x:o,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${r}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",o=>{o.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(o,r){return Math.max(o,Math.min(0,-r))}};A.elementDefinitions={"ft-typography":j};A.styles=Kr;J([(0,H.property)()],A.prototype,"text",void 0);J([(0,H.property)({type:Boolean})],A.prototype,"manual",void 0);J([(0,H.property)({type:Boolean})],A.prototype,"inline",void 0);J([(0,H.property)({type:Number})],A.prototype,"delay",void 0);J([(0,H.property)()],A.prototype,"position",void 0);J([(0,H.queryAssignedNodes)()],A.prototype,"slotNodes",void 0);J([(0,H.query)(".ft-tooltip--container")],A.prototype,"container",void 0);J([(0,H.query)(".ft-tooltip")],A.prototype,"tooltip",void 0);J([(0,H.query)(".ft-tooltip--content")],A.prototype,"tooltipContent",void 0);J([(0,H.state)()],A.prototype,"visible",void 0);J([(0,H.eventOptions)({passive:!0})],A.prototype,"onTouch",null);J([(0,H.eventOptions)({passive:!0})],A.prototype,"onHover",null);J([(0,H.eventOptions)({passive:!0})],A.prototype,"onOut",null);J([(0,H.eventOptions)({passive:!0})],A.prototype,"onClick",null);(0,yn.customElement)("ft-tooltip")(A);var Cn=m(w());var be=m(_()),zt=m(pt()),On=m(w()),Sn=m(xn());var Be;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.EYE="",e.SHARE="󨃱"})(Be||(Be={}));var h;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(h||(h={}));var hp=new Map([...["abw"].map(e=>[e,h.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(e=>[e,h.AUDIO]),...["avi"].map(e=>[e,h.AVI]),...["chm","xhs"].map(e=>[e,h.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(e=>[e,h.CODE]),...["csv"].map(e=>[e,h.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,h.DITA]),...["epub"].map(e=>[e,h.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,h.EXCEL]),...["flac"].map(e=>[e,h.FLAC]),...["gif"].map(e=>[e,h.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,h.GZIP]),...["html","htm","xhtml"].map(e=>[e,h.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,h.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,h.JPEG]),...["json"].map(e=>[e,h.JSON]),...["m4a","m4p"].map(e=>[e,h.M4A]),...["mov","qt"].map(e=>[e,h.MOV]),...["mp3"].map(e=>[e,h.MP3]),...["mp4","m4v"].map(e=>[e,h.MP4]),...["ogg","oga"].map(e=>[e,h.OGG]),...["pdf","ps"].map(e=>[e,h.PDF]),...["png"].map(e=>[e,h.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,h.POWERPOINT]),...["rar"].map(e=>[e,h.RAR]),...["stp"].map(e=>[e,h.STP]),...["txt","rtf","md","mdown"].map(e=>[e,h.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(e=>[e,h.VIDEO]),...["wav"].map(e=>[e,h.WAV]),...["wma"].map(e=>[e,h.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,h.WORD]),...["xml","xsl","rdf"].map(e=>[e,h.XML]),...["yaml","yml","x-yaml"].map(e=>[e,h.YAML]),...["zip"].map(e=>[e,h.ZIP])]);var up={[h.ABW]:"#91ABC6",[h.AUDIO]:"#1795E3",[h.AVI]:"#E63324",[h.CHM]:"#71C3EB",[h.CODE]:"#71C3EB",[h.CSV]:"#1F7345",[h.DITA]:"#71C3EB",[h.EPUB]:"#85B926",[h.EXCEL]:"#1F7345",[h.FLAC]:"#1795E3",[h.GIF]:"#59B031",[h.GZIP]:"#F8AB36",[h.HTML]:"#71C3EB",[h.IMAGE]:"#59B031",[h.JPEG]:"#59B031",[h.JSON]:"#71C3EB",[h.M4A]:"#1795E3",[h.MOV]:"#E63324",[h.MP3]:"#1795E3",[h.MP4]:"#E63324",[h.OGG]:"#1795E3",[h.PDF]:"#E44948",[h.PNG]:"#59B031",[h.POWERPOINT]:"#B54A2B",[h.RAR]:"#F8AB36",[h.STP]:"#3764B1",[h.TEXT]:"#3162AB",[h.UNKNOWN]:"#999999",[h.VIDEO]:"#E63324",[h.WAV]:"#1795E3",[h.WMA]:"#1795E3",[h.WORD]:"#3162AB",[h.XML]:"#71C3EB",[h.YAML]:"#71C3EB",[h.ZIP]:"#F8AB36"};var ut;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ut||(ut={}));var ke=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},nt=class extends On.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=be.nothing}render(){let o=this.variant&&Object.values(ut).includes(this.variant)?this.variant:ut.fluid_topics,r=o!==ut.material||!!this.value;return be.html`
|
|
540
|
+
<i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
|
|
541
|
+
${(0,Sn.unsafeHTML)(this.resolvedIcon)}
|
|
542
|
+
<slot ?hidden=${r}></slot>
|
|
543
|
+
</i>
|
|
544
|
+
`}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(a=>a.textContent).join("").trim())!==null&&r!==void 0?r:""}update(o){super.update(o),["value","variant"].some(r=>o.has(r))&&this.resolveIcon()}resolveIcon(){var o,r;let a=this.value||this.textContent;switch(this.variant){case ut.file_format:this.resolvedIcon=(o=h[a.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:a;break;case ut.material:this.resolvedIcon=this.value||be.nothing;break;default:this.resolvedIcon=(r=Be[a.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:a;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};nt.elementDefinitions={};nt.styles=gr;ke([(0,zt.property)()],nt.prototype,"variant",void 0);ke([(0,zt.property)()],nt.prototype,"value",void 0);ke([(0,zt.state)()],nt.prototype,"resolvedIcon",void 0);ke([(0,zt.query)("slot")],nt.prototype,"slottedContent",void 0);(0,Cn.customElement)("ft-icon")(nt);var En=m(w());var vn=m(_()),Nn=m(w());var Tt=class extends Nn.FtLitElement{render(){return vn.html`
|
|
545
|
+
<div class="ft-loader">
|
|
546
|
+
<div></div>
|
|
547
|
+
<div></div>
|
|
548
|
+
<div></div>
|
|
549
|
+
<div></div>
|
|
550
|
+
</div>
|
|
551
|
+
`}};Tt.styles=hr;(0,En.customElement)("ft-loader")(Tt);var re=m(_()),wn=m(Ne()),M=m(pt()),Q=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},P=class extends(0,ne.toFtFormComponent)(ne.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",o=>{var r;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var o;return this.addTooltipIfNeeded(re.html`
|
|
552
|
+
<button part="button"
|
|
553
|
+
class="${(0,wn.classMap)(this.buttonClasses)}"
|
|
554
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
555
|
+
?disabled=${this.isDisabled()}>
|
|
556
|
+
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
557
|
+
<ft-typography part="label"
|
|
558
|
+
variant=${this.typographyVariant}
|
|
559
|
+
element="span"
|
|
560
|
+
class="ft-button--label ${ne.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
561
|
+
?hidden=${!this.hasTextContent()}>
|
|
562
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
563
|
+
</ft-typography>
|
|
564
|
+
${this.resolveIcon()}
|
|
565
|
+
</button>
|
|
566
|
+
`)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?re.html`
|
|
567
|
+
<ft-tooltip part="tooltip"
|
|
568
|
+
text="${this.getLabel()}"
|
|
569
|
+
position="${this.tooltipPosition}">
|
|
570
|
+
${o}
|
|
571
|
+
</ft-tooltip>
|
|
572
|
+
`:o}resolveIcon(){return this.loading?re.html`
|
|
573
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?re.html`
|
|
574
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
575
|
+
`:re.html`
|
|
576
|
+
<slot part="icon" name="icon"></slot>
|
|
577
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(r=>this.unslotText(r)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};P.elementDefinitions={"ft-ripple":L,"ft-tooltip":A,"ft-typography":j,"ft-icon":nt,"ft-loader":Tt};Q([(0,M.property)({type:String,reflect:!0})],P.prototype,"role",void 0);Q([(0,M.property)()],P.prototype,"type",void 0);Q([(0,M.property)({type:Boolean})],P.prototype,"disabled",void 0);Q([(0,M.property)()],P.prototype,"label",void 0);Q([(0,M.property)()],P.prototype,"icon",void 0);Q([(0,M.property)()],P.prototype,"iconVariant",void 0);Q([(0,M.property)({type:Boolean})],P.prototype,"trailingIcon",void 0);Q([(0,M.property)({type:Boolean})],P.prototype,"loading",void 0);Q([(0,M.property)({attribute:"aria-label"})],P.prototype,"ariaLabel",void 0);Q([(0,M.property)()],P.prototype,"tooltipPosition",void 0);Q([(0,M.property)({type:Boolean})],P.prototype,"hideTooltip",void 0);Q([(0,M.property)({type:Boolean})],P.prototype,"forceTooltip",void 0);Q([(0,M.query)(".ft-button")],P.prototype,"button",void 0);Q([(0,M.query)(".ft-button--label slot")],P.prototype,"slottedContent",void 0);var ze=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},ct=class extends P{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"}};ct.styles=[Rn.safariEllipsisFix,xr];ze([(0,xe.property)({type:Boolean})],ct.prototype,"primary",void 0);ze([(0,xe.property)({type:Boolean})],ct.prototype,"outlined",void 0);ze([(0,xe.property)({type:Boolean})],ct.prototype,"dense",void 0);ze([(0,xe.property)({type:Boolean})],ct.prototype,"round",void 0);var Oe=m(pt());var _e=m(w());var Ln=m(_()),C=m(w());var An=[Ln.css`
|
|
578
|
+
:host {
|
|
579
|
+
display: inline-block;
|
|
580
|
+
max-width: 100%;
|
|
581
|
+
pointer-events: none;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/** Remove default button styles **/
|
|
585
|
+
|
|
586
|
+
button {
|
|
587
|
+
box-shadow: 0 0 0 transparent;
|
|
588
|
+
border: 0 solid transparent;
|
|
589
|
+
text-shadow: 0 0 0 transparent;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
button:hover {
|
|
593
|
+
box-shadow: 0 0 0 transparent;
|
|
594
|
+
text-shadow: 0 0 0 transparent;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
button:active {
|
|
598
|
+
outline: none;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
button:focus {
|
|
602
|
+
outline: 0;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/** Base styles **/
|
|
606
|
+
|
|
607
|
+
.ft-button {
|
|
608
|
+
position: relative;
|
|
609
|
+
display: flex;
|
|
610
|
+
justify-content: center;
|
|
611
|
+
align-items: center;
|
|
612
|
+
width: 100%;
|
|
613
|
+
overflow: hidden;
|
|
614
|
+
box-sizing: border-box;
|
|
615
|
+
pointer-events: auto;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
.ft-button:not([disabled]):hover {
|
|
619
|
+
cursor: pointer;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.ft-button:focus {
|
|
623
|
+
outline: none;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.ft-button:focus-visible {
|
|
627
|
+
outline-color: ${f.focusFocusRingColor};
|
|
628
|
+
outline-style: solid;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
ft-icon {
|
|
632
|
+
flex-shrink: 0;
|
|
633
|
+
position: relative;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
637
|
+
.ft-button:not(.ft-button--trailing-icon) ft-loader {
|
|
638
|
+
order: -1;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.ft-button--label {
|
|
642
|
+
position: relative;
|
|
643
|
+
overflow: hidden;
|
|
644
|
+
white-space: nowrap;
|
|
645
|
+
text-overflow: ellipsis;
|
|
646
|
+
display: block;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.ft-button--label[hidden] {
|
|
650
|
+
display: none;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.ft-button.ft-button--icon-only {
|
|
654
|
+
padding: unset;
|
|
655
|
+
border-radius: 50%;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/** Primary styles **/
|
|
659
|
+
|
|
660
|
+
.ft-button--primary {
|
|
661
|
+
${(0,C.setVariable)(F.color,f.primaryIconColor)};
|
|
662
|
+
|
|
663
|
+
${(0,C.setVariable)(N.color,f.primaryStateLayerColor)};
|
|
664
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.primaryHoverStateLayerOpacity)};
|
|
665
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceFocused,f.primaryFocusStateLayerOpacity)};
|
|
666
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceSelected,f.primaryActiveStateLayerOpacity)};
|
|
667
|
+
${(0,C.setVariable)(N.opacityContentOnSurfacePressed,f.primaryActiveStateLayerOpacity)};
|
|
668
|
+
|
|
669
|
+
background-color: ${f.primaryBackgroundColor};
|
|
670
|
+
color: ${f.primaryColor};
|
|
671
|
+
border-style: none;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.ft-button--primary[disabled] {
|
|
675
|
+
opacity: ${f.primaryDisabledComponentOpacity};
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.ft-button--primary ft-icon {
|
|
679
|
+
color: ${f.primaryIconColor};
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/** Secondary styles **/
|
|
683
|
+
|
|
684
|
+
.ft-button--secondary {
|
|
685
|
+
${(0,C.setVariable)(F.color,f.secondaryIconColor)};
|
|
686
|
+
|
|
687
|
+
${(0,C.setVariable)(N.color,f.secondaryStateLayerColor)};
|
|
688
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.secondaryHoverStateLayerOpacity)};
|
|
689
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceFocused,f.secondaryFocusStateLayerOpacity)};
|
|
690
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceSelected,f.secondaryActiveStateLayerOpacity)};
|
|
691
|
+
${(0,C.setVariable)(N.opacityContentOnSurfacePressed,f.secondaryActiveStateLayerOpacity)};
|
|
692
|
+
|
|
693
|
+
background-color: ${f.secondaryBackgroundColor};
|
|
694
|
+
color: ${f.secondaryColor};
|
|
695
|
+
border-color: ${f.secondaryBorderColor};
|
|
696
|
+
border-style: solid;
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.ft-button--secondary[disabled] {
|
|
700
|
+
opacity: ${f.secondaryDisabledComponentOpacity};
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.ft-button--secondary ft-icon {
|
|
704
|
+
color: ${f.secondaryIconColor};
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
/** Tertiary styles **/
|
|
708
|
+
|
|
709
|
+
.ft-button--tertiary {
|
|
710
|
+
${(0,C.setVariable)(F.color,f.tertiaryIconColor)};
|
|
711
|
+
|
|
712
|
+
${(0,C.setVariable)(N.color,f.tertiaryStateLayerColor)};
|
|
713
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.tertiaryHoverStateLayerOpacity)};
|
|
714
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceFocused,f.tertiaryFocusStateLayerOpacity)};
|
|
715
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceSelected,f.tertiaryActiveStateLayerOpacity)};
|
|
716
|
+
${(0,C.setVariable)(N.opacityContentOnSurfacePressed,f.tertiaryActiveStateLayerOpacity)};
|
|
717
|
+
|
|
718
|
+
background-color: ${f.tertiaryBackgroundColor};
|
|
719
|
+
color: ${f.tertiaryColor};
|
|
720
|
+
border-style: none;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.ft-button--tertiary[disabled] {
|
|
724
|
+
opacity: ${f.tertiaryDisabledComponentOpacity};
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.ft-button--tertiary ft-icon {
|
|
728
|
+
color: ${f.tertiaryIconColor};
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/** Neutral styles **/
|
|
732
|
+
|
|
733
|
+
.ftds--family-neutral {
|
|
734
|
+
${(0,C.setVariable)(F.color,f.neutralIconColor)};
|
|
735
|
+
|
|
736
|
+
${(0,C.setVariable)(N.backgroundColor,f.neutralStateLayerColor)};
|
|
737
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceHover,f.neutralHoverStateLayerOpacity)};
|
|
738
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceFocused,f.neutralFocusStateLayerOpacity)};
|
|
739
|
+
${(0,C.setVariable)(N.opacityContentOnSurfaceSelected,f.neutralActiveStateLayerOpacity)};
|
|
740
|
+
${(0,C.setVariable)(N.opacityContentOnSurfacePressed,f.neutralActiveStateLayerOpacity)};
|
|
741
|
+
|
|
742
|
+
background-color: ${f.neutralBackgroundColor};
|
|
743
|
+
color: ${f.neutralColor};
|
|
744
|
+
border-style: none;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.ftds--family-neutral[disabled] {
|
|
748
|
+
opacity: ${f.neutralDisabledComponentOpacity};
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.ftds--family-neutral ft-icon {
|
|
752
|
+
color: ${f.neutralIconColor};
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/** Large styles **/
|
|
756
|
+
|
|
757
|
+
.ftds--size-large {
|
|
758
|
+
${(0,C.setVariable)(V.size,f.largeIconSize)};
|
|
759
|
+
${(0,C.setVariable)(F.size,f.largeIconSize)};
|
|
760
|
+
|
|
761
|
+
height: ${f.largeHeight};
|
|
762
|
+
padding: 0 ${f.largeHorizontalPadding};
|
|
763
|
+
gap: ${f.largeGap};
|
|
764
|
+
border-radius: ${f.largeBorderRadius};
|
|
765
|
+
border-width: ${f.largeBorderWidth};
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.ftds--size-large:focus-visible {
|
|
769
|
+
outline-width: ${f.largeFocusOutlineWidth};
|
|
770
|
+
outline-offset: ${f.largeFocusOutlineOffset};
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
.ftds--size-large.ft-button--icon-only {
|
|
774
|
+
width: ${f.largeIconOnlyWidth};
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/** Small styles **/
|
|
778
|
+
|
|
779
|
+
.ftds--size-medium {
|
|
780
|
+
${(0,C.setVariable)(V.size,f.mediumIconSize)};
|
|
781
|
+
${(0,C.setVariable)(F.size,f.mediumIconSize)};
|
|
782
|
+
|
|
783
|
+
height: ${f.mediumHeight};
|
|
784
|
+
padding: 0 ${f.mediumHorizontalPadding};
|
|
785
|
+
gap: ${f.mediumGap};
|
|
786
|
+
border-radius: ${f.mediumBorderRadius};
|
|
787
|
+
border-width: ${f.mediumBorderWidth};
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
.ftds--size-medium:focus-visible {
|
|
791
|
+
outline-width: ${f.mediumFocusOutlineWidth};
|
|
792
|
+
outline-offset: ${f.mediumFocusOutlineOffset};
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
796
|
+
width: ${f.mediumIconOnlyWidth};
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
/** Small styles **/
|
|
801
|
+
|
|
802
|
+
.ftds--size-small {
|
|
803
|
+
${(0,C.setVariable)(V.size,f.smallIconSize)};
|
|
804
|
+
${(0,C.setVariable)(F.size,f.smallIconSize)};
|
|
805
|
+
|
|
806
|
+
height: ${f.smallHeight};
|
|
807
|
+
padding: 0 ${f.smallHorizontalPadding};
|
|
808
|
+
gap: ${f.smallGap};
|
|
809
|
+
border-radius: ${f.smallBorderRadius};
|
|
810
|
+
border-width: ${f.smallBorderWidth};
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
.ftds--size-small:focus-visible {
|
|
814
|
+
outline-width: ${f.smallFocusOutlineWidth};
|
|
815
|
+
outline-offset: ${f.smallFocusOutlineOffset};
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.ftds--size-small.ft-button--icon-only {
|
|
819
|
+
width: ${f.smallIconOnlyWidth};
|
|
820
|
+
}
|
|
821
|
+
`,C.noTextSelect];var Te=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},Ct=class extends(0,_e.toFtdsBase)(P){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ce.brand,this.iconVariant=ut.fluid_topics}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,"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,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Dt.large:return Lt.body2medium;case Dt.medium:return Lt.caption1medium;case Dt.small:return Lt.caption2medium}}};Ct.styles=[_e.safariEllipsisFix,An];Te([(0,Oe.property)({type:Boolean})],Ct.prototype,"primary",void 0);Te([(0,Oe.property)({type:Boolean})],Ct.prototype,"secondary",void 0);Te([(0,Oe.property)({type:Boolean})],Ct.prototype,"tertiary",void 0);Te([(0,Oe.property)({type:Boolean})],Ct.prototype,"round",void 0);(0,lo.customElement)("ft-button")(ct);(0,lo.customElement)("ftds-button")(Ct);var at={expandButtonColor:$.FtCssVariableFactory.extend("--ft-tree-selector-expand-button-color","Color of the expand button",$.designSystemVariables.colorOnSurfaceMedium),expandButtonBackgroundColor:$.FtCssVariableFactory.create("--ft-tree-selector-expand-button-background-color","Background color of the expand button","COLOR","transparent"),treeLinesColor:$.FtCssVariableFactory.extend("--ft-tree-selector-line-color","Color of the tree lines",$.designSystemVariables.colorOutline),levelPadding:$.FtCssVariableFactory.create("--ft-tree-selector-level-padding","","SIZE","16px"),labelColor:$.FtCssVariableFactory.extend("--ft-tree-selector-label-color","",$.designSystemVariables.colorOnSurface),labelFontSize:$.FtCssVariableFactory.extend("--ft-tree-selector-label-font-size","",b.fontSize,"16px"),buttonColor:$.FtCssVariableFactory.extend("--ft-search-facet-button-color","",$.designSystemVariables.colorPrimary),checkboxColor:$.FtCssVariableFactory.extend("--ft-search-facet-checkbox-color","",$.designSystemVariables.colorPrimary)},Pn=$n.css`
|
|
822
|
+
|
|
823
|
+
[part="header"] {
|
|
824
|
+
display: flex;
|
|
825
|
+
align-items: center;
|
|
826
|
+
gap: 12px;
|
|
827
|
+
padding: 0 10px;
|
|
828
|
+
flex-wrap: wrap;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
[part="clear-button"] {
|
|
832
|
+
flex-shrink: 0;
|
|
833
|
+
margin-left: auto;
|
|
834
|
+
${(0,$.setVariable)(R.iconSize,"18px")};
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
[part="expand-button"] {
|
|
838
|
+
flex-shrink: 0;
|
|
839
|
+
${(0,$.setVariable)(R.iconSize,"18px")};
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
[part="label"] {
|
|
843
|
+
${(0,$.setVariable)(b.lineHeight,"22px")};
|
|
844
|
+
${(0,$.setVariable)(b.fontWeight,"bold")};
|
|
845
|
+
color: ${at.labelColor};
|
|
846
|
+
font-size: ${at.labelFontSize};
|
|
847
|
+
word-break: break-word;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.ft-tree-selector {
|
|
851
|
+
overflow: auto;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
[part="checkbox"] {
|
|
855
|
+
word-break: break-word;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
[part="children"] {
|
|
859
|
+
position: relative;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
[part="level"] [part="children"] {
|
|
863
|
+
padding-left: calc((${R.iconSize} / 2))
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
[part="children"] [part="children"] {
|
|
867
|
+
padding-left: calc((${R.iconSize} / 2) + ${at.levelPadding})
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
[part="children"] [part="level"] [part="actions"] {
|
|
871
|
+
padding-left: ${at.levelPadding}
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
[part="level"].leaf [part="actions"] {
|
|
875
|
+
padding-left: calc(${at.levelPadding} + ${R.iconSize});
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
[part="expand"] {
|
|
879
|
+
${(0,$.setVariable)(R.color,at.expandButtonColor)};
|
|
880
|
+
${(0,$.setVariable)(R.backgroundColor,at.expandButtonBackgroundColor)};
|
|
881
|
+
flex-shrink: 0;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
[part="actions"] {
|
|
885
|
+
display: flex;
|
|
886
|
+
align-items: center;
|
|
887
|
+
position: relative;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
[part="level"] {
|
|
891
|
+
position: relative;
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
[part="children"] [part="level"] [part="actions"]:before,
|
|
895
|
+
[part="children"] [part="level"]:after,
|
|
896
|
+
[part="children"] [part="level"]:last-child [part="actions"]:after {
|
|
897
|
+
position: absolute;
|
|
898
|
+
content: "";
|
|
899
|
+
left: 0;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
/* Vertical lines */
|
|
904
|
+
|
|
905
|
+
/* For all level except the last one, the vertical line is on the left of all the "[part="level"]" container to auto-scale with the content*/
|
|
906
|
+
[part="children"] [part="level"]:after {
|
|
907
|
+
border-left: 1px solid ${at.treeLinesColor};
|
|
908
|
+
height: 100%;
|
|
909
|
+
top: 0;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
[part="children"] [part="level"]:last-child:after {
|
|
913
|
+
border: none;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
/* For the last level of a tree, the line should stop at the middle of the parent node. So we need to move it to "actions". Moving it allow the label
|
|
917
|
+
to be longer than one line and the tree line to remain aline */
|
|
918
|
+
[part="children"] [part="level"]:last-child [part="actions"]:after {
|
|
919
|
+
border-left: 1px solid ${at.treeLinesColor};
|
|
920
|
+
height: 50%;
|
|
921
|
+
bottom: 50%;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
/* Horizontal lines */
|
|
926
|
+
|
|
927
|
+
/*The actions support the horizontal line, this allow the label to be longer than one line and the tree lien to remain aline */
|
|
928
|
+
[part="children"] [part="level"] [part="actions"]:before {
|
|
929
|
+
border-top: 1px solid ${at.treeLinesColor};
|
|
930
|
+
width: ${at.levelPadding};
|
|
931
|
+
height: 100%;
|
|
932
|
+
top: 50%;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
[part="children"] [part="level"].leaf [part="actions"]:before {
|
|
936
|
+
border-top: 1px solid ${at.treeLinesColor};
|
|
937
|
+
width: 42px;
|
|
938
|
+
height: 100%;
|
|
939
|
+
top: 50%
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
`;var Tn=m(w());var Bn=m(_()),Nt=m(pt()),kn=m(w()),zn=m(Ne());var ot=m(w()),Wn=m(_());var vt={textColor:ot.FtCssVariableFactory.extend("--ft-checkbox-text-color","",ot.designSystemVariables.colorOnSurfaceHigh),fontSize:ot.FtCssVariableFactory.extend("--ft-checkbox-font-size","",b.fontSize),colorPrimary:ot.FtCssVariableFactory.external(ot.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:ot.FtCssVariableFactory.external(ot.designSystemVariables.colorOnPrimary,"Design system"),borderColor:ot.FtCssVariableFactory.extend("--ft-checkbox-border-color","",ot.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:ot.FtCssVariableFactory.external(ot.designSystemVariables.colorOnSurfaceDisabled,"Design system")},In=Wn.css`
|
|
944
|
+
* {
|
|
945
|
+
box-sizing: border-box;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.ft-checkbox {
|
|
949
|
+
box-sizing: border-box;
|
|
950
|
+
color: ${vt.textColor};
|
|
951
|
+
font-size: ${vt.fontSize};
|
|
952
|
+
|
|
953
|
+
display: inline-flex;
|
|
954
|
+
align-items: center;
|
|
955
|
+
gap: 4px;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
.ft-checkbox--disabled {
|
|
959
|
+
color: ${vt.colorOnSurfaceDisabled};
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
input {
|
|
963
|
+
opacity: 0;
|
|
964
|
+
position: absolute;
|
|
965
|
+
width: 40px;
|
|
966
|
+
height: 40px;
|
|
967
|
+
margin: 0;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.ft-checkbox--box-container {
|
|
971
|
+
position: relative;
|
|
972
|
+
width: 40px;
|
|
973
|
+
height: 40px;
|
|
974
|
+
|
|
975
|
+
display: flex;
|
|
976
|
+
justify-content: center;
|
|
977
|
+
align-items: center;
|
|
978
|
+
flex-shrink: 0;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.ft-checkbox--box {
|
|
982
|
+
display: flex;
|
|
983
|
+
border: 2px solid ${vt.borderColor};
|
|
984
|
+
border-radius: 2px;
|
|
985
|
+
|
|
986
|
+
width: 18px;
|
|
987
|
+
height: 18px;
|
|
988
|
+
|
|
989
|
+
color: ${vt.colorOnPrimary};
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
.ft-checkbox--checked .ft-checkbox--box,
|
|
994
|
+
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
995
|
+
border-color: ${vt.colorPrimary};
|
|
996
|
+
background-color: ${vt.colorPrimary};
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.ft-checkbox--disabled .ft-checkbox--box {
|
|
1000
|
+
border-color: ${vt.colorOnSurfaceDisabled};
|
|
1001
|
+
background-color: transparent;
|
|
1002
|
+
color: ${vt.colorOnSurfaceDisabled};
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.ft-checkbox--checkmark {
|
|
1006
|
+
transition: opacity 180ms cubic-bezier(0, 0, 0.2, 1) 0ms, transform 180ms cubic-bezier(0, 0, 0.2, 1) 0ms;
|
|
1007
|
+
opacity: 0;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.ft-checkbox--checkmark-path {
|
|
1011
|
+
stroke-dashoffset: 0;
|
|
1012
|
+
stroke: currentcolor;
|
|
1013
|
+
stroke-width: 3px;
|
|
1014
|
+
stroke-dasharray: 30;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
.ft-checkbox--checked .ft-checkbox--checkmark,
|
|
1018
|
+
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1019
|
+
opacity: 1;
|
|
1020
|
+
}
|
|
1021
|
+
`;var _t=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},Y=class extends kn.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let o={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Bn.html`
|
|
1022
|
+
<label class="${(0,zn.classMap)(o)}" for="checkbox-input">
|
|
1023
|
+
<div class="ft-checkbox--box-container">
|
|
1024
|
+
<ft-ripple
|
|
1025
|
+
?disabled=${this.disabled}
|
|
1026
|
+
?primary=${this.checked||this.indeterminate}
|
|
1027
|
+
unbounded>
|
|
1028
|
+
</ft-ripple>
|
|
1029
|
+
<div class="ft-checkbox--box">
|
|
1030
|
+
<svg class="ft-checkbox--checkmark" viewBox="0 0 24 24">
|
|
1031
|
+
<path class="ft-checkbox--checkmark-path" fill="none"
|
|
1032
|
+
d=${this.indeterminate&&!this.checked?"M2,12 22,12":"M1.73,12.91 8.1,19.28 22.79,4.59"}></path>
|
|
1033
|
+
</svg>
|
|
1034
|
+
</div>
|
|
1035
|
+
<input type="checkbox"
|
|
1036
|
+
id="checkbox-input"
|
|
1037
|
+
name="${this.name}"
|
|
1038
|
+
.checked=${this.checked}
|
|
1039
|
+
.disabled=${this.disabled}
|
|
1040
|
+
@change=${this.onChange}
|
|
1041
|
+
aria-checked=${this.indeterminate?"mixed":this.checked?"true":"false"}
|
|
1042
|
+
>
|
|
1043
|
+
</div>
|
|
1044
|
+
<ft-typography variant="body2">
|
|
1045
|
+
<slot></slot>
|
|
1046
|
+
</ft-typography>
|
|
1047
|
+
</label>
|
|
1048
|
+
`}onChange(o){o.stopPropagation(),this.checked=o.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(o){var r;super.contentAvailableCallback(o),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}};Y.elementDefinitions={"ft-ripple":L,"ft-typography":j};Y.styles=In;_t([(0,Nt.property)()],Y.prototype,"name",void 0);_t([(0,Nt.property)({type:Boolean,reflect:!0})],Y.prototype,"checked",void 0);_t([(0,Nt.property)({type:Boolean})],Y.prototype,"indeterminate",void 0);_t([(0,Nt.property)({type:Boolean})],Y.prototype,"disabled",void 0);_t([(0,Nt.query)(".ft-checkbox")],Y.prototype,"container",void 0);_t([(0,Nt.query)("ft-ripple")],Y.prototype,"ripple",void 0);_t([(0,Nt.query)("input")],Y.prototype,"input",void 0);(0,Tn.customElement)("ft-checkbox")(Y);var co=m(Hn()),G=m(pt());var tt=function(e,o,r,a){var i=arguments.length,l=i<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,r):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,a);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(l=(i<3?c(l):i>3?c(o,r,l):c(o,r))||l);return i>3&&l&&Object.defineProperty(o,r,l),l},so=class extends CustomEvent{constructor(o){super("treenode-change",{detail:o,bubbles:!0,composed:!0})}},po=class extends CustomEvent{constructor(o){super("treenode-expanded-change",{detail:o,bubbles:!0,composed:!0})}},He=class extends CustomEvent{constructor(){super("treenode-all-node-collapsed",{bubbles:!0,composed:!0})}},fo=class extends CustomEvent{constructor(){super("treenode-clear-all",{bubbles:!0,composed:!0})}},k=class extends Ht.FtLitElement{constructor(){super(...arguments),this.userOpenedNodes=new Set,this.userClosedNodes=new Set,this.currentExpandButtonFocusedIndex=0,this.label="",this.expandLabel="Expand",this.collapseLabel="Collapse",this.expandParametrizedLabel="Expand {0}",this.collapseParametrizedLabel="Collapse {0}",this.expandAllLabel="Expand all",this.collapseAllLabel="Collapse all",this.clearLabel="Clear"}update(o){super.update(o),this.data&&this.isTreeSelectorCollapsed==null&&(this.isTreeSelectorCollapsed=this.data.rootNodes.every(r=>!this.isNodeExpanded(r)))}render(){var o;return it.html`
|
|
1049
|
+
<div class="ft-tree-selector">
|
|
1050
|
+
<div part="header">
|
|
1051
|
+
<ft-typography variant="overline" part="label">
|
|
1052
|
+
${this.label}
|
|
1053
|
+
</ft-typography>
|
|
1054
|
+
<ft-button dense
|
|
1055
|
+
tooltipposition="bottom"
|
|
1056
|
+
part="expand-button"
|
|
1057
|
+
icon=${this.isTreeSelectorCollapsed?"ICON_EXPAND":"ICON_COLLAPSE"}
|
|
1058
|
+
label="${this.isTreeSelectorCollapsed?this.expandAllLabel:this.collapseAllLabel}"
|
|
1059
|
+
aria-expanded="${this.isTreeSelectorCollapsed}"
|
|
1060
|
+
@click="${this.isTreeSelectorCollapsed?()=>{this.expandAll(),this.isTreeSelectorCollapsed=!1}:()=>{this.collapseAll(),this.isTreeSelectorCollapsed=!0}}">
|
|
1061
|
+
</ft-button>
|
|
1062
|
+
|
|
1063
|
+
${!((o=this.data)===null||o===void 0)&&o.rootNodes.some(r=>r.selected||r.indeterminate)?it.html`
|
|
1064
|
+
<ft-button icon="close" dense @click=${()=>this.dispatchEvent(new fo)} part="clear-button">
|
|
1065
|
+
${this.clearLabel}
|
|
1066
|
+
</ft-button>
|
|
1067
|
+
`:it.nothing}
|
|
1068
|
+
</div>
|
|
1069
|
+
${(0,co.repeat)(this.data.rootNodes,r=>r.value,r=>this.renderNode(r))}
|
|
1070
|
+
</div>
|
|
1071
|
+
</div>
|
|
1072
|
+
`}renderNode(o){let r=this.isNodeExpanded(o);return it.html`
|
|
1073
|
+
<div part="level" class="${o.children.length!=0?"expandable":"leaf"}"
|
|
1074
|
+
data-value="${o.value}">
|
|
1075
|
+
<div part="actions">
|
|
1076
|
+
${o.children.length!=0?this.renderOpenCloseButton(o):it.nothing}
|
|
1077
|
+
<ft-checkbox part="checkbox" name="${o.label}" ?checked="${o.selected}"
|
|
1078
|
+
?indeterminate="${o.indeterminate}"
|
|
1079
|
+
@change=${a=>this.dispatchEvent(new so({value:o.value,selected:a.detail}))}>
|
|
1080
|
+
${o.label}
|
|
1081
|
+
</ft-checkbox>
|
|
1082
|
+
</div>
|
|
1083
|
+
${o.children.length!=0&&this.isNodeExpanded(o)?it.html`
|
|
1084
|
+
<div part="children"
|
|
1085
|
+
class="${r?"expanded":"collapsed"}"
|
|
1086
|
+
id=${this.getAriaControlId(o)}>
|
|
1087
|
+
${r?it.html`${(0,co.repeat)(o.children,a=>a.value,a=>this.renderNode(a))}`:it.nothing}
|
|
1088
|
+
</div>`:it.nothing}
|
|
1089
|
+
</div>
|
|
1090
|
+
`}renderOpenCloseButton(o){let r=this.isNodeExpanded(o);return it.html`
|
|
1091
|
+
<ft-button dense part="expand" tooltipposition="bottom"
|
|
1092
|
+
icon=${r?"TRIANGLE_BOTTOM":"TRIANGLE_RIGHT"}
|
|
1093
|
+
label="${r?this.collapseLabel:this.expandLabel}"
|
|
1094
|
+
aria-label="${Ht.ParametrizedLabelResolver.replaceParameters(r?this.collapseParametrizedLabel:this.expandParametrizedLabel,o.label)}"
|
|
1095
|
+
aria-expanded="${r}"
|
|
1096
|
+
aria-control=${this.getAriaControlId(o)}
|
|
1097
|
+
@keydown="${a=>this.onKeydown(a,o)}"
|
|
1098
|
+
@click="${()=>this.userChangeNodeExpandStatus(!r,o.value)}">
|
|
1099
|
+
</ft-button>
|
|
1100
|
+
`}userChangeNodeExpandStatus(o,r){o?this.userClosedNodes.has(r)?this.userClosedNodes.delete(r):this.userOpenedNodes.add(r):this.userOpenedNodes.has(r)?this.userOpenedNodes.delete(r):this.userClosedNodes.add(r),this.dispatchEvent(new po({value:r,expanded:o})),this.sendAllNodeCollapseEventIfNeeded(),this.requestUpdate()}sendAllNodeCollapseEventIfNeeded(){this.data.rootNodes.every(o=>!this.isNodeExpanded(o))&&this.dispatchEvent(new He)}onKeydown(o,r){let a=!1;switch(o.key){case"ArrowDown":this.focusNextButton(o.target),a=!0;break;case"ArrowUp":this.focusPreviousButton(o.target),a=!0;break;case"ArrowRight":this.isNodeExpanded(r)||this.userChangeNodeExpandStatus(!0,r.value),a=!0;break;case"ArrowLeft":this.isNodeExpanded(r)&&this.userChangeNodeExpandStatus(!1,r.value),a=!0;break}a&&(o.stopPropagation(),o.preventDefault())}focusPreviousButton(o){let r=this.currentLevelExpandButtons.indexOf(o);this.currentLevelExpandButtons[r==0?this.currentLevelExpandButtons.length-1:r-1].focus()}focusNextButton(o){let r=[...this.currentLevelExpandButtons],a=r.indexOf(o);r[a==r.length-1?0:a+1].focus()}isNodeExpanded(o){return!this.userClosedNodes.has(o.value)&&(o.expanded||this.userOpenedNodes.has(o.value))}expandAll(){this.userClosedNodes=new Set,this.userOpenedNodes=new Set(this.data.rootNodes.flatMap(o=>this.getAllClosedNodes(o)))}getAllClosedNodes(o){return o.children.length!==0?[...o.expanded?[]:[o.value],...o.children.flatMap(r=>this.getAllClosedNodes(r))]:[]}collapseAll(){this.userOpenedNodes=new Set,this.userClosedNodes=new Set(this.data.rootNodes.filter(o=>o.expanded).map(o=>o.value)),this.dispatchEvent(new He)}getAriaControlId(o){return o.value.replace(" ","").replace("|","-")+"-children"}};k.elementDefinitions={"ft-checkbox":Y,"ft-typography":j,"ft-button":ct};k.styles=Pn;tt([(0,G.property)()],k.prototype,"data",void 0);tt([(0,G.state)({hasChanged:Ht.hasChanged})],k.prototype,"userOpenedNodes",void 0);tt([(0,G.state)({hasChanged:Ht.hasChanged})],k.prototype,"userClosedNodes",void 0);tt([(0,G.queryAll)("[part='expand']")],k.prototype,"currentLevelExpandButtons",void 0);tt([(0,G.state)()],k.prototype,"currentExpandButtonFocusedIndex",void 0);tt([(0,G.state)()],k.prototype,"isTreeSelectorCollapsed",void 0);tt([(0,G.property)()],k.prototype,"label",void 0);tt([(0,G.property)()],k.prototype,"expandLabel",void 0);tt([(0,G.property)()],k.prototype,"collapseLabel",void 0);tt([(0,G.property)()],k.prototype,"expandParametrizedLabel",void 0);tt([(0,G.property)()],k.prototype,"collapseParametrizedLabel",void 0);tt([(0,G.property)()],k.prototype,"expandAllLabel",void 0);tt([(0,G.property)()],k.prototype,"collapseAllLabel",void 0);tt([(0,G.property)()],k.prototype,"clearLabel",void 0);(0,Un.customElement)("ft-tree-selector")(k);})();
|
|
1101
|
+
/*! Bundled license information:
|
|
1102
|
+
|
|
1103
|
+
lit-html/lit-html.js:
|
|
1104
|
+
(**
|
|
1105
|
+
* @license
|
|
1106
|
+
* Copyright 2017 Google LLC
|
|
1107
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1108
|
+
*)
|
|
1109
|
+
|
|
1110
|
+
lit-html/static.js:
|
|
1111
|
+
(**
|
|
1112
|
+
* @license
|
|
1113
|
+
* Copyright 2020 Google LLC
|
|
1114
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1115
|
+
*)
|
|
1116
|
+
*/
|