@fluid-topics/ft-reader-search-in-document 1.2.27 → 1.2.29
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 +256 -256
- package/build/ft-reader-search-in-document.min.js +286 -286
- package/package.json +15 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var th=Object.create;var Qn=Object.defineProperty;var rh=Object.getOwnPropertyDescriptor;var oh=Object.getOwnPropertyNames;var nh=Object.getPrototypeOf,ah=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var Gt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),jt=(t,e)=>{for(var o in e)Qn(t,o,{get:e[o],enumerable:!0})},ih=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of oh(e))!ah.call(t,a)&&a!==o&&Qn(t,a,{get:()=>e[a],enumerable:!(n=rh(e,a))||n.enumerable});return t};var b=(t,e,o)=>(o=t!=null?th(nh(t)):{},ih(e||!t||!t.__esModule?Qn(o,"default",{value:t,enumerable:!0}):o,t));var N=Gt((Wy,Ss)=>{Ss.exports=ftGlobals.wcUtils});var B=Gt((Hy,Os)=>{Os.exports=ftGlobals.lit});var Ns,ce,Cs,w,Es,ws,As,Rs,_s,Vt=f(()=>{"use strict";Ns=b(B()),ce=b(N()),Cs=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorContent),w={color:Cs,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",Cs),opacityContentOnSurfacePressed:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ce.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Es=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorPrimary),ws={color:Es,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",Es)},As=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorSecondary),Rs={color:As,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",As)},_s=Ns.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
opacity: ${w.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`});var X=Gt((Wy,Ts)=>{Ts.exports=ftGlobals.litDecorators});var nt,vt,r,H=f(()=>{nt=b(B(),1),vt=t=>typeof t=="string"?(0,nt.unsafeCSS)(t):t,r=class{static create(e,o,n,a){let i=l=>vt(l??a),s=nt.css`var(${vt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>nt.css`var(${vt(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=l=>n.get(l??a),s=nt.css`var(${vt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>nt.css`var(${vt(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):vt(i??e.lastResortDefaultValue()),a=nt.css`var(${vt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>nt.css`var(${vt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var c,_s,ks,Ds,Bs,Ms,$s,Us,Fs,Ws,oh,Hs,zs,Gs,js,Vs,Ks,Zs,qs,Ys,Xs,Qs,Js,ec,tc,rc,oc,Co,G=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(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),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)")},_s={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")},ks={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")},Ds={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")},Bs={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")},Ms={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")},$s={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")},Us={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")},Fs={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")},Ws={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")},oh={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")},Hs={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")},zs={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")},Gs={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")},js={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")},Vs={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")},Ks={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")},Zs={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")},qs={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")},Ys={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")},Xs={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")},Qs={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")},Js={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")},ec={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")},tc={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")},rc={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")},oc={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")},Co={display:_s,"title-1":ks,"title-2":Ds,"title-3":Bs,"body-1-regular":Ms,"body-1-medium":$s,"body-1-semibold":Us,"body-2-regular":Fs,"body-2-medium":Ws,"body-2-medium-underline":oh,"body-2-semibold":Hs,"label-1-medium":zs,"label-1-semibold":Gs,"label-1-bold":js,"label-2-medium":Vs,"label-2-semibold":Ks,"label-2-bold":Zs,"caption-1-medium":qs,"caption-1-semibold":Ys,"caption-1-bold":Xs,"caption-2-medium":Qs,"caption-2-semibold":Js,"caption-2-bold":ec,"caption-3-medium":tc,"caption-3-semibold":rc,"caption-3-bold":oc}});var d,K=f(()=>{H();G();d={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),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var h,nc=f(()=>{H();G();K();h={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),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var tm,ac=f(()=>{H();G();K();tm={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var im,ic=f(()=>{H();G();K();im={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","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var um,sc=f(()=>{H();G();K();um={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var mm,cc=f(()=>{H();G();K();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","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var Sm,lc=f(()=>{H();G();K();Sm={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","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var Am,dc=f(()=>{H();G();K();Am={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var Pm,uc=f(()=>{H();G();K();Pm={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var Bm,pc=f(()=>{H();G();K();Bm={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var Fm,fc=f(()=>{H();G();Fm={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var jm,hc=f(()=>{H();G();K();jm={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),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","",d.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),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),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),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var Ym,yc=f(()=>{H();G();K();Ym={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.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","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.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","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),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 tg,mc=f(()=>{H();G();K();tg={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","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.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","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.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","",d.borderActionFocusRing)}});var ig,gc=f(()=>{H();G();K();ig={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","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.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","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var ug,bc=f(()=>{H();G();K();ug={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.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 mg,xc=f(()=>{H();G();K();mg={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","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.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","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var Sg,vc=f(()=>{H();G();K();Sg={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","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.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 Ag,Sc=f(()=>{H();G();K();Ag={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.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 Pg,Oc=f(()=>{H();G();K();Pg={backgroundColor:r.extend("--ft-popover-background-color","",d.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","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.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),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")}});var Bg,Cc=f(()=>{H();G();K();Bg={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","",d.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","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var Wg,Ec=f(()=>{H();G();K();Wg={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","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.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","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.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","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.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","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var jg,wc=f(()=>{H();G();jg={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),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var qg,Ac=f(()=>{H();G();qg={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var eb,Rc=f(()=>{H();G();K();eb={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","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")}});var ab,Nc=f(()=>{H();G();K();ab={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.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","",d.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 db,Ic=f(()=>{H();G();K();db={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","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.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","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)}});var yb,Lc=f(()=>{H();G();K();yb={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.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","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.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","",d.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 vb,Pc=f(()=>{H();G();K();vb={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","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.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 wb,Tc=f(()=>{H();G();K();wb={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","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.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 Lb,_c=f(()=>{H();G();K();Lb={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var kc=f(()=>{G();K();nc();ac();ic();sc();cc();lc();dc();uc();pc();fc();hc();yc();mc();gc();bc();xc();vc();Sc();Oc();Cc();Ec();wc();Ac();Rc();Nc();Ic();Lc();Pc();Tc();_c()});var Eo,cr,Dc=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Eo||(Eo={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(cr||(cr={}))});var j=f(()=>{H();kc();Dc()});function Bc(t){let e=Co[t];return wo.css`
|
|
113
|
+
`});var Q=Gt((Vy,Ls)=>{Ls.exports=ftGlobals.litDecorators});var nt,vt,r,H=f(()=>{nt=b(B(),1),vt=t=>typeof t=="string"?(0,nt.unsafeCSS)(t):t,r=class{static create(e,o,n,a){let i=l=>vt(l??a),s=nt.css`var(${vt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>nt.css`var(${vt(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=l=>n.get(l??a),s=nt.css`var(${vt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>nt.css`var(${vt(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):vt(i??e.lastResortDefaultValue()),a=nt.css`var(${vt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>nt.css`var(${vt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var c,Ps,ks,Ds,Bs,Ms,$s,Us,Fs,Ws,sh,Hs,zs,Gs,js,Vs,Ks,Zs,qs,Ys,Qs,Xs,Js,ec,tc,rc,oc,Co,G=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(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),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)")},Ps={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")},ks={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")},Ds={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")},Bs={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")},Ms={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")},$s={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")},Us={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")},Fs={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")},Ws={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")},sh={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")},Hs={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")},zs={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")},Gs={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")},js={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")},Vs={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")},Ks={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")},Zs={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")},qs={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")},Ys={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")},Qs={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")},Xs={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")},Js={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")},ec={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")},tc={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")},rc={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")},oc={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")},Co={display:Ps,"title-1":ks,"title-2":Ds,"title-3":Bs,"body-1-regular":Ms,"body-1-medium":$s,"body-1-semibold":Us,"body-2-regular":Fs,"body-2-medium":Ws,"body-2-medium-underline":sh,"body-2-semibold":Hs,"label-1-medium":zs,"label-1-semibold":Gs,"label-1-bold":js,"label-2-medium":Vs,"label-2-semibold":Ks,"label-2-bold":Zs,"caption-1-medium":qs,"caption-1-semibold":Ys,"caption-1-bold":Qs,"caption-2-medium":Xs,"caption-2-semibold":Js,"caption-2-bold":ec,"caption-3-medium":tc,"caption-3-semibold":rc,"caption-3-bold":oc}});var d,K=f(()=>{H();G();d={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),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var y,nc=f(()=>{H();G();K();y={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),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var im,ac=f(()=>{H();G();K();im={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var um,ic=f(()=>{H();G();K();um={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","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var mm,sc=f(()=>{H();G();K();mm={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var Sm,cc=f(()=>{H();G();K();Sm={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","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var Am,lc=f(()=>{H();G();K();Am={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","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var Im,dc=f(()=>{H();G();K();Im={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var Bm,uc=f(()=>{H();G();K();Bm={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var Wm,pc=f(()=>{H();G();K();Wm={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var jm,fc=f(()=>{H();G();jm={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var Ym,hc=f(()=>{H();G();K();Ym={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),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","",d.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),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),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),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var tg,yc=f(()=>{H();G();K();tg={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.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","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.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","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),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 ig,mc=f(()=>{H();G();K();ig={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","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.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","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.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","",d.borderActionFocusRing)}});var ug,gc=f(()=>{H();G();K();ug={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","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.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","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var mg,bc=f(()=>{H();G();K();mg={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.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 Sg,xc=f(()=>{H();G();K();Sg={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","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.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","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var Ag,vc=f(()=>{H();G();K();Ag={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","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.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","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.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 Ig,Sc=f(()=>{H();G();K();Ig={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.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 Bg,Oc=f(()=>{H();G();K();Bg={backgroundColor:r.extend("--ft-popover-background-color","",d.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","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.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),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")}});var Wg,Cc=f(()=>{H();G();K();Wg={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","",d.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","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var Vg,Ec=f(()=>{H();G();K();Vg={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","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.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","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.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","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.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","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var Yg,wc=f(()=>{H();G();Yg={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),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var eb,Ac=f(()=>{H();G();eb={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var ab,Rc=f(()=>{H();G();K();ab={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","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")}});var db,Nc=f(()=>{H();G();K();db={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.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","",d.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 yb,_c=f(()=>{H();G();K();yb={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","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.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","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)}});var vb,Tc=f(()=>{H();G();K();vb={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.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","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.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","",d.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 wb,Ic=f(()=>{H();G();K();wb={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","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.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 Tb,Lc=f(()=>{H();G();K();Tb={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","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.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 Db,Pc=f(()=>{H();G();K();Db={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var kc=f(()=>{G();K();nc();ac();ic();sc();cc();lc();dc();uc();pc();fc();hc();yc();mc();gc();bc();xc();vc();Sc();Oc();Cc();Ec();wc();Ac();Rc();Nc();_c();Tc();Ic();Lc();Pc()});var Eo,cr,Dc=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Eo||(Eo={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(cr||(cr={}))});var j=f(()=>{H();kc();Dc()});function Bc(t){let e=Co[t];return wo.css`
|
|
115
115
|
.ft-typography--${(0,wo.unsafeCSS)(t)} {
|
|
116
116
|
font-family: ${e.fontFamily};
|
|
117
117
|
font-size: ${e.fontSize};
|
|
@@ -120,7 +120,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
120
120
|
line-height: ${e.lineHeight};
|
|
121
121
|
text-transform: ${e.textCase};
|
|
122
122
|
}
|
|
123
|
-
`}var wo,Mc=f(()=>{"use strict";wo=b(B());j()});var Ue,R,$c,at,
|
|
123
|
+
`}var wo,Mc=f(()=>{"use strict";wo=b(B());j()});var Ue,R,$c,at,L,lr,dr,ur,pr,fr,hr,yr,mr,gr,Qe,Uc,Fc,Wc,Hc,zc,Ao,Gc,jc,Vc,Kc,Zc,qc,Ro=f(()=>{"use strict";Ue=b(B()),R=b(N());j();Mc();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();$c=R.FtCssVariableFactory.extend("--ft-typography-font-family","",R.designSystemVariables.titleFont),at=R.FtCssVariableFactory.extend("--ft-typography-font-family","",R.designSystemVariables.contentFont),L={fontFamily:at,fontSize:R.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:R.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:R.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:R.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:R.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},lr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-title-font-family","",$c),fontSize:R.FtCssVariableFactory.extend("--ft-typography-title-font-size","",L.fontSize,"20px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",L.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",L.letterSpacing,"0.15px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-title-line-height","",L.lineHeight,"1.2"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",L.textTransform,"inherit")},dr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",$c),fontSize:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",L.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",L.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",L.letterSpacing,"0.105px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",L.lineHeight,"1.7"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",L.textTransform,"inherit")},ur={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",L.fontSize,"16px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",L.fontWeight,"600"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",L.letterSpacing,"0.144px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",L.lineHeight,"1.5"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",L.textTransform,"inherit")},pr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",L.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",L.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",L.letterSpacing,"0.098px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",L.lineHeight,"1.7"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",L.textTransform,"inherit")},fr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",L.fontSize,"16px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",L.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",L.letterSpacing,"0.496px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",L.lineHeight,"1.5"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",L.textTransform,"inherit")},hr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",L.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",L.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",L.letterSpacing,"0.252px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",L.lineHeight,"1.4"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",L.textTransform,"inherit")},yr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",L.fontSize,"12px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",L.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",L.letterSpacing,"0.396px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",L.lineHeight,"1.33"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",L.textTransform,"inherit")},mr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",L.fontSize,"10px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",L.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",L.letterSpacing,"0.33px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",L.lineHeight,"1.6"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",L.textTransform,"inherit")},gr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",L.fontSize,"10px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",L.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",L.letterSpacing,"1.5px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",L.lineHeight,"1.6"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",L.textTransform,"uppercase")},Qe={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-button-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-button-font-size","",L.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",L.fontWeight,"600"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",L.letterSpacing,"1.246px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-button-line-height","",L.lineHeight,"1.15"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",L.textTransform,"uppercase")},Uc=Ue.css`
|
|
124
124
|
.ft-typography--title {
|
|
125
125
|
font-family: ${lr.fontFamily};
|
|
126
126
|
font-size: ${lr.fontSize};
|
|
@@ -204,18 +204,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
204
204
|
}
|
|
205
205
|
`,Kc=Ue.css`
|
|
206
206
|
.ft-typography--button {
|
|
207
|
-
font-family: ${
|
|
208
|
-
font-size: ${
|
|
209
|
-
font-weight: ${
|
|
210
|
-
letter-spacing: ${
|
|
211
|
-
line-height: ${
|
|
212
|
-
text-transform: ${
|
|
207
|
+
font-family: ${Qe.fontFamily};
|
|
208
|
+
font-size: ${Qe.fontSize};
|
|
209
|
+
font-weight: ${Qe.fontWeight};
|
|
210
|
+
letter-spacing: ${Qe.letterSpacing};
|
|
211
|
+
line-height: ${Qe.lineHeight};
|
|
212
|
+
text-transform: ${Qe.textTransform};
|
|
213
213
|
}
|
|
214
214
|
`,Zc=Ue.css`
|
|
215
215
|
.ft-typography {
|
|
216
216
|
vertical-align: inherit;
|
|
217
217
|
}
|
|
218
|
-
`,qc=[Object.keys(Co).map(t=>Bc(t))]});var Yc,Ur,J,
|
|
218
|
+
`,qc=[Object.keys(Co).map(t=>Bc(t))]});var Yc,Ur,J,Qc,Fr=f(()=>{"use strict";Yc=b(B()),Ur=b(N()),J={color:Ur.FtCssVariableFactory.extend("--ft-loader-color","",Ur.designSystemVariables.colorPrimary),size:Ur.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Qc=Yc.css`
|
|
219
219
|
:host {
|
|
220
220
|
line-height: 0;
|
|
221
221
|
}
|
|
@@ -284,7 +284,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
284
284
|
transform: translate(calc(0.35 * ${J.size}), 0);
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
`});var
|
|
287
|
+
`});var Xc,it,Ce,Jc,Wr=f(()=>{"use strict";Xc=b(B()),it=b(N()),Ce={size:it.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:it.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",it.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:it.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",it.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:it.FtCssVariableFactory.extend("--ft-icon-material-font-family","",it.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:it.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Jc=Xc.css`
|
|
288
288
|
:host, i.ft-icon {
|
|
289
289
|
display: inline-flex;
|
|
290
290
|
align-items: center;
|
|
@@ -332,7 +332,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
332
332
|
.ft-icon--material {
|
|
333
333
|
font-family: ${Ce.materialFontFamily}, "Material Icons", sans-serif;
|
|
334
334
|
}
|
|
335
|
-
`});var rl,$,el,ne,tl,
|
|
335
|
+
`});var rl,$,el,ne,tl,Xn,Xe,ol,Jn=f(()=>{"use strict";rl=b(B()),$=b(N());Vt();Ro();Fr();Wr();el=$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorPrimary),ne={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorSurface),borderRadius:$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusL),color:el,fontSize:$.FtCssVariableFactory.extend("--ft-button-font-size","",Qe.fontSize),iconSize:$.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$.FtCssVariableFactory.extend("--ft-button-ripple-color","",el),verticalPadding:$.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},tl=$.FtCssVariableFactory.extend("--ft-button-primary-color","",$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorOnPrimary)),Xn={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-primary-background-color","",$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorPrimary)),color:tl,rippleColor:$.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",tl)},Xe={borderRadius:$.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusM)),verticalPadding:$.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ol=[rl.css`
|
|
336
336
|
:host {
|
|
337
337
|
display: inline-block;
|
|
338
338
|
max-width: 100%;
|
|
@@ -391,13 +391,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
.ft-button.ft-button--dense {
|
|
394
|
-
padding: ${
|
|
395
|
-
border-radius: ${
|
|
396
|
-
gap: ${
|
|
394
|
+
padding: ${Xe.verticalPadding} ${Xe.horizontalPadding};
|
|
395
|
+
border-radius: ${Xe.borderRadius};
|
|
396
|
+
gap: ${Xe.iconPadding};
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
400
|
-
padding: calc(${
|
|
400
|
+
padding: calc(${Xe.verticalPadding} - 1px) calc(${Xe.horizontalPadding} - 1px);
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
.ft-button:not([disabled]):hover {
|
|
@@ -409,7 +409,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
.ft-button--round.ft-button--dense {
|
|
412
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
412
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xe.verticalPadding});
|
|
413
413
|
}
|
|
414
414
|
|
|
415
415
|
.ft-button[disabled] {
|
|
@@ -418,9 +418,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
.ft-button.ft-button--primary {
|
|
421
|
-
background-color: ${
|
|
422
|
-
--ft-button-internal-color: ${
|
|
423
|
-
${(0,$.setVariable)(w.color,
|
|
421
|
+
background-color: ${Xn.backgroundColor};
|
|
422
|
+
--ft-button-internal-color: ${Xn.color};
|
|
423
|
+
${(0,$.setVariable)(w.color,Xn.rippleColor)};
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
.ft-button:focus {
|
|
@@ -434,12 +434,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
434
434
|
text-overflow: ellipsis;
|
|
435
435
|
display: block;
|
|
436
436
|
margin: 0 ${ne.iconPadding};
|
|
437
|
-
${(0,$.setVariable)(
|
|
438
|
-
${(0,$.setVariable)(
|
|
437
|
+
${(0,$.setVariable)(Qe.fontSize,"1em")};
|
|
438
|
+
${(0,$.setVariable)(Qe.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
.ft-button--dense .ft-button--label {
|
|
442
|
-
margin: 0 ${
|
|
442
|
+
margin: 0 ${Xe.iconPadding};
|
|
443
443
|
}
|
|
444
444
|
|
|
445
445
|
.ft-button--label[hidden] {
|
|
@@ -457,8 +457,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
460
|
-
margin: 0 calc(${
|
|
461
|
-
padding: 0 ${
|
|
460
|
+
margin: 0 calc(${Xe.horizontalPadding} * -1);
|
|
461
|
+
padding: 0 ${Xe.verticalPadding};
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -469,7 +469,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
469
469
|
${(0,$.setVariable)(J.size,ne.iconSize)};
|
|
470
470
|
${(0,$.setVariable)(J.color,"var(--ft-button-internal-color)")};
|
|
471
471
|
}
|
|
472
|
-
`,$.noTextSelect]});var Hr=Gt((
|
|
472
|
+
`,$.noTextSelect]});var Hr=Gt((nv,nl)=>{nl.exports=ftGlobals.litClassMap});var al,ye,il,zr,we,X,ea=f(()=>{"use strict";al=b(B()),ye=b(Q()),il=b(Hr()),zr=b(N());Vt();we=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},X=class extends zr.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 zr.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 zr.Debouncer(10),this.moveRipple=e=>{var o,n;let{x:a,y:i}=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(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-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 al.html`
|
|
473
473
|
<style>
|
|
474
474
|
.ft-ripple .ft-ripple--effect {
|
|
475
475
|
left: ${this.originX}px;
|
|
@@ -480,9 +480,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
480
480
|
<div class="ft-ripple--background"></div>
|
|
481
481
|
<div class="ft-ripple--effect"></div>
|
|
482
482
|
</div>
|
|
483
|
-
`}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)=>p=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=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",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,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",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,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,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}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()}};
|
|
483
|
+
`}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)=>p=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=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",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,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",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,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,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}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()}};X.elementDefinitions={};X.styles=_s;we([(0,ye.property)({type:Boolean})],X.prototype,"primary",void 0);we([(0,ye.property)({type:Boolean})],X.prototype,"secondary",void 0);we([(0,ye.property)({type:Boolean})],X.prototype,"unbounded",void 0);we([(0,ye.property)({type:Boolean})],X.prototype,"activated",void 0);we([(0,ye.property)({type:Boolean})],X.prototype,"selected",void 0);we([(0,ye.property)({type:Boolean})],X.prototype,"disabled",void 0);we([(0,ye.state)()],X.prototype,"hovered",void 0);we([(0,ye.state)()],X.prototype,"focused",void 0);we([(0,ye.state)()],X.prototype,"pressed",void 0);we([(0,ye.state)()],X.prototype,"rippling",void 0);we([(0,ye.state)()],X.prototype,"originX",void 0);we([(0,ye.state)()],X.prototype,"originY",void 0);we([(0,ye.query)(".ft-ripple")],X.prototype,"ripple",void 0);we([(0,ye.query)(".ft-ripple--effect")],X.prototype,"rippleEffect",void 0)});var sl=f(()=>{"use strict"});var cl,No=f(()=>{"use strict";cl=b(N());ea();ea();Vt();sl();(0,cl.customElement)("ft-ripple")(X)});function Ol(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ll!==void 0?ll.createHTML(e):e}function br(t,e,o=t,n){if(e===Vr)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=jr(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=br(t,a._$AS(t,e.values),a,n)),e}var sa,_o,ll,yl,St,ml,ch,qt,To,jr,gl,lh,ta,Gr,dl,ul,Kt,pl,fl,bl,xl,vl,Sl,Vr,le,hl,Zt,dh,Kr,ra,Io,xr,oa,na,aa,ia,uh,ca=f(()=>{sa=globalThis,_o=sa.trustedTypes,ll=_o?_o.createPolicy("lit-html",{createHTML:t=>t}):void 0,yl="$lit$",St=`lit$${(Math.random()+"").slice(9)}$`,ml="?"+St,ch=`<${ml}>`,qt=document,To=()=>qt.createComment(""),jr=t=>t===null||typeof t!="object"&&typeof t!="function",gl=Array.isArray,lh=t=>gl(t)||typeof t?.[Symbol.iterator]=="function",ta=`[
|
|
484
484
|
\f\r]`,Gr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,dl=/-->/g,ul=/>/g,Kt=RegExp(`>|${ta}(?:([^\\s"'>=/]+)(${ta}*=${ta}*(?:[^
|
|
485
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),pl=/'/g,fl=/"/g,bl=/^(?:script|style|textarea|title)$/i,xl=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),vl=xl(1),Sl=xl(2),Vr=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),hl=new WeakMap,Zt=qt.createTreeWalker(qt,129);
|
|
485
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),pl=/'/g,fl=/"/g,bl=/^(?:script|style|textarea|title)$/i,xl=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),vl=xl(1),Sl=xl(2),Vr=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),hl=new WeakMap,Zt=qt.createTreeWalker(qt,129);dh=(t,e)=>{let o=t.length-1,n=[],a,i=e===2?"<svg>":"",s=Gr;for(let l=0;l<o;l++){let p=t[l],u,m,h=-1,x=0;for(;x<p.length&&(s.lastIndex=x,m=s.exec(p),m!==null);)x=s.lastIndex,s===Gr?m[1]==="!--"?s=dl:m[1]!==void 0?s=ul:m[2]!==void 0?(bl.test(m[2])&&(a=RegExp("</"+m[2],"g")),s=Kt):m[3]!==void 0&&(s=Kt):s===Kt?m[0]===">"?(s=a??Gr,h=-1):m[1]===void 0?h=-2:(h=s.lastIndex-m[2].length,u=m[1],s=m[3]===void 0?Kt:m[3]==='"'?fl:pl):s===fl||s===pl?s=Kt:s===dl||s===ul?s=Gr:(s=Kt,a=void 0);let O=s===Kt&&t[l+1].startsWith("/>")?" ":"";i+=s===Gr?p+ch:h>=0?(n.push(u),p.slice(0,h)+yl+p.slice(h)+St+O):p+St+(h===-2?l:O)}return[Ol(t,i+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},Kr=class t{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,p=this.parts,[u,m]=dh(e,o);if(this.el=t.createElement(u,n),Zt.currentNode=this.el.content,o===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=Zt.nextNode())!==null&&p.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(yl)){let x=m[s++],O=a.getAttribute(h).split(St),S=/([.?@])?(.*)/.exec(x);p.push({type:1,index:i,name:S[2],strings:O,ctor:S[1]==="."?oa:S[1]==="?"?na:S[1]==="@"?aa:xr}),a.removeAttribute(h)}else h.startsWith(St)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(bl.test(a.tagName)){let h=a.textContent.split(St),x=h.length-1;if(x>0){a.textContent=_o?_o.emptyScript:"";for(let O=0;O<x;O++)a.append(h[O],To()),Zt.nextNode(),p.push({type:2,index:++i});a.append(h[x],To())}}}else if(a.nodeType===8)if(a.data===ml)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(St,h+1))!==-1;)p.push({type:7,index:i}),h+=St.length-1}i++}}static createElement(e,o){let n=qt.createElement("template");return n.innerHTML=e,n}};ra=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,a=(e?.creationScope??qt).importNode(o,!0);Zt.currentNode=a;let i=Zt.nextNode(),s=0,l=0,p=n[0];for(;p!==void 0;){if(s===p.index){let u;p.type===2?u=new Io(i,i.nextSibling,this,e):p.type===1?u=new p.ctor(i,p.name,p.strings,this,e):p.type===6&&(u=new ia(i,this,e)),this._$AV.push(u),p=n[++l]}s!==p?.index&&(i=Zt.nextNode(),s++)}return Zt.currentNode=qt,a}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++}},Io=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=le,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.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=br(this,e,o),jr(e)?e===le||e==null||e===""?(this._$AH!==le&&this._$AR(),this._$AH=le):e!==this._$AH&&e!==Vr&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):lh(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!==le&&jr(this._$AH)?this._$AA.nextSibling.data=e:this.$(qt.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Kr.createElement(Ol(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new ra(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(e){let o=hl.get(e.strings);return o===void 0&&hl.set(e.strings,o=new Kr(e)),o}T(e){gl(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new t(this.k(To()),this.k(To()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$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))}},xr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=le,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=le}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=br(this,e,o,0),s=!jr(e)||e!==this._$AH&&e!==Vr,s&&(this._$AH=e);else{let l=e,p,u;for(e=i[0],p=0;p<i.length-1;p++)u=br(this,l[n+p],o,p),u===Vr&&(u=this._$AH[p]),s||=!jr(u)||u!==this._$AH[p],u===le?e=le:e!==le&&(e+=(u??"")+i[p+1]),this._$AH[p]=u}s&&!a&&this.O(e)}O(e){e===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},oa=class extends xr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===le?void 0:e}},na=class extends xr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==le)}},aa=class extends xr{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=br(this,e,o,0)??le)===Vr)return;let n=this._$AH,a=e===le&&n!==le||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==le&&(n===le||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},ia=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){br(this,e)}},uh=sa.litHtmlPolyfillSupport;uh?.(Kr,Io),(sa.litHtmlVersions??=[]).push("3.1.0")});var El,ph,la,Cl,wl,da,hv,Al=f(()=>{ca();El=Symbol.for(""),ph=t=>{if(t?.r===El)return t?._$litStatic$},la=t=>({_$litStatic$:t,r:El}),Cl=new Map,wl=t=>(e,...o)=>{let n=o.length,a,i,s=[],l=[],p,u=0,m=!1;for(;u<n;){for(p=e[u];u<n&&(i=o[u],(a=ph(i))!==void 0);)p+=a+e[++u],m=!0;u!==n&&l.push(i),s.push(p),u++}if(u===n&&s.push(e[n]),m){let h=s.join("$$lit$$");(e=Cl.get(h))===void 0&&(s.raw=s,Cl.set(h,e=s)),o=l}return t(e,...o)},da=wl(vl),hv=wl(Sl)});var Rl=f(()=>{Al()});var Ot,Lo=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"})(Ot||(Ot={}))});var ua,_l,Nl,se,pa=f(()=>{"use strict";Rl();ua=b(Q()),_l=b(N());Lo();Ro();Nl=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},se=class extends _l.FtLitElement{constructor(){super(...arguments),this.variant=Ot.body1}render(){return this.element?da`
|
|
486
486
|
<${la(this.element)}
|
|
487
487
|
part="text"
|
|
488
488
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -490,7 +490,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
490
490
|
</${la(this.element)}>
|
|
491
491
|
`:da`
|
|
492
492
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
493
|
-
`}};se.styles=[Uc,Fc,Wc,Hc,zc,Ao,Gc,jc,Vc,Kc,Zc,...qc];Nl([(0,ua.property)()],se.prototype,"element",void 0);Nl([(0,ua.property)()],se.prototype,"variant",void 0)});var
|
|
493
|
+
`}};se.styles=[Uc,Fc,Wc,Hc,zc,Ao,Gc,jc,Vc,Kc,Zc,...qc];Nl([(0,ua.property)()],se.prototype,"element",void 0);Nl([(0,ua.property)()],se.prototype,"variant",void 0)});var Tl,st=f(()=>{"use strict";Tl=b(N());pa();pa();Ro();Lo();(0,Tl.customElement)("ft-typography")(se)});var Il,ct,Ct,Ll,fa=f(()=>{"use strict";Il=b(B()),ct=b(N()),Ct={distance:ct.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:ct.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ct.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ct.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ct.FtCssVariableFactory.external(ct.designSystemVariables.borderRadiusS,"Design system"),maxWidth:ct.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ll=Il.css`
|
|
494
494
|
.ft-tooltip--container {
|
|
495
495
|
display: block;
|
|
496
496
|
}
|
|
@@ -519,7 +519,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
519
519
|
position: relative;
|
|
520
520
|
word-break: break-word;
|
|
521
521
|
}
|
|
522
|
-
`});function ma(t,e,o){return Et(t,Zr(e,o))}function _o(t,e){return typeof t=="function"?t(e):t}function vr(t){return t.split("-")[0]}function wt(t){return t.split("-")[1]}function ga(t){return t==="x"?"y":"x"}function ba(t){return t==="y"?"height":"width"}function ko(t){return["top","bottom"].includes(vr(t))?"y":"x"}function xa(t){return ga(ko(t))}function Dl(t,e,o){o===void 0&&(o=!1);let n=wt(t),a=xa(t),i=ba(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ha(s)),[s,ha(s)]}function Bl(t){return t.replace(/start|end/g,e=>dh[e])}function ha(t){return t.replace(/left|right|bottom|top/g,e=>lh[e])}function uh(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ml(t){return typeof t!="number"?uh(t):{top:t,right:t,bottom:t,left:t}}function Yt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var kl,_l,ya,Zr,Et,qr,lt,lh,dh,Do=f(()=>{kl=["top","right","bottom","left"],_l=["start","end"],ya=kl.reduce((t,e)=>t.concat(e,e+"-"+_l[0],e+"-"+_l[1]),[]),Zr=Math.min,Et=Math.max,qr=Math.round,lt=t=>({x:t,y:t}),lh={left:"right",right:"left",bottom:"top",top:"bottom"},dh={start:"end",end:"start"}});function $l(t,e,o){let{reference:n,floating:a}=t,i=ko(e),s=xa(e),l=ba(s),p=vr(e),u=i==="y",m=n.x+n.width/2-a.width/2,y=n.y+n.height/2-a.height/2,x=n[l]/2-a[l]/2,O;switch(p){case"top":O={x:m,y:n.y-a.height};break;case"bottom":O={x:m,y:n.y+n.height};break;case"right":O={x:n.x+n.width,y};break;case"left":O={x:n.x-a.width,y};break;default:O={x:n.x,y:n.y}}switch(wt(e)){case"start":O[s]-=x*(o&&u?-1:1);break;case"end":O[s]+=x*(o&&u?-1:1);break}return O}async function va(t,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:p}=t,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:y="floating",altBoundary:x=!1,padding:O=0}=_o(e,t),S=Ml(O),P=l[x?y==="floating"?"reference":"floating":y],I=Yt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(P)))==null||o?P:P.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:p})),L=y==="floating"?{...s.floating,x:n,y:a}:s.reference,M=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),U=await(i.isElement==null?void 0:i.isElement(M))?await(i.getScale==null?void 0:i.getScale(M))||{x:1,y:1}:{x:1,y:1},F=Yt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:M,strategy:p}):L);return{top:(I.top-F.top+S.top)/U.y,bottom:(F.bottom-I.bottom+S.bottom)/U.y,left:(I.left-F.left+S.left)/U.x,right:(F.right-I.right+S.right)/U.x}}function ph(t,e,o){return(t?[...o.filter(a=>wt(a)===t),...o.filter(a=>wt(a)!==t)]:o.filter(a=>vr(a)===a)).filter(a=>t?wt(a)===t||(e?Bl(a)!==a:!1):!0)}var Ul,Sa,Oa,Ca=f(()=>{Do();Do();Ul=async(t,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:m,y}=$l(u,n,p),x=n,O={},S=0;for(let C=0;C<l.length;C++){let{name:P,fn:I}=l[C],{x:L,y:M,data:U,reset:F}=await I({x:m,y,initialPlacement:n,placement:x,strategy:a,middlewareData:O,rects:u,platform:s,elements:{reference:t,floating:e}});if(m=L??m,y=M??y,O={...O,[P]:{...O[P],...U}},F&&S<=50){S++,typeof F=="object"&&(F.placement&&(x=F.placement),F.rects&&(u=F.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):F.rects),{x:m,y}=$l(u,x,p)),C=-1;continue}}return{x:m,y,placement:x,strategy:a,middlewareData:O}};Sa=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:p,elements:u}=e,{crossAxis:m=!1,alignment:y,allowedPlacements:x=ya,autoAlignment:O=!0,...S}=_o(t,e),C=y!==void 0||x===ya?ph(y||null,O,x):x,P=await va(e,S),I=((o=s.autoPlacement)==null?void 0:o.index)||0,L=C[I];if(L==null)return{};let M=Dl(L,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==L)return{reset:{placement:C[0]}};let U=[P[vr(L)],P[M[0]],P[M[1]]],F=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:U}],Ee=C[I+1];if(Ee)return{data:{index:I+1,overflows:F},reset:{placement:Ee}};let qe=F.map(fe=>{let g=wt(fe.placement);return[fe.placement,g&&m?fe.overflows.slice(0,2).reduce((v,k)=>v+k,0):fe.overflows[0],fe.overflows]}).sort((fe,g)=>fe[1]-g[1]),Ye=((a=qe.filter(fe=>fe[2].slice(0,wt(fe[0])?2:3).every(g=>g<=0))[0])==null?void 0:a[0])||qe[0][0];return Ye!==l?{data:{index:I+1,overflows:F},reset:{placement:Ye}}:{}}}},Oa=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:P=>{let{x:I,y:L}=P;return{x:I,y:L}}},...p}=_o(t,e),u={x:o,y:n},m=await va(e,p),y=ko(vr(a)),x=ga(y),O=u[x],S=u[y];if(i){let P=x==="y"?"top":"left",I=x==="y"?"bottom":"right",L=O+m[P],M=O-m[I];O=ma(L,O,M)}if(s){let P=y==="y"?"top":"left",I=y==="y"?"bottom":"right",L=S+m[P],M=S-m[I];S=ma(L,S,M)}let C=l.fn({...e,[x]:O,[y]:S});return{...C,data:{x:C.x-o,y:C.y-n}}}}}});function dt(t){return Wl(t)?(t.nodeName||"").toLowerCase():"#document"}function Ae(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ut(t){var e;return(e=(Wl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Wl(t){return t instanceof Node||t instanceof Ae(t).Node}function Je(t){return t instanceof Element||t instanceof Ae(t).Element}function je(t){return t instanceof HTMLElement||t instanceof Ae(t).HTMLElement}function Fl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ae(t).ShadowRoot}function Sr(t){let{overflow:e,overflowX:o,overflowY:n,display:a}=Pe(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function Hl(t){return["table","td","th"].includes(dt(t))}function Mo(t){let e=$o(),o=Pe(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 zl(t){let e=Xt(t);for(;je(e)&&!Yr(e);){if(Mo(e))return e;e=Xt(e)}return null}function $o(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yr(t){return["html","body","#document"].includes(dt(t))}function Pe(t){return Ae(t).getComputedStyle(t)}function Xr(t){return Je(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xt(t){if(dt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Fl(t)&&t.host||ut(t);return Fl(e)?e.host:e}function Gl(t){let e=Xt(t);return Yr(e)?t.ownerDocument?t.ownerDocument.body:t.body:je(e)&&Sr(e)?e:Gl(e)}function Bo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=Gl(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Ae(a);return i?e.concat(s,s.visualViewport||[],Sr(a)?a:[],s.frameElement&&o?Bo(s.frameElement):[]):e.concat(a,Bo(a,[],o))}var jl=f(()=>{});function Zl(t){let e=Pe(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=je(t),i=a?t.offsetWidth:o,s=a?t.offsetHeight:n,l=qr(o)!==i||qr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function ql(t){return Je(t)?t:t.contextElement}function Or(t){let e=ql(t);if(!je(e))return lt(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=Zl(e),s=(i?qr(o.width):o.width)/n,l=(i?qr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Yl(t){let e=Ae(t);return!$o()||!e.visualViewport?yh:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function mh(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Ae(t)?!1:e}function Qr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=t.getBoundingClientRect(),i=ql(t),s=lt(1);e&&(n?Je(n)&&(s=Or(n)):s=Or(t));let l=mh(i,o,n)?Yl(i):lt(0),p=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,m=a.width/s.x,y=a.height/s.y;if(i){let x=Ae(i),O=n&&Je(n)?Ae(n):n,S=x.frameElement;for(;S&&n&&O!==x;){let C=Or(S),P=S.getBoundingClientRect(),I=Pe(S),L=P.left+(S.clientLeft+parseFloat(I.paddingLeft))*C.x,M=P.top+(S.clientTop+parseFloat(I.paddingTop))*C.y;p*=C.x,u*=C.y,m*=C.x,y*=C.y,p+=L,u+=M,S=Ae(S).frameElement}}return Yt({width:m,height:y,x:p,y:u})}function gh(t){let{rect:e,offsetParent:o,strategy:n}=t,a=je(o),i=ut(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},l=lt(1),p=lt(0);if((a||!a&&n!=="fixed")&&((dt(o)!=="body"||Sr(i))&&(s=Xr(o)),je(o))){let u=Qr(o);l=Or(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+p.x,y:e.y*l.y-s.scrollTop*l.y+p.y}}function bh(t){return Array.from(t.getClientRects())}function Xl(t){return Qr(ut(t)).left+Xr(t).scrollLeft}function xh(t){let e=ut(t),o=Xr(t),n=t.ownerDocument.body,a=Et(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Et(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Xl(t),l=-o.scrollTop;return Pe(n).direction==="rtl"&&(s+=Et(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function vh(t,e){let o=Ae(t),n=ut(t),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,p=0;if(a){i=a.width,s=a.height;let u=$o();(!u||u&&e==="fixed")&&(l=a.offsetLeft,p=a.offsetTop)}return{width:i,height:s,x:l,y:p}}function Sh(t,e){let o=Qr(t,!0,e==="fixed"),n=o.top+t.clientTop,a=o.left+t.clientLeft,i=je(t)?Or(t):lt(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,p=a*i.x,u=n*i.y;return{width:s,height:l,x:p,y:u}}function Vl(t,e,o){let n;if(e==="viewport")n=vh(t,o);else if(e==="document")n=xh(ut(t));else if(Je(e))n=Sh(e,o);else{let a=Yl(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Yt(n)}function Ql(t,e){let o=Xt(t);return o===e||!Je(o)||Yr(o)?!1:Pe(o).position==="fixed"||Ql(o,e)}function Oh(t,e){let o=e.get(t);if(o)return o;let n=Bo(t,[],!1).filter(l=>Je(l)&&dt(l)!=="body"),a=null,i=Pe(t).position==="fixed",s=i?Xt(t):t;for(;Je(s)&&!Yr(s);){let l=Pe(s),p=Mo(s);!p&&l.position==="fixed"&&(a=null),(i?!p&&!a:!p&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Sr(s)&&!p&&Ql(t,s))?n=n.filter(m=>m!==s):a=l,s=Xt(s)}return e.set(t,n),n}function Ch(t){let{element:e,boundary:o,rootBoundary:n,strategy:a}=t,s=[...o==="clippingAncestors"?Oh(e,this._c):[].concat(o),n],l=s[0],p=s.reduce((u,m)=>{let y=Vl(e,m,a);return u.top=Et(y.top,u.top),u.right=Zr(y.right,u.right),u.bottom=Zr(y.bottom,u.bottom),u.left=Et(y.left,u.left),u},Vl(e,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Eh(t){return Zl(t)}function wh(t,e,o){let n=je(e),a=ut(e),i=o==="fixed",s=Qr(t,!0,i,e),l={scrollLeft:0,scrollTop:0},p=lt(0);if(n||!n&&!i)if((dt(e)!=="body"||Sr(a))&&(l=Xr(e)),n){let u=Qr(e,!0,i,e);p.x=u.x+e.clientLeft,p.y=u.y+e.clientTop}else a&&(p.x=Xl(a));return{x:s.left+l.scrollLeft-p.x,y:s.top+l.scrollTop-p.y,width:s.width,height:s.height}}function Kl(t,e){return!je(t)||Pe(t).position==="fixed"?null:e?e(t):t.offsetParent}function Jl(t,e){let o=Ae(t);if(!je(t))return o;let n=Kl(t,e);for(;n&&Hl(n)&&Pe(n).position==="static";)n=Kl(n,e);return n&&(dt(n)==="html"||dt(n)==="body"&&Pe(n).position==="static"&&!Mo(n))?o:n||zl(t)||o}function Rh(t){return Pe(t).direction==="rtl"}var yh,Ah,Uo,ed,td=f(()=>{Ca();Ca();Do();jl();yh=lt(0);Ah=async function(t){let{reference:e,floating:o,strategy:n}=t,a=this.getOffsetParent||Jl,i=this.getDimensions;return{reference:wh(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};Uo={convertOffsetParentRelativeRectToViewportRelativeRect:gh,getDocumentElement:ut,getClippingRect:Ch,getOffsetParent:Jl,getElementRects:Ah,getClientRects:bh,getDimensions:Eh,getScale:Or,isElement:Je,isRTL:Rh},ed=(t,e,o)=>{let n=new Map,a={platform:Uo,...o},i={...a.platform,_c:n};return Ul(t,e,{...a,platform:i})}});function rd(t){return Nh(t)}function Ea(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Nh(t){for(let e=t;e;e=Ea(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ea(t);e;e=Ea(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 od=f(()=>{});async function nd(t,e,o){return ed(t,e,{platform:{...Uo,getOffsetParent:n=>Uo.getOffsetParent(n,rd)},middleware:[Oa({crossAxis:!0}),Sa({allowedPlacements:[o]})]})}var ad=f(()=>{"use strict";td();od()});var id,ue,Jr,Re,ae,wa=f(()=>{"use strict";id=b(B()),ue=b(X()),Jr=b(N());st();fa();ad();Re=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ae=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 id.html`
|
|
522
|
+
`});function ma(t,e,o){return Et(t,Zr(e,o))}function Po(t,e){return typeof t=="function"?t(e):t}function vr(t){return t.split("-")[0]}function wt(t){return t.split("-")[1]}function ga(t){return t==="x"?"y":"x"}function ba(t){return t==="y"?"height":"width"}function ko(t){return["top","bottom"].includes(vr(t))?"y":"x"}function xa(t){return ga(ko(t))}function Dl(t,e,o){o===void 0&&(o=!1);let n=wt(t),a=xa(t),i=ba(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ha(s)),[s,ha(s)]}function Bl(t){return t.replace(/start|end/g,e=>hh[e])}function ha(t){return t.replace(/left|right|bottom|top/g,e=>fh[e])}function yh(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ml(t){return typeof t!="number"?yh(t):{top:t,right:t,bottom:t,left:t}}function Yt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var kl,Pl,ya,Zr,Et,qr,lt,fh,hh,Do=f(()=>{kl=["top","right","bottom","left"],Pl=["start","end"],ya=kl.reduce((t,e)=>t.concat(e,e+"-"+Pl[0],e+"-"+Pl[1]),[]),Zr=Math.min,Et=Math.max,qr=Math.round,lt=t=>({x:t,y:t}),fh={left:"right",right:"left",bottom:"top",top:"bottom"},hh={start:"end",end:"start"}});function $l(t,e,o){let{reference:n,floating:a}=t,i=ko(e),s=xa(e),l=ba(s),p=vr(e),u=i==="y",m=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,x=n[l]/2-a[l]/2,O;switch(p){case"top":O={x:m,y:n.y-a.height};break;case"bottom":O={x:m,y:n.y+n.height};break;case"right":O={x:n.x+n.width,y:h};break;case"left":O={x:n.x-a.width,y:h};break;default:O={x:n.x,y:n.y}}switch(wt(e)){case"start":O[s]-=x*(o&&u?-1:1);break;case"end":O[s]+=x*(o&&u?-1:1);break}return O}async function va(t,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:p}=t,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:x=!1,padding:O=0}=Po(e,t),S=Ml(O),I=l[x?h==="floating"?"reference":"floating":h],_=Yt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(I)))==null||o?I:I.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:p})),T=h==="floating"?{...s.floating,x:n,y:a}:s.reference,M=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),U=await(i.isElement==null?void 0:i.isElement(M))?await(i.getScale==null?void 0:i.getScale(M))||{x:1,y:1}:{x:1,y:1},F=Yt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:M,strategy:p}):T);return{top:(_.top-F.top+S.top)/U.y,bottom:(F.bottom-_.bottom+S.bottom)/U.y,left:(_.left-F.left+S.left)/U.x,right:(F.right-_.right+S.right)/U.x}}function mh(t,e,o){return(t?[...o.filter(a=>wt(a)===t),...o.filter(a=>wt(a)!==t)]:o.filter(a=>vr(a)===a)).filter(a=>t?wt(a)===t||(e?Bl(a)!==a:!1):!0)}var Ul,Sa,Oa,Ca=f(()=>{Do();Do();Ul=async(t,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:m,y:h}=$l(u,n,p),x=n,O={},S=0;for(let C=0;C<l.length;C++){let{name:I,fn:_}=l[C],{x:T,y:M,data:U,reset:F}=await _({x:m,y:h,initialPlacement:n,placement:x,strategy:a,middlewareData:O,rects:u,platform:s,elements:{reference:t,floating:e}});if(m=T??m,h=M??h,O={...O,[I]:{...O[I],...U}},F&&S<=50){S++,typeof F=="object"&&(F.placement&&(x=F.placement),F.rects&&(u=F.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):F.rects),{x:m,y:h}=$l(u,x,p)),C=-1;continue}}return{x:m,y:h,placement:x,strategy:a,middlewareData:O}};Sa=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:p,elements:u}=e,{crossAxis:m=!1,alignment:h,allowedPlacements:x=ya,autoAlignment:O=!0,...S}=Po(t,e),C=h!==void 0||x===ya?mh(h||null,O,x):x,I=await va(e,S),_=((o=s.autoPlacement)==null?void 0:o.index)||0,T=C[_];if(T==null)return{};let M=Dl(T,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==T)return{reset:{placement:C[0]}};let U=[I[vr(T)],I[M[0]],I[M[1]]],F=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:U}],Ee=C[_+1];if(Ee)return{data:{index:_+1,overflows:F},reset:{placement:Ee}};let qe=F.map(fe=>{let g=wt(fe.placement);return[fe.placement,g&&m?fe.overflows.slice(0,2).reduce((v,k)=>v+k,0):fe.overflows[0],fe.overflows]}).sort((fe,g)=>fe[1]-g[1]),Ye=((a=qe.filter(fe=>fe[2].slice(0,wt(fe[0])?2:3).every(g=>g<=0))[0])==null?void 0:a[0])||qe[0][0];return Ye!==l?{data:{index:_+1,overflows:F},reset:{placement:Ye}}:{}}}},Oa=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:I=>{let{x:_,y:T}=I;return{x:_,y:T}}},...p}=Po(t,e),u={x:o,y:n},m=await va(e,p),h=ko(vr(a)),x=ga(h),O=u[x],S=u[h];if(i){let I=x==="y"?"top":"left",_=x==="y"?"bottom":"right",T=O+m[I],M=O-m[_];O=ma(T,O,M)}if(s){let I=h==="y"?"top":"left",_=h==="y"?"bottom":"right",T=S+m[I],M=S-m[_];S=ma(T,S,M)}let C=l.fn({...e,[x]:O,[h]:S});return{...C,data:{x:C.x-o,y:C.y-n}}}}}});function dt(t){return Wl(t)?(t.nodeName||"").toLowerCase():"#document"}function Ae(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ut(t){var e;return(e=(Wl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Wl(t){return t instanceof Node||t instanceof Ae(t).Node}function Je(t){return t instanceof Element||t instanceof Ae(t).Element}function je(t){return t instanceof HTMLElement||t instanceof Ae(t).HTMLElement}function Fl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ae(t).ShadowRoot}function Sr(t){let{overflow:e,overflowX:o,overflowY:n,display:a}=Ie(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function Hl(t){return["table","td","th"].includes(dt(t))}function Mo(t){let e=$o(),o=Ie(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 zl(t){let e=Qt(t);for(;je(e)&&!Yr(e);){if(Mo(e))return e;e=Qt(e)}return null}function $o(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yr(t){return["html","body","#document"].includes(dt(t))}function Ie(t){return Ae(t).getComputedStyle(t)}function Qr(t){return Je(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Qt(t){if(dt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Fl(t)&&t.host||ut(t);return Fl(e)?e.host:e}function Gl(t){let e=Qt(t);return Yr(e)?t.ownerDocument?t.ownerDocument.body:t.body:je(e)&&Sr(e)?e:Gl(e)}function Bo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=Gl(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Ae(a);return i?e.concat(s,s.visualViewport||[],Sr(a)?a:[],s.frameElement&&o?Bo(s.frameElement):[]):e.concat(a,Bo(a,[],o))}var jl=f(()=>{});function Zl(t){let e=Ie(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=je(t),i=a?t.offsetWidth:o,s=a?t.offsetHeight:n,l=qr(o)!==i||qr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function ql(t){return Je(t)?t:t.contextElement}function Or(t){let e=ql(t);if(!je(e))return lt(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=Zl(e),s=(i?qr(o.width):o.width)/n,l=(i?qr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Yl(t){let e=Ae(t);return!$o()||!e.visualViewport?vh:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Sh(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Ae(t)?!1:e}function Xr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=t.getBoundingClientRect(),i=ql(t),s=lt(1);e&&(n?Je(n)&&(s=Or(n)):s=Or(t));let l=Sh(i,o,n)?Yl(i):lt(0),p=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,m=a.width/s.x,h=a.height/s.y;if(i){let x=Ae(i),O=n&&Je(n)?Ae(n):n,S=x.frameElement;for(;S&&n&&O!==x;){let C=Or(S),I=S.getBoundingClientRect(),_=Ie(S),T=I.left+(S.clientLeft+parseFloat(_.paddingLeft))*C.x,M=I.top+(S.clientTop+parseFloat(_.paddingTop))*C.y;p*=C.x,u*=C.y,m*=C.x,h*=C.y,p+=T,u+=M,S=Ae(S).frameElement}}return Yt({width:m,height:h,x:p,y:u})}function Oh(t){let{rect:e,offsetParent:o,strategy:n}=t,a=je(o),i=ut(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},l=lt(1),p=lt(0);if((a||!a&&n!=="fixed")&&((dt(o)!=="body"||Sr(i))&&(s=Qr(o)),je(o))){let u=Xr(o);l=Or(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+p.x,y:e.y*l.y-s.scrollTop*l.y+p.y}}function Ch(t){return Array.from(t.getClientRects())}function Ql(t){return Xr(ut(t)).left+Qr(t).scrollLeft}function Eh(t){let e=ut(t),o=Qr(t),n=t.ownerDocument.body,a=Et(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Et(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ql(t),l=-o.scrollTop;return Ie(n).direction==="rtl"&&(s+=Et(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function wh(t,e){let o=Ae(t),n=ut(t),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,p=0;if(a){i=a.width,s=a.height;let u=$o();(!u||u&&e==="fixed")&&(l=a.offsetLeft,p=a.offsetTop)}return{width:i,height:s,x:l,y:p}}function Ah(t,e){let o=Xr(t,!0,e==="fixed"),n=o.top+t.clientTop,a=o.left+t.clientLeft,i=je(t)?Or(t):lt(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,p=a*i.x,u=n*i.y;return{width:s,height:l,x:p,y:u}}function Vl(t,e,o){let n;if(e==="viewport")n=wh(t,o);else if(e==="document")n=Eh(ut(t));else if(Je(e))n=Ah(e,o);else{let a=Yl(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Yt(n)}function Xl(t,e){let o=Qt(t);return o===e||!Je(o)||Yr(o)?!1:Ie(o).position==="fixed"||Xl(o,e)}function Rh(t,e){let o=e.get(t);if(o)return o;let n=Bo(t,[],!1).filter(l=>Je(l)&&dt(l)!=="body"),a=null,i=Ie(t).position==="fixed",s=i?Qt(t):t;for(;Je(s)&&!Yr(s);){let l=Ie(s),p=Mo(s);!p&&l.position==="fixed"&&(a=null),(i?!p&&!a:!p&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Sr(s)&&!p&&Xl(t,s))?n=n.filter(m=>m!==s):a=l,s=Qt(s)}return e.set(t,n),n}function Nh(t){let{element:e,boundary:o,rootBoundary:n,strategy:a}=t,s=[...o==="clippingAncestors"?Rh(e,this._c):[].concat(o),n],l=s[0],p=s.reduce((u,m)=>{let h=Vl(e,m,a);return u.top=Et(h.top,u.top),u.right=Zr(h.right,u.right),u.bottom=Zr(h.bottom,u.bottom),u.left=Et(h.left,u.left),u},Vl(e,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function _h(t){return Zl(t)}function Th(t,e,o){let n=je(e),a=ut(e),i=o==="fixed",s=Xr(t,!0,i,e),l={scrollLeft:0,scrollTop:0},p=lt(0);if(n||!n&&!i)if((dt(e)!=="body"||Sr(a))&&(l=Qr(e)),n){let u=Xr(e,!0,i,e);p.x=u.x+e.clientLeft,p.y=u.y+e.clientTop}else a&&(p.x=Ql(a));return{x:s.left+l.scrollLeft-p.x,y:s.top+l.scrollTop-p.y,width:s.width,height:s.height}}function Kl(t,e){return!je(t)||Ie(t).position==="fixed"?null:e?e(t):t.offsetParent}function Jl(t,e){let o=Ae(t);if(!je(t))return o;let n=Kl(t,e);for(;n&&Hl(n)&&Ie(n).position==="static";)n=Kl(n,e);return n&&(dt(n)==="html"||dt(n)==="body"&&Ie(n).position==="static"&&!Mo(n))?o:n||zl(t)||o}function Lh(t){return Ie(t).direction==="rtl"}var vh,Ih,Uo,ed,td=f(()=>{Ca();Ca();Do();jl();vh=lt(0);Ih=async function(t){let{reference:e,floating:o,strategy:n}=t,a=this.getOffsetParent||Jl,i=this.getDimensions;return{reference:Th(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};Uo={convertOffsetParentRelativeRectToViewportRelativeRect:Oh,getDocumentElement:ut,getClippingRect:Nh,getOffsetParent:Jl,getElementRects:Ih,getClientRects:Ch,getDimensions:_h,getScale:Or,isElement:Je,isRTL:Lh},ed=(t,e,o)=>{let n=new Map,a={platform:Uo,...o},i={...a.platform,_c:n};return Ul(t,e,{...a,platform:i})}});function rd(t){return Ph(t)}function Ea(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Ph(t){for(let e=t;e;e=Ea(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ea(t);e;e=Ea(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 od=f(()=>{});async function nd(t,e,o){return ed(t,e,{platform:{...Uo,getOffsetParent:n=>Uo.getOffsetParent(n,rd)},middleware:[Oa({crossAxis:!0}),Sa({allowedPlacements:[o]})]})}var ad=f(()=>{"use strict";td();od()});var id,ue,Jr,Re,ae,wa=f(()=>{"use strict";id=b(B()),ue=b(Q()),Jr=b(N());st();fa();ad();Re=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ae=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 id.html`
|
|
523
523
|
<div part="container"
|
|
524
524
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
525
525
|
@mouseenter=${this.onHover}
|
|
@@ -537,19 +537,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
537
537
|
</div>
|
|
538
538
|
</div>
|
|
539
539
|
</div>
|
|
540
|
-
`}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="",nd(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))}};ae.elementDefinitions={"ft-typography":se};ae.styles=Tl;Re([(0,ue.property)()],ae.prototype,"text",void 0);Re([(0,ue.property)({type:Boolean})],ae.prototype,"manual",void 0);Re([(0,ue.property)({type:Boolean})],ae.prototype,"inline",void 0);Re([(0,ue.property)({type:Number})],ae.prototype,"delay",void 0);Re([(0,ue.property)()],ae.prototype,"position",void 0);Re([(0,ue.queryAssignedNodes)()],ae.prototype,"slotNodes",void 0);Re([(0,ue.query)(".ft-tooltip--container")],ae.prototype,"container",void 0);Re([(0,ue.query)(".ft-tooltip")],ae.prototype,"tooltip",void 0);Re([(0,ue.query)(".ft-tooltip--content")],ae.prototype,"tooltipContent",void 0);Re([(0,ue.state)()],ae.prototype,"visible",void 0);Re([(0,ue.eventOptions)({passive:!0})],ae.prototype,"onTouch",null);Re([(0,ue.eventOptions)({passive:!0})],ae.prototype,"onHover",null);Re([(0,ue.eventOptions)({passive:!0})],ae.prototype,"onOut",null);Re([(0,ue.eventOptions)({passive:!0})],ae.prototype,"onClick",null)});var sd=f(()=>{"use strict"});var cd,Aa=f(()=>{"use strict";cd=b(N());wa();wa();fa();sd();(0,cd.customElement)("ft-tooltip")(ae)});var Fo=Gt((t0,ld)=>{ld.exports=ftGlobals.litUnsafeHTML});function dd(t,e){var o,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((o=Ih.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(i=(a=(n=Ra.get(l))!==null&&n!==void 0?n:Ra.get(e))!==null&&a!==void 0?a:Ra.get(s))!==null&&i!==void 0?i:A.UNKNOWN}var At,A,Ra,Ih,r0,Na=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.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱"})(At||(At={}));(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=""})(A||(A={}));Ra=new Map([...["abw"].map(t=>[t,A.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,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.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,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.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,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.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,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]),Ih=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"]]);r0={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"}});var Te,Ia=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Te||(Te={}))});var eo,Qt,ud,pd,Wo,Ne,La=f(()=>{"use strict";eo=b(B()),Qt=b(X()),ud=b(N()),pd=b(Fo());Na();Wr();Ia();Wo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ne=class extends ud.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=eo.nothing}render(){let e=this.variant&&Object.values(Te).includes(this.variant)?this.variant:Te.fluid_topics,o=e!==Te.material||!!this.value;return eo.html`
|
|
540
|
+
`}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="",nd(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))}};ae.elementDefinitions={"ft-typography":se};ae.styles=Ll;Re([(0,ue.property)()],ae.prototype,"text",void 0);Re([(0,ue.property)({type:Boolean})],ae.prototype,"manual",void 0);Re([(0,ue.property)({type:Boolean})],ae.prototype,"inline",void 0);Re([(0,ue.property)({type:Number})],ae.prototype,"delay",void 0);Re([(0,ue.property)()],ae.prototype,"position",void 0);Re([(0,ue.queryAssignedNodes)()],ae.prototype,"slotNodes",void 0);Re([(0,ue.query)(".ft-tooltip--container")],ae.prototype,"container",void 0);Re([(0,ue.query)(".ft-tooltip")],ae.prototype,"tooltip",void 0);Re([(0,ue.query)(".ft-tooltip--content")],ae.prototype,"tooltipContent",void 0);Re([(0,ue.state)()],ae.prototype,"visible",void 0);Re([(0,ue.eventOptions)({passive:!0})],ae.prototype,"onTouch",null);Re([(0,ue.eventOptions)({passive:!0})],ae.prototype,"onHover",null);Re([(0,ue.eventOptions)({passive:!0})],ae.prototype,"onOut",null);Re([(0,ue.eventOptions)({passive:!0})],ae.prototype,"onClick",null)});var sd=f(()=>{"use strict"});var cd,Aa=f(()=>{"use strict";cd=b(N());wa();wa();fa();sd();(0,cd.customElement)("ft-tooltip")(ae)});var Fo=Gt((a0,ld)=>{ld.exports=ftGlobals.litUnsafeHTML});function dd(t,e){var o,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((o=kh.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(i=(a=(n=Ra.get(l))!==null&&n!==void 0?n:Ra.get(e))!==null&&a!==void 0?a:Ra.get(s))!==null&&i!==void 0?i:A.UNKNOWN}var At,A,Ra,kh,i0,Na=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.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱"})(At||(At={}));(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=""})(A||(A={}));Ra=new Map([...["abw"].map(t=>[t,A.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,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.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,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.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,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.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,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]),kh=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"]]);i0={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"}});var Le,_a=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Le||(Le={}))});var eo,Xt,ud,pd,Wo,Ne,Ta=f(()=>{"use strict";eo=b(B()),Xt=b(Q()),ud=b(N()),pd=b(Fo());Na();Wr();_a();Wo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ne=class extends ud.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=eo.nothing}render(){let e=this.variant&&Object.values(Le).includes(this.variant)?this.variant:Le.fluid_topics,o=e!==Le.material||!!this.value;return eo.html`
|
|
541
541
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
542
542
|
${(0,pd.unsafeHTML)(this.resolvedIcon)}
|
|
543
543
|
<slot ?hidden=${o}></slot>
|
|
544
544
|
</i>
|
|
545
|
-
`}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
|
|
545
|
+
`}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 Le.file_format:this.resolvedIcon=(e=A[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Le.material:this.resolvedIcon=this.value||eo.nothing;break;default:this.resolvedIcon=(o=At[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Ne.elementDefinitions={};Ne.styles=Jc;Wo([(0,Xt.property)()],Ne.prototype,"variant",void 0);Wo([(0,Xt.property)()],Ne.prototype,"value",void 0);Wo([(0,Xt.state)()],Ne.prototype,"resolvedIcon",void 0);Wo([(0,Xt.query)("slot")],Ne.prototype,"slottedContent",void 0)});var fd,Ho=f(()=>{"use strict";fd=b(N());Ta();Wr();_a();Ta();Na();(0,fd.customElement)("ft-icon")(Ne)});var hd,yd,Jt,Ia=f(()=>{"use strict";hd=b(B()),yd=b(N());Fr();Jt=class extends yd.FtLitElement{render(){return hd.html`
|
|
546
546
|
<div class="ft-loader">
|
|
547
547
|
<div></div>
|
|
548
548
|
<div></div>
|
|
549
549
|
<div></div>
|
|
550
550
|
<div></div>
|
|
551
551
|
</div>
|
|
552
|
-
`}};Jt.styles=
|
|
552
|
+
`}};Jt.styles=Qc});var md=f(()=>{"use strict"});var gd,bd=f(()=>{"use strict";gd=b(N());Ia();Fr();md();Ia();(0,gd.customElement)("ft-loader")(Jt)});var Nt,Rt,La,pe,me,ee,Pa=f(()=>{"use strict";Nt=b(N());No();Aa();st();Ho();bd();Rt=b(B()),La=b(Hr()),pe=b(Q()),me=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ee=class extends(0,Nt.toFtFormComponent)(Nt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e,o,n;let a=Rt.html`
|
|
553
553
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
554
554
|
<ft-typography part="label"
|
|
555
555
|
variant=${this.typographyVariant}
|
|
@@ -563,14 +563,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
563
563
|
<a href="${i}"
|
|
564
564
|
target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
|
|
565
565
|
part="button"
|
|
566
|
-
class="${(0,
|
|
566
|
+
class="${(0,La.classMap)(this.buttonClasses)}"
|
|
567
567
|
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
568
568
|
?disabled=${this.isDisabled()}>
|
|
569
569
|
${a}
|
|
570
570
|
</a>
|
|
571
571
|
`:Rt.html`
|
|
572
572
|
<button part="button"
|
|
573
|
-
class="${(0,
|
|
573
|
+
class="${(0,La.classMap)(this.buttonClasses)}"
|
|
574
574
|
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
575
575
|
?disabled=${this.isDisabled()}>
|
|
576
576
|
${a}
|
|
@@ -586,7 +586,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
586
586
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
587
587
|
`:Rt.html`
|
|
588
588
|
<slot part="icon" name="icon"></slot>
|
|
589
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Nt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ee.elementDefinitions={"ft-ripple":
|
|
589
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Nt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ee.elementDefinitions={"ft-ripple":X,"ft-tooltip":ae,"ft-typography":se,"ft-icon":Ne,"ft-loader":Jt};me([(0,pe.property)()],ee.prototype,"href",void 0);me([(0,pe.property)()],ee.prototype,"target",void 0);me([(0,pe.property)({type:String,reflect:!0})],ee.prototype,"role",void 0);me([(0,pe.property)()],ee.prototype,"type",void 0);me([(0,pe.property)({type:Boolean})],ee.prototype,"disabled",void 0);me([(0,pe.property)()],ee.prototype,"label",void 0);me([(0,pe.property)()],ee.prototype,"icon",void 0);me([(0,pe.property)()],ee.prototype,"iconVariant",void 0);me([(0,pe.property)({type:Boolean})],ee.prototype,"trailingIcon",void 0);me([(0,pe.property)({type:Boolean})],ee.prototype,"loading",void 0);me([(0,pe.property)({attribute:"aria-label"})],ee.prototype,"ariaLabel",void 0);me([(0,pe.property)()],ee.prototype,"tooltipPosition",void 0);me([(0,pe.property)({type:Boolean})],ee.prototype,"hideTooltip",void 0);me([(0,pe.property)({type:Boolean})],ee.prototype,"forceTooltip",void 0);me([(0,pe.query)(".ft-button")],ee.prototype,"button",void 0);me([(0,pe.query)(".ft-button--label slot")],ee.prototype,"slottedContent",void 0);me([(0,pe.query)("[part=tooltip]")],ee.prototype,"tooltip",void 0)});var to,xd,zo,Pe,ka=f(()=>{"use strict";to=b(Q()),xd=b(N());Jn();Pa();zo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Pe=class extends ee{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"}};Pe.styles=[xd.safariEllipsisFix,ol];zo([(0,to.property)({type:Boolean})],Pe.prototype,"primary",void 0);zo([(0,to.property)({type:Boolean})],Pe.prototype,"outlined",void 0);zo([(0,to.property)({type:Boolean})],Pe.prototype,"dense",void 0);zo([(0,to.property)({type:Boolean})],Pe.prototype,"round",void 0)});var vd,E,Sd,Da=f(()=>{"use strict";vd=b(B()),E=b(N());Vt();Fr();Wr();j();j();Sd=[vd.css`
|
|
590
590
|
:host {
|
|
591
591
|
display: inline-block;
|
|
592
592
|
max-width: 100%;
|
|
@@ -637,7 +637,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
.ft-button:focus-visible {
|
|
640
|
-
outline-color: ${
|
|
640
|
+
outline-color: ${y.focusFocusRingColor};
|
|
641
641
|
outline-style: solid;
|
|
642
642
|
}
|
|
643
643
|
|
|
@@ -671,388 +671,388 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
671
671
|
/** Brand Primary styles **/
|
|
672
672
|
|
|
673
673
|
.ftds--family-brand.ft-button--primary {
|
|
674
|
-
${(0,E.setVariable)(J.color,
|
|
674
|
+
${(0,E.setVariable)(J.color,y.primaryBrandIconColor)};
|
|
675
675
|
|
|
676
|
-
${(0,E.setVariable)(w.color,
|
|
677
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
678
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
679
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
680
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
676
|
+
${(0,E.setVariable)(w.color,y.primaryBrandStateLayerColor)};
|
|
677
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.primaryBrandHoverStateLayerOpacity)};
|
|
678
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.primaryBrandFocusStateLayerOpacity)};
|
|
679
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.primaryBrandActiveStateLayerOpacity)};
|
|
680
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.primaryBrandActiveStateLayerOpacity)};
|
|
681
681
|
|
|
682
|
-
background-color: ${
|
|
683
|
-
color: ${
|
|
682
|
+
background-color: ${y.primaryBrandBackgroundColor};
|
|
683
|
+
color: ${y.primaryBrandColor};
|
|
684
684
|
border-style: none;
|
|
685
685
|
}
|
|
686
686
|
|
|
687
687
|
.ftds--family-brand.ft-button--primary[disabled] {
|
|
688
|
-
opacity: ${
|
|
688
|
+
opacity: ${y.primaryBrandDisabledComponentOpacity};
|
|
689
689
|
}
|
|
690
690
|
|
|
691
691
|
.ftds--family-brand.ft-button--primary ft-icon {
|
|
692
|
-
color: ${
|
|
692
|
+
color: ${y.primaryBrandIconColor};
|
|
693
693
|
}
|
|
694
694
|
|
|
695
695
|
/** Brand Secondary styles **/
|
|
696
696
|
|
|
697
697
|
.ftds--family-brand.ft-button--secondary {
|
|
698
|
-
${(0,E.setVariable)(J.color,
|
|
698
|
+
${(0,E.setVariable)(J.color,y.secondaryBrandIconColor)};
|
|
699
699
|
|
|
700
|
-
${(0,E.setVariable)(w.color,
|
|
701
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
702
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
703
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
704
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
700
|
+
${(0,E.setVariable)(w.color,y.secondaryBrandStateLayerColor)};
|
|
701
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryBrandHoverStateLayerOpacity)};
|
|
702
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryBrandFocusStateLayerOpacity)};
|
|
703
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryBrandActiveStateLayerOpacity)};
|
|
704
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryBrandActiveStateLayerOpacity)};
|
|
705
705
|
|
|
706
|
-
background-color: ${
|
|
707
|
-
color: ${
|
|
708
|
-
border-color: ${
|
|
706
|
+
background-color: ${y.secondaryBrandBackgroundColor};
|
|
707
|
+
color: ${y.secondaryBrandColor};
|
|
708
|
+
border-color: ${y.secondaryBrandBorderColor};
|
|
709
709
|
border-style: solid;
|
|
710
710
|
}
|
|
711
711
|
|
|
712
712
|
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
713
|
-
opacity: ${
|
|
713
|
+
opacity: ${y.secondaryBrandDisabledComponentOpacity};
|
|
714
714
|
}
|
|
715
715
|
|
|
716
716
|
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
717
|
-
color: ${
|
|
717
|
+
color: ${y.secondaryBrandIconColor};
|
|
718
718
|
}
|
|
719
719
|
|
|
720
720
|
/** Brand Tertiary styles **/
|
|
721
721
|
|
|
722
722
|
.ftds--family-brand.ft-button--tertiary {
|
|
723
|
-
${(0,E.setVariable)(J.color,
|
|
723
|
+
${(0,E.setVariable)(J.color,y.tertiaryBrandIconColor)};
|
|
724
724
|
|
|
725
|
-
${(0,E.setVariable)(w.color,
|
|
726
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
727
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
728
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
729
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
725
|
+
${(0,E.setVariable)(w.color,y.tertiaryBrandStateLayerColor)};
|
|
726
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryBrandHoverStateLayerOpacity)};
|
|
727
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryBrandFocusStateLayerOpacity)};
|
|
728
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryBrandActiveStateLayerOpacity)};
|
|
729
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryBrandActiveStateLayerOpacity)};
|
|
730
730
|
|
|
731
|
-
background-color: ${
|
|
732
|
-
color: ${
|
|
731
|
+
background-color: ${y.tertiaryBrandBackgroundColor};
|
|
732
|
+
color: ${y.tertiaryBrandColor};
|
|
733
733
|
border-style: none;
|
|
734
734
|
}
|
|
735
735
|
|
|
736
736
|
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
737
|
-
opacity: ${
|
|
737
|
+
opacity: ${y.tertiaryBrandDisabledComponentOpacity};
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
741
|
-
color: ${
|
|
741
|
+
color: ${y.tertiaryBrandIconColor};
|
|
742
742
|
}
|
|
743
743
|
|
|
744
744
|
/** Neutral Secondary styles **/
|
|
745
745
|
|
|
746
746
|
.ftds--family-neutral.ft-button--secondary {
|
|
747
|
-
${(0,E.setVariable)(J.color,
|
|
747
|
+
${(0,E.setVariable)(J.color,y.secondaryNeutralIconColor)};
|
|
748
748
|
|
|
749
|
-
${(0,E.setVariable)(w.backgroundColor,
|
|
750
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
751
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
752
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
753
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
749
|
+
${(0,E.setVariable)(w.backgroundColor,y.secondaryNeutralStateLayerColor)};
|
|
750
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryNeutralHoverStateLayerOpacity)};
|
|
751
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryNeutralFocusStateLayerOpacity)};
|
|
752
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryNeutralActiveStateLayerOpacity)};
|
|
753
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryNeutralActiveStateLayerOpacity)};
|
|
754
754
|
|
|
755
|
-
background-color: ${
|
|
756
|
-
color: ${
|
|
757
|
-
border-color: ${
|
|
755
|
+
background-color: ${y.secondaryNeutralBackgroundColor};
|
|
756
|
+
color: ${y.secondaryNeutralColor};
|
|
757
|
+
border-color: ${y.secondaryNeutralBorderColor};
|
|
758
758
|
border-style: solid;
|
|
759
759
|
}
|
|
760
760
|
|
|
761
761
|
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
762
|
-
opacity: ${
|
|
762
|
+
opacity: ${y.secondaryNeutralDisabledComponentOpacity};
|
|
763
763
|
}
|
|
764
764
|
|
|
765
765
|
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
766
|
-
color: ${
|
|
766
|
+
color: ${y.secondaryNeutralIconColor};
|
|
767
767
|
}
|
|
768
768
|
|
|
769
769
|
/** Neutral Tertiary styles **/
|
|
770
770
|
|
|
771
771
|
.ftds--family-neutral.ft-button--tertiary {
|
|
772
|
-
${(0,E.setVariable)(J.color,
|
|
772
|
+
${(0,E.setVariable)(J.color,y.tertiaryNeutralIconColor)};
|
|
773
773
|
|
|
774
|
-
${(0,E.setVariable)(w.backgroundColor,
|
|
775
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
776
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
777
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
778
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
774
|
+
${(0,E.setVariable)(w.backgroundColor,y.tertiaryNeutralStateLayerColor)};
|
|
775
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryNeutralHoverStateLayerOpacity)};
|
|
776
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryNeutralFocusStateLayerOpacity)};
|
|
777
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryNeutralActiveStateLayerOpacity)};
|
|
778
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryNeutralActiveStateLayerOpacity)};
|
|
779
779
|
|
|
780
|
-
background-color: ${
|
|
781
|
-
color: ${
|
|
780
|
+
background-color: ${y.tertiaryNeutralBackgroundColor};
|
|
781
|
+
color: ${y.tertiaryNeutralColor};
|
|
782
782
|
border-style: none;
|
|
783
783
|
}
|
|
784
784
|
|
|
785
785
|
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
786
|
-
opacity: ${
|
|
786
|
+
opacity: ${y.tertiaryNeutralDisabledComponentOpacity};
|
|
787
787
|
}
|
|
788
788
|
|
|
789
789
|
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
790
|
-
color: ${
|
|
790
|
+
color: ${y.tertiaryNeutralIconColor};
|
|
791
791
|
}
|
|
792
792
|
|
|
793
793
|
/** Info Secondary styles **/
|
|
794
794
|
|
|
795
795
|
.ftds--family-info.ft-button--secondary {
|
|
796
|
-
${(0,E.setVariable)(J.color,
|
|
796
|
+
${(0,E.setVariable)(J.color,y.secondaryInfoIconColor)};
|
|
797
797
|
|
|
798
|
-
${(0,E.setVariable)(w.backgroundColor,
|
|
799
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
800
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
801
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
802
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
798
|
+
${(0,E.setVariable)(w.backgroundColor,y.secondaryInfoStateLayerColor)};
|
|
799
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryInfoHoverStateLayerOpacity)};
|
|
800
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryInfoFocusStateLayerOpacity)};
|
|
801
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryInfoActiveStateLayerOpacity)};
|
|
802
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryInfoActiveStateLayerOpacity)};
|
|
803
803
|
|
|
804
|
-
background-color: ${
|
|
805
|
-
color: ${
|
|
806
|
-
border-color: ${
|
|
804
|
+
background-color: ${y.secondaryInfoBackgroundColor};
|
|
805
|
+
color: ${y.secondaryInfoColor};
|
|
806
|
+
border-color: ${y.secondaryInfoBorderColor};
|
|
807
807
|
border-style: solid;
|
|
808
808
|
}
|
|
809
809
|
|
|
810
810
|
.ftds--family-info.ft-button--secondary[disabled] {
|
|
811
|
-
opacity: ${
|
|
811
|
+
opacity: ${y.secondaryInfoDisabledComponentOpacity};
|
|
812
812
|
}
|
|
813
813
|
|
|
814
814
|
.ftds--family-info.ft-button--secondary ft-icon {
|
|
815
|
-
color: ${
|
|
815
|
+
color: ${y.secondaryInfoIconColor};
|
|
816
816
|
}
|
|
817
817
|
|
|
818
818
|
/** Info Tertiary styles **/
|
|
819
819
|
|
|
820
820
|
.ftds--family-info.ft-button--tertiary {
|
|
821
|
-
${(0,E.setVariable)(J.color,
|
|
821
|
+
${(0,E.setVariable)(J.color,y.tertiaryInfoIconColor)};
|
|
822
822
|
|
|
823
|
-
${(0,E.setVariable)(w.backgroundColor,
|
|
824
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
825
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
826
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
827
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
823
|
+
${(0,E.setVariable)(w.backgroundColor,y.tertiaryInfoStateLayerColor)};
|
|
824
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryInfoHoverStateLayerOpacity)};
|
|
825
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryInfoFocusStateLayerOpacity)};
|
|
826
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryInfoActiveStateLayerOpacity)};
|
|
827
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryInfoActiveStateLayerOpacity)};
|
|
828
828
|
|
|
829
|
-
background-color: ${
|
|
830
|
-
color: ${
|
|
829
|
+
background-color: ${y.tertiaryInfoBackgroundColor};
|
|
830
|
+
color: ${y.tertiaryInfoColor};
|
|
831
831
|
border-style: none;
|
|
832
832
|
}
|
|
833
833
|
|
|
834
834
|
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
835
|
-
opacity: ${
|
|
835
|
+
opacity: ${y.tertiaryInfoDisabledComponentOpacity};
|
|
836
836
|
}
|
|
837
837
|
|
|
838
838
|
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
839
|
-
color: ${
|
|
839
|
+
color: ${y.tertiaryInfoIconColor};
|
|
840
840
|
}
|
|
841
841
|
|
|
842
842
|
/** Success Secondary styles **/
|
|
843
843
|
|
|
844
844
|
.ftds--family-success.ft-button--secondary {
|
|
845
|
-
${(0,E.setVariable)(J.color,
|
|
845
|
+
${(0,E.setVariable)(J.color,y.secondarySuccessIconColor)};
|
|
846
846
|
|
|
847
|
-
${(0,E.setVariable)(w.backgroundColor,
|
|
848
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
849
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
850
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
851
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
847
|
+
${(0,E.setVariable)(w.backgroundColor,y.secondarySuccessStateLayerColor)};
|
|
848
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondarySuccessHoverStateLayerOpacity)};
|
|
849
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondarySuccessFocusStateLayerOpacity)};
|
|
850
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondarySuccessActiveStateLayerOpacity)};
|
|
851
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondarySuccessActiveStateLayerOpacity)};
|
|
852
852
|
|
|
853
|
-
background-color: ${
|
|
854
|
-
color: ${
|
|
855
|
-
border-color: ${
|
|
853
|
+
background-color: ${y.secondarySuccessBackgroundColor};
|
|
854
|
+
color: ${y.secondarySuccessColor};
|
|
855
|
+
border-color: ${y.secondarySuccessBorderColor};
|
|
856
856
|
border-style: solid;
|
|
857
857
|
}
|
|
858
858
|
|
|
859
859
|
.ftds--family-success.ft-button--secondary[disabled] {
|
|
860
|
-
opacity: ${
|
|
860
|
+
opacity: ${y.secondarySuccessDisabledComponentOpacity};
|
|
861
861
|
}
|
|
862
862
|
|
|
863
863
|
.ftds--family-success.ft-button--secondary ft-icon {
|
|
864
|
-
color: ${
|
|
864
|
+
color: ${y.secondarySuccessIconColor};
|
|
865
865
|
}
|
|
866
866
|
|
|
867
867
|
/** Success Tertiary styles **/
|
|
868
868
|
|
|
869
869
|
.ftds--family-success.ft-button--tertiary {
|
|
870
|
-
${(0,E.setVariable)(J.color,
|
|
870
|
+
${(0,E.setVariable)(J.color,y.tertiarySuccessIconColor)};
|
|
871
871
|
|
|
872
|
-
${(0,E.setVariable)(w.backgroundColor,
|
|
873
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
874
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
875
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
876
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
872
|
+
${(0,E.setVariable)(w.backgroundColor,y.tertiarySuccessStateLayerColor)};
|
|
873
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiarySuccessHoverStateLayerOpacity)};
|
|
874
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiarySuccessFocusStateLayerOpacity)};
|
|
875
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiarySuccessActiveStateLayerOpacity)};
|
|
876
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiarySuccessActiveStateLayerOpacity)};
|
|
877
877
|
|
|
878
|
-
background-color: ${
|
|
879
|
-
color: ${
|
|
878
|
+
background-color: ${y.tertiarySuccessBackgroundColor};
|
|
879
|
+
color: ${y.tertiarySuccessColor};
|
|
880
880
|
border-style: none;
|
|
881
881
|
}
|
|
882
882
|
|
|
883
883
|
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
884
|
-
opacity: ${
|
|
884
|
+
opacity: ${y.tertiarySuccessDisabledComponentOpacity};
|
|
885
885
|
}
|
|
886
886
|
|
|
887
887
|
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
888
|
-
color: ${
|
|
888
|
+
color: ${y.tertiarySuccessIconColor};
|
|
889
889
|
}
|
|
890
890
|
|
|
891
891
|
/** Warning Secondary styles **/
|
|
892
892
|
|
|
893
893
|
.ftds--family-warning.ft-button--secondary {
|
|
894
|
-
${(0,E.setVariable)(J.color,
|
|
894
|
+
${(0,E.setVariable)(J.color,y.secondaryWarningIconColor)};
|
|
895
895
|
|
|
896
|
-
${(0,E.setVariable)(w.backgroundColor,
|
|
897
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
898
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
899
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
900
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
896
|
+
${(0,E.setVariable)(w.backgroundColor,y.secondaryWarningStateLayerColor)};
|
|
897
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryWarningHoverStateLayerOpacity)};
|
|
898
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryWarningFocusStateLayerOpacity)};
|
|
899
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryWarningActiveStateLayerOpacity)};
|
|
900
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryWarningActiveStateLayerOpacity)};
|
|
901
901
|
|
|
902
|
-
background-color: ${
|
|
903
|
-
color: ${
|
|
904
|
-
border-color: ${
|
|
902
|
+
background-color: ${y.secondaryWarningBackgroundColor};
|
|
903
|
+
color: ${y.secondaryWarningColor};
|
|
904
|
+
border-color: ${y.secondaryWarningBorderColor};
|
|
905
905
|
border-style: solid;
|
|
906
906
|
}
|
|
907
907
|
|
|
908
908
|
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
909
|
-
opacity: ${
|
|
909
|
+
opacity: ${y.secondaryWarningDisabledComponentOpacity};
|
|
910
910
|
}
|
|
911
911
|
|
|
912
912
|
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
913
|
-
color: ${
|
|
913
|
+
color: ${y.secondaryWarningIconColor};
|
|
914
914
|
}
|
|
915
915
|
|
|
916
916
|
/** Warning Tertiary styles **/
|
|
917
917
|
|
|
918
918
|
.ftds--family-warning.ft-button--tertiary {
|
|
919
|
-
${(0,E.setVariable)(J.color,
|
|
919
|
+
${(0,E.setVariable)(J.color,y.tertiaryWarningIconColor)};
|
|
920
920
|
|
|
921
|
-
${(0,E.setVariable)(w.backgroundColor,
|
|
922
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
923
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
924
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
925
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
921
|
+
${(0,E.setVariable)(w.backgroundColor,y.tertiaryWarningStateLayerColor)};
|
|
922
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryWarningHoverStateLayerOpacity)};
|
|
923
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryWarningFocusStateLayerOpacity)};
|
|
924
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryWarningActiveStateLayerOpacity)};
|
|
925
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryWarningActiveStateLayerOpacity)};
|
|
926
926
|
|
|
927
|
-
background-color: ${
|
|
928
|
-
color: ${
|
|
927
|
+
background-color: ${y.tertiaryWarningBackgroundColor};
|
|
928
|
+
color: ${y.tertiaryWarningColor};
|
|
929
929
|
border-style: none;
|
|
930
930
|
}
|
|
931
931
|
|
|
932
932
|
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
933
|
-
opacity: ${
|
|
933
|
+
opacity: ${y.tertiaryWarningDisabledComponentOpacity};
|
|
934
934
|
}
|
|
935
935
|
|
|
936
936
|
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
937
|
-
color: ${
|
|
937
|
+
color: ${y.tertiaryWarningIconColor};
|
|
938
938
|
}
|
|
939
939
|
|
|
940
940
|
/** Error Secondary styles **/
|
|
941
941
|
|
|
942
942
|
.ftds--family-error.ft-button--secondary {
|
|
943
|
-
${(0,E.setVariable)(J.color,
|
|
943
|
+
${(0,E.setVariable)(J.color,y.secondaryErrorIconColor)};
|
|
944
944
|
|
|
945
|
-
${(0,E.setVariable)(w.backgroundColor,
|
|
946
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
947
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
948
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
949
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
945
|
+
${(0,E.setVariable)(w.backgroundColor,y.secondaryErrorStateLayerColor)};
|
|
946
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryErrorHoverStateLayerOpacity)};
|
|
947
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryErrorFocusStateLayerOpacity)};
|
|
948
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryErrorActiveStateLayerOpacity)};
|
|
949
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryErrorActiveStateLayerOpacity)};
|
|
950
950
|
|
|
951
|
-
background-color: ${
|
|
952
|
-
color: ${
|
|
953
|
-
border-color: ${
|
|
951
|
+
background-color: ${y.secondaryErrorBackgroundColor};
|
|
952
|
+
color: ${y.secondaryErrorColor};
|
|
953
|
+
border-color: ${y.secondaryErrorBorderColor};
|
|
954
954
|
border-style: solid;
|
|
955
955
|
}
|
|
956
956
|
|
|
957
957
|
.ftds--family-error.ft-button--secondary[disabled] {
|
|
958
|
-
opacity: ${
|
|
958
|
+
opacity: ${y.secondaryErrorDisabledComponentOpacity};
|
|
959
959
|
}
|
|
960
960
|
|
|
961
961
|
.ftds--family-error.ft-button--secondary ft-icon {
|
|
962
|
-
color: ${
|
|
962
|
+
color: ${y.secondaryErrorIconColor};
|
|
963
963
|
}
|
|
964
964
|
|
|
965
965
|
/** Error Tertiary styles **/
|
|
966
966
|
|
|
967
967
|
.ftds--family-error.ft-button--tertiary {
|
|
968
|
-
${(0,E.setVariable)(J.color,
|
|
968
|
+
${(0,E.setVariable)(J.color,y.tertiaryErrorIconColor)};
|
|
969
969
|
|
|
970
|
-
${(0,E.setVariable)(w.backgroundColor,
|
|
971
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,
|
|
972
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,
|
|
973
|
-
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,
|
|
974
|
-
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,
|
|
970
|
+
${(0,E.setVariable)(w.backgroundColor,y.tertiaryErrorStateLayerColor)};
|
|
971
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryErrorHoverStateLayerOpacity)};
|
|
972
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryErrorFocusStateLayerOpacity)};
|
|
973
|
+
${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryErrorActiveStateLayerOpacity)};
|
|
974
|
+
${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryErrorActiveStateLayerOpacity)};
|
|
975
975
|
|
|
976
|
-
background-color: ${
|
|
977
|
-
color: ${
|
|
976
|
+
background-color: ${y.tertiaryErrorBackgroundColor};
|
|
977
|
+
color: ${y.tertiaryErrorColor};
|
|
978
978
|
border-style: none;
|
|
979
979
|
}
|
|
980
980
|
|
|
981
981
|
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
982
|
-
opacity: ${
|
|
982
|
+
opacity: ${y.tertiaryErrorDisabledComponentOpacity};
|
|
983
983
|
}
|
|
984
984
|
|
|
985
985
|
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
986
|
-
color: ${
|
|
986
|
+
color: ${y.tertiaryErrorIconColor};
|
|
987
987
|
}
|
|
988
988
|
|
|
989
989
|
/** Large styles **/
|
|
990
990
|
|
|
991
991
|
.ftds--size-large {
|
|
992
|
-
${(0,E.setVariable)(Ce.size,
|
|
993
|
-
${(0,E.setVariable)(J.size,
|
|
992
|
+
${(0,E.setVariable)(Ce.size,y.largeIconSize)};
|
|
993
|
+
${(0,E.setVariable)(J.size,y.largeIconSize)};
|
|
994
994
|
|
|
995
|
-
height: ${
|
|
996
|
-
padding: 0 ${
|
|
997
|
-
gap: ${
|
|
998
|
-
border-radius: ${
|
|
999
|
-
border-width: ${
|
|
995
|
+
height: ${y.largeHeight};
|
|
996
|
+
padding: 0 ${y.largeHorizontalPadding};
|
|
997
|
+
gap: ${y.largeGap};
|
|
998
|
+
border-radius: ${y.largeBorderRadius};
|
|
999
|
+
border-width: ${y.largeBorderWidth};
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
1002
|
.ftds--size-large:focus-visible {
|
|
1003
|
-
outline-width: ${
|
|
1004
|
-
outline-offset: ${
|
|
1003
|
+
outline-width: ${y.largeFocusOutlineWidth};
|
|
1004
|
+
outline-offset: ${y.largeFocusOutlineOffset};
|
|
1005
1005
|
}
|
|
1006
1006
|
|
|
1007
1007
|
.ftds--size-large.ft-button--icon-only {
|
|
1008
|
-
width: ${
|
|
1008
|
+
width: ${y.largeIconOnlyWidth};
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
1011
|
/** Small styles **/
|
|
1012
1012
|
|
|
1013
1013
|
.ftds--size-medium {
|
|
1014
|
-
${(0,E.setVariable)(Ce.size,
|
|
1015
|
-
${(0,E.setVariable)(J.size,
|
|
1014
|
+
${(0,E.setVariable)(Ce.size,y.mediumIconSize)};
|
|
1015
|
+
${(0,E.setVariable)(J.size,y.mediumIconSize)};
|
|
1016
1016
|
|
|
1017
|
-
height: ${
|
|
1018
|
-
padding: 0 ${
|
|
1019
|
-
gap: ${
|
|
1020
|
-
border-radius: ${
|
|
1021
|
-
border-width: ${
|
|
1017
|
+
height: ${y.mediumHeight};
|
|
1018
|
+
padding: 0 ${y.mediumHorizontalPadding};
|
|
1019
|
+
gap: ${y.mediumGap};
|
|
1020
|
+
border-radius: ${y.mediumBorderRadius};
|
|
1021
|
+
border-width: ${y.mediumBorderWidth};
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
.ftds--size-medium:focus-visible {
|
|
1025
|
-
outline-width: ${
|
|
1026
|
-
outline-offset: ${
|
|
1025
|
+
outline-width: ${y.mediumFocusOutlineWidth};
|
|
1026
|
+
outline-offset: ${y.mediumFocusOutlineOffset};
|
|
1027
1027
|
}
|
|
1028
1028
|
|
|
1029
1029
|
.ftds--size-medium.ft-button--icon-only {
|
|
1030
|
-
width: ${
|
|
1030
|
+
width: ${y.mediumIconOnlyWidth};
|
|
1031
1031
|
}
|
|
1032
1032
|
|
|
1033
1033
|
|
|
1034
1034
|
/** Small styles **/
|
|
1035
1035
|
|
|
1036
1036
|
.ftds--size-small {
|
|
1037
|
-
${(0,E.setVariable)(Ce.size,
|
|
1038
|
-
${(0,E.setVariable)(J.size,
|
|
1037
|
+
${(0,E.setVariable)(Ce.size,y.smallIconSize)};
|
|
1038
|
+
${(0,E.setVariable)(J.size,y.smallIconSize)};
|
|
1039
1039
|
|
|
1040
|
-
height: ${
|
|
1041
|
-
padding: 0 ${
|
|
1042
|
-
gap: ${
|
|
1043
|
-
border-radius: ${
|
|
1044
|
-
border-width: ${
|
|
1040
|
+
height: ${y.smallHeight};
|
|
1041
|
+
padding: 0 ${y.smallHorizontalPadding};
|
|
1042
|
+
gap: ${y.smallGap};
|
|
1043
|
+
border-radius: ${y.smallBorderRadius};
|
|
1044
|
+
border-width: ${y.smallBorderWidth};
|
|
1045
1045
|
}
|
|
1046
1046
|
|
|
1047
1047
|
.ftds--size-small:focus-visible {
|
|
1048
|
-
outline-width: ${
|
|
1049
|
-
outline-offset: ${
|
|
1048
|
+
outline-width: ${y.smallFocusOutlineWidth};
|
|
1049
|
+
outline-offset: ${y.smallFocusOutlineOffset};
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
1052
|
.ftds--size-small.ft-button--icon-only {
|
|
1053
|
-
width: ${
|
|
1053
|
+
width: ${y.smallIconOnlyWidth};
|
|
1054
1054
|
}
|
|
1055
|
-
`,E.noTextSelect]});var ro,jo,Go,pt,Ba=f(()=>{"use strict";
|
|
1055
|
+
`,E.noTextSelect]});var ro,jo,Go,pt,Ba=f(()=>{"use strict";Pa();ro=b(Q());Lo();jo=b(N());Da();j();Ho();Go=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},pt=class extends(0,jo.toFtdsBase)(ee){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Eo.brand,this.iconVariant=Le.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 cr.large:return Ot.body2medium;case cr.medium:return Ot.caption1medium;case cr.small:return Ot.caption2medium}}};pt.styles=[jo.safariEllipsisFix,Sd];Go([(0,ro.property)({type:Boolean})],pt.prototype,"primary",void 0);Go([(0,ro.property)({type:Boolean})],pt.prototype,"secondary",void 0);Go([(0,ro.property)({type:Boolean})],pt.prototype,"tertiary",void 0);Go([(0,ro.property)({type:Boolean})],pt.prototype,"round",void 0)});var Od=f(()=>{"use strict"});var Cd=f(()=>{"use strict"});var Ma,Vo=f(()=>{"use strict";Ma=b(N());ka();Ba();ka();Jn();Od();Ba();Da();Cd();(0,Ma.customElement)("ft-button")(Pe);(0,Ma.customElement)("ftds-button")(pt)});var Ed,Z,Y,$a,oo=f(()=>{"use strict";Ed=b(B()),Z=b(N());Vo();Aa();Y={height:Z.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:Z.FtCssVariableFactory.extend("--ft-search-input-border-radius","",Z.designSystemVariables.borderRadiusS),desktopFiltersHeight:Z.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:Z.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:Z.FtCssVariableFactory.extend("--ft-search-input-background-color","",Z.designSystemVariables.colorSurface),colorOnSurface:Z.FtCssVariableFactory.extend("--ft-search-input-color","",Z.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:Z.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",Z.designSystemVariables.colorOnSurfaceMedium),colorOutline:Z.FtCssVariableFactory.extend("--ft-search-input-outline-color","",Z.designSystemVariables.colorOutline),elevation02:Z.FtCssVariableFactory.extend("--ft-search-input-elevation","",Z.designSystemVariables.elevation02),focusOutlineColor:Z.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",Z.designSystemVariables.colorPrimary),buttonColor:Z.FtCssVariableFactory.extend("--ft-search-input-button-color","",Z.designSystemVariables.colorPrimary),buttonRippleColor:Z.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",Z.designSystemVariables.colorPrimary)},$a=Ed.css`
|
|
1056
1056
|
* {
|
|
1057
1057
|
box-sizing: border-box;
|
|
1058
1058
|
${(0,Z.setVariable)(ne.color,Y.buttonColor)};
|
|
@@ -1155,19 +1155,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1155
1155
|
a:focus {
|
|
1156
1156
|
outline: revert;
|
|
1157
1157
|
}
|
|
1158
|
-
`});var
|
|
1159
|
-
`});var
|
|
1160
|
-
`});var
|
|
1158
|
+
`});var Id,Ld,Ha=f(()=>{"use strict";Id=b(B()),Ld=Id.css`
|
|
1159
|
+
`});var Pd,kd,za=f(()=>{"use strict";Pd=b(B()),kd=Pd.css`
|
|
1160
|
+
`});var Qo,Dh,Ga,Bh,D,Fe=f(()=>{"use strict";Qo=b(N()),Dh="ft-app-info",Ga=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Bh={session:(t,e)=>{(0,Qo.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.dispatchEvent(new Ga(e.payload)),0))}},D=Qo.FtReduxStore.get({name:Dh,reducers:Bh,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var er,Xo=f(()=>{"use strict";Fe();er=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=D.getState(),a=e??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let a=D.subscribe(()=>{n=t.get(e),n&&(a(),o(n))})}})}}});var ja,et,no=f(()=>{"use strict";ja=b(N());Xo();et=class{constructor(e=!0,o){var n;this.overrideApi=o;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ja.CacheRegistry,this.cache=e?a.commonCache:new ja.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:er.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):er.await()}clearCache(){this.cache.clearAll()}}});var _t,Dd,Mh,Jo,tr,Bd,Va=f(()=>{"use strict";Fe();_t=b(N());no();Mh=Symbol("clearAfterUnitTest"),Jo=class extends et{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Dd]=()=>{this.defaultMessages={},this.cache=new _t.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 a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,_t.deepEqual)(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new _t.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(e){var o,n,a;if(!this.cache.has(e))if(((n=(o=window.process)===null||o===void 0?void 0:o.env)===null||n===void 0?void 0:n.NODE_ENV)==="test")this.cache.set(e,(a=this.defaultMessages[e])!==null&&a!==void 0?a:{});else try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(i){console.error(i)}}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 a;return(a=this.listeners[e])===null||a===void 0?void 0:a.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,_t.delay)(0).then(()=>o()).catch(()=>null)))}};Dd=Mh;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Jo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Jo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});tr=window.FluidTopicsI18nService,Bd=window.FluidTopicsCustomI18nService});var Md,_e,Ve,be,ie,Ka=f(()=>{"use strict";Md=b(B()),_e=b(Q()),Ve=b(N());za();Fe();Va();Xo();be=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ie=class extends Ve.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=()=>er.get(),this.messageContexts=[],this.cache=new Ve.CacheRegistry,this.cleanSessionDebouncer=new Ve.Debouncer}render(){return Md.html`
|
|
1161
1161
|
<slot></slot>
|
|
1162
|
-
`}update(e){var o,n,a,i,s;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("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>tr.addContext(l)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(D.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),D.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),D.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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 updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ie.elementDefinitions={};ie.styles=kd;be([(0,Ie.property)()],ie.prototype,"baseUrl",void 0);be([(0,Ie.property)()],ie.prototype,"apiIntegrationIdentifier",void 0);be([(0,Ie.property)()],ie.prototype,"uiLocale",void 0);be([(0,Ve.jsonProperty)(null)],ie.prototype,"availableUiLocales",void 0);be([(0,Ve.jsonProperty)(null)],ie.prototype,"metadataConfiguration",void 0);be([(0,Ie.property)({type:Boolean})],ie.prototype,"editorMode",void 0);be([(0,Ie.property)({type:Boolean})],ie.prototype,"noCustom",void 0);be([(0,Ie.property)({type:Boolean})],ie.prototype,"openExternalDocumentInNewTab",void 0);be([(0,Ie.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ie.prototype,"noCustomComponent",void 0);be([(0,Ie.property)({type:Boolean})],ie.prototype,"withManualResources",void 0);be([(0,Ie.property)({type:Boolean})],ie.prototype,"navigatorOnline",void 0);be([(0,Ie.property)({type:Boolean})],ie.prototype,"forcedOffline",void 0);be([(0,Ie.property)({type:Object})],ie.prototype,"apiProvider",void 0);be([(0,Ve.jsonProperty)([])],ie.prototype,"messageContexts",void 0);be([(0,Ve.jsonProperty)(void 0)],ie.prototype,"session",void 0);be([(0,Ie.state)()],ie.prototype,"localesConfiguration",void 0)});function _h(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,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!en(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(!en(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();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(t),o=a.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!en(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function en(t,e){try{return _h(t,e)}catch{return!1}}function tn(t,e){return!en(t,e)}var rn=f(()=>{"use strict"});var kh,$d=f(()=>{"use strict";rn();kh=b(X(),1)});var on,Za=f(()=>{"use strict";on=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 Fd(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Ud.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:tn,...e??{}})}var Ud,Wd=f(()=>{"use strict";Ud=b(X(),1);rn()});var nn,Hd=f(()=>{"use strict";nn=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 a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var an,Dh,_S,zd,Gd=f(()=>{an=window,Dh=an.ShadowRoot&&(an.ShadyCSS===void 0||an.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_S=Symbol(),zd=(t,e)=>{Dh?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),a=an.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)})}});var jd,sn,Vd=f(()=>{"use strict";jd=b(B(),1);Gd();sn=class extends jd.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return zd(n,e.elementStyles),n}}});var ao,cn,Yd,Kd,Zd,Xd,qd,Lt,Qd=f(()=>{"use strict";ao=b(X(),1);Wd();Hd();Vd();cn=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Kd=Symbol("constructorPrototype"),Zd=Symbol("constructorName"),Xd=Symbol("exportpartsDebouncer"),qd=Symbol("dynamicDependenciesLoaded"),Lt=class extends sn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Yd]=new nn(5),this[Zd]=this.constructor.name,this[Kd]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zd]&&Object.setPrototypeOf(this,this[Kd])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[qd]||(e[qd]=!0,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,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}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[Xd].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,s,l;let p=x=>x!=null&&x.trim().length>0,u=e.filter(p).map(x=>x.trim());if(u.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let x of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let O=(i=(a=x.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],S=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...O,...S).filter(p).map(C=>C.trim()).forEach(C=>m.add(C))}if(m.size===0){this.removeAttribute("exportparts");return}let y=[...m.values()].flatMap(x=>u.map(O=>`${x}:${O}--${x}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Yd=Xd;cn([(0,ao.property)()],Lt.prototype,"exportpartsPrefix",void 0);cn([Fd([])],Lt.prototype,"exportpartsPrefixes",void 0);cn([(0,ao.property)()],Lt.prototype,"customStylesheet",void 0);cn([(0,ao.state)()],Lt.prototype,"useAdoptedStyleSheets",void 0)});function io(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ln=f(()=>{"use strict"});var Jd,eu,tu,so,Pt,rr,co,ru=f(()=>{"use strict";Qd();ln();so=Symbol("internalReduxEventsUnsubscribers"),Pt=Symbol("internalStoresUnsubscribers"),rr=Symbol("internalStores"),co=class extends Lt{constructor(){super(...arguments),this[Jd]=new Map,this[eu]=new Map,this[tu]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[rr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[rr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[rr].get(e)}addStore(e,o){var n;o=(n=o??(io(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[rr].set(o,e),this.subscribeToStore(o,e),this.updateFromStores()}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[rr].delete(o)}setupStores(){this.unsubscribeFromStores(),this[rr].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 a=this.getStore(e.store);a&&(e.store?this[Pt].has(e.store):this[Pt].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[Pt].set(e,o.subscribe(()=>this.updateFromStores())),this[so].set(e,[]),io(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.addEventListener(a.eventName,s),this[so].get(e).push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Pt].forEach((e,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(e){var o;this[Pt].has(e)&&this[Pt].get(e)(),this[Pt].delete(e),(o=this[so].get(e))===null||o===void 0||o.forEach(n=>n()),this[so].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Jd=Pt,eu=rr,tu=so;co.reduxProperties=new Map;co.reduxReactiveProperties=new Set;co.reduxEventListeners=new Map});function We(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 a,i;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 ft(t){return!!t&&!!t[te]}function Ke(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 a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===zh}(t)||Array.isArray(t)||!!t[lu]||!!(!((e=t.constructor)===null||e===void 0)&&e[lu])||oi(t)||ni(t))}function or(t,e,o){o===void 0&&(o=!1),wr(t)===0?(o?Object.keys:Er)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function wr(t){var e=t[te];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:oi(t)?2:ni(t)?3:0}function Cr(t,e){return wr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Bh(t,e){return wr(t)===2?t.get(e):t[e]}function du(t,e,o){var n=wr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function uu(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function oi(t){return Wh&&t instanceof Map}function ni(t){return Hh&&t instanceof Set}function Tt(t){return t.o||t.t}function ai(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=hu(t);delete e[te];for(var o=Er(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function ii(t,e){return e===void 0&&(e=!1),si(t)||ft(t)||!Ke(t)||(wr(t)>1&&(t.set=t.add=t.clear=t.delete=Mh),Object.freeze(t),e&&or(t,function(o,n){return ii(n,!0)},!0)),t}function Mh(){We(2)}function si(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function tt(t){var e=ri[t];return e||We(18,t),e}function $h(t,e){ri[t]||(ri[t]=e)}function Ja(){return uo}function qa(t,e){e&&(tt("Patches"),t.u=[],t.s=[],t.v=e)}function dn(t){ei(t),t.p.forEach(Uh),t.p=null}function ei(t){t===uo&&(uo=t.l)}function ou(t){return uo={p:[],l:uo,h:t,m:!0,_:0}}function Uh(t){var e=t[te];e.i===0||e.i===1?e.j():e.g=!0}function Ya(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||tt("ES5").S(e,t,n),n?(o[te].P&&(dn(e),We(4)),Ke(t)&&(t=un(e,t),e.l||pn(e,t)),e.u&&tt("Patches").M(o[te].t,t,e.u,e.s)):t=un(e,o,[]),dn(e),e.u&&e.v(e.u,e.s),t!==fu?t:void 0}function un(t,e,o){if(si(e))return e;var n=e[te];if(!n)return or(e,function(l,p){return nu(t,n,e,l,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return pn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ai(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),or(i,function(l,p){return nu(t,n,a,l,p,o,s)}),pn(t,a,!1),o&&t.u&&tt("Patches").N(n,o,t.u,t.s)}return n.o}function nu(t,e,o,n,a,i,s){if(ft(a)){var l=un(t,a,i&&e&&e.i!==3&&!Cr(e.R,n)?i.concat(n):void 0);if(du(o,n,l),!ft(l))return;t.m=!1}else s&&o.add(a);if(Ke(a)&&!si(a)){if(!t.h.D&&t._<1)return;un(t,a),e&&e.A.l||pn(t,a)}}function pn(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&ii(e,o)}function Xa(t,e){var o=t[te];return(o?Tt(o):t)[e]}function au(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 _t(t){t.P||(t.P=!0,t.l&&_t(t.l))}function Qa(t){t.o||(t.o=ai(t.t))}function ti(t,e,o){var n=oi(e)?tt("MapSet").F(e,o):ni(e)?tt("MapSet").T(e,o):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ja(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=l,u=po;s&&(p=[l],u=lo);var m=Proxy.revocable(p,u),y=m.revoke,x=m.proxy;return l.k=x,l.j=y,x}(e,o):tt("ES5").J(e,o);return(o?o.A:Ja()).p.push(n),n}function Fh(t){return ft(t)||We(22,t),function e(o){if(!Ke(o))return o;var n,a=o[te],i=wr(o);if(a){if(!a.P&&(a.i<4||!tt("ES5").K(a)))return a.t;a.I=!0,n=iu(o,i),a.I=!1}else n=iu(o,i);return or(n,function(s,l){a&&Bh(a.t,s)===l||du(n,s,e(l))}),i===3?new Set(n):n}(t)}function iu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ai(t)}function pu(){function t(s,l){var p=i[s];return p?p.enumerable=l:i[s]=p={configurable:!0,enumerable:l,get:function(){var u=this[te];return po.get(u,s)},set:function(u){var m=this[te];po.set(m,s,u)}},p}function e(s){for(var l=s.length-1;l>=0;l--){var p=s[l][te];if(!p.P)switch(p.i){case 5:n(p)&&_t(p);break;case 4:o(p)&&_t(p)}}}function o(s){for(var l=s.t,p=s.k,u=Er(p),m=u.length-1;m>=0;m--){var y=u[m];if(y!==te){var x=l[y];if(x===void 0&&!Cr(l,y))return!0;var O=p[y],S=O&&O[te];if(S?S.t!==x:!uu(O,x))return!0}}var C=!!l[te];return u.length!==Er(l).length+(C?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&We(3,JSON.stringify(Tt(s)))}var i={};$h("ES5",{J:function(s,l){var p=Array.isArray(s),u=function(y,x){if(y){for(var O=Array(x.length),S=0;S<x.length;S++)Object.defineProperty(O,""+S,t(S,!0));return O}var C=hu(x);delete C[te];for(var P=Er(C),I=0;I<P.length;I++){var L=P[I];C[L]=t(L,y||!!C[L].enumerable)}return Object.create(Object.getPrototypeOf(x),C)}(p,s),m={i:p?5:4,A:l?l.A:Ja(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,te,{value:m,writable:!0}),u},S:function(s,l,p){p?ft(l)&&l[te].A===s&&e(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var y=m[te];if(y){var x=y.t,O=y.k,S=y.R,C=y.i;if(C===4)or(O,function(U){U!==te&&(x[U]!==void 0||Cr(x,U)?S[U]||u(O[U]):(S[U]=!0,_t(y)))}),or(x,function(U){O[U]!==void 0||Cr(O,U)||(S[U]=!1,_t(y))});else if(C===5){if(n(y)&&(_t(y),S.length=!0),O.length<x.length)for(var P=O.length;P<x.length;P++)S[P]=!1;else for(var I=x.length;I<O.length;I++)S[I]=!0;for(var L=Math.min(O.length,x.length),M=0;M<L;M++)O.hasOwnProperty(M)||(S[M]=!0),S[M]===void 0&&u(O[M])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var su,uo,ci,Wh,Hh,cu,fu,lu,te,zh,Er,hu,ri,po,lo,Gh,ke,jh,jS,VS,KS,ZS,qS,YS,fn,hn=f(()=>{ci=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Wh=typeof Map<"u",Hh=typeof Set<"u",cu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",fu=ci?Symbol.for("immer-nothing"):((su={})["immer-nothing"]=!0,su),lu=ci?Symbol.for("immer-draftable"):"__$immer_draftable",te=ci?Symbol.for("immer-state"):"__$immer_state",zh=""+Object.prototype.constructor,Er=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,hu=Object.getOwnPropertyDescriptors||function(t){var e={};return Er(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},ri={},po={get:function(t,e){if(e===te)return t;var o=Tt(t);if(!Cr(o,e))return function(a,i,s){var l,p=au(i,s);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!Ke(n)?n:n===Xa(t.t,e)?(Qa(t),t.o[e]=ti(t.A.h,n,t)):n},has:function(t,e){return e in Tt(t)},ownKeys:function(t){return Reflect.ownKeys(Tt(t))},set:function(t,e,o){var n=au(Tt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=Xa(Tt(t),e),i=a?.[te];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(uu(o,a)&&(o!==void 0||Cr(t.t,e)))return!0;Qa(t),_t(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 Xa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Qa(t),_t(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Tt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){We(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){We(12)}},lo={};or(po,function(t,e){lo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),lo.deleteProperty=function(t,e){return lo.set.call(this,t,e,void 0)},lo.set=function(t,e,o){return po.set.call(this,t[0],e,o,t[0])};Gh=function(){function t(o){var n=this;this.O=cu,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var p=n;return function(C){var P=this;C===void 0&&(C=l);for(var I=arguments.length,L=Array(I>1?I-1:0),M=1;M<I;M++)L[M-1]=arguments[M];return p.produce(C,function(U){var F;return(F=i).call.apply(F,[P,U].concat(L))})}}var u;if(typeof i!="function"&&We(6),s!==void 0&&typeof s!="function"&&We(7),Ke(a)){var m=ou(n),y=ti(n,a,void 0),x=!0;try{u=i(y),x=!1}finally{x?dn(m):ei(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return qa(m,s),Ya(C,m)},function(C){throw dn(m),C}):(qa(m,s),Ya(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===fu&&(u=void 0),n.D&&ii(u,!0),s){var O=[],S=[];tt("Patches").M(a,u,O,S),s(O,S)}return u}We(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,y=Array(m>1?m-1:0),x=1;x<m;x++)y[x-1]=arguments[x];return n.produceWithPatches(u,function(O){return a.apply(void 0,[O].concat(y))})};var s,l,p=n.produce(a,i,function(u,m){s=u,l=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,s,l]}):[p,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){Ke(o)||We(8),ft(o)&&(o=Fh(o));var n=ou(this),a=ti(this,o,void 0);return a[te].C=!0,ei(n),a},e.finishDraft=function(o,n){var a=o&&o[te],i=a.A;return qa(i,n),Ya(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!cu&&We(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=tt("Patches").$;return ft(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),ke=new Gh,jh=ke.produce,jS=ke.produceWithPatches.bind(ke),VS=ke.setAutoFreeze.bind(ke),KS=ke.setUseProxies.bind(ke),ZS=ke.applyPatches.bind(ke),qS=ke.createDraft.bind(ke),YS=ke.finishDraft.bind(ke),fn=jh});function kt(t){"@babel/helpers - typeof";return kt=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},kt(t)}var li=f(()=>{});function di(t,e){if(kt(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(kt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var yu=f(()=>{li()});function ui(t){var e=di(t,"string");return kt(e)==="symbol"?e:String(e)}var mu=f(()=>{li();yu()});function pi(t,e,o){return e=ui(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var gu=f(()=>{mu()});function bu(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function yn(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?bu(Object(o),!0).forEach(function(n){pi(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):bu(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}var xu=f(()=>{gu()});function xe(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 hi(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(xe(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(xe(1));return o(hi)(t,e)}if(typeof t!="function")throw new Error(xe(2));var a=t,i=e,s=[],l=s,p=!1;function u(){l===s&&(l=s.slice())}function m(){if(p)throw new Error(xe(3));return i}function y(C){if(typeof C!="function")throw new Error(xe(4));if(p)throw new Error(xe(5));var P=!0;return u(),l.push(C),function(){if(P){if(p)throw new Error(xe(6));P=!1,u();var L=l.indexOf(C);l.splice(L,1),s=null}}}function x(C){if(!Vh(C))throw new Error(xe(7));if(typeof C.type>"u")throw new Error(xe(8));if(p)throw new Error(xe(9));try{p=!0,i=a(i,C)}finally{p=!1}for(var P=s=l,I=0;I<P.length;I++){var L=P[I];L()}return C}function O(C){if(typeof C!="function")throw new Error(xe(10));a=C,x({type:mn.REPLACE})}function S(){var C,P=y;return C={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(xe(11));function M(){L.next&&L.next(m())}M();var U=P(M);return{unsubscribe:U}}},C[vu]=function(){return this},C}return x({type:mn.INIT}),n={dispatch:x,subscribe:y,getState:m,replaceReducer:O},n[vu]=S,n}function Kh(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:mn.INIT});if(typeof n>"u")throw new Error(xe(12));if(typeof o(void 0,{type:mn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(xe(13))})}function Su(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),s,l;try{Kh(o)}catch(p){l=p}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var y;for(var x=!1,O={},S=0;S<i.length;S++){var C=i[S],P=o[C],I=u[C],L=P(I,m);if(typeof L>"u"){var M=m&&m.type;throw new Error(xe(14))}O[C]=L,x=x||L!==I}return x=x||i.length!==Object.keys(u).length,x?O:u}}function Ar(){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,a){return function(){return n(a.apply(void 0,arguments))}})}function Ou(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(xe(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(p){return p(s)});return i=Ar.apply(void 0,l)(a.dispatch),yn(yn({},a),{},{dispatch:i})}}}var vu,fi,mn,gn=f(()=>{xu();vu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),fi=function(){return Math.random().toString(36).substring(7).split("").join(".")},mn={INIT:"@@redux/INIT"+fi(),REPLACE:"@@redux/REPLACE"+fi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fi()}}});function Cu(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var Eu,yi,wu=f(()=>{Eu=Cu();Eu.withExtraArgument=Cu;yi=Eu});function ry(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 xi(t){return Ke(t)?fn(t,function(){}):t}function ay(t){return typeof t=="boolean"}function iy(){return function(e){return sy(e)}}function sy(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new oy;if(o&&(ay(o)?l.push(yi):l.push(yi.withExtraArgument(o.extraArgument))),0){if(a)var p;if(s)var u}return l}function Pu(t){var e=iy(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,p=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,y=o.enhancers,x=y===void 0?void 0:y,O;if(typeof a=="function")O=a;else if(ry(a))O=Su(a);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 S=s;if(typeof S=="function"&&(S=S(e),!gi&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!gi&&S.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Ou.apply(void 0,S),P=Ar;p&&(P=ty(Dt({trace:!gi},typeof p=="object"&&p)));var I=new ny(C),L=I;Array.isArray(x)?L=Rr([C],x):typeof x=="function"&&(L=x(I));var M=P.apply(void 0,L);return hi(O,m,M)}function Bt(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Dt(Dt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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 Tu(t){var e={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function cy(t){return typeof t=="function"}function ly(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?Tu(e):[e,o,n],i=a[0],s=a[1],l=a[2],p;if(cy(t))p=function(){return xi(t())};else{var u=xi(t);p=function(){return u}}function m(y,x){y===void 0&&(y=p());var O=Rr([i[x.type]],s.filter(function(S){var C=S.matcher;return C(x)}).map(function(S){var C=S.reducer;return C}));return O.filter(function(S){return!!S}).length===0&&(O=[l]),O.reduce(function(S,C){if(C)if(ft(S)){var P=S,I=C(P,x);return I===void 0?S:I}else{if(Ke(S))return fn(S,function(L){return C(L,x)});var I=C(S,x);if(I===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return S},y)}return m.getInitialState=p,m}function dy(t,e){return t+"/"+e}function _u(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:xi(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var y=n[m],x=dy(e,m),O,S;"reducer"in y?(O=y.reducer,S=y.prepare):O=y,i[m]=O,s[x]=O,l[m]=S?Bt(x,S):Bt(x)});function p(){var m=typeof t.extraReducers=="function"?Tu(t.extraReducers):[t.extraReducers],y=m[0],x=y===void 0?{}:y,O=m[1],S=O===void 0?[]:O,C=m[2],P=C===void 0?void 0:C,I=Dt(Dt({},x),s);return ly(o,function(L){for(var M in I)L.addCase(M,I[M]);for(var U=0,F=S;U<F.length;U++){var Ee=F[U];L.addMatcher(Ee.matcher,Ee.reducer)}P&&L.addDefaultCase(P)})}var u;return{name:e,reducer:function(m,y){return u||(u=p()),u(m,y)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}function yy(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function my(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Lu,Zh,Rr,qh,Yh,Xh,Au,Qh,Jh,Ru,Dt,mi,ey,ty,hO,oy,ny,gi,uy,py,fy,bi,Nu,hy,bO,ku,Du,Bu,xO,vO,SO,OO,vi,CO,EO,wO,Iu,AO,gy,RO,Mu=f(()=>{hn();gn();gn();gn();wu();hn();hn();Lu=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},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)}}(),Zh=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(m){return p([u,m])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Rr=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},qh=Object.defineProperty,Yh=Object.defineProperties,Xh=Object.getOwnPropertyDescriptors,Au=Object.getOwnPropertySymbols,Qh=Object.prototype.hasOwnProperty,Jh=Object.prototype.propertyIsEnumerable,Ru=function(t,e,o){return e in t?qh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Dt=function(t,e){for(var o in e||(e={}))Qh.call(e,o)&&Ru(t,o,e[o]);if(Au)for(var n=0,a=Au(e);n<a.length;n++){var o=a[n];Jh.call(e,o)&&Ru(t,o,e[o])}return t},mi=function(t,e){return Yh(t,Xh(e))},ey=function(t,e,o){return new Promise(function(n,a){var i=function(p){try{l(o.next(p))}catch(u){a(u)}},s=function(p){try{l(o.throw(p))}catch(u){a(u)}},l=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,s)};l((o=o.apply(t,e)).next())})},ty=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ar:Ar.apply(null,arguments)},hO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};oy=function(t){Lu(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}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,Rr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Rr([void 0],o.concat(this))))},e}(Array),ny=function(t){Lu(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}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,Rr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Rr([void 0],o.concat(this))))},e}(Array);gi=!0;uy="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",py=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=uy[Math.random()*64|0];return e},fy=["name","message","stack","code"],bi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Nu=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),hy=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=fy;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},bO=function(){function t(e,o,n){var a=Bt(e+"/fulfilled",function(m,y,x,O){return{payload:m,meta:mi(Dt({},O||{}),{arg:x,requestId:y,requestStatus:"fulfilled"})}}),i=Bt(e+"/pending",function(m,y,x){return{payload:void 0,meta:mi(Dt({},x||{}),{arg:y,requestId:m,requestStatus:"pending"})}}),s=Bt(e+"/rejected",function(m,y,x,O,S){return{payload:O,error:(n&&n.serializeError||hy)(m||"Rejected"),meta:mi(Dt({},S||{}),{arg:x,requestId:y,rejectedWithValue:!!O,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(y,x,O){var S=n?.idGenerator?n.idGenerator(m):py(),C=new p,P,I=!1;function L(U){P=U,C.abort()}var M=function(){return ey(this,null,function(){var U,F,Ee,qe,Oe,Ye,fe;return Zh(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),qe=(U=n?.condition)==null?void 0:U.call(n,m,{getState:x,extra:O}),my(qe)?[4,qe]:[3,2];case 1:qe=g.sent(),g.label=2;case 2:if(qe===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,Oe=new Promise(function(v,k){return C.signal.addEventListener("abort",function(){return k({name:"AbortError",message:P||"Aborted"})})}),y(i(S,m,(F=n?.getPendingMeta)==null?void 0:F.call(n,{requestId:S,arg:m},{getState:x,extra:O}))),[4,Promise.race([Oe,Promise.resolve(o(m,{dispatch:y,getState:x,extra:O,requestId:S,signal:C.signal,abort:L,rejectWithValue:function(v,k){return new bi(v,k)},fulfillWithValue:function(v,k){return new Nu(v,k)}})).then(function(v){if(v instanceof bi)throw v;return v instanceof Nu?a(v.payload,S,m,v.meta):a(v,S,m)})])];case 3:return Ee=g.sent(),[3,5];case 4:return Ye=g.sent(),Ee=Ye instanceof bi?s(null,S,m,Ye.payload,Ye.meta):s(Ye,S,m),[3,5];case 5:return fe=n&&!n.dispatchConditionRejection&&s.match(Ee)&&Ee.meta.condition,fe||y(Ee),[2,Ee]}})})}();return Object.assign(M,{abort:L,requestId:S,arg:m,unwrap:function(){return M.then(yy)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();ku="listener",Du="completed",Bu="cancelled",xO="task-"+Bu,vO="task-"+Du,SO=ku+"-"+Bu,OO=ku+"-"+Du,vi="listenerMiddleware",CO=Bt(vi+"/add"),EO=Bt(vi+"/removeAll"),wO=Bt(vi+"/remove"),AO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Iu||(Iu=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},gy=function(t){return function(e){setTimeout(e,t)}},RO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:gy(10);pu()});function by(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var bn,$u=f(()=>{"use strict";bn=class extends by(Object){}});var Uu,Fu=f(()=>{"use strict";Mu();ln();Za();$u();window.ftReduxStores||(window.ftReduxStores={});Uu=class t extends bn{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(io(i))return i;if(a==null)return;let s=_u({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Pu({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:s.reducer(p,u)});return window.ftReduxStores[a.name]=new t(s,l)}constructor(e,o){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new on;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,i,s)=>{let l=i,p=a[l];return p?(...u)=>{let m=p(...u.map(n));return this.reduxStore.dispatch(m),m}:u=>{this.setState({[l]:n(u)})}}})}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 Wu=f(()=>{"use strict";rn()});var Hu=f(()=>{"use strict";$d();Za();ru();Fu();ln();Wu()});var zu=f(()=>{"use strict"});var xy,Gu=f(()=>{"use strict";xy=b(X());Hu();zu();Fe()});var xn,Si=f(()=>{"use strict";Fe();no();xn=class extends et{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 vn,Oi=f(()=>{"use strict";Fe();no();vn=class extends et{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 On,vy,Sn,Ci,ju,Ei=f(()=>{"use strict";On=b(N());Si();Oi();Fe();vy="ft-user-assets",Sn=On.FtReduxStore.get({name:vy,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ci=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new vn,this.savedSearchesService=new xn,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=D.getState();(0,On.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(),Sn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Sn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Sn.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;Sn.actions.bookmarks(o)}}},ju=new Ci});var wi,Vu=f(()=>{"use strict";Fe();wi=class{addCommand(e,o=!1){D.commands.add(e,o)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new wi});var Ku,Ai,Zu=f(()=>{"use strict";Ku=b(N()),Ai=class{highlightHtml(e,o,n){(0,Ku.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new Ai});var qu,Ri,Yu=f(()=>{"use strict";qu=b(N());Fe();Ri=class{isDate(e){var o,n,a,i;return(i=(a=((n=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,o){var n,a,i;return qu.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:D.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Ri});var Xu,Nr,Qu=f(()=>{"use strict";Xu=b(N());Fe();Nr=class{static get(e,o){var n,a,i,s;let l=D.getState(),{lang:p,region:u}=(a=(n=l.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Xu.SearchPlaceConverter(l.baseUrl,(s=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,o??`${p}-${u}`)}}});var Ju=f(()=>{"use strict";Oi();Qo();Vu();Va();no();Zu();Si();Yu();Qu()});var ep=f(()=>{"use strict"});var tp,Mt=f(()=>{"use strict";tp=b(N());Ka();Gu();Fe();Ei();Ju();za();ep();Ka();(0,tp.customElement)("ft-app-context")(ie)});function He(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Bd:tr}i18n(i,s,...l){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,s,...l);let u=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...u)}onI18nUpdate(i){var s,l,p;(s=this[Ni])===null||s===void 0||s.forEach((u,m)=>{let y=this.getI18nAttributeValue(m);y&&(this[m]=this.getI18nAttributeMessage(y,u,i))}),(l=this[Ii])===null||l===void 0||l.forEach((u,m)=>{let y=this.getI18nListAttributeValues(m);this[m]=y?.map(x=>this.getI18nAttributeMessage(x,u,i))}),(p=this[Cn])===null||p===void 0||p.forEach((u,m)=>{u.context.toLowerCase()===i.toLowerCase()&&(this[m]=this.i18n(u))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,s){return{...i,message:this.i18n({context:i.context,key:i.key,...s})}}getI18nAttributeMessage(i,s,l){var p;let u=!l||((p=i.context)===null||p===void 0?void 0:p.toLowerCase())===l.toLowerCase();return i.context&&i.key&&u?this.buildI18nAttributeMessage(i,s):i}update(i){var s,l,p;super.update(i),(s=this[Ni])===null||s===void 0||s.forEach((u,m)=>{let y=this.getI18nAttributeValue(m);y?.context&&y.key&&(i.has(m)||u.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,i,m),this[m]=this.getI18nAttributeMessage(y,u))}),(l=this[Ii])===null||l===void 0||l.forEach((u,m)=>{let y=this.getI18nListAttributeValues(m);(i.has(m)||u.argsProvider!=null)&&(this[m]=y?.map(x=>(this.addI18nContextIfNeeded(x,i,m),this.getI18nAttributeMessage(x,u))))}),(p=this[Cn])===null||p===void 0||p.forEach((u,m)=>{u.argsProvider!=null&&(this[m]=this.i18n(u))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,s,l){i.context&&i.key&&s.has(l)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,s){i=i.toLowerCase(),this[fo].has(i)||this[fo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,s??{}),this.onI18nUpdate(i)}connectedCallback(){var i,s,l,p,u,m;super.connectedCallback(),new Set([...(s=(i=this[Cn])===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:[],...[...(p=(l=this[Ni])===null||l===void 0?void 0:l.keys())!==null&&p!==void 0?p:[]].map(y=>this.getI18nAttributeValue(y)),...[...(m=(u=this[Ii])===null||u===void 0?void 0:u.keys())!==null&&m!==void 0?m:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y)),this[Li].forEach((y,x)=>{this.addI18nMessages(x,y)})}addI18nMessages(i,s){this[Li].set(i,s??{}),this.addI18nMessagesAndSubscribe(i,s)}addI18nContext(i,s){this.addI18nMessages(typeof i=="string"?i:i.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[fo].forEach(i=>i()),this[fo].clear()}}return e=Li,o=fo,Sy([(0,op.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var wn,op,Sy,Ni,Ii,Cn,Li,fo,rp,En,An=f(()=>{"use strict";wn=b(N());Mt();op=b(X()),Sy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ni=Symbol("i18nAttributes"),Ii=Symbol("i18nListAttributes"),Cn=Symbol("i18nProperties"),Li=Symbol("i18nManualContexts"),fo=Symbol("i18nUnsubs");rp=class extends He(wn.FtLitElement){},En=class extends He(wn.FtLitElementRedux){}});var Rn,Nn,In,ho,Ze,Pi=f(()=>{"use strict";Rn=b(B()),Nn=b(X()),In=b(N());Ha();An();Mt();ho=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ze=class extends En{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Rn.nothing:Rn.html`
|
|
1162
|
+
`}update(e){var o,n,a,i,s;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("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>tr.addContext(l)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(D.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),D.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),D.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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 updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ie.elementDefinitions={};ie.styles=kd;be([(0,_e.property)()],ie.prototype,"baseUrl",void 0);be([(0,_e.property)()],ie.prototype,"apiIntegrationIdentifier",void 0);be([(0,_e.property)()],ie.prototype,"uiLocale",void 0);be([(0,Ve.jsonProperty)(null)],ie.prototype,"availableUiLocales",void 0);be([(0,Ve.jsonProperty)(null)],ie.prototype,"metadataConfiguration",void 0);be([(0,_e.property)({type:Boolean})],ie.prototype,"editorMode",void 0);be([(0,_e.property)({type:Boolean})],ie.prototype,"noCustom",void 0);be([(0,_e.property)({type:Boolean})],ie.prototype,"openExternalDocumentInNewTab",void 0);be([(0,_e.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ie.prototype,"noCustomComponent",void 0);be([(0,_e.property)({type:Boolean})],ie.prototype,"withManualResources",void 0);be([(0,_e.property)({type:Boolean})],ie.prototype,"navigatorOnline",void 0);be([(0,_e.property)({type:Boolean})],ie.prototype,"forcedOffline",void 0);be([(0,_e.property)({type:Object})],ie.prototype,"apiProvider",void 0);be([(0,Ve.jsonProperty)([])],ie.prototype,"messageContexts",void 0);be([(0,Ve.jsonProperty)(void 0)],ie.prototype,"session",void 0);be([(0,_e.state)()],ie.prototype,"localesConfiguration",void 0)});function $h(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,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!en(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(!en(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();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(t),o=a.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!en(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function en(t,e){try{return $h(t,e)}catch{return!1}}function tn(t,e){return!en(t,e)}var rn=f(()=>{"use strict"});var Uh,$d=f(()=>{"use strict";rn();Uh=b(Q(),1)});var on,Za=f(()=>{"use strict";on=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 Fd(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Ud.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:tn,...e??{}})}var Ud,Wd=f(()=>{"use strict";Ud=b(Q(),1);rn()});var nn,Hd=f(()=>{"use strict";nn=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 a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var an,Fh,MS,zd,Gd=f(()=>{an=window,Fh=an.ShadowRoot&&(an.ShadyCSS===void 0||an.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,MS=Symbol(),zd=(t,e)=>{Fh?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),a=an.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)})}});var jd,sn,Vd=f(()=>{"use strict";jd=b(B(),1);Gd();sn=class extends jd.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return zd(n,e.elementStyles),n}}});var ao,cn,Yd,Kd,Zd,Qd,qd,Tt,Xd=f(()=>{"use strict";ao=b(Q(),1);Wd();Hd();Vd();cn=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Kd=Symbol("constructorPrototype"),Zd=Symbol("constructorName"),Qd=Symbol("exportpartsDebouncer"),qd=Symbol("dynamicDependenciesLoaded"),Tt=class extends sn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Yd]=new nn(5),this[Zd]=this.constructor.name,this[Kd]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zd]&&Object.setPrototypeOf(this,this[Kd])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[qd]||(e[qd]=!0,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,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}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[Qd].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,s,l;let p=x=>x!=null&&x.trim().length>0,u=e.filter(p).map(x=>x.trim());if(u.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let x of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let O=(i=(a=x.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],S=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...O,...S).filter(p).map(C=>C.trim()).forEach(C=>m.add(C))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(x=>u.map(O=>`${x}:${O}--${x}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Yd=Qd;cn([(0,ao.property)()],Tt.prototype,"exportpartsPrefix",void 0);cn([Fd([])],Tt.prototype,"exportpartsPrefixes",void 0);cn([(0,ao.property)()],Tt.prototype,"customStylesheet",void 0);cn([(0,ao.state)()],Tt.prototype,"useAdoptedStyleSheets",void 0)});function io(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ln=f(()=>{"use strict"});var Jd,eu,tu,so,It,rr,co,ru=f(()=>{"use strict";Xd();ln();so=Symbol("internalReduxEventsUnsubscribers"),It=Symbol("internalStoresUnsubscribers"),rr=Symbol("internalStores"),co=class extends Tt{constructor(){super(...arguments),this[Jd]=new Map,this[eu]=new Map,this[tu]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[rr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[rr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[rr].get(e)}addStore(e,o){var n;o=(n=o??(io(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[rr].set(o,e),this.subscribeToStore(o,e),this.updateFromStores()}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[rr].delete(o)}setupStores(){this.unsubscribeFromStores(),this[rr].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 a=this.getStore(e.store);a&&(e.store?this[It].has(e.store):this[It].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[It].set(e,o.subscribe(()=>this.updateFromStores())),this[so].set(e,[]),io(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.addEventListener(a.eventName,s),this[so].get(e).push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[It].forEach((e,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(e){var o;this[It].has(e)&&this[It].get(e)(),this[It].delete(e),(o=this[so].get(e))===null||o===void 0||o.forEach(n=>n()),this[so].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Jd=It,eu=rr,tu=so;co.reduxProperties=new Map;co.reduxReactiveProperties=new Set;co.reduxEventListeners=new Map});function We(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 a,i;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 ft(t){return!!t&&!!t[te]}function Ke(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 a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Zh}(t)||Array.isArray(t)||!!t[lu]||!!(!((e=t.constructor)===null||e===void 0)&&e[lu])||oi(t)||ni(t))}function or(t,e,o){o===void 0&&(o=!1),wr(t)===0?(o?Object.keys:Er)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function wr(t){var e=t[te];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:oi(t)?2:ni(t)?3:0}function Cr(t,e){return wr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Wh(t,e){return wr(t)===2?t.get(e):t[e]}function du(t,e,o){var n=wr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function uu(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function oi(t){return Vh&&t instanceof Map}function ni(t){return Kh&&t instanceof Set}function Lt(t){return t.o||t.t}function ai(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=hu(t);delete e[te];for(var o=Er(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function ii(t,e){return e===void 0&&(e=!1),si(t)||ft(t)||!Ke(t)||(wr(t)>1&&(t.set=t.add=t.clear=t.delete=Hh),Object.freeze(t),e&&or(t,function(o,n){return ii(n,!0)},!0)),t}function Hh(){We(2)}function si(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function tt(t){var e=ri[t];return e||We(18,t),e}function zh(t,e){ri[t]||(ri[t]=e)}function Ja(){return uo}function qa(t,e){e&&(tt("Patches"),t.u=[],t.s=[],t.v=e)}function dn(t){ei(t),t.p.forEach(Gh),t.p=null}function ei(t){t===uo&&(uo=t.l)}function ou(t){return uo={p:[],l:uo,h:t,m:!0,_:0}}function Gh(t){var e=t[te];e.i===0||e.i===1?e.j():e.g=!0}function Ya(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||tt("ES5").S(e,t,n),n?(o[te].P&&(dn(e),We(4)),Ke(t)&&(t=un(e,t),e.l||pn(e,t)),e.u&&tt("Patches").M(o[te].t,t,e.u,e.s)):t=un(e,o,[]),dn(e),e.u&&e.v(e.u,e.s),t!==fu?t:void 0}function un(t,e,o){if(si(e))return e;var n=e[te];if(!n)return or(e,function(l,p){return nu(t,n,e,l,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return pn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=ai(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),or(i,function(l,p){return nu(t,n,a,l,p,o,s)}),pn(t,a,!1),o&&t.u&&tt("Patches").N(n,o,t.u,t.s)}return n.o}function nu(t,e,o,n,a,i,s){if(ft(a)){var l=un(t,a,i&&e&&e.i!==3&&!Cr(e.R,n)?i.concat(n):void 0);if(du(o,n,l),!ft(l))return;t.m=!1}else s&&o.add(a);if(Ke(a)&&!si(a)){if(!t.h.D&&t._<1)return;un(t,a),e&&e.A.l||pn(t,a)}}function pn(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&ii(e,o)}function Qa(t,e){var o=t[te];return(o?Lt(o):t)[e]}function au(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 Pt(t){t.P||(t.P=!0,t.l&&Pt(t.l))}function Xa(t){t.o||(t.o=ai(t.t))}function ti(t,e,o){var n=oi(e)?tt("MapSet").F(e,o):ni(e)?tt("MapSet").T(e,o):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ja(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=l,u=po;s&&(p=[l],u=lo);var m=Proxy.revocable(p,u),h=m.revoke,x=m.proxy;return l.k=x,l.j=h,x}(e,o):tt("ES5").J(e,o);return(o?o.A:Ja()).p.push(n),n}function jh(t){return ft(t)||We(22,t),function e(o){if(!Ke(o))return o;var n,a=o[te],i=wr(o);if(a){if(!a.P&&(a.i<4||!tt("ES5").K(a)))return a.t;a.I=!0,n=iu(o,i),a.I=!1}else n=iu(o,i);return or(n,function(s,l){a&&Wh(a.t,s)===l||du(n,s,e(l))}),i===3?new Set(n):n}(t)}function iu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ai(t)}function pu(){function t(s,l){var p=i[s];return p?p.enumerable=l:i[s]=p={configurable:!0,enumerable:l,get:function(){var u=this[te];return po.get(u,s)},set:function(u){var m=this[te];po.set(m,s,u)}},p}function e(s){for(var l=s.length-1;l>=0;l--){var p=s[l][te];if(!p.P)switch(p.i){case 5:n(p)&&Pt(p);break;case 4:o(p)&&Pt(p)}}}function o(s){for(var l=s.t,p=s.k,u=Er(p),m=u.length-1;m>=0;m--){var h=u[m];if(h!==te){var x=l[h];if(x===void 0&&!Cr(l,h))return!0;var O=p[h],S=O&&O[te];if(S?S.t!==x:!uu(O,x))return!0}}var C=!!l[te];return u.length!==Er(l).length+(C?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&We(3,JSON.stringify(Lt(s)))}var i={};zh("ES5",{J:function(s,l){var p=Array.isArray(s),u=function(h,x){if(h){for(var O=Array(x.length),S=0;S<x.length;S++)Object.defineProperty(O,""+S,t(S,!0));return O}var C=hu(x);delete C[te];for(var I=Er(C),_=0;_<I.length;_++){var T=I[_];C[T]=t(T,h||!!C[T].enumerable)}return Object.create(Object.getPrototypeOf(x),C)}(p,s),m={i:p?5:4,A:l?l.A:Ja(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,te,{value:m,writable:!0}),u},S:function(s,l,p){p?ft(l)&&l[te].A===s&&e(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var h=m[te];if(h){var x=h.t,O=h.k,S=h.R,C=h.i;if(C===4)or(O,function(U){U!==te&&(x[U]!==void 0||Cr(x,U)?S[U]||u(O[U]):(S[U]=!0,Pt(h)))}),or(x,function(U){O[U]!==void 0||Cr(O,U)||(S[U]=!1,Pt(h))});else if(C===5){if(n(h)&&(Pt(h),S.length=!0),O.length<x.length)for(var I=O.length;I<x.length;I++)S[I]=!1;else for(var _=x.length;_<O.length;_++)S[_]=!0;for(var T=Math.min(O.length,x.length),M=0;M<T;M++)O.hasOwnProperty(M)||(S[M]=!0),S[M]===void 0&&u(O[M])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var su,uo,ci,Vh,Kh,cu,fu,lu,te,Zh,Er,hu,ri,po,lo,qh,ke,Yh,qS,YS,QS,XS,JS,eO,fn,hn=f(()=>{ci=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Vh=typeof Map<"u",Kh=typeof Set<"u",cu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",fu=ci?Symbol.for("immer-nothing"):((su={})["immer-nothing"]=!0,su),lu=ci?Symbol.for("immer-draftable"):"__$immer_draftable",te=ci?Symbol.for("immer-state"):"__$immer_state",Zh=""+Object.prototype.constructor,Er=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,hu=Object.getOwnPropertyDescriptors||function(t){var e={};return Er(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},ri={},po={get:function(t,e){if(e===te)return t;var o=Lt(t);if(!Cr(o,e))return function(a,i,s){var l,p=au(i,s);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!Ke(n)?n:n===Qa(t.t,e)?(Xa(t),t.o[e]=ti(t.A.h,n,t)):n},has:function(t,e){return e in Lt(t)},ownKeys:function(t){return Reflect.ownKeys(Lt(t))},set:function(t,e,o){var n=au(Lt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=Qa(Lt(t),e),i=a?.[te];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(uu(o,a)&&(o!==void 0||Cr(t.t,e)))return!0;Xa(t),Pt(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 Qa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Xa(t),Pt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Lt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){We(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){We(12)}},lo={};or(po,function(t,e){lo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),lo.deleteProperty=function(t,e){return lo.set.call(this,t,e,void 0)},lo.set=function(t,e,o){return po.set.call(this,t[0],e,o,t[0])};qh=function(){function t(o){var n=this;this.O=cu,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var p=n;return function(C){var I=this;C===void 0&&(C=l);for(var _=arguments.length,T=Array(_>1?_-1:0),M=1;M<_;M++)T[M-1]=arguments[M];return p.produce(C,function(U){var F;return(F=i).call.apply(F,[I,U].concat(T))})}}var u;if(typeof i!="function"&&We(6),s!==void 0&&typeof s!="function"&&We(7),Ke(a)){var m=ou(n),h=ti(n,a,void 0),x=!0;try{u=i(h),x=!1}finally{x?dn(m):ei(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return qa(m,s),Ya(C,m)},function(C){throw dn(m),C}):(qa(m,s),Ya(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===fu&&(u=void 0),n.D&&ii(u,!0),s){var O=[],S=[];tt("Patches").M(a,u,O,S),s(O,S)}return u}We(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,h=Array(m>1?m-1:0),x=1;x<m;x++)h[x-1]=arguments[x];return n.produceWithPatches(u,function(O){return a.apply(void 0,[O].concat(h))})};var s,l,p=n.produce(a,i,function(u,m){s=u,l=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,s,l]}):[p,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){Ke(o)||We(8),ft(o)&&(o=jh(o));var n=ou(this),a=ti(this,o,void 0);return a[te].C=!0,ei(n),a},e.finishDraft=function(o,n){var a=o&&o[te],i=a.A;return qa(i,n),Ya(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!cu&&We(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=tt("Patches").$;return ft(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),ke=new qh,Yh=ke.produce,qS=ke.produceWithPatches.bind(ke),YS=ke.setAutoFreeze.bind(ke),QS=ke.setUseProxies.bind(ke),XS=ke.applyPatches.bind(ke),JS=ke.createDraft.bind(ke),eO=ke.finishDraft.bind(ke),fn=Yh});function kt(t){"@babel/helpers - typeof";return kt=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},kt(t)}var li=f(()=>{});function di(t,e){if(kt(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(kt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var yu=f(()=>{li()});function ui(t){var e=di(t,"string");return kt(e)==="symbol"?e:String(e)}var mu=f(()=>{li();yu()});function pi(t,e,o){return e=ui(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var gu=f(()=>{mu()});function bu(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function yn(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?bu(Object(o),!0).forEach(function(n){pi(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):bu(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}var xu=f(()=>{gu()});function xe(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 Qh(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 hi(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(xe(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(xe(1));return o(hi)(t,e)}if(typeof t!="function")throw new Error(xe(2));var a=t,i=e,s=[],l=s,p=!1;function u(){l===s&&(l=s.slice())}function m(){if(p)throw new Error(xe(3));return i}function h(C){if(typeof C!="function")throw new Error(xe(4));if(p)throw new Error(xe(5));var I=!0;return u(),l.push(C),function(){if(I){if(p)throw new Error(xe(6));I=!1,u();var T=l.indexOf(C);l.splice(T,1),s=null}}}function x(C){if(!Qh(C))throw new Error(xe(7));if(typeof C.type>"u")throw new Error(xe(8));if(p)throw new Error(xe(9));try{p=!0,i=a(i,C)}finally{p=!1}for(var I=s=l,_=0;_<I.length;_++){var T=I[_];T()}return C}function O(C){if(typeof C!="function")throw new Error(xe(10));a=C,x({type:mn.REPLACE})}function S(){var C,I=h;return C={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(xe(11));function M(){T.next&&T.next(m())}M();var U=I(M);return{unsubscribe:U}}},C[vu]=function(){return this},C}return x({type:mn.INIT}),n={dispatch:x,subscribe:h,getState:m,replaceReducer:O},n[vu]=S,n}function Xh(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:mn.INIT});if(typeof n>"u")throw new Error(xe(12));if(typeof o(void 0,{type:mn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(xe(13))})}function Su(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),s,l;try{Xh(o)}catch(p){l=p}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var h;for(var x=!1,O={},S=0;S<i.length;S++){var C=i[S],I=o[C],_=u[C],T=I(_,m);if(typeof T>"u"){var M=m&&m.type;throw new Error(xe(14))}O[C]=T,x=x||T!==_}return x=x||i.length!==Object.keys(u).length,x?O:u}}function Ar(){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,a){return function(){return n(a.apply(void 0,arguments))}})}function Ou(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(xe(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(p){return p(s)});return i=Ar.apply(void 0,l)(a.dispatch),yn(yn({},a),{},{dispatch:i})}}}var vu,fi,mn,gn=f(()=>{xu();vu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),fi=function(){return Math.random().toString(36).substring(7).split("").join(".")},mn={INIT:"@@redux/INIT"+fi(),REPLACE:"@@redux/REPLACE"+fi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fi()}}});function Cu(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var Eu,yi,wu=f(()=>{Eu=Cu();Eu.withExtraArgument=Cu;yi=Eu});function sy(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 xi(t){return Ke(t)?fn(t,function(){}):t}function dy(t){return typeof t=="boolean"}function uy(){return function(e){return py(e)}}function py(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new cy;if(o&&(dy(o)?l.push(yi):l.push(yi.withExtraArgument(o.extraArgument))),0){if(a)var p;if(s)var u}return l}function Iu(t){var e=uy(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,p=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,h=o.enhancers,x=h===void 0?void 0:h,O;if(typeof a=="function")O=a;else if(sy(a))O=Su(a);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 S=s;if(typeof S=="function"&&(S=S(e),!gi&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!gi&&S.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Ou.apply(void 0,S),I=Ar;p&&(I=iy(Dt({trace:!gi},typeof p=="object"&&p)));var _=new ly(C),T=_;Array.isArray(x)?T=Rr([C],x):typeof x=="function"&&(T=x(_));var M=I.apply(void 0,T);return hi(O,m,M)}function Bt(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Dt(Dt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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 Lu(t){var e={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function fy(t){return typeof t=="function"}function hy(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?Lu(e):[e,o,n],i=a[0],s=a[1],l=a[2],p;if(fy(t))p=function(){return xi(t())};else{var u=xi(t);p=function(){return u}}function m(h,x){h===void 0&&(h=p());var O=Rr([i[x.type]],s.filter(function(S){var C=S.matcher;return C(x)}).map(function(S){var C=S.reducer;return C}));return O.filter(function(S){return!!S}).length===0&&(O=[l]),O.reduce(function(S,C){if(C)if(ft(S)){var I=S,_=C(I,x);return _===void 0?S:_}else{if(Ke(S))return fn(S,function(T){return C(T,x)});var _=C(S,x);if(_===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return S},h)}return m.getInitialState=p,m}function yy(t,e){return t+"/"+e}function Pu(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:xi(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var h=n[m],x=yy(e,m),O,S;"reducer"in h?(O=h.reducer,S=h.prepare):O=h,i[m]=O,s[x]=O,l[m]=S?Bt(x,S):Bt(x)});function p(){var m=typeof t.extraReducers=="function"?Lu(t.extraReducers):[t.extraReducers],h=m[0],x=h===void 0?{}:h,O=m[1],S=O===void 0?[]:O,C=m[2],I=C===void 0?void 0:C,_=Dt(Dt({},x),s);return hy(o,function(T){for(var M in _)T.addCase(M,_[M]);for(var U=0,F=S;U<F.length;U++){var Ee=F[U];T.addMatcher(Ee.matcher,Ee.reducer)}I&&T.addDefaultCase(I)})}var u;return{name:e,reducer:function(m,h){return u||(u=p()),u(m,h)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}function vy(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Sy(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Tu,Jh,Rr,ey,ty,ry,Au,oy,ny,Ru,Dt,mi,ay,iy,bO,cy,ly,gi,my,gy,by,bi,Nu,xy,OO,ku,Du,Bu,CO,EO,wO,AO,vi,RO,NO,_O,_u,TO,Oy,IO,Mu=f(()=>{hn();gn();gn();gn();wu();hn();hn();Tu=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},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)}}(),Jh=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(m){return p([u,m])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Rr=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},ey=Object.defineProperty,ty=Object.defineProperties,ry=Object.getOwnPropertyDescriptors,Au=Object.getOwnPropertySymbols,oy=Object.prototype.hasOwnProperty,ny=Object.prototype.propertyIsEnumerable,Ru=function(t,e,o){return e in t?ey(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Dt=function(t,e){for(var o in e||(e={}))oy.call(e,o)&&Ru(t,o,e[o]);if(Au)for(var n=0,a=Au(e);n<a.length;n++){var o=a[n];ny.call(e,o)&&Ru(t,o,e[o])}return t},mi=function(t,e){return ty(t,ry(e))},ay=function(t,e,o){return new Promise(function(n,a){var i=function(p){try{l(o.next(p))}catch(u){a(u)}},s=function(p){try{l(o.throw(p))}catch(u){a(u)}},l=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,s)};l((o=o.apply(t,e)).next())})},iy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ar:Ar.apply(null,arguments)},bO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};cy=function(t){Tu(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}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,Rr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Rr([void 0],o.concat(this))))},e}(Array),ly=function(t){Tu(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}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,Rr([void 0],o[0].concat(this)))):new(e.bind.apply(e,Rr([void 0],o.concat(this))))},e}(Array);gi=!0;my="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",gy=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=my[Math.random()*64|0];return e},by=["name","message","stack","code"],bi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Nu=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),xy=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=by;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},OO=function(){function t(e,o,n){var a=Bt(e+"/fulfilled",function(m,h,x,O){return{payload:m,meta:mi(Dt({},O||{}),{arg:x,requestId:h,requestStatus:"fulfilled"})}}),i=Bt(e+"/pending",function(m,h,x){return{payload:void 0,meta:mi(Dt({},x||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),s=Bt(e+"/rejected",function(m,h,x,O,S){return{payload:O,error:(n&&n.serializeError||xy)(m||"Rejected"),meta:mi(Dt({},S||{}),{arg:x,requestId:h,rejectedWithValue:!!O,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(h,x,O){var S=n?.idGenerator?n.idGenerator(m):gy(),C=new p,I,_=!1;function T(U){I=U,C.abort()}var M=function(){return ay(this,null,function(){var U,F,Ee,qe,Oe,Ye,fe;return Jh(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),qe=(U=n?.condition)==null?void 0:U.call(n,m,{getState:x,extra:O}),Sy(qe)?[4,qe]:[3,2];case 1:qe=g.sent(),g.label=2;case 2:if(qe===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,Oe=new Promise(function(v,k){return C.signal.addEventListener("abort",function(){return k({name:"AbortError",message:I||"Aborted"})})}),h(i(S,m,(F=n?.getPendingMeta)==null?void 0:F.call(n,{requestId:S,arg:m},{getState:x,extra:O}))),[4,Promise.race([Oe,Promise.resolve(o(m,{dispatch:h,getState:x,extra:O,requestId:S,signal:C.signal,abort:T,rejectWithValue:function(v,k){return new bi(v,k)},fulfillWithValue:function(v,k){return new Nu(v,k)}})).then(function(v){if(v instanceof bi)throw v;return v instanceof Nu?a(v.payload,S,m,v.meta):a(v,S,m)})])];case 3:return Ee=g.sent(),[3,5];case 4:return Ye=g.sent(),Ee=Ye instanceof bi?s(null,S,m,Ye.payload,Ye.meta):s(Ye,S,m),[3,5];case 5:return fe=n&&!n.dispatchConditionRejection&&s.match(Ee)&&Ee.meta.condition,fe||h(Ee),[2,Ee]}})})}();return Object.assign(M,{abort:T,requestId:S,arg:m,unwrap:function(){return M.then(vy)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();ku="listener",Du="completed",Bu="cancelled",CO="task-"+Bu,EO="task-"+Du,wO=ku+"-"+Bu,AO=ku+"-"+Du,vi="listenerMiddleware",RO=Bt(vi+"/add"),NO=Bt(vi+"/removeAll"),_O=Bt(vi+"/remove"),TO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(_u||(_u=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Oy=function(t){return function(e){setTimeout(e,t)}},IO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Oy(10);pu()});function Cy(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var bn,$u=f(()=>{"use strict";bn=class extends Cy(Object){}});var Uu,Fu=f(()=>{"use strict";Mu();ln();Za();$u();window.ftReduxStores||(window.ftReduxStores={});Uu=class t extends bn{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(io(i))return i;if(a==null)return;let s=Pu({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Iu({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:s.reducer(p,u)});return window.ftReduxStores[a.name]=new t(s,l,a.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new on;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let p=s,u=i[p];return u?(...m)=>{let h=u(...m.map(a));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[p]:a(m)})}}}),this.eventBus=n??this.eventBus}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 Wu=f(()=>{"use strict";rn()});var Hu=f(()=>{"use strict";$d();Za();ru();Fu();ln();Wu()});var zu=f(()=>{"use strict"});var Ey,Gu=f(()=>{"use strict";Ey=b(Q());Hu();zu();Fe()});var xn,Si=f(()=>{"use strict";Fe();no();xn=class extends et{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 vn,Oi=f(()=>{"use strict";Fe();no();vn=class extends et{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 On,wy,Sn,Ci,ju,Ei=f(()=>{"use strict";On=b(N());Si();Oi();Fe();wy="ft-user-assets",Sn=On.FtReduxStore.get({name:wy,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ci=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new vn,this.savedSearchesService=new xn,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=D.getState();(0,On.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(),Sn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Sn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Sn.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;Sn.actions.bookmarks(o)}}},ju=new Ci});var wi,Vu=f(()=>{"use strict";Fe();wi=class{addCommand(e,o=!1){D.commands.add(e,o)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new wi});var Ku,Ai,Zu=f(()=>{"use strict";Ku=b(N()),Ai=class{highlightHtml(e,o,n){(0,Ku.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new Ai});var qu,Ri,Yu=f(()=>{"use strict";qu=b(N());Fe();Ri=class{isDate(e){var o,n,a,i;return(i=(a=((n=(o=D.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,o){var n,a,i;return qu.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:D.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Ri});var Qu,Nr,Xu=f(()=>{"use strict";Qu=b(N());Fe();Nr=class{static get(e,o){var n,a,i,s;let l=D.getState(),{lang:p,region:u}=(a=(n=l.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new Qu.SearchPlaceConverter(l.baseUrl,(s=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,o??`${p}-${u}`)}}});var Ju=f(()=>{"use strict";Oi();Xo();Vu();Va();no();Zu();Si();Yu();Xu()});var ep=f(()=>{"use strict"});var tp,Mt=f(()=>{"use strict";tp=b(N());Ka();Gu();Fe();Ei();Ju();za();ep();Ka();(0,tp.customElement)("ft-app-context")(ie)});function He(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Bd:tr}i18n(i,s,...l){var p;if(typeof i=="string")return this.i18nService.resolveMessage(i,s,...l);let u=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...u)}onI18nUpdate(i){var s,l,p;(s=this[Ni])===null||s===void 0||s.forEach((u,m)=>{let h=this.getI18nAttributeValue(m);h&&(this[m]=this.getI18nAttributeMessage(h,u,i))}),(l=this[_i])===null||l===void 0||l.forEach((u,m)=>{let h=this.getI18nListAttributeValues(m);this[m]=h?.map(x=>this.getI18nAttributeMessage(x,u,i))}),(p=this[Cn])===null||p===void 0||p.forEach((u,m)=>{u.context.toLowerCase()===i.toLowerCase()&&(this[m]=this.i18n(u))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,s){return{...i,message:this.i18n({context:i.context,key:i.key,...s})}}getI18nAttributeMessage(i,s,l){var p;let u=!l||((p=i.context)===null||p===void 0?void 0:p.toLowerCase())===l.toLowerCase();return i.context&&i.key&&u?this.buildI18nAttributeMessage(i,s):i}update(i){var s,l,p;super.update(i),(s=this[Ni])===null||s===void 0||s.forEach((u,m)=>{let h=this.getI18nAttributeValue(m);h?.context&&h.key&&(i.has(m)||u.argsProvider!=null)&&(this.addI18nContextIfNeeded(h,i,m),this[m]=this.getI18nAttributeMessage(h,u))}),(l=this[_i])===null||l===void 0||l.forEach((u,m)=>{let h=this.getI18nListAttributeValues(m);(i.has(m)||u.argsProvider!=null)&&(this[m]=h?.map(x=>(this.addI18nContextIfNeeded(x,i,m),this.getI18nAttributeMessage(x,u))))}),(p=this[Cn])===null||p===void 0||p.forEach((u,m)=>{u.argsProvider!=null&&(this[m]=this.i18n(u))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,s,l){i.context&&i.key&&s.has(l)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,s){i=i.toLowerCase(),this[fo].has(i)||this[fo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,s??{}),this.onI18nUpdate(i)}connectedCallback(){var i,s,l,p,u,m;super.connectedCallback(),new Set([...(s=(i=this[Cn])===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:[],...[...(p=(l=this[Ni])===null||l===void 0?void 0:l.keys())!==null&&p!==void 0?p:[]].map(h=>this.getI18nAttributeValue(h)),...[...(m=(u=this[_i])===null||u===void 0?void 0:u.keys())!==null&&m!==void 0?m:[]].flatMap(h=>this.getI18nListAttributeValues(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h)),this[Ti].forEach((h,x)=>{this.addI18nMessages(x,h)})}addI18nMessages(i,s){this[Ti].set(i,s??{}),this.addI18nMessagesAndSubscribe(i,s)}addI18nContext(i,s){this.addI18nMessages(typeof i=="string"?i:i.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[fo].forEach(i=>i()),this[fo].clear()}}return e=Ti,o=fo,Ay([(0,op.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var wn,op,Ay,Ni,_i,Cn,Ti,fo,rp,En,An=f(()=>{"use strict";wn=b(N());Mt();op=b(Q()),Ay=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ni=Symbol("i18nAttributes"),_i=Symbol("i18nListAttributes"),Cn=Symbol("i18nProperties"),Ti=Symbol("i18nManualContexts"),fo=Symbol("i18nUnsubs");rp=class extends He(wn.FtLitElement){},En=class extends He(wn.FtLitElementRedux){}});var Rn,Nn,_n,ho,Ze,Ii=f(()=>{"use strict";Rn=b(B()),Nn=b(Q()),_n=b(N());Ha();An();Mt();ho=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ze=class extends En{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Rn.nothing:Rn.html`
|
|
1163
1163
|
<span class="ft-i18n">
|
|
1164
1164
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1165
1165
|
</span>
|
|
1166
|
-
`}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:""})}};Ze.elementDefinitions={};Ze.styles=
|
|
1167
|
-
`)===0?q.substr(1,q.length):q}).forEach(function(q){var re=q.split(":"),W=re.shift().trim();if(W){var Oo=re.join(":").trim();try{v.append(W,Oo)}catch(Yn){console.warn("Response "+Yn.message)}}}),v}L.call(F.prototype);function Oe(g,v){if(!(this instanceof Oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText===void 0?"":""+v.statusText,this.headers=new y(v.headers),this.url=v.url||"",this._initBody(g)}L.call(Oe.prototype),Oe.prototype.clone=function(){return new Oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},Oe.error=function(){var g=new Oe(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var Ye=[301,302,303,307,308];Oe.redirect=function(g,v){if(Ye.indexOf(v)===-1)throw new RangeError("Invalid status code");return new Oe(null,{status:v,headers:{location:g}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,k){this.message=v,this.name=k;var q=Error(v);this.stack=q.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function fe(g,v){return new Promise(function(k,q){var re=new F(g,v);if(re.signal&&re.signal.aborted)return q(new o.DOMException("Aborted","AbortError"));var W=new XMLHttpRequest;function Oo(){W.abort()}W.onload=function(){var he={statusText:W.statusText,headers:qe(W.getAllResponseHeaders()||"")};re.url.indexOf("file://")===0&&(W.status<200||W.status>599)?he.status=200:he.status=W.status,he.url="responseURL"in W?W.responseURL:he.headers.get("X-Request-URL");var zt="response"in W?W.response:W.responseText;setTimeout(function(){k(new Oe(zt,he))},0)},W.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},W.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},W.onabort=function(){setTimeout(function(){q(new o.DOMException("Aborted","AbortError"))},0)};function Yn(he){try{return he===""&&n.location.href?n.location.href:he}catch{return he}}if(W.open(re.method,Yn(re.url),!0),re.credentials==="include"?W.withCredentials=!0:re.credentials==="omit"&&(W.withCredentials=!1),"responseType"in W&&(a.blob?W.responseType="blob":a.arrayBuffer&&(W.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof y||n.Headers&&v.headers instanceof n.Headers)){var vs=[];Object.getOwnPropertyNames(v.headers).forEach(function(he){vs.push(p(he)),W.setRequestHeader(he,u(v.headers[he]))}),re.headers.forEach(function(he,zt){vs.indexOf(zt)===-1&&W.setRequestHeader(zt,he)})}else re.headers.forEach(function(he,zt){W.setRequestHeader(zt,he)});re.signal&&(re.signal.addEventListener("abort",Oo),W.onreadystatechange=function(){W.readyState===4&&re.signal.removeEventListener("abort",Oo)}),W.send(typeof re._bodyInit>"u"?null:re._bodyInit)})}return fe.polyfill=!0,n.fetch||(n.fetch=fe,n.Headers=y,n.Request=F,n.Response=Oe),o.Headers=y,o.Request=F,o.Response=Oe,o.fetch=fe,o}({})})(Tn);Tn.fetch.ponyfill=!0;delete Tn.fetch.polyfill;var Ir=Pn.fetch?Pn:Tn;$t=Ir.fetch;$t.default=Ir.fetch;$t.fetch=Ir.fetch;$t.Headers=Ir.Headers;$t.Request=Ir.Request;$t.Response=Ir.Response;up.exports=$t});var fp=f(()=>{});var hp,yp,mp,gp,bp,xp,vp,Sp,Op,Cp,Ep,Lr,wp,_n,Ap,Rp,Pr,Tr,de,ki=f(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(hp||(hp={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(yp||(yp={}));(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"})(mp||(mp={}));(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"})(gp||(gp={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(bp||(bp={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(xp||(xp={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(vp||(vp={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Sp||(Sp={}));(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"})(Op||(Op={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Cp||(Cp={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Ep||(Ep={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Lr||(Lr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(wp||(wp={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(_n||(_n={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ap||(Ap={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Rp||(Rp={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Pr||(Pr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Tr||(Tr={}));(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.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_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"})(de||(de={}))});var Np,Ip,Lp=f(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Np||(Np={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Ip||(Ip={}))});var iE,Pp=f(()=>{ki();iE={[de.PERSONAL_BOOK_SHARE_USER]:[de.PERSONAL_BOOK_USER],[de.HTML_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.PDF_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.KHUB_ADMIN]:[de.CONTENT_PUBLISHER],[de.ADMIN]:[de.KHUB_ADMIN,de.USERS_ADMIN,de.PORTAL_ADMIN],[de.DEVELOPER]:[de.BETA_USER,de.DEBUG_USER],[de.GENERATIVE_AI_EXPORT_USER]:[de.GENERATIVE_AI_USER]}});var Tp=f(()=>{});var Ey,Di=f(()=>{Ey=b(pp(),1);fp();ki();Lp();Pp();Tp()});var _p,kp=f(()=>{ca();_p=t=>t??le});var Dp=f(()=>{kp()});function Bp(t){var e,o,n,a,i;return((a=(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&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.openMode)===_n.EXTERNAL}function kn(t){var e,o,n,a,i;if(Bp(t))return(a=(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&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.originUrl;switch(t.type){case Pr.MAP:return t.map.readerUrl;case Pr.DOCUMENT:return t.document.viewerUrl;case Pr.TOPIC:return t.topic.readerUrl}return""}function Mp(t,e){return _p(e&&Bp(t)?"_blank":void 0)}var _r,Bi=f(()=>{"use strict";Di();Dp();_r=class extends CustomEvent{constructor(e,o){super("ft-search-result-click",{detail:{result:e,rank:o},bubbles:!0,composed:!0})}}});var Wp,wy,$i,Ui=f(()=>{"use strict";Wp=b(B()),wy={},$i=Wp.css`
|
|
1168
|
-
`});var Hp=f(()=>{"use strict"});var Mn,Ay,zp,Gp=f(()=>{"use strict";Mn=b(N()),Ay={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)=>{var o;let n=+((o=e.payload)!==null&&o!==void 0?o:20);t.request.paging.perPage=isNaN(n)?20:(0,Mn.minmax)(1,n,40)},setPageNumber:(t,e)=>{t.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=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},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var o;t.request.clusterSortCriterions=(o=e.payload)!==null&&o!==void 0?o:[]}},zp=t=>Mn.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:Ay})});var $n,jp=f(()=>{"use strict";Mt();$n=class extends et{constructor(e){super(!0,e),this.sortObjectFields=(o,n)=>typeof n!="object"||n==null||Array.isArray(n)?n:Object.fromEntries(Object.entries(n).sort(([a],[i])=>a.localeCompare(i)))}async launchSearch(e){let o={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((n,a)=>n.id.localeCompare(a.id))};return this.cache.get("search-"+this.hash(o),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let o={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(o),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(o=>o.valueFilter==null?o:{...o,valueFilter:{...o.valueFilter,values:[...o.valueFilter.values].sort((n,a)=>n.localeCompare(a))}}).sort((o,n)=>o.key.localeCompare(n.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}}});var De,Vp,go,kr,Fi=f(()=>{"use strict";De=b(N());Gp();Di();jp();Vp=t=>t.request.virtualField===Lr.TITLE_ONLY&&t.request.scope===Tr.DOCUMENTS,go=class t extends Event{constructor(){super(t.eventName)}};go.eventName="search-context-clear-all-filters";kr=class t{static build(e,o){return new t(zp(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new De.Debouncer(10),this.searchDebouncer=new De.Debouncer(100),this.launchSearch=n=>this.searchDebouncer.run(()=>this.fetchSearchData(n??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=n=>({...n.request,facets:this.facetIds.map(a=>({id:a}))}),this.suggestDebouncer=new De.Debouncer(300),this.launchSuggest=n=>this.suggestDebouncer.run(()=>this.fetchSuggestData(n??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=n=>({input:n.liveQuery,metadataFilters:n.request.metadataFilters,sort:n.request.sort,contentLocale:n.request.contentLocale,scope:n.request.scope}),this.service=o??new $n,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,De.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,De.watch)(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var o;let n=(o=this.store.getState().locales)!==null&&o!==void 0?o:[],a=this.store.getState().request.contentLocale;if(e!=a){if(n.length>0){let i=s=>n.some(l=>l.lang==s);i(e)||(e=i(a)?a:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let o=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Lr.TITLE_ONLY),this.store.actions.setRequestScope(Tr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Lr.EVERYWHERE),this.store.actions.setRequestScope(Tr.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return Vp(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new go)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,o){let n=this.facetIds.filter(a=>a!=e);o&&n.push(o),this.facetIds=n}get facetIds(){var e;let o=this.store.getState().request;return[...new Set([...o.facets.map(n=>n.id),...((e=o.metadataFilters)!==null&&e!==void 0?e:[]).map(n=>n.key)])]}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,o){this.setValueFilter(e,o)}setValueFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,valueFilter:{values:o,negative:!1}},i=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==a.key),a];this.setFilters(i)}setDateFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,dateFilter:{type:o}},i=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==a.key),a];this.setFilters(i)}removeDateFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.dateFilter),...o.filter(a=>a.dateFilter&&a.key!==e)];this.setFilters(n)}setRangeFilter(e,o,n){let a=this.store.getState().request.metadataFilters,i={key:e,rangeFilter:{from:o,to:n}},s=[...a.filter(l=>!l.rangeFilter),...a.filter(l=>l.rangeFilter&&l.key!==i.key),i];this.setFilters(s)}removeRangeFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.rangeFilter),...o.filter(a=>a.rangeFilter&&a.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var o,n,a;try{if((o=this.cancelableSearch)===null||o===void 0||o.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=(0,De.cancelable)(this.service.launchSearch(e));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.results(i.results),this.store.actions.facets(i.facets),this.store.actions.spellcheck(i.spellcheck);else{let s=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(i.results);this.store.actions.results(s)}this.store.actions.paging(i.paging)}}catch(i){i instanceof De.CanceledPromiseError||(console.error(i),(a=this.errorHandler)===null||a===void 0||a.call(this,i))}}async fetchSuggestData(e){var o;try{(o=this.cancelableSuggest)===null||o===void 0||o.cancel(),this.cancelableSuggest=(0,De.cancelable)(this.service.launchSuggest(e));let n=await this.cancelableSuggest;this.store.actions.suggestResults(n.suggestions)}catch(n){!(n instanceof De.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function Ny(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Wi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Wi]):this.dispatchEvent(new Hi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Wi,Ry([(0,Zp.state)()],o.prototype,"stateManager",void 0),o}var Kp,Zp,Ry,Hi,Wi,Le,Ut=f(()=>{"use strict";Kp=b(N()),Zp=b(X());Hp();Fi();Ry=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Hi=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Wi=Symbol("registerInterval");Le=class extends Ny(Kp.FtLitElementRedux){}});var qp,ht,Ge,ve,Un,Fn,Wn,oe,zi=f(()=>{"use strict";qp=b(B()),ht=b(X()),Ge=b(N());Ui();Ut();Mt();Ei();ve=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Un=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Fn=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Wn=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},oe=class extends Ge.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=kr.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.otherQueryParams={},this.addStore(D)}render(){return qp.html`
|
|
1166
|
+
`}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:""})}};Ze.elementDefinitions={};Ze.styles=Ld;ho([(0,_n.redux)()],Ze.prototype,"editorMode",void 0);ho([(0,Nn.property)()],Ze.prototype,"context",void 0);ho([(0,Nn.property)()],Ze.prototype,"key",void 0);ho([(0,_n.jsonProperty)([])],Ze.prototype,"args",void 0);ho([(0,Nn.property)()],Ze.prototype,"defaultMessage",void 0)});var rt,np=f(()=>{"use strict";Mt();rt=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 a=n;return i=>({context:this.name,key:a,args:typeof i=="function"?void 0:i,argsProvider:typeof i=="function"?i:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...a)=>tr.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(o,n)=>tr.resolveRawMessage(this.name,n)})}}});var ap=f(()=>{"use strict";An()});var ip=f(()=>{"use strict"});var sp,ot=f(()=>{"use strict";sp=b(N());Ii();np();An();ap();Ha();ip();Ii();(0,sp.customElement)("ft-i18n")(Ze)});var pp=Gt(($t,up)=>{var In=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Ln=function(){function t(){this.fetch=!1,this.DOMException=In.DOMException}return t.prototype=In,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(g){return g&&DataView.prototype.isPrototypeOf(g)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function p(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function u(g){return typeof g!="string"&&(g=String(g)),g}function m(g){var v={next:function(){var k=g.shift();return{done:k===void 0,value:k}}};return a.iterable&&(v[Symbol.iterator]=function(){return v}),v}function h(g){this.map={},g instanceof h?g.forEach(function(v,k){this.append(k,v)},this):Array.isArray(g)?g.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(v){this.append(v,g[v])},this)}h.prototype.append=function(g,v){g=p(g),v=u(v);var k=this.map[g];this.map[g]=k?k+", "+v:v},h.prototype.delete=function(g){delete this.map[p(g)]},h.prototype.get=function(g){return g=p(g),this.has(g)?this.map[g]:null},h.prototype.has=function(g){return this.map.hasOwnProperty(p(g))},h.prototype.set=function(g,v){this.map[p(g)]=u(v)},h.prototype.forEach=function(g,v){for(var k in this.map)this.map.hasOwnProperty(k)&&g.call(v,this.map[k],k,this)},h.prototype.keys=function(){var g=[];return this.forEach(function(v,k){g.push(k)}),m(g)},h.prototype.values=function(){var g=[];return this.forEach(function(v){g.push(v)}),m(g)},h.prototype.entries=function(){var g=[];return this.forEach(function(v,k){g.push([k,v])}),m(g)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function x(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function O(g){return new Promise(function(v,k){g.onload=function(){v(g.result)},g.onerror=function(){k(g.error)}})}function S(g){var v=new FileReader,k=O(v);return v.readAsArrayBuffer(g),k}function C(g){var v=new FileReader,k=O(v),q=/charset=([A-Za-z0-9_-]+)/.exec(g.type),re=q?q[1]:"utf-8";return v.readAsText(g,re),k}function I(g){for(var v=new Uint8Array(g),k=new Array(v.length),q=0;q<v.length;q++)k[q]=String.fromCharCode(v[q]);return k.join("")}function _(g){if(g.slice)return g.slice(0);var v=new Uint8Array(g.byteLength);return v.set(new Uint8Array(g)),v.buffer}function T(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:a.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:a.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():a.arrayBuffer&&a.blob&&i(g)?(this._bodyArrayBuffer=_(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||l(g))?this._bodyArrayBuffer=_(g):this._bodyText=g=Object.prototype.toString.call(g):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof g=="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(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var g=x(this);if(g)return g;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(){if(this._bodyArrayBuffer){var g=x(this);return g||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=x(this);if(g)return g;if(this._bodyBlob)return C(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(I(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(Ee)}),this.json=function(){return this.text().then(JSON.parse)},this}var M=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(g){var v=g.toUpperCase();return M.indexOf(v)>-1?v:g}function F(g,v){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var k=v.body;if(g instanceof F){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,v.headers||(this.headers=new h(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!k&&g._bodyInit!=null&&(k=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new h(v.headers)),this.method=U(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in n){var W=new AbortController;return W.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var q=/([?&])_=[^&]*/;if(q.test(this.url))this.url=this.url.replace(q,"$1_="+new Date().getTime());else{var re=/\?/;this.url+=(re.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}F.prototype.clone=function(){return new F(this,{body:this._bodyInit})};function Ee(g){var v=new FormData;return g.trim().split("&").forEach(function(k){if(k){var q=k.split("="),re=q.shift().replace(/\+/g," "),W=q.join("=").replace(/\+/g," ");v.append(decodeURIComponent(re),decodeURIComponent(W))}}),v}function qe(g){var v=new h,k=g.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(q){return q.indexOf(`
|
|
1167
|
+
`)===0?q.substr(1,q.length):q}).forEach(function(q){var re=q.split(":"),W=re.shift().trim();if(W){var Oo=re.join(":").trim();try{v.append(W,Oo)}catch(Yn){console.warn("Response "+Yn.message)}}}),v}T.call(F.prototype);function Oe(g,v){if(!(this instanceof Oe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText===void 0?"":""+v.statusText,this.headers=new h(v.headers),this.url=v.url||"",this._initBody(g)}T.call(Oe.prototype),Oe.prototype.clone=function(){return new Oe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Oe.error=function(){var g=new Oe(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var Ye=[301,302,303,307,308];Oe.redirect=function(g,v){if(Ye.indexOf(v)===-1)throw new RangeError("Invalid status code");return new Oe(null,{status:v,headers:{location:g}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,k){this.message=v,this.name=k;var q=Error(v);this.stack=q.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function fe(g,v){return new Promise(function(k,q){var re=new F(g,v);if(re.signal&&re.signal.aborted)return q(new o.DOMException("Aborted","AbortError"));var W=new XMLHttpRequest;function Oo(){W.abort()}W.onload=function(){var he={statusText:W.statusText,headers:qe(W.getAllResponseHeaders()||"")};re.url.indexOf("file://")===0&&(W.status<200||W.status>599)?he.status=200:he.status=W.status,he.url="responseURL"in W?W.responseURL:he.headers.get("X-Request-URL");var zt="response"in W?W.response:W.responseText;setTimeout(function(){k(new Oe(zt,he))},0)},W.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},W.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},W.onabort=function(){setTimeout(function(){q(new o.DOMException("Aborted","AbortError"))},0)};function Yn(he){try{return he===""&&n.location.href?n.location.href:he}catch{return he}}if(W.open(re.method,Yn(re.url),!0),re.credentials==="include"?W.withCredentials=!0:re.credentials==="omit"&&(W.withCredentials=!1),"responseType"in W&&(a.blob?W.responseType="blob":a.arrayBuffer&&(W.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof h||n.Headers&&v.headers instanceof n.Headers)){var vs=[];Object.getOwnPropertyNames(v.headers).forEach(function(he){vs.push(p(he)),W.setRequestHeader(he,u(v.headers[he]))}),re.headers.forEach(function(he,zt){vs.indexOf(zt)===-1&&W.setRequestHeader(zt,he)})}else re.headers.forEach(function(he,zt){W.setRequestHeader(zt,he)});re.signal&&(re.signal.addEventListener("abort",Oo),W.onreadystatechange=function(){W.readyState===4&&re.signal.removeEventListener("abort",Oo)}),W.send(typeof re._bodyInit>"u"?null:re._bodyInit)})}return fe.polyfill=!0,n.fetch||(n.fetch=fe,n.Headers=h,n.Request=F,n.Response=Oe),o.Headers=h,o.Request=F,o.Response=Oe,o.fetch=fe,o}({})})(Ln);Ln.fetch.ponyfill=!0;delete Ln.fetch.polyfill;var _r=In.fetch?In:Ln;$t=_r.fetch;$t.default=_r.fetch;$t.fetch=_r.fetch;$t.Headers=_r.Headers;$t.Request=_r.Request;$t.Response=_r.Response;up.exports=$t});var fp=f(()=>{});var hp,yp,mp,gp,bp,xp,vp,Sp,Op,Cp,Ep,wp,Ap,Rp,Np,Tr,_p,Pn,Tp,Ip,Ir,Lr,de,ki=f(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(hp||(hp={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(yp||(yp={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(mp||(mp={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(gp||(gp={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(bp||(bp={}));(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(xp||(xp={}));(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"})(vp||(vp={}));(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"})(Sp||(Sp={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Op||(Op={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Cp||(Cp={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Ep||(Ep={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(wp||(wp={}));(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"})(Ap||(Ap={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Rp||(Rp={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Np||(Np={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Tr||(Tr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(_p||(_p={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Pn||(Pn={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Tp||(Tp={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ip||(Ip={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ir||(Ir={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Lr||(Lr={}));(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.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_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"})(de||(de={}))});var Lp,Pp,kp=f(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Lp||(Lp={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Pp||(Pp={}))});var dE,Dp=f(()=>{ki();dE={[de.PERSONAL_BOOK_SHARE_USER]:[de.PERSONAL_BOOK_USER],[de.HTML_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.PDF_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.KHUB_ADMIN]:[de.CONTENT_PUBLISHER],[de.ADMIN]:[de.KHUB_ADMIN,de.USERS_ADMIN,de.PORTAL_ADMIN],[de.DEVELOPER]:[de.BETA_USER,de.DEBUG_USER],[de.GENERATIVE_AI_EXPORT_USER]:[de.GENERATIVE_AI_USER]}});var Bp=f(()=>{});var _y,Di=f(()=>{_y=b(pp(),1);fp();ki();kp();Dp();Bp()});var Mp,$p=f(()=>{ca();Mp=t=>t??le});var Up=f(()=>{$p()});function Fp(t){var e,o,n,a,i;return((a=(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&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.openMode)===Pn.EXTERNAL}function kn(t){var e,o,n,a,i;if(Fp(t))return(a=(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&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.originUrl;switch(t.type){case Ir.MAP:return t.map.readerUrl;case Ir.DOCUMENT:return t.document.viewerUrl;case Ir.TOPIC:return t.topic.readerUrl}return""}function Wp(t,e){return Mp(e&&Fp(t)?"_blank":void 0)}var Pr,Bi=f(()=>{"use strict";Di();Up();Pr=class extends CustomEvent{constructor(e,o){super("ft-search-result-click",{detail:{result:e,rank:o},bubbles:!0,composed:!0})}}});var jp,Ty,$i,Ui=f(()=>{"use strict";jp=b(B()),Ty={},$i=jp.css`
|
|
1168
|
+
`});var Vp=f(()=>{"use strict"});var Mn,Iy,Kp,Zp=f(()=>{"use strict";Mn=b(N()),Iy={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)=>{var o;let n=+((o=e.payload)!==null&&o!==void 0?o:20);t.request.paging.perPage=isNaN(n)?20:(0,Mn.minmax)(1,n,40)},setPageNumber:(t,e)=>{t.request.paging.page=isNaN(e.payload)?1:Math.max(1,e.payload)},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=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},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var o;t.request.clusterSortCriterions=(o=e.payload)!==null&&o!==void 0?o:[]}},Kp=t=>Mn.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,suggestResults:void 0},reducers:Iy})});var $n,qp=f(()=>{"use strict";Mt();$n=class extends et{constructor(e){super(!0,e),this.sortObjectFields=(o,n)=>typeof n!="object"||n==null||Array.isArray(n)?n:Object.fromEntries(Object.entries(n).sort(([a],[i])=>a.localeCompare(i)))}async launchSearch(e){let o={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((n,a)=>n.id.localeCompare(a.id))};return this.cache.get("search-"+this.hash(o),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let o={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(o),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(o=>o.valueFilter==null?o:{...o,valueFilter:{...o.valueFilter,values:[...o.valueFilter.values].sort((n,a)=>n.localeCompare(a))}}).sort((o,n)=>o.key.localeCompare(n.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}}});var De,Yp,go,kr,Fi=f(()=>{"use strict";De=b(N());Zp();Di();qp();Yp=t=>t.request.virtualField===Tr.TITLE_ONLY&&t.request.scope===Lr.DOCUMENTS,go=class t extends Event{constructor(){super(t.eventName)}};go.eventName="search-context-clear-all-filters";kr=class t{static build(e,o){return new t(Kp(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new De.Debouncer(10),this.searchDebouncer=new De.Debouncer(100),this.launchSearch=n=>this.searchDebouncer.run(()=>this.fetchSearchData(n??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=n=>({...n.request,facets:this.facetIds.map(a=>({id:a}))}),this.suggestDebouncer=new De.Debouncer(300),this.launchSuggest=n=>this.suggestDebouncer.run(()=>this.fetchSuggestData(n??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=n=>({input:n.liveQuery,metadataFilters:n.request.metadataFilters,sort:n.request.sort,contentLocale:n.request.contentLocale,scope:n.request.scope}),this.service=o??new $n,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,De.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,De.watch)(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var o;let n=(o=this.store.getState().locales)!==null&&o!==void 0?o:[],a=this.store.getState().request.contentLocale;if(e!=a){if(n.length>0){let i=s=>n.some(l=>l.lang==s);i(e)||(e=i(a)?a:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let o=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Tr.TITLE_ONLY),this.store.actions.setRequestScope(Lr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Tr.EVERYWHERE),this.store.actions.setRequestScope(Lr.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return Yp(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new go)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,o){let n=this.facetIds.filter(a=>a!=e);o&&n.push(o),this.facetIds=n}get facetIds(){var e;let o=this.store.getState().request;return[...new Set([...o.facets.map(n=>n.id),...((e=o.metadataFilters)!==null&&e!==void 0?e:[]).map(n=>n.key)])]}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,o){this.setValueFilter(e,o)}setValueFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,valueFilter:{values:o,negative:!1}},i=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==a.key),a];this.setFilters(i)}setDateFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,dateFilter:{type:o}},i=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==a.key),a];this.setFilters(i)}removeDateFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.dateFilter),...o.filter(a=>a.dateFilter&&a.key!==e)];this.setFilters(n)}setRangeFilter(e,o,n){let a=this.store.getState().request.metadataFilters,i={key:e,rangeFilter:{from:o,to:n}},s=[...a.filter(l=>!l.rangeFilter),...a.filter(l=>l.rangeFilter&&l.key!==i.key),i];this.setFilters(s)}removeRangeFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.rangeFilter),...o.filter(a=>a.rangeFilter&&a.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var o,n,a;try{if((o=this.cancelableSearch)===null||o===void 0||o.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=(0,De.cancelable)(this.service.launchSearch(e));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.results(i.results),this.store.actions.facets(i.facets),this.store.actions.spellcheck(i.spellcheck);else{let s=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(i.results);this.store.actions.results(s)}this.store.actions.paging(i.paging)}}catch(i){i instanceof De.CanceledPromiseError||(console.error(i),(a=this.errorHandler)===null||a===void 0||a.call(this,i))}}async fetchSuggestData(e){var o;try{(o=this.cancelableSuggest)===null||o===void 0||o.cancel(),this.cancelableSuggest=(0,De.cancelable)(this.service.launchSuggest(e));let n=await this.cancelableSuggest;this.store.actions.suggestResults(n.suggestions)}catch(n){!(n instanceof De.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function Py(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Wi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Wi]):this.dispatchEvent(new Hi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Wi,Ly([(0,Xp.state)()],o.prototype,"stateManager",void 0),o}var Qp,Xp,Ly,Hi,Wi,Te,Ut=f(()=>{"use strict";Qp=b(N()),Xp=b(Q());Vp();Fi();Ly=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Hi=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Wi=Symbol("registerInterval");Te=class extends Py(Qp.FtLitElementRedux){}});var Jp,ht,Ge,ve,Un,Fn,Wn,oe,zi=f(()=>{"use strict";Jp=b(B()),ht=b(Q()),Ge=b(N());Ui();Ut();Mt();Ei();ve=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Un=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Fn=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Wn=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},oe=class extends Ge.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=kr.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.otherQueryParams={},this.addStore(D)}render(){return Jp.html`
|
|
1169
1169
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
1170
|
-
`}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.forceContentLocale(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("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Fn(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Wn(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 Un(e))}reloadSavedSearches(){ju.clearMySearches()}clear(){this.stateManager.clear()}};oe.elementDefinitions={};oe.styles=$i;ve([(0,Ge.redux)({store:D.name})],oe.prototype,"session",void 0);ve([(0,ht.property)()],oe.prototype,"query",void 0);ve([(0,ht.property)()],oe.prototype,"contentLocale",void 0);ve([(0,ht.property)({type:Number})],oe.prototype,"pageSize",void 0);ve([(0,ht.property)({type:Boolean})],oe.prototype,"searchInDocumentTitlesOnly",void 0);ve([(0,ht.property)()],oe.prototype,"scope",void 0);ve([(0,ht.property)()],oe.prototype,"virtualField",void 0);ve([(0,ht.property)({type:Boolean})],oe.prototype,"ignoreEmptyQuery",void 0);ve([(0,Ge.redux)({store:D.name})],oe.prototype,"openExternalDocumentInNewTab",void 0);ve([(0,Ge.jsonProperty)([])],oe.prototype,"filters",void 0);ve([(0,Ge.jsonProperty)([])],oe.prototype,"sort",void 0);ve([(0,Ge.jsonProperty)({})],oe.prototype,"otherQueryParams",void 0);ve([(0,Ge.redux)({store:"search"})],oe.prototype,"request",void 0);ve([(0,Ge.redux)({store:"search"})],oe.prototype,"paging",void 0);ve([(0,Ge.redux)({store:"search",selector:t=>t.spellcheck})],oe.prototype,"autocorrect",void 0);ve([(0,ht.property)({attribute:!1})],oe.prototype,"searchServiceProvider",void 0)});var
|
|
1170
|
+
`}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.forceContentLocale(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("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Fn(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Wn(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 Un(e))}reloadSavedSearches(){ju.clearMySearches()}clear(){this.stateManager.clear()}};oe.elementDefinitions={};oe.styles=$i;ve([(0,Ge.redux)({store:D.name})],oe.prototype,"session",void 0);ve([(0,ht.property)()],oe.prototype,"query",void 0);ve([(0,ht.property)()],oe.prototype,"contentLocale",void 0);ve([(0,ht.property)({type:Number})],oe.prototype,"pageSize",void 0);ve([(0,ht.property)({type:Boolean})],oe.prototype,"searchInDocumentTitlesOnly",void 0);ve([(0,ht.property)()],oe.prototype,"scope",void 0);ve([(0,ht.property)()],oe.prototype,"virtualField",void 0);ve([(0,ht.property)({type:Boolean})],oe.prototype,"ignoreEmptyQuery",void 0);ve([(0,Ge.redux)({store:D.name})],oe.prototype,"openExternalDocumentInNewTab",void 0);ve([(0,Ge.jsonProperty)([])],oe.prototype,"filters",void 0);ve([(0,Ge.jsonProperty)([])],oe.prototype,"sort",void 0);ve([(0,Ge.jsonProperty)({})],oe.prototype,"otherQueryParams",void 0);ve([(0,Ge.redux)({store:"search"})],oe.prototype,"request",void 0);ve([(0,Ge.redux)({store:"search"})],oe.prototype,"paging",void 0);ve([(0,Ge.redux)({store:"search",selector:t=>t.spellcheck})],oe.prototype,"autocorrect",void 0);ve([(0,ht.property)({attribute:!1})],oe.prototype,"searchServiceProvider",void 0)});var ef=f(()=>{"use strict"});var rf={};jt(rf,{ClearAllFiltersEvent:()=>go,FtSearchContext:()=>oe,FtSearchContextCssVariables:()=>Ty,FtSearchStateManager:()=>kr,LoadErrorEvent:()=>Un,SearchRequestChangeEvent:()=>Fn,SearchResultsChangeEvent:()=>Wn,searchInDocumentTitlesOnlySelector:()=>Yp,styles:()=>$i});var tf,of=f(()=>{"use strict";tf=b(N());zi();Ui();ef();zi();Fi();(0,tf.customElement)("ft-search-context")(oe)});var bo,nf=f(()=>{"use strict";ot();bo=rt.build("designedSearchInput")});var af,sf,cf=f(()=>{"use strict";af=b(B());oo();sf=af.css`
|
|
1171
1171
|
* {
|
|
1172
1172
|
box-sizing: border-box;
|
|
1173
1173
|
}
|
|
@@ -1209,11 +1209,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1209
1209
|
flex-grow: 1;
|
|
1210
1210
|
flex-shrink: 1;
|
|
1211
1211
|
}
|
|
1212
|
-
`});var Gi=Gt((
|
|
1212
|
+
`});var Gi=Gt((dw,lf)=>{lf.exports=ftGlobals.litRepeat});var xo,Dr,zn,df,Hn,ji,yt,uf=f(()=>{"use strict";xo=b(N()),Dr=b(B()),zn=b(Q());cf();df=b(Gi());Ho();No();st();Ut();Mt();Hn=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ji=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},yt=class extends Te{render(){let e=Nr.get();return Dr.html`
|
|
1213
1213
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
1214
1214
|
part="container"
|
|
1215
1215
|
@keydown=${o=>this.onSuggestKeyDown(o)}>
|
|
1216
|
-
${(0,
|
|
1216
|
+
${(0,df.repeat)(this.suggestResults||[],o=>o.value,o=>this.renderSuggestion(o,e))}
|
|
1217
1217
|
</div>
|
|
1218
1218
|
`}renderSuggestion(e,o){let n=Dr.html`
|
|
1219
1219
|
<ft-ripple></ft-ripple>
|
|
@@ -1235,10 +1235,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1235
1235
|
@click=${()=>this.onSuggestSelected(e.value)}>
|
|
1236
1236
|
${n}
|
|
1237
1237
|
</div>
|
|
1238
|
-
`}onSuggestKeyDown(e){var o,n,a,i,s,l;switch(e.key){case"ArrowUp":(a=(n=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(i=this.getFocusedSuggestionElement())===null||i===void 0?void 0:i.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),e.target.click())}onSuggestSelected(e){this.dispatchEvent(new ji(e))}getIcon(e){let o=e.type==="DOCUMENT"?
|
|
1238
|
+
`}onSuggestKeyDown(e){var o,n,a,i,s,l;switch(e.key){case"ArrowUp":(a=(n=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(i=this.getFocusedSuggestionElement())===null||i===void 0?void 0:i.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),e.target.click())}onSuggestSelected(e){this.dispatchEvent(new ji(e))}getIcon(e){let o=e.type==="DOCUMENT"?Le.file_format:Le.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?At.BOOK:At.ARTICLE;break;case"DOCUMENT":n=dd(e.mimeType,e.filenameExtension);break;case"TOPIC":n=At.TOPICS;break}return Dr.html`
|
|
1239
1239
|
<ft-icon .variant="${o}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
1240
|
-
`}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()}};yt.elementDefinitions={"ft-ripple":
|
|
1241
|
-
<div class="${(0,
|
|
1240
|
+
`}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()}};yt.elementDefinitions={"ft-ripple":X,"ft-typography":se,"ft-icon":Ne};yt.styles=[xo.wordWrap,sf];Hn([(0,xo.redux)()],yt.prototype,"request",void 0);Hn([(0,xo.redux)()],yt.prototype,"suggestResults",void 0);Hn([(0,zn.property)()],yt.prototype,"launchSearchPath",void 0);yt=Hn([(0,zn.customElement)("ft-search-input-suggestion")],yt)});var Vi,Br,gt,pf,mt,Se,Ki=f(()=>{"use strict";Vi=b(B()),Br=b(N());oo();Ut();ot();nf();gt=b(Q()),pf=b(Hr());uf();Vo();st();Mt();mt=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Se=class extends He(Te){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.useCustomSearchPath=!1,this.addI18nContext(bo)}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},a={...this.request,query:this.liveQuery},i=this.useCustomSearchPath?this.launchSearchPath:void 0,s=Nr.get().serializeToCurrentPageIfPossible(a,i);return Vi.html`
|
|
1241
|
+
<div class="${(0,pf.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
|
|
1242
1242
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
1243
1243
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
1244
1244
|
<input class="ft-search-input--input ft-typography--body2"
|
|
@@ -1278,57 +1278,57 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1278
1278
|
></ft-button>
|
|
1279
1279
|
</div>
|
|
1280
1280
|
</div>
|
|
1281
|
-
`}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.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);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;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(o=this.stateManager)===null||o===void 0||o.setQuery(e)}onSuggestionSelected(e){var o;(o=this.input)===null||o===void 0||o.focus(),this.launchSearch(e.detail)}};Se.elementDefinitions={"ft-search-input-suggestion":yt,"ft-button":
|
|
1282
|
-
`});var Yi,
|
|
1281
|
+
`}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.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);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;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(o=this.stateManager)===null||o===void 0||o.setQuery(e)}onSuggestionSelected(e){var o;(o=this.input)===null||o===void 0||o.focus(),this.launchSearch(e.detail)}};Se.elementDefinitions={"ft-search-input-suggestion":yt,"ft-button":Pe};Se.styles=[Ao,Br.noTextInputDefaultClearButton,$a];mt([(0,Br.redux)()],Se.prototype,"request",void 0);mt([(0,Br.redux)()],Se.prototype,"liveQuery",void 0);mt([(0,Br.redux)()],Se.prototype,"suggestResults",void 0);mt([(0,gt.state)()],Se.prototype,"forceCloseSuggestion",void 0);mt([(0,gt.property)()],Se.prototype,"launchSearchPath",void 0);mt([(0,gt.property)({type:Boolean})],Se.prototype,"useCustomSearchPath",void 0);mt([(0,gt.query)(".ft-search-input--input")],Se.prototype,"input",void 0);mt([(0,gt.query)("ft-search-input-suggestion")],Se.prototype,"suggestion",void 0);mt([(0,gt.query)('[part="launch-search-in-input"]')],Se.prototype,"launchSearchButton",void 0)});var ff=f(()=>{"use strict"});var yf={};jt(yf,{FtSearchInput:()=>Se,FtSearchInputCssVariables:()=>Y,styles:()=>$a});var hf,mf=f(()=>{"use strict";hf=b(N());Ki();oo();ff();Ki();(0,hf.customElement)("ft-search-input")(Se)});var gf,ky,Zi,qi=f(()=>{"use strict";gf=b(B()),ky={},Zi=gf.css`
|
|
1282
|
+
`});var Yi,bf=f(()=>{"use strict";ot();Yi=rt.fromGwt("designedActionBlockAriaLabels")});var Gn,Qi,xf,bt,Xi=f(()=>{"use strict";Gn=b(B()),Qi=b(N());qi();Vo();Ut();ot();bf();xf=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},bt=class extends He(Te){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Yi)}render(){return this.isLastPage?Gn.nothing:Gn.html`
|
|
1283
1283
|
<ft-button @click="${this.loadMore}">
|
|
1284
1284
|
${Yi.messages.searchPageLoadMore()}
|
|
1285
1285
|
</ft-button>
|
|
1286
|
-
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};bt.elementDefinitions={"ft-button":
|
|
1287
|
-
<ft-typography variant="body1" part="text">${(0,
|
|
1286
|
+
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};bt.elementDefinitions={"ft-button":Pe};bt.styles=Zi;xf([(0,Qi.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}})],bt.prototype,"currentPage",void 0);xf([(0,Qi.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}})],bt.prototype,"isLastPage",void 0)});var vf=f(()=>{"use strict"});var Of={};jt(Of,{FtSearchLoadMoreButton:()=>bt,FtSearchLoadMoreButtonCssVariables:()=>ky,styles:()=>Zi});var Sf,Cf=f(()=>{"use strict";Sf=b(N());Xi();qi();vf();Xi();(0,Sf.customElement)("ft-search-load-more-button")(bt)});function Dy(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(a){this.resultStateManager=a}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[es]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[es]):this.dispatchEvent(new ts)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=es,Ji([(0,jn.property)({attribute:!1})],o.prototype,"cluster",void 0),Ji([(0,jn.property)({attribute:!1})],o.prototype,"result",void 0),Ji([(0,jn.property)({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}var jn,Ji,ts,es,Mr,rs=f(()=>{"use strict";Ut();jn=b(Q()),Ji=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ts=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},es=Symbol("registerInterval");Mr=class extends Dy(Te){}});var os,Ef,nr,ns=f(()=>{"use strict";os=b(B());rs();Zo();Ef=b(Fo());st();nr=class extends Mr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?os.html`
|
|
1287
|
+
<ft-typography variant="body1" part="text">${(0,Ef.unsafeHTML)(e)}</ft-typography>
|
|
1288
1288
|
`:os.html`
|
|
1289
1289
|
<style>
|
|
1290
1290
|
:host {
|
|
1291
1291
|
display: none !important;
|
|
1292
1292
|
}
|
|
1293
1293
|
</style>
|
|
1294
|
-
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch"))}};nr.elementDefinitions={"ft-typography":se};nr.styles=Ua});var
|
|
1294
|
+
`}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch"))}};nr.elementDefinitions={"ft-typography":se};nr.styles=Ua});var wf=f(()=>{"use strict"});var Rf={};jt(Rf,{FtSearchResultAbstract:()=>nr,FtSearchResultAbstractCssVariables:()=>Ko,styles:()=>Ua});var Af,as=f(()=>{"use strict";Af=b(N());ns();Zo();wf();ns();(0,Af.customElement)("ft-search-result-abstract")(nr)});var vo,Nf,_f,By,Ft,is=f(()=>{"use strict";vo=b(B()),Nf=b(Q());rs();Yo();st();_f=b(Fo());Bi();By=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ft=class extends Mr{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():vo.html`
|
|
1295
1295
|
<a href="${kn(this.result)}"
|
|
1296
1296
|
@click=${this.onResultClick}
|
|
1297
|
-
target="${
|
|
1297
|
+
target="${Wp(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
|
|
1298
1298
|
part="link">
|
|
1299
1299
|
${this.renderTitle()}
|
|
1300
1300
|
</a>
|
|
1301
1301
|
`:vo.nothing}renderTitle(){return vo.html`
|
|
1302
|
-
<ft-typography variant="title" part="text">${(0,
|
|
1303
|
-
`}onResultClick(){this.dispatchEvent(new
|
|
1302
|
+
<ft-typography variant="title" part="text">${(0,_f.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
|
|
1303
|
+
`}onResultClick(){this.dispatchEvent(new Pr(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""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch"))}};Ft.elementDefinitions={"ft-typography":se};Ft.styles=Fa;By([(0,Nf.property)({type:Boolean})],Ft.prototype,"withoutLink",void 0)});var Tf=f(()=>{"use strict"});var Lf={};jt(Lf,{FtSearchResultTitle:()=>Ft,FtSearchResultTitleCssVariables:()=>qo,styles:()=>Fa});var If,ss=f(()=>{"use strict";If=b(N());is();Yo();Tf();is();(0,If.customElement)("ft-search-result-title")(Ft)});var Pf,My,cs,ls=f(()=>{"use strict";Pf=b(B()),My={},cs=Pf.css`
|
|
1304
1304
|
[part="no-results-message"] {
|
|
1305
1305
|
text-align: center;
|
|
1306
1306
|
padding: 12px;
|
|
1307
1307
|
}
|
|
1308
|
-
`});var
|
|
1308
|
+
`});var kf,Df,ds=f(()=>{"use strict";kf=b(B()),Df=kf.css`
|
|
1309
1309
|
a {
|
|
1310
1310
|
color: inherit;
|
|
1311
1311
|
text-decoration: inherit;
|
|
1312
1312
|
}
|
|
1313
|
-
`});var Vn,
|
|
1313
|
+
`});var Vn,Bf=f(()=>{"use strict";Vn=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 Mf,So,$f,ps,us,xt,fs=f(()=>{"use strict";Mf=b(B()),So=b(Q()),$f=b(N());ds();Bf();ps=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},us=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},xt=class extends $f.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new Vn(e=>this.onResultSelected(e))}render(){return Mf.html`
|
|
1314
1314
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
1315
|
-
`}onResultSelected(e){this.result=e,this.dispatchEvent(new us(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()}};xt.elementDefinitions={};xt.styles=
|
|
1315
|
+
`}onResultSelected(e){this.result=e,this.dispatchEvent(new us(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()}};xt.elementDefinitions={};xt.styles=Df;ps([(0,So.property)({attribute:!1})],xt.prototype,"cluster",void 0);ps([(0,So.state)()],xt.prototype,"result",void 0);ps([(0,So.property)()],xt.prototype,"index",void 0)});var Uf=f(()=>{"use strict"});var Ff,Wf=f(()=>{"use strict";Ff=b(N());fs();ds();Uf();fs();(0,Ff.customElement)("ft-search-result-context")(xt)});var $r,Hf,hs=f(()=>{"use strict";ot();$r=rt.build("searchResultsNumber"),Hf={results:"{0} results","results[\\=1]":"1 result"}});var Kn,zf,Zn,Wt,ar,Be,ys=f(()=>{"use strict";Kn=b(B()),zf=b(Gi()),Zn=b(Q()),Wt=b(N());ls();Ut();Wf();ss();as();ot();hs();ar=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Be=class extends He(Te){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>Kn.html`
|
|
1316
1316
|
<ft-search-result-title></ft-search-result-title>
|
|
1317
1317
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1318
1318
|
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext($r)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return Kn.html`
|
|
1319
1319
|
<ft-typography part="no-results-message" variant="body1">${$r.messages.results(0)}</ft-typography>
|
|
1320
|
-
`;let e=this.buildClusters();return(0,
|
|
1320
|
+
`;let e=this.buildClusters();return(0,zf.repeat)(e,o=>o.id,(o,n)=>{var a;return Kn.html`
|
|
1321
1321
|
<ft-search-result-context .cluster=${o} index="${n}"
|
|
1322
1322
|
@ft-search-result-cluster-change="${i=>this.onClusterChange(o.id,i.detail)}">
|
|
1323
1323
|
${this.renderResult((a=this.selectedResultByCluster[o.id])!==null&&a!==void 0?a:o.entries[0],n)}
|
|
1324
1324
|
</ft-search-result-context>
|
|
1325
|
-
`})}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))}contentAvailableCallback(e){var o;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector("ft-search-result-context");n&&Wt.scrollHelper.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}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,n;let a=(o=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&o!==void 0?o:[];return this.paging&&this.paging.page===1?a.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):a}clusterId(e){var o,n,a,i,s;return(i=(n=(o=e.map)===null||o===void 0?void 0:o.mapId)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.tocId)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.documentId}};Be.styles=cs;ar([(0,Zn.property)({type:String,attribute:"cluster-policy"})],Be.prototype,"clusterPolicy",void 0);ar([(0,Zn.property)({type:Boolean})],Be.prototype,"displayNoResultsMessage",void 0);ar([(0,Zn.property)({attribute:!1})],Be.prototype,"renderResult",void 0);ar([(0,Wt.jsonProperty)([])],Be.prototype,"clusterSortCriterion",void 0);ar([(0,Wt.redux)({selector:t=>({...t.request,paging:void 0})})],Be.prototype,"requestWithoutPaging",void 0);ar([(0,Wt.redux)({selector:t=>t.request.paging})],Be.prototype,"paging",void 0);ar([(0,Wt.redux)()],Be.prototype,"results",void 0)});var
|
|
1325
|
+
`})}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))}contentAvailableCallback(e){var o;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector("ft-search-result-context");n&&Wt.scrollHelper.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}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,n;let a=(o=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&o!==void 0?o:[];return this.paging&&this.paging.page===1?a.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):a}clusterId(e){var o,n,a,i,s;return(i=(n=(o=e.map)===null||o===void 0?void 0:o.mapId)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.tocId)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.documentId}};Be.styles=cs;ar([(0,Zn.property)({type:String,attribute:"cluster-policy"})],Be.prototype,"clusterPolicy",void 0);ar([(0,Zn.property)({type:Boolean})],Be.prototype,"displayNoResultsMessage",void 0);ar([(0,Zn.property)({attribute:!1})],Be.prototype,"renderResult",void 0);ar([(0,Wt.jsonProperty)([])],Be.prototype,"clusterSortCriterion",void 0);ar([(0,Wt.redux)({selector:t=>({...t.request,paging:void 0})})],Be.prototype,"requestWithoutPaging",void 0);ar([(0,Wt.redux)({selector:t=>t.request.paging})],Be.prototype,"paging",void 0);ar([(0,Wt.redux)()],Be.prototype,"results",void 0)});var Gf=f(()=>{"use strict"});var Vf={};jt(Vf,{FtSearchResults:()=>Be,FtSearchResultsCssVariables:()=>My,styles:()=>cs});var jf,Kf=f(()=>{"use strict";jf=b(N());ys();ls();Gf();ys();(0,jf.customElement)("ft-search-results")(Be)});var Zf,$y,ms,gs=f(()=>{"use strict";Zf=b(B()),$y={},ms=Zf.css`
|
|
1326
1326
|
|
|
1327
|
-
`});var qn,
|
|
1327
|
+
`});var qn,qf,Uy,Ht,bs=f(()=>{"use strict";qn=b(B()),qf=b(N());gs();Ut();ot();hs();st();Uy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ht=class extends He(Te){constructor(){super(),this.addI18nContext($r,Hf)}render(){return this.paging==null?qn.nothing:qn.html`
|
|
1328
1328
|
<ft-typography variant="body1">
|
|
1329
1329
|
${$r.messages.results(this.paging.totalClustersCount)}
|
|
1330
1330
|
</ft-typography>
|
|
1331
|
-
`}};Ht.elementDefinitions={"ft-typography":se};Ht.styles=ms;
|
|
1331
|
+
`}};Ht.elementDefinitions={"ft-typography":se};Ht.styles=ms;Uy([(0,qf.redux)()],Ht.prototype,"paging",void 0)});var Yf=f(()=>{"use strict"});var Xf={};jt(Xf,{FtSearchResultsNumber:()=>Ht,FtSearchResultsNumberCssVariables:()=>$y,styles:()=>ms});var Qf,Jf=f(()=>{"use strict";Qf=b(N());bs();gs();Yf();bs();(0,Qf.customElement)("ft-search-results-number")(Ht)});var eh=b(N());var Me=b(B()),xs=b(N());var Wa=b(B()),P=b(N());var Ts=b(B()),z=b(N());Vt();var V={padding:z.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:z.FtCssVariableFactory.extend("--ft-card-border-radius","",z.designSystemVariables.borderRadiusM),borderStyle:z.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:z.FtCssVariableFactory.extend("--ft-card-border-color","",z.designSystemVariables.colorOutline),hoverBorderColor:z.FtCssVariableFactory.extend("--ft-card-hover-border-color","",z.designSystemVariables.colorPrimary),outlineStyle:z.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:z.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:z.FtCssVariableFactory.extend("--ft-card-outline-color","",z.designSystemVariables.colorPrimary),selectedOutlineStyle:z.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:z.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:z.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",z.designSystemVariables.colorPrimary),selectedBorderRadius:z.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",z.designSystemVariables.borderRadiusM),colorSurface:z.FtCssVariableFactory.extend("--ft-card-background-color","",z.designSystemVariables.colorSurface),colorOnSurfaceMedium:z.FtCssVariableFactory.extend("--ft-card-content-color","",z.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:z.FtCssVariableFactory.extend("--ft-card-title-color","",z.designSystemVariables.colorOnSurfaceHigh),elevation02:z.FtCssVariableFactory.extend("--ft-card-elevation","",z.designSystemVariables.elevation02),elevation04:z.FtCssVariableFactory.extend("--ft-card-selected-elevation","",z.designSystemVariables.elevation04)},Is=Ts.css`
|
|
1332
1332
|
:host {
|
|
1333
1333
|
display: block;
|
|
1334
1334
|
}
|
|
@@ -1406,7 +1406,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1406
1406
|
#action {
|
|
1407
1407
|
grid-area: actions;
|
|
1408
1408
|
}
|
|
1409
|
-
`;oo();Zo();Vt();Yo();var ge={searchFieldBackgroundColor:
|
|
1409
|
+
`;oo();Zo();Vt();Yo();var ge={searchFieldBackgroundColor:P.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",P.designSystemVariables.colorSurface),searchFieldBorderColor:P.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",P.designSystemVariables.colorOutline),searchFieldTextColor:P.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",P.designSystemVariables.colorOnSurface),searchFieldBorderRadius:P.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",P.designSystemVariables.borderRadiusS),searchButtonColor:P.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",P.designSystemVariables.colorPrimary),resultsNumberColor:P.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",P.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:P.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",P.designSystemVariables.colorSurface),resultBorderColor:P.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",P.designSystemVariables.colorOutline),resultBorderRadius:P.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",P.designSystemVariables.borderRadiusS),resultTitleTextColor:P.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",P.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:P.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",P.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:P.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",P.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:P.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:P.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",P.designSystemVariables.colorPrimary),resultHoverBorderColor:P.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",P.designSystemVariables.colorPrimary)},_d=Wa.css`
|
|
1410
1410
|
.ft-search-in-doc--container {
|
|
1411
1411
|
display: flex;
|
|
1412
1412
|
flex-direction: column;
|
|
@@ -1414,11 +1414,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1414
1414
|
}
|
|
1415
1415
|
|
|
1416
1416
|
ft-search-input {
|
|
1417
|
-
${(0,
|
|
1418
|
-
${(0,
|
|
1419
|
-
${(0,
|
|
1420
|
-
${(0,
|
|
1421
|
-
${(0,
|
|
1417
|
+
${(0,P.setVariable)(Y.colorSurface,ge.searchFieldBackgroundColor)};
|
|
1418
|
+
${(0,P.setVariable)(Y.colorOutline,ge.searchFieldBorderColor)};
|
|
1419
|
+
${(0,P.setVariable)(Y.colorOnSurface,ge.searchFieldTextColor)};
|
|
1420
|
+
${(0,P.setVariable)(Y.borderRadius,ge.searchFieldBorderRadius)};
|
|
1421
|
+
${(0,P.setVariable)(Y.buttonColor,ge.searchButtonColor)};
|
|
1422
1422
|
}
|
|
1423
1423
|
|
|
1424
1424
|
ft-search-results-number {
|
|
@@ -1432,21 +1432,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1432
1432
|
ft-search-load-more-button {
|
|
1433
1433
|
margin: auto;
|
|
1434
1434
|
}
|
|
1435
|
-
`,
|
|
1435
|
+
`,Td=Wa.css`
|
|
1436
1436
|
ft-card {
|
|
1437
1437
|
margin-bottom: 8px;
|
|
1438
|
-
${(0,
|
|
1439
|
-
${(0,
|
|
1440
|
-
${(0,
|
|
1441
|
-
${(0,
|
|
1442
|
-
${(0,
|
|
1443
|
-
${(0,
|
|
1444
|
-
${(0,
|
|
1438
|
+
${(0,P.setVariable)(V.elevation04,"none")};
|
|
1439
|
+
${(0,P.setVariable)(V.elevation02,"none")};
|
|
1440
|
+
${(0,P.setVariable)(V.borderStyle,"solid")};
|
|
1441
|
+
${(0,P.setVariable)(V.borderRadius,P.designSystemVariables.borderRadiusS)};
|
|
1442
|
+
${(0,P.setVariable)(V.colorSurface,ge.resultBackgroundColor)};
|
|
1443
|
+
${(0,P.setVariable)(V.borderColor,ge.resultBorderColor)};
|
|
1444
|
+
${(0,P.setVariable)(V.borderRadius,ge.resultBorderRadius)};
|
|
1445
1445
|
}
|
|
1446
1446
|
|
|
1447
1447
|
ft-search-result-title {
|
|
1448
1448
|
color: ${ge.resultTitleTextColor};
|
|
1449
|
-
${(0,
|
|
1449
|
+
${(0,P.setVariable)(qo.highlightBackgroundColor,ge.resultHighlightBackgroundColor)};
|
|
1450
1450
|
}
|
|
1451
1451
|
|
|
1452
1452
|
.breadcrumb {
|
|
@@ -1455,12 +1455,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1455
1455
|
|
|
1456
1456
|
ft-search-result-abstract {
|
|
1457
1457
|
color: ${ge.resultContentTextColor};
|
|
1458
|
-
${(0,
|
|
1458
|
+
${(0,P.setVariable)(Ko.highlightBackgroundColor,ge.resultHighlightBackgroundColor)};
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
1461
|
ft-card:hover {
|
|
1462
|
-
${(0,
|
|
1463
|
-
${(0,
|
|
1462
|
+
${(0,P.setVariable)(V.hoverBorderColor,ge.resultHoverBorderColor)};
|
|
1463
|
+
${(0,P.setVariable)(w.color,ge.resultHoverBackgroundColor)};
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
1466
|
.result-container {
|
|
@@ -1473,8 +1473,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1473
1473
|
text-decoration: none;
|
|
1474
1474
|
color: inherit;
|
|
1475
1475
|
}
|
|
1476
|
-
`;ot();var lp=b(N()),dp=b(
|
|
1477
|
-
<div id="container" part="container" class=${(0,
|
|
1476
|
+
`;ot();var lp=b(N()),dp=b(Q());var cp;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(cp||(cp={}));var Ry=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Pi=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Li=Symbol("registerInterval");function Ny(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[Li]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Li]):this.dispatchEvent(new Pi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Li,Ry([(0,dp.state)()],o.prototype,"stateManager",void 0),o}var Tn=class extends Ny(lp.FtLitElementRedux){};var sr=b(Q());Bi();var Dn=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};ot();var Mi=rt.build("designedReaderSearchInDocument");var Gp=b(N());var yo=b(B()),mo=b(Q()),Hp=b(N());No();st();var zp=b(Hr()),Bn=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ze=class extends Hp.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 yo.html`
|
|
1477
|
+
<div id="container" part="container" class=${(0,zp.classMap)(e)}>
|
|
1478
1478
|
${this.clickable?yo.html`
|
|
1479
1479
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
1480
1480
|
`:yo.nothing}
|
|
@@ -1491,8 +1491,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1491
1491
|
</ft-typography>
|
|
1492
1492
|
</div>
|
|
1493
1493
|
</div>
|
|
1494
|
-
`}};ze.elementDefinitions={"ft-ripple":
|
|
1495
|
-
<style> ${
|
|
1494
|
+
`}};ze.elementDefinitions={"ft-ripple":X,"ft-typography":se};ze.styles=Is;Bn([(0,mo.property)()],ze.prototype,"title",void 0);Bn([(0,mo.property)({type:Boolean})],ze.prototype,"clickable",void 0);Bn([(0,mo.property)({type:Boolean})],ze.prototype,"selected",void 0);Bn([(0,mo.property)({type:Boolean})],ze.prototype,"noHeader",void 0);(0,Gp.customElement)("ft-card")(ze);var ir=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},$e=class t extends He(Tn){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(Mi)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,o){var n;return Me.html`
|
|
1495
|
+
<style> ${Td}</style>
|
|
1496
1496
|
<a href="${kn(e)}" @click="${()=>this.onLinkClick(e,o)} }">
|
|
1497
1497
|
<ft-card clickable noheader>
|
|
1498
1498
|
<div class="result-container">
|
|
@@ -1530,7 +1530,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1530
1530
|
</slot>
|
|
1531
1531
|
</div>
|
|
1532
1532
|
</ft-search-context>
|
|
1533
|
-
`:Me.nothing}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(o=>e.has(o))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,o){this.dispatchEvent(new
|
|
1533
|
+
`:Me.nothing}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(o=>e.has(o))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,o){this.dispatchEvent(new Pr(e,o))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(of(),rf)).then(({FtSearchContext:o})=>e.define("ft-search-context",o)),Promise.resolve().then(()=>(mf(),yf)).then(({FtSearchInput:o})=>e.define("ft-search-input",o)),Promise.resolve().then(()=>(Cf(),Of)).then(({FtSearchLoadMoreButton:o})=>e.define("ft-search-load-more-button",o)),Promise.resolve().then(()=>(as(),Rf)).then(({FtSearchResultAbstract:o})=>e.define("ft-search-result-abstract",o)),Promise.resolve().then(()=>(ss(),Lf)).then(({FtSearchResultTitle:o})=>e.define("ft-search-result-title",o)),Promise.resolve().then(()=>(Kf(),Vf)).then(({FtSearchResults:o})=>e.define("ft-search-results",o)),Promise.resolve().then(()=>(Jf(),Xf)).then(({FtSearchResultsNumber:o})=>e.define("ft-search-results-number",o))}};$e.elementDefinitions={"ft-card":ze};$e.styles=_d;ir([(0,xs.redux)()],$e.prototype,"map",void 0);ir([(0,xs.redux)()],$e.prototype,"searchInDocumentQuery",void 0);ir([(0,sr.query)("ft-search-results")],$e.prototype,"searchResults",void 0);ir([(0,sr.property)({type:Boolean})],$e.prototype,"hideResultTitle",void 0);ir([(0,sr.property)({type:Boolean})],$e.prototype,"hideResultBreadcrumb",void 0);ir([(0,sr.property)({type:Boolean})],$e.prototype,"hideResultAbstract",void 0);ir([(0,sr.property)({type:Boolean})],$e.prototype,"hideResultsNumber",void 0);(0,eh.customElement)("ft-reader-search-in-document")($e);})();
|
|
1534
1534
|
/*! Bundled license information:
|
|
1535
1535
|
|
|
1536
1536
|
lit-html/lit-html.js:
|