@fluid-topics/ft-reader-search-in-document 1.1.85 → 1.1.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-reader-search-in-document.light.js +389 -364
- package/build/ft-reader-search-in-document.min.js +382 -357
- package/package.json +14 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var Rf=Object.create;var Un=Object.defineProperty;var Nf=Object.getOwnPropertyDescriptor;var Pf=Object.getOwnPropertyNames;var If=Object.getPrototypeOf,Tf=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var _t=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),kt=(t,e)=>{for(var o in e)Un(t,o,{get:e[o],enumerable:!0})},Lf=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pf(e))!Tf.call(t,i)&&i!==o&&Un(t,i,{get:()=>e[i],enumerable:!(n=Nf(e,i))||n.enumerable});return t};var y=(t,e,o)=>(o=t!=null?Rf(If(t)):{},Lf(e||!t||!t.__esModule?Un(o,"default",{value:t,enumerable:!0}):o,t));var A=_t((sm,as)=>{as.exports=ftGlobals.wcUtils});var k=_t((cm,ss)=>{ss.exports=ftGlobals.lit});var fs,ie,cs,U,ls,us,ds,ps,hs,Dt=f(()=>{"use strict";fs=y(k()),ie=y(A()),cs=ie.FtCssVariableFactory.extend("--ft-ripple-color","",ie.designSystemVariables.colorContent),U={color:cs,backgroundColor:ie.FtCssVariableFactory.extend("--ft-ripple-background-color","",cs),opacityContentOnSurfacePressed:ie.FtCssVariableFactory.external(ie.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ie.FtCssVariableFactory.external(ie.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ie.FtCssVariableFactory.external(ie.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ie.FtCssVariableFactory.external(ie.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ie.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ls=ie.FtCssVariableFactory.extend("--ft-ripple-color","",ie.designSystemVariables.colorPrimary),us={color:ls,backgroundColor:ie.FtCssVariableFactory.extend("--ft-ripple-background-color","",ls)},ds=ie.FtCssVariableFactory.extend("--ft-ripple-color","",ie.designSystemVariables.colorSecondary),ps={color:ds,backgroundColor:ie.FtCssVariableFactory.extend("--ft-ripple-background-color","",ds)},hs=fs.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
13
13
|
overflow: hidden;
|
|
14
|
-
border-radius: ${
|
|
14
|
+
border-radius: ${U.borderRadius};
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.ft-ripple .ft-ripple--background,
|
|
@@ -45,27 +45,27 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.ft-ripple .ft-ripple--background {
|
|
48
|
-
background-color: ${
|
|
48
|
+
background-color: ${U.backgroundColor};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.ft-ripple .ft-ripple--effect {
|
|
52
|
-
background-color: ${
|
|
52
|
+
background-color: ${U.color};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
56
|
-
background-color: ${
|
|
56
|
+
background-color: ${ps.backgroundColor};
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
60
|
-
background-color: ${
|
|
60
|
+
background-color: ${ps.color};
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
64
|
-
background-color: ${
|
|
64
|
+
background-color: ${us.backgroundColor};
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
68
|
-
background-color: ${
|
|
68
|
+
background-color: ${us.color};
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.ft-ripple .ft-ripple--background {
|
|
@@ -95,24 +95,24 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
98
|
-
opacity: ${
|
|
98
|
+
opacity: ${U.opacityContentOnSurfaceHover};
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
102
|
-
opacity: ${
|
|
102
|
+
opacity: ${U.opacityContentOnSurfaceSelected};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
106
|
-
opacity: ${
|
|
106
|
+
opacity: ${U.opacityContentOnSurfaceFocused};
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
110
|
-
opacity: ${
|
|
110
|
+
opacity: ${U.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`});var oe=Mt((Yg,Cc)=>{Cc.exports=ftGlobals.litDecorators});var st,St,r,K=g(()=>{st=x(B(),1),St=t=>typeof t=="string"?(0,st.unsafeCSS)(t):t,r=class{static create(e,n,a,i){let c=s=>St(s??i),l=st.css`var(${St(e)}, ${c(i)})`;return l.name=e,l.description=n,l.category=a,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>st.css`var(${St(e)}, ${c(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,n,a,i){let c=s=>a.get(s??i),l=st.css`var(${St(e)}, ${c(i)})`;return l.name=e,l.description=n,l.category=a.category,l.fallbackVariable=a,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>st.css`var(${St(e)}, ${c(s)})`,l.breadcrumb=()=>[a.name,...a.breadcrumb()],l.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),l}static external(e,n){let a=c=>e.fallbackVariable?e.fallbackVariable.get(c??e.defaultValue):St(c??e.lastResortDefaultValue()),i=st.css`var(${St(e.name)}, ${a(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=n,i.defaultCssValue=a,i.get=c=>st.css`var(${St(e.name)}, ${a(c)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var p,Ec,wc,Nc,Rc,Ac,Ic,Lc,Pc,kc,yh,Tc,Uc,_c,Bc,Dc,Wc,Fc,Mc,zc,$c,Hc,Gc,Kc,Zc,Vc,jc,So,V=g(()=>{K();p={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},Ec={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},wc={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Nc={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Rc={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ac={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ic={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Lc={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Pc={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},kc={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},yh={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Tc={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Uc={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},_c={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Bc={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Dc={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Wc={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Fc={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Mc={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},zc={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},$c={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Hc={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Gc={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Kc={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Zc={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Vc={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},jc={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},So={display:Ec,"title-1":wc,"title-2":Nc,"title-3":Rc,"body-1-regular":Ac,"body-1-medium":Ic,"body-1-semibold":Lc,"body-2-regular":Pc,"body-2-medium":kc,"body-2-medium-underline":yh,"body-2-semibold":Tc,"label-1-medium":Uc,"label-1-semibold":_c,"label-1-bold":Bc,"label-2-medium":Dc,"label-2-semibold":Wc,"label-2-bold":Fc,"caption-1-medium":Mc,"caption-1-semibold":zc,"caption-1-bold":$c,"caption-2-medium":Hc,"caption-2-semibold":Gc,"caption-2-bold":Kc,"caption-3-medium":Zc,"caption-3-semibold":Vc,"caption-3-bold":jc}});var f,ee=g(()=>{K();V();f={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
114
|
-
Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)}});var im,qc=g(()=>{K();V();ee();im={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:r.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:r.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)}});var pm,Yc=g(()=>{K();V();ee();pm={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:r.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:r.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)}});var mm,Xc=g(()=>{K();V();ee();mm={focusOpacity:r.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",f.contentInfoPrimary)}});var Sm,Qc=g(()=>{K();V();ee();Sm={iconSize:r.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)}});var Nm,Jc=g(()=>{K();V();ee();Nm={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:r.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",f.contentActionPrimary)}});var Pm,el=g(()=>{K();V();ee();Pm={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)}});var Bm,tl=g(()=>{K();V();ee();Bm={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",p.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)}});var zm,rl=g(()=>{K();V();ee();zm={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:r.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:r.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",p.borderRadiusM)}});var Zm,ol=g(()=>{K();V();ee();Zm={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:r.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",p.colorGray700)}});var Xm,nl=g(()=>{K();V();ee();Xm={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",p.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity24),onColor:r.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)}});var ry,al=g(()=>{K();V();ee();ry={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)}});var cy,il=g(()=>{K();V();ee();cy={backgroundColor:r.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",p.borderRadiusM)}});var fy,cl=g(()=>{K();V();ee();fy={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",p.shadowElevation02)}});var yy,ll=g(()=>{K();V();ee();yy={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)}});var Oy,sl=g(()=>{K();V();ee();Oy={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)}});var Ry,dl=g(()=>{K();V();ee();Ry={backgroundColor:r.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:r.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:r.extend("--ft-popover-gap","",p.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",p.shadowElevation02)}});var ky,pl=g(()=>{K();V();ee();ky={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:r.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",p.iconSize3)}});var Dy,fl=g(()=>{K();V();ee();Dy={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:r.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:r.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:r.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",p.borderRadiusS)}});var zy,ul=g(()=>{K();V();zy={color1Light:r.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",p.colorRed40),color5Base:r.extend("--ft-chart-5-base","",p.colorRed60),color6Light:r.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",p.colorGray50),color10Base:r.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",p.colorBrand200)}});var Zy,hl=g(()=>{K();V();ee();Zy={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:r.extend("--ft-notice-gap","",p.spacing2),iconSize:r.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)}});var Xy,gl=g(()=>{K();V();ee();Xy={color:r.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",p.spacing3)}});var rb,ml=g(()=>{K();V();ee();rb={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:r.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",p.spacing3)}});var cb,yl=g(()=>{K();V();ee();cb={color:r.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",p.spacing3)}});var fb,bl=g(()=>{K();V();ee();fb={iconSize:r.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",p.spacing8)}});var yb,xl=g(()=>{K();V();ee();yb={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:r.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:r.extend("--ft-tooltip-shadow","",p.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",p.spacing05)}});var vl=g(()=>{V();ee();qc();Yc();Xc();Qc();Jc();el();tl();rl();ol();nl();al();il();cl();ll();sl();dl();pl();fl();ul();hl();gl();ml();yl();bl();xl()});var Sl,Ol,Cl=g(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Sl||(Sl={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(Ol||(Ol={}))});var j=g(()=>{K();vl();Cl()});function El(t){let e=So[t];return Oo.css`
|
|
115
|
-
.ft-typography--${(0,
|
|
113
|
+
`});var X=_t((pm,gs)=>{gs.exports=ftGlobals.litDecorators});var rt,ht,r,H=f(()=>{rt=y(k(),1),ht=t=>typeof t=="string"?(0,rt.unsafeCSS)(t):t,r=class{static create(e,o,n,i){let a=l=>ht(l??i),s=rt.css`var(${ht(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>rt.css`var(${ht(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=l=>n.get(l??i),s=rt.css`var(${ht(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>rt.css`var(${ht(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ht(a??e.lastResortDefaultValue()),i=rt.css`var(${ht(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>rt.css`var(${ht(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var c,bs,xs,vs,Ss,Os,Cs,Es,ws,As,_f,Rs,Ns,Ps,Is,Ts,Ls,_s,ks,Ds,Ms,Bs,Us,$s,Fs,Ws,zs,fo,j=f(()=>{H();c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},bs={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},xs={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},vs={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ss={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Os={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Cs={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Es={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ws={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},As={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},_f={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Rs={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ns={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ps={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Is={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ts={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ls={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},_s={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ks={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ds={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ms={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Bs={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Us={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},$s={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Fs={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ws={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},zs={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},fo={display:bs,"title-1":xs,"title-2":vs,"title-3":Ss,"body-1-regular":Os,"body-1-medium":Cs,"body-1-semibold":Es,"body-2-regular":ws,"body-2-medium":As,"body-2-medium-underline":_f,"body-2-semibold":Rs,"label-1-medium":Ns,"label-1-semibold":Ps,"label-1-bold":Is,"label-2-medium":Ts,"label-2-semibold":Ls,"label-2-bold":_s,"caption-1-medium":ks,"caption-1-semibold":Ds,"caption-1-bold":Ms,"caption-2-medium":Bs,"caption-2-semibold":Us,"caption-2-bold":$s,"caption-3-medium":Fs,"caption-3-semibold":Ws,"caption-3-bold":zs}});var u,q=f(()=>{H();j();u={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
114
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80)}});var C,Hs=f(()=>{H();j();q();C={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",c.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",c.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",c.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",c.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",c.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",c.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",c.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",c.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",c.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",c.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",c.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",c.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",c.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",c.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",c.opacity40)}});var Am,js=f(()=>{H();j();q();Am={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)}});var Tm,Vs=f(()=>{H();j();q();Tm={focusOpacity:r.extend("--ft-link-focus-opacity","",c.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",u.contentInfoPrimary)}});var Mm,Gs=f(()=>{H();j();q();Mm={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)}});var Wm,Ks=f(()=>{H();j();q();Wm={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)}});var Gm,Zs=f(()=>{H();j();q();Gm={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var Xm,qs=f(()=>{H();j();q();Xm={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)}});var ry,Ys=f(()=>{H();j();q();ry={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",c.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var sy,Xs=f(()=>{H();j();q();sy={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var py,Qs=f(()=>{H();j();q();py={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var gy,Js=f(()=>{H();j();q();gy={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var Oy,ec=f(()=>{H();j();q();Oy={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)}});var Ry,tc=f(()=>{H();j();q();Ry={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var Ly,rc=f(()=>{H();j();q();Ly={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var By,oc=f(()=>{H();j();q();By={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)}});var zy,nc=f(()=>{H();j();q();zy={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02)}});var Ky,ic=f(()=>{H();j();q();Ky={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var Qy,ac=f(()=>{H();j();q();Qy={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var rg,sc=f(()=>{H();j();rg={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200)}});var sg,cc=f(()=>{H();j();q();sg={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)}});var pg,lc=f(()=>{H();j();q();pg={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)}});var gg,uc=f(()=>{H();j();q();gg={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)}});var Og,dc=f(()=>{H();j();q();Og={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)}});var Rg,pc=f(()=>{H();j();q();Rg={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)}});var Lg,fc=f(()=>{H();j();q();Lg={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)}});var hc=f(()=>{j();q();Hs();js();Vs();Gs();Ks();Zs();qs();Ys();Xs();Qs();Js();ec();tc();rc();oc();nc();ic();ac();sc();cc();lc();uc();dc();pc();fc()});var ho,qt,mc=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ho||(ho={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(qt||(qt={}))});var W=f(()=>{H();hc();mc()});function yc(t){let e=fo[t];return mo.css`
|
|
115
|
+
.ft-typography--${(0,mo.unsafeCSS)(t)} {
|
|
116
116
|
font-family: ${e.fontFamily};
|
|
117
117
|
font-size: ${e.fontSize};
|
|
118
118
|
font-weight: ${e.fontWeight};
|
|
@@ -120,8 +120,72 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
120
120
|
line-height: ${e.lineHeight};
|
|
121
121
|
text-transform: ${e.textCase};
|
|
122
122
|
}
|
|
123
|
-
`}var
|
|
123
|
+
`}var mo,gc=f(()=>{"use strict";mo=y(k());W()});var De,w,bc,ot,T,Yt,Xt,Qt,Jt,er,tr,rr,or,nr,Ke,xc,vc,Sc,Oc,Cc,yo,Ec,wc,Ac,Rc,Nc,Pc,go=f(()=>{"use strict";De=y(k()),w=y(A());W();gc();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();W();bc=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),ot=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),T={fontFamily:ot,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Yt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",bc),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},Xt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",bc),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},Qt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",ot),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},Jt={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",ot),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},er={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",ot),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},tr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",ot),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},rr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",ot),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},or={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",ot),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},nr={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",ot),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},Ke={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",ot),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},xc=De.css`
|
|
124
124
|
.ft-typography--title {
|
|
125
|
+
font-family: ${Yt.fontFamily};
|
|
126
|
+
font-size: ${Yt.fontSize};
|
|
127
|
+
font-weight: ${Yt.fontWeight};
|
|
128
|
+
letter-spacing: ${Yt.letterSpacing};
|
|
129
|
+
line-height: ${Yt.lineHeight};
|
|
130
|
+
text-transform: ${Yt.textTransform};
|
|
131
|
+
}
|
|
132
|
+
`,vc=De.css`
|
|
133
|
+
.ft-typography--title-dense {
|
|
134
|
+
font-family: ${Xt.fontFamily};
|
|
135
|
+
font-size: ${Xt.fontSize};
|
|
136
|
+
font-weight: ${Xt.fontWeight};
|
|
137
|
+
letter-spacing: ${Xt.letterSpacing};
|
|
138
|
+
line-height: ${Xt.lineHeight};
|
|
139
|
+
text-transform: ${Xt.textTransform};
|
|
140
|
+
}
|
|
141
|
+
`,Sc=De.css`
|
|
142
|
+
.ft-typography--subtitle1 {
|
|
143
|
+
font-family: ${Qt.fontFamily};
|
|
144
|
+
font-size: ${Qt.fontSize};
|
|
145
|
+
font-weight: ${Qt.fontWeight};
|
|
146
|
+
letter-spacing: ${Qt.letterSpacing};
|
|
147
|
+
line-height: ${Qt.lineHeight};
|
|
148
|
+
text-transform: ${Qt.textTransform};
|
|
149
|
+
}
|
|
150
|
+
`,Oc=De.css`
|
|
151
|
+
.ft-typography--subtitle2 {
|
|
152
|
+
font-family: ${Jt.fontFamily};
|
|
153
|
+
font-size: ${Jt.fontSize};
|
|
154
|
+
font-weight: ${Jt.fontWeight};
|
|
155
|
+
letter-spacing: ${Jt.letterSpacing};
|
|
156
|
+
line-height: ${Jt.lineHeight};
|
|
157
|
+
text-transform: ${Jt.textTransform};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
`,Cc=De.css`
|
|
161
|
+
.ft-typography--body1 {
|
|
162
|
+
font-family: ${er.fontFamily};
|
|
163
|
+
font-size: ${er.fontSize};
|
|
164
|
+
font-weight: ${er.fontWeight};
|
|
165
|
+
letter-spacing: ${er.letterSpacing};
|
|
166
|
+
line-height: ${er.lineHeight};
|
|
167
|
+
text-transform: ${er.textTransform};
|
|
168
|
+
}
|
|
169
|
+
`,yo=De.css`
|
|
170
|
+
.ft-typography--body2 {
|
|
171
|
+
font-family: ${tr.fontFamily};
|
|
172
|
+
font-size: ${tr.fontSize};
|
|
173
|
+
font-weight: ${tr.fontWeight};
|
|
174
|
+
letter-spacing: ${tr.letterSpacing};
|
|
175
|
+
line-height: ${tr.lineHeight};
|
|
176
|
+
text-transform: ${tr.textTransform};
|
|
177
|
+
}
|
|
178
|
+
`,Ec=De.css`
|
|
179
|
+
.ft-typography--caption {
|
|
180
|
+
font-family: ${rr.fontFamily};
|
|
181
|
+
font-size: ${rr.fontSize};
|
|
182
|
+
font-weight: ${rr.fontWeight};
|
|
183
|
+
letter-spacing: ${rr.letterSpacing};
|
|
184
|
+
line-height: ${rr.lineHeight};
|
|
185
|
+
text-transform: ${rr.textTransform};
|
|
186
|
+
}
|
|
187
|
+
`,wc=De.css`
|
|
188
|
+
.ft-typography--breadcrumb {
|
|
125
189
|
font-family: ${or.fontFamily};
|
|
126
190
|
font-size: ${or.fontSize};
|
|
127
191
|
font-weight: ${or.fontWeight};
|
|
@@ -129,8 +193,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
129
193
|
line-height: ${or.lineHeight};
|
|
130
194
|
text-transform: ${or.textTransform};
|
|
131
195
|
}
|
|
132
|
-
`,
|
|
133
|
-
.ft-typography--
|
|
196
|
+
`,Ac=De.css`
|
|
197
|
+
.ft-typography--overline {
|
|
134
198
|
font-family: ${nr.fontFamily};
|
|
135
199
|
font-size: ${nr.fontSize};
|
|
136
200
|
font-weight: ${nr.fontWeight};
|
|
@@ -138,84 +202,20 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
138
202
|
line-height: ${nr.lineHeight};
|
|
139
203
|
text-transform: ${nr.textTransform};
|
|
140
204
|
}
|
|
141
|
-
`,
|
|
142
|
-
.ft-typography--subtitle1 {
|
|
143
|
-
font-family: ${ar.fontFamily};
|
|
144
|
-
font-size: ${ar.fontSize};
|
|
145
|
-
font-weight: ${ar.fontWeight};
|
|
146
|
-
letter-spacing: ${ar.letterSpacing};
|
|
147
|
-
line-height: ${ar.lineHeight};
|
|
148
|
-
text-transform: ${ar.textTransform};
|
|
149
|
-
}
|
|
150
|
-
`,Ll=Me.css`
|
|
151
|
-
.ft-typography--subtitle2 {
|
|
152
|
-
font-family: ${ir.fontFamily};
|
|
153
|
-
font-size: ${ir.fontSize};
|
|
154
|
-
font-weight: ${ir.fontWeight};
|
|
155
|
-
letter-spacing: ${ir.letterSpacing};
|
|
156
|
-
line-height: ${ir.lineHeight};
|
|
157
|
-
text-transform: ${ir.textTransform};
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
`,Pl=Me.css`
|
|
161
|
-
.ft-typography--body1 {
|
|
162
|
-
font-family: ${cr.fontFamily};
|
|
163
|
-
font-size: ${cr.fontSize};
|
|
164
|
-
font-weight: ${cr.fontWeight};
|
|
165
|
-
letter-spacing: ${cr.letterSpacing};
|
|
166
|
-
line-height: ${cr.lineHeight};
|
|
167
|
-
text-transform: ${cr.textTransform};
|
|
168
|
-
}
|
|
169
|
-
`,Co=Me.css`
|
|
170
|
-
.ft-typography--body2 {
|
|
171
|
-
font-family: ${lr.fontFamily};
|
|
172
|
-
font-size: ${lr.fontSize};
|
|
173
|
-
font-weight: ${lr.fontWeight};
|
|
174
|
-
letter-spacing: ${lr.letterSpacing};
|
|
175
|
-
line-height: ${lr.lineHeight};
|
|
176
|
-
text-transform: ${lr.textTransform};
|
|
177
|
-
}
|
|
178
|
-
`,kl=Me.css`
|
|
179
|
-
.ft-typography--caption {
|
|
180
|
-
font-family: ${sr.fontFamily};
|
|
181
|
-
font-size: ${sr.fontSize};
|
|
182
|
-
font-weight: ${sr.fontWeight};
|
|
183
|
-
letter-spacing: ${sr.letterSpacing};
|
|
184
|
-
line-height: ${sr.lineHeight};
|
|
185
|
-
text-transform: ${sr.textTransform};
|
|
186
|
-
}
|
|
187
|
-
`,Tl=Me.css`
|
|
188
|
-
.ft-typography--breadcrumb {
|
|
189
|
-
font-family: ${dr.fontFamily};
|
|
190
|
-
font-size: ${dr.fontSize};
|
|
191
|
-
font-weight: ${dr.fontWeight};
|
|
192
|
-
letter-spacing: ${dr.letterSpacing};
|
|
193
|
-
line-height: ${dr.lineHeight};
|
|
194
|
-
text-transform: ${dr.textTransform};
|
|
195
|
-
}
|
|
196
|
-
`,Ul=Me.css`
|
|
197
|
-
.ft-typography--overline {
|
|
198
|
-
font-family: ${pr.fontFamily};
|
|
199
|
-
font-size: ${pr.fontSize};
|
|
200
|
-
font-weight: ${pr.fontWeight};
|
|
201
|
-
letter-spacing: ${pr.letterSpacing};
|
|
202
|
-
line-height: ${pr.lineHeight};
|
|
203
|
-
text-transform: ${pr.textTransform};
|
|
204
|
-
}
|
|
205
|
-
`,_l=Me.css`
|
|
205
|
+
`,Rc=De.css`
|
|
206
206
|
.ft-typography--button {
|
|
207
|
-
font-family: ${
|
|
208
|
-
font-size: ${
|
|
209
|
-
font-weight: ${
|
|
210
|
-
letter-spacing: ${
|
|
211
|
-
line-height: ${
|
|
212
|
-
text-transform: ${
|
|
213
|
-
}
|
|
214
|
-
`,
|
|
207
|
+
font-family: ${Ke.fontFamily};
|
|
208
|
+
font-size: ${Ke.fontSize};
|
|
209
|
+
font-weight: ${Ke.fontWeight};
|
|
210
|
+
letter-spacing: ${Ke.letterSpacing};
|
|
211
|
+
line-height: ${Ke.lineHeight};
|
|
212
|
+
text-transform: ${Ke.textTransform};
|
|
213
|
+
}
|
|
214
|
+
`,Nc=De.css`
|
|
215
215
|
.ft-typography {
|
|
216
216
|
vertical-align: inherit;
|
|
217
217
|
}
|
|
218
|
-
`,
|
|
218
|
+
`,Pc=[Object.keys(fo).map(t=>yc(t))]});var Ic,Ir,ye,Tc,Tr=f(()=>{"use strict";Ic=y(k()),Ir=y(A()),ye={color:Ir.FtCssVariableFactory.extend("--ft-loader-color","",Ir.designSystemVariables.colorPrimary),size:Ir.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Tc=Ic.css`
|
|
219
219
|
:host {
|
|
220
220
|
line-height: 0;
|
|
221
221
|
}
|
|
@@ -224,8 +224,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
224
224
|
display: inline-block;
|
|
225
225
|
position: relative;
|
|
226
226
|
|
|
227
|
-
width: ${
|
|
228
|
-
height: ${
|
|
227
|
+
width: ${ye.size};
|
|
228
|
+
height: ${ye.size};
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
.ft-loader div {
|
|
@@ -234,7 +234,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
234
234
|
width: 25%;
|
|
235
235
|
height: 25%;
|
|
236
236
|
border-radius: 50%;
|
|
237
|
-
background: ${
|
|
237
|
+
background: ${ye.color};
|
|
238
238
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
239
239
|
}
|
|
240
240
|
|
|
@@ -281,10 +281,10 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
281
281
|
transform: translate(0, 0);
|
|
282
282
|
}
|
|
283
283
|
100% {
|
|
284
|
-
transform: translate(calc(0.35 * ${
|
|
284
|
+
transform: translate(calc(0.35 * ${ye.size}), 0);
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
`});var
|
|
287
|
+
`});var Lc,nt,ge,_c,Lr=f(()=>{"use strict";Lc=y(k()),nt=y(A()),ge={size:nt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:nt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",nt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:nt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",nt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:nt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",nt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:nt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},_c=Lc.css`
|
|
288
288
|
:host, i.ft-icon {
|
|
289
289
|
display: inline-flex;
|
|
290
290
|
align-items: center;
|
|
@@ -293,14 +293,14 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
:host {
|
|
296
|
-
width: ${
|
|
297
|
-
height: ${
|
|
296
|
+
width: ${ge.size};
|
|
297
|
+
height: ${ge.size};
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
i.ft-icon {
|
|
301
301
|
width: 100%;
|
|
302
302
|
height: 100%;
|
|
303
|
-
font-size: ${
|
|
303
|
+
font-size: ${ge.size};
|
|
304
304
|
line-height: 1;
|
|
305
305
|
font-weight: normal;
|
|
306
306
|
text-transform: none;
|
|
@@ -311,28 +311,28 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
311
311
|
text-rendering: auto;
|
|
312
312
|
-webkit-font-smoothing: antialiased;
|
|
313
313
|
-moz-osx-font-smoothing: grayscale;
|
|
314
|
-
vertical-align: ${
|
|
314
|
+
vertical-align: ${ge.verticalAlign};
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
i.ft-icon.ft-icon--fluid-topics {
|
|
318
|
-
font-family: ${
|
|
318
|
+
font-family: ${ge.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
319
319
|
|
|
320
320
|
/* Ugly fix because font is broken */
|
|
321
|
-
font-size: calc(0.75 * ${
|
|
322
|
-
line-height: ${
|
|
321
|
+
font-size: calc(0.75 * ${ge.size});
|
|
322
|
+
line-height: ${ge.size};
|
|
323
323
|
position: relative;
|
|
324
324
|
top: -4%;
|
|
325
325
|
justify-content: center;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
.ft-icon--file-format {
|
|
329
|
-
font-family: ${
|
|
329
|
+
font-family: ${ge.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
.ft-icon--material {
|
|
333
|
-
font-family: ${
|
|
333
|
+
font-family: ${ge.materialFontFamily}, "Material Icons", sans-serif;
|
|
334
334
|
}
|
|
335
|
-
`});var
|
|
335
|
+
`});var Mc,B,kc,te,Dc,$n,Ze,Bc,Fn=f(()=>{"use strict";Mc=y(k()),B=y(A());Dt();go();Tr();Lr();kc=B.FtCssVariableFactory.extend("--ft-button-color","",B.designSystemVariables.colorPrimary),te={backgroundColor:B.FtCssVariableFactory.extend("--ft-button-background-color","",B.designSystemVariables.colorSurface),borderRadius:B.FtCssVariableFactory.extend("--ft-button-border-radius","",B.designSystemVariables.borderRadiusL),color:kc,fontSize:B.FtCssVariableFactory.extend("--ft-button-font-size","",Ke.fontSize),iconSize:B.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:B.FtCssVariableFactory.extend("--ft-button-ripple-color","",kc),verticalPadding:B.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:B.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:B.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:B.FtCssVariableFactory.external(B.designSystemVariables.colorOpacityDisabled,"Design system")},Dc=B.FtCssVariableFactory.extend("--ft-button-primary-color","",B.FtCssVariableFactory.extend("--ft-button-color","",B.designSystemVariables.colorOnPrimary)),$n={backgroundColor:B.FtCssVariableFactory.extend("--ft-button-primary-background-color","",B.FtCssVariableFactory.extend("--ft-button-background-color","",B.designSystemVariables.colorPrimary)),color:Dc,rippleColor:B.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Dc)},Ze={borderRadius:B.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",B.FtCssVariableFactory.extend("--ft-button-border-radius","",B.designSystemVariables.borderRadiusM)),verticalPadding:B.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:B.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:B.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Bc=[Mc.css`
|
|
336
336
|
:host {
|
|
337
337
|
display: inline-block;
|
|
338
338
|
max-width: 100%;
|
|
@@ -343,7 +343,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
343
343
|
box-shadow: 0px 0px 0px transparent;
|
|
344
344
|
border: 0px solid transparent;
|
|
345
345
|
text-shadow: 0px 0px 0px transparent;
|
|
346
|
-
font-size: ${
|
|
346
|
+
font-size: ${te.fontSize};
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
button:hover {
|
|
@@ -372,31 +372,31 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
372
372
|
border: none;
|
|
373
373
|
pointer-events: auto;
|
|
374
374
|
|
|
375
|
-
--ft-button-internal-line-height: max(calc(${
|
|
376
|
-
--ft-button-internal-color: ${
|
|
377
|
-
${(0,
|
|
378
|
-
${(0,
|
|
375
|
+
--ft-button-internal-line-height: max(calc(${te.fontSize} + 2px), ${te.iconSize});
|
|
376
|
+
--ft-button-internal-color: ${te.color};
|
|
377
|
+
${(0,B.setVariable)(ge.size,te.iconSize)};
|
|
378
|
+
${(0,B.setVariable)(U.color,te.rippleColor)};
|
|
379
379
|
|
|
380
|
-
border-radius: ${
|
|
381
|
-
padding: ${
|
|
382
|
-
background-color: ${
|
|
380
|
+
border-radius: ${te.borderRadius};
|
|
381
|
+
padding: ${te.verticalPadding} ${te.horizontalPadding};
|
|
382
|
+
background-color: ${te.backgroundColor};
|
|
383
383
|
color: var(--ft-button-internal-color);
|
|
384
384
|
-webkit-mask-image: radial-gradient(white, black);
|
|
385
385
|
}
|
|
386
386
|
|
|
387
387
|
.ft-button.ft-button--outlined {
|
|
388
388
|
border: 1px solid var(--ft-button-internal-color);
|
|
389
|
-
padding: calc(${
|
|
389
|
+
padding: calc(${te.verticalPadding} - 1px) calc(${te.horizontalPadding} - 1px);
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
.ft-button.ft-button--dense {
|
|
393
|
-
padding: ${
|
|
394
|
-
border-radius: ${
|
|
395
|
-
gap: ${
|
|
393
|
+
padding: ${Ze.verticalPadding} ${Ze.horizontalPadding};
|
|
394
|
+
border-radius: ${Ze.borderRadius};
|
|
395
|
+
gap: ${Ze.iconPadding};
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
399
|
-
padding: calc(${
|
|
399
|
+
padding: calc(${Ze.verticalPadding} - 1px) calc(${Ze.horizontalPadding} - 1px);
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
.ft-button:not([disabled]):hover {
|
|
@@ -404,22 +404,22 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
.ft-button--round {
|
|
407
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
407
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${te.verticalPadding});
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
.ft-button--round.ft-button--dense {
|
|
411
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
411
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ze.verticalPadding});
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
.ft-button[disabled] {
|
|
415
415
|
filter: grayscale(1);
|
|
416
|
-
opacity: ${
|
|
416
|
+
opacity: ${te.opacityDisabled};
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
.ft-button.ft-button--primary {
|
|
420
|
-
background-color: ${
|
|
421
|
-
--ft-button-internal-color: ${
|
|
422
|
-
${(0,
|
|
420
|
+
background-color: ${$n.backgroundColor};
|
|
421
|
+
--ft-button-internal-color: ${$n.color};
|
|
422
|
+
${(0,B.setVariable)(U.color,$n.rippleColor)};
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
.ft-button:focus {
|
|
@@ -432,13 +432,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
432
432
|
white-space: nowrap;
|
|
433
433
|
text-overflow: ellipsis;
|
|
434
434
|
display: block;
|
|
435
|
-
margin: 0 ${
|
|
436
|
-
${(0,
|
|
437
|
-
${(0,
|
|
435
|
+
margin: 0 ${te.iconPadding};
|
|
436
|
+
${(0,B.setVariable)(Ke.fontSize,"1em")};
|
|
437
|
+
${(0,B.setVariable)(Ke.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
.ft-button--dense .ft-button--label {
|
|
441
|
-
margin: 0 ${
|
|
441
|
+
margin: 0 ${Ze.iconPadding};
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
.ft-button--label[hidden] {
|
|
@@ -451,13 +451,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
.ft-button--label[hidden] + [part="icon"] {
|
|
454
|
-
margin: 0 calc(${
|
|
455
|
-
padding: 0 ${
|
|
454
|
+
margin: 0 calc(${te.horizontalPadding} * -1);
|
|
455
|
+
padding: 0 ${te.verticalPadding};
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
459
|
-
margin: 0 calc(${
|
|
460
|
-
padding: 0 ${
|
|
459
|
+
margin: 0 calc(${Ze.horizontalPadding} * -1);
|
|
460
|
+
padding: 0 ${Ze.verticalPadding};
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -465,31 +465,31 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
ft-loader {
|
|
468
|
-
${(0,
|
|
469
|
-
${(0,
|
|
468
|
+
${(0,B.setVariable)(ye.size,te.iconSize)};
|
|
469
|
+
${(0,B.setVariable)(ye.color,"var(--ft-button-internal-color)")};
|
|
470
470
|
}
|
|
471
|
-
`,
|
|
471
|
+
`,B.noTextSelect]});var _r=_t((Yb,Uc)=>{Uc.exports=ftGlobals.litClassMap});var $c,pe,Fc,kr,Se,Y,Wn=f(()=>{"use strict";$c=y(k()),pe=y(X()),Fc=y(_r()),kr=y(A());Dt();Se=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Y=class extends kr.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 kr.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new kr.Debouncer(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 $c.html`
|
|
472
472
|
<style>
|
|
473
473
|
.ft-ripple .ft-ripple--effect {
|
|
474
474
|
left: ${this.originX}px;
|
|
475
475
|
top: ${this.originY}px;
|
|
476
476
|
}
|
|
477
477
|
</style>
|
|
478
|
-
<div class="${(0,
|
|
478
|
+
<div class="${(0,Fc.classMap)(e)}">
|
|
479
479
|
<div class="ft-ripple--background"></div>
|
|
480
480
|
<div class="ft-ripple--effect"></div>
|
|
481
481
|
</div>
|
|
482
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var n
|
|
483
|
-
\f\r]`,
|
|
484
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
485
|
-
<${
|
|
482
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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 e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=hs;Se([(0,pe.property)({type:Boolean})],Y.prototype,"primary",void 0);Se([(0,pe.property)({type:Boolean})],Y.prototype,"secondary",void 0);Se([(0,pe.property)({type:Boolean})],Y.prototype,"unbounded",void 0);Se([(0,pe.property)({type:Boolean})],Y.prototype,"activated",void 0);Se([(0,pe.property)({type:Boolean})],Y.prototype,"selected",void 0);Se([(0,pe.property)({type:Boolean})],Y.prototype,"disabled",void 0);Se([(0,pe.state)()],Y.prototype,"hovered",void 0);Se([(0,pe.state)()],Y.prototype,"focused",void 0);Se([(0,pe.state)()],Y.prototype,"pressed",void 0);Se([(0,pe.state)()],Y.prototype,"rippling",void 0);Se([(0,pe.state)()],Y.prototype,"originX",void 0);Se([(0,pe.state)()],Y.prototype,"originY",void 0);Se([(0,pe.query)(".ft-ripple")],Y.prototype,"ripple",void 0);Se([(0,pe.query)(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0)});var Wc=f(()=>{"use strict"});var zc,bo=f(()=>{"use strict";zc=y(A());Wn();Wn();Dt();Wc();(0,zc.customElement)("ft-ripple")(Y)});function rl(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Hc!==void 0?Hc.createHTML(e):e}function ir(t,e,o=t,n){if(e===Br)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Mr(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=ir(t,i._$AS(t,e.values),i,n)),e}var Zn,xo,Hc,qc,mt,Yc,kf,Ut,vo,Mr,Xc,Df,zn,Dr,jc,Vc,Mt,Gc,Kc,Qc,Jc,el,tl,Br,ae,Zc,Bt,Mf,Ur,Hn,So,ar,jn,Vn,Gn,Kn,Bf,qn=f(()=>{Zn=globalThis,xo=Zn.trustedTypes,Hc=xo?xo.createPolicy("lit-html",{createHTML:t=>t}):void 0,qc="$lit$",mt=`lit$${(Math.random()+"").slice(9)}$`,Yc="?"+mt,kf=`<${Yc}>`,Ut=document,vo=()=>Ut.createComment(""),Mr=t=>t===null||typeof t!="object"&&typeof t!="function",Xc=Array.isArray,Df=t=>Xc(t)||typeof t?.[Symbol.iterator]=="function",zn=`[
|
|
483
|
+
\f\r]`,Dr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,jc=/-->/g,Vc=/>/g,Mt=RegExp(`>|${zn}(?:([^\\s"'>=/]+)(${zn}*=${zn}*(?:[^
|
|
484
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Gc=/'/g,Kc=/"/g,Qc=/^(?:script|style|textarea|title)$/i,Jc=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),el=Jc(1),tl=Jc(2),Br=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),Zc=new WeakMap,Bt=Ut.createTreeWalker(Ut,129);Mf=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Dr;for(let l=0;l<o;l++){let d=t[l],p,h,g=-1,b=0;for(;b<d.length&&(s.lastIndex=b,h=s.exec(d),h!==null);)b=s.lastIndex,s===Dr?h[1]==="!--"?s=jc:h[1]!==void 0?s=Vc:h[2]!==void 0?(Qc.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Mt):h[3]!==void 0&&(s=Mt):s===Mt?h[0]===">"?(s=i??Dr,g=-1):h[1]===void 0?g=-2:(g=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Mt:h[3]==='"'?Kc:Gc):s===Kc||s===Gc?s=Mt:s===jc||s===Vc?s=Dr:(s=Mt,i=void 0);let v=s===Mt&&t[l+1].startsWith("/>")?" ":"";a+=s===Dr?d+kf:g>=0?(n.push(p),d.slice(0,g)+qc+d.slice(g)+mt+v):d+mt+(g===-2?l:v)}return[rl(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},Ur=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[p,h]=Mf(e,o);if(this.el=t.createElement(p,n),Bt.currentNode=this.el.content,o===2){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(i=Bt.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let g of i.getAttributeNames())if(g.endsWith(qc)){let b=h[s++],v=i.getAttribute(g).split(mt),x=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:x[2],strings:v,ctor:x[1]==="."?jn:x[1]==="?"?Vn:x[1]==="@"?Gn:ar}),i.removeAttribute(g)}else g.startsWith(mt)&&(d.push({type:6,index:a}),i.removeAttribute(g));if(Qc.test(i.tagName)){let g=i.textContent.split(mt),b=g.length-1;if(b>0){i.textContent=xo?xo.emptyScript:"";for(let v=0;v<b;v++)i.append(g[v],vo()),Bt.nextNode(),d.push({type:2,index:++a});i.append(g[b],vo())}}}else if(i.nodeType===8)if(i.data===Yc)d.push({type:2,index:a});else{let g=-1;for(;(g=i.data.indexOf(mt,g+1))!==-1;)d.push({type:7,index:a}),g+=mt.length-1}a++}}static createElement(e,o){let n=Ut.createElement("template");return n.innerHTML=e,n}};Hn=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??Ut).importNode(o,!0);Bt.currentNode=i;let a=Bt.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new So(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new Kn(a,this,e)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=Bt.nextNode(),s++)}return Bt.currentNode=Ut,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},So=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=ir(this,e,o),Mr(e)?e===ae||e==null||e===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):e!==this._$AH&&e!==Br&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Df(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==ae&&Mr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ut.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Ur.createElement(rl(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Hn(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=Zc.get(e.strings);return o===void 0&&Zc.set(e.strings,o=new Ur(e)),o}T(e){Xc(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.k(vo()),this.k(vo()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ar=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ae}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=ir(this,e,o,0),s=!Mr(e)||e!==this._$AH&&e!==Br,s&&(this._$AH=e);else{let l=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=ir(this,l[n+d],o,d),p===Br&&(p=this._$AH[d]),s||=!Mr(p)||p!==this._$AH[d],p===ae?e=ae:e!==ae&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(e)}O(e){e===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},jn=class extends ar{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ae?void 0:e}},Vn=class extends ar{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ae)}},Gn=class extends ar{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=ir(this,e,o,0)??ae)===Br)return;let n=this._$AH,i=e===ae&&n!==ae||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==ae&&(n===ae||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Kn=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ir(this,e)}},Bf=Zn.litHtmlPolyfillSupport;Bf?.(Ur,So),(Zn.litHtmlVersions??=[]).push("3.1.0")});var nl,Uf,Yn,ol,il,Xn,ax,al=f(()=>{qn();nl=Symbol.for(""),Uf=t=>{if(t?.r===nl)return t?._$litStatic$},Yn=t=>({_$litStatic$:t,r:nl}),ol=new Map,il=t=>(e,...o)=>{let n=o.length,i,a,s=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(a=o[p],(i=Uf(a))!==void 0);)d+=i+e[++p],h=!0;p!==n&&l.push(a),s.push(d),p++}if(p===n&&s.push(e[n]),h){let g=s.join("$$lit$$");(e=ol.get(g))===void 0&&(s.raw=s,ol.set(g,e=s)),o=l}return t(e,...o)},Xn=il(el),ax=il(tl)});var sl=f(()=>{al()});var yt,Oo=f(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(yt||(yt={}))});var Qn,ll,cl,oe,Jn=f(()=>{"use strict";sl();Qn=y(X()),ll=y(A());Oo();go();cl=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},oe=class extends ll.FtLitElement{constructor(){super(...arguments),this.variant=yt.body1}render(){return this.element?Xn`
|
|
485
|
+
<${Yn(this.element)}
|
|
486
486
|
part="text"
|
|
487
487
|
class="ft-typography ft-typography--${this.variant}">
|
|
488
488
|
<slot></slot>
|
|
489
|
-
</${
|
|
490
|
-
`:
|
|
489
|
+
</${Yn(this.element)}>
|
|
490
|
+
`:Xn`
|
|
491
491
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
492
|
-
`}};
|
|
492
|
+
`}};oe.styles=[xc,vc,Sc,Oc,Cc,yo,Ec,wc,Ac,Rc,Nc,...Pc];cl([(0,Qn.property)()],oe.prototype,"element",void 0);cl([(0,Qn.property)()],oe.prototype,"variant",void 0)});var ul,it=f(()=>{"use strict";ul=y(A());Jn();Jn();go();Oo();(0,ul.customElement)("ft-typography")(oe)});var dl,at,gt,pl,ei=f(()=>{"use strict";dl=y(k()),at=y(A()),gt={distance:at.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:at.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:at.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:at.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:at.FtCssVariableFactory.external(at.designSystemVariables.borderRadiusS,"Design system"),maxWidth:at.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},pl=dl.css`
|
|
493
493
|
.ft-tooltip--container {
|
|
494
494
|
display: block;
|
|
495
495
|
}
|
|
@@ -504,21 +504,21 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
504
504
|
box-sizing: border-box;
|
|
505
505
|
overflow: hidden;
|
|
506
506
|
width: max-content;
|
|
507
|
-
max-width: ${
|
|
507
|
+
max-width: ${gt.maxWidth};
|
|
508
508
|
text-align: center;
|
|
509
|
-
padding: ${
|
|
510
|
-
z-index: ${
|
|
509
|
+
padding: ${gt.distance};
|
|
510
|
+
z-index: ${gt.zIndex};
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
.ft-tooltip--content {
|
|
514
514
|
padding: 4px 8px;
|
|
515
|
-
border-radius: ${
|
|
516
|
-
background-color: ${
|
|
517
|
-
color: ${
|
|
515
|
+
border-radius: ${gt.borderRadiusS};
|
|
516
|
+
background-color: ${gt.backgroundColor};
|
|
517
|
+
color: ${gt.color};
|
|
518
518
|
position: relative;
|
|
519
519
|
word-break: break-word;
|
|
520
520
|
}
|
|
521
|
-
`});function ca(t,e,n){return Et(t,Vr(e,n))}function Lo(t,e){return typeof t=="function"?t(e):t}function hr(t){return t.split("-")[0]}function wt(t){return t.split("-")[1]}function la(t){return t==="x"?"y":"x"}function sa(t){return t==="y"?"height":"width"}function Po(t){return["top","bottom"].includes(hr(t))?"y":"x"}function da(t){return la(Po(t))}function Cs(t,e,n){n===void 0&&(n=!1);let a=wt(t),i=da(t),c=sa(i),l=i==="x"?a===(n?"end":"start")?"right":"left":a==="start"?"bottom":"top";return e.reference[c]>e.floating[c]&&(l=aa(l)),[l,aa(l)]}function Es(t){return t.replace(/start|end/g,e=>Eh[e])}function aa(t){return t.replace(/left|right|bottom|top/g,e=>Ch[e])}function wh(t){return{top:0,right:0,bottom:0,left:0,...t}}function ws(t){return typeof t!="number"?wh(t):{top:t,right:t,bottom:t,left:t}}function Vt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var Os,Ss,ia,Vr,Et,jr,ht,Ch,Eh,ko=g(()=>{Os=["top","right","bottom","left"],Ss=["start","end"],ia=Os.reduce((t,e)=>t.concat(e,e+"-"+Ss[0],e+"-"+Ss[1]),[]),Vr=Math.min,Et=Math.max,jr=Math.round,ht=t=>({x:t,y:t}),Ch={left:"right",right:"left",bottom:"top",top:"bottom"},Eh={start:"end",end:"start"}});function Ns(t,e,n){let{reference:a,floating:i}=t,c=Po(e),l=da(e),s=sa(l),h=hr(e),m=c==="y",y=a.x+a.width/2-i.width/2,v=a.y+a.height/2-i.height/2,S=a[s]/2-i[s]/2,C;switch(h){case"top":C={x:y,y:a.y-i.height};break;case"bottom":C={x:y,y:a.y+a.height};break;case"right":C={x:a.x+a.width,y:v};break;case"left":C={x:a.x-i.width,y:v};break;default:C={x:a.x,y:a.y}}switch(wt(e)){case"start":C[l]-=S*(n&&m?-1:1);break;case"end":C[l]+=S*(n&&m?-1:1);break}return C}async function pa(t,e){var n;e===void 0&&(e={});let{x:a,y:i,platform:c,rects:l,elements:s,strategy:h}=t,{boundary:m="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:S=!1,padding:C=0}=Lo(e,t),O=ws(C),k=s[S?v==="floating"?"reference":"floating":v],L=Vt(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(k)))==null||n?k:k.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(s.floating)),boundary:m,rootBoundary:y,strategy:h})),P=v==="floating"?{...l.floating,x:a,y:i}:l.reference,F=await(c.getOffsetParent==null?void 0:c.getOffsetParent(s.floating)),D=await(c.isElement==null?void 0:c.isElement(F))?await(c.getScale==null?void 0:c.getScale(F))||{x:1,y:1}:{x:1,y:1},X=Vt(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:F,strategy:h}):P);return{top:(L.top-X.top+O.top)/D.y,bottom:(X.bottom-L.bottom+O.bottom)/D.y,left:(L.left-X.left+O.left)/D.x,right:(X.right-L.right+O.right)/D.x}}function Nh(t,e,n){return(t?[...n.filter(i=>wt(i)===t),...n.filter(i=>wt(i)!==t)]:n.filter(i=>hr(i)===i)).filter(i=>t?wt(i)===t||(e?Es(i)!==i:!1):!0)}var Rs,fa,ua,ha=g(()=>{ko();ko();Rs=async(t,e,n)=>{let{placement:a="bottom",strategy:i="absolute",middleware:c=[],platform:l}=n,s=c.filter(Boolean),h=await(l.isRTL==null?void 0:l.isRTL(e)),m=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:y,y:v}=Ns(m,a,h),S=a,C={},O=0;for(let w=0;w<s.length;w++){let{name:k,fn:L}=s[w],{x:P,y:F,data:D,reset:X}=await L({x:y,y:v,initialPlacement:a,placement:S,strategy:i,middlewareData:C,rects:m,platform:l,elements:{reference:t,floating:e}});if(y=P??y,v=F??v,C={...C,[k]:{...C[k],...D}},X&&O<=50){O++,typeof X=="object"&&(X.placement&&(S=X.placement),X.rects&&(m=X.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:i}):X.rects),{x:y,y:v}=Ns(m,S,h)),w=-1;continue}}return{x:y,y:v,placement:S,strategy:i,middlewareData:C}};fa=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var n,a,i;let{rects:c,middlewareData:l,placement:s,platform:h,elements:m}=e,{crossAxis:y=!1,alignment:v,allowedPlacements:S=ia,autoAlignment:C=!0,...O}=Lo(t,e),w=v!==void 0||S===ia?Nh(v||null,C,S):S,k=await pa(e,O),L=((n=l.autoPlacement)==null?void 0:n.index)||0,P=w[L];if(P==null)return{};let F=Cs(P,c,await(h.isRTL==null?void 0:h.isRTL(m.floating)));if(s!==P)return{reset:{placement:w[0]}};let D=[k[hr(P)],k[F[0]],k[F[1]]],X=[...((a=l.autoPlacement)==null?void 0:a.overflows)||[],{placement:P,overflows:D}],Ee=w[L+1];if(Ee)return{data:{index:L+1,overflows:X},reset:{placement:Ee}};let he=X.map(b=>{let E=wt(b.placement);return[b.placement,E&&y?b.overflows.slice(0,2).reduce((T,ne)=>T+ne,0):b.overflows[0],b.overflows]}).sort((b,E)=>b[1]-E[1]),Fe=((i=he.filter(b=>b[2].slice(0,wt(b[0])?2:3).every(E=>E<=0))[0])==null?void 0:i[0])||he[0][0];return Fe!==s?{data:{index:L+1,overflows:X},reset:{placement:Fe}}:{}}}},ua=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:a,placement:i}=e,{mainAxis:c=!0,crossAxis:l=!1,limiter:s={fn:k=>{let{x:L,y:P}=k;return{x:L,y:P}}},...h}=Lo(t,e),m={x:n,y:a},y=await pa(e,h),v=Po(hr(i)),S=la(v),C=m[S],O=m[v];if(c){let k=S==="y"?"top":"left",L=S==="y"?"bottom":"right",P=C+y[k],F=C-y[L];C=ca(P,C,F)}if(l){let k=v==="y"?"top":"left",L=v==="y"?"bottom":"right",P=O+y[k],F=O-y[L];O=ca(P,O,F)}let w=s.fn({...e,[S]:C,[v]:O});return{...w,data:{x:w.x-n,y:w.y-a}}}}}});function gt(t){return Is(t)?(t.nodeName||"").toLowerCase():"#document"}function Ae(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function mt(t){var e;return(e=(Is(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Is(t){return t instanceof Node||t instanceof Ae(t).Node}function tt(t){return t instanceof Element||t instanceof Ae(t).Element}function Ze(t){return t instanceof HTMLElement||t instanceof Ae(t).HTMLElement}function As(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ae(t).ShadowRoot}function gr(t){let{overflow:e,overflowX:n,overflowY:a,display:i}=Te(t);return/auto|scroll|overlay|hidden|clip/.test(e+a+n)&&!["inline","contents"].includes(i)}function Ls(t){return["table","td","th"].includes(gt(t))}function Uo(t){let e=_o(),n=Te(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(n.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(n.contain||"").includes(a))}function Ps(t){let e=jt(t);for(;Ze(e)&&!qr(e);){if(Uo(e))return e;e=jt(e)}return null}function _o(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qr(t){return["html","body","#document"].includes(gt(t))}function Te(t){return Ae(t).getComputedStyle(t)}function Yr(t){return tt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function jt(t){if(gt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||As(t)&&t.host||mt(t);return As(e)?e.host:e}function ks(t){let e=jt(t);return qr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ze(e)&&gr(e)?e:ks(e)}function To(t,e,n){var a;e===void 0&&(e=[]),n===void 0&&(n=!0);let i=ks(t),c=i===((a=t.ownerDocument)==null?void 0:a.body),l=Ae(i);return c?e.concat(l,l.visualViewport||[],gr(i)?i:[],l.frameElement&&n?To(l.frameElement):[]):e.concat(i,To(i,[],n))}var Ts=g(()=>{});function Bs(t){let e=Te(t),n=parseFloat(e.width)||0,a=parseFloat(e.height)||0,i=Ze(t),c=i?t.offsetWidth:n,l=i?t.offsetHeight:a,s=jr(n)!==c||jr(a)!==l;return s&&(n=c,a=l),{width:n,height:a,$:s}}function Ds(t){return tt(t)?t:t.contextElement}function mr(t){let e=Ds(t);if(!Ze(e))return ht(1);let n=e.getBoundingClientRect(),{width:a,height:i,$:c}=Bs(e),l=(c?jr(n.width):n.width)/a,s=(c?jr(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}function Ws(t){let e=Ae(t);return!_o()||!e.visualViewport?Rh:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ah(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Ae(t)?!1:e}function Xr(t,e,n,a){e===void 0&&(e=!1),n===void 0&&(n=!1);let i=t.getBoundingClientRect(),c=Ds(t),l=ht(1);e&&(a?tt(a)&&(l=mr(a)):l=mr(t));let s=Ah(c,n,a)?Ws(c):ht(0),h=(i.left+s.x)/l.x,m=(i.top+s.y)/l.y,y=i.width/l.x,v=i.height/l.y;if(c){let S=Ae(c),C=a&&tt(a)?Ae(a):a,O=S.frameElement;for(;O&&a&&C!==S;){let w=mr(O),k=O.getBoundingClientRect(),L=Te(O),P=k.left+(O.clientLeft+parseFloat(L.paddingLeft))*w.x,F=k.top+(O.clientTop+parseFloat(L.paddingTop))*w.y;h*=w.x,m*=w.y,y*=w.x,v*=w.y,h+=P,m+=F,O=Ae(O).frameElement}}return Vt({width:y,height:v,x:h,y:m})}function Ih(t){let{rect:e,offsetParent:n,strategy:a}=t,i=Ze(n),c=mt(n);if(n===c)return e;let l={scrollLeft:0,scrollTop:0},s=ht(1),h=ht(0);if((i||!i&&a!=="fixed")&&((gt(n)!=="body"||gr(c))&&(l=Yr(n)),Ze(n))){let m=Xr(n);s=mr(n),h.x=m.x+n.clientLeft,h.y=m.y+n.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-l.scrollLeft*s.x+h.x,y:e.y*s.y-l.scrollTop*s.y+h.y}}function Lh(t){return Array.from(t.getClientRects())}function Fs(t){return Xr(mt(t)).left+Yr(t).scrollLeft}function Ph(t){let e=mt(t),n=Yr(t),a=t.ownerDocument.body,i=Et(e.scrollWidth,e.clientWidth,a.scrollWidth,a.clientWidth),c=Et(e.scrollHeight,e.clientHeight,a.scrollHeight,a.clientHeight),l=-n.scrollLeft+Fs(t),s=-n.scrollTop;return Te(a).direction==="rtl"&&(l+=Et(e.clientWidth,a.clientWidth)-i),{width:i,height:c,x:l,y:s}}function kh(t,e){let n=Ae(t),a=mt(t),i=n.visualViewport,c=a.clientWidth,l=a.clientHeight,s=0,h=0;if(i){c=i.width,l=i.height;let m=_o();(!m||m&&e==="fixed")&&(s=i.offsetLeft,h=i.offsetTop)}return{width:c,height:l,x:s,y:h}}function Th(t,e){let n=Xr(t,!0,e==="fixed"),a=n.top+t.clientTop,i=n.left+t.clientLeft,c=Ze(t)?mr(t):ht(1),l=t.clientWidth*c.x,s=t.clientHeight*c.y,h=i*c.x,m=a*c.y;return{width:l,height:s,x:h,y:m}}function Us(t,e,n){let a;if(e==="viewport")a=kh(t,n);else if(e==="document")a=Ph(mt(t));else if(tt(e))a=Th(e,n);else{let i=Ws(t);a={...e,x:e.x-i.x,y:e.y-i.y}}return Vt(a)}function Ms(t,e){let n=jt(t);return n===e||!tt(n)||qr(n)?!1:Te(n).position==="fixed"||Ms(n,e)}function Uh(t,e){let n=e.get(t);if(n)return n;let a=To(t,[],!1).filter(s=>tt(s)&>(s)!=="body"),i=null,c=Te(t).position==="fixed",l=c?jt(t):t;for(;tt(l)&&!qr(l);){let s=Te(l),h=Uo(l);!h&&s.position==="fixed"&&(i=null),(c?!h&&!i:!h&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||gr(l)&&!h&&Ms(t,l))?a=a.filter(y=>y!==l):i=s,l=jt(l)}return e.set(t,a),a}function _h(t){let{element:e,boundary:n,rootBoundary:a,strategy:i}=t,l=[...n==="clippingAncestors"?Uh(e,this._c):[].concat(n),a],s=l[0],h=l.reduce((m,y)=>{let v=Us(e,y,i);return m.top=Et(v.top,m.top),m.right=Vr(v.right,m.right),m.bottom=Vr(v.bottom,m.bottom),m.left=Et(v.left,m.left),m},Us(e,s,i));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function Bh(t){return Bs(t)}function Dh(t,e,n){let a=Ze(e),i=mt(e),c=n==="fixed",l=Xr(t,!0,c,e),s={scrollLeft:0,scrollTop:0},h=ht(0);if(a||!a&&!c)if((gt(e)!=="body"||gr(i))&&(s=Yr(e)),a){let m=Xr(e,!0,c,e);h.x=m.x+e.clientLeft,h.y=m.y+e.clientTop}else i&&(h.x=Fs(i));return{x:l.left+s.scrollLeft-h.x,y:l.top+s.scrollTop-h.y,width:l.width,height:l.height}}function _s(t,e){return!Ze(t)||Te(t).position==="fixed"?null:e?e(t):t.offsetParent}function zs(t,e){let n=Ae(t);if(!Ze(t))return n;let a=_s(t,e);for(;a&&Ls(a)&&Te(a).position==="static";)a=_s(a,e);return a&&(gt(a)==="html"||gt(a)==="body"&&Te(a).position==="static"&&!Uo(a))?n:a||Ps(t)||n}function Fh(t){return Te(t).direction==="rtl"}var Rh,Wh,Bo,$s,Hs=g(()=>{ha();ha();ko();Ts();Rh=ht(0);Wh=async function(t){let{reference:e,floating:n,strategy:a}=t,i=this.getOffsetParent||zs,c=this.getDimensions;return{reference:Dh(e,await i(n),a),floating:{x:0,y:0,...await c(n)}}};Bo={convertOffsetParentRelativeRectToViewportRelativeRect:Ih,getDocumentElement:mt,getClippingRect:_h,getOffsetParent:zs,getElementRects:Wh,getClientRects:Lh,getDimensions:Bh,getScale:mr,isElement:tt,isRTL:Fh},$s=(t,e,n)=>{let a=new Map,i={platform:Bo,...n},c={...i.platform,_c:a};return Rs(t,e,{...i,platform:c})}});function Gs(t){return Mh(t)}function ga(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Mh(t){for(let e=t;e;e=ga(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ga(t);e;e=ga(e)){if(!(e instanceof Element))continue;let n=getComputedStyle(e);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||e.tagName==="BODY"))return e}return null}var Ks=g(()=>{});async function Zs(t,e,n){return $s(t,e,{platform:{...Bo,getOffsetParent:a=>Bo.getOffsetParent(a,Gs)},middleware:[ua({crossAxis:!0}),fa({allowedPlacements:[n]})]})}var Vs=g(()=>{"use strict";Hs();Ks()});var js,ge,Qr,Ie,le,ma=g(()=>{"use strict";js=x(B()),ge=x(oe()),Qr=x(I());ft();na();Vs();Ie=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c},le=class extends Qr.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 Qr.Debouncer,this.revealDebouncer=new Qr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return js.html`
|
|
521
|
+
`});function oi(t,e,o){return bt(t,$r(e,o))}function Co(t,e){return typeof t=="function"?t(e):t}function sr(t){return t.split("-")[0]}function xt(t){return t.split("-")[1]}function ni(t){return t==="x"?"y":"x"}function ii(t){return t==="y"?"height":"width"}function Eo(t){return["top","bottom"].includes(sr(t))?"y":"x"}function ai(t){return ni(Eo(t))}function ml(t,e,o){o===void 0&&(o=!1);let n=xt(t),i=ai(t),a=ii(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ti(s)),[s,ti(s)]}function yl(t){return t.replace(/start|end/g,e=>Ff[e])}function ti(t){return t.replace(/left|right|bottom|top/g,e=>$f[e])}function Wf(t){return{top:0,right:0,bottom:0,left:0,...t}}function gl(t){return typeof t!="number"?Wf(t):{top:t,right:t,bottom:t,left:t}}function $t(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var hl,fl,ri,$r,bt,Fr,st,$f,Ff,wo=f(()=>{hl=["top","right","bottom","left"],fl=["start","end"],ri=hl.reduce((t,e)=>t.concat(e,e+"-"+fl[0],e+"-"+fl[1]),[]),$r=Math.min,bt=Math.max,Fr=Math.round,st=t=>({x:t,y:t}),$f={left:"right",right:"left",bottom:"top",top:"bottom"},Ff={start:"end",end:"start"}});function bl(t,e,o){let{reference:n,floating:i}=t,a=Eo(e),s=ai(e),l=ii(s),d=sr(e),p=a==="y",h=n.x+n.width/2-i.width/2,g=n.y+n.height/2-i.height/2,b=n[l]/2-i[l]/2,v;switch(d){case"top":v={x:h,y:n.y-i.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:g};break;case"left":v={x:n.x-i.width,y:g};break;default:v={x:n.x,y:n.y}}switch(xt(e)){case"start":v[s]-=b*(o&&p?-1:1);break;case"end":v[s]+=b*(o&&p?-1:1);break}return v}async function si(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:g="floating",altBoundary:b=!1,padding:v=0}=Co(e,t),x=gl(v),P=l[b?g==="floating"?"reference":"floating":g],R=$t(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(P)))==null||o?P:P.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),N=g==="floating"?{...s.floating,x:n,y:i}:s.reference,M=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),_=await(a.isElement==null?void 0:a.isElement(M))?await(a.getScale==null?void 0:a.getScale(M))||{x:1,y:1}:{x:1,y:1},G=$t(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:N,offsetParent:M,strategy:d}):N);return{top:(R.top-G.top+x.top)/_.y,bottom:(G.bottom-R.bottom+x.bottom)/_.y,left:(R.left-G.left+x.left)/_.x,right:(G.right-R.right+x.right)/_.x}}function zf(t,e,o){return(t?[...o.filter(i=>xt(i)===t),...o.filter(i=>xt(i)!==t)]:o.filter(i=>sr(i)===i)).filter(i=>t?xt(i)===t||(e?yl(i)!==i:!1):!0)}var xl,ci,li,ui=f(()=>{wo();wo();xl=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:g}=bl(p,n,d),b=n,v={},x=0;for(let O=0;O<l.length;O++){let{name:P,fn:R}=l[O],{x:N,y:M,data:_,reset:G}=await R({x:h,y:g,initialPlacement:n,placement:b,strategy:i,middlewareData:v,rects:p,platform:s,elements:{reference:t,floating:e}});if(h=N??h,g=M??g,v={...v,[P]:{...v[P],..._}},G&&x<=50){x++,typeof G=="object"&&(G.placement&&(b=G.placement),G.rects&&(p=G.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):G.rects),{x:h,y:g}=bl(p,b,d)),O=-1;continue}}return{x:h,y:g,placement:b,strategy:i,middlewareData:v}};ci=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:g,allowedPlacements:b=ri,autoAlignment:v=!0,...x}=Co(t,e),O=g!==void 0||b===ri?zf(g||null,v,b):b,P=await si(e,x),R=((o=s.autoPlacement)==null?void 0:o.index)||0,N=O[R];if(N==null)return{};let M=ml(N,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==N)return{reset:{placement:O[0]}};let _=[P[sr(N)],P[M[0]],P[M[1]]],G=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:_}],ve=O[R+1];if(ve)return{data:{index:R+1,overflows:G},reset:{placement:ve}};let ce=G.map(m=>{let S=xt(m.placement);return[m.placement,S&&h?m.overflows.slice(0,2).reduce((I,Q)=>I+Q,0):m.overflows[0],m.overflows]}).sort((m,S)=>m[1]-S[1]),ke=((i=ce.filter(m=>m[2].slice(0,xt(m[0])?2:3).every(S=>S<=0))[0])==null?void 0:i[0])||ce[0][0];return ke!==l?{data:{index:R+1,overflows:G},reset:{placement:ke}}:{}}}},li=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:P=>{let{x:R,y:N}=P;return{x:R,y:N}}},...d}=Co(t,e),p={x:o,y:n},h=await si(e,d),g=Eo(sr(i)),b=ni(g),v=p[b],x=p[g];if(a){let P=b==="y"?"top":"left",R=b==="y"?"bottom":"right",N=v+h[P],M=v-h[R];v=oi(N,v,M)}if(s){let P=g==="y"?"top":"left",R=g==="y"?"bottom":"right",N=x+h[P],M=x-h[R];x=oi(N,x,M)}let O=l.fn({...e,[b]:v,[g]:x});return{...O,data:{x:O.x-o,y:O.y-n}}}}}});function ct(t){return Sl(t)?(t.nodeName||"").toLowerCase():"#document"}function Oe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function lt(t){var e;return(e=(Sl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Sl(t){return t instanceof Node||t instanceof Oe(t).Node}function qe(t){return t instanceof Element||t instanceof Oe(t).Element}function We(t){return t instanceof HTMLElement||t instanceof Oe(t).HTMLElement}function vl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Oe(t).ShadowRoot}function cr(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=Re(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function Ol(t){return["table","td","th"].includes(ct(t))}function Ro(t){let e=No(),o=Re(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Cl(t){let e=Ft(t);for(;We(e)&&!Wr(e);){if(Ro(e))return e;e=Ft(e)}return null}function No(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Wr(t){return["html","body","#document"].includes(ct(t))}function Re(t){return Oe(t).getComputedStyle(t)}function zr(t){return qe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ft(t){if(ct(t)==="html")return t;let e=t.assignedSlot||t.parentNode||vl(t)&&t.host||lt(t);return vl(e)?e.host:e}function El(t){let e=Ft(t);return Wr(e)?t.ownerDocument?t.ownerDocument.body:t.body:We(e)&&cr(e)?e:El(e)}function Ao(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=El(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Oe(i);return a?e.concat(s,s.visualViewport||[],cr(i)?i:[],s.frameElement&&o?Ao(s.frameElement):[]):e.concat(i,Ao(i,[],o))}var wl=f(()=>{});function Nl(t){let e=Re(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=We(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,l=Fr(o)!==a||Fr(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function Pl(t){return qe(t)?t:t.contextElement}function lr(t){let e=Pl(t);if(!We(e))return st(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=Nl(e),s=(a?Fr(o.width):o.width)/n,l=(a?Fr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Il(t){let e=Oe(t);return!No()||!e.visualViewport?Hf:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jf(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Oe(t)?!1:e}function Hr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=Pl(t),s=st(1);e&&(n?qe(n)&&(s=lr(n)):s=lr(t));let l=jf(a,o,n)?Il(a):st(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,g=i.height/s.y;if(a){let b=Oe(a),v=n&&qe(n)?Oe(n):n,x=b.frameElement;for(;x&&n&&v!==b;){let O=lr(x),P=x.getBoundingClientRect(),R=Re(x),N=P.left+(x.clientLeft+parseFloat(R.paddingLeft))*O.x,M=P.top+(x.clientTop+parseFloat(R.paddingTop))*O.y;d*=O.x,p*=O.y,h*=O.x,g*=O.y,d+=N,p+=M,x=Oe(x).frameElement}}return $t({width:h,height:g,x:d,y:p})}function Vf(t){let{rect:e,offsetParent:o,strategy:n}=t,i=We(o),a=lt(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},l=st(1),d=st(0);if((i||!i&&n!=="fixed")&&((ct(o)!=="body"||cr(a))&&(s=zr(o)),We(o))){let p=Hr(o);l=lr(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Gf(t){return Array.from(t.getClientRects())}function Tl(t){return Hr(lt(t)).left+zr(t).scrollLeft}function Kf(t){let e=lt(t),o=zr(t),n=t.ownerDocument.body,i=bt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=bt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Tl(t),l=-o.scrollTop;return Re(n).direction==="rtl"&&(s+=bt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Zf(t,e){let o=Oe(t),n=lt(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let p=No();(!p||p&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function qf(t,e){let o=Hr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=We(t)?lr(t):st(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:l,x:d,y:p}}function Al(t,e,o){let n;if(e==="viewport")n=Zf(t,o);else if(e==="document")n=Kf(lt(t));else if(qe(e))n=qf(e,o);else{let i=Il(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return $t(n)}function Ll(t,e){let o=Ft(t);return o===e||!qe(o)||Wr(o)?!1:Re(o).position==="fixed"||Ll(o,e)}function Yf(t,e){let o=e.get(t);if(o)return o;let n=Ao(t,[],!1).filter(l=>qe(l)&&ct(l)!=="body"),i=null,a=Re(t).position==="fixed",s=a?Ft(t):t;for(;qe(s)&&!Wr(s);){let l=Re(s),d=Ro(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||cr(s)&&!d&&Ll(t,s))?n=n.filter(h=>h!==s):i=l,s=Ft(s)}return e.set(t,n),n}function Xf(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?Yf(e,this._c):[].concat(o),n],l=s[0],d=s.reduce((p,h)=>{let g=Al(e,h,i);return p.top=bt(g.top,p.top),p.right=$r(g.right,p.right),p.bottom=$r(g.bottom,p.bottom),p.left=bt(g.left,p.left),p},Al(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Qf(t){return Nl(t)}function Jf(t,e,o){let n=We(e),i=lt(e),a=o==="fixed",s=Hr(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=st(0);if(n||!n&&!a)if((ct(e)!=="body"||cr(i))&&(l=zr(e)),n){let p=Hr(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else i&&(d.x=Tl(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Rl(t,e){return!We(t)||Re(t).position==="fixed"?null:e?e(t):t.offsetParent}function _l(t,e){let o=Oe(t);if(!We(t))return o;let n=Rl(t,e);for(;n&&Ol(n)&&Re(n).position==="static";)n=Rl(n,e);return n&&(ct(n)==="html"||ct(n)==="body"&&Re(n).position==="static"&&!Ro(n))?o:n||Cl(t)||o}function th(t){return Re(t).direction==="rtl"}var Hf,eh,Po,kl,Dl=f(()=>{ui();ui();wo();wl();Hf=st(0);eh=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||_l,a=this.getDimensions;return{reference:Jf(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};Po={convertOffsetParentRelativeRectToViewportRelativeRect:Vf,getDocumentElement:lt,getClippingRect:Xf,getOffsetParent:_l,getElementRects:eh,getClientRects:Gf,getDimensions:Qf,getScale:lr,isElement:qe,isRTL:th},kl=(t,e,o)=>{let n=new Map,i={platform:Po,...o},a={...i.platform,_c:n};return xl(t,e,{...i,platform:a})}});function Ml(t){return rh(t)}function di(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function rh(t){for(let e=t;e;e=di(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=di(t);e;e=di(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}var Bl=f(()=>{});async function Ul(t,e,o){return kl(t,e,{platform:{...Po,getOffsetParent:n=>Po.getOffsetParent(n,Ml)},middleware:[li({crossAxis:!0}),ci({allowedPlacements:[o]})]})}var $l=f(()=>{"use strict";Dl();Bl()});var Fl,le,jr,Ce,re,pi=f(()=>{"use strict";Fl=y(k()),le=y(X()),jr=y(A());it();ei();$l();Ce=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},re=class extends jr.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 jr.Debouncer,this.revealDebouncer=new jr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Fl.html`
|
|
522
522
|
<div part="container"
|
|
523
523
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
524
524
|
@mouseenter=${this.onHover}
|
|
@@ -536,46 +536,45 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
536
536
|
</div>
|
|
537
537
|
</div>
|
|
538
538
|
</div>
|
|
539
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(n=>e.has(n))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(n=>n.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Zs(this.slottedElement,this.tooltip,this.position).then(({x:e,y:n})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${n}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",e=>{e.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(e,n){return Math.max(e,Math.min(0,-n))}};le.elementDefinitions={"ft-typography":se};le.styles=vs;Ie([(0,ge.property)()],le.prototype,"text",void 0);Ie([(0,ge.property)({type:Boolean})],le.prototype,"manual",void 0);Ie([(0,ge.property)({type:Boolean})],le.prototype,"inline",void 0);Ie([(0,ge.property)({type:Number})],le.prototype,"delay",void 0);Ie([(0,ge.property)()],le.prototype,"position",void 0);Ie([(0,ge.queryAssignedNodes)()],le.prototype,"slotNodes",void 0);Ie([(0,ge.query)(".ft-tooltip--container")],le.prototype,"container",void 0);Ie([(0,ge.query)(".ft-tooltip")],le.prototype,"tooltip",void 0);Ie([(0,ge.query)(".ft-tooltip--content")],le.prototype,"tooltipContent",void 0);Ie([(0,ge.state)()],le.prototype,"visible",void 0);Ie([(0,ge.eventOptions)({passive:!0})],le.prototype,"onTouch",null);Ie([(0,ge.eventOptions)({passive:!0})],le.prototype,"onHover",null);Ie([(0,ge.eventOptions)({passive:!0})],le.prototype,"onOut",null);Ie([(0,ge.eventOptions)({passive:!0})],le.prototype,"onClick",null)});var qs=g(()=>{"use strict"});var Ys,ya=g(()=>{"use strict";Ys=x(I());ma();ma();na();qs();(0,Ys.customElement)("ft-tooltip")(le)});var Do=Mt((F0,Xs)=>{Xs.exports=ftGlobals.litUnsafeHTML});function Qs(t,e){var n,a,i,c;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[l,s]=(((n=zh.get(t))!==null&&n!==void 0?n:t)+"/").split("/");return(c=(i=(a=ba.get(s))!==null&&a!==void 0?a:ba.get(e))!==null&&i!==void 0?i:ba.get(l))!==null&&c!==void 0?c:N.UNKNOWN}var Nt,N,ba,zh,M0,xa=g(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.EYE="",t.SHARE="󨃱"})(Nt||(Nt={}));(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(N||(N={}));ba=new Map([...["abw"].map(t=>[t,N.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,N.AUDIO]),...["avi"].map(t=>[t,N.AVI]),...["chm","xhs"].map(t=>[t,N.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,N.CODE]),...["csv"].map(t=>[t,N.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,N.DITA]),...["epub"].map(t=>[t,N.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,N.EXCEL]),...["flac"].map(t=>[t,N.FLAC]),...["gif"].map(t=>[t,N.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,N.GZIP]),...["html","htm","xhtml"].map(t=>[t,N.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,N.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,N.JPEG]),...["json"].map(t=>[t,N.JSON]),...["m4a","m4p"].map(t=>[t,N.M4A]),...["mov","qt"].map(t=>[t,N.MOV]),...["mp3"].map(t=>[t,N.MP3]),...["mp4","m4v"].map(t=>[t,N.MP4]),...["ogg","oga"].map(t=>[t,N.OGG]),...["pdf","ps"].map(t=>[t,N.PDF]),...["png"].map(t=>[t,N.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,N.POWERPOINT]),...["rar"].map(t=>[t,N.RAR]),...["stp"].map(t=>[t,N.STP]),...["txt","rtf","md","mdown"].map(t=>[t,N.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,N.VIDEO]),...["wav"].map(t=>[t,N.WAV]),...["wma"].map(t=>[t,N.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,N.WORD]),...["xml","xsl","rdf"].map(t=>[t,N.XML]),...["yaml","yml","x-yaml"].map(t=>[t,N.YAML]),...["zip"].map(t=>[t,N.ZIP])]),zh=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);M0={[N.ABW]:"#91ABC6",[N.AUDIO]:"#1795E3",[N.AVI]:"#E63324",[N.CHM]:"#71C3EB",[N.CODE]:"#71C3EB",[N.CSV]:"#1F7345",[N.DITA]:"#71C3EB",[N.EPUB]:"#85B926",[N.EXCEL]:"#1F7345",[N.FLAC]:"#1795E3",[N.GIF]:"#59B031",[N.GZIP]:"#F8AB36",[N.HTML]:"#71C3EB",[N.IMAGE]:"#59B031",[N.JPEG]:"#59B031",[N.JSON]:"#71C3EB",[N.M4A]:"#1795E3",[N.MOV]:"#E63324",[N.MP3]:"#1795E3",[N.MP4]:"#E63324",[N.OGG]:"#1795E3",[N.PDF]:"#E44948",[N.PNG]:"#59B031",[N.POWERPOINT]:"#B54A2B",[N.RAR]:"#F8AB36",[N.STP]:"#3764B1",[N.TEXT]:"#3162AB",[N.UNKNOWN]:"#999999",[N.VIDEO]:"#E63324",[N.WAV]:"#1795E3",[N.WMA]:"#1795E3",[N.WORD]:"#3162AB",[N.XML]:"#71C3EB",[N.YAML]:"#71C3EB",[N.ZIP]:"#F8AB36"}});var Ve,va=g(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ve||(Ve={}))});var Jr,qt,Js,ed,Wo,Le,Sa=g(()=>{"use strict";Jr=x(B()),qt=x(oe()),Js=x(I()),ed=x(Do());xa();Mr();va();Wo=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c},Le=class extends Js.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Jr.nothing}render(){let e=this.variant&&Object.values(Ve).includes(this.variant)?this.variant:Ve.fluid_topics,n=e!==Ve.material||!!this.value;return Jr.html`
|
|
539
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ul(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.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(e,o){return Math.max(e,Math.min(0,-o))}};re.elementDefinitions={"ft-typography":oe};re.styles=pl;Ce([(0,le.property)()],re.prototype,"text",void 0);Ce([(0,le.property)({type:Boolean})],re.prototype,"manual",void 0);Ce([(0,le.property)({type:Boolean})],re.prototype,"inline",void 0);Ce([(0,le.property)({type:Number})],re.prototype,"delay",void 0);Ce([(0,le.property)()],re.prototype,"position",void 0);Ce([(0,le.queryAssignedNodes)()],re.prototype,"slotNodes",void 0);Ce([(0,le.query)(".ft-tooltip--container")],re.prototype,"container",void 0);Ce([(0,le.query)(".ft-tooltip")],re.prototype,"tooltip",void 0);Ce([(0,le.query)(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0);Ce([(0,le.state)()],re.prototype,"visible",void 0);Ce([(0,le.eventOptions)({passive:!0})],re.prototype,"onTouch",null);Ce([(0,le.eventOptions)({passive:!0})],re.prototype,"onHover",null);Ce([(0,le.eventOptions)({passive:!0})],re.prototype,"onOut",null);Ce([(0,le.eventOptions)({passive:!0})],re.prototype,"onClick",null)});var Wl=f(()=>{"use strict"});var zl,fi=f(()=>{"use strict";zl=y(A());pi();pi();ei();Wl();(0,zl.customElement)("ft-tooltip")(re)});var Io=_t((ev,Hl)=>{Hl.exports=ftGlobals.litUnsafeHTML});function jl(t,e){var o,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((o=oh.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(a=(i=(n=hi.get(l))!==null&&n!==void 0?n:hi.get(e))!==null&&i!==void 0?i:hi.get(s))!==null&&a!==void 0?a:E.UNKNOWN}var vt,E,hi,oh,tv,mi=f(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.EYE="",t.SHARE="󨃱"})(vt||(vt={}));(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(E||(E={}));hi=new Map([...["abw"].map(t=>[t,E.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,E.AUDIO]),...["avi"].map(t=>[t,E.AVI]),...["chm","xhs"].map(t=>[t,E.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,E.CODE]),...["csv"].map(t=>[t,E.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,E.DITA]),...["epub"].map(t=>[t,E.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,E.EXCEL]),...["flac"].map(t=>[t,E.FLAC]),...["gif"].map(t=>[t,E.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,E.GZIP]),...["html","htm","xhtml"].map(t=>[t,E.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,E.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,E.JPEG]),...["json"].map(t=>[t,E.JSON]),...["m4a","m4p"].map(t=>[t,E.M4A]),...["mov","qt"].map(t=>[t,E.MOV]),...["mp3"].map(t=>[t,E.MP3]),...["mp4","m4v"].map(t=>[t,E.MP4]),...["ogg","oga"].map(t=>[t,E.OGG]),...["pdf","ps"].map(t=>[t,E.PDF]),...["png"].map(t=>[t,E.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,E.POWERPOINT]),...["rar"].map(t=>[t,E.RAR]),...["stp"].map(t=>[t,E.STP]),...["txt","rtf","md","mdown"].map(t=>[t,E.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,E.VIDEO]),...["wav"].map(t=>[t,E.WAV]),...["wma"].map(t=>[t,E.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,E.WORD]),...["xml","xsl","rdf"].map(t=>[t,E.XML]),...["yaml","yml","x-yaml"].map(t=>[t,E.YAML]),...["zip"].map(t=>[t,E.ZIP])]),oh=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);tv={[E.ABW]:"#91ABC6",[E.AUDIO]:"#1795E3",[E.AVI]:"#E63324",[E.CHM]:"#71C3EB",[E.CODE]:"#71C3EB",[E.CSV]:"#1F7345",[E.DITA]:"#71C3EB",[E.EPUB]:"#85B926",[E.EXCEL]:"#1F7345",[E.FLAC]:"#1795E3",[E.GIF]:"#59B031",[E.GZIP]:"#F8AB36",[E.HTML]:"#71C3EB",[E.IMAGE]:"#59B031",[E.JPEG]:"#59B031",[E.JSON]:"#71C3EB",[E.M4A]:"#1795E3",[E.MOV]:"#E63324",[E.MP3]:"#1795E3",[E.MP4]:"#E63324",[E.OGG]:"#1795E3",[E.PDF]:"#E44948",[E.PNG]:"#59B031",[E.POWERPOINT]:"#B54A2B",[E.RAR]:"#F8AB36",[E.STP]:"#3764B1",[E.TEXT]:"#3162AB",[E.UNKNOWN]:"#999999",[E.VIDEO]:"#E63324",[E.WAV]:"#1795E3",[E.WMA]:"#1795E3",[E.WORD]:"#3162AB",[E.XML]:"#71C3EB",[E.YAML]:"#71C3EB",[E.ZIP]:"#F8AB36"}});var Ne,yi=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ne||(Ne={}))});var Vr,Wt,Vl,Gl,To,Ee,gi=f(()=>{"use strict";Vr=y(k()),Wt=y(X()),Vl=y(A()),Gl=y(Io());mi();Lr();yi();To=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ee=class extends Vl.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Vr.nothing}render(){let e=this.variant&&Object.values(Ne).includes(this.variant)?this.variant:Ne.fluid_topics,o=e!==Ne.material||!!this.value;return Vr.html`
|
|
540
540
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
541
|
-
${(0,
|
|
542
|
-
<slot ?hidden=${
|
|
541
|
+
${(0,Gl.unsafeHTML)(this.resolvedIcon)}
|
|
542
|
+
<slot ?hidden=${o}></slot>
|
|
543
543
|
</i>
|
|
544
|
-
`}get textContent(){var e,
|
|
544
|
+
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case Ne.file_format:this.resolvedIcon=(e=E[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Ne.material:this.resolvedIcon=this.value||Vr.nothing;break;default:this.resolvedIcon=(o=vt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Ee.elementDefinitions={};Ee.styles=_c;To([(0,Wt.property)()],Ee.prototype,"variant",void 0);To([(0,Wt.property)()],Ee.prototype,"value",void 0);To([(0,Wt.state)()],Ee.prototype,"resolvedIcon",void 0);To([(0,Wt.query)("slot")],Ee.prototype,"slottedContent",void 0)});var Kl,Lo=f(()=>{"use strict";Kl=y(A());gi();Lr();yi();gi();mi();(0,Kl.customElement)("ft-icon")(Ee)});var Zl,ql,zt,bi=f(()=>{"use strict";Zl=y(k()),ql=y(A());Tr();zt=class extends ql.FtLitElement{render(){return Zl.html`
|
|
545
545
|
<div class="ft-loader">
|
|
546
546
|
<div></div>
|
|
547
547
|
<div></div>
|
|
548
548
|
<div></div>
|
|
549
549
|
<div></div>
|
|
550
550
|
</div>
|
|
551
|
-
`}};
|
|
551
|
+
`}};zt.styles=Tc});var Yl=f(()=>{"use strict"});var Xl,Ql=f(()=>{"use strict";Xl=y(A());bi();Tr();Yl();bi();(0,Xl.customElement)("ft-loader")(zt)});var dr,ur,Jl,be,Pe,se,xi=f(()=>{"use strict";dr=y(A());bo();fi();it();Lo();Ql();ur=y(k()),Jl=y(_r()),be=y(X()),Pe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},se=class extends(0,dr.toFtFormComponent)(dr.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.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){return this.addTooltipIfNeeded(ur.html`
|
|
552
552
|
<button part="button"
|
|
553
|
-
class="${(0,
|
|
553
|
+
class="${(0,Jl.classMap)(this.buttonClasses)}"
|
|
554
554
|
aria-label="${this.getLabel()}"
|
|
555
555
|
?disabled=${this.isDisabled()}>
|
|
556
556
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
557
557
|
<ft-typography part="label"
|
|
558
558
|
variant=${this.typographyVariant}
|
|
559
559
|
element="span"
|
|
560
|
-
class="ft-button--label ${
|
|
560
|
+
class="ft-button--label ${dr.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
561
561
|
?hidden=${!this.hasTextContent()}>
|
|
562
562
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
563
563
|
</ft-typography>
|
|
564
564
|
${this.resolveIcon()}
|
|
565
565
|
</button>
|
|
566
|
-
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
566
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ur.html`
|
|
567
567
|
<ft-tooltip part="tooltip"
|
|
568
568
|
text="${this.getLabel()}"
|
|
569
569
|
position="${this.tooltipPosition}">
|
|
570
570
|
${e}
|
|
571
571
|
</ft-tooltip>
|
|
572
|
-
`:e}resolveIcon(){return this.loading?
|
|
573
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
572
|
+
`:e}resolveIcon(){return this.loading?ur.html`
|
|
573
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?ur.html`
|
|
574
574
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
575
|
-
`:
|
|
575
|
+
`:ur.html`
|
|
576
576
|
<slot part="icon" name="icon"></slot>
|
|
577
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(n=>this.unslotText(n)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ue.elementDefinitions={"ft-ripple":te,"ft-tooltip":le,"ft-typography":se,"ft-icon":Le,"ft-loader":Yt};Ue([(0,Oe.property)({type:String,reflect:!0})],ue.prototype,"role",void 0);Ue([(0,Oe.property)()],ue.prototype,"type",void 0);Ue([(0,Oe.property)({type:Boolean})],ue.prototype,"disabled",void 0);Ue([(0,Oe.property)()],ue.prototype,"label",void 0);Ue([(0,Oe.property)()],ue.prototype,"icon",void 0);Ue([(0,Oe.property)()],ue.prototype,"iconVariant",void 0);Ue([(0,Oe.property)({type:Boolean})],ue.prototype,"trailingIcon",void 0);Ue([(0,Oe.property)({type:Boolean})],ue.prototype,"loading",void 0);Ue([(0,Oe.property)()],ue.prototype,"tooltipPosition",void 0);Ue([(0,Oe.property)({type:Boolean})],ue.prototype,"hideTooltip",void 0);Ue([(0,Oe.property)({type:Boolean})],ue.prototype,"forceTooltip",void 0);Ue([(0,Oe.query)(".ft-button")],ue.prototype,"button",void 0);Ue([(0,Oe.query)(".ft-button--label slot")],ue.prototype,"slottedContent",void 0)});var eo,ld,Fo,_e,wa=g(()=>{"use strict";eo=x(oe()),ld=x(I());Gn();Ea();Fo=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c},_e=class extends ue{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"}};_e.styles=[ld.safariEllipsisFix,Kl];Fo([(0,eo.property)({type:Boolean})],_e.prototype,"primary",void 0);Fo([(0,eo.property)({type:Boolean})],_e.prototype,"outlined",void 0);Fo([(0,eo.property)({type:Boolean})],_e.prototype,"dense",void 0);Fo([(0,eo.property)({type:Boolean})],_e.prototype,"round",void 0)});var yt,Rt,o,Z=g(()=>{yt=x(B(),1),Rt=t=>typeof t=="string"?(0,yt.unsafeCSS)(t):t,o=class{static create(e,n,a,i){let c=s=>Rt(s??i),l=yt.css`var(${Rt(e)}, ${c(i)})`;return l.name=e,l.description=n,l.category=a,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>yt.css`var(${Rt(e)}, ${c(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,n,a,i){let c=s=>a.get(s??i),l=yt.css`var(${Rt(e)}, ${c(i)})`;return l.name=e,l.description=n,l.category=a.category,l.fallbackVariable=a,l.defaultValue=i,l.defaultCssValue=c,l.get=s=>yt.css`var(${Rt(e)}, ${c(s)})`,l.breadcrumb=()=>[a.name,...a.breadcrumb()],l.lastResortDefaultValue=()=>i??a.lastResortDefaultValue(),l}static external(e,n){let a=c=>e.fallbackVariable?e.fallbackVariable.get(c??e.defaultValue):Rt(c??e.lastResortDefaultValue()),i=yt.css`var(${Rt(e.name)}, ${a(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=n,i.defaultCssValue=a,i.get=c=>yt.css`var(${Rt(e.name)}, ${a(c)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}}});var d,yv,bv,xv,vv,Sv,Ov,Cv,Ev,wv,Nv,Rv,Av,Iv,Lv,Pv,kv,Tv,Uv,_v,Bv,Dv,Wv,Fv,Mv,zv,$v,q=g(()=>{Z();d={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},yv={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},bv={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},xv={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},vv={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Sv={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ov={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Cv={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ev={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},wv={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Nv={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Rv={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Av={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Iv={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Lv={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Pv={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},kv={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Tv={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Uv={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_v={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Bv={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Dv={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Wv={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Fv={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Mv={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},zv={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},$v={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}});var u,re=g(()=>{Z();q();u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
578
|
-
Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)}});var A,sd=g(()=>{Z();q();re();A={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:o.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",d.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",d.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",d.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",d.spacing2),smallGap:o.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",d.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",d.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",d.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)}});var eS,dd=g(()=>{Z();q();re();eS={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:o.extend("--ft-chip-large-gap","",d.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.extend("--ft-chip-large-border-radius","",d.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",d.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.extend("--ft-chip-medium-border-radius","",d.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:o.extend("--ft-chip-small-gap","",d.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.extend("--ft-chip-small-border-radius","",d.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)}});var aS,pd=g(()=>{Z();q();re();aS={focusOpacity:o.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",u.contentInfoPrimary)}});var dS,fd=g(()=>{Z();q();re();dS={iconSize:o.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)}});var gS,ud=g(()=>{Z();q();re();gS={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)}});var vS,hd=g(()=>{Z();q();re();vS={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)}});var wS,gd=g(()=>{Z();q();re();wS={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",d.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)}});var LS,md=g(()=>{Z();q();re();LS={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:o.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",d.borderRadiusM)}});var _S,yd=g(()=>{Z();q();re();_S={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",d.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",d.colorGray700)}});var MS,bd=g(()=>{Z();q();re();MS={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)}});var KS,xd=g(()=>{Z();q();re();KS={backgroundColor:o.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",d.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",d.borderRadiusM)}});var YS,vd=g(()=>{Z();q();re();YS={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)}});var tO,Sd=g(()=>{Z();q();re();tO={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)}});var iO,Od=g(()=>{Z();q();re();iO={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",d.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)}});var pO,Cd=g(()=>{Z();q();re();pO={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",d.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",d.shadowElevation02)}});var mO,Ed=g(()=>{Z();q();re();mO={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",d.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity8),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity0),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity16),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)}});var SO,wd=g(()=>{Z();q();re();SO={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",d.iconSize3)}});var NO,Nd=g(()=>{Z();q();re();NO={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:o.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",d.borderRadiusS)}});var LO,Rd=g(()=>{Z();q();LO={color1Light:o.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",d.colorRed40),color5Base:o.extend("--ft-chart-5-base","",d.colorRed60),color6Light:o.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",d.colorGray50),color10Base:o.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",d.colorBrand200)}});var _O,Ad=g(()=>{Z();q();re();_O={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:o.extend("--ft-notice-gap","",d.spacing2),iconSize:o.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)}});var MO,Id=g(()=>{Z();q();re();MO={color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",d.spacing3)}});var KO,Ld=g(()=>{Z();q();re();KO={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",d.spacing3)}});var YO,Pd=g(()=>{Z();q();re();YO={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",d.spacing3)}});var tC,kd=g(()=>{Z();q();re();tC={iconSize:o.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",d.spacing8)}});var iC,Td=g(()=>{Z();q();re();iC={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:o.extend("--ft-tooltip-shadow","",d.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",d.spacing05)}});var Ud=g(()=>{q();re();sd();dd();pd();fd();ud();hd();gd();md();yd();bd();xd();vd();Sd();Od();Cd();Ed();wd();Nd();Rd();Ad();Id();Ld();Pd();kd();Td()});var _d,Bd,Dd=g(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(_d||(_d={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(Bd||(Bd={}))});var Na=g(()=>{Z();Ud();Dd()});var Wd,H,Fd,Ra=g(()=>{"use strict";Wd=x(B()),H=x(I());$t();Fr();Mr();Na();Na();Fd=[Wd.css`
|
|
577
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(o=>this.unslotText(o)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};se.elementDefinitions={"ft-ripple":Y,"ft-tooltip":re,"ft-typography":oe,"ft-icon":Ee,"ft-loader":zt};Pe([(0,be.property)({type:String,reflect:!0})],se.prototype,"role",void 0);Pe([(0,be.property)()],se.prototype,"type",void 0);Pe([(0,be.property)({type:Boolean})],se.prototype,"disabled",void 0);Pe([(0,be.property)()],se.prototype,"label",void 0);Pe([(0,be.property)()],se.prototype,"icon",void 0);Pe([(0,be.property)()],se.prototype,"iconVariant",void 0);Pe([(0,be.property)({type:Boolean})],se.prototype,"trailingIcon",void 0);Pe([(0,be.property)({type:Boolean})],se.prototype,"loading",void 0);Pe([(0,be.property)()],se.prototype,"tooltipPosition",void 0);Pe([(0,be.property)({type:Boolean})],se.prototype,"hideTooltip",void 0);Pe([(0,be.property)({type:Boolean})],se.prototype,"forceTooltip",void 0);Pe([(0,be.query)(".ft-button")],se.prototype,"button",void 0);Pe([(0,be.query)(".ft-button--label slot")],se.prototype,"slottedContent",void 0)});var Gr,eu,_o,Ie,vi=f(()=>{"use strict";Gr=y(X()),eu=y(A());Fn();xi();_o=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ie=class extends se{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"}};Ie.styles=[eu.safariEllipsisFix,Bc];_o([(0,Gr.property)({type:Boolean})],Ie.prototype,"primary",void 0);_o([(0,Gr.property)({type:Boolean})],Ie.prototype,"outlined",void 0);_o([(0,Gr.property)({type:Boolean})],Ie.prototype,"dense",void 0);_o([(0,Gr.property)({type:Boolean})],Ie.prototype,"round",void 0)});var tu,F,ru,Si=f(()=>{"use strict";tu=y(k()),F=y(A());Dt();Tr();Lr();W();W();ru=[tu.css`
|
|
579
578
|
:host {
|
|
580
579
|
display: inline-block;
|
|
581
580
|
max-width: 100%;
|
|
@@ -625,7 +624,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
625
624
|
}
|
|
626
625
|
|
|
627
626
|
.ft-button:focus-visible {
|
|
628
|
-
outline-color: ${
|
|
627
|
+
outline-color: ${C.focusFocusRingColor};
|
|
629
628
|
outline-style: solid;
|
|
630
629
|
}
|
|
631
630
|
|
|
@@ -651,153 +650,179 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
651
650
|
display: none;
|
|
652
651
|
}
|
|
653
652
|
|
|
653
|
+
.ft-button.ft-button--icon-only {
|
|
654
|
+
padding: unset;
|
|
655
|
+
border-radius: 50%;
|
|
656
|
+
}
|
|
657
|
+
|
|
654
658
|
/** Primary styles **/
|
|
655
659
|
|
|
656
660
|
.ft-button--primary {
|
|
657
|
-
${(0,
|
|
661
|
+
${(0,F.setVariable)(ye.color,C.primaryIconColor)};
|
|
658
662
|
|
|
659
|
-
${(0,
|
|
660
|
-
${(0,
|
|
661
|
-
${(0,
|
|
662
|
-
${(0,
|
|
663
|
-
${(0,
|
|
663
|
+
${(0,F.setVariable)(U.color,C.primaryStateLayerColor)};
|
|
664
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceHover,C.primaryHoverStateLayerOpacity)};
|
|
665
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceFocused,C.primaryFocusStateLayerOpacity)};
|
|
666
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceSelected,C.primaryActiveStateLayerOpacity)};
|
|
667
|
+
${(0,F.setVariable)(U.opacityContentOnSurfacePressed,C.primaryActiveStateLayerOpacity)};
|
|
664
668
|
|
|
665
|
-
background-color: ${
|
|
666
|
-
color: ${
|
|
669
|
+
background-color: ${C.primaryBackgroundColor};
|
|
670
|
+
color: ${C.primaryColor};
|
|
667
671
|
border-style: none;
|
|
668
672
|
}
|
|
669
673
|
|
|
670
674
|
.ft-button--primary[disabled] {
|
|
671
|
-
opacity: ${
|
|
675
|
+
opacity: ${C.primaryDisabledComponentOpacity};
|
|
672
676
|
}
|
|
673
677
|
|
|
674
678
|
.ft-button--primary ft-icon {
|
|
675
|
-
color: ${
|
|
679
|
+
color: ${C.primaryIconColor};
|
|
676
680
|
}
|
|
677
681
|
|
|
678
682
|
/** Secondary styles **/
|
|
679
683
|
|
|
680
684
|
.ft-button--secondary {
|
|
681
|
-
${(0,
|
|
685
|
+
${(0,F.setVariable)(ye.color,C.secondaryIconColor)};
|
|
682
686
|
|
|
683
|
-
${(0,
|
|
684
|
-
${(0,
|
|
685
|
-
${(0,
|
|
686
|
-
${(0,
|
|
687
|
-
${(0,
|
|
687
|
+
${(0,F.setVariable)(U.color,C.secondaryStateLayerColor)};
|
|
688
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceHover,C.secondaryHoverStateLayerOpacity)};
|
|
689
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceFocused,C.secondaryFocusStateLayerOpacity)};
|
|
690
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceSelected,C.secondaryActiveStateLayerOpacity)};
|
|
691
|
+
${(0,F.setVariable)(U.opacityContentOnSurfacePressed,C.secondaryActiveStateLayerOpacity)};
|
|
688
692
|
|
|
689
|
-
background-color: ${
|
|
690
|
-
color: ${
|
|
691
|
-
border-color: ${
|
|
693
|
+
background-color: ${C.secondaryBackgroundColor};
|
|
694
|
+
color: ${C.secondaryColor};
|
|
695
|
+
border-color: ${C.secondaryBorderColor};
|
|
692
696
|
border-style: solid;
|
|
693
697
|
}
|
|
694
698
|
|
|
695
699
|
.ft-button--secondary[disabled] {
|
|
696
|
-
opacity: ${
|
|
700
|
+
opacity: ${C.secondaryDisabledComponentOpacity};
|
|
697
701
|
}
|
|
698
702
|
|
|
699
703
|
.ft-button--secondary ft-icon {
|
|
700
|
-
color: ${
|
|
704
|
+
color: ${C.secondaryIconColor};
|
|
701
705
|
}
|
|
702
706
|
|
|
703
707
|
/** Tertiary styles **/
|
|
704
708
|
|
|
705
709
|
.ft-button--tertiary {
|
|
706
|
-
${(0,
|
|
710
|
+
${(0,F.setVariable)(ye.color,C.tertiaryIconColor)};
|
|
707
711
|
|
|
708
|
-
${(0,
|
|
709
|
-
${(0,
|
|
710
|
-
${(0,
|
|
711
|
-
${(0,
|
|
712
|
-
${(0,
|
|
712
|
+
${(0,F.setVariable)(U.color,C.tertiaryStateLayerColor)};
|
|
713
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceHover,C.tertiaryHoverStateLayerOpacity)};
|
|
714
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceFocused,C.tertiaryFocusStateLayerOpacity)};
|
|
715
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceSelected,C.tertiaryActiveStateLayerOpacity)};
|
|
716
|
+
${(0,F.setVariable)(U.opacityContentOnSurfacePressed,C.tertiaryActiveStateLayerOpacity)};
|
|
713
717
|
|
|
714
|
-
background-color: ${
|
|
715
|
-
color: ${
|
|
718
|
+
background-color: ${C.tertiaryBackgroundColor};
|
|
719
|
+
color: ${C.tertiaryColor};
|
|
716
720
|
border-style: none;
|
|
717
721
|
}
|
|
718
722
|
|
|
719
723
|
.ft-button--tertiary[disabled] {
|
|
720
|
-
opacity: ${
|
|
724
|
+
opacity: ${C.tertiaryDisabledComponentOpacity};
|
|
721
725
|
}
|
|
722
726
|
|
|
723
727
|
.ft-button--tertiary ft-icon {
|
|
724
|
-
color: ${
|
|
728
|
+
color: ${C.tertiaryIconColor};
|
|
725
729
|
}
|
|
726
730
|
|
|
727
731
|
/** Neutral styles **/
|
|
728
732
|
|
|
729
|
-
.
|
|
730
|
-
${(0,
|
|
733
|
+
.ftds--family-neutral {
|
|
734
|
+
${(0,F.setVariable)(ye.color,C.neutralIconColor)};
|
|
731
735
|
|
|
732
|
-
${(0,
|
|
733
|
-
${(0,
|
|
734
|
-
${(0,
|
|
735
|
-
${(0,
|
|
736
|
-
${(0,
|
|
736
|
+
${(0,F.setVariable)(U.backgroundColor,C.neutralStateLayerColor)};
|
|
737
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceHover,C.neutralHoverStateLayerOpacity)};
|
|
738
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceFocused,C.neutralFocusStateLayerOpacity)};
|
|
739
|
+
${(0,F.setVariable)(U.opacityContentOnSurfaceSelected,C.neutralActiveStateLayerOpacity)};
|
|
740
|
+
${(0,F.setVariable)(U.opacityContentOnSurfacePressed,C.neutralActiveStateLayerOpacity)};
|
|
737
741
|
|
|
738
|
-
background-color: ${
|
|
739
|
-
color: ${
|
|
742
|
+
background-color: ${C.neutralBackgroundColor};
|
|
743
|
+
color: ${C.neutralColor};
|
|
740
744
|
border-style: none;
|
|
741
745
|
}
|
|
742
746
|
|
|
743
|
-
.
|
|
744
|
-
opacity: ${
|
|
747
|
+
.ftds--family-neutral[disabled] {
|
|
748
|
+
opacity: ${C.neutralDisabledComponentOpacity};
|
|
745
749
|
}
|
|
746
750
|
|
|
747
|
-
.
|
|
748
|
-
color: ${
|
|
751
|
+
.ftds--family-neutral ft-icon {
|
|
752
|
+
color: ${C.neutralIconColor};
|
|
749
753
|
}
|
|
750
754
|
|
|
751
755
|
/** Large styles **/
|
|
752
756
|
|
|
753
|
-
.
|
|
754
|
-
${(0,
|
|
755
|
-
${(0,
|
|
757
|
+
.ftds--size-large {
|
|
758
|
+
${(0,F.setVariable)(ge.size,C.largeIconSize)};
|
|
759
|
+
${(0,F.setVariable)(ye.size,C.largeIconSize)};
|
|
756
760
|
|
|
757
|
-
height: ${
|
|
758
|
-
padding: 0 ${
|
|
759
|
-
gap: ${
|
|
760
|
-
border-radius: ${
|
|
761
|
-
border-width: ${
|
|
761
|
+
height: ${C.largeHeight};
|
|
762
|
+
padding: 0 ${C.largeHorizontalPadding};
|
|
763
|
+
gap: ${C.largeGap};
|
|
764
|
+
border-radius: ${C.largeBorderRadius};
|
|
765
|
+
border-width: ${C.largeBorderWidth};
|
|
762
766
|
}
|
|
763
767
|
|
|
764
|
-
.
|
|
765
|
-
outline-width: ${
|
|
766
|
-
outline-offset: ${
|
|
768
|
+
.ftds--size-large:focus-visible {
|
|
769
|
+
outline-width: ${C.largeFocusOutlineWidth};
|
|
770
|
+
outline-offset: ${C.largeFocusOutlineOffset};
|
|
767
771
|
}
|
|
768
772
|
|
|
769
|
-
.
|
|
770
|
-
width: ${
|
|
771
|
-
padding: unset;
|
|
773
|
+
.ftds--size-large.ft-button--icon-only {
|
|
774
|
+
width: ${C.largeIconOnlyWidth};
|
|
772
775
|
}
|
|
773
776
|
|
|
774
777
|
/** Small styles **/
|
|
775
778
|
|
|
776
|
-
.
|
|
777
|
-
${(0,
|
|
778
|
-
${(0,
|
|
779
|
+
.ftds--size-medium {
|
|
780
|
+
${(0,F.setVariable)(ge.size,C.mediumIconSize)};
|
|
781
|
+
${(0,F.setVariable)(ye.size,C.mediumIconSize)};
|
|
779
782
|
|
|
780
|
-
height: ${
|
|
781
|
-
padding: 0 ${
|
|
782
|
-
gap: ${
|
|
783
|
-
border-radius: ${
|
|
784
|
-
border-width: ${
|
|
783
|
+
height: ${C.mediumHeight};
|
|
784
|
+
padding: 0 ${C.mediumHorizontalPadding};
|
|
785
|
+
gap: ${C.mediumGap};
|
|
786
|
+
border-radius: ${C.mediumBorderRadius};
|
|
787
|
+
border-width: ${C.mediumBorderWidth};
|
|
785
788
|
}
|
|
786
789
|
|
|
787
|
-
.
|
|
788
|
-
outline-width: ${
|
|
789
|
-
outline-offset: ${
|
|
790
|
+
.ftds--size-medium:focus-visible {
|
|
791
|
+
outline-width: ${C.mediumFocusOutlineWidth};
|
|
792
|
+
outline-offset: ${C.mediumFocusOutlineOffset};
|
|
790
793
|
}
|
|
791
794
|
|
|
792
|
-
.
|
|
793
|
-
width: ${
|
|
794
|
-
|
|
795
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
796
|
+
width: ${C.mediumIconOnlyWidth};
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
/** Small styles **/
|
|
801
|
+
|
|
802
|
+
.ftds--size-small {
|
|
803
|
+
${(0,F.setVariable)(ge.size,C.smallIconSize)};
|
|
804
|
+
${(0,F.setVariable)(ye.size,C.smallIconSize)};
|
|
805
|
+
|
|
806
|
+
height: ${C.smallHeight};
|
|
807
|
+
padding: 0 ${C.smallHorizontalPadding};
|
|
808
|
+
gap: ${C.smallGap};
|
|
809
|
+
border-radius: ${C.smallBorderRadius};
|
|
810
|
+
border-width: ${C.smallBorderWidth};
|
|
795
811
|
}
|
|
796
|
-
|
|
812
|
+
|
|
813
|
+
.ftds--size-small:focus-visible {
|
|
814
|
+
outline-width: ${C.smallFocusOutlineWidth};
|
|
815
|
+
outline-offset: ${C.smallFocusOutlineOffset};
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.ftds--size-small.ft-button--icon-only {
|
|
819
|
+
width: ${C.smallIconOnlyWidth};
|
|
820
|
+
}
|
|
821
|
+
`,F.noTextSelect]});var Kr,Do,ko,ut,Oi=f(()=>{"use strict";xi();Kr=y(X());Oo();Do=y(A());Si();W();Lo();ko=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ut=class extends(0,Do.toFtdsBase)(se){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=ho.brand,this.iconVariant=Ne.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 qt.large:return yt.body2medium;case qt.medium:return yt.caption1medium;case qt.small:return yt.caption2medium}}};ut.styles=[Do.safariEllipsisFix,ru];ko([(0,Kr.property)({type:Boolean})],ut.prototype,"primary",void 0);ko([(0,Kr.property)({type:Boolean})],ut.prototype,"secondary",void 0);ko([(0,Kr.property)({type:Boolean})],ut.prototype,"tertiary",void 0);ko([(0,Kr.property)({type:Boolean})],ut.prototype,"round",void 0)});var ou=f(()=>{"use strict"});var nu=f(()=>{"use strict"});var Ci,Mo=f(()=>{"use strict";Ci=y(A());vi();Oi();vi();Fn();ou();Oi();Si();nu();(0,Ci.customElement)("ft-button")(Ie);(0,Ci.customElement)("ftds-button")(ut)});var iu,V,Z,Ei,Zr=f(()=>{"use strict";iu=y(k()),V=y(A());Mo();fi();Z={height:V.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:V.FtCssVariableFactory.extend("--ft-search-input-border-radius","",V.designSystemVariables.borderRadiusS),desktopFiltersHeight:V.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:V.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:V.FtCssVariableFactory.extend("--ft-search-input-background-color","",V.designSystemVariables.colorSurface),colorOnSurface:V.FtCssVariableFactory.extend("--ft-search-input-color","",V.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:V.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",V.designSystemVariables.colorOnSurfaceMedium),colorOutline:V.FtCssVariableFactory.extend("--ft-search-input-outline-color","",V.designSystemVariables.colorOutline),elevation02:V.FtCssVariableFactory.extend("--ft-search-input-elevation","",V.designSystemVariables.elevation02),focusOutlineColor:V.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",V.designSystemVariables.colorPrimary),buttonColor:V.FtCssVariableFactory.extend("--ft-search-input-button-color","",V.designSystemVariables.colorPrimary),buttonRippleColor:V.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",V.designSystemVariables.colorPrimary)},Ei=iu.css`
|
|
797
822
|
* {
|
|
798
823
|
box-sizing: border-box;
|
|
799
|
-
${(0,
|
|
800
|
-
${(0,
|
|
824
|
+
${(0,V.setVariable)(te.color,Z.buttonColor)};
|
|
825
|
+
${(0,V.setVariable)(te.rippleColor,Z.buttonRippleColor)};
|
|
801
826
|
}
|
|
802
827
|
|
|
803
828
|
.ft-search-input {
|
|
@@ -805,11 +830,11 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
805
830
|
display: flex;
|
|
806
831
|
flex-direction: row;
|
|
807
832
|
align-items: center;
|
|
808
|
-
height: ${
|
|
833
|
+
height: ${Z.height};
|
|
809
834
|
|
|
810
|
-
background: ${
|
|
811
|
-
border: 1px solid ${
|
|
812
|
-
border-radius: ${
|
|
835
|
+
background: ${Z.colorSurface};
|
|
836
|
+
border: 1px solid ${Z.colorOutline};
|
|
837
|
+
border-radius: ${Z.borderRadius};
|
|
813
838
|
}
|
|
814
839
|
|
|
815
840
|
.ft-search-input--input-container {
|
|
@@ -824,11 +849,11 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
824
849
|
width: 100%;
|
|
825
850
|
display: grid;
|
|
826
851
|
padding: 0 8px;
|
|
827
|
-
border-radius: ${
|
|
852
|
+
border-radius: ${Z.borderRadius};
|
|
828
853
|
}
|
|
829
854
|
|
|
830
855
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
831
|
-
outline: 2px solid ${
|
|
856
|
+
outline: 2px solid ${Z.focusOutlineColor};
|
|
832
857
|
}
|
|
833
858
|
|
|
834
859
|
.ft-search-input--input {
|
|
@@ -836,12 +861,12 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
836
861
|
width: 100%;
|
|
837
862
|
border: none;
|
|
838
863
|
background-color: transparent;
|
|
839
|
-
color: ${
|
|
864
|
+
color: ${Z.colorOnSurface};
|
|
840
865
|
outline: none;
|
|
841
866
|
}
|
|
842
867
|
|
|
843
868
|
.ft-search-input--input::placeholder {
|
|
844
|
-
color: ${
|
|
869
|
+
color: ${Z.colorOnSurfaceMedium};
|
|
845
870
|
}
|
|
846
871
|
|
|
847
872
|
.ft-search-input--actions {
|
|
@@ -851,13 +876,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
851
876
|
align-items: center;
|
|
852
877
|
height: 100%;
|
|
853
878
|
|
|
854
|
-
${(0,
|
|
879
|
+
${(0,V.setVariable)(gt.zIndex,`calc(${Z.floatingZIndex} + 1)`)};
|
|
855
880
|
}
|
|
856
881
|
|
|
857
882
|
.ft-search-input > ft-button,
|
|
858
883
|
.ft-search-input--actions ft-button {
|
|
859
884
|
flex-shrink: 0;
|
|
860
|
-
${(0,
|
|
885
|
+
${(0,V.setVariable)(te.backgroundColor,"transparent")};
|
|
861
886
|
}
|
|
862
887
|
|
|
863
888
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -875,17 +900,17 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
875
900
|
|
|
876
901
|
.ft-search-input--separator {
|
|
877
902
|
height: 20px;
|
|
878
|
-
border-right: 1px solid ${
|
|
903
|
+
border-right: 1px solid ${Z.colorOutline};
|
|
879
904
|
}
|
|
880
|
-
`});var
|
|
905
|
+
`});var au,su,Bo,wi,Uo=f(()=>{"use strict";au=y(k()),su=y(A()),Bo={highlightBackgroundColor:su.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},wi=au.css`
|
|
881
906
|
.kwicmatch {
|
|
882
907
|
font-weight: 700;
|
|
883
|
-
background-color: ${
|
|
908
|
+
background-color: ${Bo.highlightBackgroundColor};
|
|
884
909
|
}
|
|
885
|
-
`});var
|
|
910
|
+
`});var cu,lu,$o,Ai,Fo=f(()=>{"use strict";cu=y(k()),lu=y(A()),$o={highlightBackgroundColor:lu.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Ai=cu.css`
|
|
886
911
|
.kwicmatch {
|
|
887
912
|
font-weight: 700;
|
|
888
|
-
background-color: ${
|
|
913
|
+
background-color: ${$o.highlightBackgroundColor};
|
|
889
914
|
}
|
|
890
915
|
|
|
891
916
|
a {
|
|
@@ -896,32 +921,32 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
896
921
|
a:focus {
|
|
897
922
|
outline: revert;
|
|
898
923
|
}
|
|
899
|
-
`});var
|
|
900
|
-
`});var
|
|
901
|
-
`});var
|
|
924
|
+
`});var pu,fu,Ni=f(()=>{"use strict";pu=y(k()),fu=pu.css`
|
|
925
|
+
`});var hu,mu,Pi=f(()=>{"use strict";hu=y(k()),mu=hu.css`
|
|
926
|
+
`});var Wo,nh,Ii,ih,D,ze=f(()=>{"use strict";Wo=y(A()),nh="ft-app-info",Ii=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},ih={session:(t,e)=>{(0,Wo.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.eventBus.dispatchEvent(new Ii(e.payload)),0))}},D=Wo.FtReduxStore.get({name:nh,reducers:ih,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var Ht,zo=f(()=>{"use strict";ze();Ht=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=D.getState(),i=e??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let i=D.subscribe(()=>{n=t.get(e),n&&(i(),o(n))})}})}}});var Ti,Ye,qr=f(()=>{"use strict";Ti=y(A());zo();Ye=class{constructor(e=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Ti.CacheRegistry,this.cache=e?i.commonCache:new Ti.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ht.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ht.await()}clearCache(){this.cache.clearAll()}}});var St,yu,ah,Ho,pr,gu,Li=f(()=>{"use strict";ze();St=y(A());qr();ah=Symbol("clearAfterUnitTest"),Ho=class extends Ye{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[yu]=()=>{this.defaultMessages={},this.cache=new St.CacheRegistry,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=D.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,St.deepEqual)(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,o,...n){var i,a,s;e=e.toLowerCase(),this.fetchContext(e);let l=(a=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new St.ParametrizedLabelResolver((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},l).resolve(o,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(o){console.error(o)}}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>(0,St.delay)(0).then(()=>o()).catch(()=>null)))}};yu=ah;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Ho{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Ho{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});pr=window.FluidTopicsI18nService,gu=window.FluidTopicsCustomI18nService});var bu,Me,He,xe,ne,_i=f(()=>{"use strict";bu=y(k()),Me=y(X()),He=y(A());Pi();ze();Li();zo();xe=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ne=class extends He.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ht.get(),this.messageContexts=[],this.cache=new He.CacheRegistry,this.cleanSessionDebouncer=new He.Debouncer}render(){return bu.html`
|
|
902
927
|
<slot></slot>
|
|
903
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(W.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&W.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&W.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&W.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&W.actions.noCustom(this.noCustom),e.has("editorMode")&&W.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&W.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&W.actions.session(this.session),e.has("availableUiLocales")&&W.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>vr.addContext(n)),e.has("openExternalDocumentInNewTab")&&W.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&W.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&W.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};de.elementDefinitions={};de.styles=Jd;Ce([(0,ze.property)()],de.prototype,"baseUrl",void 0);Ce([(0,ze.property)()],de.prototype,"apiIntegrationIdentifier",void 0);Ce([(0,ze.property)()],de.prototype,"uiLocale",void 0);Ce([(0,qe.jsonProperty)(null)],de.prototype,"availableUiLocales",void 0);Ce([(0,qe.jsonProperty)(null)],de.prototype,"metadataConfiguration",void 0);Ce([(0,ze.property)({type:Boolean})],de.prototype,"editorMode",void 0);Ce([(0,ze.property)({type:Boolean})],de.prototype,"noCustom",void 0);Ce([(0,ze.property)({type:Boolean})],de.prototype,"openExternalDocumentInNewTab",void 0);Ce([(0,ze.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],de.prototype,"noCustomComponent",void 0);Ce([(0,ze.property)({type:Boolean})],de.prototype,"withManualResources",void 0);Ce([(0,ze.property)({type:Boolean})],de.prototype,"navigatorOnline",void 0);Ce([(0,ze.property)({type:Boolean})],de.prototype,"forcedOffline",void 0);Ce([(0,ze.property)({type:Object})],de.prototype,"apiProvider",void 0);Ce([(0,qe.jsonProperty)([])],de.prototype,"messageContexts",void 0);Ce([(0,qe.jsonProperty)(void 0)],de.prototype,"session",void 0)});function Kh(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,a,i;if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(a=n;a--!==0;)if(!jo(t[a],e[a]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(a of t.entries())if(!e.has(a[0]))return!1;for(a of t.entries())if(!jo(a[1],e.get(a[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(a of t.entries())if(!e.has(a[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[a]))return!1;for(a=n;a--!==0;){var c=i[a];if(!jo(t[c],e[c]))return!1}return!0}return t!==t&&e!==e}function jo(t,e){try{return Kh(t,e)}catch{return!1}}function Ma(t,e){return!jo(t,e)}var za=g(()=>{"use strict"});var Zh,op=g(()=>{"use strict";za();Zh=x(oe(),1)});var qo,$a=g(()=>{"use strict";qo=class{constructor(){this.queue=[]}add(e,n=!1){n&&(this.queue=this.queue.filter(a=>a.type!==e.type)),this.queue.push(e)}consume(e){let n=this.queue.find(a=>a.type===e);return n&&(this.queue=this.queue.filter(a=>a!==n)),n}}});function ap(t,e){let n=()=>JSON.parse(JSON.stringify(t));return(0,np.property)({type:Object,converter:{fromAttribute:a=>{if(a==null)return n();try{return JSON.parse(a)}catch{return n()}},toAttribute:a=>JSON.stringify(a)},hasChanged:Ma,...e??{}})}var np,ip=g(()=>{"use strict";np=x(oe(),1);za()});var Yo,cp=g(()=>{"use strict";Yo=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,n){return this.callbacks=[e],this.debounce(n)}queue(e,n){return this.callbacks.push(e),this.debounce(n)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((n,a)=>{this.resolvePromise=n,this.rejectPromise=a})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,n;let a=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,c=(n=this.resolvePromise)!==null&&n!==void 0?n:()=>null;this.clearPromise();for(let l of a)try{await l()}catch(s){i(s);return}c(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Xo,Vh,zE,lp,sp=g(()=>{Xo=window,Vh=Xo.ShadowRoot&&(Xo.ShadyCSS===void 0||Xo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,zE=Symbol(),lp=(t,e)=>{Vh?t.adoptedStyleSheets=e.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):e.forEach(n=>{let a=document.createElement("style"),i=Xo.litNonce;i!==void 0&&a.setAttribute("nonce",i),a.textContent=n.cssText,t.appendChild(a)})}});var dp,Qo,pp=g(()=>{"use strict";dp=x(B(),1);sp();Qo=class extends dp.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,c])=>e.registry.define(i,c)));let n={...e.shadowRootOptions,customElements:e.registry},a=this.renderOptions.creationScope=this.attachShadow(n);return lp(a,e.elementStyles),a}}});var no,Jo,hp,fp,up,gp,It,mp=g(()=>{"use strict";no=x(oe(),1);ip();cp();pp();Jo=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c},fp=Symbol("constructorPrototype"),up=Symbol("constructorName"),gp=Symbol("exportpartsDebouncer"),It=class extends Qo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[hp]=new Yo(5),this[up]=this.constructor.name,this[fp]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[up]&&Object.setPrototypeOf(this,this[fp])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var n,a,i;if(((a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&a!==void 0?a:[]).forEach(c=>c.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(c){console.error(c,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let c=document.createElement("style");c.classList.add("ft-lit-element--custom-stylesheet"),c.innerHTML=this.customStylesheet,this.shadowRoot.append(c)}}scheduleExportpartsUpdate(){var e,n,a;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(a=(n=this.exportpartsPrefixes)===null||n===void 0?void 0:n.length)!==null&&a!==void 0&&a)&&this[gp].run(()=>{var i,c;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((c=this.exportpartsPrefixes)===null||c===void 0?void 0:c.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var n,a,i,c,l,s;let h=S=>S!=null&&S.trim().length>0,m=e.filter(h).map(S=>S.trim());if(m.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let S of(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let C=(c=(i=S.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&c!==void 0?c:[],O=(s=(l=S.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(w=>w.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...C,...O).filter(h).map(w=>w.trim()).forEach(w=>y.add(w))}if(y.size===0){this.removeAttribute("exportparts");return}let v=[...y.values()].flatMap(S=>m.map(C=>`${S}:${C}--${S}`));this.setAttribute("exportparts",[...this.part,...v].join(", "))}};hp=gp;Jo([(0,no.property)()],It.prototype,"exportpartsPrefix",void 0);Jo([ap([])],It.prototype,"exportpartsPrefixes",void 0);Jo([(0,no.property)()],It.prototype,"customStylesheet",void 0);Jo([(0,no.state)()],It.prototype,"useAdoptedStyleSheets",void 0)});function ao(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var en=g(()=>{"use strict"});var yp,bp,xp,tn,Lt,Qt,io,vp=g(()=>{"use strict";mp();en();tn=Symbol("internalReduxEventsUnsubscribers"),Lt=Symbol("internalStoresUnsubscribers"),Qt=Symbol("internalStores"),io=class extends It{constructor(){super(...arguments),this[yp]=new Map,this[bp]=new Map,this[xp]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(n=>e.has(n))&&this.updateFromStores()}getUnnamedStore(){if(this[Qt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Qt].get(e)}addStore(e,n){var a;n=(a=n??(ao(e)?e.name:void 0))!==null&&a!==void 0?a:"default-store",this.unsubscribeFromStore(n),this.setupStore(n,e)}removeStore(e){let n=typeof e=="string"?e:e.name;this.unsubscribeFromStore(n),this[Qt].delete(n)}setupStore(e,n){this[Qt].set(e,n),this.subscribeToStore(e,n),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qt].forEach((e,n)=>this.subscribeToStore(n,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,n)=>{let a=this.constructor.getPropertyOptions(n);if(!a?.attribute||!this.hasAttribute(typeof a?.attribute=="string"?a.attribute:n)){let i=this.getStore(e.store);i&&(e.store?this[Lt].has(e.store):this[Lt].size>0)&&(this[n]=e.selector(i.getState(),this))}})}subscribeToStore(e,n){var a;this[Lt].set(e,n.subscribe(()=>this.updateFromStores())),ao(n)&&n.eventBus&&((a=this.reduxConstructor.reduxEventListeners)===null||a===void 0||a.forEach((i,c)=>{if(typeof this[c]=="function"&&(!i.store||n.name===i.store)){let l=s=>this[c](s);n.eventBus.addEventListener(i.eventName,l),this[tn].push(()=>n.eventBus.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Lt].forEach((e,n)=>this.unsubscribeFromStore(n)),this[tn].forEach(e=>e()),this[tn]=[]}unsubscribeFromStore(e){this[Lt].has(e)&&this[Lt].get(e)(),this[Lt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};yp=Lt,bp=Qt,xp=tn;io.reduxProperties=new Map;io.reduxReactiveProperties=new Set;io.reduxEventListeners=new Map});function $e(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];if(0)var i,c;throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function bt(t){return!!t&&!!t[ae]}function Ye(t){var e;return!!t&&(function(n){if(!n||typeof n!="object")return!1;var a=Object.getPrototypeOf(n);if(a===null)return!0;var i=Object.hasOwnProperty.call(a,"constructor")&&a.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===tg}(t)||Array.isArray(t)||!!t[Rp]||!!(!((e=t.constructor)===null||e===void 0)&&e[Rp])||Xa(t)||Qa(t))}function Jt(t,e,n){n===void 0&&(n=!1),Cr(t)===0?(n?Object.keys:Or)(t).forEach(function(a){n&&typeof a=="symbol"||e(a,t[a],t)}):t.forEach(function(a,i){return e(i,a,t)})}function Cr(t){var e=t[ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Xa(t)?2:Qa(t)?3:0}function Sr(t,e){return Cr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function jh(t,e){return Cr(t)===2?t.get(e):t[e]}function Ap(t,e,n){var a=Cr(t);a===2?t.set(e,n):a===3?t.add(n):t[e]=n}function Ip(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Xa(t){return Jh&&t instanceof Map}function Qa(t){return eg&&t instanceof Set}function Pt(t){return t.o||t.t}function Ja(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=kp(t);delete e[ae];for(var n=Or(e),a=0;a<n.length;a++){var i=n[a],c=e[i];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(e[i]={configurable:!0,writable:!0,enumerable:c.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function ei(t,e){return e===void 0&&(e=!1),ti(t)||bt(t)||!Ye(t)||(Cr(t)>1&&(t.set=t.add=t.clear=t.delete=qh),Object.freeze(t),e&&Jt(t,function(n,a){return ei(a,!0)},!0)),t}function qh(){$e(2)}function ti(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function nt(t){var e=Ya[t];return e||$e(18,t),e}function Yh(t,e){Ya[t]||(Ya[t]=e)}function Va(){return lo}function Ha(t,e){e&&(nt("Patches"),t.u=[],t.s=[],t.v=e)}function rn(t){ja(t),t.p.forEach(Xh),t.p=null}function ja(t){t===lo&&(lo=t.l)}function Sp(t){return lo={p:[],l:lo,h:t,m:!0,_:0}}function Xh(t){var e=t[ae];e.i===0||e.i===1?e.j():e.g=!0}function Ga(t,e){e._=e.p.length;var n=e.p[0],a=t!==void 0&&t!==n;return e.h.O||nt("ES5").S(e,t,a),a?(n[ae].P&&(rn(e),$e(4)),Ye(t)&&(t=on(e,t),e.l||nn(e,t)),e.u&&nt("Patches").M(n[ae].t,t,e.u,e.s)):t=on(e,n,[]),rn(e),e.u&&e.v(e.u,e.s),t!==Pp?t:void 0}function on(t,e,n){if(ti(e))return e;var a=e[ae];if(!a)return Jt(e,function(s,h){return Op(t,a,e,s,h,n)},!0),e;if(a.A!==t)return e;if(!a.P)return nn(t,a.t,!0),a.t;if(!a.I){a.I=!0,a.A._--;var i=a.i===4||a.i===5?a.o=Ja(a.k):a.o,c=i,l=!1;a.i===3&&(c=new Set(i),i.clear(),l=!0),Jt(c,function(s,h){return Op(t,a,i,s,h,n,l)}),nn(t,i,!1),n&&t.u&&nt("Patches").N(a,n,t.u,t.s)}return a.o}function Op(t,e,n,a,i,c,l){if(bt(i)){var s=on(t,i,c&&e&&e.i!==3&&!Sr(e.R,a)?c.concat(a):void 0);if(Ap(n,a,s),!bt(s))return;t.m=!1}else l&&n.add(i);if(Ye(i)&&!ti(i)){if(!t.h.D&&t._<1)return;on(t,i),e&&e.A.l||nn(t,i)}}function nn(t,e,n){n===void 0&&(n=!1),!t.l&&t.h.D&&t.m&&ei(e,n)}function Ka(t,e){var n=t[ae];return(n?Pt(n):t)[e]}function Cp(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var a=Object.getOwnPropertyDescriptor(n,e);if(a)return a;n=Object.getPrototypeOf(n)}}function kt(t){t.P||(t.P=!0,t.l&&kt(t.l))}function Za(t){t.o||(t.o=Ja(t.t))}function qa(t,e,n){var a=Xa(e)?nt("MapSet").F(e,n):Qa(e)?nt("MapSet").T(e,n):t.O?function(i,c){var l=Array.isArray(i),s={i:l?1:0,A:c?c.A:Va(),P:!1,I:!1,R:{},l:c,t:i,k:null,o:null,j:null,C:!1},h=s,m=so;l&&(h=[s],m=co);var y=Proxy.revocable(h,m),v=y.revoke,S=y.proxy;return s.k=S,s.j=v,S}(e,n):nt("ES5").J(e,n);return(n?n.A:Va()).p.push(a),a}function Qh(t){return bt(t)||$e(22,t),function e(n){if(!Ye(n))return n;var a,i=n[ae],c=Cr(n);if(i){if(!i.P&&(i.i<4||!nt("ES5").K(i)))return i.t;i.I=!0,a=Ep(n,c),i.I=!1}else a=Ep(n,c);return Jt(a,function(l,s){i&&jh(i.t,l)===s||Ap(a,l,e(s))}),c===3?new Set(a):a}(t)}function Ep(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ja(t)}function Lp(){function t(l,s){var h=c[l];return h?h.enumerable=s:c[l]=h={configurable:!0,enumerable:s,get:function(){var m=this[ae];return so.get(m,l)},set:function(m){var y=this[ae];so.set(y,l,m)}},h}function e(l){for(var s=l.length-1;s>=0;s--){var h=l[s][ae];if(!h.P)switch(h.i){case 5:a(h)&&kt(h);break;case 4:n(h)&&kt(h)}}}function n(l){for(var s=l.t,h=l.k,m=Or(h),y=m.length-1;y>=0;y--){var v=m[y];if(v!==ae){var S=s[v];if(S===void 0&&!Sr(s,v))return!0;var C=h[v],O=C&&C[ae];if(O?O.t!==S:!Ip(C,S))return!0}}var w=!!s[ae];return m.length!==Or(s).length+(w?0:1)}function a(l){var s=l.k;if(s.length!==l.t.length)return!0;var h=Object.getOwnPropertyDescriptor(s,s.length-1);if(h&&!h.get)return!0;for(var m=0;m<s.length;m++)if(!s.hasOwnProperty(m))return!0;return!1}function i(l){l.g&&$e(3,JSON.stringify(Pt(l)))}var c={};Yh("ES5",{J:function(l,s){var h=Array.isArray(l),m=function(v,S){if(v){for(var C=Array(S.length),O=0;O<S.length;O++)Object.defineProperty(C,""+O,t(O,!0));return C}var w=kp(S);delete w[ae];for(var k=Or(w),L=0;L<k.length;L++){var P=k[L];w[P]=t(P,v||!!w[P].enumerable)}return Object.create(Object.getPrototypeOf(S),w)}(h,l),y={i:h?5:4,A:s?s.A:Va(),P:!1,I:!1,R:{},l:s,t:l,k:m,o:null,g:!1,C:!1};return Object.defineProperty(m,ae,{value:y,writable:!0}),m},S:function(l,s,h){h?bt(s)&&s[ae].A===l&&e(l.p):(l.u&&function m(y){if(y&&typeof y=="object"){var v=y[ae];if(v){var S=v.t,C=v.k,O=v.R,w=v.i;if(w===4)Jt(C,function(D){D!==ae&&(S[D]!==void 0||Sr(S,D)?O[D]||m(C[D]):(O[D]=!0,kt(v)))}),Jt(S,function(D){C[D]!==void 0||Sr(C,D)||(O[D]=!1,kt(v))});else if(w===5){if(a(v)&&(kt(v),O.length=!0),C.length<S.length)for(var k=C.length;k<S.length;k++)O[k]=!1;else for(var L=S.length;L<C.length;L++)O[L]=!0;for(var P=Math.min(C.length,S.length),F=0;F<P;F++)C.hasOwnProperty(F)||(O[F]=!0),O[F]===void 0&&m(C[F])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?n(l):a(l)}})}var wp,lo,ri,Jh,eg,Np,Pp,Rp,ae,tg,Or,kp,Ya,so,co,rg,Be,og,JE,ew,tw,rw,ow,nw,an,cn=g(()=>{ri=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Jh=typeof Map<"u",eg=typeof Set<"u",Np=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Pp=ri?Symbol.for("immer-nothing"):((wp={})["immer-nothing"]=!0,wp),Rp=ri?Symbol.for("immer-draftable"):"__$immer_draftable",ae=ri?Symbol.for("immer-state"):"__$immer_state",tg=""+Object.prototype.constructor,Or=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,kp=Object.getOwnPropertyDescriptors||function(t){var e={};return Or(t).forEach(function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)}),e},Ya={},so={get:function(t,e){if(e===ae)return t;var n=Pt(t);if(!Sr(n,e))return function(i,c,l){var s,h=Cp(c,l);return h?"value"in h?h.value:(s=h.get)===null||s===void 0?void 0:s.call(i.k):void 0}(t,n,e);var a=n[e];return t.I||!Ye(a)?a:a===Ka(t.t,e)?(Za(t),t.o[e]=qa(t.A.h,a,t)):a},has:function(t,e){return e in Pt(t)},ownKeys:function(t){return Reflect.ownKeys(Pt(t))},set:function(t,e,n){var a=Cp(Pt(t),e);if(a?.set)return a.set.call(t.k,n),!0;if(!t.P){var i=Ka(Pt(t),e),c=i?.[ae];if(c&&c.t===n)return t.o[e]=n,t.R[e]=!1,!0;if(Ip(n,i)&&(n!==void 0||Sr(t.t,e)))return!0;Za(t),kt(t)}return t.o[e]===n&&(n!==void 0||e in t.o)||Number.isNaN(n)&&Number.isNaN(t.o[e])||(t.o[e]=n,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ka(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Za(t),kt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=Pt(t),a=Reflect.getOwnPropertyDescriptor(n,e);return a&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:a.enumerable,value:n[e]}},defineProperty:function(){$e(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){$e(12)}},co={};Jt(so,function(t,e){co[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),co.deleteProperty=function(t,e){return co.set.call(this,t,e,void 0)},co.set=function(t,e,n){return so.set.call(this,t[0],e,n,t[0])};rg=function(){function t(n){var a=this;this.O=Np,this.D=!0,this.produce=function(i,c,l){if(typeof i=="function"&&typeof c!="function"){var s=c;c=i;var h=a;return function(w){var k=this;w===void 0&&(w=s);for(var L=arguments.length,P=Array(L>1?L-1:0),F=1;F<L;F++)P[F-1]=arguments[F];return h.produce(w,function(D){var X;return(X=c).call.apply(X,[k,D].concat(P))})}}var m;if(typeof c!="function"&&$e(6),l!==void 0&&typeof l!="function"&&$e(7),Ye(i)){var y=Sp(a),v=qa(a,i,void 0),S=!0;try{m=c(v),S=!1}finally{S?rn(y):ja(y)}return typeof Promise<"u"&&m instanceof Promise?m.then(function(w){return Ha(y,l),Ga(w,y)},function(w){throw rn(y),w}):(Ha(y,l),Ga(m,y))}if(!i||typeof i!="object"){if((m=c(i))===void 0&&(m=i),m===Pp&&(m=void 0),a.D&&ei(m,!0),l){var C=[],O=[];nt("Patches").M(i,m,C,O),l(C,O)}return m}$e(21,i)},this.produceWithPatches=function(i,c){if(typeof i=="function")return function(m){for(var y=arguments.length,v=Array(y>1?y-1:0),S=1;S<y;S++)v[S-1]=arguments[S];return a.produceWithPatches(m,function(C){return i.apply(void 0,[C].concat(v))})};var l,s,h=a.produce(i,c,function(m,y){l=m,s=y});return typeof Promise<"u"&&h instanceof Promise?h.then(function(m){return[m,l,s]}):[h,l,s]},typeof n?.useProxies=="boolean"&&this.setUseProxies(n.useProxies),typeof n?.autoFreeze=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var e=t.prototype;return e.createDraft=function(n){Ye(n)||$e(8),bt(n)&&(n=Qh(n));var a=Sp(this),i=qa(this,n,void 0);return i[ae].C=!0,ja(a),i},e.finishDraft=function(n,a){var i=n&&n[ae],c=i.A;return Ha(c,a),Ga(void 0,c)},e.setAutoFreeze=function(n){this.D=n},e.setUseProxies=function(n){n&&!Np&&$e(20),this.O=n},e.applyPatches=function(n,a){var i;for(i=a.length-1;i>=0;i--){var c=a[i];if(c.path.length===0&&c.op==="replace"){n=c.value;break}}i>-1&&(a=a.slice(i+1));var l=nt("Patches").$;return bt(n)?l(n,a):this.produce(n,function(s){return l(s,a)})},t}(),Be=new rg,og=Be.produce,JE=Be.produceWithPatches.bind(Be),ew=Be.setAutoFreeze.bind(Be),tw=Be.setUseProxies.bind(Be),rw=Be.applyPatches.bind(Be),ow=Be.createDraft.bind(Be),nw=Be.finishDraft.bind(Be),an=og});function Tt(t){"@babel/helpers - typeof";return Tt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(t)}var oi=g(()=>{});function ni(t,e){if(Tt(t)!=="object"||t===null)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var a=n.call(t,e||"default");if(Tt(a)!=="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Tp=g(()=>{oi()});function ai(t){var e=ni(t,"string");return Tt(e)==="symbol"?e:String(e)}var Up=g(()=>{oi();Tp()});function ii(t,e,n){return e=ai(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var _p=g(()=>{Up()});function Bp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,a)}return n}function ln(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Bp(Object(n),!0).forEach(function(a){ii(t,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bp(Object(n)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(n,a))})}return t}var Dp=g(()=>{_p()});function ve(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function ng(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function li(t,e,n){var a;if(typeof e=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(ve(0));if(typeof e=="function"&&typeof n>"u"&&(n=e,e=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(ve(1));return n(li)(t,e)}if(typeof t!="function")throw new Error(ve(2));var i=t,c=e,l=[],s=l,h=!1;function m(){s===l&&(s=l.slice())}function y(){if(h)throw new Error(ve(3));return c}function v(w){if(typeof w!="function")throw new Error(ve(4));if(h)throw new Error(ve(5));var k=!0;return m(),s.push(w),function(){if(k){if(h)throw new Error(ve(6));k=!1,m();var P=s.indexOf(w);s.splice(P,1),l=null}}}function S(w){if(!ng(w))throw new Error(ve(7));if(typeof w.type>"u")throw new Error(ve(8));if(h)throw new Error(ve(9));try{h=!0,c=i(c,w)}finally{h=!1}for(var k=l=s,L=0;L<k.length;L++){var P=k[L];P()}return w}function C(w){if(typeof w!="function")throw new Error(ve(10));i=w,S({type:sn.REPLACE})}function O(){var w,k=v;return w={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(ve(11));function F(){P.next&&P.next(y())}F();var D=k(F);return{unsubscribe:D}}},w[Wp]=function(){return this},w}return S({type:sn.INIT}),a={dispatch:S,subscribe:v,getState:y,replaceReducer:C},a[Wp]=O,a}function ag(t){Object.keys(t).forEach(function(e){var n=t[e],a=n(void 0,{type:sn.INIT});if(typeof a>"u")throw new Error(ve(12));if(typeof n(void 0,{type:sn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ve(13))})}function Fp(t){for(var e=Object.keys(t),n={},a=0;a<e.length;a++){var i=e[a];typeof t[i]=="function"&&(n[i]=t[i])}var c=Object.keys(n),l,s;try{ag(n)}catch(h){s=h}return function(m,y){if(m===void 0&&(m={}),s)throw s;if(0)var v;for(var S=!1,C={},O=0;O<c.length;O++){var w=c[O],k=n[w],L=m[w],P=k(L,y);if(typeof P>"u"){var F=y&&y.type;throw new Error(ve(14))}C[w]=P,S=S||P!==L}return S=S||c.length!==Object.keys(m).length,S?C:m}}function Er(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.length===0?function(a){return a}:e.length===1?e[0]:e.reduce(function(a,i){return function(){return a(i.apply(void 0,arguments))}})}function Mp(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(a){return function(){var i=a.apply(void 0,arguments),c=function(){throw new Error(ve(15))},l={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},s=e.map(function(h){return h(l)});return c=Er.apply(void 0,s)(i.dispatch),ln(ln({},i),{},{dispatch:c})}}}var Wp,ci,sn,dn=g(()=>{Dp();Wp=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ci=function(){return Math.random().toString(36).substring(7).split("").join(".")},sn={INIT:"@@redux/INIT"+ci(),REPLACE:"@@redux/REPLACE"+ci(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ci()}}});function zp(t){var e=function(a){var i=a.dispatch,c=a.getState;return function(l){return function(s){return typeof s=="function"?s(i,c,t):l(s)}}};return e}var $p,si,Hp=g(()=>{$p=zp();$p.withExtraArgument=zp;si=$p});function hg(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var n=e;Object.getPrototypeOf(n)!==null;)n=Object.getPrototypeOf(n);return e===n}function ui(t){return Ye(t)?an(t,function(){}):t}function yg(t){return typeof t=="boolean"}function bg(){return function(e){return xg(e)}}function xg(t){t===void 0&&(t={});var e=t.thunk,n=e===void 0?!0:e,a=t.immutableCheck,i=a===void 0?!0:a,c=t.serializableCheck,l=c===void 0?!0:c,s=new gg;if(n&&(yg(n)?s.push(si):s.push(si.withExtraArgument(n.extraArgument))),0){if(i)var h;if(l)var m}return s}function qp(t){var e=bg(),n=t||{},a=n.reducer,i=a===void 0?void 0:a,c=n.middleware,l=c===void 0?e():c,s=n.devTools,h=s===void 0?!0:s,m=n.preloadedState,y=m===void 0?void 0:m,v=n.enhancers,S=v===void 0?void 0:v,C;if(typeof i=="function")C=i;else if(hg(i))C=Fp(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var O=l;if(typeof O=="function"&&(O=O(e),!pi&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!pi&&O.some(function(D){return typeof D!="function"}))throw new Error("each middleware provided to configureStore must be a function");var w=Mp.apply(void 0,O),k=Er;h&&(k=ug(Ut({trace:!pi},typeof h=="object"&&h)));var L=new mg(w),P=L;Array.isArray(S)?P=wr([w],S):typeof S=="function"&&(P=S(L));var F=k.apply(void 0,P);return li(C,y,F)}function _t(t,e){function n(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(e){var c=e.apply(void 0,a);if(!c)throw new Error("prepareAction did not return an object");return Ut(Ut({type:t,payload:c.payload},"meta"in c&&{meta:c.meta}),"error"in c&&{error:c.error})}return{type:t,payload:a[0]}}return n.toString=function(){return""+t},n.type=t,n.match=function(a){return a.type===t},n}function Yp(t){var e={},n=[],a,i={addCase:function(c,l){var s=typeof c=="string"?c:c.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=l,i},addMatcher:function(c,l){return n.push({matcher:c,reducer:l}),i},addDefaultCase:function(c){return a=c,i}};return t(i),[e,n,a]}function vg(t){return typeof t=="function"}function Sg(t,e,n,a){n===void 0&&(n=[]);var i=typeof e=="function"?Yp(e):[e,n,a],c=i[0],l=i[1],s=i[2],h;if(vg(t))h=function(){return ui(t())};else{var m=ui(t);h=function(){return m}}function y(v,S){v===void 0&&(v=h());var C=wr([c[S.type]],l.filter(function(O){var w=O.matcher;return w(S)}).map(function(O){var w=O.reducer;return w}));return C.filter(function(O){return!!O}).length===0&&(C=[s]),C.reduce(function(O,w){if(w)if(bt(O)){var k=O,L=w(k,S);return L===void 0?O:L}else{if(Ye(O))return an(O,function(P){return w(P,S)});var L=w(O,S);if(L===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return O},v)}return y.getInitialState=h,y}function Og(t,e){return t+"/"+e}function Xp(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var n=typeof t.initialState=="function"?t.initialState:ui(t.initialState),a=t.reducers||{},i=Object.keys(a),c={},l={},s={};i.forEach(function(y){var v=a[y],S=Og(e,y),C,O;"reducer"in v?(C=v.reducer,O=v.prepare):C=v,c[y]=C,l[S]=C,s[y]=O?_t(S,O):_t(S)});function h(){var y=typeof t.extraReducers=="function"?Yp(t.extraReducers):[t.extraReducers],v=y[0],S=v===void 0?{}:v,C=y[1],O=C===void 0?[]:C,w=y[2],k=w===void 0?void 0:w,L=Ut(Ut({},S),l);return Sg(n,function(P){for(var F in L)P.addCase(F,L[F]);for(var D=0,X=O;D<X.length;D++){var Ee=X[D];P.addMatcher(Ee.matcher,Ee.reducer)}k&&P.addDefaultCase(k)})}var m;return{name:e,reducer:function(y,v){return m||(m=h()),m(y,v)},actions:s,caseReducers:c,getInitialState:function(){return m||(m=h()),m.getInitialState()}}}function Rg(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Ag(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var jp,ig,wr,cg,lg,sg,Gp,dg,pg,Kp,Ut,di,fg,ug,Ow,gg,mg,pi,Cg,Eg,wg,fi,Zp,Ng,Nw,Qp,Jp,ef,Rw,Aw,Iw,Lw,hi,Pw,kw,Tw,Vp,Uw,Ig,_w,tf=g(()=>{cn();dn();dn();dn();Hp();cn();cn();jp=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,i){a.__proto__=i}||function(a,i){for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(a[c]=i[c])},t(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),ig=function(t,e){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},a,i,c,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(m){return function(y){return h([m,y])}}function h(m){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,i&&(c=m[0]&2?i.return:m[0]?i.throw||((c=i.return)&&c.call(i),0):i.next)&&!(c=c.call(i,m[1])).done)return c;switch(i=0,c&&(m=[m[0]&2,c.value]),m[0]){case 0:case 1:c=m;break;case 4:return n.label++,{value:m[1],done:!1};case 5:n.label++,i=m[1],m=[0];continue;case 7:m=n.ops.pop(),n.trys.pop();continue;default:if(c=n.trys,!(c=c.length>0&&c[c.length-1])&&(m[0]===6||m[0]===2)){n=0;continue}if(m[0]===3&&(!c||m[1]>c[0]&&m[1]<c[3])){n.label=m[1];break}if(m[0]===6&&n.label<c[1]){n.label=c[1],c=m;break}if(c&&n.label<c[2]){n.label=c[2],n.ops.push(m);break}c[2]&&n.ops.pop(),n.trys.pop();continue}m=e.call(t,n)}catch(y){m=[6,y],i=0}finally{a=c=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}},wr=function(t,e){for(var n=0,a=e.length,i=t.length;n<a;n++,i++)t[i]=e[n];return t},cg=Object.defineProperty,lg=Object.defineProperties,sg=Object.getOwnPropertyDescriptors,Gp=Object.getOwnPropertySymbols,dg=Object.prototype.hasOwnProperty,pg=Object.prototype.propertyIsEnumerable,Kp=function(t,e,n){return e in t?cg(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},Ut=function(t,e){for(var n in e||(e={}))dg.call(e,n)&&Kp(t,n,e[n]);if(Gp)for(var a=0,i=Gp(e);a<i.length;a++){var n=i[a];pg.call(e,n)&&Kp(t,n,e[n])}return t},di=function(t,e){return lg(t,sg(e))},fg=function(t,e,n){return new Promise(function(a,i){var c=function(h){try{s(n.next(h))}catch(m){i(m)}},l=function(h){try{s(n.throw(h))}catch(m){i(m)}},s=function(h){return h.done?a(h.value):Promise.resolve(h.value).then(c,l)};s((n=n.apply(t,e)).next())})},ug=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Er:Er.apply(null,arguments)},Ow=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};gg=function(t){jp(e,t);function e(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=t.apply(this,n)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return t.prototype.concat.apply(this,n)},e.prototype.prepend=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return n.length===1&&Array.isArray(n[0])?new(e.bind.apply(e,wr([void 0],n[0].concat(this)))):new(e.bind.apply(e,wr([void 0],n.concat(this))))},e}(Array),mg=function(t){jp(e,t);function e(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var i=t.apply(this,n)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return t.prototype.concat.apply(this,n)},e.prototype.prepend=function(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];return n.length===1&&Array.isArray(n[0])?new(e.bind.apply(e,wr([void 0],n[0].concat(this)))):new(e.bind.apply(e,wr([void 0],n.concat(this))))},e}(Array);pi=!0;Cg="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Eg=function(t){t===void 0&&(t=21);for(var e="",n=t;n--;)e+=Cg[Math.random()*64|0];return e},wg=["name","message","stack","code"],fi=function(){function t(e,n){this.payload=e,this.meta=n}return t}(),Zp=function(){function t(e,n){this.payload=e,this.meta=n}return t}(),Ng=function(t){if(typeof t=="object"&&t!==null){for(var e={},n=0,a=wg;n<a.length;n++){var i=a[n];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Nw=function(){function t(e,n,a){var i=_t(e+"/fulfilled",function(y,v,S,C){return{payload:y,meta:di(Ut({},C||{}),{arg:S,requestId:v,requestStatus:"fulfilled"})}}),c=_t(e+"/pending",function(y,v,S){return{payload:void 0,meta:di(Ut({},S||{}),{arg:v,requestId:y,requestStatus:"pending"})}}),l=_t(e+"/rejected",function(y,v,S,C,O){return{payload:C,error:(a&&a.serializeError||Ng)(y||"Rejected"),meta:di(Ut({},O||{}),{arg:S,requestId:v,rejectedWithValue:!!C,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),s=!1,h=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function m(y){return function(v,S,C){var O=a?.idGenerator?a.idGenerator(y):Eg(),w=new h,k,L=!1;function P(D){k=D,w.abort()}var F=function(){return fg(this,null,function(){var D,X,Ee,he,Br,Fe,b;return ig(this,function(E){switch(E.label){case 0:return E.trys.push([0,4,,5]),he=(D=a?.condition)==null?void 0:D.call(a,y,{getState:S,extra:C}),Ag(he)?[4,he]:[3,2];case 1:he=E.sent(),E.label=2;case 2:if(he===!1||w.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,Br=new Promise(function(T,ne){return w.signal.addEventListener("abort",function(){return ne({name:"AbortError",message:k||"Aborted"})})}),v(c(O,y,(X=a?.getPendingMeta)==null?void 0:X.call(a,{requestId:O,arg:y},{getState:S,extra:C}))),[4,Promise.race([Br,Promise.resolve(n(y,{dispatch:v,getState:S,extra:C,requestId:O,signal:w.signal,abort:P,rejectWithValue:function(T,ne){return new fi(T,ne)},fulfillWithValue:function(T,ne){return new Zp(T,ne)}})).then(function(T){if(T instanceof fi)throw T;return T instanceof Zp?i(T.payload,O,y,T.meta):i(T,O,y)})])];case 3:return Ee=E.sent(),[3,5];case 4:return Fe=E.sent(),Ee=Fe instanceof fi?l(null,O,y,Fe.payload,Fe.meta):l(Fe,O,y),[3,5];case 5:return b=a&&!a.dispatchConditionRejection&&l.match(Ee)&&Ee.meta.condition,b||v(Ee),[2,Ee]}})})}();return Object.assign(F,{abort:P,requestId:O,arg:y,unwrap:function(){return F.then(Rg)}})}}return Object.assign(m,{pending:c,rejected:l,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();Qp="listener",Jp="completed",ef="cancelled",Rw="task-"+ef,Aw="task-"+Jp,Iw=Qp+"-"+ef,Lw=Qp+"-"+Jp,hi="listenerMiddleware",Pw=_t(hi+"/add"),kw=_t(hi+"/removeAll"),Tw=_t(hi+"/remove"),Uw=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Vp||(Vp=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Ig=function(t){return function(e){setTimeout(e,t)}},_w=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ig(10);Lp()});var rf,of=g(()=>{"use strict";tf();en();$a();window.ftReduxStores||(window.ftReduxStores={});rf=class t{static get(e){var n;let a=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,c=window.ftReduxStores[a];if(ao(c))return c;if(i==null)return;let l=Xp({...i,reducers:(n=i.reducers)!==null&&n!==void 0?n:{}}),s=qp({reducer:(h,m)=>m.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof m.type=="string"&&m.type.startsWith("DEFAULT_VALUE_SETTER__")?{...h,...m.overwrites}:l.reducer(h,m)});return window.ftReduxStores[i.name]=new t(l,s)}constructor(e,n){this.reduxSlice=e,this.reduxStore=n,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new qo,this.actions=new Proxy(this.reduxSlice.actions,{get:(a,i,c)=>{let l=i,s=a[l];return s?(...h)=>{let m=s(...h);return this.reduxStore.dispatch(m),m}:h=>{this.setState({[l]:h})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var nf=g(()=>{"use strict";op();$a();vp();of();en()});var af=g(()=>{"use strict"});var Lg,cf=g(()=>{"use strict";Lg=x(oe());nf();af();je()});var pn,gi=g(()=>{"use strict";je();oo();pn=class extends ot{async listMySearches(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var fn,mi=g(()=>{"use strict";je();oo();fn=class extends ot{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var hn,Pg,un,yi,lf,bi=g(()=>{"use strict";hn=x(I());gi();mi();je();Pg="ft-user-assets",un=hn.FtReduxStore.get({name:Pg,initialState:{savedSearches:void 0,bookmarks:void 0}}),yi=class{constructor(){this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new fn,this.savedSearchesService=new pn,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:n}=W.getState();(0,hn.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,n?.profile)||(this.currentSession=n,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),un.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),un.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();un.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let n=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;un.actions.bookmarks(n)}}},lf=new yi});var xi,sf=g(()=>{"use strict";je();xi=class{addCommand(e,n=!1){W.commands.add(e,n)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new xi});var df,vi,pf=g(()=>{"use strict";df=x(I()),vi=class{highlightHtml(e,n){(0,df.highlightHtml)(e,n)}};window.FluidTopicsHighlightHtmlService=new vi});var ff,Si,uf=g(()=>{"use strict";ff=x(I());je();Si=class{isDate(e){var n,a,i,c;return(c=(i=((a=(n=W.getState().metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]).find(s=>s.key===e))===null||i===void 0?void 0:i.date)!==null&&c!==void 0?c:!1}format(e,n){var a,i,c;return ff.DateFormatter.format(e,(a=n?.locale)!==null&&a!==void 0?a:W.getState().uiLocale,(i=n?.longFormat)!==null&&i!==void 0?i:!1,(c=n?.withTime)!==null&&c!==void 0?c:!1)}};window.FluidTopicsDateService=new Si});var hf=g(()=>{"use strict";mi();Zo();sf();Wa();oo();pf();gi();uf()});var gf=g(()=>{"use strict"});var mf,Nr=g(()=>{"use strict";mf=x(I());Fa();cf();je();bi();hf();_a();gf();Fa();(0,mf.customElement)("ft-app-context")(de)});function He(t){var e;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?tp:vr}i18n(i,c,...l){var s;if(typeof i=="string")return this.i18nService.resolveMessage(i,c,...l);let h=(s=i.args)!==null&&s!==void 0?s:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...h)}onI18nUpdate(i){var c,l;(c=this[Oi])===null||c===void 0||c.forEach((s,h)=>{var m;let y=this.getI18nAttributeValue(h);((m=y?.context)===null||m===void 0?void 0:m.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(h,y,s)}),(l=this[gn])===null||l===void 0||l.forEach((s,h)=>{s.context.toLowerCase()===i.toLowerCase()&&(this[h]=this.i18n(s))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,c,l){this[i]={...c,message:this.i18n({context:c.context,key:c.key,...l})}}update(i){var c,l;super.update(i),(c=this[Oi])===null||c===void 0||c.forEach((s,h)=>{let m=this.getI18nAttributeValue(h);m?.context&&m.key&&(i.has(h)||s.argsProvider!=null)&&(i.has(h)&&this.addI18nContext(m.context),this.updateI18nAttributeMessage(h,m,s))}),(l=this[gn])===null||l===void 0||l.forEach((s,h)=>{s.argsProvider!=null&&(this[h]=this.i18n(s))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,c,l,s;super.connectedCallback(),new Set([...(c=(i=this[gn])===null||i===void 0?void 0:i.values())!==null&&c!==void 0?c:[],...[...(s=(l=this[Oi])===null||l===void 0?void 0:l.keys())!==null&&s!==void 0?s:[]].map(h=>this.getI18nAttributeValue(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h))}addI18nMessages(i,c){i=i.toLowerCase(),this[po].has(i)||this[po].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,c??{}),this.onI18nUpdate(i)}addI18nContext(i,c){this.addI18nMessages(typeof i=="string"?i:i.name,c)}disconnectedCallback(){super.disconnectedCallback(),this[po].forEach(i=>i()),this[po].clear()}}return e=po,kg([(0,bf.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var yn,bf,kg,Oi,gn,po,yf,mn,bn=g(()=>{"use strict";yn=x(I());Nr();bf=x(oe()),kg=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c},Oi=Symbol("i18nAttributes"),gn=Symbol("i18nProperties"),po=Symbol("i18nUnsubs");yf=class extends He(yn.FtLitElement){},mn=class extends He(yn.FtLitElementRedux){}});var xn,vn,Sn,fo,Xe,Ci=g(()=>{"use strict";xn=x(B()),vn=x(oe()),Sn=x(I());Ua();bn();Nr();fo=function(t,e,n,a){var i=arguments.length,c=i<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,n):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(t,e,n,a);else for(var s=t.length-1;s>=0;s--)(l=t[s])&&(c=(i<3?l(c):i>3?l(e,n,c):l(e,n))||c);return i>3&&c&&Object.defineProperty(e,n,c),c},Xe=class extends mn{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":xn.nothing:xn.html`
|
|
928
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>pr.addContext(o)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ne.elementDefinitions={};ne.styles=mu;xe([(0,Me.property)()],ne.prototype,"baseUrl",void 0);xe([(0,Me.property)()],ne.prototype,"apiIntegrationIdentifier",void 0);xe([(0,Me.property)()],ne.prototype,"uiLocale",void 0);xe([(0,He.jsonProperty)(null)],ne.prototype,"availableUiLocales",void 0);xe([(0,He.jsonProperty)(null)],ne.prototype,"metadataConfiguration",void 0);xe([(0,Me.property)({type:Boolean})],ne.prototype,"editorMode",void 0);xe([(0,Me.property)({type:Boolean})],ne.prototype,"noCustom",void 0);xe([(0,Me.property)({type:Boolean})],ne.prototype,"openExternalDocumentInNewTab",void 0);xe([(0,Me.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ne.prototype,"noCustomComponent",void 0);xe([(0,Me.property)({type:Boolean})],ne.prototype,"withManualResources",void 0);xe([(0,Me.property)({type:Boolean})],ne.prototype,"navigatorOnline",void 0);xe([(0,Me.property)({type:Boolean})],ne.prototype,"forcedOffline",void 0);xe([(0,Me.property)({type:Object})],ne.prototype,"apiProvider",void 0);xe([(0,He.jsonProperty)([])],ne.prototype,"messageContexts",void 0);xe([(0,He.jsonProperty)(void 0)],ne.prototype,"session",void 0)});function sh(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!jo(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!jo(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!jo(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function jo(t,e){try{return sh(t,e)}catch{return!1}}function ki(t,e){return!jo(t,e)}var Di=f(()=>{"use strict"});var ch,xu=f(()=>{"use strict";Di();ch=y(X(),1)});var Vo,Mi=f(()=>{"use strict";Vo=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}}});function Su(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,vu.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:ki,...e??{}})}var vu,Ou=f(()=>{"use strict";vu=y(X(),1);Di()});var Go,Cu=f(()=>{"use strict";Go=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Ko,lh,L0,Eu,wu=f(()=>{Ko=window,lh=Ko.ShadowRoot&&(Ko.ShadyCSS===void 0||Ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,L0=Symbol(),Eu=(t,e)=>{lh?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),i=Ko.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)})}});var Au,Zo,Ru=f(()=>{"use strict";Au=y(k(),1);wu();Zo=class extends Au.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Eu(n,e.elementStyles),n}}});var Yr,qo,Iu,Nu,Pu,Tu,Ot,Lu=f(()=>{"use strict";Yr=y(X(),1);Ou();Cu();Ru();qo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Nu=Symbol("constructorPrototype"),Pu=Symbol("constructorName"),Tu=Symbol("exportpartsDebouncer"),Ot=class extends Zo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Iu]=new Go(5),this[Pu]=this.constructor.name,this[Nu]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pu]&&Object.setPrototypeOf(this,this[Nu])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Tu].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,a,s,l;let d=b=>b!=null&&b.trim().length>0,p=e.filter(d).map(b=>b.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let b of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(a=(i=b.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...v,...x).filter(d).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let g=[...h.values()].flatMap(b=>p.map(v=>`${b}:${v}--${b}`));this.setAttribute("exportparts",[...this.part,...g].join(", "))}};Iu=Tu;qo([(0,Yr.property)()],Ot.prototype,"exportpartsPrefix",void 0);qo([Su([])],Ot.prototype,"exportpartsPrefixes",void 0);qo([(0,Yr.property)()],Ot.prototype,"customStylesheet",void 0);qo([(0,Yr.state)()],Ot.prototype,"useAdoptedStyleSheets",void 0)});function Xr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Yo=f(()=>{"use strict"});var _u,ku,Du,Xo,Ct,jt,Qr,Mu=f(()=>{"use strict";Lu();Yo();Xo=Symbol("internalReduxEventsUnsubscribers"),Ct=Symbol("internalStoresUnsubscribers"),jt=Symbol("internalStores"),Qr=class extends Ot{constructor(){super(...arguments),this[_u]=new Map,this[ku]=new Map,this[Du]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[jt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[jt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[jt].get(e)}addStore(e,o){var n;o=(n=o??(Xr(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[jt].delete(o)}setupStore(e,o){this[jt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[jt].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(e.store);i&&(e.store?this[Ct].has(e.store):this[Ct].size>0)&&(this[o]=e.selector(i.getState(),this))}})}subscribeToStore(e,o){var n;this[Ct].set(e,o.subscribe(()=>this.updateFromStores())),Xr(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=l=>this[a](l);o.eventBus.addEventListener(i.eventName,s),this[Xo].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Ct].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Xo].forEach(e=>e()),this[Xo]=[]}unsubscribeFromStore(e){this[Ct].has(e)&&this[Ct].get(e)(),this[Ct].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};_u=Ct,ku=jt,Du=Xo;Qr.reduxProperties=new Map;Qr.reduxReactiveProperties=new Set;Qr.reduxEventListeners=new Map});function Be(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function dt(t){return!!t&&!!t[J]}function je(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===gh}(t)||Array.isArray(t)||!!t[Hu]||!!(!((e=t.constructor)===null||e===void 0)&&e[Hu])||Vi(t)||Gi(t))}function Vt(t,e,o){o===void 0&&(o=!1),mr(t)===0?(o?Object.keys:hr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function mr(t){var e=t[J];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Vi(t)?2:Gi(t)?3:0}function fr(t,e){return mr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function uh(t,e){return mr(t)===2?t.get(e):t[e]}function ju(t,e,o){var n=mr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Vu(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Vi(t){return mh&&t instanceof Map}function Gi(t){return yh&&t instanceof Set}function Et(t){return t.o||t.t}function Ki(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Zu(t);delete e[J];for(var o=hr(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Zi(t,e){return e===void 0&&(e=!1),qi(t)||dt(t)||!je(t)||(mr(t)>1&&(t.set=t.add=t.clear=t.delete=dh),Object.freeze(t),e&&Vt(t,function(o,n){return Zi(n,!0)},!0)),t}function dh(){Be(2)}function qi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Xe(t){var e=ji[t];return e||Be(18,t),e}function ph(t,e){ji[t]||(ji[t]=e)}function Wi(){return eo}function Bi(t,e){e&&(Xe("Patches"),t.u=[],t.s=[],t.v=e)}function Qo(t){zi(t),t.p.forEach(fh),t.p=null}function zi(t){t===eo&&(eo=t.l)}function Bu(t){return eo={p:[],l:eo,h:t,m:!0,_:0}}function fh(t){var e=t[J];e.i===0||e.i===1?e.j():e.g=!0}function Ui(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||Xe("ES5").S(e,t,n),n?(o[J].P&&(Qo(e),Be(4)),je(t)&&(t=Jo(e,t),e.l||en(e,t)),e.u&&Xe("Patches").M(o[J].t,t,e.u,e.s)):t=Jo(e,o,[]),Qo(e),e.u&&e.v(e.u,e.s),t!==Ku?t:void 0}function Jo(t,e,o){if(qi(e))return e;var n=e[J];if(!n)return Vt(e,function(l,d){return Uu(t,n,e,l,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return en(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ki(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Vt(a,function(l,d){return Uu(t,n,i,l,d,o,s)}),en(t,i,!1),o&&t.u&&Xe("Patches").N(n,o,t.u,t.s)}return n.o}function Uu(t,e,o,n,i,a,s){if(dt(i)){var l=Jo(t,i,a&&e&&e.i!==3&&!fr(e.R,n)?a.concat(n):void 0);if(ju(o,n,l),!dt(l))return;t.m=!1}else s&&o.add(i);if(je(i)&&!qi(i)){if(!t.h.D&&t._<1)return;Jo(t,i),e&&e.A.l||en(t,i)}}function en(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Zi(e,o)}function $i(t,e){var o=t[J];return(o?Et(o):t)[e]}function $u(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function wt(t){t.P||(t.P=!0,t.l&&wt(t.l))}function Fi(t){t.o||(t.o=Ki(t.t))}function Hi(t,e,o){var n=Vi(e)?Xe("MapSet").F(e,o):Gi(e)?Xe("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Wi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,p=to;s&&(d=[l],p=Jr);var h=Proxy.revocable(d,p),g=h.revoke,b=h.proxy;return l.k=b,l.j=g,b}(e,o):Xe("ES5").J(e,o);return(o?o.A:Wi()).p.push(n),n}function hh(t){return dt(t)||Be(22,t),function e(o){if(!je(o))return o;var n,i=o[J],a=mr(o);if(i){if(!i.P&&(i.i<4||!Xe("ES5").K(i)))return i.t;i.I=!0,n=Fu(o,a),i.I=!1}else n=Fu(o,a);return Vt(n,function(s,l){i&&uh(i.t,s)===l||ju(n,s,e(l))}),a===3?new Set(n):n}(t)}function Fu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ki(t)}function Gu(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[J];return to.get(p,s)},set:function(p){var h=this[J];to.set(h,s,p)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][J];if(!d.P)switch(d.i){case 5:n(d)&&wt(d);break;case 4:o(d)&&wt(d)}}}function o(s){for(var l=s.t,d=s.k,p=hr(d),h=p.length-1;h>=0;h--){var g=p[h];if(g!==J){var b=l[g];if(b===void 0&&!fr(l,g))return!0;var v=d[g],x=v&&v[J];if(x?x.t!==b:!Vu(v,b))return!0}}var O=!!l[J];return p.length!==hr(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&Be(3,JSON.stringify(Et(s)))}var a={};ph("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(g,b){if(g){for(var v=Array(b.length),x=0;x<b.length;x++)Object.defineProperty(v,""+x,t(x,!0));return v}var O=Zu(b);delete O[J];for(var P=hr(O),R=0;R<P.length;R++){var N=P[R];O[N]=t(N,g||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(b),O)}(d,s),h={i:d?5:4,A:l?l.A:Wi(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,J,{value:h,writable:!0}),p},S:function(s,l,d){d?dt(l)&&l[J].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var g=h[J];if(g){var b=g.t,v=g.k,x=g.R,O=g.i;if(O===4)Vt(v,function(_){_!==J&&(b[_]!==void 0||fr(b,_)?x[_]||p(v[_]):(x[_]=!0,wt(g)))}),Vt(b,function(_){v[_]!==void 0||fr(v,_)||(x[_]=!1,wt(g))});else if(O===5){if(n(g)&&(wt(g),x.length=!0),v.length<b.length)for(var P=v.length;P<b.length;P++)x[P]=!1;else for(var R=b.length;R<v.length;R++)x[R]=!0;for(var N=Math.min(v.length,b.length),M=0;M<N;M++)v.hasOwnProperty(M)||(x[M]=!0),x[M]===void 0&&p(v[M])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Wu,eo,Yi,mh,yh,zu,Ku,Hu,J,gh,hr,Zu,ji,to,Jr,bh,Te,xh,j0,V0,G0,K0,Z0,q0,tn,rn=f(()=>{Yi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",mh=typeof Map<"u",yh=typeof Set<"u",zu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ku=Yi?Symbol.for("immer-nothing"):((Wu={})["immer-nothing"]=!0,Wu),Hu=Yi?Symbol.for("immer-draftable"):"__$immer_draftable",J=Yi?Symbol.for("immer-state"):"__$immer_state",gh=""+Object.prototype.constructor,hr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Zu=Object.getOwnPropertyDescriptors||function(t){var e={};return hr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},ji={},to={get:function(t,e){if(e===J)return t;var o=Et(t);if(!fr(o,e))return function(i,a,s){var l,d=$u(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!je(n)?n:n===$i(t.t,e)?(Fi(t),t.o[e]=Hi(t.A.h,n,t)):n},has:function(t,e){return e in Et(t)},ownKeys:function(t){return Reflect.ownKeys(Et(t))},set:function(t,e,o){var n=$u(Et(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=$i(Et(t),e),a=i?.[J];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Vu(o,i)&&(o!==void 0||fr(t.t,e)))return!0;Fi(t),wt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return $i(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Fi(t),wt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Et(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Be(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Be(12)}},Jr={};Vt(to,function(t,e){Jr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Jr.deleteProperty=function(t,e){return Jr.set.call(this,t,e,void 0)},Jr.set=function(t,e,o){return to.set.call(this,t[0],e,o,t[0])};bh=function(){function t(o){var n=this;this.O=zu,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(O){var P=this;O===void 0&&(O=l);for(var R=arguments.length,N=Array(R>1?R-1:0),M=1;M<R;M++)N[M-1]=arguments[M];return d.produce(O,function(_){var G;return(G=a).call.apply(G,[P,_].concat(N))})}}var p;if(typeof a!="function"&&Be(6),s!==void 0&&typeof s!="function"&&Be(7),je(i)){var h=Bu(n),g=Hi(n,i,void 0),b=!0;try{p=a(g),b=!1}finally{b?Qo(h):zi(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return Bi(h,s),Ui(O,h)},function(O){throw Qo(h),O}):(Bi(h,s),Ui(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===Ku&&(p=void 0),n.D&&Zi(p,!0),s){var v=[],x=[];Xe("Patches").M(i,p,v,x),s(v,x)}return p}Be(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,g=Array(h>1?h-1:0),b=1;b<h;b++)g[b-1]=arguments[b];return n.produceWithPatches(p,function(v){return i.apply(void 0,[v].concat(g))})};var s,l,d=n.produce(i,a,function(p,h){s=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){je(o)||Be(8),dt(o)&&(o=hh(o));var n=Bu(this),i=Hi(this,o,void 0);return i[J].C=!0,zi(n),i},e.finishDraft=function(o,n){var i=o&&o[J],a=i.A;return Bi(a,n),Ui(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!zu&&Be(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Xe("Patches").$;return dt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),Te=new bh,xh=Te.produce,j0=Te.produceWithPatches.bind(Te),V0=Te.setAutoFreeze.bind(Te),G0=Te.setUseProxies.bind(Te),K0=Te.applyPatches.bind(Te),Z0=Te.createDraft.bind(Te),q0=Te.finishDraft.bind(Te),tn=xh});function At(t){"@babel/helpers - typeof";return At=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},At(t)}var Xi=f(()=>{});function Qi(t,e){if(At(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(At(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var qu=f(()=>{Xi()});function Ji(t){var e=Qi(t,"string");return At(e)==="symbol"?e:String(e)}var Yu=f(()=>{Xi();qu()});function ea(t,e,o){return e=Ji(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var Xu=f(()=>{Yu()});function Qu(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function on(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Qu(Object(o),!0).forEach(function(n){ea(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Qu(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}var Ju=f(()=>{Xu()});function he(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function vh(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function ra(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(he(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(he(1));return o(ra)(t,e)}if(typeof t!="function")throw new Error(he(2));var i=t,a=e,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(he(3));return a}function g(O){if(typeof O!="function")throw new Error(he(4));if(d)throw new Error(he(5));var P=!0;return p(),l.push(O),function(){if(P){if(d)throw new Error(he(6));P=!1,p();var N=l.indexOf(O);l.splice(N,1),s=null}}}function b(O){if(!vh(O))throw new Error(he(7));if(typeof O.type>"u")throw new Error(he(8));if(d)throw new Error(he(9));try{d=!0,a=i(a,O)}finally{d=!1}for(var P=s=l,R=0;R<P.length;R++){var N=P[R];N()}return O}function v(O){if(typeof O!="function")throw new Error(he(10));i=O,b({type:nn.REPLACE})}function x(){var O,P=g;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(he(11));function M(){N.next&&N.next(h())}M();var _=P(M);return{unsubscribe:_}}},O[ed]=function(){return this},O}return b({type:nn.INIT}),n={dispatch:b,subscribe:g,getState:h,replaceReducer:v},n[ed]=x,n}function Sh(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:nn.INIT});if(typeof n>"u")throw new Error(he(12));if(typeof o(void 0,{type:nn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(he(13))})}function td(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,l;try{Sh(o)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var g;for(var b=!1,v={},x=0;x<a.length;x++){var O=a[x],P=o[O],R=p[O],N=P(R,h);if(typeof N>"u"){var M=h&&h.type;throw new Error(he(14))}v[O]=N,b=b||N!==R}return b=b||a.length!==Object.keys(p).length,b?v:p}}function yr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function rd(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(he(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=yr.apply(void 0,l)(i.dispatch),on(on({},i),{},{dispatch:a})}}}var ed,ta,nn,an=f(()=>{Ju();ed=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ta=function(){return Math.random().toString(36).substring(7).split("").join(".")},nn={INIT:"@@redux/INIT"+ta(),REPLACE:"@@redux/REPLACE"+ta(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ta()}}});function od(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var nd,oa,id=f(()=>{nd=od();nd.withExtraArgument=od;oa=nd});function Ih(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}function sa(t){return je(t)?tn(t,function(){}):t}function _h(t){return typeof t=="boolean"}function kh(){return function(e){return Dh(e)}}function Dh(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,l=new Th;if(o&&(_h(o)?l.push(oa):l.push(oa.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return l}function dd(t){var e=kh(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,g=o.enhancers,b=g===void 0?void 0:g,v;if(typeof i=="function")v=i;else if(Ih(i))v=td(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(e),!ia&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ia&&x.some(function(_){return typeof _!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=rd.apply(void 0,x),P=yr;d&&(P=Ph(Rt({trace:!ia},typeof d=="object"&&d)));var R=new Lh(O),N=R;Array.isArray(b)?N=gr([O],b):typeof b=="function"&&(N=b(R));var M=P.apply(void 0,N);return ra(v,h,M)}function Nt(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Rt(Rt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function pd(t){var e={},o=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function Mh(t){return typeof t=="function"}function Bh(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?pd(e):[e,o,n],a=i[0],s=i[1],l=i[2],d;if(Mh(t))d=function(){return sa(t())};else{var p=sa(t);d=function(){return p}}function h(g,b){g===void 0&&(g=d());var v=gr([a[b.type]],s.filter(function(x){var O=x.matcher;return O(b)}).map(function(x){var O=x.reducer;return O}));return v.filter(function(x){return!!x}).length===0&&(v=[l]),v.reduce(function(x,O){if(O)if(dt(x)){var P=x,R=O(P,b);return R===void 0?x:R}else{if(je(x))return tn(x,function(N){return O(N,b)});var R=O(x,b);if(R===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return x},g)}return h.getInitialState=d,h}function Uh(t,e){return t+"/"+e}function fd(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:sa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var g=n[h],b=Uh(e,h),v,x;"reducer"in g?(v=g.reducer,x=g.prepare):v=g,a[h]=v,s[b]=v,l[h]=x?Nt(b,x):Nt(b)});function d(){var h=typeof t.extraReducers=="function"?pd(t.extraReducers):[t.extraReducers],g=h[0],b=g===void 0?{}:g,v=h[1],x=v===void 0?[]:v,O=h[2],P=O===void 0?void 0:O,R=Rt(Rt({},b),s);return Bh(o,function(N){for(var M in R)N.addCase(M,R[M]);for(var _=0,G=x;_<G.length;_++){var ve=G[_];N.addMatcher(ve.matcher,ve.reducer)}P&&N.addDefaultCase(P)})}var p;return{name:e,reducer:function(h,g){return p||(p=d()),p(h,g)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}function Hh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function jh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var ud,Oh,gr,Ch,Eh,wh,ad,Ah,Rh,sd,Rt,na,Nh,Ph,fS,Th,Lh,ia,$h,Fh,Wh,aa,cd,zh,gS,hd,md,yd,bS,xS,vS,SS,ca,OS,CS,ES,ld,wS,Vh,AS,gd=f(()=>{rn();an();an();an();id();rn();rn();ud=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Oh=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=e.call(t,o)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},gr=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},Ch=Object.defineProperty,Eh=Object.defineProperties,wh=Object.getOwnPropertyDescriptors,ad=Object.getOwnPropertySymbols,Ah=Object.prototype.hasOwnProperty,Rh=Object.prototype.propertyIsEnumerable,sd=function(t,e,o){return e in t?Ch(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Rt=function(t,e){for(var o in e||(e={}))Ah.call(e,o)&&sd(t,o,e[o]);if(ad)for(var n=0,i=ad(e);n<i.length;n++){var o=i[n];Rh.call(e,o)&&sd(t,o,e[o])}return t},na=function(t,e){return Eh(t,wh(e))},Nh=function(t,e,o){return new Promise(function(n,i){var a=function(d){try{l(o.next(d))}catch(p){i(p)}},s=function(d){try{l(o.throw(d))}catch(p){i(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((o=o.apply(t,e)).next())})},Ph=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?yr:yr.apply(null,arguments)},fS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Th=function(t){ud(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,gr([void 0],o[0].concat(this)))):new(e.bind.apply(e,gr([void 0],o.concat(this))))},e}(Array),Lh=function(t){ud(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,gr([void 0],o[0].concat(this)))):new(e.bind.apply(e,gr([void 0],o.concat(this))))},e}(Array);ia=!0;$h="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Fh=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=$h[Math.random()*64|0];return e},Wh=["name","message","stack","code"],aa=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),cd=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),zh=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Wh;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},gS=function(){function t(e,o,n){var i=Nt(e+"/fulfilled",function(h,g,b,v){return{payload:h,meta:na(Rt({},v||{}),{arg:b,requestId:g,requestStatus:"fulfilled"})}}),a=Nt(e+"/pending",function(h,g,b){return{payload:void 0,meta:na(Rt({},b||{}),{arg:g,requestId:h,requestStatus:"pending"})}}),s=Nt(e+"/rejected",function(h,g,b,v,x){return{payload:v,error:(n&&n.serializeError||zh)(h||"Rejected"),meta:na(Rt({},x||{}),{arg:b,requestId:g,rejectedWithValue:!!v,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(g,b,v){var x=n?.idGenerator?n.idGenerator(h):Fh(),O=new d,P,R=!1;function N(_){P=_,O.abort()}var M=function(){return Nh(this,null,function(){var _,G,ve,ce,Nr,ke,m;return Oh(this,function(S){switch(S.label){case 0:return S.trys.push([0,4,,5]),ce=(_=n?.condition)==null?void 0:_.call(n,h,{getState:b,extra:v}),jh(ce)?[4,ce]:[3,2];case 1:ce=S.sent(),S.label=2;case 2:if(ce===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,Nr=new Promise(function(I,Q){return O.signal.addEventListener("abort",function(){return Q({name:"AbortError",message:P||"Aborted"})})}),g(a(x,h,(G=n?.getPendingMeta)==null?void 0:G.call(n,{requestId:x,arg:h},{getState:b,extra:v}))),[4,Promise.race([Nr,Promise.resolve(o(h,{dispatch:g,getState:b,extra:v,requestId:x,signal:O.signal,abort:N,rejectWithValue:function(I,Q){return new aa(I,Q)},fulfillWithValue:function(I,Q){return new cd(I,Q)}})).then(function(I){if(I instanceof aa)throw I;return I instanceof cd?i(I.payload,x,h,I.meta):i(I,x,h)})])];case 3:return ve=S.sent(),[3,5];case 4:return ke=S.sent(),ve=ke instanceof aa?s(null,x,h,ke.payload,ke.meta):s(ke,x,h),[3,5];case 5:return m=n&&!n.dispatchConditionRejection&&s.match(ve)&&ve.meta.condition,m||g(ve),[2,ve]}})})}();return Object.assign(M,{abort:N,requestId:x,arg:h,unwrap:function(){return M.then(Hh)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();hd="listener",md="completed",yd="cancelled",bS="task-"+yd,xS="task-"+md,vS=hd+"-"+yd,SS=hd+"-"+md,ca="listenerMiddleware",OS=Nt(ca+"/add"),CS=Nt(ca+"/removeAll"),ES=Nt(ca+"/remove"),wS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ld||(ld=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Vh=function(t){return function(e){setTimeout(e,t)}},AS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Vh(10);Gu()});var bd,xd=f(()=>{"use strict";gd();Yo();Mi();window.ftReduxStores||(window.ftReduxStores={});bd=class t{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Xr(a))return a;if(i==null)return;let s=fd({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=dd({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[i.name]=new t(s,l)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Vo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...d)=>{let p=l(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var vd=f(()=>{"use strict";xu();Mi();Mu();xd();Yo()});var Sd=f(()=>{"use strict"});var Gh,Od=f(()=>{"use strict";Gh=y(X());vd();Sd();ze()});var sn,la=f(()=>{"use strict";ze();qr();sn=class extends Ye{async listMySearches(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var cn,ua=f(()=>{"use strict";ze();qr();cn=class extends Ye{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var un,Kh,ln,da,Cd,pa=f(()=>{"use strict";un=y(A());la();ua();ze();Kh="ft-user-assets",ln=un.FtReduxStore.get({name:Kh,initialState:{savedSearches:void 0,bookmarks:void 0}}),da=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new cn,this.savedSearchesService=new sn,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=D.getState();(0,un.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ln.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ln.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();ln.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;ln.actions.bookmarks(o)}}},Cd=new da});var fa,Ed=f(()=>{"use strict";ze();fa=class{addCommand(e,o=!1){D.commands.add(e,o)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new fa});var wd,ha,Ad=f(()=>{"use strict";wd=y(A()),ha=class{highlightHtml(e,o){(0,wd.highlightHtml)(e,o)}};window.FluidTopicsHighlightHtmlService=new ha});var Rd,ma,Nd=f(()=>{"use strict";Rd=y(A());ze();ma=class{isDate(e){var o,n,i,a;return(a=(i=((n=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,o){var n,i,a;return Rd.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:D.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ma});var Pd=f(()=>{"use strict";ua();zo();Ed();Li();qr();Ad();la();Nd()});var Id=f(()=>{"use strict"});var Td,br=f(()=>{"use strict";Td=y(A());_i();Od();ze();pa();Pd();Pi();Id();_i();(0,Td.customElement)("ft-app-context")(ne)});function Ue(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?gu:pr}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let d=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...d)}onI18nUpdate(i){var a,s;(a=this[ya])===null||a===void 0||a.forEach((l,d)=>{var p;let h=this.getI18nAttributeValue(d);((p=h?.context)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(d,h,l)}),(s=this[dn])===null||s===void 0||s.forEach((l,d)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[d]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[ya])===null||a===void 0||a.forEach((l,d)=>{let p=this.getI18nAttributeValue(d);p?.context&&p.key&&(i.has(d)||l.argsProvider!=null)&&(i.has(d)&&this.addI18nContext(p.context),this.updateI18nAttributeMessage(d,p,l))}),(s=this[dn])===null||s===void 0||s.forEach((l,d)=>{l.argsProvider!=null&&(this[d]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[dn])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[ya])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(d=>this.getI18nAttributeValue(d))].map(d=>d?.context)).forEach(d=>d&&this.addI18nMessages(d))}addI18nMessages(i,a){i=i.toLowerCase(),this[ro].has(i)||this[ro].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[ro].forEach(i=>i()),this[ro].clear()}}return e=ro,Zh([(0,_d.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var fn,_d,Zh,ya,dn,ro,Ld,pn,hn=f(()=>{"use strict";fn=y(A());br();_d=y(X()),Zh=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ya=Symbol("i18nAttributes"),dn=Symbol("i18nProperties"),ro=Symbol("i18nUnsubs");Ld=class extends Ue(fn.FtLitElement){},pn=class extends Ue(fn.FtLitElementRedux){}});var mn,yn,gn,oo,Ve,ga=f(()=>{"use strict";mn=y(k()),yn=y(X()),gn=y(A());Ni();hn();br();oo=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ve=class extends pn{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":mn.nothing:mn.html`
|
|
904
929
|
<span class="ft-i18n">
|
|
905
930
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
906
931
|
</span>
|
|
907
|
-
`}update(e){var n;super.update(e),["context","key","defaultMessage"].some(a=>e.has(a))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(n=this.defaultMessage)!==null&&n!==void 0?n:""})}};Xe.elementDefinitions={};Xe.styles=Xd;fo([(0,Sn.redux)()],Xe.prototype,"editorMode",void 0);fo([(0,vn.property)()],Xe.prototype,"context",void 0);fo([(0,vn.property)()],Xe.prototype,"key",void 0);fo([(0,Sn.jsonProperty)([])],Xe.prototype,"args",void 0);fo([(0,vn.property)()],Xe.prototype,"defaultMessage",void 0)});var at,xf=g(()=>{"use strict";Nr();at=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>vr.resolveMessage(this.name,a,...i)})}}});var vf=g(()=>{"use strict";bn()});var Sf=g(()=>{"use strict"});var Of,it=g(()=>{"use strict";Of=x(I());Ci();xf();bn();vf();Ua();Sf();Ci();(0,Of.customElement)("ft-i18n")(Xe)});var Rf=Mt(Nf=>{(function(t){var e=function(n){var a={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(b){return b&&DataView.prototype.isPrototypeOf(b)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(b){return b&&c.indexOf(Object.prototype.toString.call(b))>-1};function s(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(b))throw new TypeError("Invalid character in header field name");return b.toLowerCase()}function h(b){return typeof b!="string"&&(b=String(b)),b}function m(b){var E={next:function(){var T=b.shift();return{done:T===void 0,value:T}}};return a.iterable&&(E[Symbol.iterator]=function(){return E}),E}function y(b){this.map={},b instanceof y?b.forEach(function(E,T){this.append(T,E)},this):Array.isArray(b)?b.forEach(function(E){this.append(E[0],E[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(E){this.append(E,b[E])},this)}y.prototype.append=function(b,E){b=s(b),E=h(E);var T=this.map[b];this.map[b]=T?T+", "+E:E},y.prototype.delete=function(b){delete this.map[s(b)]},y.prototype.get=function(b){return b=s(b),this.has(b)?this.map[b]:null},y.prototype.has=function(b){return this.map.hasOwnProperty(s(b))},y.prototype.set=function(b,E){this.map[s(b)]=h(E)},y.prototype.forEach=function(b,E){for(var T in this.map)this.map.hasOwnProperty(T)&&b.call(E,this.map[T],T,this)},y.prototype.keys=function(){var b=[];return this.forEach(function(E,T){b.push(T)}),m(b)},y.prototype.values=function(){var b=[];return this.forEach(function(E){b.push(E)}),m(b)},y.prototype.entries=function(){var b=[];return this.forEach(function(E,T){b.push([T,E])}),m(b)},a.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function v(b){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}function S(b){return new Promise(function(E,T){b.onload=function(){E(b.result)},b.onerror=function(){T(b.error)}})}function C(b){var E=new FileReader,T=S(E);return E.readAsArrayBuffer(b),T}function O(b){var E=new FileReader,T=S(E);return E.readAsText(b),T}function w(b){for(var E=new Uint8Array(b),T=new Array(E.length),ne=0;ne<E.length;ne++)T[ne]=String.fromCharCode(E[ne]);return T.join("")}function k(b){if(b.slice)return b.slice(0);var E=new Uint8Array(b.byteLength);return E.set(new Uint8Array(b)),E.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(b){this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:a.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:a.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():a.arrayBuffer&&a.blob&&i(b)?(this._bodyArrayBuffer=k(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=k(b):this._bodyText=b=Object.prototype.toString.call(b):this._bodyText="",this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var b=v(this);if(b)return b;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?v(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(C)}),this.text=function(){var b=v(this);if(b)return b;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(w(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(X)}),this.json=function(){return this.text().then(JSON.parse)},this}var P=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function F(b){var E=b.toUpperCase();return P.indexOf(E)>-1?E:b}function D(b,E){E=E||{};var T=E.body;if(b instanceof D){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,E.headers||(this.headers=new y(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!T&&b._bodyInit!=null&&(T=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=E.credentials||this.credentials||"same-origin",(E.headers||!this.headers)&&(this.headers=new y(E.headers)),this.method=F(E.method||this.method||"GET"),this.mode=E.mode||this.mode||null,this.signal=E.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&T)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(T)}D.prototype.clone=function(){return new D(this,{body:this._bodyInit})};function X(b){var E=new FormData;return b.trim().split("&").forEach(function(T){if(T){var ne=T.split("="),ye=ne.shift().replace(/\+/g," "),Q=ne.join("=").replace(/\+/g," ");E.append(decodeURIComponent(ye),decodeURIComponent(Q))}}),E}function Ee(b){var E=new y,T=b.replace(/\r?\n[\t ]+/g," ");return T.split(/\r?\n/).forEach(function(ne){var ye=ne.split(":"),Q=ye.shift().trim();if(Q){var vo=ye.join(":").trim();E.append(Q,vo)}}),E}L.call(D.prototype);function he(b,E){E||(E={}),this.type="default",this.status=E.status===void 0?200:E.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in E?E.statusText:"OK",this.headers=new y(E.headers),this.url=E.url||"",this._initBody(b)}L.call(he.prototype),he.prototype.clone=function(){return new he(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},he.error=function(){var b=new he(null,{status:0,statusText:""});return b.type="error",b};var Br=[301,302,303,307,308];he.redirect=function(b,E){if(Br.indexOf(E)===-1)throw new RangeError("Invalid status code");return new he(null,{status:E,headers:{location:b}})},n.DOMException=t.DOMException;try{new n.DOMException}catch{n.DOMException=function(E,T){this.message=E,this.name=T;var ne=Error(E);this.stack=ne.stack},n.DOMException.prototype=Object.create(Error.prototype),n.DOMException.prototype.constructor=n.DOMException}function Fe(b,E){return new Promise(function(T,ne){var ye=new D(b,E);if(ye.signal&&ye.signal.aborted)return ne(new n.DOMException("Aborted","AbortError"));var Q=new XMLHttpRequest;function vo(){Q.abort()}Q.onload=function(){var Dr={status:Q.status,statusText:Q.statusText,headers:Ee(Q.getAllResponseHeaders()||"")};Dr.url="responseURL"in Q?Q.responseURL:Dr.headers.get("X-Request-URL");var zn="response"in Q?Q.response:Q.responseText;T(new he(zn,Dr))},Q.onerror=function(){ne(new TypeError("Network request failed"))},Q.ontimeout=function(){ne(new TypeError("Network request failed"))},Q.onabort=function(){ne(new n.DOMException("Aborted","AbortError"))},Q.open(ye.method,ye.url,!0),ye.credentials==="include"?Q.withCredentials=!0:ye.credentials==="omit"&&(Q.withCredentials=!1),"responseType"in Q&&a.blob&&(Q.responseType="blob"),ye.headers.forEach(function(Dr,zn){Q.setRequestHeader(zn,Dr)}),ye.signal&&(ye.signal.addEventListener("abort",vo),Q.onreadystatechange=function(){Q.readyState===4&&ye.signal.removeEventListener("abort",vo)}),Q.send(typeof ye._bodyInit>"u"?null:ye._bodyInit)})}return Fe.polyfill=!0,t.fetch||(t.fetch=Fe,t.Headers=y,t.Request=D,t.Response=he),n.Headers=y,n.Request=D,n.Response=he,n.fetch=Fe,Object.defineProperty(n,"__esModule",{value:!0}),n}({})})(typeof self<"u"?self:Nf)});var Af=g(()=>{});var If,Lf,Pf,kf,Tf,Uf,_f,Bf,Df,Wf,Ff,Rr,Mf,Cn,zf,Ar,Ir,me,Ni=g(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(If||(If={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Lf||(Lf={}));(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Pf||(Pf={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(kf||(kf={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Tf||(Tf={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Uf||(Uf={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(_f||(_f={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Bf||(Bf={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Df||(Df={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Wf||(Wf={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Ff||(Ff={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Rr||(Rr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Mf||(Mf={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Cn||(Cn={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(zf||(zf={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ar||(Ar={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Ir||(Ir={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(me||(me={}))});var $f,Hf=g(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})($f||($f={}))});var iR,Gf=g(()=>{Ni();iR={[me.PERSONAL_BOOK_SHARE_USER]:[me.PERSONAL_BOOK_USER],[me.HTML_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.PDF_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.KHUB_ADMIN]:[me.CONTENT_PUBLISHER],[me.ADMIN]:[me.KHUB_ADMIN,me.USERS_ADMIN,me.PORTAL_ADMIN],[me.DEVELOPER]:[me.BETA_USER,me.DEBUG_USER]}});var Kf=g(()=>{});var dR,Ri=g(()=>{dR=x(Rf(),1);Af();Ni();Hf();Gf();Kf()});var Zf,Vf=g(()=>{Jn();Zf=t=>t??fe});var jf=g(()=>{Vf()});function qf(t){var e,n,a,i,c;return((i=(n=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&n!==void 0?n:(a=t.topic)===null||a===void 0?void 0:a.openMode)!==null&&i!==void 0?i:(c=t.document)===null||c===void 0?void 0:c.openMode)===Cn.EXTERNAL}function En(t){var e,n,a,i,c;if(qf(t))return(i=(n=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&n!==void 0?n:(a=t.topic)===null||a===void 0?void 0:a.originUrl)!==null&&i!==void 0?i:(c=t.document)===null||c===void 0?void 0:c.originUrl;switch(t.type){case Ar.MAP:return t.map.readerUrl;case Ar.DOCUMENT:return t.document.viewerUrl;case Ar.TOPIC:return t.topic.readerUrl}return""}function Yf(t,e){return Zf(e&&qf(t)?"_blank":void 0)}var Lr,Ai=g(()=>{"use strict";Ri();jf();Lr=class extends CustomEvent{constructor(e,n){super("ft-search-result-click",{detail:{result:e,rank:n},bubbles:!0,composed:!0})}}});var eu,_g,Li,Pi=g(()=>{"use strict";eu=x(B()),_g={},Li=eu.css`
|
|
908
|
-
`});var
|
|
932
|
+
`}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ve.elementDefinitions={};Ve.styles=fu;oo([(0,gn.redux)()],Ve.prototype,"editorMode",void 0);oo([(0,yn.property)()],Ve.prototype,"context",void 0);oo([(0,yn.property)()],Ve.prototype,"key",void 0);oo([(0,gn.jsonProperty)([])],Ve.prototype,"args",void 0);oo([(0,yn.property)()],Ve.prototype,"defaultMessage",void 0)});var Qe,kd=f(()=>{"use strict";br();Qe=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(o,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...i)=>pr.resolveMessage(this.name,n,...i)})}}});var Dd=f(()=>{"use strict";hn()});var Md=f(()=>{"use strict"});var Bd,Je=f(()=>{"use strict";Bd=y(A());ga();kd();hn();Dd();Ni();Md();ga();(0,Bd.customElement)("ft-i18n")(Ve)});var zd=_t(Wd=>{(function(t){var e=function(o){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(m){return m&&a.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(m))throw new TypeError("Invalid character in header field name");return m.toLowerCase()}function d(m){return typeof m!="string"&&(m=String(m)),m}function p(m){var S={next:function(){var I=m.shift();return{done:I===void 0,value:I}}};return n.iterable&&(S[Symbol.iterator]=function(){return S}),S}function h(m){this.map={},m instanceof h?m.forEach(function(S,I){this.append(I,S)},this):Array.isArray(m)?m.forEach(function(S){this.append(S[0],S[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(S){this.append(S,m[S])},this)}h.prototype.append=function(m,S){m=l(m),S=d(S);var I=this.map[m];this.map[m]=I?I+", "+S:S},h.prototype.delete=function(m){delete this.map[l(m)]},h.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},h.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},h.prototype.set=function(m,S){this.map[l(m)]=d(S)},h.prototype.forEach=function(m,S){for(var I in this.map)this.map.hasOwnProperty(I)&&m.call(S,this.map[I],I,this)},h.prototype.keys=function(){var m=[];return this.forEach(function(S,I){m.push(I)}),p(m)},h.prototype.values=function(){var m=[];return this.forEach(function(S){m.push(S)}),p(m)},h.prototype.entries=function(){var m=[];return this.forEach(function(S,I){m.push([I,S])}),p(m)},n.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function g(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function b(m){return new Promise(function(S,I){m.onload=function(){S(m.result)},m.onerror=function(){I(m.error)}})}function v(m){var S=new FileReader,I=b(S);return S.readAsArrayBuffer(m),I}function x(m){var S=new FileReader,I=b(S);return S.readAsText(m),I}function O(m){for(var S=new Uint8Array(m),I=new Array(S.length),Q=0;Q<S.length;Q++)I[Q]=String.fromCharCode(S[Q]);return I.join("")}function P(m){if(m.slice)return m.slice(0);var S=new Uint8Array(m.byteLength);return S.set(new Uint8Array(m)),S.buffer}function R(){return this.bodyUsed=!1,this._initBody=function(m){this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:n.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:n.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():n.arrayBuffer&&n.blob&&i(m)?(this._bodyArrayBuffer=P(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||s(m))?this._bodyArrayBuffer=P(m):this._bodyText=m=Object.prototype.toString.call(m):this._bodyText="",this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?g(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(O(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(G)}),this.json=function(){return this.text().then(JSON.parse)},this}var N=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function M(m){var S=m.toUpperCase();return N.indexOf(S)>-1?S:m}function _(m,S){S=S||{};var I=S.body;if(m instanceof _){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,S.headers||(this.headers=new h(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!I&&m._bodyInit!=null&&(I=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new h(S.headers)),this.method=M(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&I)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(I)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})};function G(m){var S=new FormData;return m.trim().split("&").forEach(function(I){if(I){var Q=I.split("="),de=Q.shift().replace(/\+/g," "),K=Q.join("=").replace(/\+/g," ");S.append(decodeURIComponent(de),decodeURIComponent(K))}}),S}function ve(m){var S=new h,I=m.replace(/\r?\n[\t ]+/g," ");return I.split(/\r?\n/).forEach(function(Q){var de=Q.split(":"),K=de.shift().trim();if(K){var po=de.join(":").trim();S.append(K,po)}}),S}R.call(_.prototype);function ce(m,S){S||(S={}),this.type="default",this.status=S.status===void 0?200:S.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in S?S.statusText:"OK",this.headers=new h(S.headers),this.url=S.url||"",this._initBody(m)}R.call(ce.prototype),ce.prototype.clone=function(){return new ce(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},ce.error=function(){var m=new ce(null,{status:0,statusText:""});return m.type="error",m};var Nr=[301,302,303,307,308];ce.redirect=function(m,S){if(Nr.indexOf(S)===-1)throw new RangeError("Invalid status code");return new ce(null,{status:S,headers:{location:m}})},o.DOMException=t.DOMException;try{new o.DOMException}catch{o.DOMException=function(S,I){this.message=S,this.name=I;var Q=Error(S);this.stack=Q.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function ke(m,S){return new Promise(function(I,Q){var de=new _(m,S);if(de.signal&&de.signal.aborted)return Q(new o.DOMException("Aborted","AbortError"));var K=new XMLHttpRequest;function po(){K.abort()}K.onload=function(){var Pr={status:K.status,statusText:K.statusText,headers:ve(K.getAllResponseHeaders()||"")};Pr.url="responseURL"in K?K.responseURL:Pr.headers.get("X-Request-URL");var Bn="response"in K?K.response:K.responseText;I(new ce(Bn,Pr))},K.onerror=function(){Q(new TypeError("Network request failed"))},K.ontimeout=function(){Q(new TypeError("Network request failed"))},K.onabort=function(){Q(new o.DOMException("Aborted","AbortError"))},K.open(de.method,de.url,!0),de.credentials==="include"?K.withCredentials=!0:de.credentials==="omit"&&(K.withCredentials=!1),"responseType"in K&&n.blob&&(K.responseType="blob"),de.headers.forEach(function(Pr,Bn){K.setRequestHeader(Bn,Pr)}),de.signal&&(de.signal.addEventListener("abort",po),K.onreadystatechange=function(){K.readyState===4&&de.signal.removeEventListener("abort",po)}),K.send(typeof de._bodyInit>"u"?null:de._bodyInit)})}return ke.polyfill=!0,t.fetch||(t.fetch=ke,t.Headers=h,t.Request=_,t.Response=ce),o.Headers=h,o.Request=_,o.Response=ce,o.fetch=ke,Object.defineProperty(o,"__esModule",{value:!0}),o}({})})(typeof self<"u"?self:Wd)});var Hd=f(()=>{});var jd,Vd,Gd,Kd,Zd,qd,Yd,Xd,Qd,Jd,ep,xr,tp,xn,rp,vr,Sr,ue,va=f(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(jd||(jd={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Vd||(Vd={}));(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Gd||(Gd={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Kd||(Kd={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Zd||(Zd={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(qd||(qd={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Yd||(Yd={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Xd||(Xd={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Qd||(Qd={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Jd||(Jd={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(ep||(ep={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(xr||(xr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(tp||(tp={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(xn||(xn={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(rp||(rp={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(vr||(vr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Sr||(Sr={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ue||(ue={}))});var op,np=f(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(op||(op={}))});var XO,ip=f(()=>{va();XO={[ue.PERSONAL_BOOK_SHARE_USER]:[ue.PERSONAL_BOOK_USER],[ue.HTML_EXPORT_USER]:[ue.PERSONAL_BOOK_USER],[ue.PDF_EXPORT_USER]:[ue.PERSONAL_BOOK_USER],[ue.KHUB_ADMIN]:[ue.CONTENT_PUBLISHER],[ue.ADMIN]:[ue.KHUB_ADMIN,ue.USERS_ADMIN,ue.PORTAL_ADMIN],[ue.DEVELOPER]:[ue.BETA_USER,ue.DEBUG_USER]}});var ap=f(()=>{});var tC,Sa=f(()=>{tC=y(zd(),1);Hd();va();np();ip();ap()});var sp,cp=f(()=>{qn();sp=t=>t??ae});var lp=f(()=>{cp()});function up(t){var e,o,n,i,a;return((i=(o=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&o!==void 0?o:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.openMode)===xn.EXTERNAL}function vn(t){var e,o,n,i,a;if(up(t))return(i=(o=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&o!==void 0?o:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case vr.MAP:return t.map.readerUrl;case vr.DOCUMENT:return t.document.viewerUrl;case vr.TOPIC:return t.topic.readerUrl}return""}function dp(t,e){return sp(e&&up(t)?"_blank":void 0)}var Or,Oa=f(()=>{"use strict";Sa();lp();Or=class extends CustomEvent{constructor(e,o){super("ft-search-result-click",{detail:{result:e,rank:o},bubbles:!0,composed:!0})}}});var mp,Xh,Ea,wa=f(()=>{"use strict";mp=y(k()),Xh={},Ea=mp.css`
|
|
933
|
+
`});var yp=f(()=>{"use strict"});var gp,Qh,bp,xp=f(()=>{"use strict";gp=y(A()),Qh={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var o;t.request.clusterSortCriterions=(o=e.payload)!==null&&o!==void 0?o:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}},bp=t=>gp.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Qh})});var Cn,vp=f(()=>{"use strict";br();Cn=class extends Ye{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0)}}});var et,Sp,ao,Cr,Aa=f(()=>{"use strict";et=y(A());xp();Sa();vp();Sp=t=>t.request.virtualField===xr.TITLE_ONLY&&t.request.scope===Sr.DOCUMENTS,ao=class t extends Event{constructor(){super(t.eventName)}};ao.eventName="search-context-clear-all-filters";Cr=class t{static build(e,o){return new t(bp(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new et.Debouncer(10),this.searchDebouncer=new et.Debouncer(100),this.suggestDebouncer=new et.Debouncer(300),this.service=o??new Cn}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let o=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(o){let i=a=>o.some(s=>s.lang==a);i(e)||(e=i(n)?n:o[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let o=e.filter(n=>n.values.length>0);this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(xr.TITLE_ONLY),this.store.actions.setRequestScope(Sr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(xr.EVERYWHERE),this.store.actions.setRequestScope(Sr.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Sp(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new ao)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,o){let n=this.facetIds.filter(i=>i!=e);o&&n.push(o),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,o){let n=this.store.getState().request.filters,i={key:e,values:o,negative:!1},a=[...n.filter(s=>s.key!==e),i];this.setFilters(a)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,o;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,et.cancelable)(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((o=this.store.getState().results)!==null&&o!==void 0?o:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof et.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let o=this.store.getState(),n=o.request,i={input:o.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=(0,et.cancelable)(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(o){!(o instanceof et.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}}});function em(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ra]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ra]):this.dispatchEvent(new Na)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ra,Jh([(0,Cp.state)()],o.prototype,"stateManager",void 0),o}var Op,Cp,Jh,Na,Ra,we,Pt=f(()=>{"use strict";Op=y(A()),Cp=y(X());yp();Aa();Jh=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Na=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Ra=Symbol("registerInterval");we=class extends em(Op.FtLitElementRedux){}});var Ep,tt,Ge,me,En,wn,An,ee,Pa=f(()=>{"use strict";Ep=y(k()),tt=y(X()),Ge=y(A());wa();Pt();br();pa();me=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},En=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},wn=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},An=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},ee=class extends Ge.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Cr.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=o=>this.handleLoadError(o),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(D)}render(){return Ep.html`
|
|
909
934
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
910
|
-
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new
|
|
935
|
+
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new wn(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new An(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new En(e))}reloadSavedSearches(){Cd.clearMySearches()}clear(){this.stateManager.clear()}};ee.elementDefinitions={};ee.styles=Ea;me([(0,Ge.redux)({store:D.name})],ee.prototype,"session",void 0);me([(0,tt.property)()],ee.prototype,"query",void 0);me([(0,tt.property)()],ee.prototype,"contentLocale",void 0);me([(0,tt.property)({type:Number})],ee.prototype,"pageSize",void 0);me([(0,tt.property)({type:Boolean})],ee.prototype,"searchInDocumentTitlesOnly",void 0);me([(0,tt.property)()],ee.prototype,"periodFilter",void 0);me([(0,tt.property)()],ee.prototype,"scope",void 0);me([(0,tt.property)()],ee.prototype,"virtualField",void 0);me([(0,tt.property)({type:Boolean})],ee.prototype,"ignoreEmptyQuery",void 0);me([(0,Ge.redux)({store:D.name})],ee.prototype,"openExternalDocumentInNewTab",void 0);me([(0,Ge.jsonProperty)([])],ee.prototype,"filters",void 0);me([(0,Ge.jsonProperty)([])],ee.prototype,"sort",void 0);me([(0,Ge.redux)({store:"search"})],ee.prototype,"request",void 0);me([(0,Ge.redux)({store:"search"})],ee.prototype,"paging",void 0);me([(0,Ge.redux)({store:"search",selector:t=>t.spellcheck})],ee.prototype,"autocorrect",void 0);me([(0,tt.property)({attribute:!1})],ee.prototype,"searchServiceProvider",void 0)});var wp=f(()=>{"use strict"});var Rp={};kt(Rp,{ClearAllFiltersEvent:()=>ao,FtSearchContext:()=>ee,FtSearchContextCssVariables:()=>Xh,FtSearchStateManager:()=>Cr,LoadErrorEvent:()=>En,SearchRequestChangeEvent:()=>wn,SearchResultsChangeEvent:()=>An,searchInDocumentTitlesOnlySelector:()=>Sp,styles:()=>Ea});var Ap,Np=f(()=>{"use strict";Ap=y(A());Pa();wa();wp();Pa();Aa();(0,Ap.customElement)("ft-search-context")(ee)});var so,Pp=f(()=>{"use strict";Je();so=Qe.build("designedSearchInput")});var Ip,Tp,Lp=f(()=>{"use strict";Ip=y(k());Zr();Tp=Ip.css`
|
|
911
936
|
* {
|
|
912
937
|
box-sizing: border-box;
|
|
913
938
|
}
|
|
914
939
|
|
|
915
940
|
.ft-search-input-suggestion {
|
|
916
941
|
position: absolute;
|
|
917
|
-
z-index: ${
|
|
942
|
+
z-index: ${Z.floatingZIndex};
|
|
918
943
|
top: calc(100% + 2px);
|
|
919
944
|
left: -1px;
|
|
920
945
|
right: -1px;
|
|
921
|
-
background: ${
|
|
922
|
-
border: 1px solid ${
|
|
923
|
-
border-radius: 0 0 ${
|
|
924
|
-
box-shadow: ${
|
|
946
|
+
background: ${Z.colorSurface};
|
|
947
|
+
border: 1px solid ${Z.colorOutline};
|
|
948
|
+
border-radius: 0 0 ${Z.borderRadius} ${Z.borderRadius};
|
|
949
|
+
box-shadow: ${Z.elevation02};
|
|
925
950
|
}
|
|
926
951
|
|
|
927
952
|
.ft-search-input-suggestion--suggestion {
|
|
@@ -932,7 +957,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
932
957
|
padding: 8px;
|
|
933
958
|
gap: 8px;
|
|
934
959
|
cursor: pointer;
|
|
935
|
-
color: ${
|
|
960
|
+
color: ${Z.colorOnSurface};
|
|
936
961
|
min-height: 44px;
|
|
937
962
|
}
|
|
938
963
|
|
|
@@ -949,32 +974,32 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
949
974
|
flex-grow: 1;
|
|
950
975
|
flex-shrink: 1;
|
|
951
976
|
}
|
|
952
|
-
`});var
|
|
977
|
+
`});var Ia=_t((QC,_p)=>{_p.exports=ftGlobals.litRepeat});var Nn,Rn,Dp,Mp,kp,Ta,Gt,Bp=f(()=>{"use strict";Nn=y(A()),Rn=y(k()),Dp=y(X());Lp();Mp=y(Ia());Lo();bo();it();Pt();kp=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ta=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},Gt=class extends we{render(){return Rn.html`
|
|
953
978
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
954
979
|
part="container"
|
|
955
980
|
@keydown=${e=>this.onSuggestKeyDown(e)}>
|
|
956
|
-
${(0,
|
|
981
|
+
${(0,Mp.repeat)(this.suggestResults||[],e=>e.value,e=>Rn.html`
|
|
957
982
|
<a href="#"
|
|
958
983
|
part="suggestion"
|
|
959
984
|
class="ft-search-input-suggestion--suggestion"
|
|
960
|
-
@keyup=${
|
|
961
|
-
@click=${
|
|
985
|
+
@keyup=${o=>this.onSuggestKeyUp(o,e.value)}
|
|
986
|
+
@click=${o=>this.onSuggestSelected(o,e.value)}>
|
|
962
987
|
<ft-ripple></ft-ripple>
|
|
963
988
|
${this.getIcon(e)}
|
|
964
989
|
<ft-typography variant="body1">${e.value}</ft-typography>
|
|
965
990
|
</a>
|
|
966
991
|
`)}
|
|
967
992
|
</div>
|
|
968
|
-
`}onSuggestKeyDown(e){var n,a,
|
|
969
|
-
<ft-icon .variant="${
|
|
970
|
-
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};
|
|
971
|
-
<div class="${(0,
|
|
993
|
+
`}onSuggestKeyDown(e){var o,n,i,a,s,l;switch(e.key){case"ArrowUp":(i=(n=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,o){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,o)}onSuggestSelected(e,o){e.preventDefault(),this.dispatchEvent(new Ta(o))}getIcon(e){let o=e.type==="DOCUMENT"?Ne.file_format:Ne.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?vt.BOOK:vt.ARTICLE;break;case"DOCUMENT":n=jl(e.mimeType,e.filenameExtension);break;case"TOPIC":n=vt.TOPICS;break}return Rn.html`
|
|
994
|
+
<ft-icon .variant="${o}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
995
|
+
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};Gt.elementDefinitions={"ft-ripple":Y,"ft-typography":oe,"ft-icon":Ee};Gt.styles=[Nn.wordWrap,Tp];kp([(0,Nn.redux)()],Gt.prototype,"suggestResults",void 0);Gt=kp([(0,Dp.customElement)("ft-search-input-suggestion")],Gt)});var La,Pn,co,Up,Er,Le,_a=f(()=>{"use strict";La=y(k()),Pn=y(A());Zr();Pt();Je();Pp();co=y(X()),Up=y(_r());Bp();Mo();it();Er=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Le=class extends Ue(we){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(so)}render(){var e,o;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(o=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&o!==void 0?o:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return La.html`
|
|
996
|
+
<div class="${(0,Up.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
|
|
972
997
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
973
998
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
974
999
|
<input class="ft-search-input--input ft-typography--body2"
|
|
975
1000
|
part="input"
|
|
976
1001
|
type="search"
|
|
977
|
-
placeholder="${
|
|
1002
|
+
placeholder="${so.messages.placeholder()}"
|
|
978
1003
|
.value="${this.liveQuery}"
|
|
979
1004
|
@input=${i=>this.onInput(i)}
|
|
980
1005
|
@keydown=${i=>this.onSearchBarKeyDown(i)}
|
|
@@ -985,13 +1010,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
985
1010
|
></ft-search-input-suggestion>
|
|
986
1011
|
</div>
|
|
987
1012
|
<div class="ft-search-input--actions" part="actions">
|
|
988
|
-
${this.liveQuery?
|
|
1013
|
+
${this.liveQuery?La.html`
|
|
989
1014
|
<ft-button id="clear-button"
|
|
990
1015
|
class="ft-search-input--clear-query"
|
|
991
1016
|
part="clear-query"
|
|
992
1017
|
icon="close"
|
|
993
1018
|
round dense
|
|
994
|
-
label="${
|
|
1019
|
+
label="${so.messages.clearButton()}"
|
|
995
1020
|
@click=${()=>this.liveQuery=""}
|
|
996
1021
|
></ft-button>
|
|
997
1022
|
<div class="ft-search-input--separator"></div>
|
|
@@ -1000,72 +1025,72 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1000
1025
|
part="launch-search-in-input"
|
|
1001
1026
|
icon="search"
|
|
1002
1027
|
round dense
|
|
1003
|
-
label="${
|
|
1028
|
+
label="${so.messages.searchButton()}"
|
|
1004
1029
|
@click=${()=>this.launchSearch(this.liveQuery)}
|
|
1005
1030
|
></ft-button>
|
|
1006
1031
|
</div>
|
|
1007
1032
|
</div>
|
|
1008
|
-
`}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var
|
|
1009
|
-
`});var
|
|
1033
|
+
`}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var o;(o=this.stateManager)===null||o===void 0||o.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var o;(o=this.stateManager)===null||o===void 0||o.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change"))}onSuggestionSelected(e){this.launchSearch(e.detail)}};Le.elementDefinitions={"ft-search-input-suggestion":Gt,"ft-button":Ie};Le.styles=[yo,Ei];Er([(0,Pn.redux)()],Le.prototype,"request",void 0);Er([(0,Pn.redux)()],Le.prototype,"liveQuery",void 0);Er([(0,Pn.redux)()],Le.prototype,"suggestResults",void 0);Er([(0,co.state)()],Le.prototype,"forceCloseSuggestion",void 0);Er([(0,co.query)(".ft-search-input--input")],Le.prototype,"input",void 0);Er([(0,co.query)("ft-search-input-suggestion")],Le.prototype,"suggestion",void 0)});var $p=f(()=>{"use strict"});var Wp={};kt(Wp,{FtSearchInput:()=>Le,FtSearchInputCssVariables:()=>Z,styles:()=>Ei});var Fp,zp=f(()=>{"use strict";Fp=y(A());_a();Zr();$p();_a();(0,Fp.customElement)("ft-search-input")(Le)});var Hp,tm,ka,Da=f(()=>{"use strict";Hp=y(k()),tm={},ka=Hp.css`
|
|
1034
|
+
`});var Ma,jp=f(()=>{"use strict";Je();Ma=Qe.fromGwt("designedActionBlockAriaLabels")});var In,Ba,Vp,pt,Ua=f(()=>{"use strict";In=y(k()),Ba=y(A());Da();Mo();Pt();Je();jp();Vp=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},pt=class extends Ue(we){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Ma)}render(){return this.isLastPage?In.nothing:In.html`
|
|
1010
1035
|
<ft-button @click="${this.loadMore}">
|
|
1011
|
-
${
|
|
1036
|
+
${Ma.messages.searchPageLoadMore()}
|
|
1012
1037
|
</ft-button>
|
|
1013
|
-
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};
|
|
1014
|
-
<ft-typography variant="body1" part="text">${(0,
|
|
1015
|
-
`:
|
|
1038
|
+
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};pt.elementDefinitions={"ft-button":Ie};pt.styles=ka;Vp([(0,Ba.redux)({store:"search",selector:t=>{var e,o;return(o=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&o!==void 0?o:1}})],pt.prototype,"currentPage",void 0);Vp([(0,Ba.redux)({store:"search",selector:t=>{var e,o;return(o=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&o!==void 0?o:!0}})],pt.prototype,"isLastPage",void 0)});var Gp=f(()=>{"use strict"});var Zp={};kt(Zp,{FtSearchLoadMoreButton:()=>pt,FtSearchLoadMoreButtonCssVariables:()=>tm,styles:()=>ka});var Kp,qp=f(()=>{"use strict";Kp=y(A());Ua();Da();Gp();Ua();(0,Kp.customElement)("ft-search-load-more-button")(pt)});function rm(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Fa]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Fa]):this.dispatchEvent(new Wa)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Fa,$a([(0,Tn.property)({attribute:!1})],o.prototype,"cluster",void 0),$a([(0,Tn.property)({attribute:!1})],o.prototype,"result",void 0),$a([(0,Tn.property)({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}var Tn,$a,Wa,Fa,wr,za=f(()=>{"use strict";Pt();Tn=y(X()),$a=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Wa=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Fa=Symbol("registerInterval");wr=class extends rm(we){}});var Ha,Yp,Kt,ja=f(()=>{"use strict";Ha=y(k());za();Uo();Yp=y(Io());it();Kt=class extends wr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?Ha.html`
|
|
1039
|
+
<ft-typography variant="body1" part="text">${(0,Yp.unsafeHTML)(e)}</ft-typography>
|
|
1040
|
+
`:Ha.html`
|
|
1016
1041
|
<style>
|
|
1017
1042
|
:host {
|
|
1018
1043
|
display: none !important;
|
|
1019
1044
|
}
|
|
1020
1045
|
</style>
|
|
1021
|
-
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}};
|
|
1022
|
-
<a href="${this.result?
|
|
1023
|
-
<ft-typography variant="title" part="text">${(0,
|
|
1046
|
+
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}};Kt.elementDefinitions={"ft-typography":oe};Kt.styles=wi});var Xp=f(()=>{"use strict"});var Jp={};kt(Jp,{FtSearchResultAbstract:()=>Kt,FtSearchResultAbstractCssVariables:()=>Bo,styles:()=>wi});var Qp,Va=f(()=>{"use strict";Qp=y(A());ja();Uo();Xp();ja();(0,Qp.customElement)("ft-search-result-abstract")(Kt)});var Ln,ef,Zt,Ga=f(()=>{"use strict";Ln=y(k());za();Fo();it();ef=y(Io());Oa();Zt=class extends wr{render(){var e;return this.result?Ln.html`
|
|
1047
|
+
<a href="${this.result?vn(this.result):""}" @click=${this.onResultClick} target="${dp(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}">
|
|
1048
|
+
<ft-typography variant="title" part="text">${(0,ef.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
|
|
1024
1049
|
</a>
|
|
1025
|
-
`:
|
|
1050
|
+
`:Ln.nothing}onResultClick(){this.dispatchEvent(new Or(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}};Zt.elementDefinitions={"ft-typography":oe};Zt.styles=Ai});var tf=f(()=>{"use strict"});var of={};kt(of,{FtSearchResultTitle:()=>Zt,FtSearchResultTitleCssVariables:()=>$o,styles:()=>Ai});var rf,Ka=f(()=>{"use strict";rf=y(A());Ga();Fo();tf();Ga();(0,rf.customElement)("ft-search-result-title")(Zt)});var nf,om,Za,qa=f(()=>{"use strict";nf=y(k()),om={},Za=nf.css`
|
|
1026
1051
|
[part="no-results-message"] {
|
|
1027
1052
|
text-align: center;
|
|
1028
1053
|
padding: 12px;
|
|
1029
1054
|
}
|
|
1030
|
-
`});var
|
|
1055
|
+
`});var af,sf,Ya=f(()=>{"use strict";af=y(k()),sf=af.css`
|
|
1031
1056
|
a {
|
|
1032
1057
|
color: inherit;
|
|
1033
1058
|
text-decoration: inherit;
|
|
1034
1059
|
}
|
|
1035
|
-
`});var
|
|
1060
|
+
`});var _n,cf=f(()=>{"use strict";_n=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,o){this.cluster=e,this.rank=o,this.selectResult(this.cluster.entries[0])}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(o=>this.bindComponent(o))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank}}});var lf,lo,uf,Qa,Xa,ft,Ja=f(()=>{"use strict";lf=y(k()),lo=y(X()),uf=y(A());Ya();cf();Qa=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Xa=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},ft=class extends uf.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new _n(e=>this.onResultSelected(e))}render(){return lf.html`
|
|
1036
1061
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
1037
|
-
`}onResultSelected(e){this.result=e,this.dispatchEvent(new
|
|
1062
|
+
`}onResultSelected(e){this.result=e,this.dispatchEvent(new Xa(this.result))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};ft.elementDefinitions={};ft.styles=sf;Qa([(0,lo.property)({attribute:!1})],ft.prototype,"cluster",void 0);Qa([(0,lo.state)()],ft.prototype,"result",void 0);Qa([(0,lo.property)()],ft.prototype,"index",void 0)});var df=f(()=>{"use strict"});var pf,ff=f(()=>{"use strict";pf=y(A());Ja();Ya();df();Ja();(0,pf.customElement)("ft-search-result-context")(ft)});var Ar,hf,es=f(()=>{"use strict";Je();Ar=Qe.build("searchResultsNumber"),hf={results:"{0} results","results[\\=1]":"1 result"}});var kn,mf,Dn,uo,Rr,Fe,ts=f(()=>{"use strict";kn=y(k()),mf=y(Ia()),Dn=y(X()),uo=y(A());qa();Pt();ff();Ka();Va();Je();es();Rr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Fe=class extends Ue(we){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>kn.html`
|
|
1038
1063
|
<ft-search-result-title></ft-search-result-title>
|
|
1039
1064
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1040
|
-
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(
|
|
1041
|
-
<ft-typography part="no-results-message" variant="body1">${
|
|
1042
|
-
`;let e=this.buildClusters();return(0,
|
|
1043
|
-
<ft-search-result-context .cluster=${
|
|
1044
|
-
@ft-search-result-cluster-change="${
|
|
1045
|
-
${this.renderResult((i=this.selectedResultByCluster[
|
|
1065
|
+
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Ar)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return kn.html`
|
|
1066
|
+
<ft-typography part="no-results-message" variant="body1">${Ar.messages.results(0)}</ft-typography>
|
|
1067
|
+
`;let e=this.buildClusters();return(0,mf.repeat)(e,o=>o.id,(o,n)=>{var i;return kn.html`
|
|
1068
|
+
<ft-search-result-context .cluster=${o} index="${n}"
|
|
1069
|
+
@ft-search-result-cluster-change="${a=>this.onClusterChange(o.id,a.detail)}">
|
|
1070
|
+
${this.renderResult((i=this.selectedResultByCluster[o.id])!==null&&i!==void 0?i:o.entries[0],n)}
|
|
1046
1071
|
</ft-search-result-context>
|
|
1047
|
-
`})}update(e){var
|
|
1072
|
+
`})}update(e){var o;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((o=this.stateManager)===null||o===void 0||o.setClusterSortCriterion(this.clusterSortCriterion))}onClusterChange(e,o){this.selectedResultByCluster[e]=o}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,o;return(o=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&o!==void 0?o:[]}buildAllResultsClusters(){var e,o;let n=(o=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(a=>({id:this.clusterId(a),entries:[a]}))))!==null&&o!==void 0?o:[];return this.request&&this.request.paging.page===1?n.slice(0,this.request.paging.perPage):n}clusterId(e){var o,n,i,a,s;return(a=(n=(o=e.map)===null||o===void 0?void 0:o.mapId)!==null&&n!==void 0?n:(i=e.topic)===null||i===void 0?void 0:i.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};Fe.styles=Za;Rr([(0,Dn.property)({type:String,attribute:"cluster-policy"})],Fe.prototype,"clusterPolicy",void 0);Rr([(0,Dn.property)({type:Boolean})],Fe.prototype,"displayNoResultsMessage",void 0);Rr([(0,Dn.property)({attribute:!1})],Fe.prototype,"renderResult",void 0);Rr([(0,uo.jsonProperty)([])],Fe.prototype,"clusterSortCriterion",void 0);Rr([(0,uo.redux)()],Fe.prototype,"request",void 0);Rr([(0,uo.redux)()],Fe.prototype,"results",void 0)});var yf=f(()=>{"use strict"});var bf={};kt(bf,{FtSearchResults:()=>Fe,FtSearchResultsCssVariables:()=>om,styles:()=>Za});var gf,xf=f(()=>{"use strict";gf=y(A());ts();qa();yf();ts();(0,gf.customElement)("ft-search-results")(Fe)});var vf,nm,rs,os=f(()=>{"use strict";vf=y(k()),nm={},rs=vf.css`
|
|
1048
1073
|
|
|
1049
|
-
`});var Mn,
|
|
1074
|
+
`});var Mn,Sf,im,It,ns=f(()=>{"use strict";Mn=y(k()),Sf=y(A());os();Pt();Je();es();it();im=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},It=class extends Ue(we){constructor(){super(),this.addI18nContext(Ar,hf)}render(){return this.paging==null?Mn.nothing:Mn.html`
|
|
1050
1075
|
<ft-typography variant="body1">
|
|
1051
|
-
${
|
|
1076
|
+
${Ar.messages.results(this.paging.totalClustersCount)}
|
|
1052
1077
|
</ft-typography>
|
|
1053
|
-
`}};
|
|
1078
|
+
`}};It.elementDefinitions={"ft-typography":oe};It.styles=rs;im([(0,Sf.redux)()],It.prototype,"paging",void 0)});var Of=f(()=>{"use strict"});var Ef={};kt(Ef,{FtSearchResultsNumber:()=>It,FtSearchResultsNumberCssVariables:()=>nm,styles:()=>rs});var Cf,wf=f(()=>{"use strict";Cf=y(A());ns();os();Of();ns();(0,Cf.customElement)("ft-search-results-number")(It)});var Af=y(A());var _e=y(k()),is=y(A());var Ri=y(k()),L=y(A());var ms=y(k()),$=y(A());Dt();var z={padding:$.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:$.FtCssVariableFactory.extend("--ft-card-border-radius","",$.designSystemVariables.borderRadiusM),borderStyle:$.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:$.FtCssVariableFactory.extend("--ft-card-border-color","",$.designSystemVariables.colorOutline),hoverBorderColor:$.FtCssVariableFactory.extend("--ft-card-hover-border-color","",$.designSystemVariables.colorPrimary),outlineStyle:$.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:$.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:$.FtCssVariableFactory.extend("--ft-card-outline-color","",$.designSystemVariables.colorPrimary),selectedOutlineStyle:$.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:$.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:$.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",$.designSystemVariables.colorPrimary),selectedBorderRadius:$.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",$.designSystemVariables.borderRadiusM),colorSurface:$.FtCssVariableFactory.extend("--ft-card-background-color","",$.designSystemVariables.colorSurface),colorOnSurfaceMedium:$.FtCssVariableFactory.extend("--ft-card-content-color","",$.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:$.FtCssVariableFactory.extend("--ft-card-title-color","",$.designSystemVariables.colorOnSurfaceHigh),elevation02:$.FtCssVariableFactory.extend("--ft-card-elevation","",$.designSystemVariables.elevation02),elevation04:$.FtCssVariableFactory.extend("--ft-card-selected-elevation","",$.designSystemVariables.elevation04)},ys=ms.css`
|
|
1054
1079
|
:host {
|
|
1055
1080
|
display: block;
|
|
1056
1081
|
}
|
|
1057
1082
|
|
|
1058
1083
|
#container {
|
|
1059
|
-
padding: ${
|
|
1060
|
-
outline-style: ${
|
|
1061
|
-
outline-width: ${
|
|
1062
|
-
outline-color: ${
|
|
1063
|
-
border-color: ${
|
|
1064
|
-
border-style: ${
|
|
1084
|
+
padding: ${z.padding};
|
|
1085
|
+
outline-style: ${z.outlineStyle};
|
|
1086
|
+
outline-width: ${z.outlineWidth};
|
|
1087
|
+
outline-color: ${z.outlineColor};
|
|
1088
|
+
border-color: ${z.borderColor};
|
|
1089
|
+
border-style: ${z.borderStyle};
|
|
1065
1090
|
border-width: 1px;
|
|
1066
|
-
border-radius: ${
|
|
1067
|
-
${(0,$.setVariable)(
|
|
1068
|
-
box-shadow: ${
|
|
1091
|
+
border-radius: ${z.borderRadius};
|
|
1092
|
+
${(0,$.setVariable)(U.borderRadius,z.borderRadius)};
|
|
1093
|
+
box-shadow: ${z.elevation02};
|
|
1069
1094
|
position: relative;
|
|
1070
1095
|
width: 100%;
|
|
1071
1096
|
height: 100%;
|
|
@@ -1077,7 +1102,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1077
1102
|
grid-template-rows: max-content minmax(0, 1fr);
|
|
1078
1103
|
grid-gap: 8px;
|
|
1079
1104
|
box-sizing: border-box;
|
|
1080
|
-
background-color: ${
|
|
1105
|
+
background-color: ${z.colorSurface};
|
|
1081
1106
|
transition: box-shadow 0.2s linear, color 0.2s linear;
|
|
1082
1107
|
}
|
|
1083
1108
|
|
|
@@ -1090,12 +1115,12 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1090
1115
|
}
|
|
1091
1116
|
|
|
1092
1117
|
#container.selected {
|
|
1093
|
-
outline-style: ${
|
|
1094
|
-
outline-width: ${
|
|
1095
|
-
outline-color: ${
|
|
1096
|
-
border-radius: ${
|
|
1097
|
-
${(0,$.setVariable)(
|
|
1098
|
-
box-shadow: ${
|
|
1118
|
+
outline-style: ${z.selectedOutlineStyle};
|
|
1119
|
+
outline-width: ${z.selectedOutlineWidth};
|
|
1120
|
+
outline-color: ${z.selectedOutlineColor};
|
|
1121
|
+
border-radius: ${z.selectedBorderRadius};
|
|
1122
|
+
${(0,$.setVariable)(U.borderRadius,z.selectedBorderRadius)};
|
|
1123
|
+
box-shadow: ${z.elevation04};
|
|
1099
1124
|
}
|
|
1100
1125
|
|
|
1101
1126
|
#container.clickable {
|
|
@@ -1103,8 +1128,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1103
1128
|
}
|
|
1104
1129
|
|
|
1105
1130
|
#container.clickable:hover {
|
|
1106
|
-
box-shadow: ${
|
|
1107
|
-
border-color: ${
|
|
1131
|
+
box-shadow: ${z.elevation04};
|
|
1132
|
+
border-color: ${z.hoverBorderColor};
|
|
1108
1133
|
}
|
|
1109
1134
|
|
|
1110
1135
|
#header {
|
|
@@ -1115,20 +1140,20 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1115
1140
|
text-overflow: ellipsis;
|
|
1116
1141
|
overflow: hidden;
|
|
1117
1142
|
word-break: break-word;
|
|
1118
|
-
color: ${
|
|
1143
|
+
color: ${z.colorOnSurfaceHigh};
|
|
1119
1144
|
}
|
|
1120
1145
|
|
|
1121
1146
|
#content {
|
|
1122
1147
|
word-break: break-word;
|
|
1123
1148
|
min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
|
|
1124
1149
|
grid-area: content;
|
|
1125
|
-
color: ${
|
|
1150
|
+
color: ${z.colorOnSurfaceMedium};
|
|
1126
1151
|
}
|
|
1127
1152
|
|
|
1128
1153
|
#action {
|
|
1129
1154
|
grid-area: actions;
|
|
1130
1155
|
}
|
|
1131
|
-
`;
|
|
1156
|
+
`;Zr();Uo();Dt();Fo();var fe={searchFieldBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",L.designSystemVariables.colorSurface),searchFieldBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",L.designSystemVariables.colorOutline),searchFieldTextColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",L.designSystemVariables.colorOnSurface),searchFieldBorderRadius:L.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",L.designSystemVariables.borderRadiusS),searchButtonColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",L.designSystemVariables.colorPrimary),resultsNumberColor:L.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",L.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",L.designSystemVariables.colorSurface),resultBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",L.designSystemVariables.colorOutline),resultBorderRadius:L.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",L.designSystemVariables.borderRadiusS),resultTitleTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",L.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",L.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",L.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:L.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",L.designSystemVariables.colorPrimary),resultHoverBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",L.designSystemVariables.colorPrimary)},uu=Ri.css`
|
|
1132
1157
|
.ft-search-in-doc--container {
|
|
1133
1158
|
display: flex;
|
|
1134
1159
|
flex-direction: column;
|
|
@@ -1136,11 +1161,11 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1136
1161
|
}
|
|
1137
1162
|
|
|
1138
1163
|
ft-search-input {
|
|
1139
|
-
${(0,
|
|
1140
|
-
${(0,
|
|
1141
|
-
${(0,
|
|
1142
|
-
${(0,
|
|
1143
|
-
${(0,
|
|
1164
|
+
${(0,L.setVariable)(Z.colorSurface,fe.searchFieldBackgroundColor)};
|
|
1165
|
+
${(0,L.setVariable)(Z.colorOutline,fe.searchFieldBorderColor)};
|
|
1166
|
+
${(0,L.setVariable)(Z.colorOnSurface,fe.searchFieldTextColor)};
|
|
1167
|
+
${(0,L.setVariable)(Z.borderRadius,fe.searchFieldBorderRadius)};
|
|
1168
|
+
${(0,L.setVariable)(Z.buttonColor,fe.searchButtonColor)};
|
|
1144
1169
|
}
|
|
1145
1170
|
|
|
1146
1171
|
ft-search-results-number {
|
|
@@ -1148,41 +1173,41 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1148
1173
|
}
|
|
1149
1174
|
|
|
1150
1175
|
ft-search-results-number, ft-search-results::part(no-results-message) {
|
|
1151
|
-
color: ${
|
|
1176
|
+
color: ${fe.resultsNumberColor};
|
|
1152
1177
|
}
|
|
1153
1178
|
|
|
1154
1179
|
ft-search-load-more-button {
|
|
1155
1180
|
margin: auto;
|
|
1156
1181
|
}
|
|
1157
|
-
`,
|
|
1182
|
+
`,du=Ri.css`
|
|
1158
1183
|
ft-card {
|
|
1159
1184
|
margin-bottom: 8px;
|
|
1160
|
-
${(0,
|
|
1161
|
-
${(0,
|
|
1162
|
-
${(0,
|
|
1163
|
-
${(0,
|
|
1164
|
-
${(0,
|
|
1165
|
-
${(0,
|
|
1166
|
-
${(0,
|
|
1185
|
+
${(0,L.setVariable)(z.elevation04,"none")};
|
|
1186
|
+
${(0,L.setVariable)(z.elevation02,"none")};
|
|
1187
|
+
${(0,L.setVariable)(z.borderStyle,"solid")};
|
|
1188
|
+
${(0,L.setVariable)(z.borderRadius,L.designSystemVariables.borderRadiusS)};
|
|
1189
|
+
${(0,L.setVariable)(z.colorSurface,fe.resultBackgroundColor)};
|
|
1190
|
+
${(0,L.setVariable)(z.borderColor,fe.resultBorderColor)};
|
|
1191
|
+
${(0,L.setVariable)(z.borderRadius,fe.resultBorderRadius)};
|
|
1167
1192
|
}
|
|
1168
1193
|
|
|
1169
1194
|
ft-search-result-title {
|
|
1170
|
-
color: ${
|
|
1171
|
-
${(0,
|
|
1195
|
+
color: ${fe.resultTitleTextColor};
|
|
1196
|
+
${(0,L.setVariable)($o.highlightBackgroundColor,fe.resultHighlightBackgroundColor)};
|
|
1172
1197
|
}
|
|
1173
1198
|
|
|
1174
1199
|
.breadcrumb {
|
|
1175
|
-
color: ${
|
|
1200
|
+
color: ${fe.resultBreadcrumbTextColor};
|
|
1176
1201
|
}
|
|
1177
1202
|
|
|
1178
1203
|
ft-search-result-abstract {
|
|
1179
|
-
color: ${
|
|
1180
|
-
${(0,
|
|
1204
|
+
color: ${fe.resultContentTextColor};
|
|
1205
|
+
${(0,L.setVariable)(Bo.highlightBackgroundColor,fe.resultHighlightBackgroundColor)};
|
|
1181
1206
|
}
|
|
1182
1207
|
|
|
1183
1208
|
ft-card:hover {
|
|
1184
|
-
${(0,
|
|
1185
|
-
${(0,
|
|
1209
|
+
${(0,L.setVariable)(z.hoverBorderColor,fe.resultHoverBorderColor)};
|
|
1210
|
+
${(0,L.setVariable)(U.color,fe.resultHoverBackgroundColor)};
|
|
1186
1211
|
}
|
|
1187
1212
|
|
|
1188
1213
|
.result-container {
|
|
@@ -1195,11 +1220,11 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1195
1220
|
text-decoration: none;
|
|
1196
1221
|
color: inherit;
|
|
1197
1222
|
}
|
|
1198
|
-
`;
|
|
1199
|
-
<div id="container" part="container" class=${(0,
|
|
1200
|
-
${this.clickable?
|
|
1223
|
+
`;Je();var $d=y(A()),Fd=y(X());var Ud;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ud||(Ud={}));var qh=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},xa=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ba=Symbol("registerInterval");function Yh(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[ba]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ba]):this.dispatchEvent(new xa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ba,qh([(0,Fd.state)()],o.prototype,"stateManager",void 0),o}var bn=class extends Yh($d.FtLitElementRedux){};var Lt=y(X());Oa();var Sn=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};Je();var Ca=Qe.build("designedReaderSearchInDocument");var hp=y(A());var no=y(k()),io=y(X()),pp=y(A());bo();it();var fp=y(_r()),On=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},$e=class extends pp.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return no.html`
|
|
1224
|
+
<div id="container" part="container" class=${(0,fp.classMap)(e)}>
|
|
1225
|
+
${this.clickable?no.html`
|
|
1201
1226
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
1202
|
-
`:
|
|
1227
|
+
`:no.nothing}
|
|
1203
1228
|
<div id="header" part="header">
|
|
1204
1229
|
<ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
|
|
1205
1230
|
<slot name="header"></slot>
|
|
@@ -1213,47 +1238,47 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1213
1238
|
</ft-typography>
|
|
1214
1239
|
</div>
|
|
1215
1240
|
</div>
|
|
1216
|
-
`}}
|
|
1217
|
-
<style> ${
|
|
1218
|
-
<a href="${
|
|
1241
|
+
`}};$e.elementDefinitions={"ft-ripple":Y,"ft-typography":oe};$e.styles=ys;On([(0,io.property)()],$e.prototype,"title",void 0);On([(0,io.property)({type:Boolean})],$e.prototype,"clickable",void 0);On([(0,io.property)({type:Boolean})],$e.prototype,"selected",void 0);On([(0,io.property)({type:Boolean})],$e.prototype,"noHeader",void 0);(0,hp.customElement)("ft-card")($e);var Tt=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ae=class t extends Ue(bn){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(Ca)}get filters(){return[{negative:!1,key:"ft:publicationId",values:[this.map.id]}]}renderResult(e,o){var n;return _e.html`
|
|
1242
|
+
<style> ${du}</style>
|
|
1243
|
+
<a href="${vn(e)}" @click="${()=>this.onLinkClick(e,o)} }">
|
|
1219
1244
|
<ft-card clickable noheader>
|
|
1220
1245
|
<div class="result-container">
|
|
1221
|
-
${this.hideResultTitle?
|
|
1246
|
+
${this.hideResultTitle?_e.nothing:_e.html`
|
|
1222
1247
|
<ft-search-result-title></ft-search-result-title>`}
|
|
1223
|
-
${this.hideResultBreadcrumb?
|
|
1224
|
-
<ft-typography class="breadcrumb" variant="caption">${(
|
|
1248
|
+
${this.hideResultBreadcrumb?_e.nothing:_e.html`
|
|
1249
|
+
<ft-typography class="breadcrumb" variant="caption">${(n=e.topic)===null||n===void 0?void 0:n.breadcrumb.join(" > ")}</ft-typography>
|
|
1225
1250
|
`}
|
|
1226
|
-
${this.hideResultAbstract?
|
|
1251
|
+
${this.hideResultAbstract?_e.nothing:_e.html`
|
|
1227
1252
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1228
1253
|
`}
|
|
1229
1254
|
</div>
|
|
1230
1255
|
</ft-card>
|
|
1231
1256
|
</a>
|
|
1232
|
-
`}render(){return this.map?
|
|
1257
|
+
`}render(){return this.map?_e.html`
|
|
1233
1258
|
<ft-search-context id="${this.uniqueId}"
|
|
1234
1259
|
contentLocale="${this.map.lang}"
|
|
1235
1260
|
query="${this.searchInDocumentQuery}"
|
|
1236
1261
|
.filters=${this.filters}
|
|
1237
1262
|
scope="ALL_TOPICS"
|
|
1238
1263
|
ignoreEmptyQuery
|
|
1239
|
-
@ft-search-request-change=${e=>{var
|
|
1240
|
-
@ft-search-results-change=${e=>{var n
|
|
1264
|
+
@ft-search-request-change=${e=>{var o;return(o=this.stateManager)===null||o===void 0?void 0:o.setSearchInDocumentQuery(e.detail.query)}}
|
|
1265
|
+
@ft-search-results-change=${e=>{var o,n;this.userHasDoneManualAction&&(this.dispatchEvent(new Sn({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(o=this.map)===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
|
|
1241
1266
|
<div class="ft-search-in-doc--container">
|
|
1242
|
-
<ft-search-input placeholder=${
|
|
1267
|
+
<ft-search-input placeholder=${Ca.messages.placeholder()}
|
|
1243
1268
|
@change="${()=>this.userHasDoneManualAction=!0}"></ft-search-input>
|
|
1244
|
-
${this.hideResultsNumber?
|
|
1269
|
+
${this.hideResultsNumber?_e.nothing:_e.html`
|
|
1245
1270
|
<ft-search-results-number @ft-search-result-click=${e=>e.stopPropagation()}></ft-search-results-number>
|
|
1246
1271
|
`}
|
|
1247
1272
|
<ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
|
|
1248
1273
|
cluster-policy="display-all-results"
|
|
1249
|
-
.renderResult=${(e,
|
|
1274
|
+
.renderResult=${(e,o)=>this.renderResult(e,o)}>
|
|
1250
1275
|
</ft-search-results>
|
|
1251
1276
|
<slot name="load-more">
|
|
1252
1277
|
<ft-search-load-more-button></ft-search-load-more-button>
|
|
1253
1278
|
</slot>
|
|
1254
1279
|
</div>
|
|
1255
1280
|
</ft-search-context>
|
|
1256
|
-
`:
|
|
1281
|
+
`:_e.nothing}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(o=>e.has(o))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,o){this.dispatchEvent(new Or(e,o))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Np(),Rp)).then(({FtSearchContext:o})=>e.define("ft-search-context",o)),Promise.resolve().then(()=>(zp(),Wp)).then(({FtSearchInput:o})=>e.define("ft-search-input",o)),Promise.resolve().then(()=>(qp(),Zp)).then(({FtSearchLoadMoreButton:o})=>e.define("ft-search-load-more-button",o)),Promise.resolve().then(()=>(Va(),Jp)).then(({FtSearchResultAbstract:o})=>e.define("ft-search-result-abstract",o)),Promise.resolve().then(()=>(Ka(),of)).then(({FtSearchResultTitle:o})=>e.define("ft-search-result-title",o)),Promise.resolve().then(()=>(xf(),bf)).then(({FtSearchResults:o})=>e.define("ft-search-results",o)),Promise.resolve().then(()=>(wf(),Ef)).then(({FtSearchResultsNumber:o})=>e.define("ft-search-results-number",o))}};Ae.elementDefinitions={"ft-card":$e};Ae.styles=uu;Tt([(0,is.redux)()],Ae.prototype,"map",void 0);Tt([(0,is.redux)()],Ae.prototype,"searchInDocumentQuery",void 0);Tt([(0,Lt.query)("ft-search-context")],Ae.prototype,"searchContext",void 0);Tt([(0,Lt.query)("ft-search-results")],Ae.prototype,"searchResults",void 0);Tt([(0,Lt.property)({type:Boolean})],Ae.prototype,"hideResultTitle",void 0);Tt([(0,Lt.property)({type:Boolean})],Ae.prototype,"hideResultBreadcrumb",void 0);Tt([(0,Lt.property)({type:Boolean})],Ae.prototype,"hideResultAbstract",void 0);Tt([(0,Lt.property)({type:Boolean})],Ae.prototype,"hideResultsNumber",void 0);(0,Af.customElement)("ft-reader-search-in-document")(Ae);})();
|
|
1257
1282
|
/*! Bundled license information:
|
|
1258
1283
|
|
|
1259
1284
|
lit-html/lit-html.js:
|