@fluid-topics/ft-reader-search-in-document 1.2.67 → 1.2.68

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.
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var xv=Object.create;var ms=Object.defineProperty;var Sv=Object.getOwnPropertyDescriptor;var Cv=Object.getOwnPropertyNames;var Ov=Object.getPrototypeOf,wv=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var So=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Co=(t,e)=>{for(var r in e)ms(t,r,{get:e[r],enumerable:!0})},Ev=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Cv(e))!wv.call(t,n)&&n!==r&&ms(t,n,{get:()=>e[n],enumerable:!(i=Sv(e,n))||i.enumerable});return t};var u=(t,e,r)=>(r=t!=null?xv(Ov(t)):{},Ev(e||!t||!t.__esModule?ms(r,"default",{value:t,enumerable:!0}):r,t));var x=So((c0,$d)=>{$d.exports=ftGlobals.wcUtils});var A=So((d0,Td)=>{Td.exports=ftGlobals.lit});var Fd,_e,Pd,w,_d,Nd,Bd,Dd,Md,Lr=p(()=>{"use strict";Fd=u(A()),_e=u(x()),Pd=_e.FtCssVariableFactory.extend("--ft-ripple-color","",_e.designSystemVariables.colorContent),w={color:Pd,backgroundColor:_e.FtCssVariableFactory.extend("--ft-ripple-background-color","",Pd),opacityContentOnSurfacePressed:_e.FtCssVariableFactory.external(_e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:_e.FtCssVariableFactory.external(_e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:_e.FtCssVariableFactory.external(_e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:_e.FtCssVariableFactory.external(_e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:_e.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},_d=_e.FtCssVariableFactory.extend("--ft-ripple-color","",_e.designSystemVariables.colorPrimary),Nd={color:_d,backgroundColor:_e.FtCssVariableFactory.extend("--ft-ripple-background-color","",_d)},Bd=_e.FtCssVariableFactory.extend("--ft-ripple-color","",_e.designSystemVariables.colorSecondary),Dd={color:Bd,backgroundColor:_e.FtCssVariableFactory.extend("--ft-ripple-background-color","",Bd)},Md=Fd.css`
1
+ "use strict";(()=>{var Sx=Object.create;var ms=Object.defineProperty;var Cx=Object.getOwnPropertyDescriptor;var Ox=Object.getOwnPropertyNames;var wx=Object.getPrototypeOf,Ex=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var Co=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Oo=(t,e)=>{for(var r in e)ms(t,r,{get:e[r],enumerable:!0})},Rx=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Ox(e))!Ex.call(t,n)&&n!==r&&ms(t,n,{get:()=>e[n],enumerable:!(i=Cx(e,n))||i.enumerable});return t};var u=(t,e,r)=>(r=t!=null?Sx(wx(t)):{},Rx(e||!t||!t.__esModule?ms(r,"default",{value:t,enumerable:!0}):r,t));var v=Co((d0,Td)=>{Td.exports=ftGlobals.wcUtils});var A=Co((p0,$d)=>{$d.exports=ftGlobals.lit});var Fd,_e,Pd,w,_d,Nd,Bd,Dd,Md,Ir=p(()=>{"use strict";Fd=u(A()),_e=u(v()),Pd=_e.FtCssVariableFactory.extend("--ft-ripple-color","",_e.designSystemVariables.colorContent),w={color:Pd,backgroundColor:_e.FtCssVariableFactory.extend("--ft-ripple-background-color","",Pd),opacityContentOnSurfacePressed:_e.FtCssVariableFactory.external(_e.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:_e.FtCssVariableFactory.external(_e.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:_e.FtCssVariableFactory.external(_e.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:_e.FtCssVariableFactory.external(_e.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:_e.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},_d=_e.FtCssVariableFactory.extend("--ft-ripple-color","",_e.designSystemVariables.colorPrimary),Nd={color:_d,backgroundColor:_e.FtCssVariableFactory.extend("--ft-ripple-background-color","",_d)},Bd=_e.FtCssVariableFactory.extend("--ft-ripple-color","",_e.designSystemVariables.colorSecondary),Dd={color:Bd,backgroundColor:_e.FtCssVariableFactory.extend("--ft-ripple-background-color","",Bd)},Md=Fd.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -110,9 +110,9 @@
110
110
  opacity: ${w.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `});var U=So((h0,Hd)=>{Hd.exports=ftGlobals.litDecorators});var $r,Gr,o,J=p(()=>{$r=u(A(),1),Gr=t=>typeof t=="string"?(0,$r.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=c=>Gr(c??n),s=$r.css`var(${Gr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>$r.css`var(${Gr(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=c=>i.get(c??n),s=$r.css`var(${Gr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>$r.css`var(${Gr(e)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Gr(a??e.lastResortDefaultValue()),n=$r.css`var(${Gr(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>$r.css`var(${Gr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var l,Wd,Vd,jd,Gd,Kd,qd,Zd,Qd,Yd,Rv,Xd,Jd,ep,tp,rp,op,ip,np,ap,sp,lp,cp,dp,pp,up,fp,An,ee=p(()=>{J();l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Wd={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Vd={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},jd={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Gd={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Kd={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},qd={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Zd={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Qd={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Yd={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Rv={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Xd={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Jd={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ep={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},tp={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},rp={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},op={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ip={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},np={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ap={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},sp={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},lp={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},cp={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},dp={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},pp={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},up={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},fp={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},An={display:Wd,"title-1":Vd,"title-2":jd,"title-3":Gd,"body-1-regular":Kd,"body-1-medium":qd,"body-1-semibold":Zd,"body-2-regular":Qd,"body-2-medium":Yd,"body-2-medium-underline":Rv,"body-2-semibold":Xd,"label-1-medium":Jd,"label-1-semibold":ep,"label-1-bold":tp,"label-2-medium":rp,"label-2-semibold":op,"label-2-bold":ip,"caption-1-medium":np,"caption-1-semibold":ap,"caption-1-bold":sp,"caption-2-medium":lp,"caption-2-semibold":cp,"caption-2-bold":dp,"caption-3-medium":pp,"caption-3-semibold":up,"caption-3-bold":fp}});var d,se=p(()=>{J();ee();d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
114
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var m,hp=p(()=>{J();ee();se();m={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var k0,mp=p(()=>{J();ee();se();k0={iconSize:o.extend("--ft-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",l.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",l.spacing2)}});var P0,gp=p(()=>{J();ee();se();P0={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",l.spacing1)}});var F0,yp=p(()=>{J();ee();se();F0={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)}});var te,bp=p(()=>{J();ee();se();te={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var K0,vp=p(()=>{J();ee();se();K0={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var X0,xp=p(()=>{J();ee();se();X0={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var oS,Sp=p(()=>{J();ee();se();oS={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var lS,Cp=p(()=>{J();ee();se();lS={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var fS,Op=p(()=>{J();ee();se();fS={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var bS,wp=p(()=>{J();ee();se();bS={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)}});var CS,Ep=p(()=>{J();ee();CS={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var AS,Rp=p(()=>{J();ee();se();AS={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var TS,Ap=p(()=>{J();ee();se();TS={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)}});var DS,kp=p(()=>{J();ee();se();DS={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var HS,Ip=p(()=>{J();ee();se();HS={largeFieldHorizontalPadding:o.extend("--ft-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ft-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ft-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ft-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var KS,Lp=p(()=>{J();ee();se();KS={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusS)}});var XS,$p=p(()=>{J();ee();se();XS={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var oC,Tp=p(()=>{J();ee();se();oC={largeFieldHorizontalPadding:o.extend("--ft-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ft-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ft-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var lC,Pp=p(()=>{J();ee();se();lC={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusS)}});var fC,_p=p(()=>{J();ee();se();fC={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ft-popover-gap","",l.spacing2),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ft-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:o.extend("--ft-popover-multi-section-vertical-gap","",l.spacing6)}});var bC,Np=p(()=>{J();ee();se();bC={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var OC,Bp=p(()=>{J();ee();se();OC={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var AC,Dp=p(()=>{J();ee();AC={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)}});var $C,Fp=p(()=>{J();ee();$C={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var BC,Mp=p(()=>{J();ee();se();BC={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var UC,zp=p(()=>{J();ee();se();UC={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var GC,Up=p(()=>{J();ee();se();GC={color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)}});var YC,Hp=p(()=>{J();ee();se();YC={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var rO,Wp=p(()=>{J();ee();se();rO={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var sO,Vp=p(()=>{J();ee();se();sO={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var uO,jp=p(()=>{J();ee();se();uO={nodeHeight:o.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ft-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:o.extend("--ft-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:o.extend("--ft-tree-list-node-root-padding-left","",l.spacing3),nodeChildPaddingLeft:o.extend("--ft-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:o.extend("--ft-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ft-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",d.contentInfoPrimary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",d.contentInfoPrimary),nodeSelectedBackgroundColor:o.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",d.contentInfoPrimary),nodeDescendantOfSelectedBackgroundColor:o.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ft-tree-list-header-section-padding-left","",l.spacing3),headerSectionPaddingRight:o.extend("--ft-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:o.extend("--ft-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:o.extend("--ft-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:o.extend("--ft-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",d.contentInfoPrimary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",d.borderGlobalSubtle),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ft-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ft-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary)}});var Gp=p(()=>{ee();se();hp();mp();gp();yp();bp();vp();xp();Sp();Cp();Op();wp();Ep();Rp();Ap();kp();Ip();Lp();$p();Tp();Pp();_p();Np();Bp();Dp();Fp();Mp();zp();Up();Hp();Wp();Vp();jp()});var kn,st,Kp=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(kn||(kn={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(st||(st={}))});var ne=p(()=>{J();Gp();Kp()});function qp(t){let e=An[t];return In.css`
115
- .ft-typography--${(0,In.unsafeCSS)(t)} {
113
+ `});var z=Co((m0,Hd)=>{Hd.exports=ftGlobals.litDecorators});var Tr,Gr,o,J=p(()=>{Tr=u(A(),1),Gr=t=>typeof t=="string"?(0,Tr.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=c=>Gr(c??n),s=Tr.css`var(${Gr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>Tr.css`var(${Gr(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=c=>i.get(c??n),s=Tr.css`var(${Gr(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=c=>Tr.css`var(${Gr(e)}, ${a(c)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Gr(a??e.lastResortDefaultValue()),n=Tr.css`var(${Gr(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>Tr.css`var(${Gr(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var l,Wd,Vd,jd,Gd,Kd,qd,Zd,Qd,Yd,Ax,Xd,Jd,ep,tp,rp,op,ip,np,ap,sp,lp,cp,dp,pp,up,fp,An,ee=p(()=>{J();l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Wd={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Vd={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},jd={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Gd={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Kd={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},qd={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Zd={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Qd={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Yd={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ax={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Xd={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Jd={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ep={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},tp={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},rp={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},op={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ip={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},np={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ap={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},sp={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},lp={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},cp={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},dp={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},pp={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},up={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},fp={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},An={display:Wd,"title-1":Vd,"title-2":jd,"title-3":Gd,"body-1-regular":Kd,"body-1-medium":qd,"body-1-semibold":Zd,"body-2-regular":Qd,"body-2-medium":Yd,"body-2-medium-underline":Ax,"body-2-semibold":Xd,"label-1-medium":Jd,"label-1-semibold":ep,"label-1-bold":tp,"label-2-medium":rp,"label-2-semibold":op,"label-2-bold":ip,"caption-1-medium":np,"caption-1-semibold":ap,"caption-1-bold":sp,"caption-2-medium":lp,"caption-2-semibold":cp,"caption-2-bold":dp,"caption-3-medium":pp,"caption-3-semibold":up,"caption-3-bold":fp}});var d,se=p(()=>{J();ee();d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
114
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)}});var m,hp=p(()=>{J();ee();se();m={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var L0,mp=p(()=>{J();ee();se();L0={iconSize:o.extend("--ft-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",l.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",l.spacing2)}});var _0,gp=p(()=>{J();ee();se();_0={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",l.spacing1)}});var M0,yp=p(()=>{J();ee();se();M0={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)}});var te,bp=p(()=>{J();ee();se();te={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var q0,xp=p(()=>{J();ee();se();q0={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",l.colorBrand100)}});var J0,vp=p(()=>{J();ee();se();J0={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var iS,Sp=p(()=>{J();ee();se();iS={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var cS,Cp=p(()=>{J();ee();se();cS={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var hS,Op=p(()=>{J();ee();se();hS={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",l.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var xS,wp=p(()=>{J();ee();se();xS={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",l.spacing4)}});var OS,Ep=p(()=>{J();ee();OS={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",l.spacing6)}});var kS,Rp=p(()=>{J();ee();se();kS={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",l.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)}});var PS,Ap=p(()=>{J();ee();se();PS={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)}});var FS,kp=p(()=>{J();ee();se();FS={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var WS,Lp=p(()=>{J();ee();se();WS={largeFieldHorizontalPadding:o.extend("--ft-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ft-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ft-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ft-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)}});var qS,Ip=p(()=>{J();ee();se();qS={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusS)}});var JS,Tp=p(()=>{J();ee();se();JS={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",l.shadowElevation02)}});var iC,$p=p(()=>{J();ee();se();iC={largeFieldHorizontalPadding:o.extend("--ft-combobox-single-select-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ft-combobox-single-select-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ft-combobox-single-select-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-combobox-single-select-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-combobox-single-select-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)}});var cC,Pp=p(()=>{J();ee();se();cC={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusS)}});var hC,_p=p(()=>{J();ee();se();hC={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ft-popover-gap","",l.spacing2),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ft-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:o.extend("--ft-popover-multi-section-vertical-gap","",l.spacing6)}});var xC,Np=p(()=>{J();ee();se();xC={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)}});var wC,Bp=p(()=>{J();ee();se();wC={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)}});var kC,Dp=p(()=>{J();ee();kC={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",l.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",l.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",l.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",l.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",l.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",l.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",l.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",l.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",l.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",l.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",l.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",l.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",l.colorCyan200)}});var $C,Fp=p(()=>{J();ee();$C={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)}});var DC,Mp=p(()=>{J();ee();se();DC={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var HC,Up=p(()=>{J();ee();se();HC={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)}});var KC,zp=p(()=>{J();ee();se();KC={color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)}});var XC,Hp=p(()=>{J();ee();se();XC={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)}});var oO,Wp=p(()=>{J();ee();se();oO={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)}});var lO,Vp=p(()=>{J();ee();se();lO={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ft-reorderable-list-gap","",l.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var fO,jp=p(()=>{J();ee();se();fO={nodeHeight:o.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ft-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:o.extend("--ft-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:o.extend("--ft-tree-list-node-root-padding-left","",l.spacing3),nodeChildPaddingLeft:o.extend("--ft-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:o.extend("--ft-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ft-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",d.contentInfoPrimary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",d.contentInfoPrimary),nodeSelectedBackgroundColor:o.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",d.contentInfoPrimary),nodeDescendantOfSelectedBackgroundColor:o.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ft-tree-list-header-section-padding-left","",l.spacing3),headerSectionPaddingRight:o.extend("--ft-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:o.extend("--ft-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:o.extend("--ft-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:o.extend("--ft-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",d.contentInfoPrimary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",d.borderGlobalSubtle),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ft-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ft-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary)}});var Gp=p(()=>{ee();se();hp();mp();gp();yp();bp();xp();vp();Sp();Cp();Op();wp();Ep();Rp();Ap();kp();Lp();Ip();Tp();$p();Pp();_p();Np();Bp();Dp();Fp();Mp();Up();zp();Hp();Wp();Vp();jp()});var kn,st,Kp=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(kn||(kn={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(st||(st={}))});var ne=p(()=>{J();Gp();Kp()});function qp(t){let e=An[t];return Ln.css`
115
+ .ft-typography--${(0,Ln.unsafeCSS)(t)} {
116
116
  font-family: ${e.fontFamily};
117
117
  font-size: ${e.fontSize};
118
118
  font-weight: ${e.fontWeight};
@@ -120,17 +120,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
120
120
  line-height: ${e.lineHeight};
121
121
  text-transform: ${e.textCase};
122
122
  }
123
- `}var In,Zp=p(()=>{"use strict";In=u(A());ne()});var Dt,I,Qp,Pr,L,Qo,Yo,Xo,Jo,Tr,Fe,Zt,ei,ti,ur,Yp,Xp,Jp,eu,tu,Kr,qr,ru,ou,iu,nu,au,Qt=p(()=>{"use strict";Dt=u(A()),I=u(x());ne();Zp();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();Qp=I.FtCssVariableFactory.extend("--ft-typography-font-family","",I.designSystemVariables.titleFont),Pr=I.FtCssVariableFactory.extend("--ft-typography-font-family","",I.designSystemVariables.contentFont),L={fontFamily:Pr,fontSize:I.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:I.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:I.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:I.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:I.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Qo={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Qp),fontSize:I.FtCssVariableFactory.extend("--ft-typography-title-font-size","",L.fontSize,"20px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",L.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",L.letterSpacing,"0.15px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-title-line-height","",L.lineHeight,"1.2"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",L.textTransform,"inherit")},Yo={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Qp),fontSize:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",L.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",L.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",L.letterSpacing,"0.105px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",L.lineHeight,"1.7"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",L.textTransform,"inherit")},Xo={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Pr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",L.fontSize,"16px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",L.fontWeight,"600"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",L.letterSpacing,"0.144px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",L.lineHeight,"1.5"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",L.textTransform,"inherit")},Jo={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Pr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",L.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",L.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",L.letterSpacing,"0.098px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",L.lineHeight,"1.7"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",L.textTransform,"inherit")},Tr={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Pr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",L.fontSize,"16px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",L.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",L.letterSpacing,"0.496px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",L.lineHeight,"1.5"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",L.textTransform,"inherit")},Fe={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Pr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",L.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",L.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",L.letterSpacing,"0.252px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",L.lineHeight,"1.4"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",L.textTransform,"inherit")},Zt={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Pr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",L.fontSize,"12px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",L.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",L.letterSpacing,"0.396px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",L.lineHeight,"1.33"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",L.textTransform,"inherit")},ei={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Pr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",L.fontSize,"10px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",L.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",L.letterSpacing,"0.33px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",L.lineHeight,"1.6"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",L.textTransform,"inherit")},ti={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Pr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",L.fontSize,"10px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",L.fontWeight,"normal"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",L.letterSpacing,"1.5px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",L.lineHeight,"1.6"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",L.textTransform,"uppercase")},ur={fontFamily:I.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Pr),fontSize:I.FtCssVariableFactory.extend("--ft-typography-button-font-size","",L.fontSize,"14px"),fontWeight:I.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",L.fontWeight,"600"),letterSpacing:I.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",L.letterSpacing,"1.246px"),lineHeight:I.FtCssVariableFactory.extend("--ft-typography-button-line-height","",L.lineHeight,"1.15"),textTransform:I.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",L.textTransform,"uppercase")},Yp=Dt.css`
123
+ `}var Ln,Zp=p(()=>{"use strict";Ln=u(A());ne()});var Dt,L,Qp,Pr,I,Yo,Xo,Jo,ei,$r,Fe,Zt,ti,ri,ur,Yp,Xp,Jp,eu,tu,Kr,qr,ru,ou,iu,nu,au,Qt=p(()=>{"use strict";Dt=u(A()),L=u(v());ne();Zp();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();ne();Qp=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.titleFont),Pr=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.contentFont),I={fontFamily:Pr,fontSize:L.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:L.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:L.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:L.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:L.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Yo={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Qp),fontSize:L.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},Xo={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Qp),fontSize:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},Jo={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Pr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},ei={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Pr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},$r={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Pr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},Fe={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Pr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},Zt={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Pr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},ti={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Pr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},ri={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Pr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},ur={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Pr),fontSize:L.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:L.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:L.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:L.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:L.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},Yp=Dt.css`
124
124
  .ft-typography--title {
125
- font-family: ${Qo.fontFamily};
126
- font-size: ${Qo.fontSize};
127
- font-weight: ${Qo.fontWeight};
128
- letter-spacing: ${Qo.letterSpacing};
129
- line-height: ${Qo.lineHeight};
130
- text-transform: ${Qo.textTransform};
131
- }
132
- `,Xp=Dt.css`
133
- .ft-typography--title-dense {
134
125
  font-family: ${Yo.fontFamily};
135
126
  font-size: ${Yo.fontSize};
136
127
  font-weight: ${Yo.fontWeight};
@@ -138,8 +129,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
138
129
  line-height: ${Yo.lineHeight};
139
130
  text-transform: ${Yo.textTransform};
140
131
  }
141
- `,Jp=Dt.css`
142
- .ft-typography--subtitle1 {
132
+ `,Xp=Dt.css`
133
+ .ft-typography--title-dense {
143
134
  font-family: ${Xo.fontFamily};
144
135
  font-size: ${Xo.fontSize};
145
136
  font-weight: ${Xo.fontWeight};
@@ -147,8 +138,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
147
138
  line-height: ${Xo.lineHeight};
148
139
  text-transform: ${Xo.textTransform};
149
140
  }
150
- `,eu=Dt.css`
151
- .ft-typography--subtitle2 {
141
+ `,Jp=Dt.css`
142
+ .ft-typography--subtitle1 {
152
143
  font-family: ${Jo.fontFamily};
153
144
  font-size: ${Jo.fontSize};
154
145
  font-weight: ${Jo.fontWeight};
@@ -156,15 +147,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
156
147
  line-height: ${Jo.lineHeight};
157
148
  text-transform: ${Jo.textTransform};
158
149
  }
150
+ `,eu=Dt.css`
151
+ .ft-typography--subtitle2 {
152
+ font-family: ${ei.fontFamily};
153
+ font-size: ${ei.fontSize};
154
+ font-weight: ${ei.fontWeight};
155
+ letter-spacing: ${ei.letterSpacing};
156
+ line-height: ${ei.lineHeight};
157
+ text-transform: ${ei.textTransform};
158
+ }
159
159
 
160
160
  `,tu=Dt.css`
161
161
  .ft-typography--body1 {
162
- font-family: ${Tr.fontFamily};
163
- font-size: ${Tr.fontSize};
164
- font-weight: ${Tr.fontWeight};
165
- letter-spacing: ${Tr.letterSpacing};
166
- line-height: ${Tr.lineHeight};
167
- text-transform: ${Tr.textTransform};
162
+ font-family: ${$r.fontFamily};
163
+ font-size: ${$r.fontSize};
164
+ font-weight: ${$r.fontWeight};
165
+ letter-spacing: ${$r.letterSpacing};
166
+ line-height: ${$r.lineHeight};
167
+ text-transform: ${$r.textTransform};
168
168
  }
169
169
  `,Kr=Dt.css`
170
170
  .ft-typography--body2 {
@@ -186,15 +186,6 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
186
186
  }
187
187
  `,ru=Dt.css`
188
188
  .ft-typography--breadcrumb {
189
- font-family: ${ei.fontFamily};
190
- font-size: ${ei.fontSize};
191
- font-weight: ${ei.fontWeight};
192
- letter-spacing: ${ei.letterSpacing};
193
- line-height: ${ei.lineHeight};
194
- text-transform: ${ei.textTransform};
195
- }
196
- `,ou=Dt.css`
197
- .ft-typography--overline {
198
189
  font-family: ${ti.fontFamily};
199
190
  font-size: ${ti.fontSize};
200
191
  font-weight: ${ti.fontWeight};
@@ -202,6 +193,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
202
193
  line-height: ${ti.lineHeight};
203
194
  text-transform: ${ti.textTransform};
204
195
  }
196
+ `,ou=Dt.css`
197
+ .ft-typography--overline {
198
+ font-family: ${ri.fontFamily};
199
+ font-size: ${ri.fontSize};
200
+ font-weight: ${ri.fontWeight};
201
+ letter-spacing: ${ri.letterSpacing};
202
+ line-height: ${ri.lineHeight};
203
+ text-transform: ${ri.textTransform};
204
+ }
205
205
  `,iu=Dt.css`
206
206
  .ft-typography--button {
207
207
  font-family: ${ur.fontFamily};
@@ -215,7 +215,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
215
215
  .ft-typography {
216
216
  vertical-align: inherit;
217
217
  }
218
- `,au=[Object.keys(An).map(t=>qp(t))]});var su,Di,Se,lu,Fi=p(()=>{"use strict";su=u(A()),Di=u(x()),Se={color:Di.FtCssVariableFactory.extend("--ft-loader-color","",Di.designSystemVariables.colorPrimary),size:Di.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},lu=su.css`
218
+ `,au=[Object.keys(An).map(t=>qp(t))]});var su,Di,Se,lu,Fi=p(()=>{"use strict";su=u(A()),Di=u(v()),Se={color:Di.FtCssVariableFactory.extend("--ft-loader-color","",Di.designSystemVariables.colorPrimary),size:Di.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},lu=su.css`
219
219
  :host {
220
220
  line-height: 0;
221
221
  }
@@ -284,7 +284,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
284
284
  transform: translate(calc(0.35 * ${Se.size}), 0);
285
285
  }
286
286
  }
287
- `});var cu,Yt,Le,du,Oo=p(()=>{"use strict";cu=u(A()),Yt=u(x()),Le={size:Yt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Yt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Yt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Yt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Yt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},du=[cu.css`
287
+ `});var cu,Yt,Ie,du,wo=p(()=>{"use strict";cu=u(A()),Yt=u(v()),Ie={size:Yt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Yt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Yt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Yt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Yt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Yt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},du=[cu.css`
288
288
  :host, i.ft-icon {
289
289
  display: inline-flex;
290
290
  align-items: center;
@@ -293,14 +293,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
293
293
  }
294
294
 
295
295
  :host {
296
- width: ${Le.size};
297
- height: ${Le.size};
296
+ width: ${Ie.size};
297
+ height: ${Ie.size};
298
298
  }
299
299
 
300
300
  i.ft-icon {
301
301
  width: 100%;
302
302
  height: 100%;
303
- font-size: ${Le.size};
303
+ font-size: ${Ie.size};
304
304
  line-height: 1;
305
305
  font-weight: normal;
306
306
  text-transform: none;
@@ -311,28 +311,28 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
311
311
  text-rendering: auto;
312
312
  -webkit-font-smoothing: antialiased;
313
313
  -moz-osx-font-smoothing: grayscale;
314
- vertical-align: ${Le.verticalAlign};
314
+ vertical-align: ${Ie.verticalAlign};
315
315
  }
316
316
 
317
317
  i.ft-icon.ft-icon--fluid-topics {
318
- font-family: ${Le.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
318
+ font-family: ${Ie.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
319
319
 
320
320
  /* Ugly fix because font is broken */
321
- font-size: calc(0.75 * ${Le.size});
322
- line-height: ${Le.size};
321
+ font-size: calc(0.75 * ${Ie.size});
322
+ line-height: ${Ie.size};
323
323
  position: relative;
324
324
  top: -4%;
325
325
  justify-content: center;
326
326
  }
327
327
 
328
328
  .ft-icon--file-format {
329
- font-family: ${Le.fileFormatFontFamily}, ft-mime, sans-serif;
329
+ font-family: ${Ie.fileFormatFontFamily}, ft-mime, sans-serif;
330
330
  }
331
331
 
332
332
  .ft-icon--material {
333
- font-family: ${Le.materialFontFamily}, "Material Icons", sans-serif;
333
+ font-family: ${Ie.materialFontFamily}, "Material Icons", sans-serif;
334
334
  }
335
- `,Yt.noTextSelect]});var fu,j,pu,H,uu,gs,fr,hu,wo=p(()=>{"use strict";fu=u(A()),j=u(x());Lr();Qt();Fi();Oo();pu=j.FtCssVariableFactory.extend("--ft-button-color","",j.designSystemVariables.colorPrimary),H={backgroundColor:j.FtCssVariableFactory.extend("--ft-button-background-color","",j.designSystemVariables.colorSurface),borderRadius:j.FtCssVariableFactory.extend("--ft-button-border-radius","",j.designSystemVariables.borderRadiusL),color:pu,fontSize:j.FtCssVariableFactory.extend("--ft-button-font-size","",ur.fontSize),iconSize:j.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:j.FtCssVariableFactory.extend("--ft-button-ripple-color","",pu),verticalPadding:j.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:j.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:j.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:j.FtCssVariableFactory.external(j.designSystemVariables.colorOpacityDisabled,"Design system")},uu=j.FtCssVariableFactory.extend("--ft-button-primary-color","",j.FtCssVariableFactory.extend("--ft-button-color","",j.designSystemVariables.colorOnPrimary)),gs={backgroundColor:j.FtCssVariableFactory.extend("--ft-button-primary-background-color","",j.FtCssVariableFactory.extend("--ft-button-background-color","",j.designSystemVariables.colorPrimary)),color:uu,rippleColor:j.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",uu)},fr={borderRadius:j.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",j.FtCssVariableFactory.extend("--ft-button-border-radius","",j.designSystemVariables.borderRadiusM)),verticalPadding:j.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:j.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:j.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},hu=[fu.css`
335
+ `,Yt.noTextSelect]});var fu,j,pu,H,uu,gs,fr,hu,Eo=p(()=>{"use strict";fu=u(A()),j=u(v());Ir();Qt();Fi();wo();pu=j.FtCssVariableFactory.extend("--ft-button-color","",j.designSystemVariables.colorPrimary),H={backgroundColor:j.FtCssVariableFactory.extend("--ft-button-background-color","",j.designSystemVariables.colorSurface),borderRadius:j.FtCssVariableFactory.extend("--ft-button-border-radius","",j.designSystemVariables.borderRadiusL),color:pu,fontSize:j.FtCssVariableFactory.extend("--ft-button-font-size","",ur.fontSize),iconSize:j.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:j.FtCssVariableFactory.extend("--ft-button-ripple-color","",pu),verticalPadding:j.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:j.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:j.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:j.FtCssVariableFactory.external(j.designSystemVariables.colorOpacityDisabled,"Design system")},uu=j.FtCssVariableFactory.extend("--ft-button-primary-color","",j.FtCssVariableFactory.extend("--ft-button-color","",j.designSystemVariables.colorOnPrimary)),gs={backgroundColor:j.FtCssVariableFactory.extend("--ft-button-primary-background-color","",j.FtCssVariableFactory.extend("--ft-button-background-color","",j.designSystemVariables.colorPrimary)),color:uu,rippleColor:j.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",uu)},fr={borderRadius:j.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",j.FtCssVariableFactory.extend("--ft-button-border-radius","",j.designSystemVariables.borderRadiusM)),verticalPadding:j.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:j.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:j.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},hu=[fu.css`
336
336
  :host {
337
337
  display: inline-block;
338
338
  max-width: 100%;
@@ -375,7 +375,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
375
375
 
376
376
  --ft-button-internal-line-height: max(calc(${H.fontSize} + 2px), ${H.iconSize});
377
377
  --ft-button-internal-color: ${H.color};
378
- ${(0,j.setVariable)(Le.size,H.iconSize)};
378
+ ${(0,j.setVariable)(Ie.size,H.iconSize)};
379
379
  ${(0,j.setVariable)(w.color,H.rippleColor)};
380
380
 
381
381
  border-radius: ${H.borderRadius};
@@ -469,7 +469,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
469
469
  ${(0,j.setVariable)(Se.size,H.iconSize)};
470
470
  ${(0,j.setVariable)(Se.color,"var(--ft-button-internal-color)")};
471
471
  }
472
- `,j.noTextSelect]});var ft=So((Dw,mu)=>{mu.exports=ftGlobals.litClassMap});var gu,qe,yu,Mi,ht,W,ys=p(()=>{"use strict";gu=u(A()),qe=u(U()),yu=u(ft()),Mi=u(x());Lr();ht=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},W=class extends Mi.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 Mi.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 Mi.Debouncer(10),this.moveRipple=e=>{var r,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return gu.html`
472
+ `,j.noTextSelect]});var ft=Co((Fw,mu)=>{mu.exports=ftGlobals.litClassMap});var gu,qe,yu,Mi,ht,W,ys=p(()=>{"use strict";gu=u(A()),qe=u(z()),yu=u(ft()),Mi=u(v());Ir();ht=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},W=class extends Mi.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 Mi.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 Mi.Debouncer(10),this.moveRipple=e=>{var r,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return gu.html`
473
473
  <style>
474
474
  .ft-ripple .ft-ripple--effect {
475
475
  left: ${this.originX}px;
@@ -480,17 +480,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.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 r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}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 r=(...c)=>f=>{c.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};W.elementDefinitions={};W.styles=Md;ht([(0,qe.property)({type:Boolean})],W.prototype,"primary",void 0);ht([(0,qe.property)({type:Boolean})],W.prototype,"secondary",void 0);ht([(0,qe.property)({type:Boolean})],W.prototype,"unbounded",void 0);ht([(0,qe.property)({type:Boolean})],W.prototype,"activated",void 0);ht([(0,qe.property)({type:Boolean})],W.prototype,"selected",void 0);ht([(0,qe.property)({type:Boolean})],W.prototype,"disabled",void 0);ht([(0,qe.state)()],W.prototype,"hovered",void 0);ht([(0,qe.state)()],W.prototype,"focused",void 0);ht([(0,qe.state)()],W.prototype,"pressed",void 0);ht([(0,qe.state)()],W.prototype,"rippling",void 0);ht([(0,qe.state)()],W.prototype,"originX",void 0);ht([(0,qe.state)()],W.prototype,"originY",void 0);ht([(0,qe.query)(".ft-ripple")],W.prototype,"ripple",void 0);ht([(0,qe.query)(".ft-ripple--effect")],W.prototype,"rippleEffect",void 0)});var bu=p(()=>{"use strict"});var vu,mt=p(()=>{"use strict";vu=u(x());ys();ys();Lr();bu();(0,vu.customElement)("ft-ripple")(W)});function Tu(t,e){if(!Es(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return xu!==void 0?xu.createHTML(e):e}function ri(t,e,r=t,i){if(e===Hi)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=Ui(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=ri(t,n._$AS(t,e.values),n,i)),e}var ws,Ln,xu,Ru,Zr,Au,Av,Ao,$n,Ui,Es,kv,bs,zi,Su,Cu,Eo,Ou,wu,ku,Rs,Iu,Lu,$u,Hi,Ne,Eu,Ro,Iv,Wi,vs,Tn,oi,xs,Ss,Cs,Os,Lv,As=p(()=>{ws=globalThis,Ln=ws.trustedTypes,xu=Ln?Ln.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ru="$lit$",Zr=`lit$${Math.random().toFixed(9).slice(2)}$`,Au="?"+Zr,Av=`<${Au}>`,Ao=document,$n=()=>Ao.createComment(""),Ui=t=>t===null||typeof t!="object"&&typeof t!="function",Es=Array.isArray,kv=t=>Es(t)||typeof t?.[Symbol.iterator]=="function",bs=`[
484
- \f\r]`,zi=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Su=/-->/g,Cu=/>/g,Eo=RegExp(`>|${bs}(?:([^\\s"'>=/]+)(${bs}*=${bs}*(?:[^
485
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ou=/'/g,wu=/"/g,ku=/^(?:script|style|textarea|title)$/i,Rs=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Iu=Rs(1),Lu=Rs(2),$u=Rs(3),Hi=Symbol.for("lit-noChange"),Ne=Symbol.for("lit-nothing"),Eu=new WeakMap,Ro=Ao.createTreeWalker(Ao,129);Iv=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=zi;for(let c=0;c<r;c++){let f=t[c],h,b,y=-1,v=0;for(;v<f.length&&(s.lastIndex=v,b=s.exec(f),b!==null);)v=s.lastIndex,s===zi?b[1]==="!--"?s=Su:b[1]!==void 0?s=Cu:b[2]!==void 0?(ku.test(b[2])&&(n=RegExp("</"+b[2],"g")),s=Eo):b[3]!==void 0&&(s=Eo):s===Eo?b[0]===">"?(s=n??zi,y=-1):b[1]===void 0?y=-2:(y=s.lastIndex-b[2].length,h=b[1],s=b[3]===void 0?Eo:b[3]==='"'?wu:Ou):s===wu||s===Ou?s=Eo:s===Su||s===Cu?s=zi:(s=Eo,n=void 0);let O=s===Eo&&t[c+1].startsWith("/>")?" ":"";a+=s===zi?f+Av:y>=0?(i.push(h),f.slice(0,y)+Ru+f.slice(y)+Zr+O):f+Zr+(y===-2?c:O)}return[Tu(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Wi=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,c=e.length-1,f=this.parts,[h,b]=Iv(e,r);if(this.el=t.createElement(h,i),Ro.currentNode=this.el.content,r===2||r===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(n=Ro.nextNode())!==null&&f.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let y of n.getAttributeNames())if(y.endsWith(Ru)){let v=b[s++],O=n.getAttribute(y).split(Zr),C=/([.?@])?(.*)/.exec(v);f.push({type:1,index:a,name:C[2],strings:O,ctor:C[1]==="."?xs:C[1]==="?"?Ss:C[1]==="@"?Cs:oi}),n.removeAttribute(y)}else y.startsWith(Zr)&&(f.push({type:6,index:a}),n.removeAttribute(y));if(ku.test(n.tagName)){let y=n.textContent.split(Zr),v=y.length-1;if(v>0){n.textContent=Ln?Ln.emptyScript:"";for(let O=0;O<v;O++)n.append(y[O],$n()),Ro.nextNode(),f.push({type:2,index:++a});n.append(y[v],$n())}}}else if(n.nodeType===8)if(n.data===Au)f.push({type:2,index:a});else{let y=-1;for(;(y=n.data.indexOf(Zr,y+1))!==-1;)f.push({type:7,index:a}),y+=Zr.length-1}a++}}static createElement(e,r){let i=Ao.createElement("template");return i.innerHTML=e,i}};vs=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??Ao).importNode(r,!0);Ro.currentNode=n;let a=Ro.nextNode(),s=0,c=0,f=i[0];for(;f!==void 0;){if(s===f.index){let h;f.type===2?h=new Tn(a,a.nextSibling,this,e):f.type===1?h=new f.ctor(a,f.name,f.strings,this,e):f.type===6&&(h=new Os(a,this,e)),this._$AV.push(h),f=i[++c]}s!==f?.index&&(a=Ro.nextNode(),s++)}return Ro.currentNode=Ao,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},Tn=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=Ne,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ri(this,e,r),Ui(e)?e===Ne||e==null||e===""?(this._$AH!==Ne&&this._$AR(),this._$AH=Ne):e!==this._$AH&&e!==Hi&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):kv(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==Ne&&Ui(this._$AH)?this._$AA.nextSibling.data=e:this.T(Ao.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Wi.createElement(Tu(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new vs(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Eu.get(e.strings);return r===void 0&&Eu.set(e.strings,r=new Wi(e)),r}k(e){Es(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.O($n()),this.O($n()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},oi=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=Ne,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Ne}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=ri(this,e,r,0),s=!Ui(e)||e!==this._$AH&&e!==Hi,s&&(this._$AH=e);else{let c=e,f,h;for(e=a[0],f=0;f<a.length-1;f++)h=ri(this,c[i+f],r,f),h===Hi&&(h=this._$AH[f]),s||=!Ui(h)||h!==this._$AH[f],h===Ne?e=Ne:e!==Ne&&(e+=(h??"")+a[f+1]),this._$AH[f]=h}s&&!n&&this.j(e)}j(e){e===Ne?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},xs=class extends oi{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Ne?void 0:e}},Ss=class extends oi{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Ne)}},Cs=class extends oi{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=ri(this,e,r,0)??Ne)===Hi)return;let i=this._$AH,n=e===Ne&&i!==Ne||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Ne&&(i===Ne||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Os=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){ri(this,e)}},Lv=ws.litHtmlPolyfillSupport;Lv?.(Wi,Tn),(ws.litHtmlVersions??=[]).push("3.3.0")});var _u,$v,ks,Pu,Is,Ls,Kw,qw,Nu=p(()=>{As();_u=Symbol.for(""),$v=t=>{if(t?.r===_u)return t?._$litStatic$},ks=t=>({_$litStatic$:t,r:_u}),Pu=new Map,Is=t=>(e,...r)=>{let i=r.length,n,a,s=[],c=[],f,h=0,b=!1;for(;h<i;){for(f=e[h];h<i&&(a=r[h],(n=$v(a))!==void 0);)f+=n+e[++h],b=!0;h!==i&&c.push(a),s.push(f),h++}if(h===i&&s.push(e[i]),b){let y=s.join("$$lit$$");(e=Pu.get(y))===void 0&&(s.raw=s,Pu.set(y,e=s)),r=c}return t(e,...r)},Ls=Is(Iu),Kw=Is(Lu),qw=Is($u)});var Bu=p(()=>{Nu()});var Ft,Pn=p(()=>{"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"})(Ft||(Ft={}))});var $s,Fu,Du,G,Ts=p(()=>{"use strict";Bu();$s=u(U()),Fu=u(x());Pn();Qt();Du=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},G=class extends Fu.FtLitElement{constructor(){super(...arguments),this.variant=Ft.body1}render(){return this.element?Ls`
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 r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.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,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}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 r=(...c)=>f=>{c.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};W.elementDefinitions={};W.styles=Md;ht([(0,qe.property)({type:Boolean})],W.prototype,"primary",void 0);ht([(0,qe.property)({type:Boolean})],W.prototype,"secondary",void 0);ht([(0,qe.property)({type:Boolean})],W.prototype,"unbounded",void 0);ht([(0,qe.property)({type:Boolean})],W.prototype,"activated",void 0);ht([(0,qe.property)({type:Boolean})],W.prototype,"selected",void 0);ht([(0,qe.property)({type:Boolean})],W.prototype,"disabled",void 0);ht([(0,qe.state)()],W.prototype,"hovered",void 0);ht([(0,qe.state)()],W.prototype,"focused",void 0);ht([(0,qe.state)()],W.prototype,"pressed",void 0);ht([(0,qe.state)()],W.prototype,"rippling",void 0);ht([(0,qe.state)()],W.prototype,"originX",void 0);ht([(0,qe.state)()],W.prototype,"originY",void 0);ht([(0,qe.query)(".ft-ripple")],W.prototype,"ripple",void 0);ht([(0,qe.query)(".ft-ripple--effect")],W.prototype,"rippleEffect",void 0)});var bu=p(()=>{"use strict"});var xu,mt=p(()=>{"use strict";xu=u(v());ys();ys();Ir();bu();(0,xu.customElement)("ft-ripple")(W)});function $u(t,e){if(!Es(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return vu!==void 0?vu.createHTML(e):e}function oi(t,e,r=t,i){if(e===Hi)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=zi(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=oi(t,n._$AS(t,e.values),n,i)),e}var ws,In,vu,Ru,Zr,Au,kx,ko,Tn,zi,Es,Lx,bs,Ui,Su,Cu,Ro,Ou,wu,ku,Rs,Lu,Iu,Tu,Hi,Ne,Eu,Ao,Ix,Wi,xs,$n,ii,vs,Ss,Cs,Os,Tx,As=p(()=>{ws=globalThis,In=ws.trustedTypes,vu=In?In.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ru="$lit$",Zr=`lit$${Math.random().toFixed(9).slice(2)}$`,Au="?"+Zr,kx=`<${Au}>`,ko=document,Tn=()=>ko.createComment(""),zi=t=>t===null||typeof t!="object"&&typeof t!="function",Es=Array.isArray,Lx=t=>Es(t)||typeof t?.[Symbol.iterator]=="function",bs=`[
484
+ \f\r]`,Ui=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Su=/-->/g,Cu=/>/g,Ro=RegExp(`>|${bs}(?:([^\\s"'>=/]+)(${bs}*=${bs}*(?:[^
485
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ou=/'/g,wu=/"/g,ku=/^(?:script|style|textarea|title)$/i,Rs=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Lu=Rs(1),Iu=Rs(2),Tu=Rs(3),Hi=Symbol.for("lit-noChange"),Ne=Symbol.for("lit-nothing"),Eu=new WeakMap,Ao=ko.createTreeWalker(ko,129);Ix=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=Ui;for(let c=0;c<r;c++){let f=t[c],h,b,y=-1,x=0;for(;x<f.length&&(s.lastIndex=x,b=s.exec(f),b!==null);)x=s.lastIndex,s===Ui?b[1]==="!--"?s=Su:b[1]!==void 0?s=Cu:b[2]!==void 0?(ku.test(b[2])&&(n=RegExp("</"+b[2],"g")),s=Ro):b[3]!==void 0&&(s=Ro):s===Ro?b[0]===">"?(s=n??Ui,y=-1):b[1]===void 0?y=-2:(y=s.lastIndex-b[2].length,h=b[1],s=b[3]===void 0?Ro:b[3]==='"'?wu:Ou):s===wu||s===Ou?s=Ro:s===Su||s===Cu?s=Ui:(s=Ro,n=void 0);let O=s===Ro&&t[c+1].startsWith("/>")?" ":"";a+=s===Ui?f+kx:y>=0?(i.push(h),f.slice(0,y)+Ru+f.slice(y)+Zr+O):f+Zr+(y===-2?c:O)}return[$u(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},Wi=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,c=e.length-1,f=this.parts,[h,b]=Ix(e,r);if(this.el=t.createElement(h,i),Ao.currentNode=this.el.content,r===2||r===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(n=Ao.nextNode())!==null&&f.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let y of n.getAttributeNames())if(y.endsWith(Ru)){let x=b[s++],O=n.getAttribute(y).split(Zr),C=/([.?@])?(.*)/.exec(x);f.push({type:1,index:a,name:C[2],strings:O,ctor:C[1]==="."?vs:C[1]==="?"?Ss:C[1]==="@"?Cs:ii}),n.removeAttribute(y)}else y.startsWith(Zr)&&(f.push({type:6,index:a}),n.removeAttribute(y));if(ku.test(n.tagName)){let y=n.textContent.split(Zr),x=y.length-1;if(x>0){n.textContent=In?In.emptyScript:"";for(let O=0;O<x;O++)n.append(y[O],Tn()),Ao.nextNode(),f.push({type:2,index:++a});n.append(y[x],Tn())}}}else if(n.nodeType===8)if(n.data===Au)f.push({type:2,index:a});else{let y=-1;for(;(y=n.data.indexOf(Zr,y+1))!==-1;)f.push({type:7,index:a}),y+=Zr.length-1}a++}}static createElement(e,r){let i=ko.createElement("template");return i.innerHTML=e,i}};xs=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??ko).importNode(r,!0);Ao.currentNode=n;let a=Ao.nextNode(),s=0,c=0,f=i[0];for(;f!==void 0;){if(s===f.index){let h;f.type===2?h=new $n(a,a.nextSibling,this,e):f.type===1?h=new f.ctor(a,f.name,f.strings,this,e):f.type===6&&(h=new Os(a,this,e)),this._$AV.push(h),f=i[++c]}s!==f?.index&&(a=Ao.nextNode(),s++)}return Ao.currentNode=ko,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},$n=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=Ne,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=oi(this,e,r),zi(e)?e===Ne||e==null||e===""?(this._$AH!==Ne&&this._$AR(),this._$AH=Ne):e!==this._$AH&&e!==Hi&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Lx(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==Ne&&zi(this._$AH)?this._$AA.nextSibling.data=e:this.T(ko.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Wi.createElement($u(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new xs(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Eu.get(e.strings);return r===void 0&&Eu.set(e.strings,r=new Wi(e)),r}k(e){Es(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.O(Tn()),this.O(Tn()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ii=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=Ne,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Ne}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=oi(this,e,r,0),s=!zi(e)||e!==this._$AH&&e!==Hi,s&&(this._$AH=e);else{let c=e,f,h;for(e=a[0],f=0;f<a.length-1;f++)h=oi(this,c[i+f],r,f),h===Hi&&(h=this._$AH[f]),s||=!zi(h)||h!==this._$AH[f],h===Ne?e=Ne:e!==Ne&&(e+=(h??"")+a[f+1]),this._$AH[f]=h}s&&!n&&this.j(e)}j(e){e===Ne?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},vs=class extends ii{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Ne?void 0:e}},Ss=class extends ii{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Ne)}},Cs=class extends ii{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=oi(this,e,r,0)??Ne)===Hi)return;let i=this._$AH,n=e===Ne&&i!==Ne||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Ne&&(i===Ne||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Os=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){oi(this,e)}},Tx=ws.litHtmlPolyfillSupport;Tx?.(Wi,$n),(ws.litHtmlVersions??=[]).push("3.3.0")});var _u,$x,ks,Pu,Ls,Is,qw,Zw,Nu=p(()=>{As();_u=Symbol.for(""),$x=t=>{if(t?.r===_u)return t?._$litStatic$},ks=t=>({_$litStatic$:t,r:_u}),Pu=new Map,Ls=t=>(e,...r)=>{let i=r.length,n,a,s=[],c=[],f,h=0,b=!1;for(;h<i;){for(f=e[h];h<i&&(a=r[h],(n=$x(a))!==void 0);)f+=n+e[++h],b=!0;h!==i&&c.push(a),s.push(f),h++}if(h===i&&s.push(e[i]),b){let y=s.join("$$lit$$");(e=Pu.get(y))===void 0&&(s.raw=s,Pu.set(y,e=s)),r=c}return t(e,...r)},Is=Ls(Lu),qw=Ls(Iu),Zw=Ls(Tu)});var Bu=p(()=>{Nu()});var Ft,Pn=p(()=>{"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"})(Ft||(Ft={}))});var Ts,Fu,Du,G,$s=p(()=>{"use strict";Bu();Ts=u(z()),Fu=u(v());Pn();Qt();Du=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},G=class extends Fu.FtLitElement{constructor(){super(...arguments),this.variant=Ft.body1}render(){return this.element?Is`
486
486
  <${ks(this.element)}
487
487
  part="text"
488
488
  class="ft-typography ft-typography--${this.variant}">
489
489
  <slot></slot>
490
490
  </${ks(this.element)}>
491
- `:Ls`
491
+ `:Is`
492
492
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
493
- `}};G.styles=[Yp,Xp,Jp,eu,tu,Kr,qr,ru,ou,iu,nu,...au];Du([(0,$s.property)()],G.prototype,"element",void 0);Du([(0,$s.property)()],G.prototype,"variant",void 0)});var Mu,Be=p(()=>{"use strict";Mu=u(x());Ts();Ts();Qt();Pn();(0,Mu.customElement)("ft-typography")(G)});var zu,_r,hr,Uu,_n=p(()=>{"use strict";zu=u(A()),_r=u(x()),hr={distance:_r.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:_r.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:_r.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:_r.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:_r.FtCssVariableFactory.external(_r.designSystemVariables.borderRadiusS,"Design system"),maxWidth:_r.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Uu=zu.css`
493
+ `}};G.styles=[Yp,Xp,Jp,eu,tu,Kr,qr,ru,ou,iu,nu,...au];Du([(0,Ts.property)()],G.prototype,"element",void 0);Du([(0,Ts.property)()],G.prototype,"variant",void 0)});var Mu,Be=p(()=>{"use strict";Mu=u(v());$s();$s();Qt();Pn();(0,Mu.customElement)("ft-typography")(G)});var Uu,_r,hr,zu,_n=p(()=>{"use strict";Uu=u(A()),_r=u(v()),hr={distance:_r.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:_r.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:_r.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:_r.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:_r.FtCssVariableFactory.external(_r.designSystemVariables.borderRadiusS,"Design system"),maxWidth:_r.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},zu=Uu.css`
494
494
  .ft-tooltip--container {
495
495
  display: block;
496
496
  }
@@ -519,7 +519,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
519
519
  position: relative;
520
520
  word-break: break-word;
521
521
  }
522
- `});function Ns(t,e,r){return ju(t,Vu(e,r))}function Nn(t,e){return typeof t=="function"?t(e):t}function ii(t){return t.split("-")[0]}function Qr(t){return t.split("-")[1]}function Bs(t){return t==="x"?"y":"x"}function Ds(t){return t==="y"?"height":"width"}function Bn(t){return["top","bottom"].includes(ii(t))?"y":"x"}function Fs(t){return Bs(Bn(t))}function Gu(t,e,r){r===void 0&&(r=!1);let i=Qr(t),n=Fs(t),a=Ds(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ps(s)),[s,Ps(s)]}function Ku(t){return t.replace(/start|end/g,e=>Pv[e])}function Ps(t){return t.replace(/left|right|bottom|top/g,e=>Tv[e])}function _v(t){return{top:0,right:0,bottom:0,left:0,...t}}function qu(t){return typeof t!="number"?_v(t):{top:t,right:t,bottom:t,left:t}}function ko(t){let{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}var Wu,Hu,_s,Vu,ju,Tv,Pv,Ms=p(()=>{Wu=["top","right","bottom","left"],Hu=["start","end"],_s=Wu.reduce((t,e)=>t.concat(e,e+"-"+Hu[0],e+"-"+Hu[1]),[]),Vu=Math.min,ju=Math.max,Tv={left:"right",right:"left",bottom:"top",top:"bottom"},Pv={start:"end",end:"start"}});function Zu(t,e,r){let{reference:i,floating:n}=t,a=Bn(e),s=Fs(e),c=Ds(s),f=ii(e),h=a==="y",b=i.x+i.width/2-n.width/2,y=i.y+i.height/2-n.height/2,v=i[c]/2-n[c]/2,O;switch(f){case"top":O={x:b,y:i.y-n.height};break;case"bottom":O={x:b,y:i.y+i.height};break;case"right":O={x:i.x+i.width,y};break;case"left":O={x:i.x-n.width,y};break;default:O={x:i.x,y:i.y}}switch(Qr(e)){case"start":O[s]-=v*(r&&h?-1:1);break;case"end":O[s]+=v*(r&&h?-1:1);break}return O}async function zs(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:c,strategy:f}=t,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:y="floating",altBoundary:v=!1,padding:O=0}=Nn(e,t),C=qu(O),P=c[v?y==="floating"?"reference":"floating":y],$=ko(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(P)))==null||r?P:P.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:h,rootBoundary:b,strategy:f})),T=y==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,z=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),X=await(a.isElement==null?void 0:a.isElement(z))?await(a.getScale==null?void 0:a.getScale(z))||{x:1,y:1}:{x:1,y:1},re=ko(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:T,offsetParent:z,strategy:f}):T);return{top:($.top-re.top+C.top)/X.y,bottom:(re.bottom-$.bottom+C.bottom)/X.y,left:($.left-re.left+C.left)/X.x,right:(re.right-$.right+C.right)/X.x}}function Nv(t,e,r){return(t?[...r.filter(n=>Qr(n)===t),...r.filter(n=>Qr(n)!==t)]:r.filter(n=>ii(n)===n)).filter(n=>t?Qr(n)===t||(e?Ku(n)!==n:!1):!0)}var Qu,Us,Hs,Ws=p(()=>{Ms();Ms();Qu=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(e)),h=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:b,y}=Zu(h,i,f),v=i,O={},C=0;for(let E=0;E<c.length;E++){let{name:P,fn:$}=c[E],{x:T,y:z,data:X,reset:re}=await $({x:b,y,initialPlacement:i,placement:v,strategy:n,middlewareData:O,rects:h,platform:s,elements:{reference:t,floating:e}});b=T??b,y=z??y,O={...O,[P]:{...O[P],...X}},re&&C<=50&&(C++,typeof re=="object"&&(re.placement&&(v=re.placement),re.rects&&(h=re.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):re.rects),{x:b,y}=Zu(h,v,f)),E=-1)}return{x:b,y,placement:v,strategy:n,middlewareData:O}};Us=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:c,platform:f,elements:h}=e,{crossAxis:b=!1,alignment:y,allowedPlacements:v=_s,autoAlignment:O=!0,...C}=Nn(t,e),E=y!==void 0||v===_s?Nv(y||null,O,v):v,P=await zs(e,C),$=((r=s.autoPlacement)==null?void 0:r.index)||0,T=E[$];if(T==null)return{};let z=Gu(T,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(c!==T)return{reset:{placement:E[0]}};let X=[P[ii(T)],P[z[0]],P[z[1]]],re=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:T,overflows:X}],ut=E[$+1];if(ut)return{data:{index:$+1,overflows:re},reset:{placement:ut}};let dr=re.map(Ge=>{let g=Qr(Ge.placement);return[Ge.placement,g&&b?Ge.overflows.slice(0,2).reduce((S,D)=>S+D,0):Ge.overflows[0],Ge.overflows]}).sort((Ge,g)=>Ge[1]-g[1]),pr=((n=dr.filter(Ge=>Ge[2].slice(0,Qr(Ge[0])?2:3).every(g=>g<=0))[0])==null?void 0:n[0])||dr[0][0];return pr!==c?{data:{index:$+1,overflows:re},reset:{placement:pr}}:{}}}},Hs=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:P=>{let{x:$,y:T}=P;return{x:$,y:T}}},...f}=Nn(t,e),h={x:r,y:i},b=await zs(e,f),y=Bn(ii(n)),v=Bs(y),O=h[v],C=h[y];if(a){let P=v==="y"?"top":"left",$=v==="y"?"bottom":"right",T=O+b[P],z=O-b[$];O=Ns(T,O,z)}if(s){let P=y==="y"?"top":"left",$=y==="y"?"bottom":"right",T=C+b[P],z=C-b[$];C=Ns(T,C,z)}let E=c.fn({...e,[v]:O,[y]:C});return{...E,data:{x:E.x-r,y:E.y-i,enabled:{[v]:a,[y]:s}}}}}}});var Vs,ni,Vi,Nr,Yu=p(()=>{Vs=Math.min,ni=Math.max,Vi=Math.round,Nr=t=>({x:t,y:t})});function Br(t){return Ju(t)?(t.nodeName||"").toLowerCase():"#document"}function gt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Dr(t){var e;return(e=(Ju(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ju(t){return t instanceof Node||t instanceof gt(t).Node}function mr(t){return t instanceof Element||t instanceof gt(t).Element}function Xt(t){return t instanceof HTMLElement||t instanceof gt(t).HTMLElement}function Xu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof gt(t).ShadowRoot}function ai(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Rt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function ef(t){return["table","td","th"].includes(Br(t))}function Fn(t){let e=Mn(),r=Rt(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function tf(t){let e=Io(t);for(;Xt(e)&&!ji(e);){if(Fn(e))return e;e=Io(e)}return null}function Mn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ji(t){return["html","body","#document"].includes(Br(t))}function Rt(t){return gt(t).getComputedStyle(t)}function Gi(t){return mr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Io(t){if(Br(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Xu(t)&&t.host||Dr(t);return Xu(e)?e.host:e}function rf(t){let e=Io(t);return ji(e)?t.ownerDocument?t.ownerDocument.body:t.body:Xt(e)&&ai(e)?e:rf(e)}function Dn(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=rf(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=gt(n);return a?e.concat(s,s.visualViewport||[],ai(n)?n:[],s.frameElement&&r?Dn(s.frameElement):[]):e.concat(n,Dn(n,[],r))}var of=p(()=>{});function sf(t){let e=Rt(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=Xt(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,c=Vi(r)!==a||Vi(i)!==s;return c&&(r=a,i=s),{width:r,height:i,$:c}}function lf(t){return mr(t)?t:t.contextElement}function si(t){let e=lf(t);if(!Xt(e))return Nr(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=sf(e),s=(a?Vi(r.width):r.width)/i,c=(a?Vi(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function cf(t){let e=gt(t);return!Mn()||!e.visualViewport?Fv:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Mv(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==gt(t)?!1:e}function Ki(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=lf(t),s=Nr(1);e&&(i?mr(i)&&(s=si(i)):s=si(t));let c=Mv(a,r,i)?cf(a):Nr(0),f=(n.left+c.x)/s.x,h=(n.top+c.y)/s.y,b=n.width/s.x,y=n.height/s.y;if(a){let v=gt(a),O=i&&mr(i)?gt(i):i,C=v.frameElement;for(;C&&i&&O!==v;){let E=si(C),P=C.getBoundingClientRect(),$=Rt(C),T=P.left+(C.clientLeft+parseFloat($.paddingLeft))*E.x,z=P.top+(C.clientTop+parseFloat($.paddingTop))*E.y;f*=E.x,h*=E.y,b*=E.x,y*=E.y,f+=T,h+=z,C=gt(C).frameElement}}return ko({width:b,height:y,x:f,y:h})}function zv(t){let{rect:e,offsetParent:r,strategy:i}=t,n=Xt(r),a=Dr(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=Nr(1),f=Nr(0);if((n||!n&&i!=="fixed")&&((Br(r)!=="body"||ai(a))&&(s=Gi(r)),Xt(r))){let h=Ki(r);c=si(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+f.x,y:e.y*c.y-s.scrollTop*c.y+f.y}}function Uv(t){return Array.from(t.getClientRects())}function df(t){return Ki(Dr(t)).left+Gi(t).scrollLeft}function Hv(t){let e=Dr(t),r=Gi(t),i=t.ownerDocument.body,n=ni(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=ni(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+df(t),c=-r.scrollTop;return Rt(i).direction==="rtl"&&(s+=ni(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function Wv(t,e){let r=gt(t),i=Dr(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,f=0;if(n){a=n.width,s=n.height;let h=Mn();(!h||h&&e==="fixed")&&(c=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:c,y:f}}function Vv(t,e){let r=Ki(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=Xt(t)?si(t):Nr(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,f=n*a.x,h=i*a.y;return{width:s,height:c,x:f,y:h}}function nf(t,e,r){let i;if(e==="viewport")i=Wv(t,r);else if(e==="document")i=Hv(Dr(t));else if(mr(e))i=Vv(e,r);else{let n=cf(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return ko(i)}function pf(t,e){let r=Io(t);return r===e||!mr(r)||ji(r)?!1:Rt(r).position==="fixed"||pf(r,e)}function jv(t,e){let r=e.get(t);if(r)return r;let i=Dn(t,[],!1).filter(c=>mr(c)&&Br(c)!=="body"),n=null,a=Rt(t).position==="fixed",s=a?Io(t):t;for(;mr(s)&&!ji(s);){let c=Rt(s),f=Fn(s);!f&&c.position==="fixed"&&(n=null),(a?!f&&!n:!f&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||ai(s)&&!f&&pf(t,s))?i=i.filter(b=>b!==s):n=c,s=Io(s)}return e.set(t,i),i}function Gv(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?jv(e,this._c):[].concat(r),i],c=s[0],f=s.reduce((h,b)=>{let y=nf(e,b,n);return h.top=ni(y.top,h.top),h.right=Vs(y.right,h.right),h.bottom=Vs(y.bottom,h.bottom),h.left=ni(y.left,h.left),h},nf(e,c,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Kv(t){return sf(t)}function qv(t,e,r){let i=Xt(e),n=Dr(e),a=r==="fixed",s=Ki(t,!0,a,e),c={scrollLeft:0,scrollTop:0},f=Nr(0);if(i||!i&&!a)if((Br(e)!=="body"||ai(n))&&(c=Gi(e)),i){let h=Ki(e,!0,a,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else n&&(f.x=df(n));return{x:s.left+c.scrollLeft-f.x,y:s.top+c.scrollTop-f.y,width:s.width,height:s.height}}function af(t,e){return!Xt(t)||Rt(t).position==="fixed"?null:e?e(t):t.offsetParent}function uf(t,e){let r=gt(t);if(!Xt(t))return r;let i=af(t,e);for(;i&&ef(i)&&Rt(i).position==="static";)i=af(i,e);return i&&(Br(i)==="html"||Br(i)==="body"&&Rt(i).position==="static"&&!Fn(i))?r:i||tf(t)||r}function Qv(t){return Rt(t).direction==="rtl"}var Fv,Zv,zn,ff,hf=p(()=>{Ws();Ws();Yu();of();Fv=Nr(0);Zv=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||uf,a=this.getDimensions;return{reference:qv(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};zn={convertOffsetParentRelativeRectToViewportRelativeRect:zv,getDocumentElement:Dr,getClippingRect:Gv,getOffsetParent:uf,getElementRects:Zv,getClientRects:Uv,getDimensions:Kv,getScale:si,isElement:mr,isRTL:Qv},ff=(t,e,r)=>{let i=new Map,n={platform:zn,...r},a={...n.platform,_c:i};return Qu(t,e,{...n,platform:a})}});function mf(t){return Yv(t)}function js(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Yv(t){for(let e=t;e;e=js(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=js(t);e;e=js(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var gf=p(()=>{});async function yf(t,e,r){return ff(t,e,{platform:{...zn,getOffsetParent:i=>zn.getOffsetParent(i,mf)},middleware:[Hs({crossAxis:!0}),Us({allowedPlacements:[r]})]})}var bf=p(()=>{"use strict";hf();gf()});var vf,Me,qi,yt,Ce,Gs=p(()=>{"use strict";vf=u(A()),Me=u(U()),qi=u(x());Be();_n();bf();yt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ce=class extends qi.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 qi.Debouncer,this.revealDebouncer=new qi.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return vf.html`
522
+ `});function Ns(t,e,r){return ju(t,Vu(e,r))}function Nn(t,e){return typeof t=="function"?t(e):t}function ni(t){return t.split("-")[0]}function Qr(t){return t.split("-")[1]}function Bs(t){return t==="x"?"y":"x"}function Ds(t){return t==="y"?"height":"width"}function Bn(t){return["top","bottom"].includes(ni(t))?"y":"x"}function Fs(t){return Bs(Bn(t))}function Gu(t,e,r){r===void 0&&(r=!1);let i=Qr(t),n=Fs(t),a=Ds(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ps(s)),[s,Ps(s)]}function Ku(t){return t.replace(/start|end/g,e=>_x[e])}function Ps(t){return t.replace(/left|right|bottom|top/g,e=>Px[e])}function Nx(t){return{top:0,right:0,bottom:0,left:0,...t}}function qu(t){return typeof t!="number"?Nx(t):{top:t,right:t,bottom:t,left:t}}function Lo(t){let{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}var Wu,Hu,_s,Vu,ju,Px,_x,Ms=p(()=>{Wu=["top","right","bottom","left"],Hu=["start","end"],_s=Wu.reduce((t,e)=>t.concat(e,e+"-"+Hu[0],e+"-"+Hu[1]),[]),Vu=Math.min,ju=Math.max,Px={left:"right",right:"left",bottom:"top",top:"bottom"},_x={start:"end",end:"start"}});function Zu(t,e,r){let{reference:i,floating:n}=t,a=Bn(e),s=Fs(e),c=Ds(s),f=ni(e),h=a==="y",b=i.x+i.width/2-n.width/2,y=i.y+i.height/2-n.height/2,x=i[c]/2-n[c]/2,O;switch(f){case"top":O={x:b,y:i.y-n.height};break;case"bottom":O={x:b,y:i.y+i.height};break;case"right":O={x:i.x+i.width,y};break;case"left":O={x:i.x-n.width,y};break;default:O={x:i.x,y:i.y}}switch(Qr(e)){case"start":O[s]-=x*(r&&h?-1:1);break;case"end":O[s]+=x*(r&&h?-1:1);break}return O}async function Us(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:c,strategy:f}=t,{boundary:h="clippingAncestors",rootBoundary:b="viewport",elementContext:y="floating",altBoundary:x=!1,padding:O=0}=Nn(e,t),C=qu(O),P=c[x?y==="floating"?"reference":"floating":y],T=Lo(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(P)))==null||r?P:P.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:h,rootBoundary:b,strategy:f})),$=y==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,U=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),X=await(a.isElement==null?void 0:a.isElement(U))?await(a.getScale==null?void 0:a.getScale(U))||{x:1,y:1}:{x:1,y:1},re=Lo(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:$,offsetParent:U,strategy:f}):$);return{top:(T.top-re.top+C.top)/X.y,bottom:(re.bottom-T.bottom+C.bottom)/X.y,left:(T.left-re.left+C.left)/X.x,right:(re.right-T.right+C.right)/X.x}}function Bx(t,e,r){return(t?[...r.filter(n=>Qr(n)===t),...r.filter(n=>Qr(n)!==t)]:r.filter(n=>ni(n)===n)).filter(n=>t?Qr(n)===t||(e?Ku(n)!==n:!1):!0)}var Qu,zs,Hs,Ws=p(()=>{Ms();Ms();Qu=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(e)),h=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:b,y}=Zu(h,i,f),x=i,O={},C=0;for(let E=0;E<c.length;E++){let{name:P,fn:T}=c[E],{x:$,y:U,data:X,reset:re}=await T({x:b,y,initialPlacement:i,placement:x,strategy:n,middlewareData:O,rects:h,platform:s,elements:{reference:t,floating:e}});b=$??b,y=U??y,O={...O,[P]:{...O[P],...X}},re&&C<=50&&(C++,typeof re=="object"&&(re.placement&&(x=re.placement),re.rects&&(h=re.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):re.rects),{x:b,y}=Zu(h,x,f)),E=-1)}return{x:b,y,placement:x,strategy:n,middlewareData:O}};zs=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:c,platform:f,elements:h}=e,{crossAxis:b=!1,alignment:y,allowedPlacements:x=_s,autoAlignment:O=!0,...C}=Nn(t,e),E=y!==void 0||x===_s?Bx(y||null,O,x):x,P=await Us(e,C),T=((r=s.autoPlacement)==null?void 0:r.index)||0,$=E[T];if($==null)return{};let U=Gu($,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(c!==$)return{reset:{placement:E[0]}};let X=[P[ni($)],P[U[0]],P[U[1]]],re=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:$,overflows:X}],ut=E[T+1];if(ut)return{data:{index:T+1,overflows:re},reset:{placement:ut}};let dr=re.map(Ge=>{let g=Qr(Ge.placement);return[Ge.placement,g&&b?Ge.overflows.slice(0,2).reduce((S,D)=>S+D,0):Ge.overflows[0],Ge.overflows]}).sort((Ge,g)=>Ge[1]-g[1]),pr=((n=dr.filter(Ge=>Ge[2].slice(0,Qr(Ge[0])?2:3).every(g=>g<=0))[0])==null?void 0:n[0])||dr[0][0];return pr!==c?{data:{index:T+1,overflows:re},reset:{placement:pr}}:{}}}},Hs=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:P=>{let{x:T,y:$}=P;return{x:T,y:$}}},...f}=Nn(t,e),h={x:r,y:i},b=await Us(e,f),y=Bn(ni(n)),x=Bs(y),O=h[x],C=h[y];if(a){let P=x==="y"?"top":"left",T=x==="y"?"bottom":"right",$=O+b[P],U=O-b[T];O=Ns($,O,U)}if(s){let P=y==="y"?"top":"left",T=y==="y"?"bottom":"right",$=C+b[P],U=C-b[T];C=Ns($,C,U)}let E=c.fn({...e,[x]:O,[y]:C});return{...E,data:{x:E.x-r,y:E.y-i,enabled:{[x]:a,[y]:s}}}}}}});var Vs,ai,Vi,Nr,Yu=p(()=>{Vs=Math.min,ai=Math.max,Vi=Math.round,Nr=t=>({x:t,y:t})});function Br(t){return Ju(t)?(t.nodeName||"").toLowerCase():"#document"}function gt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Dr(t){var e;return(e=(Ju(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ju(t){return t instanceof Node||t instanceof gt(t).Node}function mr(t){return t instanceof Element||t instanceof gt(t).Element}function Xt(t){return t instanceof HTMLElement||t instanceof gt(t).HTMLElement}function Xu(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof gt(t).ShadowRoot}function si(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Rt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function ef(t){return["table","td","th"].includes(Br(t))}function Fn(t){let e=Mn(),r=Rt(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function tf(t){let e=Io(t);for(;Xt(e)&&!ji(e);){if(Fn(e))return e;e=Io(e)}return null}function Mn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ji(t){return["html","body","#document"].includes(Br(t))}function Rt(t){return gt(t).getComputedStyle(t)}function Gi(t){return mr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Io(t){if(Br(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Xu(t)&&t.host||Dr(t);return Xu(e)?e.host:e}function rf(t){let e=Io(t);return ji(e)?t.ownerDocument?t.ownerDocument.body:t.body:Xt(e)&&si(e)?e:rf(e)}function Dn(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=rf(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=gt(n);return a?e.concat(s,s.visualViewport||[],si(n)?n:[],s.frameElement&&r?Dn(s.frameElement):[]):e.concat(n,Dn(n,[],r))}var of=p(()=>{});function sf(t){let e=Rt(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=Xt(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,c=Vi(r)!==a||Vi(i)!==s;return c&&(r=a,i=s),{width:r,height:i,$:c}}function lf(t){return mr(t)?t:t.contextElement}function li(t){let e=lf(t);if(!Xt(e))return Nr(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=sf(e),s=(a?Vi(r.width):r.width)/i,c=(a?Vi(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}function cf(t){let e=gt(t);return!Mn()||!e.visualViewport?Mx:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ux(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==gt(t)?!1:e}function Ki(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=lf(t),s=Nr(1);e&&(i?mr(i)&&(s=li(i)):s=li(t));let c=Ux(a,r,i)?cf(a):Nr(0),f=(n.left+c.x)/s.x,h=(n.top+c.y)/s.y,b=n.width/s.x,y=n.height/s.y;if(a){let x=gt(a),O=i&&mr(i)?gt(i):i,C=x.frameElement;for(;C&&i&&O!==x;){let E=li(C),P=C.getBoundingClientRect(),T=Rt(C),$=P.left+(C.clientLeft+parseFloat(T.paddingLeft))*E.x,U=P.top+(C.clientTop+parseFloat(T.paddingTop))*E.y;f*=E.x,h*=E.y,b*=E.x,y*=E.y,f+=$,h+=U,C=gt(C).frameElement}}return Lo({width:b,height:y,x:f,y:h})}function zx(t){let{rect:e,offsetParent:r,strategy:i}=t,n=Xt(r),a=Dr(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=Nr(1),f=Nr(0);if((n||!n&&i!=="fixed")&&((Br(r)!=="body"||si(a))&&(s=Gi(r)),Xt(r))){let h=Ki(r);c=li(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+f.x,y:e.y*c.y-s.scrollTop*c.y+f.y}}function Hx(t){return Array.from(t.getClientRects())}function df(t){return Ki(Dr(t)).left+Gi(t).scrollLeft}function Wx(t){let e=Dr(t),r=Gi(t),i=t.ownerDocument.body,n=ai(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=ai(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+df(t),c=-r.scrollTop;return Rt(i).direction==="rtl"&&(s+=ai(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:c}}function Vx(t,e){let r=gt(t),i=Dr(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,f=0;if(n){a=n.width,s=n.height;let h=Mn();(!h||h&&e==="fixed")&&(c=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:c,y:f}}function jx(t,e){let r=Ki(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=Xt(t)?li(t):Nr(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,f=n*a.x,h=i*a.y;return{width:s,height:c,x:f,y:h}}function nf(t,e,r){let i;if(e==="viewport")i=Vx(t,r);else if(e==="document")i=Wx(Dr(t));else if(mr(e))i=jx(e,r);else{let n=cf(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return Lo(i)}function pf(t,e){let r=Io(t);return r===e||!mr(r)||ji(r)?!1:Rt(r).position==="fixed"||pf(r,e)}function Gx(t,e){let r=e.get(t);if(r)return r;let i=Dn(t,[],!1).filter(c=>mr(c)&&Br(c)!=="body"),n=null,a=Rt(t).position==="fixed",s=a?Io(t):t;for(;mr(s)&&!ji(s);){let c=Rt(s),f=Fn(s);!f&&c.position==="fixed"&&(n=null),(a?!f&&!n:!f&&c.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||si(s)&&!f&&pf(t,s))?i=i.filter(b=>b!==s):n=c,s=Io(s)}return e.set(t,i),i}function Kx(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?Gx(e,this._c):[].concat(r),i],c=s[0],f=s.reduce((h,b)=>{let y=nf(e,b,n);return h.top=ai(y.top,h.top),h.right=Vs(y.right,h.right),h.bottom=Vs(y.bottom,h.bottom),h.left=ai(y.left,h.left),h},nf(e,c,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function qx(t){return sf(t)}function Zx(t,e,r){let i=Xt(e),n=Dr(e),a=r==="fixed",s=Ki(t,!0,a,e),c={scrollLeft:0,scrollTop:0},f=Nr(0);if(i||!i&&!a)if((Br(e)!=="body"||si(n))&&(c=Gi(e)),i){let h=Ki(e,!0,a,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else n&&(f.x=df(n));return{x:s.left+c.scrollLeft-f.x,y:s.top+c.scrollTop-f.y,width:s.width,height:s.height}}function af(t,e){return!Xt(t)||Rt(t).position==="fixed"?null:e?e(t):t.offsetParent}function uf(t,e){let r=gt(t);if(!Xt(t))return r;let i=af(t,e);for(;i&&ef(i)&&Rt(i).position==="static";)i=af(i,e);return i&&(Br(i)==="html"||Br(i)==="body"&&Rt(i).position==="static"&&!Fn(i))?r:i||tf(t)||r}function Yx(t){return Rt(t).direction==="rtl"}var Mx,Qx,Un,ff,hf=p(()=>{Ws();Ws();Yu();of();Mx=Nr(0);Qx=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||uf,a=this.getDimensions;return{reference:Zx(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};Un={convertOffsetParentRelativeRectToViewportRelativeRect:zx,getDocumentElement:Dr,getClippingRect:Kx,getOffsetParent:uf,getElementRects:Qx,getClientRects:Hx,getDimensions:qx,getScale:li,isElement:mr,isRTL:Yx},ff=(t,e,r)=>{let i=new Map,n={platform:Un,...r},a={...n.platform,_c:i};return Qu(t,e,{...n,platform:a})}});function mf(t){return Xx(t)}function js(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Xx(t){for(let e=t;e;e=js(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=js(t);e;e=js(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}var gf=p(()=>{});async function yf(t,e,r){return ff(t,e,{platform:{...Un,getOffsetParent:i=>Un.getOffsetParent(i,mf)},middleware:[Hs({crossAxis:!0}),zs({allowedPlacements:[r]})]})}var bf=p(()=>{"use strict";hf();gf()});var xf,Me,qi,yt,Ce,Gs=p(()=>{"use strict";xf=u(A()),Me=u(z()),qi=u(v());Be();_n();bf();yt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ce=class extends qi.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 qi.Debouncer,this.revealDebouncer=new qi.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return xf.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.`,l.colorGray200),contentGlobalSubtle:o.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(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.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="",yf(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",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,r){return Math.max(e,Math.min(0,-r))}};Ce.elementDefinitions={"ft-typography":G};Ce.styles=Uu;yt([(0,Me.property)()],Ce.prototype,"text",void 0);yt([(0,Me.property)({type:Boolean})],Ce.prototype,"manual",void 0);yt([(0,Me.property)({type:Boolean})],Ce.prototype,"inline",void 0);yt([(0,Me.property)({type:Number})],Ce.prototype,"delay",void 0);yt([(0,Me.property)()],Ce.prototype,"position",void 0);yt([(0,Me.queryAssignedNodes)()],Ce.prototype,"slotNodes",void 0);yt([(0,Me.query)(".ft-tooltip--container")],Ce.prototype,"container",void 0);yt([(0,Me.query)(".ft-tooltip")],Ce.prototype,"tooltip",void 0);yt([(0,Me.query)(".ft-tooltip--content")],Ce.prototype,"tooltipContent",void 0);yt([(0,Me.state)()],Ce.prototype,"visible",void 0);yt([(0,Me.eventOptions)({passive:!0})],Ce.prototype,"onTouch",null);yt([(0,Me.eventOptions)({passive:!0})],Ce.prototype,"onHover",null);yt([(0,Me.eventOptions)({passive:!0})],Ce.prototype,"onOut",null);yt([(0,Me.eventOptions)({passive:!0})],Ce.prototype,"onClick",null)});var xf=p(()=>{"use strict"});var Sf,Un=p(()=>{"use strict";Sf=u(x());Gs();Gs();_n();xf();(0,Sf.customElement)("ft-tooltip")(Ce)});var Hn=So((UE,Cf)=>{Cf.exports=ftGlobals.litUnsafeHTML});function Wn(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=Xv.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=Ks.get(c))!==null&&i!==void 0?i:Ks.get(e))!==null&&n!==void 0?n:Ks.get(s))!==null&&a!==void 0?a:k.UNKNOWN}var bt,k,Ks,Xv,HE,qs=p(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;"})(bt||(bt={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(k||(k={}));Ks=new Map([...["abw"].map(t=>[t,k.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,k.AUDIO]),...["avi"].map(t=>[t,k.AVI]),...["chm","xhs"].map(t=>[t,k.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,k.CODE]),...["csv"].map(t=>[t,k.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,k.DITA]),...["epub"].map(t=>[t,k.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,k.EXCEL]),...["flac"].map(t=>[t,k.FLAC]),...["gif"].map(t=>[t,k.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,k.GZIP]),...["html","htm","xhtml"].map(t=>[t,k.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,k.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,k.JPEG]),...["json"].map(t=>[t,k.JSON]),...["m4a","m4p"].map(t=>[t,k.M4A]),...["mov","qt"].map(t=>[t,k.MOV]),...["mp3"].map(t=>[t,k.MP3]),...["mp4","m4v"].map(t=>[t,k.MP4]),...["ogg","oga"].map(t=>[t,k.OGG]),...["pdf","ps"].map(t=>[t,k.PDF]),...["png"].map(t=>[t,k.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,k.POWERPOINT]),...["rar"].map(t=>[t,k.RAR]),...["stp"].map(t=>[t,k.STP]),...["txt","rtf","md","mdown"].map(t=>[t,k.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,k.VIDEO]),...["wav"].map(t=>[t,k.WAV]),...["wma"].map(t=>[t,k.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,k.WORD]),...["xml","xsl","rdf"].map(t=>[t,k.XML]),...["yaml","yml","x-yaml"].map(t=>[t,k.YAML]),...["zip"].map(t=>[t,k.ZIP])]),Xv=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"]]);HE={[k.ABW]:"#91ABC6",[k.AUDIO]:"#1795E3",[k.AVI]:"#E63324",[k.CHM]:"#71C3EB",[k.CODE]:"#71C3EB",[k.CSV]:"#1F7345",[k.DITA]:"#71C3EB",[k.EPUB]:"#85B926",[k.EXCEL]:"#1F7345",[k.FLAC]:"#1795E3",[k.GIF]:"#59B031",[k.GZIP]:"#F8AB36",[k.HTML]:"#71C3EB",[k.IMAGE]:"#59B031",[k.JPEG]:"#59B031",[k.JSON]:"#71C3EB",[k.M4A]:"#1795E3",[k.MOV]:"#E63324",[k.MP3]:"#1795E3",[k.MP4]:"#E63324",[k.OGG]:"#1795E3",[k.PDF]:"#E44948",[k.PNG]:"#59B031",[k.POWERPOINT]:"#B54A2B",[k.RAR]:"#F8AB36",[k.STP]:"#3764B1",[k.TEXT]:"#3162AB",[k.UNKNOWN]:"#999999",[k.VIDEO]:"#E63324",[k.WAV]:"#1795E3",[k.WMA]:"#1795E3",[k.WORD]:"#3162AB",[k.XML]:"#71C3EB",[k.YAML]:"#71C3EB",[k.ZIP]:"#F8AB36"}});var We,Zs=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(We||(We={}))});var Zi,Yr,Of,wf,Qi,fe,Qs=p(()=>{"use strict";Zi=u(A()),Yr=u(U()),Of=u(x()),wf=u(Hn());qs();Oo();Zs();Qi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends Of.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Zi.nothing}render(){let e=this.variant&&Object.values(We).includes(this.variant)?this.variant:We.fluid_topics,r=e!==We.material||!!this.value;return Zi.html`
540
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,r){let i=this.manual;this.manual=!0;let n=this.text;this.text=e,await this.show(r),this.text=n,this.manual=i}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.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="",yf(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",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,r){return Math.max(e,Math.min(0,-r))}};Ce.elementDefinitions={"ft-typography":G};Ce.styles=zu;yt([(0,Me.property)()],Ce.prototype,"text",void 0);yt([(0,Me.property)({type:Boolean})],Ce.prototype,"manual",void 0);yt([(0,Me.property)({type:Boolean})],Ce.prototype,"inline",void 0);yt([(0,Me.property)({type:Number})],Ce.prototype,"delay",void 0);yt([(0,Me.property)()],Ce.prototype,"position",void 0);yt([(0,Me.queryAssignedNodes)()],Ce.prototype,"slotNodes",void 0);yt([(0,Me.query)(".ft-tooltip--container")],Ce.prototype,"container",void 0);yt([(0,Me.query)(".ft-tooltip")],Ce.prototype,"tooltip",void 0);yt([(0,Me.query)(".ft-tooltip--content")],Ce.prototype,"tooltipContent",void 0);yt([(0,Me.state)()],Ce.prototype,"visible",void 0);yt([(0,Me.eventOptions)({passive:!0})],Ce.prototype,"onTouch",null);yt([(0,Me.eventOptions)({passive:!0})],Ce.prototype,"onHover",null);yt([(0,Me.eventOptions)({passive:!0})],Ce.prototype,"onOut",null);yt([(0,Me.eventOptions)({passive:!0})],Ce.prototype,"onClick",null)});var vf=p(()=>{"use strict"});var Sf,zn=p(()=>{"use strict";Sf=u(v());Gs();Gs();_n();vf();(0,Sf.customElement)("ft-tooltip")(Ce)});var Hn=Co((HE,Cf)=>{Cf.exports=ftGlobals.litUnsafeHTML});function Wn(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=Jx.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=Ks.get(c))!==null&&i!==void 0?i:Ks.get(e))!==null&&n!==void 0?n:Ks.get(s))!==null&&a!==void 0?a:k.UNKNOWN}var bt,k,Ks,Jx,WE,qs=p(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;"})(bt||(bt={}));(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(k||(k={}));Ks=new Map([...["abw"].map(t=>[t,k.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,k.AUDIO]),...["avi"].map(t=>[t,k.AVI]),...["chm","xhs"].map(t=>[t,k.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,k.CODE]),...["csv"].map(t=>[t,k.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,k.DITA]),...["epub"].map(t=>[t,k.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,k.EXCEL]),...["flac"].map(t=>[t,k.FLAC]),...["gif"].map(t=>[t,k.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,k.GZIP]),...["html","htm","xhtml"].map(t=>[t,k.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,k.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,k.JPEG]),...["json"].map(t=>[t,k.JSON]),...["m4a","m4p"].map(t=>[t,k.M4A]),...["mov","qt"].map(t=>[t,k.MOV]),...["mp3"].map(t=>[t,k.MP3]),...["mp4","m4v"].map(t=>[t,k.MP4]),...["ogg","oga"].map(t=>[t,k.OGG]),...["pdf","ps"].map(t=>[t,k.PDF]),...["png"].map(t=>[t,k.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,k.POWERPOINT]),...["rar"].map(t=>[t,k.RAR]),...["stp"].map(t=>[t,k.STP]),...["txt","rtf","md","mdown"].map(t=>[t,k.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,k.VIDEO]),...["wav"].map(t=>[t,k.WAV]),...["wma"].map(t=>[t,k.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,k.WORD]),...["xml","xsl","rdf"].map(t=>[t,k.XML]),...["yaml","yml","x-yaml"].map(t=>[t,k.YAML]),...["zip"].map(t=>[t,k.ZIP])]),Jx=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"]]);WE={[k.ABW]:"#91ABC6",[k.AUDIO]:"#1795E3",[k.AVI]:"#E63324",[k.CHM]:"#71C3EB",[k.CODE]:"#71C3EB",[k.CSV]:"#1F7345",[k.DITA]:"#71C3EB",[k.EPUB]:"#85B926",[k.EXCEL]:"#1F7345",[k.FLAC]:"#1795E3",[k.GIF]:"#59B031",[k.GZIP]:"#F8AB36",[k.HTML]:"#71C3EB",[k.IMAGE]:"#59B031",[k.JPEG]:"#59B031",[k.JSON]:"#71C3EB",[k.M4A]:"#1795E3",[k.MOV]:"#E63324",[k.MP3]:"#1795E3",[k.MP4]:"#E63324",[k.OGG]:"#1795E3",[k.PDF]:"#E44948",[k.PNG]:"#59B031",[k.POWERPOINT]:"#B54A2B",[k.RAR]:"#F8AB36",[k.STP]:"#3764B1",[k.TEXT]:"#3162AB",[k.UNKNOWN]:"#999999",[k.VIDEO]:"#E63324",[k.WAV]:"#1795E3",[k.WMA]:"#1795E3",[k.WORD]:"#3162AB",[k.XML]:"#71C3EB",[k.YAML]:"#71C3EB",[k.ZIP]:"#F8AB36"}});var We,Zs=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(We||(We={}))});var Zi,Yr,Of,wf,Qi,fe,Qs=p(()=>{"use strict";Zi=u(A()),Yr=u(z()),Of=u(v()),wf=u(Hn());qs();wo();Zs();Qi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},fe=class extends Of.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Zi.nothing}render(){let e=this.variant&&Object.values(We).includes(this.variant)?this.variant:We.fluid_topics,r=e!==We.material||!!this.value;return Zi.html`
541
541
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
542
542
  ${(0,wf.unsafeHTML)(this.resolvedIcon)}
543
543
  <slot ?hidden=${r}></slot>
544
544
  </i>
545
- `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.textContent;switch(this.variant){case We.file_format:this.resolvedIcon=(e=k[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case We.material:this.resolvedIcon=this.value||Zi.nothing;break;default:this.resolvedIcon=(r=bt[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=du;Qi([(0,Yr.property)()],fe.prototype,"variant",void 0);Qi([(0,Yr.property)()],fe.prototype,"value",void 0);Qi([(0,Yr.property)({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);Qi([(0,Yr.state)()],fe.prototype,"resolvedIcon",void 0);Qi([(0,Yr.query)("slot")],fe.prototype,"slottedContent",void 0)});var Ef,Mt=p(()=>{"use strict";Ef=u(x());Qs();Oo();Zs();Qs();qs();(0,Ef.customElement)("ft-icon")(fe)});var Rf,Af,Lo,Ys=p(()=>{"use strict";Rf=u(A()),Af=u(x());Fi();Lo=class extends Af.FtLitElement{render(){return Rf.html`
545
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.textContent;switch(this.variant){case We.file_format:this.resolvedIcon=(e=k[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case We.material:this.resolvedIcon=this.value||Zi.nothing;break;default:this.resolvedIcon=(r=bt[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};fe.elementDefinitions={};fe.styles=du;Qi([(0,Yr.property)()],fe.prototype,"variant",void 0);Qi([(0,Yr.property)()],fe.prototype,"value",void 0);Qi([(0,Yr.property)({reflect:!0,attribute:"aria-hidden"})],fe.prototype,"ariaHidden",void 0);Qi([(0,Yr.state)()],fe.prototype,"resolvedIcon",void 0);Qi([(0,Yr.query)("slot")],fe.prototype,"slottedContent",void 0)});var Ef,Mt=p(()=>{"use strict";Ef=u(v());Qs();wo();Zs();Qs();qs();(0,Ef.customElement)("ft-icon")(fe)});var Rf,Af,To,Ys=p(()=>{"use strict";Rf=u(A()),Af=u(v());Fi();To=class extends Af.FtLitElement{render(){return Rf.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
- `}};Lo.styles=lu});var kf=p(()=>{"use strict"});var If,Lf=p(()=>{"use strict";If=u(x());Ys();Fi();kf();Ys();(0,If.customElement)("ft-loader")(Lo)});var Jr,Xr,Xs,ze,Ze,Oe,Js=p(()=>{"use strict";Jr=u(x());mt();Un();Be();Mt();Lf();Xr=u(A()),Xs=u(ft()),ze=u(U()),Ze=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Oe=class extends(0,Jr.toFtFormComponent)(Jr.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,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.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,i;let n=Xr.html`
552
+ `}};To.styles=lu});var kf=p(()=>{"use strict"});var Lf,If=p(()=>{"use strict";Lf=u(v());Ys();Fi();kf();Ys();(0,Lf.customElement)("ft-loader")(To)});var Jr,Xr,Xs,Ue,Ze,Oe,Js=p(()=>{"use strict";Jr=u(v());mt();zn();Be();Mt();If();Xr=u(A()),Xs=u(ft()),Ue=u(z()),Ze=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Oe=class extends(0,Jr.toFtFormComponent)(Jr.FtLitElement){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,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.activated=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,i;let n=Xr.html`
553
553
  <ft-ripple part="ripple"
554
554
  ?disabled=${this.isDisabled()}
555
555
  ?activated=${this.activated}
@@ -589,7 +589,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
589
589
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
590
590
  `:Xr.html`
591
591
  <slot part="icon" name="icon"></slot>
592
- `}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)}showTemporaryTooltip(e,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,r)}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,Jr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Oe.elementDefinitions={"ft-ripple":W,"ft-tooltip":Ce,"ft-typography":G,"ft-icon":fe,"ft-loader":Lo};Ze([(0,ze.property)()],Oe.prototype,"href",void 0);Ze([(0,ze.property)()],Oe.prototype,"target",void 0);Ze([(0,ze.property)()],Oe.prototype,"type",void 0);Ze([(0,ze.property)({type:Boolean})],Oe.prototype,"disabled",void 0);Ze([(0,ze.property)()],Oe.prototype,"label",void 0);Ze([(0,ze.property)()],Oe.prototype,"icon",void 0);Ze([(0,ze.property)()],Oe.prototype,"iconVariant",void 0);Ze([(0,ze.property)({type:Boolean})],Oe.prototype,"trailingIcon",void 0);Ze([(0,ze.property)({type:Boolean})],Oe.prototype,"loading",void 0);Ze([(0,ze.property)({attribute:"aria-label"})],Oe.prototype,"ariaLabel",void 0);Ze([(0,ze.property)()],Oe.prototype,"tooltipPosition",void 0);Ze([(0,ze.property)({type:Boolean})],Oe.prototype,"hideTooltip",void 0);Ze([(0,ze.property)({type:Boolean})],Oe.prototype,"forceTooltip",void 0);Ze([(0,ze.property)({type:Boolean})],Oe.prototype,"activated",void 0);Ze([(0,ze.query)(".ft-button")],Oe.prototype,"button",void 0);Ze([(0,ze.query)(".ft-button--label slot")],Oe.prototype,"slottedContent",void 0);Ze([(0,ze.query)("[part=tooltip]")],Oe.prototype,"tooltip",void 0)});var Yi,$f,Vn,ke,el=p(()=>{"use strict";Yi=u(U()),$f=u(x());wo();Js();Vn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ke=class extends Oe{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"}};ke.styles=[$f.safariEllipsisFix,hu];Vn([(0,Yi.property)({type:Boolean})],ke.prototype,"primary",void 0);Vn([(0,Yi.property)({type:Boolean})],ke.prototype,"outlined",void 0);Vn([(0,Yi.property)({type:Boolean})],ke.prototype,"dense",void 0);Vn([(0,Yi.property)({type:Boolean})],ke.prototype,"round",void 0)});var Tf,R,Pf,tl=p(()=>{"use strict";Tf=u(A()),R=u(x());Lr();Fi();Oo();ne();ne();Pf=[Tf.css`
592
+ `}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)}showTemporaryTooltip(e,r){var i;return(i=this.tooltip)===null||i===void 0?void 0:i.showTemporaryText(e,r)}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,Jr.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Oe.elementDefinitions={"ft-ripple":W,"ft-tooltip":Ce,"ft-typography":G,"ft-icon":fe,"ft-loader":To};Ze([(0,Ue.property)()],Oe.prototype,"href",void 0);Ze([(0,Ue.property)()],Oe.prototype,"target",void 0);Ze([(0,Ue.property)()],Oe.prototype,"type",void 0);Ze([(0,Ue.property)({type:Boolean})],Oe.prototype,"disabled",void 0);Ze([(0,Ue.property)()],Oe.prototype,"label",void 0);Ze([(0,Ue.property)()],Oe.prototype,"icon",void 0);Ze([(0,Ue.property)()],Oe.prototype,"iconVariant",void 0);Ze([(0,Ue.property)({type:Boolean})],Oe.prototype,"trailingIcon",void 0);Ze([(0,Ue.property)({type:Boolean})],Oe.prototype,"loading",void 0);Ze([(0,Ue.property)({attribute:"aria-label"})],Oe.prototype,"ariaLabel",void 0);Ze([(0,Ue.property)()],Oe.prototype,"tooltipPosition",void 0);Ze([(0,Ue.property)({type:Boolean})],Oe.prototype,"hideTooltip",void 0);Ze([(0,Ue.property)({type:Boolean})],Oe.prototype,"forceTooltip",void 0);Ze([(0,Ue.property)({type:Boolean})],Oe.prototype,"activated",void 0);Ze([(0,Ue.query)(".ft-button")],Oe.prototype,"button",void 0);Ze([(0,Ue.query)(".ft-button--label slot")],Oe.prototype,"slottedContent",void 0);Ze([(0,Ue.query)("[part=tooltip]")],Oe.prototype,"tooltip",void 0)});var Yi,Tf,Vn,ke,el=p(()=>{"use strict";Yi=u(z()),Tf=u(v());Eo();Js();Vn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ke=class extends Oe{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"}};ke.styles=[Tf.safariEllipsisFix,hu];Vn([(0,Yi.property)({type:Boolean})],ke.prototype,"primary",void 0);Vn([(0,Yi.property)({type:Boolean})],ke.prototype,"outlined",void 0);Vn([(0,Yi.property)({type:Boolean})],ke.prototype,"dense",void 0);Vn([(0,Yi.property)({type:Boolean})],ke.prototype,"round",void 0)});var $f,R,Pf,tl=p(()=>{"use strict";$f=u(A()),R=u(v());Ir();Fi();wo();ne();ne();Pf=[$f.css`
593
593
  :host {
594
594
  display: inline-block;
595
595
  max-width: 100%;
@@ -992,7 +992,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
992
992
  /** Large styles **/
993
993
 
994
994
  .ftds--size-large {
995
- ${(0,R.setVariable)(Le.size,m.largeIconSize)};
995
+ ${(0,R.setVariable)(Ie.size,m.largeIconSize)};
996
996
  ${(0,R.setVariable)(Se.size,m.largeIconSize)};
997
997
 
998
998
  height: ${m.largeHeight};
@@ -1014,7 +1014,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1014
1014
  /** Small styles **/
1015
1015
 
1016
1016
  .ftds--size-medium {
1017
- ${(0,R.setVariable)(Le.size,m.mediumIconSize)};
1017
+ ${(0,R.setVariable)(Ie.size,m.mediumIconSize)};
1018
1018
  ${(0,R.setVariable)(Se.size,m.mediumIconSize)};
1019
1019
 
1020
1020
  height: ${m.mediumHeight};
@@ -1037,7 +1037,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1037
1037
  /** Small styles **/
1038
1038
 
1039
1039
  .ftds--size-small {
1040
- ${(0,R.setVariable)(Le.size,m.smallIconSize)};
1040
+ ${(0,R.setVariable)(Ie.size,m.smallIconSize)};
1041
1041
  ${(0,R.setVariable)(Se.size,m.smallIconSize)};
1042
1042
 
1043
1043
  height: ${m.smallHeight};
@@ -1055,7 +1055,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1055
1055
  .ftds--size-small.ft-button--icon-only {
1056
1056
  width: ${m.smallIconOnlyWidth};
1057
1057
  }
1058
- `,R.noTextSelect]});var Xi,Gn,jn,Jt,rl=p(()=>{"use strict";Js();Xi=u(U());Pn();Gn=u(x());tl();ne();Mt();jn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Jt=class extends(0,Gn.toFtdsBase)(Oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=kn.brand,this.iconVariant=We.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 st.large:return Ft.body2medium;case st.medium:return Ft.caption1medium;case st.small:return Ft.caption2medium}}};Jt.styles=[Gn.safariEllipsisFix,Pf];jn([(0,Xi.property)({type:Boolean})],Jt.prototype,"primary",void 0);jn([(0,Xi.property)({type:Boolean})],Jt.prototype,"secondary",void 0);jn([(0,Xi.property)({type:Boolean})],Jt.prototype,"tertiary",void 0);jn([(0,Xi.property)({type:Boolean})],Jt.prototype,"round",void 0)});var _f=p(()=>{"use strict"});var Nf=p(()=>{"use strict"});var ol,er=p(()=>{"use strict";ol=u(x());el();rl();el();wo();_f();rl();tl();Nf();(0,ol.customElement)("ft-button")(ke);(0,ol.customElement)("ftds-button")(Jt)});var Bf,pe,he,il,Ji=p(()=>{"use strict";Bf=u(A()),pe=u(x());er();Un();he={height:pe.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:pe.FtCssVariableFactory.extend("--ft-search-input-border-radius","",pe.designSystemVariables.borderRadiusS),desktopFiltersHeight:pe.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:pe.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:pe.FtCssVariableFactory.extend("--ft-search-input-background-color","",pe.designSystemVariables.colorSurface),colorOnSurface:pe.FtCssVariableFactory.extend("--ft-search-input-color","",pe.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:pe.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",pe.designSystemVariables.colorOnSurfaceMedium),colorOutline:pe.FtCssVariableFactory.extend("--ft-search-input-outline-color","",pe.designSystemVariables.colorOutline),elevation02:pe.FtCssVariableFactory.extend("--ft-search-input-elevation","",pe.designSystemVariables.elevation02),focusOutlineColor:pe.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",pe.designSystemVariables.colorPrimary),buttonColor:pe.FtCssVariableFactory.extend("--ft-search-input-button-color","",pe.designSystemVariables.colorPrimary),buttonRippleColor:pe.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",pe.designSystemVariables.colorPrimary)},il=Bf.css`
1058
+ `,R.noTextSelect]});var Xi,Gn,jn,Jt,rl=p(()=>{"use strict";Js();Xi=u(z());Pn();Gn=u(v());tl();ne();Mt();jn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Jt=class extends(0,Gn.toFtdsBase)(Oe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=kn.brand,this.iconVariant=We.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 st.large:return Ft.body2medium;case st.medium:return Ft.caption1medium;case st.small:return Ft.caption2medium}}};Jt.styles=[Gn.safariEllipsisFix,Pf];jn([(0,Xi.property)({type:Boolean})],Jt.prototype,"primary",void 0);jn([(0,Xi.property)({type:Boolean})],Jt.prototype,"secondary",void 0);jn([(0,Xi.property)({type:Boolean})],Jt.prototype,"tertiary",void 0);jn([(0,Xi.property)({type:Boolean})],Jt.prototype,"round",void 0)});var _f=p(()=>{"use strict"});var Nf=p(()=>{"use strict"});var ol,er=p(()=>{"use strict";ol=u(v());el();rl();el();Eo();_f();rl();tl();Nf();(0,ol.customElement)("ft-button")(ke);(0,ol.customElement)("ftds-button")(Jt)});var Bf,pe,he,il,Ji=p(()=>{"use strict";Bf=u(A()),pe=u(v());er();zn();he={height:pe.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:pe.FtCssVariableFactory.extend("--ft-search-input-border-radius","",pe.designSystemVariables.borderRadiusS),desktopFiltersHeight:pe.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:pe.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:pe.FtCssVariableFactory.extend("--ft-search-input-background-color","",pe.designSystemVariables.colorSurface),colorOnSurface:pe.FtCssVariableFactory.extend("--ft-search-input-color","",pe.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:pe.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",pe.designSystemVariables.colorOnSurfaceMedium),colorOutline:pe.FtCssVariableFactory.extend("--ft-search-input-outline-color","",pe.designSystemVariables.colorOutline),elevation02:pe.FtCssVariableFactory.extend("--ft-search-input-elevation","",pe.designSystemVariables.elevation02),focusOutlineColor:pe.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",pe.designSystemVariables.colorPrimary),buttonColor:pe.FtCssVariableFactory.extend("--ft-search-input-button-color","",pe.designSystemVariables.colorPrimary),buttonRippleColor:pe.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",pe.designSystemVariables.colorPrimary)},il=Bf.css`
1059
1059
  * {
1060
1060
  box-sizing: border-box;
1061
1061
  ${(0,pe.setVariable)(H.color,he.buttonColor)};
@@ -1131,19 +1131,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1131
1131
  height: 20px;
1132
1132
  border-right: 1px solid ${he.colorOutline};
1133
1133
  }
1134
-
1135
- .ft-search-input--aria-live {
1136
- position: absolute;
1137
- width: 0;
1138
- height: 0;
1139
- opacity: 0;
1140
- }
1141
- `});var Df,Ff,Kn,nl,qn=p(()=>{"use strict";Df=u(A()),Ff=u(x()),Kn={highlightBackgroundColor:Ff.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},nl=Df.css`
1134
+ `});var Df,Ff,Kn,nl,qn=p(()=>{"use strict";Df=u(A()),Ff=u(v()),Kn={highlightBackgroundColor:Ff.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},nl=Df.css`
1142
1135
  .kwicmatch {
1143
1136
  font-weight: 700;
1144
1137
  background-color: ${Kn.highlightBackgroundColor};
1145
1138
  }
1146
- `});var Mf,zf,Zn,al,Qn=p(()=>{"use strict";Mf=u(A()),zf=u(x()),Zn={highlightBackgroundColor:zf.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},al=Mf.css`
1139
+ `});var Mf,Uf,Zn,al,Qn=p(()=>{"use strict";Mf=u(A()),Uf=u(v()),Zn={highlightBackgroundColor:Uf.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},al=Mf.css`
1147
1140
  .kwicmatch {
1148
1141
  font-weight: 700;
1149
1142
  background-color: ${Zn.highlightBackgroundColor};
@@ -1159,18 +1152,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1159
1152
  }
1160
1153
  `});var Wf,Vf,ll=p(()=>{"use strict";Wf=u(A()),Vf=Wf.css`
1161
1154
  `});var jf,Gf,cl=p(()=>{"use strict";jf=u(A()),Gf=jf.css`
1162
- `});var Yn,Jv,dl,ex,_,zt=p(()=>{"use strict";Yn=u(x()),Jv="ft-app-info",dl=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},ex={session:(t,e)=>{(0,Yn.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>_.dispatchEvent(new dl(e.payload)),0))}},_=Yn.FtReduxStore.get({name:Jv,reducers:ex,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 $o,Xn=p(()=>{"use strict";zt();$o=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=_.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=t.get(e);if(i)r(i);else{let n=_.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}}});var li,pl=p(()=>{"use strict";Xn();li=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:$o.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):$o.await()}}});var ul,gr,en=p(()=>{"use strict";ul=u(x());pl();gr=class extends li{constructor(e=!0,r){var i;super(r);let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new ul.CacheRegistry,this.cache=e?n.commonCache:new ul.CacheRegistry}clearCache(){this.cache.clearAll()}}});var yr,Kf,tx,Jn,ci,ea,fl=p(()=>{"use strict";zt();yr=u(x());en();tx=Symbol("clearAfterUnitTest"),Jn=class extends gr{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Kf]=()=>{this.defaultMessages={},this.cache=new yr.CacheRegistry,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=_.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};(0,yr.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new yr.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(e){let r=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e))}catch(n){!(n instanceof yr.CanceledPromiseError)&&r&&console.error(n)}return r&&await this.notify(e),i}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}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(r=>(0,yr.delay)(0).then(()=>r()).catch(()=>null)))}};Kf=tx;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Jn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Jn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});ci=window.FluidTopicsI18nService,ea=window.FluidTopicsCustomI18nService});var qf,vt,tr,Je,$e,hl=p(()=>{"use strict";qf=u(A()),vt=u(U()),tr=u(x());cl();zt();fl();Xn();Je=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},$e=class extends tr.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=()=>$o.get(),this.messageContexts=[],this.cache=new tr.CacheRegistry,this.cleanSessionDebouncer=new tr.Debouncer}render(){return qf.html`
1155
+ `});var Yn,ev,dl,tv,_,Ut=p(()=>{"use strict";Yn=u(v()),ev="ft-app-info",dl=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},tv={session:(t,e)=>{(0,Yn.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>_.dispatchEvent(new dl(e.payload)),0))}},_=Yn.FtReduxStore.get({name:ev,reducers:tv,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 $o,Xn=p(()=>{"use strict";Ut();$o=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=_.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=t.get(e);if(i)r(i);else{let n=_.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}}});var ci,pl=p(()=>{"use strict";Xn();ci=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:$o.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):$o.await()}}});var ul,gr,en=p(()=>{"use strict";ul=u(v());pl();gr=class extends ci{constructor(e=!0,r){var i;super(r);let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new ul.CacheRegistry,this.cache=e?n.commonCache:new ul.CacheRegistry}clearCache(){this.cache.clearAll()}}});var yr,Kf,rv,Jn,di,ea,fl=p(()=>{"use strict";Ut();yr=u(v());en();rv=Symbol("clearAfterUnitTest"),Jn=class extends gr{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Kf]=()=>{this.defaultMessages={},this.cache=new yr.CacheRegistry,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=_.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};(0,yr.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new yr.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(e){let r=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e))}catch(n){!(n instanceof yr.CanceledPromiseError)&&r&&console.error(n)}return r&&await this.notify(e),i}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}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(r=>(0,yr.delay)(0).then(()=>r()).catch(()=>null)))}};Kf=rv;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Jn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Jn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});di=window.FluidTopicsI18nService,ea=window.FluidTopicsCustomI18nService});var qf,xt,tr,Je,Te,hl=p(()=>{"use strict";qf=u(A()),xt=u(z()),tr=u(v());cl();Ut();fl();Xn();Je=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Te=class extends tr.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=()=>$o.get(),this.messageContexts=[],this.cache=new tr.CacheRegistry,this.cleanSessionDebouncer=new tr.Debouncer}render(){return qf.html`
1163
1156
  <slot></slot>
1164
- `}update(e){var r,i,n,a,s;super.update(e),e.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&_.actions.noCustom(this.noCustom),e.has("editorMode")&&_.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&_.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>ci.addContext(c)),e.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&_.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(_.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),_.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),_.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.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())}};$e.elementDefinitions={};$e.styles=Gf;Je([(0,vt.property)()],$e.prototype,"baseUrl",void 0);Je([(0,vt.property)()],$e.prototype,"apiIntegrationIdentifier",void 0);Je([(0,vt.property)()],$e.prototype,"uiLocale",void 0);Je([(0,tr.jsonProperty)(null)],$e.prototype,"availableUiLocales",void 0);Je([(0,tr.jsonProperty)(null)],$e.prototype,"metadataConfiguration",void 0);Je([(0,vt.property)({type:Boolean})],$e.prototype,"editorMode",void 0);Je([(0,vt.property)({type:Boolean})],$e.prototype,"noCustom",void 0);Je([(0,vt.property)({type:Boolean})],$e.prototype,"openExternalDocumentInNewTab",void 0);Je([(0,vt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],$e.prototype,"noCustomComponent",void 0);Je([(0,vt.property)({type:Boolean})],$e.prototype,"withManualResources",void 0);Je([(0,vt.property)({type:Boolean})],$e.prototype,"navigatorOnline",void 0);Je([(0,vt.property)({type:Boolean})],$e.prototype,"forcedOffline",void 0);Je([(0,vt.property)({type:Object})],$e.prototype,"apiProvider",void 0);Je([(0,tr.jsonProperty)([])],$e.prototype,"messageContexts",void 0);Je([(0,tr.jsonProperty)(void 0)],$e.prototype,"session",void 0);Je([(0,vt.state)()],$e.prototype,"localesConfiguration",void 0)});function rx(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!ta(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!ta(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[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 a=s=>Object.keys(s).filter(c=>s[c]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!ta(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ta(t,e){try{return rx(t,e)}catch{return!1}}function ra(t,e){return!ta(t,e)}var oa=p(()=>{"use strict"});var ox,Zf=p(()=>{"use strict";oa();ox=u(U(),1)});var ia,ml=p(()=>{"use strict";ia=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}}});function Yf(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Qf.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:ra,...e??{}})}var Qf,Xf=p(()=>{"use strict";Qf=u(U(),1);oa()});var na,Jf=p(()=>{"use strict";na=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(c){n(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var aa,ix,SA,eh,th=p(()=>{aa=globalThis,ix=aa.ShadowRoot&&(aa.ShadyCSS===void 0||aa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,SA=Symbol(),eh=(t,e)=>{if(ix)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=aa.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}}});var rh,sa,oh=p(()=>{"use strict";rh=u(A(),1);th();sa=class extends rh.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return eh(i,e.elementStyles),i}}});function ih(t,e,...r){var i;let n=t.querySelector(e);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}var nh=p(()=>{"use strict"});var di,tn,ch,ah,sh,dh,lh,Fr,ph=p(()=>{"use strict";di=u(U(),1);Xf();Jf();oh();nh();tn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ah=Symbol("constructorPrototype"),sh=Symbol("constructorName"),dh=Symbol("exportpartsDebouncer"),lh=Symbol("dynamicDependenciesLoaded"),Fr=class extends sa{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ch]=new na(5),this[sh]=this.constructor.name,this[ah]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[sh]&&Object.setPrototypeOf(this,this[ah])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[lh]||(e[lh]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];r=ih(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[dh].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,i,n,a,s,c;let f=v=>v!=null&&v.trim().length>0,h=e.filter(f).map(v=>v.trim());if(h.length===0){this.removeAttribute("exportparts");return}let b=new Set;for(let v of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let O=(a=(n=v.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],C=(c=(s=v.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...O,...C).filter(f).map(E=>E.trim()).forEach(E=>b.add(E))}if(b.size===0){this.removeAttribute("exportparts");return}let y=[...b.values()].flatMap(v=>h.map(O=>`${v}:${O}--${v}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};ch=dh;tn([(0,di.property)()],Fr.prototype,"exportpartsPrefix",void 0);tn([Yf([])],Fr.prototype,"exportpartsPrefixes",void 0);tn([(0,di.property)()],Fr.prototype,"customStylesheet",void 0);tn([(0,di.property)()],Fr.prototype,"elementToFocus",void 0);tn([(0,di.state)()],Fr.prototype,"useAdoptedStyleSheets",void 0)});function rn(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var la=p(()=>{"use strict"});var uh,fh,hh,on,eo,To,nn,mh=p(()=>{"use strict";ph();la();on=Symbol("internalReduxEventsUnsubscribers"),eo=Symbol("internalStoresUnsubscribers"),To=Symbol("internalStores"),nn=class extends Fr{constructor(){super(...arguments),this[uh]=new Map,this[fh]=new Map,this[hh]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[To].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[To].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[To].get(e)}addStore(e,r){var i;r=(i=r??(rn(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this[To].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[To].delete(r)}setupStores(){this.unsubscribeFromStores(),this[To].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let i=this.constructor.getPropertyOptions(r);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:r)){let n=this.getStore(e.store);n&&(e.store?this[eo].has(e.store):this[eo].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var i;this[eo].set(e,r.subscribe(()=>this.updateFromStores())),this[on].set(e,[]),rn(r)&&r.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||r.name===n.store)){let s=c=>this[a](c);r.addEventListener(n.eventName,s),this[on].get(e).push(()=>r.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[eo].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[eo].has(e)&&this[eo].get(e)(),this[eo].delete(e),(r=this[on].get(e))===null||r===void 0||r.forEach(i=>i()),this[on].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};uh=eo,fh=To,hh=on;nn.reduxProperties=new Map;nn.reduxReactiveProperties=new Set;nn.reduxEventListeners=new Map});function Ut(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Mr(t){return!!t&&!!t[we]}function rr(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===ux}(t)||Array.isArray(t)||!!t[Ch]||!!(!((e=t.constructor)===null||e===void 0)&&e[Ch])||wl(t)||El(t))}function Po(t,e,r){r===void 0&&(r=!1),fi(t)===0?(r?Object.keys:ui)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function fi(t){var e=t[we];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:wl(t)?2:El(t)?3:0}function pi(t,e){return fi(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function nx(t,e){return fi(t)===2?t.get(e):t[e]}function Oh(t,e,r){var i=fi(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function wh(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function wl(t){return dx&&t instanceof Map}function El(t){return px&&t instanceof Set}function to(t){return t.o||t.t}function Rl(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ah(t);delete e[we];for(var r=ui(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Al(t,e){return e===void 0&&(e=!1),kl(t)||Mr(t)||!rr(t)||(fi(t)>1&&(t.set=t.add=t.clear=t.delete=ax),Object.freeze(t),e&&Po(t,function(r,i){return Al(i,!0)},!0)),t}function ax(){Ut(2)}function kl(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function br(t){var e=Ol[t];return e||Ut(18,t),e}function sx(t,e){Ol[t]||(Ol[t]=e)}function xl(){return sn}function gl(t,e){e&&(br("Patches"),t.u=[],t.s=[],t.v=e)}function ca(t){Sl(t),t.p.forEach(lx),t.p=null}function Sl(t){t===sn&&(sn=t.l)}function gh(t){return sn={p:[],l:sn,h:t,m:!0,_:0}}function lx(t){var e=t[we];e.i===0||e.i===1?e.j():e.g=!0}function yl(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||br("ES5").S(e,t,i),i?(r[we].P&&(ca(e),Ut(4)),rr(t)&&(t=da(e,t),e.l||pa(e,t)),e.u&&br("Patches").M(r[we].t,t,e.u,e.s)):t=da(e,r,[]),ca(e),e.u&&e.v(e.u,e.s),t!==Rh?t:void 0}function da(t,e,r){if(kl(e))return e;var i=e[we];if(!i)return Po(e,function(c,f){return yh(t,i,e,c,f,r)},!0),e;if(i.A!==t)return e;if(!i.P)return pa(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Rl(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Po(a,function(c,f){return yh(t,i,n,c,f,r,s)}),pa(t,n,!1),r&&t.u&&br("Patches").N(i,r,t.u,t.s)}return i.o}function yh(t,e,r,i,n,a,s){if(Mr(n)){var c=da(t,n,a&&e&&e.i!==3&&!pi(e.R,i)?a.concat(i):void 0);if(Oh(r,i,c),!Mr(c))return;t.m=!1}else s&&r.add(n);if(rr(n)&&!kl(n)){if(!t.h.D&&t._<1)return;da(t,n),e&&e.A.l||pa(t,n)}}function pa(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Al(e,r)}function bl(t,e){var r=t[we];return(r?to(r):t)[e]}function bh(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function ro(t){t.P||(t.P=!0,t.l&&ro(t.l))}function vl(t){t.o||(t.o=Rl(t.t))}function Cl(t,e,r){var i=wl(e)?br("MapSet").F(e,r):El(e)?br("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),c={i:s?1:0,A:a?a.A:xl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},f=c,h=ln;s&&(f=[c],h=an);var b=Proxy.revocable(f,h),y=b.revoke,v=b.proxy;return c.k=v,c.j=y,v}(e,r):br("ES5").J(e,r);return(r?r.A:xl()).p.push(i),i}function cx(t){return Mr(t)||Ut(22,t),function e(r){if(!rr(r))return r;var i,n=r[we],a=fi(r);if(n){if(!n.P&&(n.i<4||!br("ES5").K(n)))return n.t;n.I=!0,i=vh(r,a),n.I=!1}else i=vh(r,a);return Po(i,function(s,c){n&&nx(n.t,s)===c||Oh(i,s,e(c))}),a===3?new Set(i):i}(t)}function vh(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Rl(t)}function Eh(){function t(s,c){var f=a[s];return f?f.enumerable=c:a[s]=f={configurable:!0,enumerable:c,get:function(){var h=this[we];return ln.get(h,s)},set:function(h){var b=this[we];ln.set(b,s,h)}},f}function e(s){for(var c=s.length-1;c>=0;c--){var f=s[c][we];if(!f.P)switch(f.i){case 5:i(f)&&ro(f);break;case 4:r(f)&&ro(f)}}}function r(s){for(var c=s.t,f=s.k,h=ui(f),b=h.length-1;b>=0;b--){var y=h[b];if(y!==we){var v=c[y];if(v===void 0&&!pi(c,y))return!0;var O=f[y],C=O&&O[we];if(C?C.t!==v:!wh(O,v))return!0}}var E=!!c[we];return h.length!==ui(c).length+(E?0:1)}function i(s){var c=s.k;if(c.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(c,c.length-1);if(f&&!f.get)return!0;for(var h=0;h<c.length;h++)if(!c.hasOwnProperty(h))return!0;return!1}function n(s){s.g&&Ut(3,JSON.stringify(to(s)))}var a={};sx("ES5",{J:function(s,c){var f=Array.isArray(s),h=function(y,v){if(y){for(var O=Array(v.length),C=0;C<v.length;C++)Object.defineProperty(O,""+C,t(C,!0));return O}var E=Ah(v);delete E[we];for(var P=ui(E),$=0;$<P.length;$++){var T=P[$];E[T]=t(T,y||!!E[T].enumerable)}return Object.create(Object.getPrototypeOf(v),E)}(f,s),b={i:f?5:4,A:c?c.A:xl(),P:!1,I:!1,R:{},l:c,t:s,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,we,{value:b,writable:!0}),h},S:function(s,c,f){f?Mr(c)&&c[we].A===s&&e(s.p):(s.u&&function h(b){if(b&&typeof b=="object"){var y=b[we];if(y){var v=y.t,O=y.k,C=y.R,E=y.i;if(E===4)Po(O,function(X){X!==we&&(v[X]!==void 0||pi(v,X)?C[X]||h(O[X]):(C[X]=!0,ro(y)))}),Po(v,function(X){O[X]!==void 0||pi(O,X)||(C[X]=!1,ro(y))});else if(E===5){if(i(y)&&(ro(y),C.length=!0),O.length<v.length)for(var P=O.length;P<v.length;P++)C[P]=!1;else for(var $=v.length;$<O.length;$++)C[$]=!0;for(var T=Math.min(O.length,v.length),z=0;z<T;z++)O.hasOwnProperty(z)||(C[z]=!0),C[z]===void 0&&h(O[z])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var xh,sn,Il,dx,px,Sh,Rh,Ch,we,ux,ui,Ah,Ol,ln,an,fx,At,hx,NA,BA,DA,FA,MA,zA,ua,fa=p(()=>{Il=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",dx=typeof Map<"u",px=typeof Set<"u",Sh=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Rh=Il?Symbol.for("immer-nothing"):((xh={})["immer-nothing"]=!0,xh),Ch=Il?Symbol.for("immer-draftable"):"__$immer_draftable",we=Il?Symbol.for("immer-state"):"__$immer_state",ux=""+Object.prototype.constructor,ui=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ah=Object.getOwnPropertyDescriptors||function(t){var e={};return ui(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ol={},ln={get:function(t,e){if(e===we)return t;var r=to(t);if(!pi(r,e))return function(n,a,s){var c,f=bh(a,s);return f?"value"in f?f.value:(c=f.get)===null||c===void 0?void 0:c.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!rr(i)?i:i===bl(t.t,e)?(vl(t),t.o[e]=Cl(t.A.h,i,t)):i},has:function(t,e){return e in to(t)},ownKeys:function(t){return Reflect.ownKeys(to(t))},set:function(t,e,r){var i=bh(to(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=bl(to(t),e),a=n?.[we];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(wh(r,n)&&(r!==void 0||pi(t.t,e)))return!0;vl(t),ro(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return bl(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,vl(t),ro(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=to(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){Ut(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ut(12)}},an={};Po(ln,function(t,e){an[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),an.deleteProperty=function(t,e){return an.set.call(this,t,e,void 0)},an.set=function(t,e,r){return ln.set.call(this,t[0],e,r,t[0])};fx=function(){function t(r){var i=this;this.O=Sh,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var c=a;a=n;var f=i;return function(E){var P=this;E===void 0&&(E=c);for(var $=arguments.length,T=Array($>1?$-1:0),z=1;z<$;z++)T[z-1]=arguments[z];return f.produce(E,function(X){var re;return(re=a).call.apply(re,[P,X].concat(T))})}}var h;if(typeof a!="function"&&Ut(6),s!==void 0&&typeof s!="function"&&Ut(7),rr(n)){var b=gh(i),y=Cl(i,n,void 0),v=!0;try{h=a(y),v=!1}finally{v?ca(b):Sl(b)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(E){return gl(b,s),yl(E,b)},function(E){throw ca(b),E}):(gl(b,s),yl(h,b))}if(!n||typeof n!="object"){if((h=a(n))===void 0&&(h=n),h===Rh&&(h=void 0),i.D&&Al(h,!0),s){var O=[],C=[];br("Patches").M(n,h,O,C),s(O,C)}return h}Ut(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(h){for(var b=arguments.length,y=Array(b>1?b-1:0),v=1;v<b;v++)y[v-1]=arguments[v];return i.produceWithPatches(h,function(O){return n.apply(void 0,[O].concat(y))})};var s,c,f=i.produce(n,a,function(h,b){s=h,c=b});return typeof Promise<"u"&&f instanceof Promise?f.then(function(h){return[h,s,c]}):[f,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){rr(r)||Ut(8),Mr(r)&&(r=cx(r));var i=gh(this),n=Cl(this,r,void 0);return n[we].C=!0,Sl(i),n},e.finishDraft=function(r,i){var n=r&&r[we],a=n.A;return gl(a,i),yl(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Sh&&Ut(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=br("Patches").$;return Mr(r)?s(r,i):this.produce(r,function(c){return s(c,i)})},t}(),At=new fx,hx=At.produce,NA=At.produceWithPatches.bind(At),BA=At.setAutoFreeze.bind(At),DA=At.setUseProxies.bind(At),FA=At.applyPatches.bind(At),MA=At.createDraft.bind(At),zA=At.finishDraft.bind(At),ua=hx});function _o(t){"@babel/helpers - typeof";return _o=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},_o(t)}var Ll=p(()=>{});function kh(t,e){if(_o(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(_o(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ih=p(()=>{Ll()});function Lh(t){var e=kh(t,"string");return _o(e)=="symbol"?e:e+""}var $h=p(()=>{Ll();Ih()});function Th(t,e,r){return(e=Lh(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ph=p(()=>{$h()});function _h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function $l(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_h(Object(r),!0).forEach(function(i){Th(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_h(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}var Nh=p(()=>{Ph()});function et(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 mx(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 Pl(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(et(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(et(1));return r(Pl)(t,e)}if(typeof t!="function")throw new Error(et(2));var n=t,a=e,s=[],c=s,f=!1;function h(){c===s&&(c=s.slice())}function b(){if(f)throw new Error(et(3));return a}function y(E){if(typeof E!="function")throw new Error(et(4));if(f)throw new Error(et(5));var P=!0;return h(),c.push(E),function(){if(P){if(f)throw new Error(et(6));P=!1,h();var T=c.indexOf(E);c.splice(T,1),s=null}}}function v(E){if(!mx(E))throw new Error(et(7));if(typeof E.type>"u")throw new Error(et(8));if(f)throw new Error(et(9));try{f=!0,a=n(a,E)}finally{f=!1}for(var P=s=c,$=0;$<P.length;$++){var T=P[$];T()}return E}function O(E){if(typeof E!="function")throw new Error(et(10));n=E,v({type:ha.REPLACE})}function C(){var E,P=y;return E={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(et(11));function z(){T.next&&T.next(b())}z();var X=P(z);return{unsubscribe:X}}},E[Bh]=function(){return this},E}return v({type:ha.INIT}),i={dispatch:v,subscribe:y,getState:b,replaceReducer:O},i[Bh]=C,i}function gx(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:ha.INIT});if(typeof i>"u")throw new Error(et(12));if(typeof r(void 0,{type:ha.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(et(13))})}function Dh(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,c;try{gx(r)}catch(f){c=f}return function(h,b){if(h===void 0&&(h={}),c)throw c;if(0)var y;for(var v=!1,O={},C=0;C<a.length;C++){var E=a[C],P=r[E],$=h[E],T=P($,b);if(typeof T>"u"){var z=b&&b.type;throw new Error(et(14))}O[E]=T,v=v||T!==$}return v=v||a.length!==Object.keys(h).length,v?O:h}}function hi(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Fh(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(et(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(f){return f(s)});return a=hi.apply(void 0,c)(n.dispatch),$l($l({},n),{},{dispatch:a})}}}var Bh,Tl,ha,ma=p(()=>{Nh();Bh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Tl=function(){return Math.random().toString(36).substring(7).split("").join(".")},ha={INIT:"@@redux/INIT"+Tl(),REPLACE:"@@redux/REPLACE"+Tl(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Tl()}}});function Mh(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(c){return typeof c=="function"?c(n,a,t):s(c)}}};return e}var zh,_l,Uh=p(()=>{zh=Mh();zh.withExtraArgument=Mh;_l=zh});function Ex(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function Fl(t){return rr(t)?ua(t,function(){}):t}function kx(t){return typeof t=="boolean"}function Ix(){return function(e){return Lx(e)}}function Lx(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,c=new Rx;if(r&&(kx(r)?c.push(_l):c.push(_l.withExtraArgument(r.extraArgument))),0){if(n)var f;if(s)var h}return c}function Kh(t){var e=Ix(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,c=r.devTools,f=c===void 0?!0:c,h=r.preloadedState,b=h===void 0?void 0:h,y=r.enhancers,v=y===void 0?void 0:y,O;if(typeof n=="function")O=n;else if(Ex(n))O=Dh(n);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 C=s;if(typeof C=="function"&&(C=C(e),!Bl&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Bl&&C.some(function(X){return typeof X!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Fh.apply(void 0,C),P=hi;f&&(P=wx(oo({trace:!Bl},typeof f=="object"&&f)));var $=new Ax(E),T=$;Array.isArray(v)?T=mi([E],v):typeof v=="function"&&(T=v($));var z=P.apply(void 0,T);return Pl(O,b,z)}function io(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return oo(oo({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function qh(t){var e={},r=[],i,n={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function $x(t){return typeof t=="function"}function Tx(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?qh(e):[e,r,i],a=n[0],s=n[1],c=n[2],f;if($x(t))f=function(){return Fl(t())};else{var h=Fl(t);f=function(){return h}}function b(y,v){y===void 0&&(y=f());var O=mi([a[v.type]],s.filter(function(C){var E=C.matcher;return E(v)}).map(function(C){var E=C.reducer;return E}));return O.filter(function(C){return!!C}).length===0&&(O=[c]),O.reduce(function(C,E){if(E)if(Mr(C)){var P=C,$=E(P,v);return $===void 0?C:$}else{if(rr(C))return ua(C,function(T){return E(T,v)});var $=E(C,v);if($===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return $}return C},y)}return b.getInitialState=f,b}function Px(t,e){return t+"/"+e}function Zh(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Fl(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};n.forEach(function(b){var y=i[b],v=Px(e,b),O,C;"reducer"in y?(O=y.reducer,C=y.prepare):O=y,a[b]=O,s[v]=O,c[b]=C?io(v,C):io(v)});function f(){var b=typeof t.extraReducers=="function"?qh(t.extraReducers):[t.extraReducers],y=b[0],v=y===void 0?{}:y,O=b[1],C=O===void 0?[]:O,E=b[2],P=E===void 0?void 0:E,$=oo(oo({},v),s);return Tx(r,function(T){for(var z in $)T.addCase(z,$[z]);for(var X=0,re=C;X<re.length;X++){var ut=re[X];T.addMatcher(ut.matcher,ut.reducer)}P&&T.addDefaultCase(P)})}var h;return{name:e,reducer:function(b,y){return h||(h=f()),h(b,y)},actions:c,caseReducers:a,getInitialState:function(){return h||(h=f()),h.getInitialState()}}}function Fx(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Mx(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Gh,yx,mi,bx,vx,xx,Hh,Sx,Cx,Wh,oo,Nl,Ox,wx,ik,Rx,Ax,Bl,_x,Nx,Bx,Dl,Vh,Dx,lk,Qh,Yh,Xh,ck,dk,pk,uk,Ml,fk,hk,mk,jh,gk,zx,yk,Jh=p(()=>{fa();ma();ma();ma();Uh();fa();fa();Gh=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),yx=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(h){return function(b){return f([h,b])}}function f(h){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=h[0]&2?n.return:h[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,h[1])).done)return a;switch(n=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return r.label++,{value:h[1],done:!1};case 5:r.label++,n=h[1],h=[0];continue;case 7:h=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){r=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){r.label=h[1];break}if(h[0]===6&&r.label<a[1]){r.label=a[1],a=h;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(h);break}a[2]&&r.ops.pop(),r.trys.pop();continue}h=e.call(t,r)}catch(b){h=[6,b],n=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},mi=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},bx=Object.defineProperty,vx=Object.defineProperties,xx=Object.getOwnPropertyDescriptors,Hh=Object.getOwnPropertySymbols,Sx=Object.prototype.hasOwnProperty,Cx=Object.prototype.propertyIsEnumerable,Wh=function(t,e,r){return e in t?bx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},oo=function(t,e){for(var r in e||(e={}))Sx.call(e,r)&&Wh(t,r,e[r]);if(Hh)for(var i=0,n=Hh(e);i<n.length;i++){var r=n[i];Cx.call(e,r)&&Wh(t,r,e[r])}return t},Nl=function(t,e){return vx(t,xx(e))},Ox=function(t,e,r){return new Promise(function(i,n){var a=function(f){try{c(r.next(f))}catch(h){n(h)}},s=function(f){try{c(r.throw(f))}catch(h){n(h)}},c=function(f){return f.done?i(f.value):Promise.resolve(f.value).then(a,s)};c((r=r.apply(t,e)).next())})},wx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?hi:hi.apply(null,arguments)},ik=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Rx=function(t){Gh(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,mi([void 0],r[0].concat(this)))):new(e.bind.apply(e,mi([void 0],r.concat(this))))},e}(Array),Ax=function(t){Gh(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,mi([void 0],r[0].concat(this)))):new(e.bind.apply(e,mi([void 0],r.concat(this))))},e}(Array);Bl=!0;_x="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Nx=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=_x[Math.random()*64|0];return e},Bx=["name","message","stack","code"],Dl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Vh=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Dx=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=Bx;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},lk=function(){function t(e,r,i){var n=io(e+"/fulfilled",function(b,y,v,O){return{payload:b,meta:Nl(oo({},O||{}),{arg:v,requestId:y,requestStatus:"fulfilled"})}}),a=io(e+"/pending",function(b,y,v){return{payload:void 0,meta:Nl(oo({},v||{}),{arg:y,requestId:b,requestStatus:"pending"})}}),s=io(e+"/rejected",function(b,y,v,O,C){return{payload:O,error:(i&&i.serializeError||Dx)(b||"Rejected"),meta:Nl(oo({},C||{}),{arg:v,requestId:y,rejectedWithValue:!!O,requestStatus:"rejected",aborted:b?.name==="AbortError",condition:b?.name==="ConditionError"})}}),c=!1,f=typeof AbortController<"u"?AbortController:function(){function b(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return b.prototype.abort=function(){},b}();function h(b){return function(y,v,O){var C=i?.idGenerator?i.idGenerator(b):Nx(),E=new f,P,$=!1;function T(X){P=X,E.abort()}var z=function(){return Ox(this,null,function(){var X,re,ut,dr,at,pr,Ge;return yx(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),dr=(X=i?.condition)==null?void 0:X.call(i,b,{getState:v,extra:O}),Mx(dr)?[4,dr]:[3,2];case 1:dr=g.sent(),g.label=2;case 2:if(dr===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return $=!0,at=new Promise(function(S,D){return E.signal.addEventListener("abort",function(){return D({name:"AbortError",message:P||"Aborted"})})}),y(a(C,b,(re=i?.getPendingMeta)==null?void 0:re.call(i,{requestId:C,arg:b},{getState:v,extra:O}))),[4,Promise.race([at,Promise.resolve(r(b,{dispatch:y,getState:v,extra:O,requestId:C,signal:E.signal,abort:T,rejectWithValue:function(S,D){return new Dl(S,D)},fulfillWithValue:function(S,D){return new Vh(S,D)}})).then(function(S){if(S instanceof Dl)throw S;return S instanceof Vh?n(S.payload,C,b,S.meta):n(S,C,b)})])];case 3:return ut=g.sent(),[3,5];case 4:return pr=g.sent(),ut=pr instanceof Dl?s(null,C,b,pr.payload,pr.meta):s(pr,C,b),[3,5];case 5:return Ge=i&&!i.dispatchConditionRejection&&s.match(ut)&&ut.meta.condition,Ge||y(ut),[2,ut]}})})}();return Object.assign(z,{abort:T,requestId:C,arg:b,unwrap:function(){return z.then(Fx)}})}}return Object.assign(h,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();Qh="listener",Yh="completed",Xh="cancelled",ck="task-"+Xh,dk="task-"+Yh,pk=Qh+"-"+Xh,uk=Qh+"-"+Yh,Ml="listenerMiddleware",fk=io(Ml+"/add"),hk=io(Ml+"/removeAll"),mk=io(Ml+"/remove"),gk=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(jh||(jh=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},zx=function(t){return function(e){setTimeout(e,t)}},yk=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:zx(10);Eh()});function Ux(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}var ga,em=p(()=>{"use strict";ga=class extends Ux(Object){}});var tm,rm=p(()=>{"use strict";Jh();la();ml();em();window.ftReduxStores||(window.ftReduxStores={});tm=class t extends ga{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(rn(a))return a;if(n==null)return;let s=Zh({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),c=Kh({reducer:(f,h)=>h.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof h.type=="string"&&h.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...h.overwrites}:s.reducer(f,h)});return window.ftReduxStores[n.name]=new t(s,c,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new ia;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let f=s,h=a[f];return h?(...b)=>{let y=h(...b.map(n));return this.reduxStore.dispatch(y),y}:b=>{this.setState({[f]:n(b)})}}}),this.eventBus=i??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 om=p(()=>{"use strict";oa()});var im=p(()=>{"use strict";Zf();ml();mh();rm();la();om()});var nm=p(()=>{"use strict"});var Hx,am=p(()=>{"use strict";Hx=u(U());im();nm();zt()});var lm=So((no,sm)=>{var ya=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ba=function(){function t(){this.fetch=!1,this.DOMException=ya.DOMException}return t.prototype=ya,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function f(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 h(g){return typeof g!="string"&&(g=String(g)),g}function b(g){var S={next:function(){var D=g.shift();return{done:D===void 0,value:D}}};return n.iterable&&(S[Symbol.iterator]=function(){return S}),S}function y(g){this.map={},g instanceof y?g.forEach(function(S,D){this.append(D,S)},this):Array.isArray(g)?g.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(S){this.append(S,g[S])},this)}y.prototype.append=function(g,S){g=f(g),S=h(S);var D=this.map[g];this.map[g]=D?D+", "+S:S},y.prototype.delete=function(g){delete this.map[f(g)]},y.prototype.get=function(g){return g=f(g),this.has(g)?this.map[g]:null},y.prototype.has=function(g){return this.map.hasOwnProperty(f(g))},y.prototype.set=function(g,S){this.map[f(g)]=h(S)},y.prototype.forEach=function(g,S){for(var D in this.map)this.map.hasOwnProperty(D)&&g.call(S,this.map[D],D,this)},y.prototype.keys=function(){var g=[];return this.forEach(function(S,D){g.push(D)}),b(g)},y.prototype.values=function(){var g=[];return this.forEach(function(S){g.push(S)}),b(g)},y.prototype.entries=function(){var g=[];return this.forEach(function(S,D){g.push([D,S])}),b(g)},n.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function v(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function O(g){return new Promise(function(S,D){g.onload=function(){S(g.result)},g.onerror=function(){D(g.error)}})}function C(g){var S=new FileReader,D=O(S);return S.readAsArrayBuffer(g),D}function E(g){var S=new FileReader,D=O(S),ue=/charset=([A-Za-z0-9_-]+)/.exec(g.type),Ae=ue?ue[1]:"utf-8";return S.readAsText(g,Ae),D}function P(g){for(var S=new Uint8Array(g),D=new Array(S.length),ue=0;ue<S.length;ue++)D[ue]=String.fromCharCode(S[ue]);return D.join("")}function $(g){if(g.slice)return g.slice(0);var S=new Uint8Array(g.byteLength);return S.set(new Uint8Array(g)),S.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:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&a(g)?(this._bodyArrayBuffer=$(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||c(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):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var g=v(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=v(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(n.blob)return this.blob().then(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=v(this);if(g)return g;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(P(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(ut)}),this.json=function(){return this.text().then(JSON.parse)},this}var z=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function X(g){var S=g.toUpperCase();return z.indexOf(S)>-1?S:g}function re(g,S){if(!(this instanceof re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var D=S.body;if(g instanceof re){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,S.headers||(this.headers=new y(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!D&&g._bodyInit!=null&&(D=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new y(S.headers)),this.method=X(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in i){var oe=new AbortController;return oe.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var ue=/([?&])_=[^&]*/;if(ue.test(this.url))this.url=this.url.replace(ue,"$1_="+new Date().getTime());else{var Ae=/\?/;this.url+=(Ae.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}re.prototype.clone=function(){return new re(this,{body:this._bodyInit})};function ut(g){var S=new FormData;return g.trim().split("&").forEach(function(D){if(D){var ue=D.split("="),Ae=ue.shift().replace(/\+/g," "),oe=ue.join("=").replace(/\+/g," ");S.append(decodeURIComponent(Ae),decodeURIComponent(oe))}}),S}function dr(g){var S=new y,D=g.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(ue){return ue.indexOf(`
1165
- `)===0?ue.substr(1,ue.length):ue}).forEach(function(ue){var Ae=ue.split(":"),oe=Ae.shift().trim();if(oe){var Rn=Ae.join(":").trim();try{S.append(oe,Rn)}catch(hs){console.warn("Response "+hs.message)}}}),S}T.call(re.prototype);function at(g,S){if(!(this instanceof at))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.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=S.statusText===void 0?"":""+S.statusText,this.headers=new y(S.headers),this.url=S.url||"",this._initBody(g)}T.call(at.prototype),at.prototype.clone=function(){return new at(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},at.error=function(){var g=new at(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var pr=[301,302,303,307,308];at.redirect=function(g,S){if(pr.indexOf(S)===-1)throw new RangeError("Invalid status code");return new at(null,{status:S,headers:{location:g}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(S,D){this.message=S,this.name=D;var ue=Error(S);this.stack=ue.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Ge(g,S){return new Promise(function(D,ue){var Ae=new re(g,S);if(Ae.signal&&Ae.signal.aborted)return ue(new r.DOMException("Aborted","AbortError"));var oe=new XMLHttpRequest;function Rn(){oe.abort()}oe.onload=function(){var Ke={statusText:oe.statusText,headers:dr(oe.getAllResponseHeaders()||"")};Ae.url.indexOf("file://")===0&&(oe.status<200||oe.status>599)?Ke.status=200:Ke.status=oe.status,Ke.url="responseURL"in oe?oe.responseURL:Ke.headers.get("X-Request-URL");var xo="response"in oe?oe.response:oe.responseText;setTimeout(function(){D(new at(xo,Ke))},0)},oe.onerror=function(){setTimeout(function(){ue(new TypeError("Network request failed"))},0)},oe.ontimeout=function(){setTimeout(function(){ue(new TypeError("Network request timed out"))},0)},oe.onabort=function(){setTimeout(function(){ue(new r.DOMException("Aborted","AbortError"))},0)};function hs(Ke){try{return Ke===""&&i.location.href?i.location.href:Ke}catch{return Ke}}if(oe.open(Ae.method,hs(Ae.url),!0),Ae.credentials==="include"?oe.withCredentials=!0:Ae.credentials==="omit"&&(oe.withCredentials=!1),"responseType"in oe&&(n.blob?oe.responseType="blob":n.arrayBuffer&&(oe.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof y||i.Headers&&S.headers instanceof i.Headers)){var Ld=[];Object.getOwnPropertyNames(S.headers).forEach(function(Ke){Ld.push(f(Ke)),oe.setRequestHeader(Ke,h(S.headers[Ke]))}),Ae.headers.forEach(function(Ke,xo){Ld.indexOf(xo)===-1&&oe.setRequestHeader(xo,Ke)})}else Ae.headers.forEach(function(Ke,xo){oe.setRequestHeader(xo,Ke)});Ae.signal&&(Ae.signal.addEventListener("abort",Rn),oe.onreadystatechange=function(){oe.readyState===4&&Ae.signal.removeEventListener("abort",Rn)}),oe.send(typeof Ae._bodyInit>"u"?null:Ae._bodyInit)})}return Ge.polyfill=!0,i.fetch||(i.fetch=Ge,i.Headers=y,i.Request=re,i.Response=at),r.Headers=y,r.Request=re,r.Response=at,r.fetch=Ge,r}({})})(ba);ba.fetch.ponyfill=!0;delete ba.fetch.polyfill;var gi=ya.fetch?ya:ba;no=gi.fetch;no.default=gi.fetch;no.fetch=gi.fetch;no.Headers=gi.Headers;no.Request=gi.Request;no.Response=gi.Response;sm.exports=no});var zl=p(()=>{});var cm,dm,yi,pm,um,No,fm,hm,mm,gm,ym,bm,vm,xm,Sm,bi,Cm,va,Om,wm,Ht,vi,Ue,Ul=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(cm||(cm={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(dm||(dm={}));(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"})(yi||(yi={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(pm||(pm={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(um||(um={}));(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.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",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"})(No||(No={}));(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"})(fm||(fm={}));(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"})(hm||(hm={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(mm||(mm={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(gm||(gm={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ym||(ym={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(bm||(bm={}));(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"})(vm||(vm={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(xm||(xm={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Sm||(Sm={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(bi||(bi={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Cm||(Cm={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(va||(va={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Om||(Om={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(wm||(wm={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ht||(Ht={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(vi||(vi={}));(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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"})(Ue||(Ue={}))});var Em,Rm,Am,km=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Em||(Em={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Rm||(Rm={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Am||(Am={}))});function Im(t,e){return t===e||(Wx[t]??[]).some(r=>Im(r,e))}function Lm(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>Im(i,e))}var Wx,$m=p(()=>{Ul();Wx={[Ue.PERSONAL_BOOK_SHARE_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.HTML_EXPORT_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.PDF_EXPORT_USER]:[Ue.PERSONAL_BOOK_USER],[Ue.KHUB_ADMIN]:[Ue.CONTENT_PUBLISHER],[Ue.ADMIN]:[Ue.KHUB_ADMIN,Ue.USERS_ADMIN,Ue.PORTAL_ADMIN],[Ue.GENERATIVE_AI_EXPORT_USER]:[Ue.GENERATIVE_AI_USER]}});var Tm=p(()=>{});var Vx,cn=p(()=>{Vx=u(lm(),1);zl();Ul();km();$m();Tm();zl()});var xa,Hl=p(()=>{"use strict";zt();cn();en();xa=class extends gr{async listMySearches(){let{session:e}=_.getState();return Lm(e,Ue.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Sa,Wl=p(()=>{"use strict";zt();en();Sa=class extends gr{async listMyBookmarks(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Oa,jx,Ca,Vl,Pm,jl=p(()=>{"use strict";Oa=u(x());Hl();Wl();zt();jx="ft-user-assets",Ca=Oa.FtReduxStore.get({name:jx,initialState:{savedSearches:void 0,bookmarks:void 0}}),Vl=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Sa,this.savedSearchesService=new xa,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=_.getState();(0,Oa.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ca.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ca.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ca.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 r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ca.actions.bookmarks(r)}}},Pm=new Vl});var Gl,_m=p(()=>{"use strict";zt();Gl=class{addCommand(e,r=!1){_.commands.add(e,r)}consumeCommand(e){return _.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Gl});var Nm,Kl,Bm=p(()=>{"use strict";Nm=u(x()),Kl=class{highlightHtml(e,r,i){(0,Nm.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new Kl});var Dm,ql,Fm=p(()=>{"use strict";Dm=u(x());zt();ql=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=_.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return Dm.DateFormatter.format(e,(i=r?.locale)!==null&&i!==void 0?i:_.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ql});var Mm,zr,Zl=p(()=>{"use strict";Mm=u(x());zt();zr=class{static get(e,r){var i,n,a,s;let c=_.getState(),{lang:f,region:h}=(n=(i=c.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Mm.SearchPlaceConverter(c.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,c.searchInAllLanguagesAllowed,r??`${f}-${h}`)}}});var wa,zm=p(()=>{"use strict";pl();wa=class extends li{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.start_display event"),console.debug(r)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send topic.start_display event"),console.debug(r)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send khub.search event"),console.debug(r)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.search event"),console.debug(r)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_page.select event"),console.debug(r)})}async sendSearchResultOpenContextMenuEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_result.open_context_menu event"),console.debug(r)})}}});var Ql,Um=p(()=>{"use strict";Zl();Ql=class{urlToSearchRequest(e){return zr.get().parse(e)}searchRequestToUrl(e){return zr.get().serialize(e)}};window.FluidTopicsUrlService=new Ql});var Bo,Hm=p(()=>{"use strict";Bo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Bo.eventName="change"});var Yl,Wm,Vm=p(()=>{"use strict";Yl=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},Wm=new Yl});var ao,Ea,jm=p(()=>{"use strict";ao=u(x());Hm();Vm();Ea=class t extends ao.WithEventBus{static build(){return new t(window.history,Wm,()=>window.location,!1)}constructor(e,r,i,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let i=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,ao.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Bo(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,c])=>{let f=r(),h={...f===this.currentIndex?this.currentState:void 0,...a,index:f,href:typeof c=="string"?c:(c??this.windowLocation()).href};i.apply(n,[h,s,c]),this.setCurrentState(h,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e,r=!1){var i,n,a;let s={...this.buildCurrentState(),...e,index:this.currentIndex,title:(i=e?.title)!==null&&i!==void 0?i:this.currentState.title},c=r?(n=e?.majorState)!==null&&n!==void 0?n:this.currentState.majorState:(a=this.currentState.majorState)!==null&&a!==void 0?a:e?.majorState;c!=null&&(s.majorState=c),this.setCurrentState(s)}addHistoryChangeListener(e){this.addEventListener(Bo.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Bo.eventName,e)}currentItem(){return(0,ao.deepCopy)(this.currentState)}back(){let e=this.previousMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,ao.deepCopy)(this.states[this.previousMajorPosition()])}previousMajorPosition(){let e=this.currentIndex;for(;e>0&&!this.isMajorState(e);)e--;return this.previousExistingPosition(e)}forward(){let e=this.nextMajorPosition();e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){return(0,ao.deepCopy)(this.states[this.nextMajorPosition()])}nextMajorPosition(){let e=this.currentIndex;do e++;while(e<this.states.length&&!this.isMajorState(e));do e++;while(e<this.states.length&&!this.isMajorState(e));return this.previousExistingPosition(e)}previousExistingPosition(e){let r=e;do r--;while(r>0&&!this.hasState(r));return r}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isMajorState(e){var r,i;return this.hasState(e)&&((i=(r=this.states[e])===null||r===void 0?void 0:r.majorState)!==null&&i!==void 0?i:!0)}}});var Gm=p(()=>{"use strict";jm();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ea.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)})});var Km=p(()=>{"use strict";Wl();Xn();_m();fl();en();Bm();Hl();Fm();Zl();zm();Um();Gm()});var qm=p(()=>{"use strict"});var Zm,vr=p(()=>{"use strict";Zm=u(x());hl();am();zt();jl();Km();cl();qm();hl();(0,Zm.customElement)("ft-app-context")($e)});function Qm(t){return t.match(/^[\w-]+\.[\w-]+$/)}var Gx,Ym=p(()=>{"use strict";dn();Gx=u(x())});function Wt(t){var e,r;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?ea:ci}i18n(a){var s;this.hasI18nContext(a.context)||this.addI18nContext(a.context,void 0,a.custom);let c=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.getI18nService(a.custom).resolveMessage(a.context,a.key,...c)}customI18n(a,s){if(Qm(a)){let[c,f]=a.split(".");return this.i18n({custom:!0,context:c,key:f,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,c,f)=>a.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,c,f)=>{var h;return((h=f?.context)===null||h===void 0?void 0:h.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,c;let f=this,h=(b,y,v)=>v?.context&&v.key&&a(b,y,v)?{...v,message:this.i18n({context:v.context,key:v.key,...b})}:v;(s=this[Xm])===null||s===void 0||s.forEach((b,y)=>f[y]=h(b,y,f[y])),(c=this[Jm])===null||c===void 0||c.forEach((b,y)=>{var v;return f[y]=(v=f[y])===null||v===void 0?void 0:v.map(O=>h(b,y,O))})}updateI18nProperties(a){var s;(s=this[rg])===null||s===void 0||s.forEach((c,f)=>{a(c,f)&&(this[f]=this.i18n(c))})}addI18nMessages(a,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,c)}addI18nContext(a,s,c){let f=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[Ra].set(f,{isCustomContext:c}),this[pn].has(f)||this[pn].set(f,this.getI18nService(c).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(c).prepareContext(f,s)}hasI18nContext(a){return this[Ra].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ra].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[pn].forEach(a=>a()),this[pn].clear()}}return e=Ra,r=pn,Kx([(0,tg.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var ka,tg,Kx,Xm,Jm,rg,Ra,pn,eg,Aa,dn=p(()=>{"use strict";ka=u(x());vr();tg=u(U());Ym();Kx=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Xm=Symbol("i18nAttributes"),Jm=Symbol("i18nListAttributes"),rg=Symbol("i18nProperties"),Ra=Symbol("i18nContexts"),pn=Symbol("i18nUnsubs");eg=class extends Wt(ka.FtLitElement){},Aa=class extends Wt(ka.FtLitElementRedux){}});var Ia,La,$a,un,or,Xl=p(()=>{"use strict";Ia=u(A()),La=u(U()),$a=u(x());ll();dn();vr();un=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},or=class extends Aa{constructor(){super(),this.editorMode=!1,this.addStore(_)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ia.nothing:Ia.html`
1157
+ `}update(e){var r,i,n,a,s;super.update(e),e.has("baseUrl")&&(_.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&_.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&_.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&_.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&_.actions.noCustom(this.noCustom),e.has("editorMode")&&_.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&_.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&_.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(c=>di.addContext(c)),e.has("openExternalDocumentInNewTab")&&_.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&_.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&_.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(_.actions.defaultLocales((r=this.localesConfiguration)===null||r===void 0?void 0:r.defaultLocales),_.actions.availableUiLocales((n=(i=this.localesConfiguration)===null||i===void 0?void 0:i.availableUiLocales)!==null&&n!==void 0?n:[]),_.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.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())}};Te.elementDefinitions={};Te.styles=Gf;Je([(0,xt.property)()],Te.prototype,"baseUrl",void 0);Je([(0,xt.property)()],Te.prototype,"apiIntegrationIdentifier",void 0);Je([(0,xt.property)()],Te.prototype,"uiLocale",void 0);Je([(0,tr.jsonProperty)(null)],Te.prototype,"availableUiLocales",void 0);Je([(0,tr.jsonProperty)(null)],Te.prototype,"metadataConfiguration",void 0);Je([(0,xt.property)({type:Boolean})],Te.prototype,"editorMode",void 0);Je([(0,xt.property)({type:Boolean})],Te.prototype,"noCustom",void 0);Je([(0,xt.property)({type:Boolean})],Te.prototype,"openExternalDocumentInNewTab",void 0);Je([(0,xt.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Te.prototype,"noCustomComponent",void 0);Je([(0,xt.property)({type:Boolean})],Te.prototype,"withManualResources",void 0);Je([(0,xt.property)({type:Boolean})],Te.prototype,"navigatorOnline",void 0);Je([(0,xt.property)({type:Boolean})],Te.prototype,"forcedOffline",void 0);Je([(0,xt.property)({type:Object})],Te.prototype,"apiProvider",void 0);Je([(0,tr.jsonProperty)([])],Te.prototype,"messageContexts",void 0);Je([(0,tr.jsonProperty)(void 0)],Te.prototype,"session",void 0);Je([(0,xt.state)()],Te.prototype,"localesConfiguration",void 0)});function ov(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!ta(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!ta(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[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 a=s=>Object.keys(s).filter(c=>s[c]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!ta(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ta(t,e){try{return ov(t,e)}catch{return!1}}function ra(t,e){return!ta(t,e)}var oa=p(()=>{"use strict"});var iv,Zf=p(()=>{"use strict";oa();iv=u(z(),1)});var ia,ml=p(()=>{"use strict";ia=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}}});function Yf(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,Qf.property)({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:ra,...e??{}})}var Qf,Xf=p(()=>{"use strict";Qf=u(z(),1);oa()});var na,Jf=p(()=>{"use strict";na=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(c){n(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var aa,nv,CA,eh,th=p(()=>{aa=globalThis,nv=aa.ShadowRoot&&(aa.ShadyCSS===void 0||aa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,CA=Symbol(),eh=(t,e)=>{if(nv)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=aa.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}}});var rh,sa,oh=p(()=>{"use strict";rh=u(A(),1);th();sa=class extends rh.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return eh(i,e.elementStyles),i}}});function ih(t,e,...r){var i;let n=t.querySelector(e);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}var nh=p(()=>{"use strict"});var pi,tn,ch,ah,sh,dh,lh,Fr,ph=p(()=>{"use strict";pi=u(z(),1);Xf();Jf();oh();nh();tn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ah=Symbol("constructorPrototype"),sh=Symbol("constructorName"),dh=Symbol("exportpartsDebouncer"),lh=Symbol("dynamicDependenciesLoaded"),Fr=class extends sa{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ch]=new na(5),this[sh]=this.constructor.name,this[ah]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[sh]&&Object.setPrototypeOf(this,this[ah])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[lh]||(e[lh]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:i,shadowPath:n}=this.elementToFocus;if(i!=null){let a=[...n??[],i];r=ih(this.shadowRoot,...a)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[dh].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,i,n,a,s,c;let f=x=>x!=null&&x.trim().length>0,h=e.filter(f).map(x=>x.trim());if(h.length===0){this.removeAttribute("exportparts");return}let b=new Set;for(let x of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let O=(a=(n=x.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],C=(c=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...O,...C).filter(f).map(E=>E.trim()).forEach(E=>b.add(E))}if(b.size===0){this.removeAttribute("exportparts");return}let y=[...b.values()].flatMap(x=>h.map(O=>`${x}:${O}--${x}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};ch=dh;tn([(0,pi.property)()],Fr.prototype,"exportpartsPrefix",void 0);tn([Yf([])],Fr.prototype,"exportpartsPrefixes",void 0);tn([(0,pi.property)()],Fr.prototype,"customStylesheet",void 0);tn([(0,pi.property)()],Fr.prototype,"elementToFocus",void 0);tn([(0,pi.state)()],Fr.prototype,"useAdoptedStyleSheets",void 0)});function rn(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var la=p(()=>{"use strict"});var uh,fh,hh,on,eo,Po,nn,mh=p(()=>{"use strict";ph();la();on=Symbol("internalReduxEventsUnsubscribers"),eo=Symbol("internalStoresUnsubscribers"),Po=Symbol("internalStores"),nn=class extends Fr{constructor(){super(...arguments),this[uh]=new Map,this[fh]=new Map,this[hh]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Po].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Po].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Po].get(e)}addStore(e,r){var i;r=(i=r??(rn(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this[Po].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Po].delete(r)}setupStores(){this.unsubscribeFromStores(),this[Po].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let i=this.constructor.getPropertyOptions(r);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:r)){let n=this.getStore(e.store);n&&(e.store?this[eo].has(e.store):this[eo].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var i;this[eo].set(e,r.subscribe(()=>this.updateFromStores())),this[on].set(e,[]),rn(r)&&r.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||r.name===n.store)){let s=c=>this[a](c);r.addEventListener(n.eventName,s),this[on].get(e).push(()=>r.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[eo].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[eo].has(e)&&this[eo].get(e)(),this[eo].delete(e),(r=this[on].get(e))===null||r===void 0||r.forEach(i=>i()),this[on].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};uh=eo,fh=Po,hh=on;nn.reduxProperties=new Map;nn.reduxReactiveProperties=new Set;nn.reduxEventListeners=new Map});function zt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Mr(t){return!!t&&!!t[we]}function rr(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===fv}(t)||Array.isArray(t)||!!t[Ch]||!!(!((e=t.constructor)===null||e===void 0)&&e[Ch])||wl(t)||El(t))}function _o(t,e,r){r===void 0&&(r=!1),hi(t)===0?(r?Object.keys:fi)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function hi(t){var e=t[we];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:wl(t)?2:El(t)?3:0}function ui(t,e){return hi(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function av(t,e){return hi(t)===2?t.get(e):t[e]}function Oh(t,e,r){var i=hi(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function wh(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function wl(t){return pv&&t instanceof Map}function El(t){return uv&&t instanceof Set}function to(t){return t.o||t.t}function Rl(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ah(t);delete e[we];for(var r=fi(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Al(t,e){return e===void 0&&(e=!1),kl(t)||Mr(t)||!rr(t)||(hi(t)>1&&(t.set=t.add=t.clear=t.delete=sv),Object.freeze(t),e&&_o(t,function(r,i){return Al(i,!0)},!0)),t}function sv(){zt(2)}function kl(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function br(t){var e=Ol[t];return e||zt(18,t),e}function lv(t,e){Ol[t]||(Ol[t]=e)}function vl(){return sn}function gl(t,e){e&&(br("Patches"),t.u=[],t.s=[],t.v=e)}function ca(t){Sl(t),t.p.forEach(cv),t.p=null}function Sl(t){t===sn&&(sn=t.l)}function gh(t){return sn={p:[],l:sn,h:t,m:!0,_:0}}function cv(t){var e=t[we];e.i===0||e.i===1?e.j():e.g=!0}function yl(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||br("ES5").S(e,t,i),i?(r[we].P&&(ca(e),zt(4)),rr(t)&&(t=da(e,t),e.l||pa(e,t)),e.u&&br("Patches").M(r[we].t,t,e.u,e.s)):t=da(e,r,[]),ca(e),e.u&&e.v(e.u,e.s),t!==Rh?t:void 0}function da(t,e,r){if(kl(e))return e;var i=e[we];if(!i)return _o(e,function(c,f){return yh(t,i,e,c,f,r)},!0),e;if(i.A!==t)return e;if(!i.P)return pa(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Rl(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),_o(a,function(c,f){return yh(t,i,n,c,f,r,s)}),pa(t,n,!1),r&&t.u&&br("Patches").N(i,r,t.u,t.s)}return i.o}function yh(t,e,r,i,n,a,s){if(Mr(n)){var c=da(t,n,a&&e&&e.i!==3&&!ui(e.R,i)?a.concat(i):void 0);if(Oh(r,i,c),!Mr(c))return;t.m=!1}else s&&r.add(n);if(rr(n)&&!kl(n)){if(!t.h.D&&t._<1)return;da(t,n),e&&e.A.l||pa(t,n)}}function pa(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Al(e,r)}function bl(t,e){var r=t[we];return(r?to(r):t)[e]}function bh(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function ro(t){t.P||(t.P=!0,t.l&&ro(t.l))}function xl(t){t.o||(t.o=Rl(t.t))}function Cl(t,e,r){var i=wl(e)?br("MapSet").F(e,r):El(e)?br("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),c={i:s?1:0,A:a?a.A:vl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},f=c,h=ln;s&&(f=[c],h=an);var b=Proxy.revocable(f,h),y=b.revoke,x=b.proxy;return c.k=x,c.j=y,x}(e,r):br("ES5").J(e,r);return(r?r.A:vl()).p.push(i),i}function dv(t){return Mr(t)||zt(22,t),function e(r){if(!rr(r))return r;var i,n=r[we],a=hi(r);if(n){if(!n.P&&(n.i<4||!br("ES5").K(n)))return n.t;n.I=!0,i=xh(r,a),n.I=!1}else i=xh(r,a);return _o(i,function(s,c){n&&av(n.t,s)===c||Oh(i,s,e(c))}),a===3?new Set(i):i}(t)}function xh(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Rl(t)}function Eh(){function t(s,c){var f=a[s];return f?f.enumerable=c:a[s]=f={configurable:!0,enumerable:c,get:function(){var h=this[we];return ln.get(h,s)},set:function(h){var b=this[we];ln.set(b,s,h)}},f}function e(s){for(var c=s.length-1;c>=0;c--){var f=s[c][we];if(!f.P)switch(f.i){case 5:i(f)&&ro(f);break;case 4:r(f)&&ro(f)}}}function r(s){for(var c=s.t,f=s.k,h=fi(f),b=h.length-1;b>=0;b--){var y=h[b];if(y!==we){var x=c[y];if(x===void 0&&!ui(c,y))return!0;var O=f[y],C=O&&O[we];if(C?C.t!==x:!wh(O,x))return!0}}var E=!!c[we];return h.length!==fi(c).length+(E?0:1)}function i(s){var c=s.k;if(c.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(c,c.length-1);if(f&&!f.get)return!0;for(var h=0;h<c.length;h++)if(!c.hasOwnProperty(h))return!0;return!1}function n(s){s.g&&zt(3,JSON.stringify(to(s)))}var a={};lv("ES5",{J:function(s,c){var f=Array.isArray(s),h=function(y,x){if(y){for(var O=Array(x.length),C=0;C<x.length;C++)Object.defineProperty(O,""+C,t(C,!0));return O}var E=Ah(x);delete E[we];for(var P=fi(E),T=0;T<P.length;T++){var $=P[T];E[$]=t($,y||!!E[$].enumerable)}return Object.create(Object.getPrototypeOf(x),E)}(f,s),b={i:f?5:4,A:c?c.A:vl(),P:!1,I:!1,R:{},l:c,t:s,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,we,{value:b,writable:!0}),h},S:function(s,c,f){f?Mr(c)&&c[we].A===s&&e(s.p):(s.u&&function h(b){if(b&&typeof b=="object"){var y=b[we];if(y){var x=y.t,O=y.k,C=y.R,E=y.i;if(E===4)_o(O,function(X){X!==we&&(x[X]!==void 0||ui(x,X)?C[X]||h(O[X]):(C[X]=!0,ro(y)))}),_o(x,function(X){O[X]!==void 0||ui(O,X)||(C[X]=!1,ro(y))});else if(E===5){if(i(y)&&(ro(y),C.length=!0),O.length<x.length)for(var P=O.length;P<x.length;P++)C[P]=!1;else for(var T=x.length;T<O.length;T++)C[T]=!0;for(var $=Math.min(O.length,x.length),U=0;U<$;U++)O.hasOwnProperty(U)||(C[U]=!0),C[U]===void 0&&h(O[U])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var vh,sn,Ll,pv,uv,Sh,Rh,Ch,we,fv,fi,Ah,Ol,ln,an,hv,At,mv,BA,DA,FA,MA,UA,zA,ua,fa=p(()=>{Ll=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pv=typeof Map<"u",uv=typeof Set<"u",Sh=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Rh=Ll?Symbol.for("immer-nothing"):((vh={})["immer-nothing"]=!0,vh),Ch=Ll?Symbol.for("immer-draftable"):"__$immer_draftable",we=Ll?Symbol.for("immer-state"):"__$immer_state",fv=""+Object.prototype.constructor,fi=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ah=Object.getOwnPropertyDescriptors||function(t){var e={};return fi(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Ol={},ln={get:function(t,e){if(e===we)return t;var r=to(t);if(!ui(r,e))return function(n,a,s){var c,f=bh(a,s);return f?"value"in f?f.value:(c=f.get)===null||c===void 0?void 0:c.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!rr(i)?i:i===bl(t.t,e)?(xl(t),t.o[e]=Cl(t.A.h,i,t)):i},has:function(t,e){return e in to(t)},ownKeys:function(t){return Reflect.ownKeys(to(t))},set:function(t,e,r){var i=bh(to(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=bl(to(t),e),a=n?.[we];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(wh(r,n)&&(r!==void 0||ui(t.t,e)))return!0;xl(t),ro(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return bl(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,xl(t),ro(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=to(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){zt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){zt(12)}},an={};_o(ln,function(t,e){an[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),an.deleteProperty=function(t,e){return an.set.call(this,t,e,void 0)},an.set=function(t,e,r){return ln.set.call(this,t[0],e,r,t[0])};hv=function(){function t(r){var i=this;this.O=Sh,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var c=a;a=n;var f=i;return function(E){var P=this;E===void 0&&(E=c);for(var T=arguments.length,$=Array(T>1?T-1:0),U=1;U<T;U++)$[U-1]=arguments[U];return f.produce(E,function(X){var re;return(re=a).call.apply(re,[P,X].concat($))})}}var h;if(typeof a!="function"&&zt(6),s!==void 0&&typeof s!="function"&&zt(7),rr(n)){var b=gh(i),y=Cl(i,n,void 0),x=!0;try{h=a(y),x=!1}finally{x?ca(b):Sl(b)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(E){return gl(b,s),yl(E,b)},function(E){throw ca(b),E}):(gl(b,s),yl(h,b))}if(!n||typeof n!="object"){if((h=a(n))===void 0&&(h=n),h===Rh&&(h=void 0),i.D&&Al(h,!0),s){var O=[],C=[];br("Patches").M(n,h,O,C),s(O,C)}return h}zt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(h){for(var b=arguments.length,y=Array(b>1?b-1:0),x=1;x<b;x++)y[x-1]=arguments[x];return i.produceWithPatches(h,function(O){return n.apply(void 0,[O].concat(y))})};var s,c,f=i.produce(n,a,function(h,b){s=h,c=b});return typeof Promise<"u"&&f instanceof Promise?f.then(function(h){return[h,s,c]}):[f,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){rr(r)||zt(8),Mr(r)&&(r=dv(r));var i=gh(this),n=Cl(this,r,void 0);return n[we].C=!0,Sl(i),n},e.finishDraft=function(r,i){var n=r&&r[we],a=n.A;return gl(a,i),yl(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Sh&&zt(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=br("Patches").$;return Mr(r)?s(r,i):this.produce(r,function(c){return s(c,i)})},t}(),At=new hv,mv=At.produce,BA=At.produceWithPatches.bind(At),DA=At.setAutoFreeze.bind(At),FA=At.setUseProxies.bind(At),MA=At.applyPatches.bind(At),UA=At.createDraft.bind(At),zA=At.finishDraft.bind(At),ua=mv});function No(t){"@babel/helpers - typeof";return No=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},No(t)}var Il=p(()=>{});function kh(t,e){if(No(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(No(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Lh=p(()=>{Il()});function Ih(t){var e=kh(t,"string");return No(e)=="symbol"?e:e+""}var Th=p(()=>{Il();Lh()});function $h(t,e,r){return(e=Ih(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ph=p(()=>{Th()});function _h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function Tl(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_h(Object(r),!0).forEach(function(i){$h(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_h(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}var Nh=p(()=>{Ph()});function et(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 gv(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 Pl(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(et(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(et(1));return r(Pl)(t,e)}if(typeof t!="function")throw new Error(et(2));var n=t,a=e,s=[],c=s,f=!1;function h(){c===s&&(c=s.slice())}function b(){if(f)throw new Error(et(3));return a}function y(E){if(typeof E!="function")throw new Error(et(4));if(f)throw new Error(et(5));var P=!0;return h(),c.push(E),function(){if(P){if(f)throw new Error(et(6));P=!1,h();var $=c.indexOf(E);c.splice($,1),s=null}}}function x(E){if(!gv(E))throw new Error(et(7));if(typeof E.type>"u")throw new Error(et(8));if(f)throw new Error(et(9));try{f=!0,a=n(a,E)}finally{f=!1}for(var P=s=c,T=0;T<P.length;T++){var $=P[T];$()}return E}function O(E){if(typeof E!="function")throw new Error(et(10));n=E,x({type:ha.REPLACE})}function C(){var E,P=y;return E={subscribe:function($){if(typeof $!="object"||$===null)throw new Error(et(11));function U(){$.next&&$.next(b())}U();var X=P(U);return{unsubscribe:X}}},E[Bh]=function(){return this},E}return x({type:ha.INIT}),i={dispatch:x,subscribe:y,getState:b,replaceReducer:O},i[Bh]=C,i}function yv(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:ha.INIT});if(typeof i>"u")throw new Error(et(12));if(typeof r(void 0,{type:ha.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(et(13))})}function Dh(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,c;try{yv(r)}catch(f){c=f}return function(h,b){if(h===void 0&&(h={}),c)throw c;if(0)var y;for(var x=!1,O={},C=0;C<a.length;C++){var E=a[C],P=r[E],T=h[E],$=P(T,b);if(typeof $>"u"){var U=b&&b.type;throw new Error(et(14))}O[E]=$,x=x||$!==T}return x=x||a.length!==Object.keys(h).length,x?O:h}}function mi(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Fh(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(et(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(f){return f(s)});return a=mi.apply(void 0,c)(n.dispatch),Tl(Tl({},n),{},{dispatch:a})}}}var Bh,$l,ha,ma=p(()=>{Nh();Bh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),$l=function(){return Math.random().toString(36).substring(7).split("").join(".")},ha={INIT:"@@redux/INIT"+$l(),REPLACE:"@@redux/REPLACE"+$l(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$l()}}});function Mh(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(c){return typeof c=="function"?c(n,a,t):s(c)}}};return e}var Uh,_l,zh=p(()=>{Uh=Mh();Uh.withExtraArgument=Mh;_l=Uh});function Rv(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}function Fl(t){return rr(t)?ua(t,function(){}):t}function Lv(t){return typeof t=="boolean"}function Iv(){return function(e){return Tv(e)}}function Tv(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,c=new Av;if(r&&(Lv(r)?c.push(_l):c.push(_l.withExtraArgument(r.extraArgument))),0){if(n)var f;if(s)var h}return c}function Kh(t){var e=Iv(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,c=r.devTools,f=c===void 0?!0:c,h=r.preloadedState,b=h===void 0?void 0:h,y=r.enhancers,x=y===void 0?void 0:y,O;if(typeof n=="function")O=n;else if(Rv(n))O=Dh(n);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 C=s;if(typeof C=="function"&&(C=C(e),!Bl&&!Array.isArray(C)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Bl&&C.some(function(X){return typeof X!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Fh.apply(void 0,C),P=mi;f&&(P=Ev(oo({trace:!Bl},typeof f=="object"&&f)));var T=new kv(E),$=T;Array.isArray(x)?$=gi([E],x):typeof x=="function"&&($=x(T));var U=P.apply(void 0,$);return Pl(O,b,U)}function io(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return oo(oo({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function qh(t){var e={},r=[],i,n={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function $v(t){return typeof t=="function"}function Pv(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?qh(e):[e,r,i],a=n[0],s=n[1],c=n[2],f;if($v(t))f=function(){return Fl(t())};else{var h=Fl(t);f=function(){return h}}function b(y,x){y===void 0&&(y=f());var O=gi([a[x.type]],s.filter(function(C){var E=C.matcher;return E(x)}).map(function(C){var E=C.reducer;return E}));return O.filter(function(C){return!!C}).length===0&&(O=[c]),O.reduce(function(C,E){if(E)if(Mr(C)){var P=C,T=E(P,x);return T===void 0?C:T}else{if(rr(C))return ua(C,function($){return E($,x)});var T=E(C,x);if(T===void 0){if(C===null)return C;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return C},y)}return b.getInitialState=f,b}function _v(t,e){return t+"/"+e}function Zh(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Fl(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};n.forEach(function(b){var y=i[b],x=_v(e,b),O,C;"reducer"in y?(O=y.reducer,C=y.prepare):O=y,a[b]=O,s[x]=O,c[b]=C?io(x,C):io(x)});function f(){var b=typeof t.extraReducers=="function"?qh(t.extraReducers):[t.extraReducers],y=b[0],x=y===void 0?{}:y,O=b[1],C=O===void 0?[]:O,E=b[2],P=E===void 0?void 0:E,T=oo(oo({},x),s);return Pv(r,function($){for(var U in T)$.addCase(U,T[U]);for(var X=0,re=C;X<re.length;X++){var ut=re[X];$.addMatcher(ut.matcher,ut.reducer)}P&&$.addDefaultCase(P)})}var h;return{name:e,reducer:function(b,y){return h||(h=f()),h(b,y)},actions:c,caseReducers:a,getInitialState:function(){return h||(h=f()),h.getInitialState()}}}function Mv(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Uv(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Gh,bv,gi,xv,vv,Sv,Hh,Cv,Ov,Wh,oo,Nl,wv,Ev,nk,Av,kv,Bl,Nv,Bv,Dv,Dl,Vh,Fv,ck,Qh,Yh,Xh,dk,pk,uk,fk,Ml,hk,mk,gk,jh,yk,zv,bk,Jh=p(()=>{fa();ma();ma();ma();zh();fa();fa();Gh=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),bv=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(h){return function(b){return f([h,b])}}function f(h){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=h[0]&2?n.return:h[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,h[1])).done)return a;switch(n=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return r.label++,{value:h[1],done:!1};case 5:r.label++,n=h[1],h=[0];continue;case 7:h=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){r=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){r.label=h[1];break}if(h[0]===6&&r.label<a[1]){r.label=a[1],a=h;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(h);break}a[2]&&r.ops.pop(),r.trys.pop();continue}h=e.call(t,r)}catch(b){h=[6,b],n=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},gi=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},xv=Object.defineProperty,vv=Object.defineProperties,Sv=Object.getOwnPropertyDescriptors,Hh=Object.getOwnPropertySymbols,Cv=Object.prototype.hasOwnProperty,Ov=Object.prototype.propertyIsEnumerable,Wh=function(t,e,r){return e in t?xv(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},oo=function(t,e){for(var r in e||(e={}))Cv.call(e,r)&&Wh(t,r,e[r]);if(Hh)for(var i=0,n=Hh(e);i<n.length;i++){var r=n[i];Ov.call(e,r)&&Wh(t,r,e[r])}return t},Nl=function(t,e){return vv(t,Sv(e))},wv=function(t,e,r){return new Promise(function(i,n){var a=function(f){try{c(r.next(f))}catch(h){n(h)}},s=function(f){try{c(r.throw(f))}catch(h){n(h)}},c=function(f){return f.done?i(f.value):Promise.resolve(f.value).then(a,s)};c((r=r.apply(t,e)).next())})},Ev=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?mi:mi.apply(null,arguments)},nk=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Av=function(t){Gh(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,gi([void 0],r[0].concat(this)))):new(e.bind.apply(e,gi([void 0],r.concat(this))))},e}(Array),kv=function(t){Gh(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,gi([void 0],r[0].concat(this)))):new(e.bind.apply(e,gi([void 0],r.concat(this))))},e}(Array);Bl=!0;Nv="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Bv=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Nv[Math.random()*64|0];return e},Dv=["name","message","stack","code"],Dl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Vh=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Fv=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=Dv;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},ck=function(){function t(e,r,i){var n=io(e+"/fulfilled",function(b,y,x,O){return{payload:b,meta:Nl(oo({},O||{}),{arg:x,requestId:y,requestStatus:"fulfilled"})}}),a=io(e+"/pending",function(b,y,x){return{payload:void 0,meta:Nl(oo({},x||{}),{arg:y,requestId:b,requestStatus:"pending"})}}),s=io(e+"/rejected",function(b,y,x,O,C){return{payload:O,error:(i&&i.serializeError||Fv)(b||"Rejected"),meta:Nl(oo({},C||{}),{arg:x,requestId:y,rejectedWithValue:!!O,requestStatus:"rejected",aborted:b?.name==="AbortError",condition:b?.name==="ConditionError"})}}),c=!1,f=typeof AbortController<"u"?AbortController:function(){function b(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return b.prototype.abort=function(){},b}();function h(b){return function(y,x,O){var C=i?.idGenerator?i.idGenerator(b):Bv(),E=new f,P,T=!1;function $(X){P=X,E.abort()}var U=function(){return wv(this,null,function(){var X,re,ut,dr,at,pr,Ge;return bv(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),dr=(X=i?.condition)==null?void 0:X.call(i,b,{getState:x,extra:O}),Uv(dr)?[4,dr]:[3,2];case 1:dr=g.sent(),g.label=2;case 2:if(dr===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,at=new Promise(function(S,D){return E.signal.addEventListener("abort",function(){return D({name:"AbortError",message:P||"Aborted"})})}),y(a(C,b,(re=i?.getPendingMeta)==null?void 0:re.call(i,{requestId:C,arg:b},{getState:x,extra:O}))),[4,Promise.race([at,Promise.resolve(r(b,{dispatch:y,getState:x,extra:O,requestId:C,signal:E.signal,abort:$,rejectWithValue:function(S,D){return new Dl(S,D)},fulfillWithValue:function(S,D){return new Vh(S,D)}})).then(function(S){if(S instanceof Dl)throw S;return S instanceof Vh?n(S.payload,C,b,S.meta):n(S,C,b)})])];case 3:return ut=g.sent(),[3,5];case 4:return pr=g.sent(),ut=pr instanceof Dl?s(null,C,b,pr.payload,pr.meta):s(pr,C,b),[3,5];case 5:return Ge=i&&!i.dispatchConditionRejection&&s.match(ut)&&ut.meta.condition,Ge||y(ut),[2,ut]}})})}();return Object.assign(U,{abort:$,requestId:C,arg:b,unwrap:function(){return U.then(Mv)}})}}return Object.assign(h,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();Qh="listener",Yh="completed",Xh="cancelled",dk="task-"+Xh,pk="task-"+Yh,uk=Qh+"-"+Xh,fk=Qh+"-"+Yh,Ml="listenerMiddleware",hk=io(Ml+"/add"),mk=io(Ml+"/removeAll"),gk=io(Ml+"/remove"),yk=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(jh||(jh=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},zv=function(t){return function(e){setTimeout(e,t)}},bk=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:zv(10);Eh()});function Hv(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}var ga,em=p(()=>{"use strict";ga=class extends Hv(Object){}});var tm,rm=p(()=>{"use strict";Jh();la();ml();em();window.ftReduxStores||(window.ftReduxStores={});tm=class t extends ga{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(rn(a))return a;if(n==null)return;let s=Zh({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),c=Kh({reducer:(f,h)=>h.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof h.type=="string"&&h.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...h.overwrites}:s.reducer(f,h)});return window.ftReduxStores[n.name]=new t(s,c,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new ia;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,c)=>{let f=s,h=a[f];return h?(...b)=>{let y=h(...b.map(n));return this.reduxStore.dispatch(y),y}:b=>{this.setState({[f]:n(b)})}}}),this.eventBus=i??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 om=p(()=>{"use strict";oa()});var im=p(()=>{"use strict";Zf();ml();mh();rm();la();om()});var nm=p(()=>{"use strict"});var Wv,am=p(()=>{"use strict";Wv=u(z());im();nm();Ut()});var lm=Co((no,sm)=>{var ya=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ba=function(){function t(){this.fetch=!1,this.DOMException=ya.DOMException}return t.prototype=ya,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(g){return g&&DataView.prototype.isPrototypeOf(g)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function f(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 h(g){return typeof g!="string"&&(g=String(g)),g}function b(g){var S={next:function(){var D=g.shift();return{done:D===void 0,value:D}}};return n.iterable&&(S[Symbol.iterator]=function(){return S}),S}function y(g){this.map={},g instanceof y?g.forEach(function(S,D){this.append(D,S)},this):Array.isArray(g)?g.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(S){this.append(S,g[S])},this)}y.prototype.append=function(g,S){g=f(g),S=h(S);var D=this.map[g];this.map[g]=D?D+", "+S:S},y.prototype.delete=function(g){delete this.map[f(g)]},y.prototype.get=function(g){return g=f(g),this.has(g)?this.map[g]:null},y.prototype.has=function(g){return this.map.hasOwnProperty(f(g))},y.prototype.set=function(g,S){this.map[f(g)]=h(S)},y.prototype.forEach=function(g,S){for(var D in this.map)this.map.hasOwnProperty(D)&&g.call(S,this.map[D],D,this)},y.prototype.keys=function(){var g=[];return this.forEach(function(S,D){g.push(D)}),b(g)},y.prototype.values=function(){var g=[];return this.forEach(function(S){g.push(S)}),b(g)},y.prototype.entries=function(){var g=[];return this.forEach(function(S,D){g.push([D,S])}),b(g)},n.iterable&&(y.prototype[Symbol.iterator]=y.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(S,D){g.onload=function(){S(g.result)},g.onerror=function(){D(g.error)}})}function C(g){var S=new FileReader,D=O(S);return S.readAsArrayBuffer(g),D}function E(g){var S=new FileReader,D=O(S),ue=/charset=([A-Za-z0-9_-]+)/.exec(g.type),Ae=ue?ue[1]:"utf-8";return S.readAsText(g,Ae),D}function P(g){for(var S=new Uint8Array(g),D=new Array(S.length),ue=0;ue<S.length;ue++)D[ue]=String.fromCharCode(S[ue]);return D.join("")}function T(g){if(g.slice)return g.slice(0);var S=new Uint8Array(g.byteLength);return S.set(new Uint8Array(g)),S.buffer}function $(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:n.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:n.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():n.arrayBuffer&&n.blob&&a(g)?(this._bodyArrayBuffer=T(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||c(g))?this._bodyArrayBuffer=T(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):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.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(n.blob)return this.blob().then(C);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=x(this);if(g)return g;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(P(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(ut)}),this.json=function(){return this.text().then(JSON.parse)},this}var U=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function X(g){var S=g.toUpperCase();return U.indexOf(S)>-1?S:g}function re(g,S){if(!(this instanceof re))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var D=S.body;if(g instanceof re){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,S.headers||(this.headers=new y(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!D&&g._bodyInit!=null&&(D=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new y(S.headers)),this.method=X(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in i){var oe=new AbortController;return oe.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.cache==="no-cache")){var ue=/([?&])_=[^&]*/;if(ue.test(this.url))this.url=this.url.replace(ue,"$1_="+new Date().getTime());else{var Ae=/\?/;this.url+=(Ae.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}re.prototype.clone=function(){return new re(this,{body:this._bodyInit})};function ut(g){var S=new FormData;return g.trim().split("&").forEach(function(D){if(D){var ue=D.split("="),Ae=ue.shift().replace(/\+/g," "),oe=ue.join("=").replace(/\+/g," ");S.append(decodeURIComponent(Ae),decodeURIComponent(oe))}}),S}function dr(g){var S=new y,D=g.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(ue){return ue.indexOf(`
1158
+ `)===0?ue.substr(1,ue.length):ue}).forEach(function(ue){var Ae=ue.split(":"),oe=Ae.shift().trim();if(oe){var Rn=Ae.join(":").trim();try{S.append(oe,Rn)}catch(hs){console.warn("Response "+hs.message)}}}),S}$.call(re.prototype);function at(g,S){if(!(this instanceof at))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.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=S.statusText===void 0?"":""+S.statusText,this.headers=new y(S.headers),this.url=S.url||"",this._initBody(g)}$.call(at.prototype),at.prototype.clone=function(){return new at(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},at.error=function(){var g=new at(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var pr=[301,302,303,307,308];at.redirect=function(g,S){if(pr.indexOf(S)===-1)throw new RangeError("Invalid status code");return new at(null,{status:S,headers:{location:g}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(S,D){this.message=S,this.name=D;var ue=Error(S);this.stack=ue.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Ge(g,S){return new Promise(function(D,ue){var Ae=new re(g,S);if(Ae.signal&&Ae.signal.aborted)return ue(new r.DOMException("Aborted","AbortError"));var oe=new XMLHttpRequest;function Rn(){oe.abort()}oe.onload=function(){var Ke={statusText:oe.statusText,headers:dr(oe.getAllResponseHeaders()||"")};Ae.url.indexOf("file://")===0&&(oe.status<200||oe.status>599)?Ke.status=200:Ke.status=oe.status,Ke.url="responseURL"in oe?oe.responseURL:Ke.headers.get("X-Request-URL");var So="response"in oe?oe.response:oe.responseText;setTimeout(function(){D(new at(So,Ke))},0)},oe.onerror=function(){setTimeout(function(){ue(new TypeError("Network request failed"))},0)},oe.ontimeout=function(){setTimeout(function(){ue(new TypeError("Network request timed out"))},0)},oe.onabort=function(){setTimeout(function(){ue(new r.DOMException("Aborted","AbortError"))},0)};function hs(Ke){try{return Ke===""&&i.location.href?i.location.href:Ke}catch{return Ke}}if(oe.open(Ae.method,hs(Ae.url),!0),Ae.credentials==="include"?oe.withCredentials=!0:Ae.credentials==="omit"&&(oe.withCredentials=!1),"responseType"in oe&&(n.blob?oe.responseType="blob":n.arrayBuffer&&(oe.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof y||i.Headers&&S.headers instanceof i.Headers)){var Id=[];Object.getOwnPropertyNames(S.headers).forEach(function(Ke){Id.push(f(Ke)),oe.setRequestHeader(Ke,h(S.headers[Ke]))}),Ae.headers.forEach(function(Ke,So){Id.indexOf(So)===-1&&oe.setRequestHeader(So,Ke)})}else Ae.headers.forEach(function(Ke,So){oe.setRequestHeader(So,Ke)});Ae.signal&&(Ae.signal.addEventListener("abort",Rn),oe.onreadystatechange=function(){oe.readyState===4&&Ae.signal.removeEventListener("abort",Rn)}),oe.send(typeof Ae._bodyInit>"u"?null:Ae._bodyInit)})}return Ge.polyfill=!0,i.fetch||(i.fetch=Ge,i.Headers=y,i.Request=re,i.Response=at),r.Headers=y,r.Request=re,r.Response=at,r.fetch=Ge,r}({})})(ba);ba.fetch.ponyfill=!0;delete ba.fetch.polyfill;var yi=ya.fetch?ya:ba;no=yi.fetch;no.default=yi.fetch;no.fetch=yi.fetch;no.Headers=yi.Headers;no.Request=yi.Request;no.Response=yi.Response;sm.exports=no});var Ul=p(()=>{});var cm,dm,pm,bi,um,fm,Bo,hm,mm,gm,ym,bm,xm,vm,Sm,Cm,xi,Om,xa,wm,Em,Ht,vi,ze,zl=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(cm||(cm={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(dm||(dm={}));(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"})(pm||(pm={}));(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"})(bi||(bi={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(um||(um={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(fm||(fm={}));(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.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",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"})(Bo||(Bo={}));(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"})(hm||(hm={}));(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"})(mm||(mm={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(gm||(gm={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ym||(ym={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(bm||(bm={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(xm||(xm={}));(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"})(vm||(vm={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Sm||(Sm={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Cm||(Cm={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(xi||(xi={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Om||(Om={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(xa||(xa={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(wm||(wm={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Em||(Em={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ht||(Ht={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(vi||(vi={}));(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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"})(ze||(ze={}))});var Rm,Am,km,Lm=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Rm||(Rm={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Am||(Am={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(km||(km={}))});function Im(t,e){return t===e||(Vv[t]??[]).some(r=>Im(r,e))}function Tm(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(i=>Im(i,e))}var Vv,$m=p(()=>{zl();Vv={[ze.PERSONAL_BOOK_SHARE_USER]:[ze.PERSONAL_BOOK_USER],[ze.HTML_EXPORT_USER]:[ze.PERSONAL_BOOK_USER],[ze.PDF_EXPORT_USER]:[ze.PERSONAL_BOOK_USER],[ze.KHUB_ADMIN]:[ze.CONTENT_PUBLISHER],[ze.ADMIN]:[ze.KHUB_ADMIN,ze.USERS_ADMIN,ze.PORTAL_ADMIN],[ze.GENERATIVE_AI_EXPORT_USER]:[ze.GENERATIVE_AI_USER]}});var Pm=p(()=>{});var jv,cn=p(()=>{jv=u(lm(),1);Ul();zl();Lm();$m();Pm();Ul()});var va,Hl=p(()=>{"use strict";Ut();cn();en();va=class extends gr{async listMySearches(){let{session:e}=_.getState();return Tm(e,ze.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Sa,Wl=p(()=>{"use strict";Ut();en();Sa=class extends gr{async listMyBookmarks(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Oa,Gv,Ca,Vl,_m,jl=p(()=>{"use strict";Oa=u(v());Hl();Wl();Ut();Gv="ft-user-assets",Ca=Oa.FtReduxStore.get({name:Gv,initialState:{savedSearches:void 0,bookmarks:void 0}}),Vl=class{constructor(){this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Sa,this.savedSearchesService=new va,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=_.getState();(0,Oa.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ca.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ca.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Ca.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 r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Ca.actions.bookmarks(r)}}},_m=new Vl});var Gl,Nm=p(()=>{"use strict";Ut();Gl=class{addCommand(e,r=!1){_.commands.add(e,r)}consumeCommand(e){return _.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Gl});var Bm,Kl,Dm=p(()=>{"use strict";Bm=u(v()),Kl=class{highlightHtml(e,r,i){(0,Bm.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new Kl});var Fm,ql,Mm=p(()=>{"use strict";Fm=u(v());Ut();ql=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=_.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return Fm.DateFormatter.format(e,(i=r?.locale)!==null&&i!==void 0?i:_.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new ql});var Um,Ur,Zl=p(()=>{"use strict";Um=u(v());Ut();Ur=class{static get(e,r){var i,n,a,s;let c=_.getState(),{lang:f,region:h}=(n=(i=c.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new Um.SearchPlaceConverter(c.baseUrl,(s=(a=window.FluidTopicsClientConfiguration)===null||a===void 0?void 0:a.predefinedSorts)!==null&&s!==void 0?s:{},e??20,c.searchInAllLanguagesAllowed,r??`${f}-${h}`)}}});var wa,zm=p(()=>{"use strict";pl();wa=class extends ci{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.start_display event"),console.debug(r)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send topic.start_display event"),console.debug(r)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send khub.search event"),console.debug(r)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send document.search event"),console.debug(r)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_page.select event"),console.debug(r)})}async sendSearchResultOpenContextMenuEvent(e){return(await this.awaitApi).sendEvents([e]).catch(r=>{console.info("Failed to send search_result.open_context_menu event"),console.debug(r)})}}});var Ql,Hm=p(()=>{"use strict";Zl();Ql=class{urlToSearchRequest(e){return Ur.get().parse(e)}searchRequestToUrl(e){return Ur.get().serialize(e)}};window.FluidTopicsUrlService=new Ql});var Do,Wm=p(()=>{"use strict";Do=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Do.eventName="change"});var Yl,Vm,jm=p(()=>{"use strict";Yl=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},Vm=new Yl});var ao,Ea,Gm=p(()=>{"use strict";ao=u(v());Wm();jm();Ea=class t extends ao.WithEventBus{static build(){return new t(window.history,Vm,()=>window.location,!1)}constructor(e,r,i,n){var a,s;super(),this.history=e,this.historyStorage=r,this.windowLocation=i,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(s=(a=e.state)===null||a===void 0?void 0:a.index)!==null&&s!==void 0?s:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(n)}setCurrentState(e,r=!1){let i=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,i&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,ao.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Do(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,c])=>{let f=r(),h={...f===this.currentIndex?this.currentState:void 0,...a,index:f,href:typeof c=="string"?c:(c??this.windowLocation()).href};i.apply(n,[h,s,c]),this.setCurrentState(h,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e,r=!1){var i,n,a;let s={...this.buildCurrentState(),...e,index:this.currentIndex,title:(i=e?.title)!==null&&i!==void 0?i:this.currentState.title},c=r?(n=e?.majorState)!==null&&n!==void 0?n:this.currentState.majorState:(a=this.currentState.majorState)!==null&&a!==void 0?a:e?.majorState;c!=null&&(s.majorState=c),this.setCurrentState(s)}addHistoryChangeListener(e){this.addEventListener(Do.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Do.eventName,e)}currentItem(){return(0,ao.deepCopy)(this.currentState)}back(){let e=this.previousMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,ao.deepCopy)(this.states[this.previousMajorPosition()])}previousMajorPosition(){let e=this.currentIndex;for(;e>0&&!this.isMajorState(e);)e--;return this.previousExistingPosition(e)}forward(){let e=this.nextMajorPosition();e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){return(0,ao.deepCopy)(this.states[this.nextMajorPosition()])}nextMajorPosition(){let e=this.currentIndex;do e++;while(e<this.states.length&&!this.isMajorState(e));do e++;while(e<this.states.length&&!this.isMajorState(e));return this.previousExistingPosition(e)}previousExistingPosition(e){let r=e;do r--;while(r>0&&!this.hasState(r));return r}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isMajorState(e){var r,i;return this.hasState(e)&&((i=(r=this.states[e])===null||r===void 0?void 0:r.majorState)!==null&&i!==void 0?i:!0)}}});var Km=p(()=>{"use strict";Gm();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=Ea.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t)})});var qm=p(()=>{"use strict";Wl();Xn();Nm();fl();en();Dm();Hl();Mm();Zl();zm();Hm();Km()});var Zm=p(()=>{"use strict"});var Qm,xr=p(()=>{"use strict";Qm=u(v());hl();am();Ut();jl();qm();cl();Zm();hl();(0,Qm.customElement)("ft-app-context")(Te)});function Ym(t){return t.match(/^[\w-]+\.[\w-]+$/)}var Kv,Xm=p(()=>{"use strict";dn();Kv=u(v())});function Wt(t){var e,r;class i extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(a){return a??this.useCustomMessageContexts?ea:di}i18n(a){var s;this.hasI18nContext(a.context)||this.addI18nContext(a.context,void 0,a.custom);let c=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.getI18nService(a.custom).resolveMessage(a.context,a.key,...c)}customI18n(a,s){if(Ym(a)){let[c,f]=a.split(".");return this.i18n({custom:!0,context:c,key:f,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,c,f)=>a.has(c)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,c,f)=>{var h;return((h=f?.context)===null||h===void 0?void 0:h.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,c;let f=this,h=(b,y,x)=>x?.context&&x.key&&a(b,y,x)?{...x,message:this.i18n({context:x.context,key:x.key,...b})}:x;(s=this[Jm])===null||s===void 0||s.forEach((b,y)=>f[y]=h(b,y,f[y])),(c=this[eg])===null||c===void 0||c.forEach((b,y)=>{var x;return f[y]=(x=f[y])===null||x===void 0?void 0:x.map(O=>h(b,y,O))})}updateI18nProperties(a){var s;(s=this[og])===null||s===void 0||s.forEach((c,f)=>{a(c,f)&&(this[f]=this.i18n(c))})}addI18nMessages(a,s,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,c)}addI18nContext(a,s,c){let f=(typeof a=="string"?a:a.name).toLowerCase();c=typeof a=="string"?c:a.custom,this[Ra].set(f,{isCustomContext:c}),this[pn].has(f)||this[pn].set(f,this.getI18nService(c).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(c).prepareContext(f,s)}hasI18nContext(a){return this[Ra].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ra].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[pn].forEach(a=>a()),this[pn].clear()}}return e=Ra,r=pn,qv([(0,rg.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var ka,rg,qv,Jm,eg,og,Ra,pn,tg,Aa,dn=p(()=>{"use strict";ka=u(v());xr();rg=u(z());Xm();qv=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Jm=Symbol("i18nAttributes"),eg=Symbol("i18nListAttributes"),og=Symbol("i18nProperties"),Ra=Symbol("i18nContexts"),pn=Symbol("i18nUnsubs");tg=class extends Wt(ka.FtLitElement){},Aa=class extends Wt(ka.FtLitElementRedux){}});var La,Ia,Ta,un,or,Xl=p(()=>{"use strict";La=u(A()),Ia=u(z()),Ta=u(v());ll();dn();xr();un=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},or=class extends Aa{constructor(){super(),this.editorMode=!1,this.addStore(_)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":La.nothing:La.html`
1166
1159
  <span class="ft-i18n">
1167
1160
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1168
1161
  </span>
1169
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};or.elementDefinitions={};or.styles=Vf;un([(0,$a.redux)()],or.prototype,"editorMode",void 0);un([(0,La.property)()],or.prototype,"context",void 0);un([(0,La.property)()],or.prototype,"key",void 0);un([(0,$a.jsonProperty)([])],or.prototype,"args",void 0);un([(0,La.property)()],or.prototype,"defaultMessage",void 0)});var xr,og=p(()=>{"use strict";vr();xr=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?ea:ci}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}}});var ig=p(()=>{"use strict";dn()});var ng=p(()=>{"use strict"});var ag,Sr=p(()=>{"use strict";ag=u(x());Xl();og();dn();ig();ll();ng();Xl();(0,ag.customElement)("ft-i18n")(or)});var pg,ug=p(()=>{As();pg=t=>t??Ne});var fg=p(()=>{ug()});function hg(t){var e,r,i,n,a;return((n=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(i=t.topic)===null||i===void 0?void 0:i.openMode)!==null&&n!==void 0?n:(a=t.document)===null||a===void 0?void 0:a.openMode)===va.EXTERNAL}function Pa(t){var e,r,i,n,a;if(hg(t))return(n=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(i=t.topic)===null||i===void 0?void 0:i.originUrl)!==null&&n!==void 0?n:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case Ht.MAP:return t.map.readerUrl;case Ht.DOCUMENT:return t.document.viewerUrl;case Ht.TOPIC:return t.topic.readerUrl}return""}function mg(t,e){return pg(e&&hg(t)?"_blank":void 0)}var tc=p(()=>{"use strict";cn();fg()});var Si,Ci,oc=p(()=>{"use strict";Si=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Ci=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var vg,Qx,ic,nc=p(()=>{"use strict";vg=u(A()),Qx={},ic=vg.css`
1170
- `});var xg=p(()=>{"use strict"});var Na,Yx,Sg,Cg=p(()=>{"use strict";Na=u(x()),Yx={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 r;let i=+((r=e.payload)!==null&&r!==void 0?r:20);t.request.paging.perPage=isNaN(i)?20:(0,Na.minmax)(1,i,1e3)},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 r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]}},Sg=t=>Na.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:Yx})});var Ba,Og=p(()=>{"use strict";vr();Ba=class extends gr{constructor(e){super(!0,e),this.sortObjectFields=(r,i)=>typeof i!="object"||i==null||Array.isArray(i)?i:Object.fromEntries(Object.entries(i).sort(([n],[a])=>n.localeCompare(a)))}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),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(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((r,i)=>r.key.localeCompare(i.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}}});var kt,wg,hn,Oi,ac=p(()=>{"use strict";kt=u(x());Cg();cn();Og();wg=t=>t.request.virtualField===bi.TITLE_ONLY&&t.request.scope===vi.DOCUMENTS,hn=class t extends Event{constructor(){super(t.eventName)}};hn.eventName="search-context-clear-all-filters";Oi=class t{static build(e,r){return new t(Sg(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new kt.Debouncer(10),this.searchDebouncer=new kt.Debouncer(100),this.launchSearch=i=>this.searchDebouncer.run(()=>this.fetchSearchData(i??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=i=>({...i.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new kt.Debouncer(300),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>({input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:i.request.sort,contentLocale:i.request.contentLocale,scope:i.request.scope}),this.service=r??new Ba,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,kt.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,kt.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 r;let i=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(c=>c.lang==s);a(e)||(e=a(n)?n:i[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 r=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(bi.TITLE_ONLY),this.store.actions.setRequestScope(vi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(bi.EVERYWHERE),this.store.actions.setRequestScope(vi.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return wg(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new hn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let i=this.facetIds.filter(n=>n!=e);r&&i.push(r),this.facetIds=i}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(i=>i.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:r,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:r}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.dateFilter),...r.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,r,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:i}},s=[...n.filter(c=>!c.rangeFilter),...n.filter(c=>c.rangeFilter&&c.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.rangeFilter),...r.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}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 r,i,n,a;try{if((r=this.cancelableSearch)===null||r===void 0||r.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,kt.cancelable)(this.service.launchSearch(e));let s=await this.cancelableSearch;if(s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let c=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(c),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof kt.CanceledPromiseError||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var r;try{(r=this.cancelableSuggest)===null||r===void 0||r.cancel(),this.cancelableSuggest=(0,kt.cancelable)(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof kt.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}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 e0(t){class e extends t{setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[sc]=0,this[Eg]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[sc]>Jx?window.clearInterval(this[Eg]):(this[sc]++,this.dispatchEvent(new lc))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Xx([(0,Ag.state)()],e.prototype,"stateManager",void 0),e}var Rg,Ag,Xx,lc,Eg,sc,Jx,Vt,Fo=p(()=>{"use strict";Rg=u(x()),Ag=u(U());xg();ac();Xx=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},lc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Eg=Symbol("registerInterval"),sc=Symbol("registerAttempts"),Jx=40;Vt=class extends e0(Rg.FtLitElementRedux){}});function wi(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Ei(t){var e;return t.dateFilter?{key:t.key,type:"DATE",dateValue:t.dateFilter.type}:t.rangeFilter?{key:t.key,type:"RANGE",from:t.rangeFilter.from,to:t.rangeFilter.to}:{key:t.key,values:(e=t.valueFilter)===null||e===void 0?void 0:e.values}}var cc=p(()=>{"use strict"});var kg,Da,Ig=p(()=>{"use strict";kg=u(x());cn();vr();cc();Da=class{constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.publication=void 0,this.sendEvent=i=>{if(!this.canSendEvent()||!i)return;let n=this.store.getState().request;this.publication==null?this.sendKhubSearchEvent(n,i):this.sendDocumentSearchEvent(n,i)},this.eventsService=r??new wa,this.resultsWatcher=(0,kg.watch)(e,i=>i.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.publication=e}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=_.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:No.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:wi(e.metadataFilters),facets:e.metadataFilters.map(n=>Ei(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,r){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:No.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:wi(e.metadataFilters),facets:e.metadataFilters.map(n=>Ei(n))},publication:this.publication};this.eventsService.sendDocumentSearchEvent(i)}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Ht.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:No.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:wi(i.metadataFilters),facets:i.metadataFilters.map(s=>Ei(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Ht.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:No.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:wi(i.metadataFilters),facets:i.metadataFilters.map(s=>Ei(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case Ht.MAP:return{id:e.map.mapId,title:e.map.title,type:yi.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Ht.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:yi.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Ht.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:yi.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r,i,n,a,s;return(a=(i=(r=e.map)===null||r===void 0?void 0:r.originUrl)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var Lg,Ur,jt,tt,Fa,Ma,za,Ie,dc=p(()=>{"use strict";Lg=u(A()),Ur=u(U()),jt=u(x());nc();Fo();vr();jl();Ig();tt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Fa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ma=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},za=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},Ie=class extends jt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Oi.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new Da(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(_)}render(){return Lg.html`
1162
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};or.elementDefinitions={};or.styles=Vf;un([(0,Ta.redux)()],or.prototype,"editorMode",void 0);un([(0,Ia.property)()],or.prototype,"context",void 0);un([(0,Ia.property)()],or.prototype,"key",void 0);un([(0,Ta.jsonProperty)([])],or.prototype,"args",void 0);un([(0,Ia.property)()],or.prototype,"defaultMessage",void 0)});var vr,ig=p(()=>{"use strict";xr();vr=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?ea:di}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}}});var ng=p(()=>{"use strict";dn()});var ag=p(()=>{"use strict"});var sg,Sr=p(()=>{"use strict";sg=u(v());Xl();ig();dn();ng();ll();ag();Xl();(0,sg.customElement)("ft-i18n")(or)});var ug,fg=p(()=>{As();ug=t=>t??Ne});var hg=p(()=>{fg()});function mg(t){var e,r,i,n,a;return((n=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(i=t.topic)===null||i===void 0?void 0:i.openMode)!==null&&n!==void 0?n:(a=t.document)===null||a===void 0?void 0:a.openMode)===xa.EXTERNAL}function Pa(t){var e,r,i,n,a;if(mg(t))return(n=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(i=t.topic)===null||i===void 0?void 0:i.originUrl)!==null&&n!==void 0?n:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case Ht.MAP:return t.map.readerUrl;case Ht.DOCUMENT:return t.document.viewerUrl;case Ht.TOPIC:return t.topic.readerUrl}return""}function gg(t,e){return ug(e&&mg(t)?"_blank":void 0)}var tc=p(()=>{"use strict";cn();hg()});var Ci,Oi,oc=p(()=>{"use strict";Ci=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Oi=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var vg,Yv,ic,nc=p(()=>{"use strict";vg=u(A()),Yv={},ic=vg.css`
1163
+ `});var Sg=p(()=>{"use strict"});var Na,Xv,Cg,Og=p(()=>{"use strict";Na=u(v()),Xv={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 r;let i=+((r=e.payload)!==null&&r!==void 0?r:20);t.request.paging.perPage=isNaN(i)?20:(0,Na.minmax)(1,i,1e3)},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 r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]}},Cg=t=>Na.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:Xv})});var Ba,wg=p(()=>{"use strict";xr();Ba=class extends gr{constructor(e){super(!0,e),this.sortObjectFields=(r,i)=>typeof i!="object"||i==null||Array.isArray(i)?i:Object.fromEntries(Object.entries(i).sort(([n],[a])=>n.localeCompare(a)))}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),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(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((r,i)=>r.key.localeCompare(i.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}}});var kt,Eg,hn,wi,ac=p(()=>{"use strict";kt=u(v());Og();cn();wg();Eg=t=>t.request.virtualField===xi.TITLE_ONLY&&t.request.scope===vi.DOCUMENTS,hn=class t extends Event{constructor(){super(t.eventName)}};hn.eventName="search-context-clear-all-filters";wi=class t{static build(e,r){return new t(Cg(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new kt.Debouncer(10),this.searchDebouncer=new kt.Debouncer(100),this.launchSearch=i=>this.searchDebouncer.run(()=>this.fetchSearchData(i??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=i=>({...i.request,facets:this.facetIds.map(n=>({id:n}))}),this.suggestDebouncer=new kt.Debouncer(300),this.launchSuggest=i=>this.suggestDebouncer.run(()=>this.fetchSuggestData(i??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=i=>({input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:i.request.sort,contentLocale:i.request.contentLocale,scope:i.request.scope}),this.service=r??new Ba,this.service.cache.addEventListener("clear-cache",i=>{i.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,kt.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,kt.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 r;let i=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(c=>c.lang==s);a(e)||(e=a(n)?n:i[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 r=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(xi.TITLE_ONLY),this.store.actions.setRequestScope(vi.DOCUMENTS)):(this.store.actions.setRequestVirtualField(xi.EVERYWHERE),this.store.actions.setRequestScope(vi.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return Eg(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new hn)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let i=this.facetIds.filter(n=>n!=e);r&&i.push(r),this.facetIds=i}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(i=>i.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:r,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:r}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.dateFilter),...r.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,r,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:i}},s=[...n.filter(c=>!c.rangeFilter),...n.filter(c=>c.rangeFilter&&c.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.rangeFilter),...r.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}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 r,i,n,a;try{if((r=this.cancelableSearch)===null||r===void 0||r.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,kt.cancelable)(this.service.launchSearch(e));let s=await this.cancelableSearch;if(s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let c=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(c),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof kt.CanceledPromiseError||(console.error(s),(a=this.errorHandler)===null||a===void 0||a.call(this,s))}}async fetchSuggestData(e){var r;try{(r=this.cancelableSuggest)===null||r===void 0||r.cancel(),this.cancelableSuggest=(0,kt.cancelable)(this.service.launchSuggest(e));let i=await this.cancelableSuggest;this.store.actions.suggestResults(i.suggestions)}catch(i){!(i instanceof kt.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(i)}}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 t0(t){class e extends t{setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[sc]=0,this[Rg]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[sc]>e0?window.clearInterval(this[Rg]):(this[sc]++,this.dispatchEvent(new lc))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Jv([(0,kg.state)()],e.prototype,"stateManager",void 0),e}var Ag,kg,Jv,lc,Rg,sc,e0,Vt,Mo=p(()=>{"use strict";Ag=u(v()),kg=u(z());Sg();ac();Jv=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},lc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Rg=Symbol("registerInterval"),sc=Symbol("registerAttempts"),e0=40;Vt=class extends t0(Ag.FtLitElementRedux){}});function Ei(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Ri(t){var e;return t.dateFilter?{key:t.key,type:"DATE",dateValue:t.dateFilter.type}:t.rangeFilter?{key:t.key,type:"RANGE",from:t.rangeFilter.from,to:t.rangeFilter.to}:{key:t.key,values:(e=t.valueFilter)===null||e===void 0?void 0:e.values}}var cc=p(()=>{"use strict"});var Lg,Da,Ig=p(()=>{"use strict";Lg=u(v());cn();xr();cc();Da=class{constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.enableAnalyticsEvents=!0,this.appName=void 0,this.appVersion=void 0,this.document=void 0,this.sendEvent=i=>{if(!this.canSendEvent()||!i)return;let n=this.store.getState().request;this.document==null?this.sendKhubSearchEvent(n,i):this.sendDocumentSearchEvent(n,i)},this.eventsService=r??new wa,this.resultsWatcher=(0,Lg.watch)(e,i=>i.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=_.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Bo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Ei(e.metadataFilters),facets:e.metadataFilters.map(n=>Ri(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,r){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Bo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Ei(e.metadataFilters),facets:e.metadataFilters.map(n=>Ri(n))},document:this.document};this.eventsService.sendDocumentSearchEvent(i)}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Ht.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Bo.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Ei(i.metadataFilters),facets:i.metadataFilters.map(s=>Ri(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(a)}sendResultContextMenuOpenedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==Ht.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Bo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:Ei(i.metadataFilters),facets:i.metadataFilters.map(s=>Ri(s))},searchResult:{rank:r,type:e.type,document:this.convertDocument(e),topic:n},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchResultOpenContextMenuEvent(a)}convertDocument(e){switch(e.type){case Ht.MAP:return{id:e.map.mapId,title:e.map.title,type:bi.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Ht.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:bi.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Ht.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:bi.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var r,i,n,a,s;return(a=(i=(r=e.map)===null||r===void 0?void 0:r.originUrl)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var Tg,zr,jt,tt,Fa,Ma,Ua,Le,dc=p(()=>{"use strict";Tg=u(A()),zr=u(z()),jt=u(v());nc();Mo();xr();jl();Ig();tt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Fa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ma=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Ua=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},Le=class extends jt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=wi.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new Da(this.stateManager.store)),this._eventManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(_)}render(){return Tg.html`
1171
1164
  <slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click="${this.onResultClicked}"
1172
1165
  @ft-search-result-open-context-menu=${this.onResultContextMenuOpened}></slot>
1173
- `}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 Ma(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new za(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Fa(e))}reloadSavedSearches(){Pm.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};Ie.elementDefinitions={};Ie.styles=ic;tt([(0,jt.redux)({store:_.name})],Ie.prototype,"session",void 0);tt([(0,Ur.property)()],Ie.prototype,"query",void 0);tt([(0,Ur.property)()],Ie.prototype,"contentLocale",void 0);tt([(0,Ur.property)({type:Number})],Ie.prototype,"pageSize",void 0);tt([(0,Ur.property)({type:Boolean})],Ie.prototype,"searchInDocumentTitlesOnly",void 0);tt([(0,Ur.property)()],Ie.prototype,"scope",void 0);tt([(0,Ur.property)()],Ie.prototype,"virtualField",void 0);tt([(0,Ur.property)({type:Boolean})],Ie.prototype,"ignoreEmptyQuery",void 0);tt([(0,jt.redux)({store:_.name})],Ie.prototype,"openExternalDocumentInNewTab",void 0);tt([(0,jt.jsonProperty)([])],Ie.prototype,"filters",void 0);tt([(0,jt.jsonProperty)([])],Ie.prototype,"sort",void 0);tt([(0,jt.jsonProperty)({})],Ie.prototype,"otherQueryParams",void 0);tt([(0,jt.redux)({store:"search"})],Ie.prototype,"request",void 0);tt([(0,jt.redux)({store:"search"})],Ie.prototype,"paging",void 0);tt([(0,jt.redux)({store:"search",selector:t=>t.spellcheck})],Ie.prototype,"autocorrect",void 0);tt([(0,Ur.property)({attribute:!1})],Ie.prototype,"searchServiceProvider",void 0)});var $g=p(()=>{"use strict"});var Pg={};Co(Pg,{ClearAllFiltersEvent:()=>hn,FtSearchContext:()=>Ie,FtSearchContextCssVariables:()=>Qx,FtSearchStateManager:()=>Oi,LoadErrorEvent:()=>Fa,SearchRequestChangeEvent:()=>Ma,SearchResultsChangeEvent:()=>za,convertMetadataFilterToAnalyticsFacet:()=>Ei,getAnalyticsLastUpdate:()=>wi,searchInDocumentTitlesOnlySelector:()=>wg,styles:()=>ic});var Tg,_g=p(()=>{"use strict";Tg=u(x());dc();nc();$g();dc();ac();cc();(0,Tg.customElement)("ft-search-context")(Ie)});var so,pc=p(()=>{"use strict";Sr();so=xr.build("designedSearchInput")});var Hr=So((v1,Ng)=>{Ng.exports=ftGlobals.litRepeat});var Gt,uc=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(Gt||(Gt={}))});var Bg,Dg,fc=p(()=>{"use strict";Bg=u(A()),Dg=Bg.css`
1166
+ `}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 Ma(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Ua(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Fa(e))}reloadSavedSearches(){_m.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}onResultContextMenuOpened(e){this.eventManager.sendResultContextMenuOpenedEvent(e.detail.result,e.detail.rank)}};Le.elementDefinitions={};Le.styles=ic;tt([(0,jt.redux)({store:_.name})],Le.prototype,"session",void 0);tt([(0,zr.property)()],Le.prototype,"query",void 0);tt([(0,zr.property)()],Le.prototype,"contentLocale",void 0);tt([(0,zr.property)({type:Number})],Le.prototype,"pageSize",void 0);tt([(0,zr.property)({type:Boolean})],Le.prototype,"searchInDocumentTitlesOnly",void 0);tt([(0,zr.property)()],Le.prototype,"scope",void 0);tt([(0,zr.property)()],Le.prototype,"virtualField",void 0);tt([(0,zr.property)({type:Boolean})],Le.prototype,"ignoreEmptyQuery",void 0);tt([(0,jt.redux)({store:_.name})],Le.prototype,"openExternalDocumentInNewTab",void 0);tt([(0,jt.jsonProperty)([])],Le.prototype,"filters",void 0);tt([(0,jt.jsonProperty)([])],Le.prototype,"sort",void 0);tt([(0,jt.jsonProperty)({})],Le.prototype,"otherQueryParams",void 0);tt([(0,jt.redux)({store:"search"})],Le.prototype,"request",void 0);tt([(0,jt.redux)({store:"search"})],Le.prototype,"paging",void 0);tt([(0,jt.redux)({store:"search",selector:t=>t.spellcheck})],Le.prototype,"autocorrect",void 0);tt([(0,zr.property)({attribute:!1})],Le.prototype,"searchServiceProvider",void 0)});var $g=p(()=>{"use strict"});var _g={};Oo(_g,{ClearAllFiltersEvent:()=>hn,FtSearchContext:()=>Le,FtSearchContextCssVariables:()=>Yv,FtSearchStateManager:()=>wi,LoadErrorEvent:()=>Fa,SearchRequestChangeEvent:()=>Ma,SearchResultsChangeEvent:()=>Ua,convertMetadataFilterToAnalyticsFacet:()=>Ri,getAnalyticsLastUpdate:()=>Ei,searchInDocumentTitlesOnlySelector:()=>Eg,styles:()=>ic});var Pg,Ng=p(()=>{"use strict";Pg=u(v());dc();nc();$g();dc();ac();cc();(0,Pg.customElement)("ft-search-context")(Le)});var so,pc=p(()=>{"use strict";Sr();so=vr.build("designedSearchInput")});var Hr=Co((v1,Bg)=>{Bg.exports=ftGlobals.litRepeat});var Gt,uc=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(Gt||(Gt={}))});var Dg,Fg,fc=p(()=>{"use strict";Dg=u(A()),Fg=Dg.css`
1174
1167
  .ft-size-watcher--pixel {
1175
1168
  width: 0;
1176
1169
  height: 0;
@@ -1189,19 +1182,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1189
1182
  .ft-size-watcher--local .ft-size-watcher--watcher {
1190
1183
  width: 100%;
1191
1184
  }
1192
- `});var Fg,Mo,Ua,mn,hc,It,mc=p(()=>{"use strict";Fg=u(A()),Mo=u(U()),Ua=u(x());uc();fc();mn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},hc=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},It=class extends Ua.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Gt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new Ua.Debouncer}render(){return Fg.html`
1185
+ `});var Mg,Uo,za,mn,hc,Lt,mc=p(()=>{"use strict";Mg=u(A()),Uo=u(z()),za=u(v());uc();fc();mn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},hc=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Lt=class extends za.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Gt.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new za.Debouncer}render(){return Mg.html`
1193
1186
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1194
1187
  <div class="ft-size-watcher--watcher"></div>
1195
1188
  </div>
1196
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Gt.S:this.size<976?this.category=Gt.M:this.size<1024?this.category=Gt.L:this.size<1440?this.category=Gt.XL:this.category=Gt.XXL,this.dispatchEvent(new hc(this.size,this.category)))},this.debounceTimeout)}};It.elementDefinitions={};It.styles=Dg;mn([(0,Mo.property)({type:Number})],It.prototype,"debounceTimeout",void 0);mn([(0,Mo.property)({type:Boolean})],It.prototype,"local",void 0);mn([(0,Mo.property)({type:Number,reflect:!0})],It.prototype,"size",void 0);mn([(0,Mo.property)({type:String,reflect:!0})],It.prototype,"category",void 0);mn([(0,Mo.query)(".ft-size-watcher--watcher")],It.prototype,"watcher",void 0)});var Mg,zg=p(()=>{"use strict";Mg=u(x());mc();mc();fc();uc();(0,Mg.customElement)("ft-size-watcher")(It)});function Ha(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Ug(t){return Ha(t).split("|").pop()}function Hg(t){return Ha(t).split("|").join(" > ")}function Wg(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>Wg(r,t.selected)),value:t.value}}function Vg(t){return(0,gc.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function yc(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>Wg(e,!1))}}function jg(t){return(0,gc.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var gc,bc=p(()=>{"use strict";gc=u(x())});var Qe,Gg,Lt,Kg,vc=p(()=>{"use strict";Qe=u(x()),Gg=u(A());Be();mt();Lt={textColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Qe.designSystemVariables.colorOnSurfaceHigh),fontSize:Qe.FtCssVariableFactory.extend("--ft-checkbox-font-size","",L.fontSize),activeColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-active-color","",Qe.designSystemVariables.colorPrimary),checkColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-check-color","",Qe.designSystemVariables.colorOnPrimary),borderColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Qe.designSystemVariables.colorOnSurfaceMedium),disabledColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",Qe.designSystemVariables.colorOnSurfaceDisabled),errorColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-error-color","",Qe.designSystemVariables.colorError)},Kg=Gg.css`
1189
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Gt.S:this.size<976?this.category=Gt.M:this.size<1024?this.category=Gt.L:this.size<1440?this.category=Gt.XL:this.category=Gt.XXL,this.dispatchEvent(new hc(this.size,this.category)))},this.debounceTimeout)}};Lt.elementDefinitions={};Lt.styles=Fg;mn([(0,Uo.property)({type:Number})],Lt.prototype,"debounceTimeout",void 0);mn([(0,Uo.property)({type:Boolean})],Lt.prototype,"local",void 0);mn([(0,Uo.property)({type:Number,reflect:!0})],Lt.prototype,"size",void 0);mn([(0,Uo.property)({type:String,reflect:!0})],Lt.prototype,"category",void 0);mn([(0,Uo.query)(".ft-size-watcher--watcher")],Lt.prototype,"watcher",void 0)});var Ug,zg=p(()=>{"use strict";Ug=u(v());mc();mc();fc();uc();(0,Ug.customElement)("ft-size-watcher")(Lt)});function Ha(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Hg(t){return Ha(t).split("|").pop()}function Wg(t){return Ha(t).split("|").join(" > ")}function Vg(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>Vg(r,t.selected)),value:t.value}}function jg(t){return(0,gc.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function yc(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>Vg(e,!1))}}function Gg(t){return(0,gc.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var gc,bc=p(()=>{"use strict";gc=u(v())});var Qe,Kg,It,qg,xc=p(()=>{"use strict";Qe=u(v()),Kg=u(A());Be();mt();It={textColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-text-color","",Qe.designSystemVariables.colorOnSurfaceHigh),fontSize:Qe.FtCssVariableFactory.extend("--ft-checkbox-font-size","",I.fontSize),activeColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-active-color","",Qe.designSystemVariables.colorPrimary),checkColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-check-color","",Qe.designSystemVariables.colorOnPrimary),borderColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-border-color","",Qe.designSystemVariables.colorOnSurfaceMedium),disabledColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",Qe.designSystemVariables.colorOnSurfaceDisabled),errorColor:Qe.FtCssVariableFactory.extend("--ft-checkbox-error-color","",Qe.designSystemVariables.colorError)},qg=Kg.css`
1197
1190
  * {
1198
1191
  box-sizing: border-box;
1199
1192
  }
1200
1193
 
1201
1194
  .ft-checkbox {
1202
1195
  box-sizing: border-box;
1203
- color: ${Lt.textColor};
1204
- font-size: ${Lt.fontSize};
1196
+ color: ${It.textColor};
1197
+ font-size: ${It.fontSize};
1205
1198
 
1206
1199
  display: inline-flex;
1207
1200
  align-items: center;
@@ -1209,7 +1202,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1209
1202
  }
1210
1203
 
1211
1204
  .ft-checkbox--disabled {
1212
- color: ${Lt.disabledColor};
1205
+ color: ${It.disabledColor};
1213
1206
  }
1214
1207
 
1215
1208
  input {
@@ -1233,26 +1226,26 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1233
1226
 
1234
1227
  .ft-checkbox--box {
1235
1228
  display: flex;
1236
- border: 2px solid ${Lt.borderColor};
1229
+ border: 2px solid ${It.borderColor};
1237
1230
  border-radius: 2px;
1238
1231
 
1239
1232
  width: 18px;
1240
1233
  height: 18px;
1241
1234
 
1242
- color: ${Lt.checkColor};
1235
+ color: ${It.checkColor};
1243
1236
  }
1244
1237
 
1245
1238
 
1246
1239
  .ft-checkbox--checked .ft-checkbox--box,
1247
1240
  .ft-checkbox--indeterminate .ft-checkbox--box {
1248
- border-color: ${Lt.activeColor};
1249
- background-color: ${Lt.activeColor};
1241
+ border-color: ${It.activeColor};
1242
+ background-color: ${It.activeColor};
1250
1243
  }
1251
1244
 
1252
1245
  .ft-checkbox--disabled .ft-checkbox--box {
1253
- border-color: ${Lt.disabledColor};
1246
+ border-color: ${It.disabledColor};
1254
1247
  background-color: transparent;
1255
- color: ${Lt.disabledColor};
1248
+ color: ${It.disabledColor};
1256
1249
  }
1257
1250
 
1258
1251
  .ft-checkbox--checkmark {
@@ -1273,21 +1266,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1273
1266
  }
1274
1267
 
1275
1268
  .ft-checkbox.ft-checkbox--error {
1276
- color: ${Lt.errorColor};
1277
- ${(0,Qe.setVariable)(w.color,Lt.errorColor)};
1269
+ color: ${It.errorColor};
1270
+ ${(0,Qe.setVariable)(w.color,It.errorColor)};
1278
1271
 
1279
1272
  .ft-checkbox--box {
1280
- border-color: ${Lt.errorColor};
1273
+ border-color: ${It.errorColor};
1281
1274
  }
1282
1275
 
1283
1276
  &.ft-checkbox--checked, &.ft-checkbox--indeterminate {
1284
1277
  .ft-checkbox--box {
1285
- background-color: ${Lt.errorColor};
1278
+ background-color: ${It.errorColor};
1286
1279
  }
1287
1280
  }
1288
1281
  }
1289
- `});var qg,Cr,Zg,Qg,lo,rt,xc=p(()=>{"use strict";qg=u(A()),Cr=u(U()),Zg=u(x()),Qg=u(ft());mt();Be();vc();lo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},rt=class extends Zg.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return qg.html`
1290
- <label class="${(0,Qg.classMap)(e)}" for="checkbox-input" part="checkbox-label">
1282
+ `});var Zg,Cr,Qg,Yg,lo,rt,vc=p(()=>{"use strict";Zg=u(A()),Cr=u(z()),Qg=u(v()),Yg=u(ft());mt();Be();xc();lo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},rt=class extends Qg.FtLitElement{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Zg.html`
1283
+ <label class="${(0,Yg.classMap)(e)}" for="checkbox-input" part="checkbox-label">
1291
1284
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1292
1285
  <ft-ripple part="checkbox-ripple"
1293
1286
  ?disabled=${this.disabled}
@@ -1313,7 +1306,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1313
1306
  <slot></slot>
1314
1307
  </ft-typography>
1315
1308
  </label>
1316
- `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};rt.elementDefinitions={"ft-ripple":W,"ft-typography":G};rt.styles=Kg;lo([(0,Cr.property)()],rt.prototype,"name",void 0);lo([(0,Cr.property)({type:Boolean,reflect:!0})],rt.prototype,"checked",void 0);lo([(0,Cr.property)({type:Boolean})],rt.prototype,"indeterminate",void 0);lo([(0,Cr.property)({type:Boolean})],rt.prototype,"disabled",void 0);lo([(0,Cr.property)({type:Boolean})],rt.prototype,"error",void 0);lo([(0,Cr.query)(".ft-checkbox")],rt.prototype,"container",void 0);lo([(0,Cr.query)("ft-ripple")],rt.prototype,"ripple",void 0);lo([(0,Cr.query)("input")],rt.prototype,"input",void 0)});var Yg=p(()=>{"use strict"});var Xg,Jg=p(()=>{"use strict";Xg=u(x());xc();xc();vc();Yg();(0,Xg.customElement)("ft-checkbox")(rt)});var ey,St,co,ty,Sc=p(()=>{"use strict";ey=u(A()),St=u(x());Be();co={textColor:St.FtCssVariableFactory.extend("--ft-radio-text-color","",St.designSystemVariables.colorOnSurfaceHigh),fontSize:St.FtCssVariableFactory.extend("--ft-radio-font-size","",L.fontSize),colorPrimary:St.FtCssVariableFactory.external(St.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:St.FtCssVariableFactory.external(St.designSystemVariables.colorOnPrimary,"Design system"),borderColor:St.FtCssVariableFactory.extend("--ft-radio-border-color","",St.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:St.FtCssVariableFactory.external(St.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ty=ey.css`
1309
+ `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}focus(){this.input.focus(),setTimeout(()=>{var e;(e=this.ripple)===null||e===void 0||e.forceFocusUpdate()},0)}};rt.elementDefinitions={"ft-ripple":W,"ft-typography":G};rt.styles=qg;lo([(0,Cr.property)()],rt.prototype,"name",void 0);lo([(0,Cr.property)({type:Boolean,reflect:!0})],rt.prototype,"checked",void 0);lo([(0,Cr.property)({type:Boolean})],rt.prototype,"indeterminate",void 0);lo([(0,Cr.property)({type:Boolean})],rt.prototype,"disabled",void 0);lo([(0,Cr.property)({type:Boolean})],rt.prototype,"error",void 0);lo([(0,Cr.query)(".ft-checkbox")],rt.prototype,"container",void 0);lo([(0,Cr.query)("ft-ripple")],rt.prototype,"ripple",void 0);lo([(0,Cr.query)("input")],rt.prototype,"input",void 0)});var Xg=p(()=>{"use strict"});var Jg,ey=p(()=>{"use strict";Jg=u(v());vc();vc();xc();Xg();(0,Jg.customElement)("ft-checkbox")(rt)});var ty,St,co,ry,Sc=p(()=>{"use strict";ty=u(A()),St=u(v());Be();co={textColor:St.FtCssVariableFactory.extend("--ft-radio-text-color","",St.designSystemVariables.colorOnSurfaceHigh),fontSize:St.FtCssVariableFactory.extend("--ft-radio-font-size","",I.fontSize),colorPrimary:St.FtCssVariableFactory.external(St.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:St.FtCssVariableFactory.external(St.designSystemVariables.colorOnPrimary,"Design system"),borderColor:St.FtCssVariableFactory.extend("--ft-radio-border-color","",St.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:St.FtCssVariableFactory.external(St.designSystemVariables.colorOnSurfaceDisabled,"Design system")},ry=ty.css`
1317
1310
  * {
1318
1311
  box-sizing: border-box;
1319
1312
  }
@@ -1402,8 +1395,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1402
1395
  .ft-radio ft-typography {
1403
1396
  padding-right: 2px;
1404
1397
  }
1405
- `});var ry,ir,oy,iy,Wr,Wa,He,Cc=p(()=>{"use strict";ry=u(A()),ir=u(U()),oy=u(x()),iy=u(ft());mt();Be();Sc();Wr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Wa=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},He=class extends oy.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return ry.html`
1406
- <div class="${(0,iy.classMap)(e)}">
1398
+ `});var oy,ir,iy,ny,Wr,Wa,He,Cc=p(()=>{"use strict";oy=u(A()),ir=u(z()),iy=u(v()),ny=u(ft());mt();Be();Sc();Wr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Wa=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},He=class extends iy.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return oy.html`
1399
+ <div class="${(0,ny.classMap)(e)}">
1407
1400
  <div class="ft-radio--box-container">
1408
1401
  <ft-ripple
1409
1402
  ?disabled=${this.disabled}
@@ -1427,7 +1420,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1427
1420
  </ft-typography>
1428
1421
  </label>
1429
1422
  </div>
1430
- `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Wa(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Wa(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;(r=this.ripple)===null||r===void 0||r.forceFocusUpdate()},0)}};He.elementDefinitions={"ft-ripple":W,"ft-typography":G};He.styles=ty;Wr([(0,ir.property)()],He.prototype,"value",void 0);Wr([(0,ir.property)()],He.prototype,"name",void 0);Wr([(0,ir.property)({type:Boolean,reflect:!0})],He.prototype,"checked",void 0);Wr([(0,ir.property)({attribute:"aria-checked",reflect:!0})],He.prototype,"ariaChecked",void 0);Wr([(0,ir.property)({type:Boolean})],He.prototype,"disabled",void 0);Wr([(0,ir.property)({reflect:!0,attribute:"role"})],He.prototype,"role",void 0);Wr([(0,ir.query)(".ft-radio")],He.prototype,"container",void 0);Wr([(0,ir.query)("ft-ripple")],He.prototype,"ripple",void 0);Wr([(0,ir.query)("input")],He.prototype,"input",void 0)});var ny,ay,Oc=p(()=>{"use strict";ny=u(A()),ay=ny.css`
1423
+ `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Wa(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Wa(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;(r=this.ripple)===null||r===void 0||r.forceFocusUpdate()},0)}};He.elementDefinitions={"ft-ripple":W,"ft-typography":G};He.styles=ry;Wr([(0,ir.property)()],He.prototype,"value",void 0);Wr([(0,ir.property)()],He.prototype,"name",void 0);Wr([(0,ir.property)({type:Boolean,reflect:!0})],He.prototype,"checked",void 0);Wr([(0,ir.property)({attribute:"aria-checked",reflect:!0})],He.prototype,"ariaChecked",void 0);Wr([(0,ir.property)({type:Boolean})],He.prototype,"disabled",void 0);Wr([(0,ir.property)({reflect:!0,attribute:"role"})],He.prototype,"role",void 0);Wr([(0,ir.query)(".ft-radio")],He.prototype,"container",void 0);Wr([(0,ir.query)("ft-ripple")],He.prototype,"ripple",void 0);Wr([(0,ir.query)("input")],He.prototype,"input",void 0)});var ay,sy,Oc=p(()=>{"use strict";ay=u(A()),sy=ay.css`
1431
1424
  :host {
1432
1425
  display: block;
1433
1426
  }
@@ -1435,12 +1428,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1435
1428
  :host(:focus-visible) {
1436
1429
  outline: none;
1437
1430
  }
1438
- `});var sy,Vr,ly,Ri,Ct,wc=p(()=>{"use strict";sy=u(x()),Vr=u(U()),ly=u(A());Oc();Ri=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ct=class extends sy.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio")?[i]:[...i.querySelectorAll("ft-radio")]))!==null&&r!==void 0?r:[]}render(){return ly.html`
1431
+ `});var ly,Vr,cy,Ai,Ct,wc=p(()=>{"use strict";ly=u(v()),Vr=u(z()),cy=u(A());Oc();Ai=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ct=class extends ly.FtLitElement{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(i=>i.matches("ft-radio")?[i]:[...i.querySelectorAll("ft-radio")]))!==null&&r!==void 0?r:[]}render(){return cy.html`
1439
1432
  <slot @slotchange=${this.onSlotChange}
1440
1433
  @change=${this.onChange}
1441
1434
  @keydown=${this.onKeyDown}
1442
1435
  ></slot>
1443
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ct.elementDefinitions={};Ct.styles=ay;Ri([(0,Vr.property)()],Ct.prototype,"name",void 0);Ri([(0,Vr.property)({reflect:!0,attribute:"role"})],Ct.prototype,"role",void 0);Ri([(0,Vr.property)({reflect:!0})],Ct.prototype,"tabIndex",void 0);Ri([(0,Vr.property)({reflect:!0,attribute:"aria-labelledby"})],Ct.prototype,"ariaLabelledBy",void 0);Ri([(0,Vr.queryAssignedElements)()],Ct.prototype,"assignedElements",void 0);Ri([(0,Vr.state)()],Ct.prototype,"currentSelectedIndex",void 0)});var cy=p(()=>{"use strict"});var dy=p(()=>{"use strict"});var Ec,Rc=p(()=>{"use strict";Ec=u(x());Cc();wc();Cc();Sc();cy();wc();Oc();dy();(0,Ec.customElement)("ft-radio")(He);(0,Ec.customElement)("ft-radio-group")(Ct)});var py,me,gn,uy,Ac=p(()=>{"use strict";py=u(A()),me=u(x());wo();Qt();gn={buttonMoreColor:me.FtCssVariableFactory.extend("--ft-filter-level-button-more-color","",me.designSystemVariables.colorOnSurface),borderRadiusM:me.FtCssVariableFactory.external(me.designSystemVariables.borderRadiusM,"Design system"),colorOutline:me.FtCssVariableFactory.external(me.designSystemVariables.colorOutline,"Design system"),colorOnSurface:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:me.FtCssVariableFactory.external(me.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:me.FtCssVariableFactory.external(Fe.fontFamily,"Body2 typography"),fontSize:me.FtCssVariableFactory.external(Fe.fontSize,"Body2 typography"),fontWeight:me.FtCssVariableFactory.external(Fe.fontWeight,"Body2 typography"),letterSpacing:me.FtCssVariableFactory.external(Fe.letterSpacing,"Body2 typography"),lineHeight:me.FtCssVariableFactory.external(Fe.lineHeight,"Body2 typography"),textTransform:me.FtCssVariableFactory.external(Fe.textTransform,"Body2 typography")},uy=py.css`
1436
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ct.elementDefinitions={};Ct.styles=sy;Ai([(0,Vr.property)()],Ct.prototype,"name",void 0);Ai([(0,Vr.property)({reflect:!0,attribute:"role"})],Ct.prototype,"role",void 0);Ai([(0,Vr.property)({reflect:!0})],Ct.prototype,"tabIndex",void 0);Ai([(0,Vr.property)({reflect:!0,attribute:"aria-labelledby"})],Ct.prototype,"ariaLabelledBy",void 0);Ai([(0,Vr.queryAssignedElements)()],Ct.prototype,"assignedElements",void 0);Ai([(0,Vr.state)()],Ct.prototype,"currentSelectedIndex",void 0)});var dy=p(()=>{"use strict"});var py=p(()=>{"use strict"});var Ec,Rc=p(()=>{"use strict";Ec=u(v());Cc();wc();Cc();Sc();dy();wc();Oc();py();(0,Ec.customElement)("ft-radio")(He);(0,Ec.customElement)("ft-radio-group")(Ct)});var uy,me,gn,fy,Ac=p(()=>{"use strict";uy=u(A()),me=u(v());Eo();Qt();gn={buttonMoreColor:me.FtCssVariableFactory.extend("--ft-filter-level-button-more-color","",me.designSystemVariables.colorOnSurface),borderRadiusM:me.FtCssVariableFactory.external(me.designSystemVariables.borderRadiusM,"Design system"),colorOutline:me.FtCssVariableFactory.external(me.designSystemVariables.colorOutline,"Design system"),colorOnSurface:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:me.FtCssVariableFactory.external(me.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:me.FtCssVariableFactory.external(me.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:me.FtCssVariableFactory.external(Fe.fontFamily,"Body2 typography"),fontSize:me.FtCssVariableFactory.external(Fe.fontSize,"Body2 typography"),fontWeight:me.FtCssVariableFactory.external(Fe.fontWeight,"Body2 typography"),letterSpacing:me.FtCssVariableFactory.external(Fe.letterSpacing,"Body2 typography"),lineHeight:me.FtCssVariableFactory.external(Fe.lineHeight,"Body2 typography"),textTransform:me.FtCssVariableFactory.external(Fe.textTransform,"Body2 typography")},fy=uy.css`
1444
1437
  .ft-filter-level--container {
1445
1438
  display: flex;
1446
1439
  flex-direction: column;
@@ -1510,9 +1503,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1510
1503
  margin: 10px 0;
1511
1504
  color: ${gn.colorOnSurfaceMedium};
1512
1505
  }
1513
- `});var $t,Ve,fy,Va,lt,Pe,hy=p(()=>{"use strict";$t=u(A()),Ve=u(U()),fy=u(Hr()),Va=u(x());er();Be();mt();Mt();Jg();Rc();Ac();lt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pe=class extends Va.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return $t.html`
1506
+ `});var Tt,Ve,hy,Va,lt,Pe,my=p(()=>{"use strict";Tt=u(A()),Ve=u(z()),hy=u(Hr()),Va=u(v());er();Be();mt();Mt();ey();Rc();Ac();lt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pe=class extends Va.FtLitElement{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return Tt.html`
1514
1507
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1515
- ${this.parent==null?null:$t.html`
1508
+ ${this.parent==null?null:Tt.html`
1516
1509
  <div tabindex="0"
1517
1510
  part="controls go-back"
1518
1511
  class="ft-filter-level--go-back"
@@ -1526,15 +1519,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1526
1519
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1527
1520
  </div>
1528
1521
  `}
1529
- ${this.options.length===0&&this.noValuesLabel?$t.html`
1522
+ ${this.options.length===0&&this.noValuesLabel?Tt.html`
1530
1523
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1531
1524
  ${this.noValuesLabel}
1532
1525
  </ft-typography>
1533
- `:$t.nothing}
1534
- ${(0,fy.repeat)(r,i=>i.value,i=>{var n;return $t.html`
1526
+ `:Tt.nothing}
1527
+ ${(0,hy.repeat)(r,i=>i.value,i=>{var n;return Tt.html`
1535
1528
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1536
1529
  ${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
1537
- ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?$t.nothing:$t.html`
1530
+ ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?Tt.nothing:Tt.html`
1538
1531
  <ft-button icon="thin_arrow_right"
1539
1532
  part="controls navigate-hierarchy"
1540
1533
  aria-label="Expand node"
@@ -1545,7 +1538,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1545
1538
  `}
1546
1539
  </div>
1547
1540
  `})}
1548
- ${r.length<e.length?$t.html`
1541
+ ${r.length<e.length?Tt.html`
1549
1542
  <ft-button
1550
1543
  class="ft-filter-level--display-more"
1551
1544
  icon="thin_arrow"
@@ -1554,9 +1547,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1554
1547
  @click=${this.displayMore}>
1555
1548
  ${this.moreValuesButtonLabel}
1556
1549
  </ft-button>
1557
- `:$t.nothing}
1550
+ `:Tt.nothing}
1558
1551
  </div>
1559
- `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){var e;let r=(e=this.limit)!==null&&e!==void 0?e:0,i=this.parent!=null;this.displayedPages++,this.elementToFocus={selector:`.ft-filter-level--option:nth-child(${r+(i?2:1)}) [part~="option"]`}}buildMultiValuedOption(e){var r;return $t.html`
1552
+ `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){var e;let r=(e=this.limit)!==null&&e!==void 0?e:0,i=this.parent!=null;this.displayedPages++,this.elementToFocus={selector:`.ft-filter-level--option:nth-child(${r+(i?2:1)}) [part~="option"]`}}buildMultiValuedOption(e){var r;return Tt.html`
1560
1553
  <ft-checkbox name="${this.filterId}"
1561
1554
  part="multivalued-option option"
1562
1555
  data-value="${e.value}"
@@ -1566,7 +1559,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1566
1559
  @change=${i=>this.optionsChanged(i,e)}>
1567
1560
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1568
1561
  </ft-checkbox>
1569
- `}buildMonoValuedOption(e){return $t.html`
1562
+ `}buildMonoValuedOption(e){return Tt.html`
1570
1563
  <ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
1571
1564
  part="monovalued-option option"
1572
1565
  data-value="${e.value}"
@@ -1577,7 +1570,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1577
1570
  @change=${r=>this.optionsChanged(r,e)}>
1578
1571
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1579
1572
  </ft-radio>
1580
- `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};Pe.elementDefinitions={"ft-button":ke,"ft-ripple":W,"ft-typography":G,"ft-checkbox":rt,"ft-icon":fe,"ft-radio":He};Pe.styles=uy;lt([(0,Ve.property)({type:String})],Pe.prototype,"filterId",void 0);lt([(0,Ve.property)({type:Object})],Pe.prototype,"parent",void 0);lt([(0,Ve.property)({type:Array})],Pe.prototype,"options",void 0);lt([(0,Ve.property)({type:Boolean})],Pe.prototype,"multivalued",void 0);lt([(0,Ve.property)({type:Boolean})],Pe.prototype,"disabled",void 0);lt([(0,Ve.property)({type:Boolean})],Pe.prototype,"hideSelectedOptions",void 0);lt([(0,Ve.property)({type:Boolean})],Pe.prototype,"displayCount",void 0);lt([(0,Ve.property)({type:Boolean})],Pe.prototype,"preventNavigation",void 0);lt([(0,Ve.property)({type:String})],Pe.prototype,"filter",void 0);lt([(0,Ve.property)({type:String})],Pe.prototype,"moreValuesButtonLabel",void 0);lt([(0,Ve.property)({type:String})],Pe.prototype,"noValuesLabel",void 0);lt([(0,Ve.property)({type:Number})],Pe.prototype,"displayedValuesLimit",void 0);lt([(0,Ve.query)(".ft-filter-level--container")],Pe.prototype,"container",void 0);lt([(0,Ve.state)()],Pe.prototype,"radios",void 0);lt([(0,Ve.state)()],Pe.prototype,"displayedPages",void 0)});var my,nr,ct,gy,ja=p(()=>{"use strict";my=u(A()),nr=u(x());wo();ct={buttonsColor:nr.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",nr.designSystemVariables.colorPrimary),buttonsZIndex:nr.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:nr.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:nr.FtCssVariableFactory.external(nr.designSystemVariables.colorSurface,"Design system")},gy=my.css`
1573
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};Pe.elementDefinitions={"ft-button":ke,"ft-ripple":W,"ft-typography":G,"ft-checkbox":rt,"ft-icon":fe,"ft-radio":He};Pe.styles=fy;lt([(0,Ve.property)({type:String})],Pe.prototype,"filterId",void 0);lt([(0,Ve.property)({type:Object})],Pe.prototype,"parent",void 0);lt([(0,Ve.property)({type:Array})],Pe.prototype,"options",void 0);lt([(0,Ve.property)({type:Boolean})],Pe.prototype,"multivalued",void 0);lt([(0,Ve.property)({type:Boolean})],Pe.prototype,"disabled",void 0);lt([(0,Ve.property)({type:Boolean})],Pe.prototype,"hideSelectedOptions",void 0);lt([(0,Ve.property)({type:Boolean})],Pe.prototype,"displayCount",void 0);lt([(0,Ve.property)({type:Boolean})],Pe.prototype,"preventNavigation",void 0);lt([(0,Ve.property)({type:String})],Pe.prototype,"filter",void 0);lt([(0,Ve.property)({type:String})],Pe.prototype,"moreValuesButtonLabel",void 0);lt([(0,Ve.property)({type:String})],Pe.prototype,"noValuesLabel",void 0);lt([(0,Ve.property)({type:Number})],Pe.prototype,"displayedValuesLimit",void 0);lt([(0,Ve.query)(".ft-filter-level--container")],Pe.prototype,"container",void 0);lt([(0,Ve.state)()],Pe.prototype,"radios",void 0);lt([(0,Ve.state)()],Pe.prototype,"displayedPages",void 0)});var gy,nr,ct,yy,ja=p(()=>{"use strict";gy=u(A()),nr=u(v());Eo();ct={buttonsColor:nr.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",nr.designSystemVariables.colorPrimary),buttonsZIndex:nr.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:nr.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:nr.FtCssVariableFactory.external(nr.designSystemVariables.colorSurface,"Design system")},yy=gy.css`
1581
1574
  .ft-snap-scroll {
1582
1575
  box-sizing: border-box;
1583
1576
  position: relative;
@@ -1702,7 +1695,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1702
1695
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1703
1696
  background-color: ${ct.colorSurface};
1704
1697
  }
1705
- `});var yy,Tt,zo,by,Or,kc,De,Ic=p(()=>{"use strict";yy=u(A()),Tt=u(U()),zo=u(x());er();by=u(ft());ja();Or=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},kc=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},De=class extends zo.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new zo.Debouncer(200),this.updateScrollDebouncer=new zo.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=(0,by.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":zo.isSafari}),r=this.controls&&this.withScroll;return yy.html`
1698
+ `});var by,$t,zo,xy,Or,kc,De,Lc=p(()=>{"use strict";by=u(A()),$t=u(z()),zo=u(v());er();xy=u(ft());ja();Or=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},kc=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},De=class extends zo.FtLitElement{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new zo.Debouncer(200),this.updateScrollDebouncer=new zo.Debouncer(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=(0,xy.classMap)({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":zo.isSafari}),r=this.controls&&this.withScroll;return by.html`
1706
1699
  <div part="container" class="${e}">
1707
1700
  <ft-button
1708
1701
  class="ft-snap-scroll--previous"
@@ -1726,7 +1719,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1726
1719
  @click=${this.next}
1727
1720
  ></ft-button>
1728
1721
  </div>
1729
- `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new kc(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};De.elementDefinitions={"ft-button":ke};De.styles=gy;Or([(0,Tt.property)({type:Boolean})],De.prototype,"horizontal",void 0);Or([(0,Tt.property)({type:Boolean})],De.prototype,"hideScrollbar",void 0);Or([(0,Tt.property)({type:Boolean})],De.prototype,"controls",void 0);Or([(0,Tt.property)({type:Boolean})],De.prototype,"limitSize",void 0);Or([(0,Tt.state)()],De.prototype,"elements",void 0);Or([(0,Tt.state)()],De.prototype,"currentElement",void 0);Or([(0,Tt.state)()],De.prototype,"withScroll",void 0);Or([(0,Tt.state)()],De.prototype,"startReached",void 0);Or([(0,Tt.state)()],De.prototype,"endReached",void 0);Or([(0,Tt.query)(".ft-snap-scroll--content")],De.prototype,"contentSlot",void 0)});var vy=p(()=>{"use strict"});var xy,Ga=p(()=>{"use strict";xy=u(x());Ic();Ic();ja();vy();(0,xy.customElement)("ft-snap-scroll")(De)});var Sy,be,Ot,Cy,Ka=p(()=>{"use strict";Sy=u(A()),be=u(x());Qt();wo();Ot={colorOutline:be.FtCssVariableFactory.external(be.designSystemVariables.colorOutline,"Design system"),colorOnSurface:be.FtCssVariableFactory.external(be.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:be.FtCssVariableFactory.external(be.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:be.FtCssVariableFactory.external(be.designSystemVariables.colorPrimary,"Design system"),colorSurface:be.FtCssVariableFactory.external(be.designSystemVariables.colorSurface,"Design system"),transitionDuration:be.FtCssVariableFactory.external(be.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:be.FtCssVariableFactory.external(be.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:be.FtCssVariableFactory.extend("--ft-filter-label-color","",be.designSystemVariables.colorOnSurface),labelFontSize:be.FtCssVariableFactory.extend("--ft-filter-label-font-size","",L.fontSize,"16px")},Cy=[qr,be.noTextInputDefaultClearButton,Sy.css`
1722
+ `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new kc(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};De.elementDefinitions={"ft-button":ke};De.styles=yy;Or([(0,$t.property)({type:Boolean})],De.prototype,"horizontal",void 0);Or([(0,$t.property)({type:Boolean})],De.prototype,"hideScrollbar",void 0);Or([(0,$t.property)({type:Boolean})],De.prototype,"controls",void 0);Or([(0,$t.property)({type:Boolean})],De.prototype,"limitSize",void 0);Or([(0,$t.state)()],De.prototype,"elements",void 0);Or([(0,$t.state)()],De.prototype,"currentElement",void 0);Or([(0,$t.state)()],De.prototype,"withScroll",void 0);Or([(0,$t.state)()],De.prototype,"startReached",void 0);Or([(0,$t.state)()],De.prototype,"endReached",void 0);Or([(0,$t.query)(".ft-snap-scroll--content")],De.prototype,"contentSlot",void 0)});var vy=p(()=>{"use strict"});var Sy,Ga=p(()=>{"use strict";Sy=u(v());Lc();Lc();ja();vy();(0,Sy.customElement)("ft-snap-scroll")(De)});var Cy,xe,Ot,Oy,Ka=p(()=>{"use strict";Cy=u(A()),xe=u(v());Qt();Eo();Ot={colorOutline:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorOutline,"Design system"),colorOnSurface:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorPrimary,"Design system"),colorSurface:xe.FtCssVariableFactory.external(xe.designSystemVariables.colorSurface,"Design system"),transitionDuration:xe.FtCssVariableFactory.external(xe.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:xe.FtCssVariableFactory.external(xe.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:xe.FtCssVariableFactory.extend("--ft-filter-label-color","",xe.designSystemVariables.colorOnSurface),labelFontSize:xe.FtCssVariableFactory.extend("--ft-filter-label-font-size","",I.fontSize,"16px")},Oy=[qr,xe.noTextInputDefaultClearButton,Cy.css`
1730
1723
  :host {
1731
1724
  display: flex;
1732
1725
  max-height: 100%;
@@ -1754,7 +1747,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1754
1747
  .ft-filter--header ft-button {
1755
1748
  flex-shrink: 0;
1756
1749
  margin-left: auto;
1757
- ${(0,be.setVariable)(H.iconSize,"18px")};
1750
+ ${(0,xe.setVariable)(H.iconSize,"18px")};
1758
1751
  }
1759
1752
 
1760
1753
  .filter-label {
@@ -1768,8 +1761,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1768
1761
  word-break: break-word;
1769
1762
  color: ${Ot.labelColor};
1770
1763
  font-size: ${Ot.labelFontSize};
1771
- ${(0,be.setVariable)(L.lineHeight,"22px")};
1772
- ${(0,be.setVariable)(L.fontWeight,"bold")};
1764
+ ${(0,xe.setVariable)(I.lineHeight,"22px")};
1765
+ ${(0,xe.setVariable)(I.fontWeight,"bold")};
1773
1766
  }
1774
1767
 
1775
1768
  .ft-filter--filter {
@@ -1843,10 +1836,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1843
1836
  slot:not([name]) {
1844
1837
  display: none;
1845
1838
  }
1846
- `]});var Uo,ge,ot,Ee,Lc,ae,$c=p(()=>{"use strict";Uo=u(A()),ge=u(U()),ot=u(x());Be();hy();er();Ga();Ka();Ee=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Lc=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ae=class extends ot.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new ot.Debouncer(300),this.changeDebouncer=new ot.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,ot.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,ot.flatDeep)(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Uo.html`
1839
+ `]});var Ho,ge,ot,Ee,Ic,ae,Tc=p(()=>{"use strict";Ho=u(A()),ge=u(z()),ot=u(v());Be();my();er();Ga();Ka();Ee=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ic=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ae=class extends ot.FtLitElement{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new ot.Debouncer(300),this.changeDebouncer=new ot.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,ot.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,ot.flatDeep)(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return Ho.html`
1847
1840
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1848
1841
  part="container">
1849
- ${!this.label&&!e?null:Uo.html`
1842
+ ${!this.label&&!e?null:Ho.html`
1850
1843
 
1851
1844
  <div class="ft-filter--header" part="header">
1852
1845
  <div class="filter-label" id="id-group-${this.id}">
@@ -1855,7 +1848,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1855
1848
  </ft-typography>
1856
1849
  <slot name="label"></slot>
1857
1850
  </div>
1858
- ${e&&!this.hideClearButton?Uo.html`
1851
+ ${e&&!this.hideClearButton?Ho.html`
1859
1852
  <ft-button icon="close"
1860
1853
  aria-label="${this.clearButtonLabel+" "+this.label}"
1861
1854
  dense
@@ -1883,8 +1876,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1883
1876
  @slotchange=${this.updateOptionsFromSlot}
1884
1877
  @option-change=${this.optionsChanged}></slot>
1885
1878
  </div>
1886
- `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,i,n,a,s,c;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&((i=this.levelsContainer)===null||i===void 0||i.next(),setTimeout(()=>{this.slideIn=void 0},300)),e.has("slideOut")&&this.slideOut&&((n=this.levelsContainer)===null||n===void 0||n.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(c=(s=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||s===void 0?void 0:s.hasHiddenValues)!==null&&c!==void 0?c:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return Uo.html`
1887
- ${this.raiseSelectedOptions&&r.length>0?Uo.html`
1879
+ `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,i,n,a,s,c;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&((i=this.levelsContainer)===null||i===void 0||i.next(),setTimeout(()=>{this.slideIn=void 0},300)),e.has("slideOut")&&this.slideOut&&((n=this.levelsContainer)===null||n===void 0||n.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(c=(s=(a=this.shadowRoot)===null||a===void 0?void 0:a.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||s===void 0?void 0:s.hasHiddenValues)!==null&&c!==void 0?c:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return Ho.html`
1880
+ ${this.raiseSelectedOptions&&r.length>0?Ho.html`
1888
1881
  <ft-filter-level
1889
1882
  filterId="${this.id}"
1890
1883
  ?multivalued=${this.multivalued}
@@ -1904,7 +1897,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1904
1897
  ${this.renderLevel(n,this.options)}
1905
1898
  ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var c;let f=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(f,(c=a?.subOptions)!==null&&c!==void 0?c:[],a)})}
1906
1899
  </ft-snap-scroll>
1907
- `}renderLevel(e,r,i){return Uo.html`
1900
+ `}renderLevel(e,r,i){return Ho.html`
1908
1901
  <ft-filter-level
1909
1902
  class="${e}"
1910
1903
  filterId="${this.id}"
@@ -1924,21 +1917,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1924
1917
  .exportpartsPrefixes=${["values","available-values"]}
1925
1918
  noValuesLabel="${this.noValuesLabel}"
1926
1919
  ></ft-filter-level>
1927
- `}goBack(e){this.slideOut=e.detail.value,(0,ot.waitUntil)(()=>this.slideOut===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,(0,ot.waitUntil)(()=>this.slideIn===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){(0,ot.waitUntil)(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,ot.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Lc(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};ae.elementDefinitions={"ft-button":ke,"ft-filter-level":Pe,"ft-snap-scroll":De,"ft-typography":G};ae.styles=Cy;Ee([(0,ge.property)({type:String})],ae.prototype,"id",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"label",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"filterPlaceHolder",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"clearButtonLabel",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"moreValuesButtonLabel",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"noValuesLabel",void 0);Ee([(0,ot.jsonProperty)([])],ae.prototype,"options",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"multivalued",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"disabled",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"raiseSelectedOptions",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"displayCount",void 0);Ee([(0,ge.property)({type:Number})],ae.prototype,"displayedValuesLimit",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"hideClearButton",void 0);Ee([(0,ge.query)(".ft-filter--slot")],ae.prototype,"slotElement",void 0);Ee([(0,ge.query)(".ft-filter--container")],ae.prototype,"container",void 0);Ee([(0,ge.query)(".ft-filter--values")],ae.prototype,"valuesContainer",void 0);Ee([(0,ge.query)(".ft-filter--levels")],ae.prototype,"levelsContainer",void 0);Ee([(0,ge.state)()],ae.prototype,"lastLevelHasHiddenvalues",void 0);Ee([(0,ge.query)(".ft-filter--filter input")],ae.prototype,"filterInput",void 0);Ee([(0,ge.queryAll)(".ft-filter--levels ft-filter-level")],ae.prototype,"levels",void 0);Ee([(0,ge.state)()],ae.prototype,"withScroll",void 0);Ee([(0,ge.state)()],ae.prototype,"filter",void 0);Ee([(0,ge.state)()],ae.prototype,"slideIn",void 0);Ee([(0,ge.state)()],ae.prototype,"slideOut",void 0)});var qa,Ho,Oy,Ai,Pt,Tc=p(()=>{"use strict";qa=u(x()),Ho=u(U()),Oy=u(A()),Ai=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pt=class extends qa.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Oy.html`
1920
+ `}goBack(e){this.slideOut=e.detail.value,(0,ot.waitUntil)(()=>this.slideOut===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,(0,ot.waitUntil)(()=>this.slideIn===void 0).then(()=>{var r;let i=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");i?.focusOnBackButton()})}focusOnFirstOption(){(0,ot.waitUntil)(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;(0,ot.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Ic(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};ae.elementDefinitions={"ft-button":ke,"ft-filter-level":Pe,"ft-snap-scroll":De,"ft-typography":G};ae.styles=Oy;Ee([(0,ge.property)({type:String})],ae.prototype,"id",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"label",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"filterPlaceHolder",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"clearButtonLabel",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"moreValuesButtonLabel",void 0);Ee([(0,ge.property)({type:String})],ae.prototype,"noValuesLabel",void 0);Ee([(0,ot.jsonProperty)([])],ae.prototype,"options",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"multivalued",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"disabled",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"raiseSelectedOptions",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"displayCount",void 0);Ee([(0,ge.property)({type:Number})],ae.prototype,"displayedValuesLimit",void 0);Ee([(0,ge.property)({type:Boolean})],ae.prototype,"hideClearButton",void 0);Ee([(0,ge.query)(".ft-filter--slot")],ae.prototype,"slotElement",void 0);Ee([(0,ge.query)(".ft-filter--container")],ae.prototype,"container",void 0);Ee([(0,ge.query)(".ft-filter--values")],ae.prototype,"valuesContainer",void 0);Ee([(0,ge.query)(".ft-filter--levels")],ae.prototype,"levelsContainer",void 0);Ee([(0,ge.state)()],ae.prototype,"lastLevelHasHiddenvalues",void 0);Ee([(0,ge.query)(".ft-filter--filter input")],ae.prototype,"filterInput",void 0);Ee([(0,ge.queryAll)(".ft-filter--levels ft-filter-level")],ae.prototype,"levels",void 0);Ee([(0,ge.state)()],ae.prototype,"withScroll",void 0);Ee([(0,ge.state)()],ae.prototype,"filter",void 0);Ee([(0,ge.state)()],ae.prototype,"slideIn",void 0);Ee([(0,ge.state)()],ae.prototype,"slideOut",void 0)});var qa,Wo,wy,ki,Pt,$c=p(()=>{"use strict";qa=u(v()),Wo=u(z()),wy=u(A()),ki=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pt=class extends qa.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return wy.html`
1928
1921
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1929
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Pt.elementDefinitions={};Ai([(0,Ho.property)({type:String})],Pt.prototype,"label",void 0);Ai([(0,Ho.property)({type:Object,converter:t=>t})],Pt.prototype,"value",void 0);Ai([(0,Ho.property)({type:Boolean,reflect:!0})],Pt.prototype,"selected",void 0);Ai([(0,Ho.property)({type:Object})],Pt.prototype,"subOptions",void 0);Ai([(0,qa.jsonProperty)({})],Pt.prototype,"renderOption",void 0);Ai([(0,Ho.query)(".ft-filter-option--slot")],Pt.prototype,"slotElement",void 0)});var wy=p(()=>{"use strict"});var Ey=p(()=>{"use strict"});var Pc,Ry=p(()=>{"use strict";Pc=u(x());$c();Tc();Ac();$c();Ka();wy();Tc();Ey();(0,Pc.customElement)("ft-filter")(ae);(0,Pc.customElement)("ft-filter-option")(Pt)});var Ay,ky,_c=p(()=>{"use strict";Ay=u(A()),ky=Ay.css`
1922
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Pt.elementDefinitions={};ki([(0,Wo.property)({type:String})],Pt.prototype,"label",void 0);ki([(0,Wo.property)({type:Object,converter:t=>t})],Pt.prototype,"value",void 0);ki([(0,Wo.property)({type:Boolean,reflect:!0})],Pt.prototype,"selected",void 0);ki([(0,Wo.property)({type:Object})],Pt.prototype,"subOptions",void 0);ki([(0,qa.jsonProperty)({})],Pt.prototype,"renderOption",void 0);ki([(0,Wo.query)(".ft-filter-option--slot")],Pt.prototype,"slotElement",void 0)});var Ey=p(()=>{"use strict"});var Ry=p(()=>{"use strict"});var Pc,Ay=p(()=>{"use strict";Pc=u(v());Tc();$c();Ac();Tc();Ka();Ey();$c();Ry();(0,Pc.customElement)("ft-filter")(ae);(0,Pc.customElement)("ft-filter-option")(Pt)});var ky,Ly,_c=p(()=>{"use strict";ky=u(A()),Ly=ky.css`
1930
1923
  .ft-accordion {
1931
1924
  box-sizing: border-box;
1932
1925
  }
1933
- `});var Ly,Za,$y,Iy,wr,Nc=p(()=>{"use strict";Ly=u(A()),Za=u(U()),$y=u(x());_c();Iy=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},wr=class extends $y.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return Ly.html`
1926
+ `});var Ty,Za,$y,Iy,wr,Nc=p(()=>{"use strict";Ty=u(A()),Za=u(z()),$y=u(v());_c();Iy=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},wr=class extends $y.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return Ty.html`
1934
1927
  <div class="ft-accordion">
1935
1928
  <slot @activated=${this.onChange}></slot>
1936
1929
  </div>
1937
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};wr.elementDefinitions={};wr.styles=ky;Iy([(0,Za.property)({type:Boolean})],wr.prototype,"multi",void 0);Iy([(0,Za.query)("slot")],wr.prototype,"content",void 0)});var Ty,Vo,Wo,Py,Bc=p(()=>{"use strict";Ty=u(A()),Vo=u(x()),Wo={horizontalSpacing:Vo.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:Vo.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:Vo.FtCssVariableFactory.external(Vo.designSystemVariables.colorOutline,"Design system"),backgroundColor:Vo.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},Py=Ty.css`
1930
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};wr.elementDefinitions={};wr.styles=Ly;Iy([(0,Za.property)({type:Boolean})],wr.prototype,"multi",void 0);Iy([(0,Za.query)("slot")],wr.prototype,"content",void 0)});var Py,jo,Vo,_y,Bc=p(()=>{"use strict";Py=u(A()),jo=u(v()),Vo={horizontalSpacing:jo.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:jo.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:jo.FtCssVariableFactory.external(jo.designSystemVariables.colorOutline,"Design system"),backgroundColor:jo.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},_y=Py.css`
1938
1931
  .ft-accordion-item {
1939
1932
  display: flex;
1940
1933
  flex-direction: column;
1941
- background-color: ${Wo.backgroundColor};
1934
+ background-color: ${Vo.backgroundColor};
1942
1935
  }
1943
1936
 
1944
1937
  .ft-accordion-item--toggle {
@@ -1948,8 +1941,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1948
1941
  display: flex;
1949
1942
  align-items: center;
1950
1943
  cursor: pointer;
1951
- padding: ${Wo.verticalSpacing} ${Wo.horizontalSpacing};
1952
- gap: calc(${Wo.horizontalSpacing} / 2);
1944
+ padding: ${Vo.verticalSpacing} ${Vo.horizontalSpacing};
1945
+ gap: calc(${Vo.horizontalSpacing} / 2);
1953
1946
  outline: none;
1954
1947
  }
1955
1948
 
@@ -1974,13 +1967,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1974
1967
  .ft-accordion-item--active .ft-accordion-item--content {
1975
1968
  height: initial;
1976
1969
  overflow: visible;
1977
- padding: ${Wo.verticalSpacing} ${Wo.horizontalSpacing};
1970
+ padding: ${Vo.verticalSpacing} ${Vo.horizontalSpacing};
1978
1971
  }
1979
1972
 
1980
1973
  .ft-accordion-item--separator {
1981
- border-bottom: 1px solid ${Wo.colorOutline};
1974
+ border-bottom: 1px solid ${Vo.colorOutline};
1982
1975
  }
1983
- `});var yn,bn,_y,Qa,Kt,Dc=p(()=>{"use strict";yn=u(A()),bn=u(U()),_y=u(x());mt();Be();Mt();Bc();Qa=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Kt=class extends _y.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return yn.html`
1976
+ `});var yn,bn,Ny,Qa,Kt,Dc=p(()=>{"use strict";yn=u(A()),bn=u(z()),Ny=u(v());mt();Be();Mt();Bc();Qa=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Kt=class extends Ny.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return yn.html`
1984
1977
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1985
1978
  <div class="ft-accordion-item--toggle"
1986
1979
  part="toggle"
@@ -2010,7 +2003,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2010
2003
  </div>
2011
2004
  <div class="ft-accordion-item--separator" part="separator"></div>
2012
2005
  </div>
2013
- `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};Kt.elementDefinitions={"ft-ripple":W,"ft-typography":G,"ft-icon":fe};Kt.styles=Py;Qa([(0,bn.property)()],Kt.prototype,"icon",void 0);Qa([(0,bn.property)()],Kt.prototype,"iconVariant",void 0);Qa([(0,bn.property)()],Kt.prototype,"label",void 0);Qa([(0,bn.property)({type:Boolean,reflect:!0})],Kt.prototype,"active",void 0)});var Ny=p(()=>{"use strict"});var By=p(()=>{"use strict"});var Fc,Dy=p(()=>{"use strict";Fc=u(x());Nc();Dc();Nc();_c();Ny();Dc();Bc();By();(0,Fc.customElement)("ft-accordion")(wr);(0,Fc.customElement)("ft-accordion-item")(Kt)});var Ya,K,Fy,it,My,Mc,zy,Uy,zc=p(()=>{"use strict";Ya=u(A()),K=u(x());Lr();Qt();Oo();er();Fy=K.FtCssVariableFactory.extend("--ft-chip-color","",K.designSystemVariables.colorOnSurface),it={backgroundColor:K.FtCssVariableFactory.extend("--ft-chip-background-color","",K.designSystemVariables.colorSurface),color:Fy,fontSize:K.FtCssVariableFactory.extend("--ft-chip-font-size","",Fe.fontSize),fontWeight:K.FtCssVariableFactory.extend("--ft-chip-font-weight","",Fe.fontWeight),iconSize:K.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:K.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:K.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Fy),horizontalPadding:K.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:K.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:K.FtCssVariableFactory.extend("--ft-chip-border-color","",K.designSystemVariables.colorOutline),opacityDisabled:K.FtCssVariableFactory.external(K.designSystemVariables.colorOpacityDisabled,"Design system")},My=K.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",K.FtCssVariableFactory.extend("--ft-chip-color","",K.designSystemVariables.colorOnPrimary)),Mc={backgroundColor:K.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",K.FtCssVariableFactory.extend("--ft-chip-background-color","",K.designSystemVariables.colorPrimary)),color:My,rippleColor:K.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",My)},zy={horizontalPadding:K.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:K.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Uy=[K.noTextSelect,Ya.css`
2006
+ `}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};Kt.elementDefinitions={"ft-ripple":W,"ft-typography":G,"ft-icon":fe};Kt.styles=_y;Qa([(0,bn.property)()],Kt.prototype,"icon",void 0);Qa([(0,bn.property)()],Kt.prototype,"iconVariant",void 0);Qa([(0,bn.property)()],Kt.prototype,"label",void 0);Qa([(0,bn.property)({type:Boolean,reflect:!0})],Kt.prototype,"active",void 0)});var By=p(()=>{"use strict"});var Dy=p(()=>{"use strict"});var Fc,Fy=p(()=>{"use strict";Fc=u(v());Nc();Dc();Nc();_c();By();Dc();Bc();Dy();(0,Fc.customElement)("ft-accordion")(wr);(0,Fc.customElement)("ft-accordion-item")(Kt)});var Ya,K,My,it,Uy,Mc,zy,Hy,Uc=p(()=>{"use strict";Ya=u(A()),K=u(v());Ir();Qt();wo();er();My=K.FtCssVariableFactory.extend("--ft-chip-color","",K.designSystemVariables.colorOnSurface),it={backgroundColor:K.FtCssVariableFactory.extend("--ft-chip-background-color","",K.designSystemVariables.colorSurface),color:My,fontSize:K.FtCssVariableFactory.extend("--ft-chip-font-size","",Fe.fontSize),fontWeight:K.FtCssVariableFactory.extend("--ft-chip-font-weight","",Fe.fontWeight),iconSize:K.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:K.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:K.FtCssVariableFactory.extend("--ft-chip-ripple-color","",My),horizontalPadding:K.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:K.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:K.FtCssVariableFactory.extend("--ft-chip-border-color","",K.designSystemVariables.colorOutline),opacityDisabled:K.FtCssVariableFactory.external(K.designSystemVariables.colorOpacityDisabled,"Design system")},Uy=K.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",K.FtCssVariableFactory.extend("--ft-chip-color","",K.designSystemVariables.colorOnPrimary)),Mc={backgroundColor:K.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",K.FtCssVariableFactory.extend("--ft-chip-background-color","",K.designSystemVariables.colorPrimary)),color:Uy,rippleColor:K.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Uy)},zy={horizontalPadding:K.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:K.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Hy=[K.noTextSelect,Ya.css`
2014
2007
  :host {
2015
2008
  display: inline-block;
2016
2009
  max-width: 100%;
@@ -2029,7 +2022,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2029
2022
  --ft-chip-internal-font-size: ${it.fontSize};
2030
2023
  --ft-chip-internal-font-weight: ${it.fontWeight};
2031
2024
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
2032
- ${(0,K.setVariable)(Le.size,it.iconSize)};
2025
+ ${(0,K.setVariable)(Ie.size,it.iconSize)};
2033
2026
  --ft-chip-internal-vertical-padding: ${it.verticalPadding};
2034
2027
  --ft-chip-internal-horizontal-padding: ${it.horizontalPadding};
2035
2028
  --ft-chip-internal-icon-padding: 3px;
@@ -2150,8 +2143,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2150
2143
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
2151
2144
  order: -1;
2152
2145
  }
2153
- `]});var Xa,nt,Hy,ki,wt,Ja,Te,Uc=p(()=>{"use strict";Xa=u(A()),nt=u(U()),Hy=u(ft()),ki=u(x());mt();Be();Mt();zc();er();wt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ja=class extends CustomEvent{constructor(){super("icon-click")}},Te=class extends ki.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":ki.isSafari};return Xa.html`
2154
- <div class="${(0,Hy.classMap)(e)}"
2146
+ `]});var Xa,nt,Wy,Li,wt,Ja,$e,zc=p(()=>{"use strict";Xa=u(A()),nt=u(z()),Wy=u(ft()),Li=u(v());mt();Be();Mt();Uc();er();wt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ja=class extends CustomEvent{constructor(){super("icon-click")}},$e=class extends Li.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.hideIconTooltip=!1,this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":Li.isSafari};return Xa.html`
2147
+ <div class="${(0,Wy.classMap)(e)}"
2155
2148
  aria-label="${this.getLabel()}"
2156
2149
  tabindex="${this.interactionsOnChip?0:-1}"
2157
2150
  @keyup=${this.onKeyUp}
@@ -2177,7 +2170,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2177
2170
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
2178
2171
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
2179
2172
  </div>
2180
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Ja))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Ja))}getLabel(){return this.label||this.textContent}get textContent(){return(0,ki.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Te.elementDefinitions={"ft-ripple":W,"ft-typography":G,"ft-icon":fe,"ft-button":ke};Te.styles=Uy;wt([(0,nt.property)({type:Boolean})],Te.prototype,"highlighted",void 0);wt([(0,nt.property)({type:Boolean})],Te.prototype,"removable",void 0);wt([(0,nt.property)({type:Boolean})],Te.prototype,"disabled",void 0);wt([(0,nt.property)({type:Boolean})],Te.prototype,"clickable",void 0);wt([(0,nt.property)({type:Boolean})],Te.prototype,"iconClickable",void 0);wt([(0,nt.property)({type:Boolean})],Te.prototype,"dense",void 0);wt([(0,nt.property)({type:Boolean})],Te.prototype,"multiLine",void 0);wt([(0,nt.property)()],Te.prototype,"label",void 0);wt([(0,nt.property)()],Te.prototype,"iconLabel",void 0);wt([(0,nt.property)({type:Boolean})],Te.prototype,"hideIconTooltip",void 0);wt([(0,nt.property)()],Te.prototype,"icon",void 0);wt([(0,nt.property)()],Te.prototype,"iconVariant",void 0);wt([(0,nt.property)({type:Boolean})],Te.prototype,"trailingIcon",void 0);wt([(0,nt.query)("ft-typography slot")],Te.prototype,"slottedContent",void 0)});var Wy,Hc,Vy,Wc=p(()=>{"use strict";Wy=u(A());ne();Hc=u(x());Mt();Vy=[Wy.css`
2173
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Ja))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Ja))}getLabel(){return this.label||this.textContent}get textContent(){return(0,Li.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};$e.elementDefinitions={"ft-ripple":W,"ft-typography":G,"ft-icon":fe,"ft-button":ke};$e.styles=Hy;wt([(0,nt.property)({type:Boolean})],$e.prototype,"highlighted",void 0);wt([(0,nt.property)({type:Boolean})],$e.prototype,"removable",void 0);wt([(0,nt.property)({type:Boolean})],$e.prototype,"disabled",void 0);wt([(0,nt.property)({type:Boolean})],$e.prototype,"clickable",void 0);wt([(0,nt.property)({type:Boolean})],$e.prototype,"iconClickable",void 0);wt([(0,nt.property)({type:Boolean})],$e.prototype,"dense",void 0);wt([(0,nt.property)({type:Boolean})],$e.prototype,"multiLine",void 0);wt([(0,nt.property)()],$e.prototype,"label",void 0);wt([(0,nt.property)()],$e.prototype,"iconLabel",void 0);wt([(0,nt.property)({type:Boolean})],$e.prototype,"hideIconTooltip",void 0);wt([(0,nt.property)()],$e.prototype,"icon",void 0);wt([(0,nt.property)()],$e.prototype,"iconVariant",void 0);wt([(0,nt.property)({type:Boolean})],$e.prototype,"trailingIcon",void 0);wt([(0,nt.query)("ft-typography slot")],$e.prototype,"slottedContent",void 0)});var Vy,Hc,jy,Wc=p(()=>{"use strict";Vy=u(A());ne();Hc=u(v());Mt();jy=[Vy.css`
2181
2174
  :host {
2182
2175
  display: inline-block;
2183
2176
  max-width: 100%;
@@ -2207,7 +2200,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2207
2200
  border-width: ${te.mediumBorderWidth};
2208
2201
  border-style: solid;
2209
2202
  gap: ${te.mediumGap};
2210
- ${(0,Hc.setVariable)(Le.size,te.mediumIconSize)}
2203
+ ${(0,Hc.setVariable)(Ie.size,te.mediumIconSize)}
2211
2204
  }
2212
2205
 
2213
2206
  .ftds--size-medium.ftds-chip--with-action {
@@ -2223,7 +2216,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2223
2216
  border-width: ${te.largeBorderWidth};
2224
2217
  border-style: solid;
2225
2218
  gap: ${te.largeGap};
2226
- ${(0,Hc.setVariable)(Le.size,te.largeIconSize)}
2219
+ ${(0,Hc.setVariable)(Ie.size,te.largeIconSize)}
2227
2220
  }
2228
2221
 
2229
2222
  .ftds--size-large.ftds-chip--with-action {
@@ -2289,8 +2282,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2289
2282
  .ftds--family-error .ftds-chip--icon-container {
2290
2283
  color: ${te.errorIconColor};
2291
2284
  }
2292
- `]});var po,uo,jy,es,Ii,Vc,qt,jc=p(()=>{"use strict";po=u(A()),uo=u(U()),jy=u(ft()),es=u(x());Be();Mt();Wc();ne();er();Ii=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Vc=class extends CustomEvent{constructor(){super("remove")}},qt=class extends es.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return po.html`
2293
- <div class="${(0,jy.classMap)(e)}"
2285
+ `]});var po,uo,Gy,es,Ii,Vc,qt,jc=p(()=>{"use strict";po=u(A()),uo=u(z()),Gy=u(ft()),es=u(v());Be();Mt();Wc();ne();er();Ii=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Vc=class extends CustomEvent{constructor(){super("remove")}},qt=class extends es.FtdsBase{constructor(){super(...arguments),this.withAction=!1,this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--with-action":this.removable||this.withAction,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return po.html`
2286
+ <div class="${(0,Gy.classMap)(e)}"
2294
2287
  aria-label="${this.getLabel()}"
2295
2288
  part="chip">
2296
2289
  ${this.renderIcon()}
@@ -2315,7 +2308,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2315
2308
  ></ftds-button>
2316
2309
  `:this.withAction?po.html`
2317
2310
  <slot name="action"></slot>
2318
- `:po.nothing}resolveButtonSize(){switch(this.size){case st.large:return st.medium;case st.medium:case st.small:return st.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Vc)}typographyVariant(){switch(this.size){case st.large:return Ft.body2medium;case st.medium:return Ft.caption1medium;case st.small:return Ft.caption2medium}}};qt.elementDefinitions={"ft-typography":G,"ft-icon":fe,"ftds-button":Jt};qt.styles=Vy;Ii([(0,uo.property)({type:Boolean})],qt.prototype,"withAction",void 0);Ii([(0,uo.property)({type:Boolean})],qt.prototype,"removable",void 0);Ii([(0,uo.property)()],qt.prototype,"removeButtonLabel",void 0);Ii([(0,uo.property)()],qt.prototype,"label",void 0);Ii([(0,uo.property)()],qt.prototype,"icon",void 0);Ii([(0,uo.query)("ft-typography slot")],qt.prototype,"slottedContent",void 0)});var Gy=p(()=>{"use strict"});var Ky=p(()=>{"use strict"});var Gc,Kc=p(()=>{"use strict";Gc=u(x());Uc();jc();Uc();zc();Gy();jc();Wc();Ky();(0,Gc.customElement)("ft-chip")(Te);(0,Gc.customElement)("ftds-chip")(qt)});var qy,ve,q,Zy,vn=p(()=>{"use strict";qy=u(A()),ve=u(x());Qt();q={fontSize:ve.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ve.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ve.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ve.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ve.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ve.FtCssVariableFactory.extend("--ft-input-label-border-color","",ve.designSystemVariables.colorOutline),textColor:ve.FtCssVariableFactory.extend("--ft-input-label-text-color","",ve.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:ve.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",ve.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:ve.FtCssVariableFactory.extend("--ft-input-label-background-color","",ve.designSystemVariables.colorSurface),borderRadius:ve.FtCssVariableFactory.extend("--ft-input-label-border-radius","",ve.designSystemVariables.borderRadiusS),colorError:ve.FtCssVariableFactory.external(ve.designSystemVariables.colorError,"Design system")},Zy=qy.css`
2311
+ `:po.nothing}resolveButtonSize(){switch(this.size){case st.large:return st.medium;case st.medium:case st.small:return st.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Vc)}typographyVariant(){switch(this.size){case st.large:return Ft.body2medium;case st.medium:return Ft.caption1medium;case st.small:return Ft.caption2medium}}};qt.elementDefinitions={"ft-typography":G,"ft-icon":fe,"ftds-button":Jt};qt.styles=jy;Ii([(0,uo.property)({type:Boolean})],qt.prototype,"withAction",void 0);Ii([(0,uo.property)({type:Boolean})],qt.prototype,"removable",void 0);Ii([(0,uo.property)()],qt.prototype,"removeButtonLabel",void 0);Ii([(0,uo.property)()],qt.prototype,"label",void 0);Ii([(0,uo.property)()],qt.prototype,"icon",void 0);Ii([(0,uo.query)("ft-typography slot")],qt.prototype,"slottedContent",void 0)});var Ky=p(()=>{"use strict"});var qy=p(()=>{"use strict"});var Gc,Kc=p(()=>{"use strict";Gc=u(v());zc();jc();zc();Uc();Ky();jc();Wc();qy();(0,Gc.customElement)("ft-chip")($e);(0,Gc.customElement)("ftds-chip")(qt)});var Zy,ve,q,Qy,xn=p(()=>{"use strict";Zy=u(A()),ve=u(v());Qt();q={fontSize:ve.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ve.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ve.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ve.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ve.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ve.FtCssVariableFactory.extend("--ft-input-label-border-color","",ve.designSystemVariables.colorOutline),textColor:ve.FtCssVariableFactory.extend("--ft-input-label-text-color","",ve.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:ve.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",ve.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:ve.FtCssVariableFactory.extend("--ft-input-label-background-color","",ve.designSystemVariables.colorSurface),borderRadius:ve.FtCssVariableFactory.extend("--ft-input-label-border-radius","",ve.designSystemVariables.borderRadiusS),colorError:ve.FtCssVariableFactory.external(ve.designSystemVariables.colorError,"Design system")},Qy=Zy.css`
2319
2312
  .ft-input-label {
2320
2313
  position: absolute;
2321
2314
  inset: 0;
@@ -2437,8 +2430,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2437
2430
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2438
2431
  border-top: none;
2439
2432
  }
2440
- `});var qc,Li,Qy,Yy,xn,_t,Zc=p(()=>{"use strict";qc=u(A()),Li=u(U()),Qy=u(ft()),Yy=u(x());Qt();vn();xn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_t=class extends Yy.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return qc.html`
2441
- <div class="${(0,Qy.classMap)(e)}">
2433
+ `});var qc,Ti,Yy,Xy,vn,_t,Zc=p(()=>{"use strict";qc=u(A()),Ti=u(z()),Yy=u(ft()),Xy=u(v());Qt();xn();vn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},_t=class extends Xy.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return qc.html`
2434
+ <div class="${(0,Yy.classMap)(e)}">
2442
2435
  ${this.text?qc.html`
2443
2436
  <div class="ft-input-label--text ft-typography--caption">
2444
2437
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -2446,7 +2439,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2446
2439
  </div>
2447
2440
  `:null}
2448
2441
  </div>
2449
- `}};_t.elementDefinitions={};_t.styles=[qr,Zy];xn([(0,Li.property)({type:String})],_t.prototype,"text",void 0);xn([(0,Li.property)({type:Boolean})],_t.prototype,"raised",void 0);xn([(0,Li.property)({type:Boolean})],_t.prototype,"outlined",void 0);xn([(0,Li.property)({type:Boolean})],_t.prototype,"disabled",void 0);xn([(0,Li.property)({type:Boolean})],_t.prototype,"error",void 0)});var Xy=p(()=>{"use strict"});var Jy,eb=p(()=>{"use strict";Jy=u(x());Zc();Zc();vn();Xy();(0,Jy.customElement)("ft-input-label")(_t)});var tb,V,Z,rb,ts=p(()=>{"use strict";tb=u(A()),V=u(x());vn();Qt();Lr();Oo();Z={labelSize:V.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:V.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:V.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:V.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:V.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:V.FtCssVariableFactory.extend("--ft-select-selected-option-color","",V.designSystemVariables.colorOnSurface),helperColor:V.FtCssVariableFactory.extend("--ft-select-helper-color","",V.designSystemVariables.colorOnSurfaceMedium),optionsColor:V.FtCssVariableFactory.extend("--ft-select-options-color","",V.designSystemVariables.colorOnSurface),optionsZIndex:V.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:V.FtCssVariableFactory.extend("--ft-select-background-color","",V.designSystemVariables.colorSurface),colorOnSurfaceDisabled:V.FtCssVariableFactory.external(V.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:V.FtCssVariableFactory.external(V.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:V.FtCssVariableFactory.external(V.designSystemVariables.borderRadiusS,"Design system"),elevation02:V.FtCssVariableFactory.external(V.designSystemVariables.elevation02,"Design system"),colorError:V.FtCssVariableFactory.external(V.designSystemVariables.colorError,"Design system")},rb=tb.css`
2442
+ `}};_t.elementDefinitions={};_t.styles=[qr,Qy];vn([(0,Ti.property)({type:String})],_t.prototype,"text",void 0);vn([(0,Ti.property)({type:Boolean})],_t.prototype,"raised",void 0);vn([(0,Ti.property)({type:Boolean})],_t.prototype,"outlined",void 0);vn([(0,Ti.property)({type:Boolean})],_t.prototype,"disabled",void 0);vn([(0,Ti.property)({type:Boolean})],_t.prototype,"error",void 0)});var Jy=p(()=>{"use strict"});var eb,tb=p(()=>{"use strict";eb=u(v());Zc();Zc();xn();Jy();(0,eb.customElement)("ft-input-label")(_t)});var rb,V,Z,ob,ts=p(()=>{"use strict";rb=u(A()),V=u(v());xn();Qt();Ir();wo();Z={labelSize:V.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:V.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:V.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:V.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:V.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:V.FtCssVariableFactory.extend("--ft-select-selected-option-color","",V.designSystemVariables.colorOnSurface),helperColor:V.FtCssVariableFactory.extend("--ft-select-helper-color","",V.designSystemVariables.colorOnSurfaceMedium),optionsColor:V.FtCssVariableFactory.extend("--ft-select-options-color","",V.designSystemVariables.colorOnSurface),optionsZIndex:V.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:V.FtCssVariableFactory.extend("--ft-select-background-color","",V.designSystemVariables.colorSurface),colorOnSurfaceDisabled:V.FtCssVariableFactory.external(V.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:V.FtCssVariableFactory.external(V.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:V.FtCssVariableFactory.external(V.designSystemVariables.borderRadiusS,"Design system"),elevation02:V.FtCssVariableFactory.external(V.designSystemVariables.elevation02,"Design system"),colorError:V.FtCssVariableFactory.external(V.designSystemVariables.colorError,"Design system")},ob=rb.css`
2450
2443
  *:focus {
2451
2444
  outline: none;
2452
2445
  }
@@ -2503,7 +2496,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2503
2496
  ${(0,V.setVariable)(q.verticalSpacing,Z.verticalSpacing)};
2504
2497
  ${(0,V.setVariable)(q.horizontalSpacing,Z.horizontalSpacing)};
2505
2498
  ${(0,V.setVariable)(q.backgroundColor,Z.backgroundColor)};
2506
- ${(0,V.setVariable)(q.labelMaxWidth,`calc(100% - ${Le.size} - 8px)`)};
2499
+ ${(0,V.setVariable)(q.labelMaxWidth,`calc(100% - ${Ie.size} - 8px)`)};
2507
2500
  }
2508
2501
 
2509
2502
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
@@ -2522,8 +2515,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2522
2515
  overflow: hidden;
2523
2516
  white-space: nowrap;
2524
2517
  text-overflow: ellipsis;
2525
- ${(0,V.setVariable)(Tr.fontSize,Z.selectedOptionSize)};
2526
- ${(0,V.setVariable)(Tr.lineHeight,Z.selectedOptionSize)};
2518
+ ${(0,V.setVariable)($r.fontSize,Z.selectedOptionSize)};
2519
+ ${(0,V.setVariable)($r.lineHeight,Z.selectedOptionSize)};
2527
2520
  }
2528
2521
 
2529
2522
  .ft-select--in-error .ft-select--selected-option {
@@ -2592,7 +2585,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2592
2585
  .ft-select--in-error .ft-select--helper-text {
2593
2586
  color: ${Z.colorError};
2594
2587
  }
2595
- `});var jo,ye,Qc,ob,Go,Re,Er,ce,Yc=p(()=>{"use strict";jo=u(A()),ye=u(U()),Qc=u(ft()),ob=u(Hr()),Go=u(x());Be();eb();mt();Mt();ts();Re=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Er=class extends Go.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return jo.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Er.elementDefinitions={};Re([(0,ye.property)({type:String})],Er.prototype,"label",void 0);Re([(0,ye.property)({type:Object,converter:t=>t})],Er.prototype,"value",void 0);Re([(0,ye.property)({type:Boolean,reflect:!0})],Er.prototype,"selected",void 0);ce=class t extends Go.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,n,a;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions,f=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return jo.html`
2588
+ `});var Go,ye,Qc,ib,Ko,Re,Er,ce,Yc=p(()=>{"use strict";Go=u(A()),ye=u(z()),Qc=u(ft()),ib=u(Hr()),Ko=u(v());Be();tb();mt();Mt();ts();Re=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Er=class extends Ko.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return Go.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Er.elementDefinitions={};Re([(0,ye.property)({type:String})],Er.prototype,"label",void 0);Re([(0,ye.property)({type:Object,converter:t=>t})],Er.prototype,"value",void 0);Re([(0,ye.property)({type:Boolean,reflect:!0})],Er.prototype,"selected",void 0);ce=class t extends Ko.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,n,a;let s=this.hasOptionsMenuOpen,c=this.disabled||!this.hasOptions,f=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":c,"ft-select--options-displayed":s,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return Go.html`
2596
2589
  <div class="${(0,Qc.classMap)(h)}" part="container">
2597
2590
  <div class="ft-select--main-panel" part="main-panel">
2598
2591
  <ft-input-label text="${this.label}"
@@ -2621,19 +2614,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2621
2614
  part="options"
2622
2615
  @keydown=${this.onOptionsKeyDown}
2623
2616
  innerrole="listbox">
2624
- ${(0,ob.repeat)(this.options,b=>b.value,b=>this.renderOption(b))}
2617
+ ${(0,ib.repeat)(this.options,b=>b.value,b=>this.renderOption(b))}
2625
2618
  </div>
2626
2619
  </div>
2627
2620
  <slot name="helper" part="helper">
2628
- ${this.helper?jo.html`
2621
+ ${this.helper?Go.html`
2629
2622
  <ft-typography class="ft-select--helper-text" variant="caption">${this.helper}
2630
- </ft-typography>`:jo.nothing}
2623
+ </ft-typography>`:Go.nothing}
2631
2624
  </slot>
2632
2625
  </div>
2633
2626
  <slot @slotchange=${this.updateOptionsFromSlot}
2634
2627
  @option-change=${this.updateOptionsFromSlot}
2635
2628
  ></slot>
2636
- `}renderOption(e){let r=this.selectedOption===e;return jo.html`
2629
+ `}renderOption(e){let r=this.selectedOption===e;return Go.html`
2637
2630
  <div class="${(0,Qc.classMap)({"ft-select--option":!0,"ft-select--option-selected":r,"ft-typography--body2":!0})}"
2638
2631
  part="option"
2639
2632
  tabindex="0"
@@ -2643,7 +2636,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2643
2636
  <ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
2644
2637
  <span>${e.label}</span>
2645
2638
  </div>
2646
- `}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];(0,Go.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",Z.optionsHeight.name,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i,n,a,s;let c;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),c=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),c=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(c=this.handleAlphanumericPress(e.key));break}c?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){var r,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(c=>{var f;return((f=c.label)===null||f===void 0?void 0:f.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=n;return}let s=(i=(r=this.optionsMenu)===null||r===void 0?void 0:r.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,r){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var r,i;if(!(0,Go.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};ce.elementDefinitions={"ft-input-label":_t,"ft-typography":G,"ft-ripple":W,"ft-icon":fe};ce.searchTimeoutMilliseconds=2e3;ce.styles=[Kr,qr,rb];Re([(0,ye.property)({type:String})],ce.prototype,"label",void 0);Re([(0,ye.property)({type:String})],ce.prototype,"ariaLabel",void 0);Re([(0,ye.property)({type:String})],ce.prototype,"helper",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"outlined",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"disabled",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"error",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"fixedMenuPosition",void 0);Re([(0,ye.property)({type:Array})],ce.prototype,"options",void 0);Re([(0,ye.state)()],ce.prototype,"selectedOption",void 0);Re([(0,ye.state)()],ce.prototype,"optionsDisplayed",void 0);Re([(0,ye.state)()],ce.prototype,"focusOptions",void 0);Re([(0,ye.state)()],ce.prototype,"currentSearch",void 0);Re([(0,ye.state)()],ce.prototype,"lastSearchInputDate",void 0);Re([(0,ye.query)(".ft-select")],ce.prototype,"container",void 0);Re([(0,ye.query)(".ft-select--options")],ce.prototype,"optionsMenu",void 0);Re([(0,ye.query)(".ft-select--input-panel")],ce.prototype,"mainPanel",void 0);Re([(0,ye.query)(".ft-select--option:first-child")],ce.prototype,"firstOption",void 0);Re([(0,ye.query)(".ft-select--option:focus")],ce.prototype,"focusedOption",void 0);Re([(0,ye.query)(".ft-select--option.ft-select--option-selected")],ce.prototype,"selectedOptionElement",void 0);Re([(0,ye.query)(".ft-select--option:last-child")],ce.prototype,"lastOption",void 0);Re([(0,ye.query)("slot:not([name])")],ce.prototype,"optionsSlot",void 0)});var ib=p(()=>{"use strict"});var Xc,nb=p(()=>{"use strict";Xc=u(x());Yc();Yc();ts();ib();(0,Xc.customElement)("ft-select")(ce);(0,Xc.customElement)("ft-select-option")(Er)});var ab,ar,Ye,sb,rs=p(()=>{"use strict";ab=u(A()),ar=u(x()),Ye={display:ar.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:ar.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:ar.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ar.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ar.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ar.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ar.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ar.FtCssVariableFactory.external(ar.designSystemVariables.borderRadiusM,"Design system")},sb=ab.css`
2639
+ `}update(e){super.update(e),e.has("options")&&(this.selectedOption=this.options.filter(r=>r.selected)[0]),e.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(e){var r,i;if(super.contentAvailableCallback(e),e.has("focusOptions")&&this.focusOptions&&((i=(r=this.selectedOptionElement)!==null&&r!==void 0?r:this.firstOption)===null||i===void 0||i.focus(),this.focusOptions=!1),e.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px";let n=["bottom","top"];(0,Ko.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",Z.optionsHeight.name,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i,n,a,s;let c;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),c=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),c=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(c=this.handleAlphanumericPress(e.key));break}c?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){var r,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(c=>{var f;return((f=c.label)===null||f===void 0?void 0:f.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=n;return}let s=(i=(r=this.optionsMenu)===null||r===void 0?void 0:r.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,r){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var r,i;if(!(0,Ko.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};ce.elementDefinitions={"ft-input-label":_t,"ft-typography":G,"ft-ripple":W,"ft-icon":fe};ce.searchTimeoutMilliseconds=2e3;ce.styles=[Kr,qr,ob];Re([(0,ye.property)({type:String})],ce.prototype,"label",void 0);Re([(0,ye.property)({type:String})],ce.prototype,"ariaLabel",void 0);Re([(0,ye.property)({type:String})],ce.prototype,"helper",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"outlined",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"disabled",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"error",void 0);Re([(0,ye.property)({type:Boolean})],ce.prototype,"fixedMenuPosition",void 0);Re([(0,ye.property)({type:Array})],ce.prototype,"options",void 0);Re([(0,ye.state)()],ce.prototype,"selectedOption",void 0);Re([(0,ye.state)()],ce.prototype,"optionsDisplayed",void 0);Re([(0,ye.state)()],ce.prototype,"focusOptions",void 0);Re([(0,ye.state)()],ce.prototype,"currentSearch",void 0);Re([(0,ye.state)()],ce.prototype,"lastSearchInputDate",void 0);Re([(0,ye.query)(".ft-select")],ce.prototype,"container",void 0);Re([(0,ye.query)(".ft-select--options")],ce.prototype,"optionsMenu",void 0);Re([(0,ye.query)(".ft-select--input-panel")],ce.prototype,"mainPanel",void 0);Re([(0,ye.query)(".ft-select--option:first-child")],ce.prototype,"firstOption",void 0);Re([(0,ye.query)(".ft-select--option:focus")],ce.prototype,"focusedOption",void 0);Re([(0,ye.query)(".ft-select--option.ft-select--option-selected")],ce.prototype,"selectedOptionElement",void 0);Re([(0,ye.query)(".ft-select--option:last-child")],ce.prototype,"lastOption",void 0);Re([(0,ye.query)("slot:not([name])")],ce.prototype,"optionsSlot",void 0)});var nb=p(()=>{"use strict"});var Xc,ab=p(()=>{"use strict";Xc=u(v());Yc();Yc();ts();nb();(0,Xc.customElement)("ft-select")(ce);(0,Xc.customElement)("ft-select-option")(Er)});var sb,ar,Ye,lb,rs=p(()=>{"use strict";sb=u(A()),ar=u(v()),Ye={display:ar.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:ar.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:ar.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ar.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ar.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ar.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ar.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ar.FtCssVariableFactory.external(ar.designSystemVariables.borderRadiusM,"Design system")},lb=sb.css`
2647
2640
  :host {
2648
2641
  width: ${Ye.width};
2649
2642
  height: ${Ye.height};
@@ -2670,7 +2663,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2670
2663
  background-position: calc(100vw + ${Ye.glareWidth}) 0, calc(${Ye.glareWidth} * -1) 0;
2671
2664
  }
2672
2665
  }
2673
- `});var M,Jc,B,lb,cb,os=p(()=>{"use strict";M=u(x()),Jc=u(A());wo();vn();ts();rs();_n();ja();Ka();Qt();B={height:M.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:M.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",M.designSystemVariables.borderRadiusS),mobileOpenPosition:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:M.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:M.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:M.FtCssVariableFactory.external(M.designSystemVariables.colorSurface,"Design system"),colorOnSurface:M.FtCssVariableFactory.external(M.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:M.FtCssVariableFactory.external(M.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:M.FtCssVariableFactory.external(M.designSystemVariables.colorOutline,"Design system"),colorPrimary:M.FtCssVariableFactory.external(M.designSystemVariables.colorPrimary,"Design system"),elevation02:M.FtCssVariableFactory.external(M.designSystemVariables.elevation02,"Design system"),buttonColor:M.FtCssVariableFactory.external(H.color,"Button"),buttonRippleColor:M.FtCssVariableFactory.external(H.rippleColor,"Button"),activeItemBorderColor:M.FtCssVariableFactory.extend("--ft-search-bar-active-border-color","",M.designSystemVariables.colorPrimary)},lb=Jc.css`
2666
+ `});var M,Jc,B,cb,db,os=p(()=>{"use strict";M=u(v()),Jc=u(A());Eo();xn();ts();rs();_n();ja();Ka();Qt();B={height:M.FtCssVariableFactory.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:M.FtCssVariableFactory.extend("--ft-search-bar-border-radius","",M.designSystemVariables.borderRadiusS),mobileOpenPosition:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:M.FtCssVariableFactory.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:M.FtCssVariableFactory.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:M.FtCssVariableFactory.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:M.FtCssVariableFactory.external(M.designSystemVariables.colorSurface,"Design system"),colorOnSurface:M.FtCssVariableFactory.external(M.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:M.FtCssVariableFactory.external(M.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOutline:M.FtCssVariableFactory.external(M.designSystemVariables.colorOutline,"Design system"),colorPrimary:M.FtCssVariableFactory.external(M.designSystemVariables.colorPrimary,"Design system"),elevation02:M.FtCssVariableFactory.external(M.designSystemVariables.elevation02,"Design system"),buttonColor:M.FtCssVariableFactory.external(H.color,"Button"),buttonRippleColor:M.FtCssVariableFactory.external(H.rippleColor,"Button"),activeItemBorderColor:M.FtCssVariableFactory.extend("--ft-search-bar-active-border-color","",M.designSystemVariables.colorPrimary)},cb=Jc.css`
2674
2667
  * {
2675
2668
  box-sizing: border-box;
2676
2669
  }
@@ -2853,7 +2846,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2853
2846
  flex-shrink: 0;
2854
2847
  padding: 0 10px;
2855
2848
  margin-bottom: 8px;
2856
- ${(0,M.setVariable)(L.fontSize,"14px")};
2849
+ ${(0,M.setVariable)(I.fontSize,"14px")};
2857
2850
  }
2858
2851
 
2859
2852
  [part="content-locale-selector-label"] {
@@ -2861,11 +2854,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2861
2854
  flex-shrink: 1;
2862
2855
  flex-grow: 1;
2863
2856
  word-break: break-word;
2864
- ${(0,M.setVariable)(L.lineHeight,"22px")};
2865
- ${(0,M.setVariable)(L.fontWeight,"bold")};
2857
+ ${(0,M.setVariable)(I.lineHeight,"22px")};
2858
+ ${(0,M.setVariable)(I.fontWeight,"bold")};
2866
2859
  }
2867
2860
 
2868
- `,cb=Jc.css`
2861
+ `,db=Jc.css`
2869
2862
  .ft-search-bar--presets {
2870
2863
  min-width: 200px;
2871
2864
  }
@@ -3026,15 +3019,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3026
3019
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
3027
3020
  margin: 0;
3028
3021
  }
3029
-
3030
- .ft-search-bar--aria-live {
3031
- position: absolute;
3032
- width: 0;
3033
- height: 0;
3034
- opacity: 0;
3035
- }
3036
- `});var db,pb,fo,ed=p(()=>{"use strict";db=u(A()),pb=u(x());rs();fo=class extends pb.FtLitElement{render(){return db.html`
3037
- `}};fo.elementDefinitions={};fo.styles=sb});var ub=p(()=>{"use strict"});var fb,hb=p(()=>{"use strict";fb=u(x());ed();ed();rs();ub();(0,fb.customElement)("ft-skeleton")(fo)});var Rr,td,$i,Ar,is=p(()=>{"use strict";Rr=u(A()),td=u(Hr());Mt();$i=u(x());os();mt();Ar=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new $i.Debouncer(r)}render(){let e=this.recentSearchesMatchingQuery;return Rr.html`
3022
+ `});var pb,ub,fo,ed=p(()=>{"use strict";pb=u(A()),ub=u(v());rs();fo=class extends ub.FtLitElement{render(){return pb.html`
3023
+ `}};fo.elementDefinitions={};fo.styles=lb});var fb=p(()=>{"use strict"});var hb,mb=p(()=>{"use strict";hb=u(v());ed();ed();rs();fb();(0,hb.customElement)("ft-skeleton")(fo)});var Rr,td,$i,Ar,is=p(()=>{"use strict";Rr=u(A()),td=u(Hr());Mt();$i=u(v());os();mt();Ar=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new $i.Debouncer(r)}render(){let e=this.recentSearchesMatchingQuery;return Rr.html`
3038
3024
  <div class="ft-search-bar--suggestions ft-word-wrap ${this.shouldDisplaySuggestions?"ft-search-bar--suggestions-not-empty":""}"
3039
3025
  id="${this.listboxId}"
3040
3026
  role="listbox"
@@ -3179,7 +3165,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3179
3165
  ft-ripple {
3180
3166
  ${(0,$i.setVariable)(w.opacityContentOnSurfaceHover,w.opacityContentOnSurfaceSelected)}
3181
3167
  }
3182
- `]});var dt,rd,ns,kr,as=p(()=>{"use strict";dt=u(A()),rd=u(Hr());bc();ns=u(x());Ga();Kc();kr=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return dt.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=dt.html`
3168
+ `]});var dt,rd,ns,kr,as=p(()=>{"use strict";dt=u(A()),rd=u(Hr());bc();ns=u(v());Ga();Kc();kr=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return dt.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=dt.html`
3183
3169
  ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?dt.html`
3184
3170
  <ft-chip part="selected-filters selected-filter-ft-locale"
3185
3171
  ?dense=${this.searchBar.dense&&!e}
@@ -3190,7 +3176,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3190
3176
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
3191
3177
  </ft-chip>
3192
3178
  `:null}
3193
- ${(0,rd.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=jg(n);return(0,rd.repeat)(a,s=>{let c=n.label+": "+Hg(s),f=n.key.replace(":","-"),h=dt.html`
3179
+ ${(0,rd.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=Gg(n);return(0,rd.repeat)(a,s=>{let c=n.label+": "+Wg(s),f=n.key.replace(":","-"),h=dt.html`
3194
3180
  <ft-chip
3195
3181
  part="selected-filters selected-filter-${f}"
3196
3182
  ?dense=${this.searchBar.dense&&!e}
@@ -3203,7 +3189,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3203
3189
  @icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(b=>b!==s))}
3204
3190
  data-key="${n.key}"
3205
3191
  data-value="${s}">
3206
- ${Ug(s)}
3192
+ ${Hg(s)}
3207
3193
  </ft-chip>
3208
3194
  `;return r?h:dt.html`
3209
3195
  <ft-tooltip inline text="${c}">
@@ -3259,8 +3245,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3259
3245
  .ft-search-bar--selected-filters ft-chip {
3260
3246
  flex-grow: 0;
3261
3247
  }
3262
- `});var sr,mb,Sn,gb=p(()=>{"use strict";sr=u(A());as();is();mb=u(ft()),Sn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new kr(e),this.suggestManager=i??new Ar(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return sr.html`
3263
- <div class="${(0,mb.classMap)(r)}" part="container" tabindex="-1">
3248
+ `});var sr,gb,Sn,yb=p(()=>{"use strict";sr=u(A());as();is();gb=u(ft()),Sn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new kr(e),this.suggestManager=i??new Ar(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return sr.html`
3249
+ <div class="${(0,gb.classMap)(r)}" part="container" tabindex="-1">
3264
3250
  <div class="ft-search-bar" role="search">
3265
3251
  <div class="ft-search-bar--input-container" part="input-container">
3266
3252
  <div class="ft-search-bar--input-outline" part="input-outline">
@@ -3318,8 +3304,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3318
3304
  </div>
3319
3305
  `}onSearchBarKeyDown(e){var r;switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}};Sn.styles=sr.css`
3320
3306
 
3321
- `});var pt,yb,bb,Cn,vb=p(()=>{"use strict";pt=u(A()),yb=u(Hr());as();is();bb=u(ft()),Cn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new kr(e),this.suggestManager=i??new Ar(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return pt.html`
3322
- <div class="${(0,bb.classMap)(r)}" part="container" tabindex="-1">
3307
+ `});var pt,bb,xb,Cn,vb=p(()=>{"use strict";pt=u(A()),bb=u(Hr());as();is();xb=u(ft()),Cn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new kr(e),this.suggestManager=i??new Ar(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return pt.html`
3308
+ <div class="${(0,xb.classMap)(r)}" part="container" tabindex="-1">
3323
3309
  <div class="ft-search-bar" part="search-bar" role="search">
3324
3310
  ${this.renderSearchBarLeftAction()}
3325
3311
  <div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
@@ -3366,7 +3352,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3366
3352
  ariaLabel="${this.searchBar.labelResolver.resolve("selectLocale")}"
3367
3353
  .exportpartsPrefixes=${["content-locale","select-ft-locale"]}
3368
3354
  @change=${e=>this.searchBar.contentLocale=e.detail==null?void 0:e.detail}>
3369
- ${(0,yb.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>pt.html`
3355
+ ${(0,bb.repeat)(this.searchBar.availableContentLocales,e=>e.lang,e=>pt.html`
3370
3356
  <ft-select-option .value=${e.lang}
3371
3357
  label="${e.label}"
3372
3358
  ?selected=${e.lang==this.searchBar.contentLocale}>
@@ -3397,9 +3383,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3397
3383
  </div>
3398
3384
  `}onSearchBarKeyDown(e){var r;switch(["Escape","Tab","Shift"].includes(e.key)||(this.searchBar.displaySuggestListbox=!0),e.key){case"Tab":this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0;break;case"Escape":this.suggestManager.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.searchBar.displaySuggestListbox=!1,this.searchBar.selectedSuggestOptionId=void 0),this.searchBar.mobileMenuOpen=!1;break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestManager.focusPreviousSuggestion();break;case"ArrowLeft":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowLeft());break;case"ArrowRight":this.searchBar.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestManager.focusArrowRight());break;case"Enter":if(this.searchBar.selectedSuggestRemoveRecent)(r=this.suggestManager.selectedSuggestRemoveRecentButton)===null||r===void 0||r.click();else{let i=this.suggestManager.selectedSuggestOptionLink||this.searchBar.launchSearchButton;i?.click()}break}}onInput(e){let r=e.composedPath()[0];this.searchBar.query=r.value}onClick(){this.onFocus()}onFocus(){this.searchBar.reactToFocus&&(this.searchBar.displaySuggestListbox=!0)}};Cn.styles=pt.css`
3399
3385
 
3400
- `});var le,Y,On,xe,Q,xb,od,t0,F,id=p(()=>{"use strict";le=u(A()),Y=u(U()),On=u(Hr()),xe=u(x());zg();Be();bc();Ry();Mt();Dy();er();Kc();nb();Ga();Un();mt();os();hb();is();as();gb();vb();Rc();vr();Q=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");xb={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},od=class extends CustomEvent{constructor(e){super("change",{detail:e})}},t0=()=>{},F=class extends xe.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new xe.ParametrizedLabelResolver(xb,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new xe.SearchPlaceConverter(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Gt.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new Ar(this),this.selectedFacetsManager=new kr(this),this.desktopSearchBarManager=new Cn(this),this.mobileSearchBarManager=new Sn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new xe.Debouncer(10),this.updateLocalesDebouncer=new xe.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new xe.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(n=>this.compareFilters(i,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,n;return((n=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===Gt.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await(0,xe.waitFor)(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return le.html`
3386
+ `});var le,Y,On,be,Q,Sb,od,r0,F,id=p(()=>{"use strict";le=u(A()),Y=u(z()),On=u(Hr()),be=u(v());zg();Be();bc();Ay();Mt();Fy();er();Kc();ab();Ga();zn();mt();os();mb();is();as();yb();vb();Rc();xr();Q=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");Sb={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove {0}",back:"Back",selectLocale:"Select a language"},od=class extends CustomEvent{constructor(e){super("change",{detail:e})}},r0=()=>{},F=class extends be.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new be.ParametrizedLabelResolver(Sb,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new be.SearchPlaceConverter(this.baseUrl,{}).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=Gt.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.displaySuggestListbox=!1,this.selectedSuggestRemoveRecent=!1,this.suggestManager=new Ar(this),this.selectedFacetsManager=new kr(this),this.desktopSearchBarManager=new Cn(this),this.mobileSearchBarManager=new Sn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new be.Debouncer(10),this.updateLocalesDebouncer=new be.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new be.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(n=>this.compareFilters(i,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,n;return((n=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===Gt.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await(0,be.waitFor)(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return le.html`
3401
3387
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
3402
- <div class="ft-search-bar--aria-live" aria-live="polite" aria-atomic="true">
3388
+ <div class="sr-only" aria-live="polite" aria-atomic="true">
3403
3389
  ${this.renderLiveText()}
3404
3390
  </div>
3405
3391
  ${this.renderSearchBar()}
@@ -3425,7 +3411,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3425
3411
  </div>
3426
3412
  </ft-accordion-item>
3427
3413
  `:null}
3428
- ${(0,On.repeat)(this.facets,r=>r.key,r=>{let i=yc(r),n=r.key.replace(":","-"),a=Vg(i);return r.rootNodes.length>0?le.html`
3414
+ ${(0,On.repeat)(this.facets,r=>r.key,r=>{let i=yc(r),n=r.key.replace(":","-"),a=jg(i);return r.rootNodes.length>0?le.html`
3429
3415
  <ft-accordion-item data-facet-key="${r.key}">
3430
3416
  <div class="ft-search-bar--filter-label" slot="toggle">
3431
3417
  <ft-typography variant="button">${r.label}</ft-typography>
@@ -3537,14 +3523,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3537
3523
  ></ft-filter>
3538
3524
  `})}
3539
3525
  </ft-snap-scroll>
3540
- `:le.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new xe.ParametrizedLabelResolver(xb,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let c=f=>this.availableContentLocales.some(h=>h.lang==f);c(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&c(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(c=>c.metadataFilters.forEach(f=>{f.valueFilter&&(f.valueFilter.values=f.valueFilter.values.map(h=>Ha(h)))})),e.has("presets")||e.has("selectedPreset")){let c=((n=this.presets)!==null&&n!==void 0?n:[]).find(f=>f.name===this.selectedPreset);c&&!this.compareRequests(this.request,c)&&this.setFiltersFromPreset(c)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(c=>e.has(c))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(c=>this.compareRequests(c,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(c=>e.has(c))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(c=>e.has(c))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(c=>e.has(c))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(c=>e.has(c))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new od(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var r,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch(t0)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!xe.isTouchScreen&&this.focusInput(),_.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),_.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&(0,xe.flatDeep)(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,xe.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?le.nothing:le.html`
3526
+ `:le.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new be.ParametrizedLabelResolver(Sb,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let c=f=>this.availableContentLocales.some(h=>h.lang==f);c(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&c(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(c=>c.metadataFilters.forEach(f=>{f.valueFilter&&(f.valueFilter.values=f.valueFilter.values.map(h=>Ha(h)))})),e.has("presets")||e.has("selectedPreset")){let c=((n=this.presets)!==null&&n!==void 0?n:[]).find(f=>f.name===this.selectedPreset);c&&!this.compareRequests(this.request,c)&&this.setFiltersFromPreset(c)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(c=>e.has(c))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(c=>this.compareRequests(c,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(c=>e.has(c))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(c=>e.has(c))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(c=>e.has(c))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(c=>e.has(c))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new od(this.request)))}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run(async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0},this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(e){var r,i,n;if(super.contentAvailableCallback(e),e.has("displayFacets")&&this.displayFacets&&((r=this.floatingContainer)===null||r===void 0||r.focus()),this.scrollToFacet!=null&&this.facetsLoaded){(i=this.scrollingFiltersContainer)===null||i===void 0||i.scrollIndexIntoView(this.facets.findIndex(s=>s.key===this.scrollToFacet));let a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);a&&(a.active=!0),this.scrollToFacet=void 0}}initApi(){this.api==null&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout(()=>this.initApi(),10))}async retrieveFacetsFromSearch(){var e;let r=new Map;await((e=this.api)===null||e===void 0?void 0:e.search({...this.request,query:""}).then(i=>i.facets.forEach(n=>{this.knownFacetLabels.set(n.key,n.label),r.set(n.key,n)})).catch(r0)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!be.isTouchScreen&&this.focusInput(),_.addEventListener("authentication-change",this.initSearchData),this.initSearchData()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox),document.removeEventListener("focusin",this.closeFloatingContainer),document.removeEventListener("click",this.closeFloatingContainer),_.removeEventListener("authentication-change",this.initSearchData)}updateSize(e){this.sizeCategory=e.detail.category}setFilter(e,r){let i=this.metadataFilters.filter(n=>!n.valueFilter||n.key!==e);this.facets.forEach(n=>{n.key===e&&(0,be.flatDeep)(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,be.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?le.nothing:le.html`
3541
3527
  <div class="ft-search-bar--floating-panel"
3542
3528
  id="ft-search-bar-floating-panel"
3543
3529
  @keyup=${this.onFloatingContainerKeyUp}
3544
3530
  part="floating-panel"
3545
3531
  tabindex="-1">
3546
3532
  ${this.renderDesktopMenu()}
3547
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};F.elementDefinitions={"ft-accordion":wr,"ft-accordion-item":Kt,"ft-button":ke,"ft-chip":Te,"ft-filter":ae,"ft-filter-option":Pt,"ft-icon":fe,"ft-ripple":W,"ft-select":ce,"ft-select-option":Er,"ft-size-watcher":It,"ft-skeleton":fo,"ft-snap-scroll":De,"ft-tooltip":Ce,"ft-typography":G,"ft-radio-group":Ct,"ft-radio":He};F.styles=[Kr,xe.noTextInputDefaultClearButton,lb,cb,kr.styles,Ar.styles];Q([(0,Y.property)({type:Boolean})],F.prototype,"dense",void 0);Q([(0,Y.property)()],F.prototype,"mode",void 0);Q([(0,Y.property)({type:Boolean})],F.prototype,"forceMobileMenuOpen",void 0);Q([(0,Y.property)({type:Boolean})],F.prototype,"forceMenuOpen",void 0);Q([(0,Y.property)()],F.prototype,"baseUrl",void 0);Q([(0,Y.property)()],F.prototype,"apiIntegrationIdentifier",void 0);Q([(0,Y.property)()],F.prototype,"contentLocale",void 0);Q([(0,Y.state)()],F.prototype,"availableContentLocales",void 0);Q([(0,Y.state)()],F.prototype,"availableContentLocalesInitialized",void 0);Q([(0,Y.property)()],F.prototype,"uiLocale",void 0);Q([(0,xe.jsonProperty)({})],F.prototype,"labels",void 0);Q([(0,xe.jsonProperty)([])],F.prototype,"displayedFilters",void 0);Q([(0,xe.jsonProperty)([])],F.prototype,"presets",void 0);Q([(0,Y.property)({type:String,reflect:!0})],F.prototype,"selectedPreset",void 0);Q([(0,xe.jsonProperty)([])],F.prototype,"priors",void 0);Q([(0,Y.property)()],F.prototype,"searchRequestSerializer",void 0);Q([(0,Y.property)({type:Boolean})],F.prototype,"focusOnDisplay",void 0);Q([(0,Y.state)()],F.prototype,"metadataFilters",void 0);Q([(0,Y.state)()],F.prototype,"sizeCategory",void 0);Q([(0,Y.state)()],F.prototype,"displayFacets",void 0);Q([(0,Y.state)()],F.prototype,"mobileMenuOpen",void 0);Q([(0,Y.state)()],F.prototype,"facets",void 0);Q([(0,Y.state)()],F.prototype,"facetsInitialized",void 0);Q([(0,Y.query)(".ft-search-bar--container")],F.prototype,"container",void 0);Q([(0,Y.query)(".ft-search-bar--filters-opener")],F.prototype,"filtersOpener",void 0);Q([(0,Y.query)(".ft-search-bar--floating-panel")],F.prototype,"floatingContainer",void 0);Q([(0,Y.query)("ft-snap-scroll.ft-search-bar--filters-container")],F.prototype,"scrollingFiltersContainer",void 0);Q([(0,Y.query)(".ft-search-bar--input")],F.prototype,"input",void 0);Q([(0,Y.query)(".ft-search-bar--launch-search")],F.prototype,"launchSearchButton",void 0);Q([(0,Y.state)()],F.prototype,"query",void 0);Q([(0,Y.state)()],F.prototype,"suggestions",void 0);Q([(0,Y.state)()],F.prototype,"recentSearches",void 0);Q([(0,Y.state)()],F.prototype,"scrollToFacet",void 0);Q([(0,Y.state)()],F.prototype,"api",void 0);Q([(0,Y.state)()],F.prototype,"displaySuggestListbox",void 0);Q([(0,Y.state)()],F.prototype,"selectedSuggestOptionId",void 0);Q([(0,Y.state)()],F.prototype,"selectedSuggestRemoveRecent",void 0);Q([(0,Y.state)()],F.prototype,"facetsLoaded",void 0)});var Sb=p(()=>{"use strict"});var Cb,Ob=p(()=>{"use strict";Cb=u(x());id();id();os();Sb();(0,Cb.customElement)("ft-search-bar")(F)});var wb,Eb,Rb,Ab=p(()=>{"use strict";wb=u(A());Ji();Eb=u(x());mt();Ob();Rb=wb.css`
3533
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};F.elementDefinitions={"ft-accordion":wr,"ft-accordion-item":Kt,"ft-button":ke,"ft-chip":$e,"ft-filter":ae,"ft-filter-option":Pt,"ft-icon":fe,"ft-ripple":W,"ft-select":ce,"ft-select-option":Er,"ft-size-watcher":Lt,"ft-skeleton":fo,"ft-snap-scroll":De,"ft-tooltip":Ce,"ft-typography":G,"ft-radio-group":Ct,"ft-radio":He};F.styles=[Kr,be.noTextInputDefaultClearButton,cb,db,kr.styles,Ar.styles,be.screenReaderStyles];Q([(0,Y.property)({type:Boolean})],F.prototype,"dense",void 0);Q([(0,Y.property)()],F.prototype,"mode",void 0);Q([(0,Y.property)({type:Boolean})],F.prototype,"forceMobileMenuOpen",void 0);Q([(0,Y.property)({type:Boolean})],F.prototype,"forceMenuOpen",void 0);Q([(0,Y.property)()],F.prototype,"baseUrl",void 0);Q([(0,Y.property)()],F.prototype,"apiIntegrationIdentifier",void 0);Q([(0,Y.property)()],F.prototype,"contentLocale",void 0);Q([(0,Y.state)()],F.prototype,"availableContentLocales",void 0);Q([(0,Y.state)()],F.prototype,"availableContentLocalesInitialized",void 0);Q([(0,Y.property)()],F.prototype,"uiLocale",void 0);Q([(0,be.jsonProperty)({})],F.prototype,"labels",void 0);Q([(0,be.jsonProperty)([])],F.prototype,"displayedFilters",void 0);Q([(0,be.jsonProperty)([])],F.prototype,"presets",void 0);Q([(0,Y.property)({type:String,reflect:!0})],F.prototype,"selectedPreset",void 0);Q([(0,be.jsonProperty)([])],F.prototype,"priors",void 0);Q([(0,Y.property)()],F.prototype,"searchRequestSerializer",void 0);Q([(0,Y.property)({type:Boolean})],F.prototype,"focusOnDisplay",void 0);Q([(0,Y.state)()],F.prototype,"metadataFilters",void 0);Q([(0,Y.state)()],F.prototype,"sizeCategory",void 0);Q([(0,Y.state)()],F.prototype,"displayFacets",void 0);Q([(0,Y.state)()],F.prototype,"mobileMenuOpen",void 0);Q([(0,Y.state)()],F.prototype,"facets",void 0);Q([(0,Y.state)()],F.prototype,"facetsInitialized",void 0);Q([(0,Y.query)(".ft-search-bar--container")],F.prototype,"container",void 0);Q([(0,Y.query)(".ft-search-bar--filters-opener")],F.prototype,"filtersOpener",void 0);Q([(0,Y.query)(".ft-search-bar--floating-panel")],F.prototype,"floatingContainer",void 0);Q([(0,Y.query)("ft-snap-scroll.ft-search-bar--filters-container")],F.prototype,"scrollingFiltersContainer",void 0);Q([(0,Y.query)(".ft-search-bar--input")],F.prototype,"input",void 0);Q([(0,Y.query)(".ft-search-bar--launch-search")],F.prototype,"launchSearchButton",void 0);Q([(0,Y.state)()],F.prototype,"query",void 0);Q([(0,Y.state)()],F.prototype,"suggestions",void 0);Q([(0,Y.state)()],F.prototype,"recentSearches",void 0);Q([(0,Y.state)()],F.prototype,"scrollToFacet",void 0);Q([(0,Y.state)()],F.prototype,"api",void 0);Q([(0,Y.state)()],F.prototype,"displaySuggestListbox",void 0);Q([(0,Y.state)()],F.prototype,"selectedSuggestOptionId",void 0);Q([(0,Y.state)()],F.prototype,"selectedSuggestRemoveRecent",void 0);Q([(0,Y.state)()],F.prototype,"facetsLoaded",void 0)});var Cb=p(()=>{"use strict"});var Ob,wb=p(()=>{"use strict";Ob=u(v());id();id();os();Cb();(0,Ob.customElement)("ft-search-bar")(F)});var Eb,Rb,Ab,kb=p(()=>{"use strict";Eb=u(A());Ji();Rb=u(v());mt();wb();Ab=Eb.css`
3548
3534
  * {
3549
3535
  box-sizing: border-box;
3550
3536
  }
@@ -3591,9 +3577,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3591
3577
  }
3592
3578
 
3593
3579
  ft-ripple {
3594
- ${(0,Eb.setVariable)(w.opacityContentOnSurfaceHover,w.opacityContentOnSurfaceSelected)}
3580
+ ${(0,Rb.setVariable)(w.opacityContentOnSurfaceHover,w.opacityContentOnSurfaceSelected)}
3595
3581
  }
3596
- `});var kb,Ti,Ib,ho,Lb=p(()=>{"use strict";kb=u(x()),Ti=u(A());Ab();Ib=u(Hr());Mt();mt();Be();vr();pc();ho=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=zr.get();return Ti.html`
3582
+ `});var Lb,Pi,Ib,ho,Tb=p(()=>{"use strict";Lb=u(v()),Pi=u(A());kb();Ib=u(Hr());Mt();mt();Be();xr();pc();ho=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=Ur.get();return Pi.html`
3597
3583
  <div class="ft-search-input-suggestion ft-word-wrap"
3598
3584
  id="${this.listboxId}"
3599
3585
  role="listbox"
@@ -3601,11 +3587,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3601
3587
  part="container">
3602
3588
  ${(0,Ib.repeat)(this.ftSearchInput.suggestResults||[],r=>r.value,(r,i)=>this.renderSuggestion(i,r,e))}
3603
3589
  </div>
3604
- `}renderSuggestion(e,r,i){let n=`suggestion-${e}`,a=Ti.html`
3590
+ `}renderSuggestion(e,r,i){let n=`suggestion-${e}`,a=Pi.html`
3605
3591
  <ft-ripple ?activated=${this.ftSearchInput.selectedSuggestOptionId===n}></ft-ripple>
3606
3592
  ${this.getIcon(r)}
3607
3593
  <ft-typography variant="body1">${r.value}</ft-typography>
3608
- `;if(this.ftSearchInput.launchSearchPath){let s={...this.ftSearchInput.request,query:r.value},c=i.serializeToCurrentPageIfPossible(s,this.ftSearchInput.launchSearchPath);return Ti.html`
3594
+ `;if(this.ftSearchInput.launchSearchPath){let s={...this.ftSearchInput.request,query:r.value},c=i.serializeToCurrentPageIfPossible(s,this.ftSearchInput.launchSearchPath);return Pi.html`
3609
3595
  <a href="${c}"
3610
3596
  part="suggestion"
3611
3597
  class="ft-search-input-suggestion--suggestion"
@@ -3617,7 +3603,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3617
3603
  @click=${()=>this.onSuggestSelected(r.value)}>
3618
3604
  ${a}
3619
3605
  </a>
3620
- `}return Ti.html`
3606
+ `}return Pi.html`
3621
3607
  <div part="suggestion"
3622
3608
  class="ft-search-input-suggestion--suggestion"
3623
3609
  role="option"
@@ -3627,9 +3613,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3627
3613
  @click=${()=>this.onSuggestSelected(r.value)}>
3628
3614
  ${a}
3629
3615
  </div>
3630
- `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?We.file_format:We.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?bt.BOOK:bt.ARTICLE;break;case"DOCUMENT":i=Wn(e.mimeType,e.filenameExtension);break;case"TOPIC":i=bt.TOPICS;break}return Ti.html`
3616
+ `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?We.file_format:We.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?bt.BOOK:bt.ARTICLE;break;case"DOCUMENT":i=Wn(e.mimeType,e.filenameExtension);break;case"TOPIC":i=bt.TOPICS;break}return Pi.html`
3631
3617
  <ft-icon .variant="${r}" .value="${i}" part="suggestion-icon"></ft-icon>
3632
- `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};ho.elementDefinitions={"ft-ripple":W,"ft-typography":G,"ft-icon":fe};ho.styles=[kb.wordWrap,Rb]});var Ko,Pi,cr,$b,lr,je,nd=p(()=>{"use strict";Ko=u(A()),Pi=u(x());Ji();Fo();Sr();pc();cr=u(U()),$b=u(ft());Lb();er();Be();vr();lr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},je=class extends Wt(Vt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.suggestions=new ho(this),this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(so)}render(){var e,r,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,c=zr.get().serializeToCurrentPageIfPossible(a,s);return Ko.html`
3618
+ `}get selectedSuggestOption(){return this.ftSearchInput.shadowRoot.querySelector(`#${this.ftSearchInput.selectedSuggestOptionId}`)}getLastSuggestionElement(){let e=this.ftSearchInput.shadowRoot.querySelectorAll("[role=option]");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.ftSearchInput.shadowRoot.querySelector("[role=option]")}nextSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.nextElementSibling:this.getFirstSuggestionElement()}previousSuggestionElement(){let e=this.selectedSuggestOption;return e?e?.previousElementSibling:this.getLastSuggestionElement()}selectSuggestion(e){e?this.ftSearchInput.selectedSuggestOptionId=e.id:this.ftSearchInput.selectedSuggestOptionId=void 0}selectNextSuggestion(){this.selectSuggestion(this.nextSuggestionElement())}selectPreviousSuggestion(){this.selectSuggestion(this.previousSuggestionElement())}clearSelection(){this.selectSuggestion(null)}};ho.elementDefinitions={"ft-ripple":W,"ft-typography":G,"ft-icon":fe};ho.styles=[Lb.wordWrap,Ab]});var qo,mo,cr,$b,lr,je,nd=p(()=>{"use strict";qo=u(A()),mo=u(v());Ji();Mo();Sr();pc();cr=u(z()),$b=u(ft());Tb();er();Be();xr();lr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},je=class extends Wt(Vt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.suggestions=new ho(this),this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(so)}render(){var e,r,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,c=Ur.get().serializeToCurrentPageIfPossible(a,s);return qo.html`
3633
3619
  <div class="${(0,$b.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3634
3620
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
3635
3621
  <div class="ft-search-input--input-outline" part="input-outline">
@@ -3642,20 +3628,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3642
3628
  aria-autocomplete="list"
3643
3629
  aria-controls="${this.suggestions.listboxId}"
3644
3630
  aria-expanded="${this.displaySuggestListbox}"
3645
- aria-activedescendant="${(i=this.selectedSuggestOptionId)!==null&&i!==void 0?i:Ko.nothing}"
3631
+ aria-activedescendant="${(i=this.selectedSuggestOptionId)!==null&&i!==void 0?i:qo.nothing}"
3646
3632
  @input=${f=>this.onInput(f)}
3647
3633
  @click="${()=>this.onClick()}"
3648
3634
  @focus="${()=>this.onFocus()}"
3649
3635
  @keydown=${f=>this.onSearchBarKeyDown(f)}
3650
3636
  @keyup=${f=>this.onSearchBarKeyUp(f)}>
3651
3637
  </div>
3652
- <div class="ft-search-input--aria-live" aria-live="polite" aria-atomic="true">
3638
+ <div class="sr-only" aria-live="polite" aria-atomic="true">
3653
3639
  ${this.renderLiveText()}
3654
3640
  </div>
3655
- ${this.shouldDisplaySuggestions?this.suggestions.render():Ko.nothing}
3641
+ ${this.shouldDisplaySuggestions?this.suggestions.render():qo.nothing}
3656
3642
  </div>
3657
3643
  <div class="ft-search-input--actions" part="actions">
3658
- ${this.liveQuery?Ko.html`
3644
+ ${this.liveQuery?qo.html`
3659
3645
  <ft-button id="clear-button"
3660
3646
  class="ft-search-input--clear-query"
3661
3647
  part="clear-query"
@@ -3676,59 +3662,59 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3676
3662
  ></ft-button>
3677
3663
  </div>
3678
3664
  </div>
3679
- `}renderLiveText(){return this.shouldDisplaySuggestions?so.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":let r=this.suggestions.selectedSuggestOption||this.launchSearchButton;r?.click();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 r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):Ko.nothing,this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.displaySuggestListbox=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};je.elementDefinitions={"ft-button":ke,...ho.elementDefinitions};je.styles=[Kr,Pi.noTextInputDefaultClearButton,il,...ho.styles];lr([(0,Pi.redux)()],je.prototype,"request",void 0);lr([(0,Pi.redux)()],je.prototype,"liveQuery",void 0);lr([(0,Pi.redux)()],je.prototype,"suggestResults",void 0);lr([(0,cr.state)()],je.prototype,"forceCloseSuggestion",void 0);lr([(0,cr.state)()],je.prototype,"displaySuggestListbox",void 0);lr([(0,cr.state)()],je.prototype,"selectedSuggestOptionId",void 0);lr([(0,cr.property)()],je.prototype,"launchSearchPath",void 0);lr([(0,cr.property)({type:Boolean})],je.prototype,"useCustomSearchPath",void 0);lr([(0,cr.property)({type:Boolean})],je.prototype,"triggerSearchOnClear",void 0);lr([(0,cr.query)(".ft-search-input--input")],je.prototype,"input",void 0);lr([(0,cr.query)('[part="launch-search-in-input"]')],je.prototype,"launchSearchButton",void 0)});var Tb=p(()=>{"use strict"});var _b={};Co(_b,{FtSearchInput:()=>je,FtSearchInputCssVariables:()=>he,styles:()=>il});var Pb,Nb=p(()=>{"use strict";Pb=u(x());nd();Ji();Tb();nd();(0,Pb.customElement)("ft-search-input")(je)});var Bb,r0,ad,sd=p(()=>{"use strict";Bb=u(A()),r0={},ad=Bb.css`
3680
- `});var ld,Db=p(()=>{"use strict";Sr();ld=xr.fromGwt("designedActionBlockAriaLabels")});var ss,cd,Fb,jr,dd=p(()=>{"use strict";ss=u(A()),cd=u(x());sd();er();Fo();Sr();Db();Fb=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},jr=class extends Wt(Vt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(ld)}render(){return this.isLastPage?ss.nothing:ss.html`
3665
+ `}renderLiveText(){return this.shouldDisplaySuggestions?so.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":let r=this.suggestions.selectedSuggestOption||this.launchSearchButton;r?.click();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 r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):qo.nothing,this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.displaySuggestListbox=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};je.elementDefinitions={"ft-button":ke,...ho.elementDefinitions};je.styles=[Kr,mo.noTextInputDefaultClearButton,il,...ho.styles,mo.screenReaderStyles];lr([(0,mo.redux)()],je.prototype,"request",void 0);lr([(0,mo.redux)()],je.prototype,"liveQuery",void 0);lr([(0,mo.redux)()],je.prototype,"suggestResults",void 0);lr([(0,cr.state)()],je.prototype,"forceCloseSuggestion",void 0);lr([(0,cr.state)()],je.prototype,"displaySuggestListbox",void 0);lr([(0,cr.state)()],je.prototype,"selectedSuggestOptionId",void 0);lr([(0,cr.property)()],je.prototype,"launchSearchPath",void 0);lr([(0,cr.property)({type:Boolean})],je.prototype,"useCustomSearchPath",void 0);lr([(0,cr.property)({type:Boolean})],je.prototype,"triggerSearchOnClear",void 0);lr([(0,cr.query)(".ft-search-input--input")],je.prototype,"input",void 0);lr([(0,cr.query)('[part="launch-search-in-input"]')],je.prototype,"launchSearchButton",void 0)});var Pb=p(()=>{"use strict"});var Nb={};Oo(Nb,{FtSearchInput:()=>je,FtSearchInputCssVariables:()=>he,styles:()=>il});var _b,Bb=p(()=>{"use strict";_b=u(v());nd();Ji();Pb();nd();(0,_b.customElement)("ft-search-input")(je)});var Db,o0,ad,sd=p(()=>{"use strict";Db=u(A()),o0={},ad=Db.css`
3666
+ `});var ld,Fb=p(()=>{"use strict";Sr();ld=vr.fromGwt("designedActionBlockAriaLabels")});var ss,cd,Mb,jr,dd=p(()=>{"use strict";ss=u(A()),cd=u(v());sd();er();Mo();Sr();Fb();Mb=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},jr=class extends Wt(Vt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(ld)}render(){return this.isLastPage?ss.nothing:ss.html`
3681
3667
  <ft-button @click="${this.loadMore}">
3682
3668
  ${ld.messages.searchPageLoadMore()}
3683
3669
  </ft-button>
3684
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};jr.elementDefinitions={"ft-button":ke};jr.styles=ad;Fb([(0,cd.redux)({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],jr.prototype,"currentPage",void 0);Fb([(0,cd.redux)({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],jr.prototype,"isLastPage",void 0)});var Mb=p(()=>{"use strict"});var Ub={};Co(Ub,{FtSearchLoadMoreButton:()=>jr,FtSearchLoadMoreButtonCssVariables:()=>r0,styles:()=>ad});var zb,Hb=p(()=>{"use strict";zb=u(x());dd();sd();Mb();dd();(0,zb.customElement)("ft-search-load-more-button")(jr)});function o0(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[pd]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[pd]):this.dispatchEvent(new ud)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=pd,ls([(0,wn.property)({attribute:!1})],r.prototype,"cluster",void 0),ls([(0,wn.property)({attribute:!1})],r.prototype,"result",void 0),ls([(0,wn.property)({attribute:!1,type:Number})],r.prototype,"rank",void 0),ls([(0,wn.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}var wn,ls,ud,pd,_i,fd=p(()=>{"use strict";Fo();wn=u(U()),ls=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ud=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},pd=Symbol("registerInterval");_i=class extends o0(Vt){}});var hd,Wb,qo,md=p(()=>{"use strict";hd=u(A());fd();qn();Wb=u(Hn());Be();qo=class extends _i{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?hd.html`
3685
- <ft-typography variant="body1" part="text">${(0,Wb.unsafeHTML)(e)}</ft-typography>
3670
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};jr.elementDefinitions={"ft-button":ke};jr.styles=ad;Mb([(0,cd.redux)({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&r!==void 0?r:1}})],jr.prototype,"currentPage",void 0);Mb([(0,cd.redux)({store:"search",selector:t=>{var e,r;return(r=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&r!==void 0?r:!0}})],jr.prototype,"isLastPage",void 0)});var Ub=p(()=>{"use strict"});var Hb={};Oo(Hb,{FtSearchLoadMoreButton:()=>jr,FtSearchLoadMoreButtonCssVariables:()=>o0,styles:()=>ad});var zb,Wb=p(()=>{"use strict";zb=u(v());dd();sd();Ub();dd();(0,zb.customElement)("ft-search-load-more-button")(jr)});function i0(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(n){this.resultStateManager=n}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[pd]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[pd]):this.dispatchEvent(new ud)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=pd,ls([(0,wn.property)({attribute:!1})],r.prototype,"cluster",void 0),ls([(0,wn.property)({attribute:!1})],r.prototype,"result",void 0),ls([(0,wn.property)({attribute:!1,type:Number})],r.prototype,"rank",void 0),ls([(0,wn.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}var wn,ls,ud,pd,_i,fd=p(()=>{"use strict";Mo();wn=u(z()),ls=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ud=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},pd=Symbol("registerInterval");_i=class extends i0(Vt){}});var hd,Vb,Zo,md=p(()=>{"use strict";hd=u(A());fd();qn();Vb=u(Hn());Be();Zo=class extends _i{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?hd.html`
3671
+ <ft-typography variant="body1" part="text">${(0,Vb.unsafeHTML)(e)}</ft-typography>
3686
3672
  `:hd.html`
3687
3673
  <style>
3688
3674
  :host {
3689
3675
  display: none !important;
3690
3676
  }
3691
3677
  </style>
3692
- `}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(r=>r.setAttribute("part","kwicmatch"))}};qo.elementDefinitions={"ft-typography":G};qo.styles=nl});var Vb=p(()=>{"use strict"});var Gb={};Co(Gb,{FtSearchResultAbstract:()=>qo,FtSearchResultAbstractCssVariables:()=>Kn,styles:()=>nl});var jb,gd=p(()=>{"use strict";jb=u(x());md();qn();Vb();md();(0,jb.customElement)("ft-search-result-abstract")(qo)});var En,Kb,qb,i0,mo,yd=p(()=>{"use strict";En=u(A()),Kb=u(U());fd();Qn();Be();qb=u(Hn());tc();oc();i0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},mo=class extends _i{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():En.html`
3678
+ `}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(r=>r.setAttribute("part","kwicmatch"))}};Zo.elementDefinitions={"ft-typography":G};Zo.styles=nl});var jb=p(()=>{"use strict"});var Kb={};Oo(Kb,{FtSearchResultAbstract:()=>Zo,FtSearchResultAbstractCssVariables:()=>Kn,styles:()=>nl});var Gb,gd=p(()=>{"use strict";Gb=u(v());md();qn();jb();md();(0,Gb.customElement)("ft-search-result-abstract")(Zo)});var En,qb,Zb,n0,go,yd=p(()=>{"use strict";En=u(A()),qb=u(z());fd();Qn();Be();Zb=u(Hn());tc();oc();n0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},go=class extends _i{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():En.html`
3693
3679
  <a href="${Pa(this.result)}"
3694
3680
  @click=${this.onResultClick}
3695
3681
  @auxclick=${r=>this.onAuxClick(r)}
3696
3682
  @contextmenu=${this.onContextMenu}
3697
- target="${mg(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3683
+ target="${gg(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
3698
3684
  part="link">
3699
3685
  ${this.renderTitle()}
3700
3686
  </a>
3701
3687
  `:En.nothing}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){return En.html`
3702
- <ft-typography variant="title" part="text">${(0,qb.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
3703
- `}onResultClick(){this.dispatchEvent(new Si(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new Ci(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){var r;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(i=>i.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((r=this.stateManager)===null||r===void 0)&&r.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};mo.elementDefinitions={"ft-typography":G};mo.styles=al;i0([(0,Kb.property)({type:Boolean})],mo.prototype,"withoutLink",void 0)});var Zb=p(()=>{"use strict"});var Yb={};Co(Yb,{FtSearchResultTitle:()=>mo,FtSearchResultTitleCssVariables:()=>Zn,styles:()=>al});var Qb,bd=p(()=>{"use strict";Qb=u(x());yd();Qn();Zb();yd();(0,Qb.customElement)("ft-search-result-title")(mo)});var Xb,n0,vd,xd=p(()=>{"use strict";Xb=u(A()),n0={},vd=Xb.css`
3688
+ <ft-typography variant="title" part="text">${(0,Zb.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
3689
+ `}onResultClick(){this.dispatchEvent(new Ci(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new Oi(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){var r;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(i=>i.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((r=this.stateManager)===null||r===void 0)&&r.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};go.elementDefinitions={"ft-typography":G};go.styles=al;n0([(0,qb.property)({type:Boolean})],go.prototype,"withoutLink",void 0)});var Qb=p(()=>{"use strict"});var Xb={};Oo(Xb,{FtSearchResultTitle:()=>go,FtSearchResultTitleCssVariables:()=>Zn,styles:()=>al});var Yb,bd=p(()=>{"use strict";Yb=u(v());yd();Qn();Qb();yd();(0,Yb.customElement)("ft-search-result-title")(go)});var Jb,a0,xd,vd=p(()=>{"use strict";Jb=u(A()),a0={},xd=Jb.css`
3704
3690
  [part="no-results-message"] {
3705
3691
  text-align: center;
3706
3692
  padding: 12px;
3707
3693
  }
3708
- `});var Jb,ev,Sd=p(()=>{"use strict";Jb=u(A()),ev=Jb.css`
3694
+ `});var ex,tx,Sd=p(()=>{"use strict";ex=u(A()),tx=ex.css`
3709
3695
  a {
3710
3696
  color: inherit;
3711
3697
  text-decoration: inherit;
3712
3698
  }
3713
- `});var cs,tv=p(()=>{"use strict";cs=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,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var rv,Ni,ov,ds,Cd,Ir,Od=p(()=>{"use strict";rv=u(A()),Ni=u(U()),ov=u(x());Sd();tv();ds=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Cd=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Ir=class extends ov.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new cs(e=>this.onResultSelected(e))}render(){return rv.html`
3699
+ `});var cs,rx=p(()=>{"use strict";cs=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,r){this.cluster=e,this.rank=r,this.selectResult(this.cluster.entries[0])}updateOpenResultInNewTab(e){this.openResultInNewTab=e}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(r=>this.bindComponent(r))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank,e.openResultInNewTab=this.openResultInNewTab}}});var ox,Ni,ix,ds,Cd,Lr,Od=p(()=>{"use strict";ox=u(A()),Ni=u(z()),ix=u(v());Sd();rx();ds=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Cd=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Lr=class extends ix.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new cs(e=>this.onResultSelected(e))}render(){return ox.html`
3714
3700
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
3715
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new Cd(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Ir.elementDefinitions={};Ir.styles=ev;ds([(0,Ni.property)({attribute:!1})],Ir.prototype,"cluster",void 0);ds([(0,Ni.property)({attribute:!1,type:Boolean})],Ir.prototype,"openResultInNewTab",void 0);ds([(0,Ni.state)()],Ir.prototype,"result",void 0);ds([(0,Ni.property)()],Ir.prototype,"index",void 0)});var iv=p(()=>{"use strict"});var nv,av=p(()=>{"use strict";nv=u(x());Od();Sd();iv();Od();(0,nv.customElement)("ft-search-result-context")(Ir)});var Bi,sv,wd=p(()=>{"use strict";Sr();Bi=xr.build("searchResultsNumber"),sv={results:"{0} results","results[\\=1]":"1 result"}});var ps,lv,us,go,Zo,Nt,Ed=p(()=>{"use strict";ps=u(A()),lv=u(Hr()),us=u(U()),go=u(x());xd();Fo();av();bd();gd();Sr();wd();Zo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Nt=class extends Wt(Vt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>ps.html`
3701
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new Cd(this.result))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1),e.has("openResultInNewTab")&&this.stateManager.updateOpenResultInNewTab(this.openResultInNewTab)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Lr.elementDefinitions={};Lr.styles=tx;ds([(0,Ni.property)({attribute:!1})],Lr.prototype,"cluster",void 0);ds([(0,Ni.property)({attribute:!1,type:Boolean})],Lr.prototype,"openResultInNewTab",void 0);ds([(0,Ni.state)()],Lr.prototype,"result",void 0);ds([(0,Ni.property)()],Lr.prototype,"index",void 0)});var nx=p(()=>{"use strict"});var ax,sx=p(()=>{"use strict";ax=u(v());Od();Sd();nx();Od();(0,ax.customElement)("ft-search-result-context")(Lr)});var Bi,lx,wd=p(()=>{"use strict";Sr();Bi=vr.build("searchResultsNumber"),lx={results:"{0} results","results[\\=1]":"1 result"}});var ps,cx,us,yo,Qo,Nt,Ed=p(()=>{"use strict";ps=u(A()),cx=u(Hr()),us=u(z()),yo=u(v());vd();Mo();sx();bd();gd();Sr();wd();Qo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Nt=class extends Wt(Vt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>ps.html`
3716
3702
  <ft-search-result-title></ft-search-result-title>
3717
3703
  <ft-search-result-abstract></ft-search-result-abstract>
3718
3704
  `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Bi)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return ps.html`
3719
3705
  <ft-typography part="no-results-message" variant="body1">${Bi.messages.results(0)}</ft-typography>
3720
- `;let e=this.buildClusters();return(0,lv.repeat)(e,r=>r.id,(r,i)=>{var n;return ps.html`
3706
+ `;let e=this.buildClusters();return(0,cx.repeat)(e,r=>r.id,(r,i)=>{var n;return ps.html`
3721
3707
  <ft-search-result-context .cluster=${r} index="${i}"
3722
3708
  @ft-search-result-cluster-change="${a=>this.onClusterChange(r.id,a.detail)}">
3723
3709
  ${this.renderResult((n=this.selectedResultByCluster[r.id])!==null&&n!==void 0?n:r.entries[0],i)}
3724
3710
  </ft-search-result-context>
3725
- `})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let i=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");i&&go.scrollHelper.scrollIntoViewIfPossible(i,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(i=>({id:this.clusterId(i.entries[0]),entries:i.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,i;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,(i=this.paging.perPage)!==null&&i!==void 0?i:20):n}clusterId(e){var r,i,n,a,s;return(a=(i=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};Nt.styles=vd;Zo([(0,us.property)({type:String,attribute:"cluster-policy"})],Nt.prototype,"clusterPolicy",void 0);Zo([(0,us.property)({type:Boolean})],Nt.prototype,"displayNoResultsMessage",void 0);Zo([(0,us.property)({attribute:!1})],Nt.prototype,"renderResult",void 0);Zo([(0,go.jsonProperty)([])],Nt.prototype,"clusterSortCriterion",void 0);Zo([(0,go.redux)({selector:t=>({...t.request,paging:void 0})})],Nt.prototype,"requestWithoutPaging",void 0);Zo([(0,go.redux)({selector:t=>t.request.paging})],Nt.prototype,"paging",void 0);Zo([(0,go.redux)()],Nt.prototype,"results",void 0)});var cv=p(()=>{"use strict"});var pv={};Co(pv,{FtSearchResults:()=>Nt,FtSearchResultsCssVariables:()=>n0,styles:()=>vd});var dv,uv=p(()=>{"use strict";dv=u(x());Ed();xd();cv();Ed();(0,dv.customElement)("ft-search-results")(Nt)});var fv,a0,Rd,Ad=p(()=>{"use strict";fv=u(A()),a0={},Rd=fv.css`
3711
+ `})}update(e){var r;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((r=this.stateManager)===null||r===void 0||r.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var r;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let i=(r=this.renderRoot)===null||r===void 0?void 0:r.querySelector("ft-search-result-context");i&&yo.scrollHelper.scrollIntoViewIfPossible(i,{position:1,behavior:"smooth"})}}onClusterChange(e,r){this.selectedResultByCluster[e]=r}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,r;return(r=(e=this.results)===null||e===void 0?void 0:e.map(i=>({id:this.clusterId(i.entries[0]),entries:i.entries})))!==null&&r!==void 0?r:[]}buildAllResultsClusters(){var e,r,i;let n=(r=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&r!==void 0?r:[];return this.paging&&this.paging.page===1?n.slice(0,(i=this.paging.perPage)!==null&&i!==void 0?i:20):n}clusterId(e){var r,i,n,a,s;return(a=(i=(r=e.map)===null||r===void 0?void 0:r.mapId)!==null&&i!==void 0?i:(n=e.topic)===null||n===void 0?void 0:n.tocId)!==null&&a!==void 0?a:(s=e.document)===null||s===void 0?void 0:s.documentId}};Nt.styles=xd;Qo([(0,us.property)({type:String,attribute:"cluster-policy"})],Nt.prototype,"clusterPolicy",void 0);Qo([(0,us.property)({type:Boolean})],Nt.prototype,"displayNoResultsMessage",void 0);Qo([(0,us.property)({attribute:!1})],Nt.prototype,"renderResult",void 0);Qo([(0,yo.jsonProperty)([])],Nt.prototype,"clusterSortCriterion",void 0);Qo([(0,yo.redux)({selector:t=>({...t.request,paging:void 0})})],Nt.prototype,"requestWithoutPaging",void 0);Qo([(0,yo.redux)({selector:t=>t.request.paging})],Nt.prototype,"paging",void 0);Qo([(0,yo.redux)()],Nt.prototype,"results",void 0)});var dx=p(()=>{"use strict"});var ux={};Oo(ux,{FtSearchResults:()=>Nt,FtSearchResultsCssVariables:()=>a0,styles:()=>xd});var px,fx=p(()=>{"use strict";px=u(v());Ed();vd();dx();Ed();(0,px.customElement)("ft-search-results")(Nt)});var hx,s0,Rd,Ad=p(()=>{"use strict";hx=u(A()),s0={},Rd=hx.css`
3726
3712
 
3727
- `});var fs,hv,s0,yo,kd=p(()=>{"use strict";fs=u(A()),hv=u(x());Ad();Fo();Sr();wd();Be();s0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},yo=class extends Wt(Vt){constructor(){super(),this.addI18nContext(Bi,sv)}render(){return this.paging==null?fs.nothing:fs.html`
3713
+ `});var fs,mx,l0,bo,kd=p(()=>{"use strict";fs=u(A()),mx=u(v());Ad();Mo();Sr();wd();Be();l0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},bo=class extends Wt(Vt){constructor(){super(),this.addI18nContext(Bi,lx)}render(){return this.paging==null?fs.nothing:fs.html`
3728
3714
  <ft-typography variant="body1">
3729
3715
  ${Bi.messages.results(this.paging.totalClustersCount)}
3730
3716
  </ft-typography>
3731
- `}};yo.elementDefinitions={"ft-typography":G};yo.styles=Rd;s0([(0,hv.redux)()],yo.prototype,"paging",void 0)});var mv=p(()=>{"use strict"});var yv={};Co(yv,{FtSearchResultsNumber:()=>yo,FtSearchResultsNumberCssVariables:()=>a0,styles:()=>Rd});var gv,bv=p(()=>{"use strict";gv=u(x());kd();Ad();mv();kd();(0,gv.customElement)("ft-search-results-number")(yo)});var vv=u(x());var Bt=u(A()),Id=u(x());var sl=u(A()),N=u(x());var zd=u(A()),ie=u(x());Lr();var de={padding:ie.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:ie.FtCssVariableFactory.extend("--ft-card-border-radius","",ie.designSystemVariables.borderRadiusM),borderStyle:ie.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:ie.FtCssVariableFactory.extend("--ft-card-border-color","",ie.designSystemVariables.colorOutline),hoverBorderColor:ie.FtCssVariableFactory.extend("--ft-card-hover-border-color","",ie.designSystemVariables.colorPrimary),outlineStyle:ie.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:ie.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:ie.FtCssVariableFactory.extend("--ft-card-outline-color","",ie.designSystemVariables.colorPrimary),selectedOutlineStyle:ie.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:ie.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:ie.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",ie.designSystemVariables.colorPrimary),selectedBorderRadius:ie.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",ie.designSystemVariables.borderRadiusM),colorSurface:ie.FtCssVariableFactory.extend("--ft-card-background-color","",ie.designSystemVariables.colorSurface),colorOnSurfaceMedium:ie.FtCssVariableFactory.extend("--ft-card-content-color","",ie.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:ie.FtCssVariableFactory.extend("--ft-card-title-color","",ie.designSystemVariables.colorOnSurfaceHigh),elevation02:ie.FtCssVariableFactory.extend("--ft-card-elevation","",ie.designSystemVariables.elevation02),elevation04:ie.FtCssVariableFactory.extend("--ft-card-selected-elevation","",ie.designSystemVariables.elevation04)},Ud=zd.css`
3717
+ `}};bo.elementDefinitions={"ft-typography":G};bo.styles=Rd;l0([(0,mx.redux)()],bo.prototype,"paging",void 0)});var gx=p(()=>{"use strict"});var bx={};Oo(bx,{FtSearchResultsNumber:()=>bo,FtSearchResultsNumberCssVariables:()=>s0,styles:()=>Rd});var yx,xx=p(()=>{"use strict";yx=u(v());kd();Ad();gx();kd();(0,yx.customElement)("ft-search-results-number")(bo)});var vx=u(v());var Bt=u(A()),Ld=u(v());var sl=u(A()),N=u(v());var Ud=u(A()),ie=u(v());Ir();var de={padding:ie.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:ie.FtCssVariableFactory.extend("--ft-card-border-radius","",ie.designSystemVariables.borderRadiusM),borderStyle:ie.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:ie.FtCssVariableFactory.extend("--ft-card-border-color","",ie.designSystemVariables.colorOutline),hoverBorderColor:ie.FtCssVariableFactory.extend("--ft-card-hover-border-color","",ie.designSystemVariables.colorPrimary),outlineStyle:ie.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:ie.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:ie.FtCssVariableFactory.extend("--ft-card-outline-color","",ie.designSystemVariables.colorPrimary),selectedOutlineStyle:ie.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:ie.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:ie.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",ie.designSystemVariables.colorPrimary),selectedBorderRadius:ie.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",ie.designSystemVariables.borderRadiusM),colorSurface:ie.FtCssVariableFactory.extend("--ft-card-background-color","",ie.designSystemVariables.colorSurface),colorOnSurfaceMedium:ie.FtCssVariableFactory.extend("--ft-card-content-color","",ie.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:ie.FtCssVariableFactory.extend("--ft-card-title-color","",ie.designSystemVariables.colorOnSurfaceHigh),elevation02:ie.FtCssVariableFactory.extend("--ft-card-elevation","",ie.designSystemVariables.elevation02),elevation04:ie.FtCssVariableFactory.extend("--ft-card-selected-elevation","",ie.designSystemVariables.elevation04)},zd=Ud.css`
3732
3718
  :host {
3733
3719
  display: block;
3734
3720
  }
@@ -3817,7 +3803,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3817
3803
  #action {
3818
3804
  grid-area: actions;
3819
3805
  }
3820
- `;Ji();qn();Lr();Qn();var Xe={searchFieldBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",N.designSystemVariables.colorSurface),searchFieldBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",N.designSystemVariables.colorOutline),searchFieldTextColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",N.designSystemVariables.colorOnSurface),searchFieldBorderRadius:N.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",N.designSystemVariables.borderRadiusS),searchButtonColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",N.designSystemVariables.colorPrimary),resultsNumberColor:N.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",N.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",N.designSystemVariables.colorSurface),resultBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",N.designSystemVariables.colorOutline),resultBorderRadius:N.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",N.designSystemVariables.borderRadiusS),resultTitleTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",N.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",N.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",N.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:N.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",N.designSystemVariables.colorPrimary),resultHoverBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",N.designSystemVariables.colorPrimary)},Uf=sl.css`
3806
+ `;Ji();qn();Ir();Qn();var Xe={searchFieldBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",N.designSystemVariables.colorSurface),searchFieldBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",N.designSystemVariables.colorOutline),searchFieldTextColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",N.designSystemVariables.colorOnSurface),searchFieldBorderRadius:N.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",N.designSystemVariables.borderRadiusS),searchButtonColor:N.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",N.designSystemVariables.colorPrimary),resultsNumberColor:N.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",N.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",N.designSystemVariables.colorSurface),resultBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",N.designSystemVariables.colorOutline),resultBorderRadius:N.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",N.designSystemVariables.borderRadiusS),resultTitleTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",N.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",N.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:N.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",N.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:N.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:N.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",N.designSystemVariables.colorPrimary),resultHoverBorderColor:N.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",N.designSystemVariables.colorPrimary)},zf=sl.css`
3821
3807
  .ft-search-in-doc--container {
3822
3808
  display: flex;
3823
3809
  flex-direction: column;
@@ -3884,8 +3870,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3884
3870
  text-decoration: none;
3885
3871
  color: inherit;
3886
3872
  }
3887
- `;Sr();var cg=u(x()),dg=u(U());var sg;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(sg||(sg={}));var lg;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(lg||(lg={}));var qx=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ec=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Jl=Symbol("registerInterval");function Zx(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Jl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Jl]):this.dispatchEvent(new ec)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Jl,qx([(0,dg.state)()],r.prototype,"stateManager",void 0),r}var Ta=class extends Zx(cg.FtLitElementRedux){};var vo=u(U());tc();var _a=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};Sr();var rc=xr.build("designedReaderSearchInDocument");var bg=u(x());var fn=u(A()),Do=u(U()),gg=u(x());mt();Be();var yg=u(ft()),xi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},xt=class extends gg.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return fn.html`
3888
- <div id="container" part="container" class=${(0,yg.classMap)(e)}>
3873
+ `;Sr();var dg=u(v()),pg=u(z());var lg;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(lg||(lg={}));var cg;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(cg||(cg={}));var Zv=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ec=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Jl=Symbol("registerInterval");function Qv(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var n;return(n=this.stateManager)===null||n===void 0?void 0:n.service}connectedCallback(){super.connectedCallback(),this[Jl]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Jl]):this.dispatchEvent(new ec)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Jl,Zv([(0,pg.state)()],r.prototype,"stateManager",void 0),r}var $a=class extends Qv(dg.FtLitElementRedux){};var vo=u(z());tc();var _a=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};Sr();var rc=vr.build("designedReaderSearchInDocument");var xg=u(v());var fn=u(A()),Fo=u(z()),yg=u(v());mt();Be();var bg=u(ft()),Si=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},vt=class extends yg.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1,this.noContent=!1,this.oneLineHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader,"no-content":this.noContent,"one-line-header":this.oneLineHeader};return fn.html`
3874
+ <div id="container" part="container" class=${(0,bg.classMap)(e)}>
3889
3875
  ${this.clickable?fn.html`
3890
3876
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
3891
3877
  `:fn.nothing}
@@ -3902,7 +3888,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3902
3888
  </ft-typography>
3903
3889
  </div>
3904
3890
  </div>
3905
- `}};xt.elementDefinitions={"ft-ripple":W,"ft-typography":G};xt.styles=Ud;xi([(0,Do.property)()],xt.prototype,"title",void 0);xi([(0,Do.property)({type:Boolean})],xt.prototype,"clickable",void 0);xi([(0,Do.property)({type:Boolean})],xt.prototype,"selected",void 0);xi([(0,Do.property)({type:Boolean})],xt.prototype,"noHeader",void 0);xi([(0,Do.property)({type:Boolean})],xt.prototype,"noContent",void 0);xi([(0,Do.property)({type:Boolean})],xt.prototype,"oneLineHeader",void 0);(0,bg.customElement)("ft-card")(xt);oc();var bo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Et=class t extends Wt(Ta){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(rc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var i;return Bt.html`
3891
+ `}};vt.elementDefinitions={"ft-ripple":W,"ft-typography":G};vt.styles=zd;Si([(0,Fo.property)()],vt.prototype,"title",void 0);Si([(0,Fo.property)({type:Boolean})],vt.prototype,"clickable",void 0);Si([(0,Fo.property)({type:Boolean})],vt.prototype,"selected",void 0);Si([(0,Fo.property)({type:Boolean})],vt.prototype,"noHeader",void 0);Si([(0,Fo.property)({type:Boolean})],vt.prototype,"noContent",void 0);Si([(0,Fo.property)({type:Boolean})],vt.prototype,"oneLineHeader",void 0);(0,xg.customElement)("ft-card")(vt);oc();var xo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Et=class t extends Wt($a){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(rc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var i;return Bt.html`
3906
3892
  <style> ${Hf}</style>
3907
3893
  <a href="${Pa(e)}" @click="${()=>this.onLinkClick(e,r)}"
3908
3894
  @auxclick="${n=>this.onAuxClick(n,e,r)}"
@@ -3920,7 +3906,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3920
3906
  </div>
3921
3907
  </ft-card>
3922
3908
  </a>
3923
- `}onAuxClick(e,r,i){e.button==1&&this.onLinkClick(r,i)}onContextMenu(e,r){this.dispatchEvent(new Ci(e,r))}render(){return this.map?Bt.html`
3909
+ `}onAuxClick(e,r,i){e.button==1&&this.onLinkClick(r,i)}onContextMenu(e,r){this.dispatchEvent(new Oi(e,r))}render(){return this.map?Bt.html`
3924
3910
  <ft-search-context id="${this.uniqueId}"
3925
3911
  contentLocale="${this.map.lang}"
3926
3912
  query="${this.searchInDocumentQuery}"
@@ -3944,7 +3930,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3944
3930
  </slot>
3945
3931
  </div>
3946
3932
  </ft-search-context>
3947
- `:Bt.nothing}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new Si(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(_g(),Pg)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Nb(),_b)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(Hb(),Ub)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(gd(),Gb)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(bd(),Yb)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(uv(),pv)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(bv(),yv)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Et.elementDefinitions={"ft-card":xt};Et.styles=Uf;bo([(0,Id.redux)()],Et.prototype,"map",void 0);bo([(0,Id.redux)()],Et.prototype,"searchInDocumentQuery",void 0);bo([(0,vo.query)("ft-search-results")],Et.prototype,"searchResults",void 0);bo([(0,vo.property)({type:Boolean})],Et.prototype,"hideResultTitle",void 0);bo([(0,vo.property)({type:Boolean})],Et.prototype,"hideResultBreadcrumb",void 0);bo([(0,vo.property)({type:Boolean})],Et.prototype,"hideResultAbstract",void 0);bo([(0,vo.property)({type:Boolean})],Et.prototype,"hideResultsNumber",void 0);bo([(0,vo.property)({type:Boolean})],Et.prototype,"emptyResultOnClear",void 0);(0,vv.customElement)("ft-reader-search-in-document")(Et);})();
3933
+ `:Bt.nothing}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,r){this.dispatchEvent(new Ci(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Ng(),_g)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Bb(),Nb)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(Wb(),Hb)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(gd(),Kb)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(bd(),Xb)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(fx(),ux)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(xx(),bx)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};Et.elementDefinitions={"ft-card":vt};Et.styles=zf;xo([(0,Ld.redux)()],Et.prototype,"map",void 0);xo([(0,Ld.redux)()],Et.prototype,"searchInDocumentQuery",void 0);xo([(0,vo.query)("ft-search-results")],Et.prototype,"searchResults",void 0);xo([(0,vo.property)({type:Boolean})],Et.prototype,"hideResultTitle",void 0);xo([(0,vo.property)({type:Boolean})],Et.prototype,"hideResultBreadcrumb",void 0);xo([(0,vo.property)({type:Boolean})],Et.prototype,"hideResultAbstract",void 0);xo([(0,vo.property)({type:Boolean})],Et.prototype,"hideResultsNumber",void 0);xo([(0,vo.property)({type:Boolean})],Et.prototype,"emptyResultOnClear",void 0);(0,vx.customElement)("ft-reader-search-in-document")(Et);})();
3948
3934
  /*! Bundled license information:
3949
3935
 
3950
3936
  lit-html/lit-html.js: