@fluid-topics/ft-reader-search-in-document 1.2.49 → 1.2.51

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 vh=Object.create;var sa=Object.defineProperty;var Sh=Object.getOwnPropertyDescriptor;var Ch=Object.getOwnPropertyNames;var Oh=Object.getPrototypeOf,Eh=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var Vt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Kt=(t,e)=>{for(var o in e)sa(t,o,{get:e[o],enumerable:!0})},wh=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Ch(e))!Eh.call(t,a)&&a!==o&&sa(t,a,{get:()=>e[a],enumerable:!(n=Sh(e,a))||n.enumerable});return t};var b=(t,e,o)=>(o=t!=null?vh(Oh(t)):{},wh(e||!t||!t.__esModule?sa(o,"default",{value:t,enumerable:!0}):o,t));var N=Vt((sm,Ps)=>{Ps.exports=ftGlobals.wcUtils});var B=Vt((cm,Ls)=>{Ls.exports=ftGlobals.lit});var Us,ce,ks,w,Ds,Bs,Ms,$s,Fs,Zt=f(()=>{"use strict";Us=b(B()),ce=b(N()),ks=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorContent),w={color:ks,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",ks),opacityContentOnSurfacePressed:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ce.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Ds=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorPrimary),Bs={color:Ds,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ds)},Ms=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorSecondary),$s={color:Ms,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ms)},Fs=Us.css`
1
+ "use strict";(()=>{var wh=Object.create;var na=Object.defineProperty;var Ah=Object.getOwnPropertyDescriptor;var Rh=Object.getOwnPropertyNames;var Nh=Object.getPrototypeOf,Th=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var Kt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Zt=(t,e)=>{for(var o in e)na(t,o,{get:e[o],enumerable:!0})},Ph=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Rh(e))!Th.call(t,a)&&a!==o&&na(t,a,{get:()=>e[a],enumerable:!(n=Ah(e,a))||n.enumerable});return t};var b=(t,e,o)=>(o=t!=null?wh(Nh(t)):{},Ph(e||!t||!t.__esModule?na(o,"default",{value:t,enumerable:!0}):o,t));var N=Kt((pm,_s)=>{_s.exports=ftGlobals.wcUtils});var B=Kt((fm,Is)=>{Is.exports=ftGlobals.lit});var $s,ce,Ls,w,ks,Ds,Bs,Ms,Us,qt=f(()=>{"use strict";$s=b(B()),ce=b(N()),Ls=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorContent),w={color:Ls,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ls),opacityContentOnSurfacePressed:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ce.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ks=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorPrimary),Ds={color:ks,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",ks)},Bs=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorSecondary),Ms={color:Bs,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",Bs)},Us=$s.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -53,19 +53,19 @@
53
53
  }
54
54
 
55
55
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
56
- background-color: ${$s.backgroundColor};
56
+ background-color: ${Ms.backgroundColor};
57
57
  }
58
58
 
59
59
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
60
- background-color: ${$s.color};
60
+ background-color: ${Ms.color};
61
61
  }
62
62
 
63
63
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
64
- background-color: ${Bs.backgroundColor};
64
+ background-color: ${Ds.backgroundColor};
65
65
  }
66
66
 
67
67
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
68
- background-color: ${Bs.color};
68
+ background-color: ${Ds.color};
69
69
  }
70
70
 
71
71
  .ft-ripple .ft-ripple--background {
@@ -110,9 +110,9 @@
110
110
  opacity: ${w.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `});var Q=Vt((pm,zs)=>{zs.exports=ftGlobals.litDecorators});var lt,Et,r,F=f(()=>{lt=b(B(),1),Et=t=>typeof t=="string"?(0,lt.unsafeCSS)(t):t,r=class{static create(e,o,n,a){let i=l=>Et(l??a),s=lt.css`var(${Et(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>lt.css`var(${Et(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=l=>n.get(l??a),s=lt.css`var(${Et(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>lt.css`var(${Et(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):Et(i??e.lastResortDefaultValue()),a=lt.css`var(${Et(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>lt.css`var(${Et(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var c,Gs,js,Vs,Ks,Zs,qs,Ys,Qs,Xs,Ah,Js,ec,tc,rc,oc,nc,ac,ic,sc,cc,lc,dc,uc,pc,fc,hc,Io,z=f(()=>{F();c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Gs={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},js={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Vs={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ks={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Zs={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},qs={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ys={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Qs={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Xs={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ah={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Js={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ec={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},tc={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},rc={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},oc={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},nc={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ac={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ic={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},sc={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},cc={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},lc={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},dc={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},uc={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},pc={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},fc={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},hc={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Io={display:Gs,"title-1":js,"title-2":Vs,"title-3":Ks,"body-1-regular":Zs,"body-1-medium":qs,"body-1-semibold":Ys,"body-2-regular":Qs,"body-2-medium":Xs,"body-2-medium-underline":Ah,"body-2-semibold":Js,"label-1-medium":ec,"label-1-semibold":tc,"label-1-bold":rc,"label-2-medium":oc,"label-2-semibold":nc,"label-2-bold":ac,"caption-1-medium":ic,"caption-1-semibold":sc,"caption-1-bold":cc,"caption-2-medium":lc,"caption-2-semibold":dc,"caption-2-bold":uc,"caption-3-medium":pc,"caption-3-semibold":fc,"caption-3-bold":hc}});var d,V=f(()=>{F();z();d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
114
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var y,yc=f(()=>{F();z();V();y={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var Am,mc=f(()=>{F();z();V();Am={iconSize:r.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",c.spacing2)}});var Im,gc=f(()=>{F();z();V();Im={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)}});var Bm,bc=f(()=>{F();z();V();Bm={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var Wm,xc=f(()=>{F();z();V();Wm={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var Vm,vc=f(()=>{F();z();V();Vm={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var Qm,Sc=f(()=>{F();z();V();Qm={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var rg,Cc=f(()=>{F();z();V();rg={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var sg,Oc=f(()=>{F();z();V();sg={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var pg,Ec=f(()=>{F();z();V();pg={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var gg,wc=f(()=>{F();z();V();gg={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var Sg,Ac=f(()=>{F();z();Sg={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var Ag,Rc=f(()=>{F();z();V();Ag={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var Ig,Nc=f(()=>{F();z();V();Ig={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var Bg,Tc=f(()=>{F();z();V();Bg={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var Wg,_c=f(()=>{F();z();V();Wg={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var Vg,Ic=f(()=>{F();z();V();Vg={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)}});var Qg,Pc=f(()=>{F();z();V();Qg={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var rb,Lc=f(()=>{F();z();V();rb={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var sb,kc=f(()=>{F();z();V();sb={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)}});var pb,Dc=f(()=>{F();z();V();pb={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")}});var gb,Bc=f(()=>{F();z();V();gb={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var Cb,Mc=f(()=>{F();z();V();Cb={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var Ab,$c=f(()=>{F();z();Ab={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var _b,Uc=f(()=>{F();z();_b={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var Db,Fc=f(()=>{F();z();V();Db={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")}});var Fb,Wc=f(()=>{F();z();V();Fb={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)}});var jb,Hc=f(()=>{F();z();V();jb={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)}});var Yb,zc=f(()=>{F();z();V();Yb={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)}});var tx,Gc=f(()=>{F();z();V();tx={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)}});var ix,jc=f(()=>{F();z();V();ix={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var Vc=f(()=>{z();V();yc();mc();gc();bc();xc();vc();Sc();Cc();Oc();Ec();wc();Ac();Rc();Nc();Tc();_c();Ic();Pc();Lc();kc();Dc();Bc();Mc();$c();Uc();Fc();Wc();Hc();zc();Gc();jc()});var Po,sr,Kc=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Po||(Po={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(sr||(sr={}))});var j=f(()=>{F();Vc();Kc()});function Zc(t){let e=Io[t];return Lo.css`
115
- .ft-typography--${(0,Lo.unsafeCSS)(t)} {
113
+ `});var Q=Kt((gm,Hs)=>{Hs.exports=ftGlobals.litDecorators});var lt,wt,r,F=f(()=>{lt=b(B(),1),wt=t=>typeof t=="string"?(0,lt.unsafeCSS)(t):t,r=class{static create(e,o,n,a){let i=l=>wt(l??a),s=lt.css`var(${wt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>lt.css`var(${wt(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=l=>n.get(l??a),s=lt.css`var(${wt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>lt.css`var(${wt(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):wt(i??e.lastResortDefaultValue()),a=lt.css`var(${wt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>lt.css`var(${wt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var c,zs,Gs,js,Vs,Ks,Zs,qs,Ys,Qs,_h,Xs,Js,ec,tc,rc,oc,nc,ac,ic,sc,cc,lc,dc,uc,pc,fc,Io,z=f(()=>{F();c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},zs={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Gs={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},js={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Vs={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ks={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Zs={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},qs={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ys={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Qs={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},_h={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Xs={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Js={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ec={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},tc={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},rc={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},oc={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},nc={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ac={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ic={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},sc={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},cc={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},lc={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},dc={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},uc={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},pc={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},fc={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Io={display:zs,"title-1":Gs,"title-2":js,"title-3":Vs,"body-1-regular":Ks,"body-1-medium":Zs,"body-1-semibold":qs,"body-2-regular":Ys,"body-2-medium":Qs,"body-2-medium-underline":_h,"body-2-semibold":Xs,"label-1-medium":Js,"label-1-semibold":ec,"label-1-bold":tc,"label-2-medium":rc,"label-2-semibold":oc,"label-2-bold":nc,"caption-1-medium":ac,"caption-1-semibold":ic,"caption-1-bold":sc,"caption-2-medium":cc,"caption-2-semibold":lc,"caption-2-bold":dc,"caption-3-medium":uc,"caption-3-semibold":pc,"caption-3-bold":fc}});var d,V=f(()=>{F();z();d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
114
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var h,hc=f(()=>{F();z();V();h={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var _m,yc=f(()=>{F();z();V();_m={iconSize:r.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",c.spacing2)}});var Bm,mc=f(()=>{F();z();V();Bm={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)}});var Wm,gc=f(()=>{F();z();V();Wm={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var Vm,bc=f(()=>{F();z();V();Vm={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var Qm,xc=f(()=>{F();z();V();Qm={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var rg,vc=f(()=>{F();z();V();rg={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var sg,Sc=f(()=>{F();z();V();sg={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var pg,Cc=f(()=>{F();z();V();pg={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var gg,Oc=f(()=>{F();z();V();gg={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var Cg,Ec=f(()=>{F();z();V();Cg={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var Ag,wc=f(()=>{F();z();Ag={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var _g,Ac=f(()=>{F();z();V();_g={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var Bg,Rc=f(()=>{F();z();V();Bg={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var Wg,Nc=f(()=>{F();z();V();Wg={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var Vg,Tc=f(()=>{F();z();V();Vg={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var Qg,Pc=f(()=>{F();z();V();Qg={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)}});var rb,_c=f(()=>{F();z();V();rb={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var sb,Ic=f(()=>{F();z();V();sb={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var pb,Lc=f(()=>{F();z();V();pb={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)}});var gb,kc=f(()=>{F();z();V();gb={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")}});var Cb,Dc=f(()=>{F();z();V();Cb={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var Rb,Bc=f(()=>{F();z();V();Rb={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var _b,Mc=f(()=>{F();z();_b={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var Db,$c=f(()=>{F();z();Db={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var Fb,Uc=f(()=>{F();z();V();Fb={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")}});var jb,Fc=f(()=>{F();z();V();jb={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)}});var Yb,Wc=f(()=>{F();z();V();Yb={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)}});var tx,Hc=f(()=>{F();z();V();tx={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)}});var ix,zc=f(()=>{F();z();V();ix={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)}});var ux,Gc=f(()=>{F();z();V();ux={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var jc=f(()=>{z();V();hc();yc();mc();gc();bc();xc();vc();Sc();Cc();Oc();Ec();wc();Ac();Rc();Nc();Tc();Pc();_c();Ic();Lc();kc();Dc();Bc();Mc();$c();Uc();Fc();Wc();Hc();zc();Gc()});var Lo,lr,Vc=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Lo||(Lo={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(lr||(lr={}))});var j=f(()=>{F();jc();Vc()});function Kc(t){let e=Io[t];return ko.css`
115
+ .ft-typography--${(0,ko.unsafeCSS)(t)} {
116
116
  font-family: ${e.fontFamily};
117
117
  font-size: ${e.fontSize};
118
118
  font-weight: ${e.fontWeight};
@@ -120,26 +120,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
120
120
  line-height: ${e.lineHeight};
121
121
  text-transform: ${e.textCase};
122
122
  }
123
- `}var Lo,qc=f(()=>{"use strict";Lo=b(B());j()});var Ue,R,Yc,dt,P,cr,lr,dr,ur,pr,fr,hr,yr,mr,Je,Qc,Xc,Jc,el,tl,ko,rl,ol,nl,al,il,sl,Do=f(()=>{"use strict";Ue=b(B()),R=b(N());j();qc();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();Yc=R.FtCssVariableFactory.extend("--ft-typography-font-family","",R.designSystemVariables.titleFont),dt=R.FtCssVariableFactory.extend("--ft-typography-font-family","",R.designSystemVariables.contentFont),P={fontFamily:dt,fontSize:R.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:R.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:R.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:R.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:R.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},cr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Yc),fontSize:R.FtCssVariableFactory.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},lr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Yc),fontSize:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},dr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},ur={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},pr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},fr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},hr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},yr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},mr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},Je={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-button-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},Qc=Ue.css`
123
+ `}var ko,Zc=f(()=>{"use strict";ko=b(B());j()});var Fe,R,qc,dt,I,dr,ur,pr,fr,hr,yr,mr,gr,br,Je,Yc,Qc,Xc,Jc,el,Do,tl,rl,ol,nl,al,il,Bo=f(()=>{"use strict";Fe=b(B()),R=b(N());j();Zc();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();qc=R.FtCssVariableFactory.extend("--ft-typography-font-family","",R.designSystemVariables.titleFont),dt=R.FtCssVariableFactory.extend("--ft-typography-font-family","",R.designSystemVariables.contentFont),I={fontFamily:dt,fontSize:R.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:R.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:R.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:R.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:R.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},dr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-title-font-family","",qc),fontSize:R.FtCssVariableFactory.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},ur={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",qc),fontSize:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},pr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},fr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},hr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},yr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},mr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},gr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},br={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},Je={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-button-font-family","",dt),fontSize:R.FtCssVariableFactory.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},Yc=Fe.css`
124
124
  .ft-typography--title {
125
- font-family: ${cr.fontFamily};
126
- font-size: ${cr.fontSize};
127
- font-weight: ${cr.fontWeight};
128
- letter-spacing: ${cr.letterSpacing};
129
- line-height: ${cr.lineHeight};
130
- text-transform: ${cr.textTransform};
131
- }
132
- `,Xc=Ue.css`
133
- .ft-typography--title-dense {
134
- font-family: ${lr.fontFamily};
135
- font-size: ${lr.fontSize};
136
- font-weight: ${lr.fontWeight};
137
- letter-spacing: ${lr.letterSpacing};
138
- line-height: ${lr.lineHeight};
139
- text-transform: ${lr.textTransform};
140
- }
141
- `,Jc=Ue.css`
142
- .ft-typography--subtitle1 {
143
125
  font-family: ${dr.fontFamily};
144
126
  font-size: ${dr.fontSize};
145
127
  font-weight: ${dr.fontWeight};
@@ -147,8 +129,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
147
129
  line-height: ${dr.lineHeight};
148
130
  text-transform: ${dr.textTransform};
149
131
  }
150
- `,el=Ue.css`
151
- .ft-typography--subtitle2 {
132
+ `,Qc=Fe.css`
133
+ .ft-typography--title-dense {
152
134
  font-family: ${ur.fontFamily};
153
135
  font-size: ${ur.fontSize};
154
136
  font-weight: ${ur.fontWeight};
@@ -156,9 +138,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
156
138
  line-height: ${ur.lineHeight};
157
139
  text-transform: ${ur.textTransform};
158
140
  }
159
-
160
- `,tl=Ue.css`
161
- .ft-typography--body1 {
141
+ `,Xc=Fe.css`
142
+ .ft-typography--subtitle1 {
162
143
  font-family: ${pr.fontFamily};
163
144
  font-size: ${pr.fontSize};
164
145
  font-weight: ${pr.fontWeight};
@@ -166,8 +147,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
166
147
  line-height: ${pr.lineHeight};
167
148
  text-transform: ${pr.textTransform};
168
149
  }
169
- `,ko=Ue.css`
170
- .ft-typography--body2 {
150
+ `,Jc=Fe.css`
151
+ .ft-typography--subtitle2 {
171
152
  font-family: ${fr.fontFamily};
172
153
  font-size: ${fr.fontSize};
173
154
  font-weight: ${fr.fontWeight};
@@ -175,8 +156,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
175
156
  line-height: ${fr.lineHeight};
176
157
  text-transform: ${fr.textTransform};
177
158
  }
178
- `,rl=Ue.css`
179
- .ft-typography--caption {
159
+
160
+ `,el=Fe.css`
161
+ .ft-typography--body1 {
180
162
  font-family: ${hr.fontFamily};
181
163
  font-size: ${hr.fontSize};
182
164
  font-weight: ${hr.fontWeight};
@@ -184,8 +166,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
184
166
  line-height: ${hr.lineHeight};
185
167
  text-transform: ${hr.textTransform};
186
168
  }
187
- `,ol=Ue.css`
188
- .ft-typography--breadcrumb {
169
+ `,Do=Fe.css`
170
+ .ft-typography--body2 {
189
171
  font-family: ${yr.fontFamily};
190
172
  font-size: ${yr.fontSize};
191
173
  font-weight: ${yr.fontWeight};
@@ -193,8 +175,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
193
175
  line-height: ${yr.lineHeight};
194
176
  text-transform: ${yr.textTransform};
195
177
  }
196
- `,nl=Ue.css`
197
- .ft-typography--overline {
178
+ `,tl=Fe.css`
179
+ .ft-typography--caption {
198
180
  font-family: ${mr.fontFamily};
199
181
  font-size: ${mr.fontSize};
200
182
  font-weight: ${mr.fontWeight};
@@ -202,7 +184,25 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
202
184
  line-height: ${mr.lineHeight};
203
185
  text-transform: ${mr.textTransform};
204
186
  }
205
- `,al=Ue.css`
187
+ `,rl=Fe.css`
188
+ .ft-typography--breadcrumb {
189
+ font-family: ${gr.fontFamily};
190
+ font-size: ${gr.fontSize};
191
+ font-weight: ${gr.fontWeight};
192
+ letter-spacing: ${gr.letterSpacing};
193
+ line-height: ${gr.lineHeight};
194
+ text-transform: ${gr.textTransform};
195
+ }
196
+ `,ol=Fe.css`
197
+ .ft-typography--overline {
198
+ font-family: ${br.fontFamily};
199
+ font-size: ${br.fontSize};
200
+ font-weight: ${br.fontWeight};
201
+ letter-spacing: ${br.letterSpacing};
202
+ line-height: ${br.lineHeight};
203
+ text-transform: ${br.textTransform};
204
+ }
205
+ `,nl=Fe.css`
206
206
  .ft-typography--button {
207
207
  font-family: ${Je.fontFamily};
208
208
  font-size: ${Je.fontSize};
@@ -211,11 +211,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
211
211
  line-height: ${Je.lineHeight};
212
212
  text-transform: ${Je.textTransform};
213
213
  }
214
- `,il=Ue.css`
214
+ `,al=Fe.css`
215
215
  .ft-typography {
216
216
  vertical-align: inherit;
217
217
  }
218
- `,sl=[Object.keys(Io).map(t=>Zc(t))]});var cl,zr,J,ll,Gr=f(()=>{"use strict";cl=b(B()),zr=b(N()),J={color:zr.FtCssVariableFactory.extend("--ft-loader-color","",zr.designSystemVariables.colorPrimary),size:zr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},ll=cl.css`
218
+ `,il=[Object.keys(Io).map(t=>Kc(t))]});var sl,jr,J,cl,Vr=f(()=>{"use strict";sl=b(B()),jr=b(N()),J={color:jr.FtCssVariableFactory.extend("--ft-loader-color","",jr.designSystemVariables.colorPrimary),size:jr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},cl=sl.css`
219
219
  :host {
220
220
  line-height: 0;
221
221
  }
@@ -284,7 +284,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
284
284
  transform: translate(calc(0.35 * ${J.size}), 0);
285
285
  }
286
286
  }
287
- `});var dl,je,Oe,ul,jr=f(()=>{"use strict";dl=b(B()),je=b(N()),Oe={size:je.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:je.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",je.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:je.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",je.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:je.FtCssVariableFactory.extend("--ft-icon-material-font-family","",je.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:je.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ul=[dl.css`
287
+ `});var ll,je,Oe,dl,Kr=f(()=>{"use strict";ll=b(B()),je=b(N()),Oe={size:je.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:je.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",je.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:je.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",je.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:je.FtCssVariableFactory.extend("--ft-icon-material-font-family","",je.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:je.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},dl=[ll.css`
288
288
  :host, i.ft-icon {
289
289
  display: inline-flex;
290
290
  align-items: center;
@@ -332,7 +332,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
332
332
  .ft-icon--material {
333
333
  font-family: ${Oe.materialFontFamily}, "Material Icons", sans-serif;
334
334
  }
335
- `,je.noTextSelect]});var hl,$,pl,ne,fl,ca,et,yl,la=f(()=>{"use strict";hl=b(B()),$=b(N());Zt();Do();Gr();jr();pl=$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorPrimary),ne={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorSurface),borderRadius:$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusL),color:pl,fontSize:$.FtCssVariableFactory.extend("--ft-button-font-size","",Je.fontSize),iconSize:$.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$.FtCssVariableFactory.extend("--ft-button-ripple-color","",pl),verticalPadding:$.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},fl=$.FtCssVariableFactory.extend("--ft-button-primary-color","",$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorOnPrimary)),ca={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-primary-background-color","",$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorPrimary)),color:fl,rippleColor:$.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",fl)},et={borderRadius:$.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusM)),verticalPadding:$.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},yl=[hl.css`
335
+ `,je.noTextSelect]});var fl,$,ul,ne,pl,aa,et,hl,ia=f(()=>{"use strict";fl=b(B()),$=b(N());qt();Bo();Vr();Kr();ul=$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorPrimary),ne={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorSurface),borderRadius:$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusL),color:ul,fontSize:$.FtCssVariableFactory.extend("--ft-button-font-size","",Je.fontSize),iconSize:$.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$.FtCssVariableFactory.extend("--ft-button-ripple-color","",ul),verticalPadding:$.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},pl=$.FtCssVariableFactory.extend("--ft-button-primary-color","",$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorOnPrimary)),aa={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-primary-background-color","",$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorPrimary)),color:pl,rippleColor:$.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",pl)},et={borderRadius:$.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusM)),verticalPadding:$.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},hl=[fl.css`
336
336
  :host {
337
337
  display: inline-block;
338
338
  max-width: 100%;
@@ -418,9 +418,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
418
418
  }
419
419
 
420
420
  .ft-button.ft-button--primary {
421
- background-color: ${ca.backgroundColor};
422
- --ft-button-internal-color: ${ca.color};
423
- ${(0,$.setVariable)(w.color,ca.rippleColor)};
421
+ background-color: ${aa.backgroundColor};
422
+ --ft-button-internal-color: ${aa.color};
423
+ ${(0,$.setVariable)(w.color,aa.rippleColor)};
424
424
  }
425
425
 
426
426
  .ft-button:focus {
@@ -469,28 +469,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
469
469
  ${(0,$.setVariable)(J.size,ne.iconSize)};
470
470
  ${(0,$.setVariable)(J.color,"var(--ft-button-internal-color)")};
471
471
  }
472
- `,$.noTextSelect]});var Vr=Vt((_v,ml)=>{ml.exports=ftGlobals.litClassMap});var gl,he,bl,Kr,Ae,X,da=f(()=>{"use strict";gl=b(B()),he=b(Q()),bl=b(Vr()),Kr=b(N());Zt();Ae=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},X=class extends Kr.FtLitElement{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Kr.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Kr.Debouncer(10),this.moveRipple=e=>{var o,n;let{x:a,y:i}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return gl.html`
472
+ `,$.noTextSelect]});var Zr=Kt((Dv,yl)=>{yl.exports=ftGlobals.litClassMap});var ml,he,gl,qr,Ae,X,sa=f(()=>{"use strict";ml=b(B()),he=b(Q()),gl=b(Zr()),qr=b(N());qt();Ae=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},X=class extends qr.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 qr.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 qr.Debouncer(10),this.moveRipple=e=>{var o,n;let{x:a,y:i}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ml.html`
473
473
  <style>
474
474
  .ft-ripple .ft-ripple--effect {
475
475
  left: ${this.originX}px;
476
476
  top: ${this.originY}px;
477
477
  }
478
478
  </style>
479
- <div class="${(0,bl.classMap)(e)}">
479
+ <div class="${(0,gl.classMap)(e)}">
480
480
  <div class="ft-ripple--background"></div>
481
481
  <div class="ft-ripple--effect"></div>
482
482
  </div>
483
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}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 o=(...l)=>p=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};X.elementDefinitions={};X.styles=Fs;Ae([(0,he.property)({type:Boolean})],X.prototype,"primary",void 0);Ae([(0,he.property)({type:Boolean})],X.prototype,"secondary",void 0);Ae([(0,he.property)({type:Boolean})],X.prototype,"unbounded",void 0);Ae([(0,he.property)({type:Boolean})],X.prototype,"activated",void 0);Ae([(0,he.property)({type:Boolean})],X.prototype,"selected",void 0);Ae([(0,he.property)({type:Boolean})],X.prototype,"disabled",void 0);Ae([(0,he.state)()],X.prototype,"hovered",void 0);Ae([(0,he.state)()],X.prototype,"focused",void 0);Ae([(0,he.state)()],X.prototype,"pressed",void 0);Ae([(0,he.state)()],X.prototype,"rippling",void 0);Ae([(0,he.state)()],X.prototype,"originX",void 0);Ae([(0,he.state)()],X.prototype,"originY",void 0);Ae([(0,he.query)(".ft-ripple")],X.prototype,"ripple",void 0);Ae([(0,he.query)(".ft-ripple--effect")],X.prototype,"rippleEffect",void 0)});var xl=f(()=>{"use strict"});var vl,Bo=f(()=>{"use strict";vl=b(N());da();da();Zt();xl();(0,vl.customElement)("ft-ripple")(X)});function Ll(t,e){if(!ba(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Sl!==void 0?Sl.createHTML(e):e}function gr(t,e,o=t,n){if(e===Yr)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=qr(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=gr(t,a._$AS(t,e.values),a,n)),e}var ga,Mo,Sl,Rl,wt,Nl,Rh,Qt,$o,qr,ba,Nh,ua,Zr,Cl,Ol,qt,El,wl,Tl,xa,_l,Il,Pl,Yr,le,Al,Yt,Th,Qr,pa,Uo,br,fa,ha,ya,ma,_h,va=f(()=>{ga=globalThis,Mo=ga.trustedTypes,Sl=Mo?Mo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Rl="$lit$",wt=`lit$${Math.random().toFixed(9).slice(2)}$`,Nl="?"+wt,Rh=`<${Nl}>`,Qt=document,$o=()=>Qt.createComment(""),qr=t=>t===null||typeof t!="object"&&typeof t!="function",ba=Array.isArray,Nh=t=>ba(t)||typeof t?.[Symbol.iterator]=="function",ua=`[
484
- \f\r]`,Zr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Cl=/-->/g,Ol=/>/g,qt=RegExp(`>|${ua}(?:([^\\s"'>=/]+)(${ua}*=${ua}*(?:[^
485
- \f\r"'\`<>=]|("|')|))|$)`,"g"),El=/'/g,wl=/"/g,Tl=/^(?:script|style|textarea|title)$/i,xa=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),_l=xa(1),Il=xa(2),Pl=xa(3),Yr=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),Al=new WeakMap,Yt=Qt.createTreeWalker(Qt,129);Th=(t,e)=>{let o=t.length-1,n=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=Zr;for(let l=0;l<o;l++){let p=t[l],u,m,h=-1,x=0;for(;x<p.length&&(s.lastIndex=x,m=s.exec(p),m!==null);)x=s.lastIndex,s===Zr?m[1]==="!--"?s=Cl:m[1]!==void 0?s=Ol:m[2]!==void 0?(Tl.test(m[2])&&(a=RegExp("</"+m[2],"g")),s=qt):m[3]!==void 0&&(s=qt):s===qt?m[0]===">"?(s=a??Zr,h=-1):m[1]===void 0?h=-2:(h=s.lastIndex-m[2].length,u=m[1],s=m[3]===void 0?qt:m[3]==='"'?wl:El):s===wl||s===El?s=qt:s===Cl||s===Ol?s=Zr:(s=qt,a=void 0);let C=s===qt&&t[l+1].startsWith("/>")?" ":"";i+=s===Zr?p+Rh:h>=0?(n.push(u),p.slice(0,h)+Rl+p.slice(h)+wt+C):p+wt+(h===-2?l:C)}return[Ll(t,i+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Qr=class t{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,p=this.parts,[u,m]=Th(e,o);if(this.el=t.createElement(u,n),Yt.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=Yt.nextNode())!==null&&p.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(Rl)){let x=m[s++],C=a.getAttribute(h).split(wt),S=/([.?@])?(.*)/.exec(x);p.push({type:1,index:i,name:S[2],strings:C,ctor:S[1]==="."?fa:S[1]==="?"?ha:S[1]==="@"?ya:br}),a.removeAttribute(h)}else h.startsWith(wt)&&(p.push({type:6,index:i}),a.removeAttribute(h));if(Tl.test(a.tagName)){let h=a.textContent.split(wt),x=h.length-1;if(x>0){a.textContent=Mo?Mo.emptyScript:"";for(let C=0;C<x;C++)a.append(h[C],$o()),Yt.nextNode(),p.push({type:2,index:++i});a.append(h[x],$o())}}}else if(a.nodeType===8)if(a.data===Nl)p.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(wt,h+1))!==-1;)p.push({type:7,index:i}),h+=wt.length-1}i++}}static createElement(e,o){let n=Qt.createElement("template");return n.innerHTML=e,n}};pa=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??Qt).importNode(o,!0);Yt.currentNode=a;let i=Yt.nextNode(),s=0,l=0,p=n[0];for(;p!==void 0;){if(s===p.index){let u;p.type===2?u=new Uo(i,i.nextSibling,this,e):p.type===1?u=new p.ctor(i,p.name,p.strings,this,e):p.type===6&&(u=new ma(i,this,e)),this._$AV.push(u),p=n[++l]}s!==p?.index&&(i=Yt.nextNode(),s++)}return Yt.currentNode=Qt,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Uo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=le,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=gr(this,e,o),qr(e)?e===le||e==null||e===""?(this._$AH!==le&&this._$AR(),this._$AH=le):e!==this._$AH&&e!==Yr&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Nh(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!==le&&qr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Qt.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Qr.createElement(Ll(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new pa(a,this),s=i.u(this.options);i.p(o),this.T(s),this._$AH=i}}_$AC(e){let o=Al.get(e.strings);return o===void 0&&Al.set(e.strings,o=new Qr(e)),o}k(e){ba(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new t(this.O($o()),this.O($o()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},br=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=le,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=le}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=gr(this,e,o,0),s=!qr(e)||e!==this._$AH&&e!==Yr,s&&(this._$AH=e);else{let l=e,p,u;for(e=i[0],p=0;p<i.length-1;p++)u=gr(this,l[n+p],o,p),u===Yr&&(u=this._$AH[p]),s||=!qr(u)||u!==this._$AH[p],u===le?e=le:e!==le&&(e+=(u??"")+i[p+1]),this._$AH[p]=u}s&&!a&&this.j(e)}j(e){e===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},fa=class extends br{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===le?void 0:e}},ha=class extends br{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==le)}},ya=class extends br{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=gr(this,e,o,0)??le)===Yr)return;let n=this._$AH,a=e===le&&n!==le||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==le&&(n===le||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},ma=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){gr(this,e)}},_h=ga.litHtmlPolyfillSupport;_h?.(Qr,Uo),(ga.litHtmlVersions??=[]).push("3.3.0")});var Dl,Ih,Sa,kl,Ca,Oa,Fv,Wv,Bl=f(()=>{va();Dl=Symbol.for(""),Ih=t=>{if(t?.r===Dl)return t?._$litStatic$},Sa=t=>({_$litStatic$:t,r:Dl}),kl=new Map,Ca=t=>(e,...o)=>{let n=o.length,a,i,s=[],l=[],p,u=0,m=!1;for(;u<n;){for(p=e[u];u<n&&(i=o[u],(a=Ih(i))!==void 0);)p+=a+e[++u],m=!0;u!==n&&l.push(i),s.push(p),u++}if(u===n&&s.push(e[n]),m){let h=s.join("$$lit$$");(e=kl.get(h))===void 0&&(s.raw=s,kl.set(h,e=s)),o=l}return t(e,...o)},Oa=Ca(_l),Fv=Ca(Il),Wv=Ca(Pl)});var Ml=f(()=>{Bl()});var At,Fo=f(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(At||(At={}))});var Ea,Ul,$l,se,wa=f(()=>{"use strict";Ml();Ea=b(Q()),Ul=b(N());Fo();Do();$l=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},se=class extends Ul.FtLitElement{constructor(){super(...arguments),this.variant=At.body1}render(){return this.element?Oa`
486
- <${Sa(this.element)}
483
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}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 o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};X.elementDefinitions={};X.styles=Us;Ae([(0,he.property)({type:Boolean})],X.prototype,"primary",void 0);Ae([(0,he.property)({type:Boolean})],X.prototype,"secondary",void 0);Ae([(0,he.property)({type:Boolean})],X.prototype,"unbounded",void 0);Ae([(0,he.property)({type:Boolean})],X.prototype,"activated",void 0);Ae([(0,he.property)({type:Boolean})],X.prototype,"selected",void 0);Ae([(0,he.property)({type:Boolean})],X.prototype,"disabled",void 0);Ae([(0,he.state)()],X.prototype,"hovered",void 0);Ae([(0,he.state)()],X.prototype,"focused",void 0);Ae([(0,he.state)()],X.prototype,"pressed",void 0);Ae([(0,he.state)()],X.prototype,"rippling",void 0);Ae([(0,he.state)()],X.prototype,"originX",void 0);Ae([(0,he.state)()],X.prototype,"originY",void 0);Ae([(0,he.query)(".ft-ripple")],X.prototype,"ripple",void 0);Ae([(0,he.query)(".ft-ripple--effect")],X.prototype,"rippleEffect",void 0)});var bl=f(()=>{"use strict"});var xl,Mo=f(()=>{"use strict";xl=b(N());sa();sa();qt();bl();(0,xl.customElement)("ft-ripple")(X)});function Il(t,e){if(!ya(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return vl!==void 0?vl.createHTML(e):e}function xr(t,e,o=t,n){if(e===Xr)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Qr(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=xr(t,a._$AS(t,e.values),a,n)),e}var ha,$o,vl,Al,At,Rl,Ih,Xt,Uo,Qr,ya,Lh,ca,Yr,Sl,Cl,Yt,Ol,El,Nl,ma,Tl,Pl,_l,Xr,le,wl,Qt,kh,Jr,la,Fo,vr,da,ua,pa,fa,Dh,ga=f(()=>{ha=globalThis,$o=ha.trustedTypes,vl=$o?$o.createPolicy("lit-html",{createHTML:t=>t}):void 0,Al="$lit$",At=`lit$${Math.random().toFixed(9).slice(2)}$`,Rl="?"+At,Ih=`<${Rl}>`,Xt=document,Uo=()=>Xt.createComment(""),Qr=t=>t===null||typeof t!="object"&&typeof t!="function",ya=Array.isArray,Lh=t=>ya(t)||typeof t?.[Symbol.iterator]=="function",ca=`[
484
+ \f\r]`,Yr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Sl=/-->/g,Cl=/>/g,Yt=RegExp(`>|${ca}(?:([^\\s"'>=/]+)(${ca}*=${ca}*(?:[^
485
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ol=/'/g,El=/"/g,Nl=/^(?:script|style|textarea|title)$/i,ma=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Tl=ma(1),Pl=ma(2),_l=ma(3),Xr=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),wl=new WeakMap,Qt=Xt.createTreeWalker(Xt,129);kh=(t,e)=>{let o=t.length-1,n=[],a,i=e===2?"<svg>":e===3?"<math>":"",s=Yr;for(let l=0;l<o;l++){let u=t[l],p,g,m=-1,x=0;for(;x<u.length&&(s.lastIndex=x,g=s.exec(u),g!==null);)x=s.lastIndex,s===Yr?g[1]==="!--"?s=Sl:g[1]!==void 0?s=Cl:g[2]!==void 0?(Nl.test(g[2])&&(a=RegExp("</"+g[2],"g")),s=Yt):g[3]!==void 0&&(s=Yt):s===Yt?g[0]===">"?(s=a??Yr,m=-1):g[1]===void 0?m=-2:(m=s.lastIndex-g[2].length,p=g[1],s=g[3]===void 0?Yt:g[3]==='"'?El:Ol):s===El||s===Ol?s=Yt:s===Sl||s===Cl?s=Yr:(s=Yt,a=void 0);let C=s===Yt&&t[l+1].startsWith("/>")?" ":"";i+=s===Yr?u+Ih:m>=0?(n.push(p),u.slice(0,m)+Al+u.slice(m)+At+C):u+At+(m===-2?l:C)}return[Il(t,i+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Jr=class t{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,u=this.parts,[p,g]=kh(e,o);if(this.el=t.createElement(p,n),Qt.currentNode=this.el.content,o===2||o===3){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(a=Qt.nextNode())!==null&&u.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let m of a.getAttributeNames())if(m.endsWith(Al)){let x=g[s++],C=a.getAttribute(m).split(At),S=/([.?@])?(.*)/.exec(x);u.push({type:1,index:i,name:S[2],strings:C,ctor:S[1]==="."?da:S[1]==="?"?ua:S[1]==="@"?pa:vr}),a.removeAttribute(m)}else m.startsWith(At)&&(u.push({type:6,index:i}),a.removeAttribute(m));if(Nl.test(a.tagName)){let m=a.textContent.split(At),x=m.length-1;if(x>0){a.textContent=$o?$o.emptyScript:"";for(let C=0;C<x;C++)a.append(m[C],Uo()),Qt.nextNode(),u.push({type:2,index:++i});a.append(m[x],Uo())}}}else if(a.nodeType===8)if(a.data===Rl)u.push({type:2,index:i});else{let m=-1;for(;(m=a.data.indexOf(At,m+1))!==-1;)u.push({type:7,index:i}),m+=At.length-1}i++}}static createElement(e,o){let n=Xt.createElement("template");return n.innerHTML=e,n}};la=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??Xt).importNode(o,!0);Qt.currentNode=a;let i=Qt.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new Fo(i,i.nextSibling,this,e):u.type===1?p=new u.ctor(i,u.name,u.strings,this,e):u.type===6&&(p=new fa(i,this,e)),this._$AV.push(p),u=n[++l]}s!==u?.index&&(i=Qt.nextNode(),s++)}return Qt.currentNode=Xt,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Fo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=le,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=xr(this,e,o),Qr(e)?e===le||e==null||e===""?(this._$AH!==le&&this._$AR(),this._$AH=le):e!==this._$AH&&e!==Xr&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Lh(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!==le&&Qr(this._$AH)?this._$AA.nextSibling.data=e:this.T(Xt.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Jr.createElement(Il(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new la(a,this),s=i.u(this.options);i.p(o),this.T(s),this._$AH=i}}_$AC(e){let o=wl.get(e.strings);return o===void 0&&wl.set(e.strings,o=new Jr(e)),o}k(e){ya(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new t(this.O(Uo()),this.O(Uo()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},vr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=le,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=le}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=xr(this,e,o,0),s=!Qr(e)||e!==this._$AH&&e!==Xr,s&&(this._$AH=e);else{let l=e,u,p;for(e=i[0],u=0;u<i.length-1;u++)p=xr(this,l[n+u],o,u),p===Xr&&(p=this._$AH[u]),s||=!Qr(p)||p!==this._$AH[u],p===le?e=le:e!==le&&(e+=(p??"")+i[u+1]),this._$AH[u]=p}s&&!a&&this.j(e)}j(e){e===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},da=class extends vr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===le?void 0:e}},ua=class extends vr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==le)}},pa=class extends vr{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=xr(this,e,o,0)??le)===Xr)return;let n=this._$AH,a=e===le&&n!==le||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==le&&(n===le||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},fa=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){xr(this,e)}},Dh=ha.litHtmlPolyfillSupport;Dh?.(Jr,Fo),(ha.litHtmlVersions??=[]).push("3.3.0")});var kl,Bh,ba,Ll,xa,va,jv,Vv,Dl=f(()=>{ga();kl=Symbol.for(""),Bh=t=>{if(t?.r===kl)return t?._$litStatic$},ba=t=>({_$litStatic$:t,r:kl}),Ll=new Map,xa=t=>(e,...o)=>{let n=o.length,a,i,s=[],l=[],u,p=0,g=!1;for(;p<n;){for(u=e[p];p<n&&(i=o[p],(a=Bh(i))!==void 0);)u+=a+e[++p],g=!0;p!==n&&l.push(i),s.push(u),p++}if(p===n&&s.push(e[n]),g){let m=s.join("$$lit$$");(e=Ll.get(m))===void 0&&(s.raw=s,Ll.set(m,e=s)),o=l}return t(e,...o)},va=xa(Tl),jv=xa(Pl),Vv=xa(_l)});var Bl=f(()=>{Dl()});var Rt,Wo=f(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Rt||(Rt={}))});var Sa,$l,Ml,se,Ca=f(()=>{"use strict";Bl();Sa=b(Q()),$l=b(N());Wo();Bo();Ml=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},se=class extends $l.FtLitElement{constructor(){super(...arguments),this.variant=Rt.body1}render(){return this.element?va`
486
+ <${ba(this.element)}
487
487
  part="text"
488
488
  class="ft-typography ft-typography--${this.variant}">
489
489
  <slot></slot>
490
- </${Sa(this.element)}>
491
- `:Oa`
490
+ </${ba(this.element)}>
491
+ `:va`
492
492
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
493
- `}};se.styles=[Qc,Xc,Jc,el,tl,ko,rl,ol,nl,al,il,...sl];$l([(0,Ea.property)()],se.prototype,"element",void 0);$l([(0,Ea.property)()],se.prototype,"variant",void 0)});var Fl,ut=f(()=>{"use strict";Fl=b(N());wa();wa();Do();Fo();(0,Fl.customElement)("ft-typography")(se)});var Wl,pt,Rt,Hl,Aa=f(()=>{"use strict";Wl=b(B()),pt=b(N()),Rt={distance:pt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:pt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:pt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:pt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:pt.FtCssVariableFactory.external(pt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:pt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Hl=Wl.css`
493
+ `}};se.styles=[Yc,Qc,Xc,Jc,el,Do,tl,rl,ol,nl,al,...il];Ml([(0,Sa.property)()],se.prototype,"element",void 0);Ml([(0,Sa.property)()],se.prototype,"variant",void 0)});var Ul,ut=f(()=>{"use strict";Ul=b(N());Ca();Ca();Bo();Wo();(0,Ul.customElement)("ft-typography")(se)});var Fl,pt,Nt,Wl,Oa=f(()=>{"use strict";Fl=b(B()),pt=b(N()),Nt={distance:pt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:pt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:pt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:pt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:pt.FtCssVariableFactory.external(pt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:pt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Wl=Fl.css`
494
494
  .ft-tooltip--container {
495
495
  display: block;
496
496
  }
@@ -505,21 +505,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
505
505
  box-sizing: border-box;
506
506
  overflow: hidden;
507
507
  width: max-content;
508
- max-width: ${Rt.maxWidth};
508
+ max-width: ${Nt.maxWidth};
509
509
  text-align: center;
510
- padding: ${Rt.distance};
511
- z-index: ${Rt.zIndex};
510
+ padding: ${Nt.distance};
511
+ z-index: ${Nt.zIndex};
512
512
  }
513
513
 
514
514
  .ft-tooltip--content {
515
515
  padding: 4px 8px;
516
- border-radius: ${Rt.borderRadiusS};
517
- background-color: ${Rt.backgroundColor};
518
- color: ${Rt.color};
516
+ border-radius: ${Nt.borderRadiusS};
517
+ background-color: ${Nt.backgroundColor};
518
+ color: ${Nt.color};
519
519
  position: relative;
520
520
  word-break: break-word;
521
521
  }
522
- `});function Ta(t,e,o){return Vl(t,jl(e,o))}function Wo(t,e){return typeof t=="function"?t(e):t}function xr(t){return t.split("-")[0]}function Nt(t){return t.split("-")[1]}function _a(t){return t==="x"?"y":"x"}function Ia(t){return t==="y"?"height":"width"}function Ho(t){return["top","bottom"].includes(xr(t))?"y":"x"}function Pa(t){return _a(Ho(t))}function Kl(t,e,o){o===void 0&&(o=!1);let n=Nt(t),a=Pa(t),i=Ia(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Ra(s)),[s,Ra(s)]}function Zl(t){return t.replace(/start|end/g,e=>Lh[e])}function Ra(t){return t.replace(/left|right|bottom|top/g,e=>Ph[e])}function kh(t){return{top:0,right:0,bottom:0,left:0,...t}}function ql(t){return typeof t!="number"?kh(t):{top:t,right:t,bottom:t,left:t}}function Xt(t){let{x:e,y:o,width:n,height:a}=t;return{width:n,height:a,top:o,left:e,right:e+n,bottom:o+a,x:e,y:o}}var Gl,zl,Na,jl,Vl,Ph,Lh,La=f(()=>{Gl=["top","right","bottom","left"],zl=["start","end"],Na=Gl.reduce((t,e)=>t.concat(e,e+"-"+zl[0],e+"-"+zl[1]),[]),jl=Math.min,Vl=Math.max,Ph={left:"right",right:"left",bottom:"top",top:"bottom"},Lh={start:"end",end:"start"}});function Yl(t,e,o){let{reference:n,floating:a}=t,i=Ho(e),s=Pa(e),l=Ia(s),p=xr(e),u=i==="y",m=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,x=n[l]/2-a[l]/2,C;switch(p){case"top":C={x:m,y:n.y-a.height};break;case"bottom":C={x:m,y:n.y+n.height};break;case"right":C={x:n.x+n.width,y:h};break;case"left":C={x:n.x-a.width,y:h};break;default:C={x:n.x,y:n.y}}switch(Nt(e)){case"start":C[s]-=x*(o&&u?-1:1);break;case"end":C[s]+=x*(o&&u?-1:1);break}return C}async function ka(t,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:p}=t,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:h="floating",altBoundary:x=!1,padding:C=0}=Wo(e,t),S=ql(C),I=l[x?h==="floating"?"reference":"floating":h],T=Xt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(I)))==null||o?I:I.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:p})),_=h==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,M=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),U=await(i.isElement==null?void 0:i.isElement(M))?await(i.getScale==null?void 0:i.getScale(M))||{x:1,y:1}:{x:1,y:1},W=Xt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:_,offsetParent:M,strategy:p}):_);return{top:(T.top-W.top+S.top)/U.y,bottom:(W.bottom-T.bottom+S.bottom)/U.y,left:(T.left-W.left+S.left)/U.x,right:(W.right-T.right+S.right)/U.x}}function Dh(t,e,o){return(t?[...o.filter(a=>Nt(a)===t),...o.filter(a=>Nt(a)!==t)]:o.filter(a=>xr(a)===a)).filter(a=>t?Nt(a)===t||(e?Zl(a)!==a:!1):!0)}var Ql,Da,Ba,Ma=f(()=>{La();La();Ql=async(t,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:m,y:h}=Yl(u,n,p),x=n,C={},S=0;for(let O=0;O<l.length;O++){let{name:I,fn:T}=l[O],{x:_,y:M,data:U,reset:W}=await T({x:m,y:h,initialPlacement:n,placement:x,strategy:a,middlewareData:C,rects:u,platform:s,elements:{reference:t,floating:e}});m=_??m,h=M??h,C={...C,[I]:{...C[I],...U}},W&&S<=50&&(S++,typeof W=="object"&&(W.placement&&(x=W.placement),W.rects&&(u=W.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):W.rects),{x:m,y:h}=Yl(u,x,p)),O=-1)}return{x:m,y:h,placement:x,strategy:a,middlewareData:C}};Da=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:p,elements:u}=e,{crossAxis:m=!1,alignment:h,allowedPlacements:x=Na,autoAlignment:C=!0,...S}=Wo(t,e),O=h!==void 0||x===Na?Dh(h||null,C,x):x,I=await ka(e,S),T=((o=s.autoPlacement)==null?void 0:o.index)||0,_=O[T];if(_==null)return{};let M=Kl(_,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==_)return{reset:{placement:O[0]}};let U=[I[xr(_)],I[M[0]],I[M[1]]],W=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:U}],we=O[T+1];if(we)return{data:{index:T+1,overflows:W},reset:{placement:we}};let Qe=W.map(pe=>{let g=Nt(pe.placement);return[pe.placement,g&&m?pe.overflows.slice(0,2).reduce((v,D)=>v+D,0):pe.overflows[0],pe.overflows]}).sort((pe,g)=>pe[1]-g[1]),Xe=((a=Qe.filter(pe=>pe[2].slice(0,Nt(pe[0])?2:3).every(g=>g<=0))[0])==null?void 0:a[0])||Qe[0][0];return Xe!==l?{data:{index:T+1,overflows:W},reset:{placement:Xe}}:{}}}},Ba=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:I=>{let{x:T,y:_}=I;return{x:T,y:_}}},...p}=Wo(t,e),u={x:o,y:n},m=await ka(e,p),h=Ho(xr(a)),x=_a(h),C=u[x],S=u[h];if(i){let I=x==="y"?"top":"left",T=x==="y"?"bottom":"right",_=C+m[I],M=C-m[T];C=Ta(_,C,M)}if(s){let I=h==="y"?"top":"left",T=h==="y"?"bottom":"right",_=S+m[I],M=S-m[T];S=Ta(_,S,M)}let O=l.fn({...e,[x]:C,[h]:S});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[x]:i,[h]:s}}}}}}});var $a,vr,Xr,ft,Xl=f(()=>{$a=Math.min,vr=Math.max,Xr=Math.round,ft=t=>({x:t,y:t})});function ht(t){return ed(t)?(t.nodeName||"").toLowerCase():"#document"}function Re(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function yt(t){var e;return(e=(ed(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ed(t){return t instanceof Node||t instanceof Re(t).Node}function tt(t){return t instanceof Element||t instanceof Re(t).Element}function Ve(t){return t instanceof HTMLElement||t instanceof Re(t).HTMLElement}function Jl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Re(t).ShadowRoot}function Sr(t){let{overflow:e,overflowX:o,overflowY:n,display:a}=Pe(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function td(t){return["table","td","th"].includes(ht(t))}function Go(t){let e=jo(),o=Pe(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function rd(t){let e=Jt(t);for(;Ve(e)&&!Jr(e);){if(Go(e))return e;e=Jt(e)}return null}function jo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Jr(t){return["html","body","#document"].includes(ht(t))}function Pe(t){return Re(t).getComputedStyle(t)}function eo(t){return tt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Jt(t){if(ht(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Jl(t)&&t.host||yt(t);return Jl(e)?e.host:e}function od(t){let e=Jt(t);return Jr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ve(e)&&Sr(e)?e:od(e)}function zo(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=od(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Re(a);return i?e.concat(s,s.visualViewport||[],Sr(a)?a:[],s.frameElement&&o?zo(s.frameElement):[]):e.concat(a,zo(a,[],o))}var nd=f(()=>{});function sd(t){let e=Pe(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Ve(t),i=a?t.offsetWidth:o,s=a?t.offsetHeight:n,l=Xr(o)!==i||Xr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function cd(t){return tt(t)?t:t.contextElement}function Cr(t){let e=cd(t);if(!Ve(e))return ft(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=sd(e),s=(i?Xr(o.width):o.width)/n,l=(i?Xr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function ld(t){let e=Re(t);return!jo()||!e.visualViewport?$h:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Uh(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Re(t)?!1:e}function to(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=t.getBoundingClientRect(),i=cd(t),s=ft(1);e&&(n?tt(n)&&(s=Cr(n)):s=Cr(t));let l=Uh(i,o,n)?ld(i):ft(0),p=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,m=a.width/s.x,h=a.height/s.y;if(i){let x=Re(i),C=n&&tt(n)?Re(n):n,S=x.frameElement;for(;S&&n&&C!==x;){let O=Cr(S),I=S.getBoundingClientRect(),T=Pe(S),_=I.left+(S.clientLeft+parseFloat(T.paddingLeft))*O.x,M=I.top+(S.clientTop+parseFloat(T.paddingTop))*O.y;p*=O.x,u*=O.y,m*=O.x,h*=O.y,p+=_,u+=M,S=Re(S).frameElement}}return Xt({width:m,height:h,x:p,y:u})}function Fh(t){let{rect:e,offsetParent:o,strategy:n}=t,a=Ve(o),i=yt(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},l=ft(1),p=ft(0);if((a||!a&&n!=="fixed")&&((ht(o)!=="body"||Sr(i))&&(s=eo(o)),Ve(o))){let u=to(o);l=Cr(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+p.x,y:e.y*l.y-s.scrollTop*l.y+p.y}}function Wh(t){return Array.from(t.getClientRects())}function dd(t){return to(yt(t)).left+eo(t).scrollLeft}function Hh(t){let e=yt(t),o=eo(t),n=t.ownerDocument.body,a=vr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=vr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+dd(t),l=-o.scrollTop;return Pe(n).direction==="rtl"&&(s+=vr(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function zh(t,e){let o=Re(t),n=yt(t),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,p=0;if(a){i=a.width,s=a.height;let u=jo();(!u||u&&e==="fixed")&&(l=a.offsetLeft,p=a.offsetTop)}return{width:i,height:s,x:l,y:p}}function Gh(t,e){let o=to(t,!0,e==="fixed"),n=o.top+t.clientTop,a=o.left+t.clientLeft,i=Ve(t)?Cr(t):ft(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,p=a*i.x,u=n*i.y;return{width:s,height:l,x:p,y:u}}function ad(t,e,o){let n;if(e==="viewport")n=zh(t,o);else if(e==="document")n=Hh(yt(t));else if(tt(e))n=Gh(e,o);else{let a=ld(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Xt(n)}function ud(t,e){let o=Jt(t);return o===e||!tt(o)||Jr(o)?!1:Pe(o).position==="fixed"||ud(o,e)}function jh(t,e){let o=e.get(t);if(o)return o;let n=zo(t,[],!1).filter(l=>tt(l)&&ht(l)!=="body"),a=null,i=Pe(t).position==="fixed",s=i?Jt(t):t;for(;tt(s)&&!Jr(s);){let l=Pe(s),p=Go(s);!p&&l.position==="fixed"&&(a=null),(i?!p&&!a:!p&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Sr(s)&&!p&&ud(t,s))?n=n.filter(m=>m!==s):a=l,s=Jt(s)}return e.set(t,n),n}function Vh(t){let{element:e,boundary:o,rootBoundary:n,strategy:a}=t,s=[...o==="clippingAncestors"?jh(e,this._c):[].concat(o),n],l=s[0],p=s.reduce((u,m)=>{let h=ad(e,m,a);return u.top=vr(h.top,u.top),u.right=$a(h.right,u.right),u.bottom=$a(h.bottom,u.bottom),u.left=vr(h.left,u.left),u},ad(e,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function Kh(t){return sd(t)}function Zh(t,e,o){let n=Ve(e),a=yt(e),i=o==="fixed",s=to(t,!0,i,e),l={scrollLeft:0,scrollTop:0},p=ft(0);if(n||!n&&!i)if((ht(e)!=="body"||Sr(a))&&(l=eo(e)),n){let u=to(e,!0,i,e);p.x=u.x+e.clientLeft,p.y=u.y+e.clientTop}else a&&(p.x=dd(a));return{x:s.left+l.scrollLeft-p.x,y:s.top+l.scrollTop-p.y,width:s.width,height:s.height}}function id(t,e){return!Ve(t)||Pe(t).position==="fixed"?null:e?e(t):t.offsetParent}function pd(t,e){let o=Re(t);if(!Ve(t))return o;let n=id(t,e);for(;n&&td(n)&&Pe(n).position==="static";)n=id(n,e);return n&&(ht(n)==="html"||ht(n)==="body"&&Pe(n).position==="static"&&!Go(n))?o:n||rd(t)||o}function Yh(t){return Pe(t).direction==="rtl"}var $h,qh,Vo,fd,hd=f(()=>{Ma();Ma();Xl();nd();$h=ft(0);qh=async function(t){let{reference:e,floating:o,strategy:n}=t,a=this.getOffsetParent||pd,i=this.getDimensions;return{reference:Zh(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};Vo={convertOffsetParentRelativeRectToViewportRelativeRect:Fh,getDocumentElement:yt,getClippingRect:Vh,getOffsetParent:pd,getElementRects:qh,getClientRects:Wh,getDimensions:Kh,getScale:Cr,isElement:tt,isRTL:Yh},fd=(t,e,o)=>{let n=new Map,a={platform:Vo,...o},i={...a.platform,_c:n};return Ql(t,e,{...a,platform:i})}});function yd(t){return Qh(t)}function Ua(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Qh(t){for(let e=t;e;e=Ua(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ua(t);e;e=Ua(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}var md=f(()=>{});async function gd(t,e,o){return fd(t,e,{platform:{...Vo,getOffsetParent:n=>Vo.getOffsetParent(n,yd)},middleware:[Ba({crossAxis:!0}),Da({allowedPlacements:[o]})]})}var bd=f(()=>{"use strict";hd();md()});var xd,de,ro,Ne,ae,Fa=f(()=>{"use strict";xd=b(B()),de=b(Q()),ro=b(N());ut();Aa();bd();Ne=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ae=class extends ro.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 ro.Debouncer,this.revealDebouncer=new ro.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return xd.html`
522
+ `});function Aa(t,e,o){return jl(t,Gl(e,o))}function Ho(t,e){return typeof t=="function"?t(e):t}function Sr(t){return t.split("-")[0]}function Tt(t){return t.split("-")[1]}function Ra(t){return t==="x"?"y":"x"}function Na(t){return t==="y"?"height":"width"}function zo(t){return["top","bottom"].includes(Sr(t))?"y":"x"}function Ta(t){return Ra(zo(t))}function Vl(t,e,o){o===void 0&&(o=!1);let n=Tt(t),a=Ta(t),i=Na(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Ea(s)),[s,Ea(s)]}function Kl(t){return t.replace(/start|end/g,e=>$h[e])}function Ea(t){return t.replace(/left|right|bottom|top/g,e=>Mh[e])}function Uh(t){return{top:0,right:0,bottom:0,left:0,...t}}function Zl(t){return typeof t!="number"?Uh(t):{top:t,right:t,bottom:t,left:t}}function Jt(t){let{x:e,y:o,width:n,height:a}=t;return{width:n,height:a,top:o,left:e,right:e+n,bottom:o+a,x:e,y:o}}var zl,Hl,wa,Gl,jl,Mh,$h,Pa=f(()=>{zl=["top","right","bottom","left"],Hl=["start","end"],wa=zl.reduce((t,e)=>t.concat(e,e+"-"+Hl[0],e+"-"+Hl[1]),[]),Gl=Math.min,jl=Math.max,Mh={left:"right",right:"left",bottom:"top",top:"bottom"},$h={start:"end",end:"start"}});function ql(t,e,o){let{reference:n,floating:a}=t,i=zo(e),s=Ta(e),l=Na(s),u=Sr(e),p=i==="y",g=n.x+n.width/2-a.width/2,m=n.y+n.height/2-a.height/2,x=n[l]/2-a[l]/2,C;switch(u){case"top":C={x:g,y:n.y-a.height};break;case"bottom":C={x:g,y:n.y+n.height};break;case"right":C={x:n.x+n.width,y:m};break;case"left":C={x:n.x-a.width,y:m};break;default:C={x:n.x,y:n.y}}switch(Tt(e)){case"start":C[s]-=x*(o&&p?-1:1);break;case"end":C[s]+=x*(o&&p?-1:1);break}return C}async function _a(t,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:u}=t,{boundary:p="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:x=!1,padding:C=0}=Ho(e,t),S=Zl(C),_=l[x?m==="floating"?"reference":"floating":m],T=Jt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(_)))==null||o?_:_.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:g,strategy:u})),P=m==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,M=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),U=await(i.isElement==null?void 0:i.isElement(M))?await(i.getScale==null?void 0:i.getScale(M))||{x:1,y:1}:{x:1,y:1},W=Jt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:M,strategy:u}):P);return{top:(T.top-W.top+S.top)/U.y,bottom:(W.bottom-T.bottom+S.bottom)/U.y,left:(T.left-W.left+S.left)/U.x,right:(W.right-T.right+S.right)/U.x}}function Fh(t,e,o){return(t?[...o.filter(a=>Tt(a)===t),...o.filter(a=>Tt(a)!==t)]:o.filter(a=>Sr(a)===a)).filter(a=>t?Tt(a)===t||(e?Kl(a)!==a:!1):!0)}var Yl,Ia,La,ka=f(()=>{Pa();Pa();Yl=async(t,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:g,y:m}=ql(p,n,u),x=n,C={},S=0;for(let O=0;O<l.length;O++){let{name:_,fn:T}=l[O],{x:P,y:M,data:U,reset:W}=await T({x:g,y:m,initialPlacement:n,placement:x,strategy:a,middlewareData:C,rects:p,platform:s,elements:{reference:t,floating:e}});g=P??g,m=M??m,C={...C,[_]:{...C[_],...U}},W&&S<=50&&(S++,typeof W=="object"&&(W.placement&&(x=W.placement),W.rects&&(p=W.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):W.rects),{x:g,y:m}=ql(p,x,u)),O=-1)}return{x:g,y:m,placement:x,strategy:a,middlewareData:C}};Ia=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:u,elements:p}=e,{crossAxis:g=!1,alignment:m,allowedPlacements:x=wa,autoAlignment:C=!0,...S}=Ho(t,e),O=m!==void 0||x===wa?Fh(m||null,C,x):x,_=await _a(e,S),T=((o=s.autoPlacement)==null?void 0:o.index)||0,P=O[T];if(P==null)return{};let M=Vl(P,i,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(l!==P)return{reset:{placement:O[0]}};let U=[_[Sr(P)],_[M[0]],_[M[1]]],W=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:U}],we=O[T+1];if(we)return{data:{index:T+1,overflows:W},reset:{placement:we}};let Qe=W.map(pe=>{let y=Tt(pe.placement);return[pe.placement,y&&g?pe.overflows.slice(0,2).reduce((v,D)=>v+D,0):pe.overflows[0],pe.overflows]}).sort((pe,y)=>pe[1]-y[1]),Xe=((a=Qe.filter(pe=>pe[2].slice(0,Tt(pe[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||Qe[0][0];return Xe!==l?{data:{index:T+1,overflows:W},reset:{placement:Xe}}:{}}}},La=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:T,y:P}=_;return{x:T,y:P}}},...u}=Ho(t,e),p={x:o,y:n},g=await _a(e,u),m=zo(Sr(a)),x=Ra(m),C=p[x],S=p[m];if(i){let _=x==="y"?"top":"left",T=x==="y"?"bottom":"right",P=C+g[_],M=C-g[T];C=Aa(P,C,M)}if(s){let _=m==="y"?"top":"left",T=m==="y"?"bottom":"right",P=S+g[_],M=S-g[T];S=Aa(P,S,M)}let O=l.fn({...e,[x]:C,[m]:S});return{...O,data:{x:O.x-o,y:O.y-n,enabled:{[x]:i,[m]:s}}}}}}});var Da,Cr,eo,ft,Ql=f(()=>{Da=Math.min,Cr=Math.max,eo=Math.round,ft=t=>({x:t,y:t})});function ht(t){return Jl(t)?(t.nodeName||"").toLowerCase():"#document"}function Re(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function yt(t){var e;return(e=(Jl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Jl(t){return t instanceof Node||t instanceof Re(t).Node}function tt(t){return t instanceof Element||t instanceof Re(t).Element}function Ve(t){return t instanceof HTMLElement||t instanceof Re(t).HTMLElement}function Xl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Re(t).ShadowRoot}function Or(t){let{overflow:e,overflowX:o,overflowY:n,display:a}=Le(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function ed(t){return["table","td","th"].includes(ht(t))}function jo(t){let e=Vo(),o=Le(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function td(t){let e=er(t);for(;Ve(e)&&!to(e);){if(jo(e))return e;e=er(e)}return null}function Vo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function to(t){return["html","body","#document"].includes(ht(t))}function Le(t){return Re(t).getComputedStyle(t)}function ro(t){return tt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function er(t){if(ht(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Xl(t)&&t.host||yt(t);return Xl(e)?e.host:e}function rd(t){let e=er(t);return to(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ve(e)&&Or(e)?e:rd(e)}function Go(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=rd(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Re(a);return i?e.concat(s,s.visualViewport||[],Or(a)?a:[],s.frameElement&&o?Go(s.frameElement):[]):e.concat(a,Go(a,[],o))}var od=f(()=>{});function id(t){let e=Le(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Ve(t),i=a?t.offsetWidth:o,s=a?t.offsetHeight:n,l=eo(o)!==i||eo(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function sd(t){return tt(t)?t:t.contextElement}function Er(t){let e=sd(t);if(!Ve(e))return ft(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=id(e),s=(i?eo(o.width):o.width)/n,l=(i?eo(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function cd(t){let e=Re(t);return!Vo()||!e.visualViewport?zh:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Gh(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Re(t)?!1:e}function oo(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=t.getBoundingClientRect(),i=sd(t),s=ft(1);e&&(n?tt(n)&&(s=Er(n)):s=Er(t));let l=Gh(i,o,n)?cd(i):ft(0),u=(a.left+l.x)/s.x,p=(a.top+l.y)/s.y,g=a.width/s.x,m=a.height/s.y;if(i){let x=Re(i),C=n&&tt(n)?Re(n):n,S=x.frameElement;for(;S&&n&&C!==x;){let O=Er(S),_=S.getBoundingClientRect(),T=Le(S),P=_.left+(S.clientLeft+parseFloat(T.paddingLeft))*O.x,M=_.top+(S.clientTop+parseFloat(T.paddingTop))*O.y;u*=O.x,p*=O.y,g*=O.x,m*=O.y,u+=P,p+=M,S=Re(S).frameElement}}return Jt({width:g,height:m,x:u,y:p})}function jh(t){let{rect:e,offsetParent:o,strategy:n}=t,a=Ve(o),i=yt(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},l=ft(1),u=ft(0);if((a||!a&&n!=="fixed")&&((ht(o)!=="body"||Or(i))&&(s=ro(o)),Ve(o))){let p=oo(o);l=Er(o),u.x=p.x+o.clientLeft,u.y=p.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+u.x,y:e.y*l.y-s.scrollTop*l.y+u.y}}function Vh(t){return Array.from(t.getClientRects())}function ld(t){return oo(yt(t)).left+ro(t).scrollLeft}function Kh(t){let e=yt(t),o=ro(t),n=t.ownerDocument.body,a=Cr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Cr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+ld(t),l=-o.scrollTop;return Le(n).direction==="rtl"&&(s+=Cr(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function Zh(t,e){let o=Re(t),n=yt(t),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,u=0;if(a){i=a.width,s=a.height;let p=Vo();(!p||p&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}function qh(t,e){let o=oo(t,!0,e==="fixed"),n=o.top+t.clientTop,a=o.left+t.clientLeft,i=Ve(t)?Er(t):ft(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,u=a*i.x,p=n*i.y;return{width:s,height:l,x:u,y:p}}function nd(t,e,o){let n;if(e==="viewport")n=Zh(t,o);else if(e==="document")n=Kh(yt(t));else if(tt(e))n=qh(e,o);else{let a=cd(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Jt(n)}function dd(t,e){let o=er(t);return o===e||!tt(o)||to(o)?!1:Le(o).position==="fixed"||dd(o,e)}function Yh(t,e){let o=e.get(t);if(o)return o;let n=Go(t,[],!1).filter(l=>tt(l)&&ht(l)!=="body"),a=null,i=Le(t).position==="fixed",s=i?er(t):t;for(;tt(s)&&!to(s);){let l=Le(s),u=jo(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Or(s)&&!u&&dd(t,s))?n=n.filter(g=>g!==s):a=l,s=er(s)}return e.set(t,n),n}function Qh(t){let{element:e,boundary:o,rootBoundary:n,strategy:a}=t,s=[...o==="clippingAncestors"?Yh(e,this._c):[].concat(o),n],l=s[0],u=s.reduce((p,g)=>{let m=nd(e,g,a);return p.top=Cr(m.top,p.top),p.right=Da(m.right,p.right),p.bottom=Da(m.bottom,p.bottom),p.left=Cr(m.left,p.left),p},nd(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Xh(t){return id(t)}function Jh(t,e,o){let n=Ve(e),a=yt(e),i=o==="fixed",s=oo(t,!0,i,e),l={scrollLeft:0,scrollTop:0},u=ft(0);if(n||!n&&!i)if((ht(e)!=="body"||Or(a))&&(l=ro(e)),n){let p=oo(e,!0,i,e);u.x=p.x+e.clientLeft,u.y=p.y+e.clientTop}else a&&(u.x=ld(a));return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function ad(t,e){return!Ve(t)||Le(t).position==="fixed"?null:e?e(t):t.offsetParent}function ud(t,e){let o=Re(t);if(!Ve(t))return o;let n=ad(t,e);for(;n&&ed(n)&&Le(n).position==="static";)n=ad(n,e);return n&&(ht(n)==="html"||ht(n)==="body"&&Le(n).position==="static"&&!jo(n))?o:n||td(t)||o}function ty(t){return Le(t).direction==="rtl"}var zh,ey,Ko,pd,fd=f(()=>{ka();ka();Ql();od();zh=ft(0);ey=async function(t){let{reference:e,floating:o,strategy:n}=t,a=this.getOffsetParent||ud,i=this.getDimensions;return{reference:Jh(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};Ko={convertOffsetParentRelativeRectToViewportRelativeRect:jh,getDocumentElement:yt,getClippingRect:Qh,getOffsetParent:ud,getElementRects:ey,getClientRects:Vh,getDimensions:Xh,getScale:Er,isElement:tt,isRTL:ty},pd=(t,e,o)=>{let n=new Map,a={platform:Ko,...o},i={...a.platform,_c:n};return Yl(t,e,{...a,platform:i})}});function hd(t){return ry(t)}function Ba(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ry(t){for(let e=t;e;e=Ba(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ba(t);e;e=Ba(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}var yd=f(()=>{});async function md(t,e,o){return pd(t,e,{platform:{...Ko,getOffsetParent:n=>Ko.getOffsetParent(n,hd)},middleware:[La({crossAxis:!0}),Ia({allowedPlacements:[o]})]})}var gd=f(()=>{"use strict";fd();yd()});var bd,de,no,Ne,ae,Ma=f(()=>{"use strict";bd=b(B()),de=b(Q()),no=b(N());ut();Oa();gd();Ne=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ae=class extends no.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 no.Debouncer,this.revealDebouncer=new no.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return bd.html`
523
523
  <div part="container"
524
524
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
525
525
  @mouseenter=${this.onHover}
@@ -537,24 +537,24 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
537
537
  </div>
538
538
  </div>
539
539
  </div>
540
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",gd(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};ae.elementDefinitions={"ft-typography":se};ae.styles=Hl;Ne([(0,de.property)()],ae.prototype,"text",void 0);Ne([(0,de.property)({type:Boolean})],ae.prototype,"manual",void 0);Ne([(0,de.property)({type:Boolean})],ae.prototype,"inline",void 0);Ne([(0,de.property)({type:Number})],ae.prototype,"delay",void 0);Ne([(0,de.property)()],ae.prototype,"position",void 0);Ne([(0,de.queryAssignedNodes)()],ae.prototype,"slotNodes",void 0);Ne([(0,de.query)(".ft-tooltip--container")],ae.prototype,"container",void 0);Ne([(0,de.query)(".ft-tooltip")],ae.prototype,"tooltip",void 0);Ne([(0,de.query)(".ft-tooltip--content")],ae.prototype,"tooltipContent",void 0);Ne([(0,de.state)()],ae.prototype,"visible",void 0);Ne([(0,de.eventOptions)({passive:!0})],ae.prototype,"onTouch",null);Ne([(0,de.eventOptions)({passive:!0})],ae.prototype,"onHover",null);Ne([(0,de.eventOptions)({passive:!0})],ae.prototype,"onOut",null);Ne([(0,de.eventOptions)({passive:!0})],ae.prototype,"onClick",null)});var vd=f(()=>{"use strict"});var Sd,Wa=f(()=>{"use strict";Sd=b(N());Fa();Fa();Aa();vd();(0,Sd.customElement)("ft-tooltip")(ae)});var Ko=Vt((k0,Cd)=>{Cd.exports=ftGlobals.litUnsafeHTML});function Od(t,e){var o,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((o=Xh.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(i=(a=(n=Ha.get(l))!==null&&n!==void 0?n:Ha.get(e))!==null&&a!==void 0?a:Ha.get(s))!==null&&i!==void 0?i:A.UNKNOWN}var Tt,A,Ha,Xh,D0,za=f(()=>{"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;"})(Tt||(Tt={}));(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;"})(A||(A={}));Ha=new Map([...["abw"].map(t=>[t,A.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]),Xh=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"]]);D0={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"}});var Le,Ga=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Le||(Le={}))});var oo,_t,Ed,wd,no,Ee,ja=f(()=>{"use strict";oo=b(B()),_t=b(Q()),Ed=b(N()),wd=b(Ko());za();jr();Ga();no=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ee=class extends Ed.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=oo.nothing}render(){let e=this.variant&&Object.values(Le).includes(this.variant)?this.variant:Le.fluid_topics,o=e!==Le.material||!!this.value;return oo.html`
540
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}async showTemporaryText(e,o){let n=this.manual;this.manual=!0;let a=this.text;this.text=e,await this.show(o),this.text=a,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",md(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};ae.elementDefinitions={"ft-typography":se};ae.styles=Wl;Ne([(0,de.property)()],ae.prototype,"text",void 0);Ne([(0,de.property)({type:Boolean})],ae.prototype,"manual",void 0);Ne([(0,de.property)({type:Boolean})],ae.prototype,"inline",void 0);Ne([(0,de.property)({type:Number})],ae.prototype,"delay",void 0);Ne([(0,de.property)()],ae.prototype,"position",void 0);Ne([(0,de.queryAssignedNodes)()],ae.prototype,"slotNodes",void 0);Ne([(0,de.query)(".ft-tooltip--container")],ae.prototype,"container",void 0);Ne([(0,de.query)(".ft-tooltip")],ae.prototype,"tooltip",void 0);Ne([(0,de.query)(".ft-tooltip--content")],ae.prototype,"tooltipContent",void 0);Ne([(0,de.state)()],ae.prototype,"visible",void 0);Ne([(0,de.eventOptions)({passive:!0})],ae.prototype,"onTouch",null);Ne([(0,de.eventOptions)({passive:!0})],ae.prototype,"onHover",null);Ne([(0,de.eventOptions)({passive:!0})],ae.prototype,"onOut",null);Ne([(0,de.eventOptions)({passive:!0})],ae.prototype,"onClick",null)});var xd=f(()=>{"use strict"});var vd,$a=f(()=>{"use strict";vd=b(N());Ma();Ma();Oa();xd();(0,vd.customElement)("ft-tooltip")(ae)});var Zo=Kt((U0,Sd)=>{Sd.exports=ftGlobals.litUnsafeHTML});function Cd(t,e){var o,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((o=oy.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(i=(a=(n=Ua.get(l))!==null&&n!==void 0?n:Ua.get(e))!==null&&a!==void 0?a:Ua.get(s))!==null&&i!==void 0?i:A.UNKNOWN}var Pt,A,Ua,oy,F0,Fa=f(()=>{"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;"})(Pt||(Pt={}));(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;"})(A||(A={}));Ua=new Map([...["abw"].map(t=>[t,A.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]),oy=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"]]);F0={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"}});var ke,Wa=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ke||(ke={}))});var ao,_t,Od,Ed,io,Ee,Ha=f(()=>{"use strict";ao=b(B()),_t=b(Q()),Od=b(N()),Ed=b(Zo());Fa();Kr();Wa();io=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ee=class extends Od.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=ao.nothing}render(){let e=this.variant&&Object.values(ke).includes(this.variant)?this.variant:ke.fluid_topics,o=e!==ke.material||!!this.value;return ao.html`
541
541
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
542
- ${(0,wd.unsafeHTML)(this.resolvedIcon)}
542
+ ${(0,Ed.unsafeHTML)(this.resolvedIcon)}
543
543
  <slot ?hidden=${o}></slot>
544
544
  </i>
545
- `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case Le.file_format:this.resolvedIcon=(e=A[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Le.material:this.resolvedIcon=this.value||oo.nothing;break;default:this.resolvedIcon=(o=Tt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Ee.elementDefinitions={};Ee.styles=ul;no([(0,_t.property)()],Ee.prototype,"variant",void 0);no([(0,_t.property)()],Ee.prototype,"value",void 0);no([(0,_t.property)({reflect:!0,attribute:"aria-hidden"})],Ee.prototype,"ariaHidden",void 0);no([(0,_t.state)()],Ee.prototype,"resolvedIcon",void 0);no([(0,_t.query)("slot")],Ee.prototype,"slottedContent",void 0)});var Ad,Zo=f(()=>{"use strict";Ad=b(N());ja();jr();Ga();ja();za();(0,Ad.customElement)("ft-icon")(Ee)});var Rd,Nd,er,Va=f(()=>{"use strict";Rd=b(B()),Nd=b(N());Gr();er=class extends Nd.FtLitElement{render(){return Rd.html`
545
+ `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case ke.file_format:this.resolvedIcon=(e=A[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case ke.material:this.resolvedIcon=this.value||ao.nothing;break;default:this.resolvedIcon=(o=Pt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Ee.elementDefinitions={};Ee.styles=dl;io([(0,_t.property)()],Ee.prototype,"variant",void 0);io([(0,_t.property)()],Ee.prototype,"value",void 0);io([(0,_t.property)({reflect:!0,attribute:"aria-hidden"})],Ee.prototype,"ariaHidden",void 0);io([(0,_t.state)()],Ee.prototype,"resolvedIcon",void 0);io([(0,_t.query)("slot")],Ee.prototype,"slottedContent",void 0)});var wd,qo=f(()=>{"use strict";wd=b(N());Ha();Kr();Wa();Ha();Fa();(0,wd.customElement)("ft-icon")(Ee)});var Ad,Rd,tr,za=f(()=>{"use strict";Ad=b(B()),Rd=b(N());Vr();tr=class extends Rd.FtLitElement{render(){return Ad.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
- `}};er.styles=ll});var Td=f(()=>{"use strict"});var _d,Id=f(()=>{"use strict";_d=b(N());Va();Gr();Td();Va();(0,_d.customElement)("ft-loader")(er)});var Pt,It,Ka,ue,ye,ee,Za=f(()=>{"use strict";Pt=b(N());Bo();Wa();ut();Zo();Id();It=b(B()),Ka=b(Vr()),ue=b(Q()),ye=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ee=class extends(0,Pt.toFtFormComponent)(Pt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e,o,n;let a=It.html`
552
+ `}};tr.styles=cl});var Nd=f(()=>{"use strict"});var Td,Pd=f(()=>{"use strict";Td=b(N());za();Vr();Nd();za();(0,Td.customElement)("ft-loader")(tr)});var Lt,It,Ga,ue,ye,ee,ja=f(()=>{"use strict";Lt=b(N());Mo();$a();ut();qo();Pd();It=b(B()),Ga=b(Zr()),ue=b(Q()),ye=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ee=class extends(0,Lt.toFtFormComponent)(Lt.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e,o,n;let a=It.html`
553
553
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
554
554
  <ft-typography part="label"
555
555
  variant=${this.typographyVariant}
556
556
  element="span"
557
- class="ft-button--label ${Pt.isSafari?"ft-safari-ellipsis-fix":""}"
557
+ class="ft-button--label ${Lt.isSafari?"ft-safari-ellipsis-fix":""}"
558
558
  ?hidden=${!this.hasTextContent()}>
559
559
  <slot @slotchange=${this.onSlotchange}></slot>
560
560
  </ft-typography>
@@ -563,14 +563,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
563
563
  <a href="${i}"
564
564
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
565
565
  part="button"
566
- class="${(0,Ka.classMap)(this.buttonClasses)}"
566
+ class="${(0,Ga.classMap)(this.buttonClasses)}"
567
567
  aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
568
568
  ?disabled=${this.isDisabled()}>
569
569
  ${a}
570
570
  </a>
571
571
  `:It.html`
572
572
  <button part="button"
573
- class="${(0,Ka.classMap)(this.buttonClasses)}"
573
+ class="${(0,Ga.classMap)(this.buttonClasses)}"
574
574
  aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
575
575
  ?disabled=${this.isDisabled()}>
576
576
  ${a}
@@ -586,7 +586,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
586
586
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
587
587
  `:It.html`
588
588
  <slot part="icon" name="icon"></slot>
589
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Pt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ee.elementDefinitions={"ft-ripple":X,"ft-tooltip":ae,"ft-typography":se,"ft-icon":Ee,"ft-loader":er};ye([(0,ue.property)()],ee.prototype,"href",void 0);ye([(0,ue.property)()],ee.prototype,"target",void 0);ye([(0,ue.property)({type:String,reflect:!0})],ee.prototype,"role",void 0);ye([(0,ue.property)()],ee.prototype,"type",void 0);ye([(0,ue.property)({type:Boolean})],ee.prototype,"disabled",void 0);ye([(0,ue.property)()],ee.prototype,"label",void 0);ye([(0,ue.property)()],ee.prototype,"icon",void 0);ye([(0,ue.property)()],ee.prototype,"iconVariant",void 0);ye([(0,ue.property)({type:Boolean})],ee.prototype,"trailingIcon",void 0);ye([(0,ue.property)({type:Boolean})],ee.prototype,"loading",void 0);ye([(0,ue.property)({attribute:"aria-label"})],ee.prototype,"ariaLabel",void 0);ye([(0,ue.property)()],ee.prototype,"tooltipPosition",void 0);ye([(0,ue.property)({type:Boolean})],ee.prototype,"hideTooltip",void 0);ye([(0,ue.property)({type:Boolean})],ee.prototype,"forceTooltip",void 0);ye([(0,ue.query)(".ft-button")],ee.prototype,"button",void 0);ye([(0,ue.query)(".ft-button--label slot")],ee.prototype,"slottedContent",void 0);ye([(0,ue.query)("[part=tooltip]")],ee.prototype,"tooltip",void 0)});var ao,Pd,qo,ke,qa=f(()=>{"use strict";ao=b(Q()),Pd=b(N());la();Za();qo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ke=class extends ee{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ke.styles=[Pd.safariEllipsisFix,yl];qo([(0,ao.property)({type:Boolean})],ke.prototype,"primary",void 0);qo([(0,ao.property)({type:Boolean})],ke.prototype,"outlined",void 0);qo([(0,ao.property)({type:Boolean})],ke.prototype,"dense",void 0);qo([(0,ao.property)({type:Boolean})],ke.prototype,"round",void 0)});var Ld,E,kd,Ya=f(()=>{"use strict";Ld=b(B()),E=b(N());Zt();Gr();jr();j();j();kd=[Ld.css`
589
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}showTemporaryTooltip(e,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,o)}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,Lt.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ee.elementDefinitions={"ft-ripple":X,"ft-tooltip":ae,"ft-typography":se,"ft-icon":Ee,"ft-loader":tr};ye([(0,ue.property)()],ee.prototype,"href",void 0);ye([(0,ue.property)()],ee.prototype,"target",void 0);ye([(0,ue.property)({type:String,reflect:!0})],ee.prototype,"role",void 0);ye([(0,ue.property)()],ee.prototype,"type",void 0);ye([(0,ue.property)({type:Boolean})],ee.prototype,"disabled",void 0);ye([(0,ue.property)()],ee.prototype,"label",void 0);ye([(0,ue.property)()],ee.prototype,"icon",void 0);ye([(0,ue.property)()],ee.prototype,"iconVariant",void 0);ye([(0,ue.property)({type:Boolean})],ee.prototype,"trailingIcon",void 0);ye([(0,ue.property)({type:Boolean})],ee.prototype,"loading",void 0);ye([(0,ue.property)({attribute:"aria-label"})],ee.prototype,"ariaLabel",void 0);ye([(0,ue.property)()],ee.prototype,"tooltipPosition",void 0);ye([(0,ue.property)({type:Boolean})],ee.prototype,"hideTooltip",void 0);ye([(0,ue.property)({type:Boolean})],ee.prototype,"forceTooltip",void 0);ye([(0,ue.query)(".ft-button")],ee.prototype,"button",void 0);ye([(0,ue.query)(".ft-button--label slot")],ee.prototype,"slottedContent",void 0);ye([(0,ue.query)("[part=tooltip]")],ee.prototype,"tooltip",void 0)});var so,_d,Yo,De,Va=f(()=>{"use strict";so=b(Q()),_d=b(N());ia();ja();Yo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},De=class extends ee{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};De.styles=[_d.safariEllipsisFix,hl];Yo([(0,so.property)({type:Boolean})],De.prototype,"primary",void 0);Yo([(0,so.property)({type:Boolean})],De.prototype,"outlined",void 0);Yo([(0,so.property)({type:Boolean})],De.prototype,"dense",void 0);Yo([(0,so.property)({type:Boolean})],De.prototype,"round",void 0)});var Id,E,Ld,Ka=f(()=>{"use strict";Id=b(B()),E=b(N());qt();Vr();Kr();j();j();Ld=[Id.css`
590
590
  :host {
591
591
  display: inline-block;
592
592
  max-width: 100%;
@@ -637,7 +637,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
637
637
  }
638
638
 
639
639
  .ft-button:focus-visible {
640
- outline-color: ${y.focusFocusRingColor};
640
+ outline-color: ${h.focusFocusRingColor};
641
641
  outline-style: solid;
642
642
  }
643
643
 
@@ -671,388 +671,388 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
671
671
  /** Brand Primary styles **/
672
672
 
673
673
  .ftds--family-brand.ft-button--primary {
674
- ${(0,E.setVariable)(J.color,y.primaryBrandIconColor)};
674
+ ${(0,E.setVariable)(J.color,h.primaryBrandIconColor)};
675
675
 
676
- ${(0,E.setVariable)(w.color,y.primaryBrandStateLayerColor)};
677
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.primaryBrandHoverStateLayerOpacity)};
678
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.primaryBrandFocusStateLayerOpacity)};
679
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.primaryBrandActiveStateLayerOpacity)};
680
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.primaryBrandActiveStateLayerOpacity)};
676
+ ${(0,E.setVariable)(w.color,h.primaryBrandStateLayerColor)};
677
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.primaryBrandHoverStateLayerOpacity)};
678
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.primaryBrandFocusStateLayerOpacity)};
679
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.primaryBrandActiveStateLayerOpacity)};
680
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.primaryBrandActiveStateLayerOpacity)};
681
681
 
682
- background-color: ${y.primaryBrandBackgroundColor};
683
- color: ${y.primaryBrandColor};
682
+ background-color: ${h.primaryBrandBackgroundColor};
683
+ color: ${h.primaryBrandColor};
684
684
  border-style: none;
685
685
  }
686
686
 
687
687
  .ftds--family-brand.ft-button--primary[disabled] {
688
- opacity: ${y.primaryBrandDisabledComponentOpacity};
688
+ opacity: ${h.primaryBrandDisabledComponentOpacity};
689
689
  }
690
690
 
691
691
  .ftds--family-brand.ft-button--primary ft-icon {
692
- color: ${y.primaryBrandIconColor};
692
+ color: ${h.primaryBrandIconColor};
693
693
  }
694
694
 
695
695
  /** Brand Secondary styles **/
696
696
 
697
697
  .ftds--family-brand.ft-button--secondary {
698
- ${(0,E.setVariable)(J.color,y.secondaryBrandIconColor)};
698
+ ${(0,E.setVariable)(J.color,h.secondaryBrandIconColor)};
699
699
 
700
- ${(0,E.setVariable)(w.color,y.secondaryBrandStateLayerColor)};
701
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryBrandHoverStateLayerOpacity)};
702
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryBrandFocusStateLayerOpacity)};
703
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryBrandActiveStateLayerOpacity)};
704
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryBrandActiveStateLayerOpacity)};
700
+ ${(0,E.setVariable)(w.color,h.secondaryBrandStateLayerColor)};
701
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.secondaryBrandHoverStateLayerOpacity)};
702
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.secondaryBrandFocusStateLayerOpacity)};
703
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.secondaryBrandActiveStateLayerOpacity)};
704
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.secondaryBrandActiveStateLayerOpacity)};
705
705
 
706
- background-color: ${y.secondaryBrandBackgroundColor};
707
- color: ${y.secondaryBrandColor};
708
- border-color: ${y.secondaryBrandBorderColor};
706
+ background-color: ${h.secondaryBrandBackgroundColor};
707
+ color: ${h.secondaryBrandColor};
708
+ border-color: ${h.secondaryBrandBorderColor};
709
709
  border-style: solid;
710
710
  }
711
711
 
712
712
  .ftds--family-brand.ft-button--secondary[disabled] {
713
- opacity: ${y.secondaryBrandDisabledComponentOpacity};
713
+ opacity: ${h.secondaryBrandDisabledComponentOpacity};
714
714
  }
715
715
 
716
716
  .ftds--family-brand.ft-button--secondary ft-icon {
717
- color: ${y.secondaryBrandIconColor};
717
+ color: ${h.secondaryBrandIconColor};
718
718
  }
719
719
 
720
720
  /** Brand Tertiary styles **/
721
721
 
722
722
  .ftds--family-brand.ft-button--tertiary {
723
- ${(0,E.setVariable)(J.color,y.tertiaryBrandIconColor)};
723
+ ${(0,E.setVariable)(J.color,h.tertiaryBrandIconColor)};
724
724
 
725
- ${(0,E.setVariable)(w.color,y.tertiaryBrandStateLayerColor)};
726
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryBrandHoverStateLayerOpacity)};
727
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryBrandFocusStateLayerOpacity)};
728
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryBrandActiveStateLayerOpacity)};
729
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryBrandActiveStateLayerOpacity)};
725
+ ${(0,E.setVariable)(w.color,h.tertiaryBrandStateLayerColor)};
726
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.tertiaryBrandHoverStateLayerOpacity)};
727
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.tertiaryBrandFocusStateLayerOpacity)};
728
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.tertiaryBrandActiveStateLayerOpacity)};
729
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.tertiaryBrandActiveStateLayerOpacity)};
730
730
 
731
- background-color: ${y.tertiaryBrandBackgroundColor};
732
- color: ${y.tertiaryBrandColor};
731
+ background-color: ${h.tertiaryBrandBackgroundColor};
732
+ color: ${h.tertiaryBrandColor};
733
733
  border-style: none;
734
734
  }
735
735
 
736
736
  .ftds--family-brand.ft-button--tertiary[disabled] {
737
- opacity: ${y.tertiaryBrandDisabledComponentOpacity};
737
+ opacity: ${h.tertiaryBrandDisabledComponentOpacity};
738
738
  }
739
739
 
740
740
  .ftds--family-brand.ft-button--tertiary ft-icon {
741
- color: ${y.tertiaryBrandIconColor};
741
+ color: ${h.tertiaryBrandIconColor};
742
742
  }
743
743
 
744
744
  /** Neutral Secondary styles **/
745
745
 
746
746
  .ftds--family-neutral.ft-button--secondary {
747
- ${(0,E.setVariable)(J.color,y.secondaryNeutralIconColor)};
747
+ ${(0,E.setVariable)(J.color,h.secondaryNeutralIconColor)};
748
748
 
749
- ${(0,E.setVariable)(w.backgroundColor,y.secondaryNeutralStateLayerColor)};
750
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryNeutralHoverStateLayerOpacity)};
751
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryNeutralFocusStateLayerOpacity)};
752
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryNeutralActiveStateLayerOpacity)};
753
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryNeutralActiveStateLayerOpacity)};
749
+ ${(0,E.setVariable)(w.backgroundColor,h.secondaryNeutralStateLayerColor)};
750
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.secondaryNeutralHoverStateLayerOpacity)};
751
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.secondaryNeutralFocusStateLayerOpacity)};
752
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.secondaryNeutralActiveStateLayerOpacity)};
753
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.secondaryNeutralActiveStateLayerOpacity)};
754
754
 
755
- background-color: ${y.secondaryNeutralBackgroundColor};
756
- color: ${y.secondaryNeutralColor};
757
- border-color: ${y.secondaryNeutralBorderColor};
755
+ background-color: ${h.secondaryNeutralBackgroundColor};
756
+ color: ${h.secondaryNeutralColor};
757
+ border-color: ${h.secondaryNeutralBorderColor};
758
758
  border-style: solid;
759
759
  }
760
760
 
761
761
  .ftds--family-neutral.ft-button--secondary[disabled] {
762
- opacity: ${y.secondaryNeutralDisabledComponentOpacity};
762
+ opacity: ${h.secondaryNeutralDisabledComponentOpacity};
763
763
  }
764
764
 
765
765
  .ftds--family-neutral.ft-button--secondary ft-icon {
766
- color: ${y.secondaryNeutralIconColor};
766
+ color: ${h.secondaryNeutralIconColor};
767
767
  }
768
768
 
769
769
  /** Neutral Tertiary styles **/
770
770
 
771
771
  .ftds--family-neutral.ft-button--tertiary {
772
- ${(0,E.setVariable)(J.color,y.tertiaryNeutralIconColor)};
772
+ ${(0,E.setVariable)(J.color,h.tertiaryNeutralIconColor)};
773
773
 
774
- ${(0,E.setVariable)(w.backgroundColor,y.tertiaryNeutralStateLayerColor)};
775
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryNeutralHoverStateLayerOpacity)};
776
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryNeutralFocusStateLayerOpacity)};
777
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryNeutralActiveStateLayerOpacity)};
778
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryNeutralActiveStateLayerOpacity)};
774
+ ${(0,E.setVariable)(w.backgroundColor,h.tertiaryNeutralStateLayerColor)};
775
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.tertiaryNeutralHoverStateLayerOpacity)};
776
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.tertiaryNeutralFocusStateLayerOpacity)};
777
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.tertiaryNeutralActiveStateLayerOpacity)};
778
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.tertiaryNeutralActiveStateLayerOpacity)};
779
779
 
780
- background-color: ${y.tertiaryNeutralBackgroundColor};
781
- color: ${y.tertiaryNeutralColor};
780
+ background-color: ${h.tertiaryNeutralBackgroundColor};
781
+ color: ${h.tertiaryNeutralColor};
782
782
  border-style: none;
783
783
  }
784
784
 
785
785
  .ftds--family-neutral.ft-button--tertiary[disabled] {
786
- opacity: ${y.tertiaryNeutralDisabledComponentOpacity};
786
+ opacity: ${h.tertiaryNeutralDisabledComponentOpacity};
787
787
  }
788
788
 
789
789
  .ftds--family-neutral.ft-button--tertiary ft-icon {
790
- color: ${y.tertiaryNeutralIconColor};
790
+ color: ${h.tertiaryNeutralIconColor};
791
791
  }
792
792
 
793
793
  /** Info Secondary styles **/
794
794
 
795
795
  .ftds--family-info.ft-button--secondary {
796
- ${(0,E.setVariable)(J.color,y.secondaryInfoIconColor)};
796
+ ${(0,E.setVariable)(J.color,h.secondaryInfoIconColor)};
797
797
 
798
- ${(0,E.setVariable)(w.backgroundColor,y.secondaryInfoStateLayerColor)};
799
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryInfoHoverStateLayerOpacity)};
800
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryInfoFocusStateLayerOpacity)};
801
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryInfoActiveStateLayerOpacity)};
802
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryInfoActiveStateLayerOpacity)};
798
+ ${(0,E.setVariable)(w.backgroundColor,h.secondaryInfoStateLayerColor)};
799
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.secondaryInfoHoverStateLayerOpacity)};
800
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.secondaryInfoFocusStateLayerOpacity)};
801
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.secondaryInfoActiveStateLayerOpacity)};
802
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.secondaryInfoActiveStateLayerOpacity)};
803
803
 
804
- background-color: ${y.secondaryInfoBackgroundColor};
805
- color: ${y.secondaryInfoColor};
806
- border-color: ${y.secondaryInfoBorderColor};
804
+ background-color: ${h.secondaryInfoBackgroundColor};
805
+ color: ${h.secondaryInfoColor};
806
+ border-color: ${h.secondaryInfoBorderColor};
807
807
  border-style: solid;
808
808
  }
809
809
 
810
810
  .ftds--family-info.ft-button--secondary[disabled] {
811
- opacity: ${y.secondaryInfoDisabledComponentOpacity};
811
+ opacity: ${h.secondaryInfoDisabledComponentOpacity};
812
812
  }
813
813
 
814
814
  .ftds--family-info.ft-button--secondary ft-icon {
815
- color: ${y.secondaryInfoIconColor};
815
+ color: ${h.secondaryInfoIconColor};
816
816
  }
817
817
 
818
818
  /** Info Tertiary styles **/
819
819
 
820
820
  .ftds--family-info.ft-button--tertiary {
821
- ${(0,E.setVariable)(J.color,y.tertiaryInfoIconColor)};
821
+ ${(0,E.setVariable)(J.color,h.tertiaryInfoIconColor)};
822
822
 
823
- ${(0,E.setVariable)(w.backgroundColor,y.tertiaryInfoStateLayerColor)};
824
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryInfoHoverStateLayerOpacity)};
825
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryInfoFocusStateLayerOpacity)};
826
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryInfoActiveStateLayerOpacity)};
827
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryInfoActiveStateLayerOpacity)};
823
+ ${(0,E.setVariable)(w.backgroundColor,h.tertiaryInfoStateLayerColor)};
824
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.tertiaryInfoHoverStateLayerOpacity)};
825
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.tertiaryInfoFocusStateLayerOpacity)};
826
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.tertiaryInfoActiveStateLayerOpacity)};
827
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.tertiaryInfoActiveStateLayerOpacity)};
828
828
 
829
- background-color: ${y.tertiaryInfoBackgroundColor};
830
- color: ${y.tertiaryInfoColor};
829
+ background-color: ${h.tertiaryInfoBackgroundColor};
830
+ color: ${h.tertiaryInfoColor};
831
831
  border-style: none;
832
832
  }
833
833
 
834
834
  .ftds--family-info.ft-button--tertiary[disabled] {
835
- opacity: ${y.tertiaryInfoDisabledComponentOpacity};
835
+ opacity: ${h.tertiaryInfoDisabledComponentOpacity};
836
836
  }
837
837
 
838
838
  .ftds--family-info.ft-button--tertiary ft-icon {
839
- color: ${y.tertiaryInfoIconColor};
839
+ color: ${h.tertiaryInfoIconColor};
840
840
  }
841
841
 
842
842
  /** Success Secondary styles **/
843
843
 
844
844
  .ftds--family-success.ft-button--secondary {
845
- ${(0,E.setVariable)(J.color,y.secondarySuccessIconColor)};
845
+ ${(0,E.setVariable)(J.color,h.secondarySuccessIconColor)};
846
846
 
847
- ${(0,E.setVariable)(w.backgroundColor,y.secondarySuccessStateLayerColor)};
848
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondarySuccessHoverStateLayerOpacity)};
849
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondarySuccessFocusStateLayerOpacity)};
850
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondarySuccessActiveStateLayerOpacity)};
851
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondarySuccessActiveStateLayerOpacity)};
847
+ ${(0,E.setVariable)(w.backgroundColor,h.secondarySuccessStateLayerColor)};
848
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.secondarySuccessHoverStateLayerOpacity)};
849
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.secondarySuccessFocusStateLayerOpacity)};
850
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.secondarySuccessActiveStateLayerOpacity)};
851
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.secondarySuccessActiveStateLayerOpacity)};
852
852
 
853
- background-color: ${y.secondarySuccessBackgroundColor};
854
- color: ${y.secondarySuccessColor};
855
- border-color: ${y.secondarySuccessBorderColor};
853
+ background-color: ${h.secondarySuccessBackgroundColor};
854
+ color: ${h.secondarySuccessColor};
855
+ border-color: ${h.secondarySuccessBorderColor};
856
856
  border-style: solid;
857
857
  }
858
858
 
859
859
  .ftds--family-success.ft-button--secondary[disabled] {
860
- opacity: ${y.secondarySuccessDisabledComponentOpacity};
860
+ opacity: ${h.secondarySuccessDisabledComponentOpacity};
861
861
  }
862
862
 
863
863
  .ftds--family-success.ft-button--secondary ft-icon {
864
- color: ${y.secondarySuccessIconColor};
864
+ color: ${h.secondarySuccessIconColor};
865
865
  }
866
866
 
867
867
  /** Success Tertiary styles **/
868
868
 
869
869
  .ftds--family-success.ft-button--tertiary {
870
- ${(0,E.setVariable)(J.color,y.tertiarySuccessIconColor)};
870
+ ${(0,E.setVariable)(J.color,h.tertiarySuccessIconColor)};
871
871
 
872
- ${(0,E.setVariable)(w.backgroundColor,y.tertiarySuccessStateLayerColor)};
873
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiarySuccessHoverStateLayerOpacity)};
874
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiarySuccessFocusStateLayerOpacity)};
875
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiarySuccessActiveStateLayerOpacity)};
876
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiarySuccessActiveStateLayerOpacity)};
872
+ ${(0,E.setVariable)(w.backgroundColor,h.tertiarySuccessStateLayerColor)};
873
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.tertiarySuccessHoverStateLayerOpacity)};
874
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.tertiarySuccessFocusStateLayerOpacity)};
875
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.tertiarySuccessActiveStateLayerOpacity)};
876
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.tertiarySuccessActiveStateLayerOpacity)};
877
877
 
878
- background-color: ${y.tertiarySuccessBackgroundColor};
879
- color: ${y.tertiarySuccessColor};
878
+ background-color: ${h.tertiarySuccessBackgroundColor};
879
+ color: ${h.tertiarySuccessColor};
880
880
  border-style: none;
881
881
  }
882
882
 
883
883
  .ftds--family-success.ft-button--tertiary[disabled] {
884
- opacity: ${y.tertiarySuccessDisabledComponentOpacity};
884
+ opacity: ${h.tertiarySuccessDisabledComponentOpacity};
885
885
  }
886
886
 
887
887
  .ftds--family-success.ft-button--tertiary ft-icon {
888
- color: ${y.tertiarySuccessIconColor};
888
+ color: ${h.tertiarySuccessIconColor};
889
889
  }
890
890
 
891
891
  /** Warning Secondary styles **/
892
892
 
893
893
  .ftds--family-warning.ft-button--secondary {
894
- ${(0,E.setVariable)(J.color,y.secondaryWarningIconColor)};
894
+ ${(0,E.setVariable)(J.color,h.secondaryWarningIconColor)};
895
895
 
896
- ${(0,E.setVariable)(w.backgroundColor,y.secondaryWarningStateLayerColor)};
897
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryWarningHoverStateLayerOpacity)};
898
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryWarningFocusStateLayerOpacity)};
899
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryWarningActiveStateLayerOpacity)};
900
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryWarningActiveStateLayerOpacity)};
896
+ ${(0,E.setVariable)(w.backgroundColor,h.secondaryWarningStateLayerColor)};
897
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.secondaryWarningHoverStateLayerOpacity)};
898
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.secondaryWarningFocusStateLayerOpacity)};
899
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.secondaryWarningActiveStateLayerOpacity)};
900
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.secondaryWarningActiveStateLayerOpacity)};
901
901
 
902
- background-color: ${y.secondaryWarningBackgroundColor};
903
- color: ${y.secondaryWarningColor};
904
- border-color: ${y.secondaryWarningBorderColor};
902
+ background-color: ${h.secondaryWarningBackgroundColor};
903
+ color: ${h.secondaryWarningColor};
904
+ border-color: ${h.secondaryWarningBorderColor};
905
905
  border-style: solid;
906
906
  }
907
907
 
908
908
  .ftds--family-warning.ft-button--secondary[disabled] {
909
- opacity: ${y.secondaryWarningDisabledComponentOpacity};
909
+ opacity: ${h.secondaryWarningDisabledComponentOpacity};
910
910
  }
911
911
 
912
912
  .ftds--family-warning.ft-button--secondary ft-icon {
913
- color: ${y.secondaryWarningIconColor};
913
+ color: ${h.secondaryWarningIconColor};
914
914
  }
915
915
 
916
916
  /** Warning Tertiary styles **/
917
917
 
918
918
  .ftds--family-warning.ft-button--tertiary {
919
- ${(0,E.setVariable)(J.color,y.tertiaryWarningIconColor)};
919
+ ${(0,E.setVariable)(J.color,h.tertiaryWarningIconColor)};
920
920
 
921
- ${(0,E.setVariable)(w.backgroundColor,y.tertiaryWarningStateLayerColor)};
922
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryWarningHoverStateLayerOpacity)};
923
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryWarningFocusStateLayerOpacity)};
924
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryWarningActiveStateLayerOpacity)};
925
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryWarningActiveStateLayerOpacity)};
921
+ ${(0,E.setVariable)(w.backgroundColor,h.tertiaryWarningStateLayerColor)};
922
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.tertiaryWarningHoverStateLayerOpacity)};
923
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.tertiaryWarningFocusStateLayerOpacity)};
924
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.tertiaryWarningActiveStateLayerOpacity)};
925
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.tertiaryWarningActiveStateLayerOpacity)};
926
926
 
927
- background-color: ${y.tertiaryWarningBackgroundColor};
928
- color: ${y.tertiaryWarningColor};
927
+ background-color: ${h.tertiaryWarningBackgroundColor};
928
+ color: ${h.tertiaryWarningColor};
929
929
  border-style: none;
930
930
  }
931
931
 
932
932
  .ftds--family-warning.ft-button--tertiary[disabled] {
933
- opacity: ${y.tertiaryWarningDisabledComponentOpacity};
933
+ opacity: ${h.tertiaryWarningDisabledComponentOpacity};
934
934
  }
935
935
 
936
936
  .ftds--family-warning.ft-button--tertiary ft-icon {
937
- color: ${y.tertiaryWarningIconColor};
937
+ color: ${h.tertiaryWarningIconColor};
938
938
  }
939
939
 
940
940
  /** Error Secondary styles **/
941
941
 
942
942
  .ftds--family-error.ft-button--secondary {
943
- ${(0,E.setVariable)(J.color,y.secondaryErrorIconColor)};
943
+ ${(0,E.setVariable)(J.color,h.secondaryErrorIconColor)};
944
944
 
945
- ${(0,E.setVariable)(w.backgroundColor,y.secondaryErrorStateLayerColor)};
946
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.secondaryErrorHoverStateLayerOpacity)};
947
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.secondaryErrorFocusStateLayerOpacity)};
948
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.secondaryErrorActiveStateLayerOpacity)};
949
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.secondaryErrorActiveStateLayerOpacity)};
945
+ ${(0,E.setVariable)(w.backgroundColor,h.secondaryErrorStateLayerColor)};
946
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.secondaryErrorHoverStateLayerOpacity)};
947
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.secondaryErrorFocusStateLayerOpacity)};
948
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.secondaryErrorActiveStateLayerOpacity)};
949
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.secondaryErrorActiveStateLayerOpacity)};
950
950
 
951
- background-color: ${y.secondaryErrorBackgroundColor};
952
- color: ${y.secondaryErrorColor};
953
- border-color: ${y.secondaryErrorBorderColor};
951
+ background-color: ${h.secondaryErrorBackgroundColor};
952
+ color: ${h.secondaryErrorColor};
953
+ border-color: ${h.secondaryErrorBorderColor};
954
954
  border-style: solid;
955
955
  }
956
956
 
957
957
  .ftds--family-error.ft-button--secondary[disabled] {
958
- opacity: ${y.secondaryErrorDisabledComponentOpacity};
958
+ opacity: ${h.secondaryErrorDisabledComponentOpacity};
959
959
  }
960
960
 
961
961
  .ftds--family-error.ft-button--secondary ft-icon {
962
- color: ${y.secondaryErrorIconColor};
962
+ color: ${h.secondaryErrorIconColor};
963
963
  }
964
964
 
965
965
  /** Error Tertiary styles **/
966
966
 
967
967
  .ftds--family-error.ft-button--tertiary {
968
- ${(0,E.setVariable)(J.color,y.tertiaryErrorIconColor)};
968
+ ${(0,E.setVariable)(J.color,h.tertiaryErrorIconColor)};
969
969
 
970
- ${(0,E.setVariable)(w.backgroundColor,y.tertiaryErrorStateLayerColor)};
971
- ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,y.tertiaryErrorHoverStateLayerOpacity)};
972
- ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,y.tertiaryErrorFocusStateLayerOpacity)};
973
- ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,y.tertiaryErrorActiveStateLayerOpacity)};
974
- ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,y.tertiaryErrorActiveStateLayerOpacity)};
970
+ ${(0,E.setVariable)(w.backgroundColor,h.tertiaryErrorStateLayerColor)};
971
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceHover,h.tertiaryErrorHoverStateLayerOpacity)};
972
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceFocused,h.tertiaryErrorFocusStateLayerOpacity)};
973
+ ${(0,E.setVariable)(w.opacityContentOnSurfaceSelected,h.tertiaryErrorActiveStateLayerOpacity)};
974
+ ${(0,E.setVariable)(w.opacityContentOnSurfacePressed,h.tertiaryErrorActiveStateLayerOpacity)};
975
975
 
976
- background-color: ${y.tertiaryErrorBackgroundColor};
977
- color: ${y.tertiaryErrorColor};
976
+ background-color: ${h.tertiaryErrorBackgroundColor};
977
+ color: ${h.tertiaryErrorColor};
978
978
  border-style: none;
979
979
  }
980
980
 
981
981
  .ftds--family-error.ft-button--tertiary[disabled] {
982
- opacity: ${y.tertiaryErrorDisabledComponentOpacity};
982
+ opacity: ${h.tertiaryErrorDisabledComponentOpacity};
983
983
  }
984
984
 
985
985
  .ftds--family-error.ft-button--tertiary ft-icon {
986
- color: ${y.tertiaryErrorIconColor};
986
+ color: ${h.tertiaryErrorIconColor};
987
987
  }
988
988
 
989
989
  /** Large styles **/
990
990
 
991
991
  .ftds--size-large {
992
- ${(0,E.setVariable)(Oe.size,y.largeIconSize)};
993
- ${(0,E.setVariable)(J.size,y.largeIconSize)};
992
+ ${(0,E.setVariable)(Oe.size,h.largeIconSize)};
993
+ ${(0,E.setVariable)(J.size,h.largeIconSize)};
994
994
 
995
- height: ${y.largeHeight};
996
- padding: 0 ${y.largeHorizontalPadding};
997
- gap: ${y.largeGap};
998
- border-radius: ${y.largeBorderRadius};
999
- border-width: ${y.largeBorderWidth};
995
+ height: ${h.largeHeight};
996
+ padding: 0 ${h.largeHorizontalPadding};
997
+ gap: ${h.largeGap};
998
+ border-radius: ${h.largeBorderRadius};
999
+ border-width: ${h.largeBorderWidth};
1000
1000
  }
1001
1001
 
1002
1002
  .ftds--size-large:focus-visible {
1003
- outline-width: ${y.largeFocusOutlineWidth};
1004
- outline-offset: ${y.largeFocusOutlineOffset};
1003
+ outline-width: ${h.largeFocusOutlineWidth};
1004
+ outline-offset: ${h.largeFocusOutlineOffset};
1005
1005
  }
1006
1006
 
1007
1007
  .ftds--size-large.ft-button--icon-only {
1008
- width: ${y.largeIconOnlyWidth};
1008
+ width: ${h.largeIconOnlyWidth};
1009
1009
  }
1010
1010
 
1011
1011
  /** Small styles **/
1012
1012
 
1013
1013
  .ftds--size-medium {
1014
- ${(0,E.setVariable)(Oe.size,y.mediumIconSize)};
1015
- ${(0,E.setVariable)(J.size,y.mediumIconSize)};
1014
+ ${(0,E.setVariable)(Oe.size,h.mediumIconSize)};
1015
+ ${(0,E.setVariable)(J.size,h.mediumIconSize)};
1016
1016
 
1017
- height: ${y.mediumHeight};
1018
- padding: 0 ${y.mediumHorizontalPadding};
1019
- gap: ${y.mediumGap};
1020
- border-radius: ${y.mediumBorderRadius};
1021
- border-width: ${y.mediumBorderWidth};
1017
+ height: ${h.mediumHeight};
1018
+ padding: 0 ${h.mediumHorizontalPadding};
1019
+ gap: ${h.mediumGap};
1020
+ border-radius: ${h.mediumBorderRadius};
1021
+ border-width: ${h.mediumBorderWidth};
1022
1022
  }
1023
1023
 
1024
1024
  .ftds--size-medium:focus-visible {
1025
- outline-width: ${y.mediumFocusOutlineWidth};
1026
- outline-offset: ${y.mediumFocusOutlineOffset};
1025
+ outline-width: ${h.mediumFocusOutlineWidth};
1026
+ outline-offset: ${h.mediumFocusOutlineOffset};
1027
1027
  }
1028
1028
 
1029
1029
  .ftds--size-medium.ft-button--icon-only {
1030
- width: ${y.mediumIconOnlyWidth};
1030
+ width: ${h.mediumIconOnlyWidth};
1031
1031
  }
1032
1032
 
1033
1033
 
1034
1034
  /** Small styles **/
1035
1035
 
1036
1036
  .ftds--size-small {
1037
- ${(0,E.setVariable)(Oe.size,y.smallIconSize)};
1038
- ${(0,E.setVariable)(J.size,y.smallIconSize)};
1037
+ ${(0,E.setVariable)(Oe.size,h.smallIconSize)};
1038
+ ${(0,E.setVariable)(J.size,h.smallIconSize)};
1039
1039
 
1040
- height: ${y.smallHeight};
1041
- padding: 0 ${y.smallHorizontalPadding};
1042
- gap: ${y.smallGap};
1043
- border-radius: ${y.smallBorderRadius};
1044
- border-width: ${y.smallBorderWidth};
1040
+ height: ${h.smallHeight};
1041
+ padding: 0 ${h.smallHorizontalPadding};
1042
+ gap: ${h.smallGap};
1043
+ border-radius: ${h.smallBorderRadius};
1044
+ border-width: ${h.smallBorderWidth};
1045
1045
  }
1046
1046
 
1047
1047
  .ftds--size-small:focus-visible {
1048
- outline-width: ${y.smallFocusOutlineWidth};
1049
- outline-offset: ${y.smallFocusOutlineOffset};
1048
+ outline-width: ${h.smallFocusOutlineWidth};
1049
+ outline-offset: ${h.smallFocusOutlineOffset};
1050
1050
  }
1051
1051
 
1052
1052
  .ftds--size-small.ft-button--icon-only {
1053
- width: ${y.smallIconOnlyWidth};
1053
+ width: ${h.smallIconOnlyWidth};
1054
1054
  }
1055
- `,E.noTextSelect]});var io,Qo,Yo,mt,Qa=f(()=>{"use strict";Za();io=b(Q());Fo();Qo=b(N());Ya();j();Zo();Yo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},mt=class extends(0,Qo.toFtdsBase)(ee){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Po.brand,this.iconVariant=Le.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case sr.large:return At.body2medium;case sr.medium:return At.caption1medium;case sr.small:return At.caption2medium}}};mt.styles=[Qo.safariEllipsisFix,kd];Yo([(0,io.property)({type:Boolean})],mt.prototype,"primary",void 0);Yo([(0,io.property)({type:Boolean})],mt.prototype,"secondary",void 0);Yo([(0,io.property)({type:Boolean})],mt.prototype,"tertiary",void 0);Yo([(0,io.property)({type:Boolean})],mt.prototype,"round",void 0)});var Dd=f(()=>{"use strict"});var Bd=f(()=>{"use strict"});var Xa,Xo=f(()=>{"use strict";Xa=b(N());qa();Qa();qa();la();Dd();Qa();Ya();Bd();(0,Xa.customElement)("ft-button")(ke);(0,Xa.customElement)("ftds-button")(mt)});var Md,Z,Y,Ja,so=f(()=>{"use strict";Md=b(B()),Z=b(N());Xo();Wa();Y={height:Z.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:Z.FtCssVariableFactory.extend("--ft-search-input-border-radius","",Z.designSystemVariables.borderRadiusS),desktopFiltersHeight:Z.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:Z.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:Z.FtCssVariableFactory.extend("--ft-search-input-background-color","",Z.designSystemVariables.colorSurface),colorOnSurface:Z.FtCssVariableFactory.extend("--ft-search-input-color","",Z.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:Z.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",Z.designSystemVariables.colorOnSurfaceMedium),colorOutline:Z.FtCssVariableFactory.extend("--ft-search-input-outline-color","",Z.designSystemVariables.colorOutline),elevation02:Z.FtCssVariableFactory.extend("--ft-search-input-elevation","",Z.designSystemVariables.elevation02),focusOutlineColor:Z.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",Z.designSystemVariables.colorPrimary),buttonColor:Z.FtCssVariableFactory.extend("--ft-search-input-button-color","",Z.designSystemVariables.colorPrimary),buttonRippleColor:Z.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",Z.designSystemVariables.colorPrimary)},Ja=Md.css`
1055
+ `,E.noTextSelect]});var co,Xo,Qo,mt,Za=f(()=>{"use strict";ja();co=b(Q());Wo();Xo=b(N());Ka();j();qo();Qo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},mt=class extends(0,Xo.toFtdsBase)(ee){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Lo.brand,this.iconVariant=ke.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 lr.large:return Rt.body2medium;case lr.medium:return Rt.caption1medium;case lr.small:return Rt.caption2medium}}};mt.styles=[Xo.safariEllipsisFix,Ld];Qo([(0,co.property)({type:Boolean})],mt.prototype,"primary",void 0);Qo([(0,co.property)({type:Boolean})],mt.prototype,"secondary",void 0);Qo([(0,co.property)({type:Boolean})],mt.prototype,"tertiary",void 0);Qo([(0,co.property)({type:Boolean})],mt.prototype,"round",void 0)});var kd=f(()=>{"use strict"});var Dd=f(()=>{"use strict"});var qa,Jo=f(()=>{"use strict";qa=b(N());Va();Za();Va();ia();kd();Za();Ka();Dd();(0,qa.customElement)("ft-button")(De);(0,qa.customElement)("ftds-button")(mt)});var Bd,Z,Y,Ya,lo=f(()=>{"use strict";Bd=b(B()),Z=b(N());Jo();$a();Y={height:Z.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:Z.FtCssVariableFactory.extend("--ft-search-input-border-radius","",Z.designSystemVariables.borderRadiusS),desktopFiltersHeight:Z.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:Z.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:Z.FtCssVariableFactory.extend("--ft-search-input-background-color","",Z.designSystemVariables.colorSurface),colorOnSurface:Z.FtCssVariableFactory.extend("--ft-search-input-color","",Z.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:Z.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",Z.designSystemVariables.colorOnSurfaceMedium),colorOutline:Z.FtCssVariableFactory.extend("--ft-search-input-outline-color","",Z.designSystemVariables.colorOutline),elevation02:Z.FtCssVariableFactory.extend("--ft-search-input-elevation","",Z.designSystemVariables.elevation02),focusOutlineColor:Z.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",Z.designSystemVariables.colorPrimary),buttonColor:Z.FtCssVariableFactory.extend("--ft-search-input-button-color","",Z.designSystemVariables.colorPrimary),buttonRippleColor:Z.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",Z.designSystemVariables.colorPrimary)},Ya=Bd.css`
1056
1056
  * {
1057
1057
  box-sizing: border-box;
1058
1058
  ${(0,Z.setVariable)(ne.color,Y.buttonColor)};
@@ -1110,7 +1110,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1110
1110
  align-items: center;
1111
1111
  height: 100%;
1112
1112
 
1113
- ${(0,Z.setVariable)(Rt.zIndex,`calc(${Y.floatingZIndex} + 1)`)};
1113
+ ${(0,Z.setVariable)(Nt.zIndex,`calc(${Y.floatingZIndex} + 1)`)};
1114
1114
  }
1115
1115
 
1116
1116
  .ft-search-input > ft-button,
@@ -1136,15 +1136,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1136
1136
  height: 20px;
1137
1137
  border-right: 1px solid ${Y.colorOutline};
1138
1138
  }
1139
- `});var $d,Ud,Jo,ei,en=f(()=>{"use strict";$d=b(B()),Ud=b(N()),Jo={highlightBackgroundColor:Ud.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},ei=$d.css`
1139
+ `});var Md,$d,en,Qa,tn=f(()=>{"use strict";Md=b(B()),$d=b(N()),en={highlightBackgroundColor:$d.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Qa=Md.css`
1140
1140
  .kwicmatch {
1141
1141
  font-weight: 700;
1142
- background-color: ${Jo.highlightBackgroundColor};
1142
+ background-color: ${en.highlightBackgroundColor};
1143
1143
  }
1144
- `});var Fd,Wd,tn,ti,rn=f(()=>{"use strict";Fd=b(B()),Wd=b(N()),tn={highlightBackgroundColor:Wd.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},ti=Fd.css`
1144
+ `});var Ud,Fd,rn,Xa,on=f(()=>{"use strict";Ud=b(B()),Fd=b(N()),rn={highlightBackgroundColor:Fd.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Xa=Ud.css`
1145
1145
  .kwicmatch {
1146
1146
  font-weight: 700;
1147
- background-color: ${tn.highlightBackgroundColor};
1147
+ background-color: ${rn.highlightBackgroundColor};
1148
1148
  }
1149
1149
 
1150
1150
  a {
@@ -1155,19 +1155,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1155
1155
  a:focus {
1156
1156
  outline: revert;
1157
1157
  }
1158
- `});var Gd,jd,oi=f(()=>{"use strict";Gd=b(B()),jd=Gd.css`
1159
- `});var Vd,Kd,ni=f(()=>{"use strict";Vd=b(B()),Kd=Vd.css`
1160
- `});var on,Jh,ai,ey,k,Fe=f(()=>{"use strict";on=b(N()),Jh="ft-app-info",ai=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},ey={session:(t,e)=>{(0,on.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>k.dispatchEvent(new ai(e.payload)),0))}},k=on.FtReduxStore.get({name:Jh,reducers:ey,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 tr,nn=f(()=>{"use strict";Fe();tr=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=k.getState(),a=e??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let a=k.subscribe(()=>{n=t.get(e),n&&(a(),o(n))})}})}}});var Or,ii=f(()=>{"use strict";nn();Or=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:tr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):tr.await()}}});var si,rt,co=f(()=>{"use strict";si=b(N());ii();rt=class extends Or{constructor(e=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new si.CacheRegistry,this.cache=e?a.commonCache:new si.CacheRegistry}clearCache(){this.cache.clearAll()}}});var ot,Zd,ty,an,Er,sn,ci=f(()=>{"use strict";Fe();ot=b(N());co();ty=Symbol("clearAfterUnitTest"),an=class extends rt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Zd]=()=>{this.defaultMessages={},this.cache=new ot.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=k.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),Object.keys(o).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,ot.deepEqual)(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new ot.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e))}catch(a){!(a instanceof ot.CanceledPromiseError)&&o&&console.error(a)}return o&&await this.notify(e),n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>(0,ot.delay)(0).then(()=>o()).catch(()=>null)))}};Zd=ty;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends an{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends an{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Er=window.FluidTopicsI18nService,sn=window.FluidTopicsCustomI18nService});var qd,Te,Ke,xe,ie,li=f(()=>{"use strict";qd=b(B()),Te=b(Q()),Ke=b(N());ni();Fe();ci();nn();xe=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ie=class extends Ke.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=()=>tr.get(),this.messageContexts=[],this.cache=new Ke.CacheRegistry,this.cleanSessionDebouncer=new Ke.Debouncer}render(){return qd.html`
1158
+ `});var zd,Gd,ei=f(()=>{"use strict";zd=b(B()),Gd=zd.css`
1159
+ `});var jd,Vd,ti=f(()=>{"use strict";jd=b(B()),Vd=jd.css`
1160
+ `});var nn,ny,ri,ay,k,We=f(()=>{"use strict";nn=b(N()),ny="ft-app-info",ri=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},ay={session:(t,e)=>{(0,nn.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>k.dispatchEvent(new ri(e.payload)),0))}},k=nn.FtReduxStore.get({name:ny,reducers:ay,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 rr,an=f(()=>{"use strict";We();rr=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=k.getState(),a=e??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let a=k.subscribe(()=>{n=t.get(e),n&&(a(),o(n))})}})}}});var wr,oi=f(()=>{"use strict";an();wr=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:rr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):rr.await()}}});var ni,rt,uo=f(()=>{"use strict";ni=b(N());oi();rt=class extends wr{constructor(e=!0,o){var n;super(o);let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ni.CacheRegistry,this.cache=e?a.commonCache:new ni.CacheRegistry}clearCache(){this.cache.clearAll()}}});var ot,Kd,iy,sn,Ar,cn,ai=f(()=>{"use strict";We();ot=b(N());uo();iy=Symbol("clearAfterUnitTest"),sn=class extends rt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Kd]=()=>{this.defaultMessages={},this.cache=new ot.CacheRegistry,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=k.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,ot.deepEqual)(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new ot.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(e){let o=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e))}catch(a){!(a instanceof ot.CanceledPromiseError)&&o&&console.error(a)}return o&&await this.notify(e),n}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>(0,ot.delay)(0).then(()=>o()).catch(()=>null)))}};Kd=iy;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends sn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends sn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Ar=window.FluidTopicsI18nService,cn=window.FluidTopicsCustomI18nService});var Zd,Te,Ke,xe,ie,ii=f(()=>{"use strict";Zd=b(B()),Te=b(Q()),Ke=b(N());ti();We();ai();an();xe=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ie=class extends Ke.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=()=>rr.get(),this.messageContexts=[],this.cache=new Ke.CacheRegistry,this.cleanSessionDebouncer=new Ke.Debouncer}render(){return Zd.html`
1161
1161
  <slot></slot>
1162
- `}update(e){var o,n,a,i,s;super.update(e),e.has("baseUrl")&&(k.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&k.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&k.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&k.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&k.actions.noCustom(this.noCustom),e.has("editorMode")&&k.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&k.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&k.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>Er.addContext(l)),e.has("openExternalDocumentInNewTab")&&k.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&k.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&k.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(k.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),k.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),k.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ie.elementDefinitions={};ie.styles=Kd;xe([(0,Te.property)()],ie.prototype,"baseUrl",void 0);xe([(0,Te.property)()],ie.prototype,"apiIntegrationIdentifier",void 0);xe([(0,Te.property)()],ie.prototype,"uiLocale",void 0);xe([(0,Ke.jsonProperty)(null)],ie.prototype,"availableUiLocales",void 0);xe([(0,Ke.jsonProperty)(null)],ie.prototype,"metadataConfiguration",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"editorMode",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"noCustom",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"openExternalDocumentInNewTab",void 0);xe([(0,Te.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ie.prototype,"noCustomComponent",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"withManualResources",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"navigatorOnline",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"forcedOffline",void 0);xe([(0,Te.property)({type:Object})],ie.prototype,"apiProvider",void 0);xe([(0,Ke.jsonProperty)([])],ie.prototype,"messageContexts",void 0);xe([(0,Ke.jsonProperty)(void 0)],ie.prototype,"session",void 0);xe([(0,Te.state)()],ie.prototype,"localesConfiguration",void 0)});function ry(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!cn(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!cn(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(t),o=a.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!cn(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function cn(t,e){try{return ry(t,e)}catch{return!1}}function ln(t,e){return!cn(t,e)}var dn=f(()=>{"use strict"});var oy,Yd=f(()=>{"use strict";dn();oy=b(Q(),1)});var un,di=f(()=>{"use strict";un=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}}});function Xd(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Qd.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:ln,...e??{}})}var Qd,Jd=f(()=>{"use strict";Qd=b(Q(),1);dn()});var pn,eu=f(()=>{"use strict";pn=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var fn,ny,hC,tu,ru=f(()=>{fn=globalThis,ny=fn.ShadowRoot&&(fn.ShadyCSS===void 0||fn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,hC=Symbol(),tu=(t,e)=>{if(ny)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=fn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)}}});var ou,hn,nu=f(()=>{"use strict";ou=b(B(),1);ru();hn=class extends ou.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return tu(n,e.elementStyles),n}}});var wr,lo,cu,au,iu,lu,su,gt,du=f(()=>{"use strict";wr=b(Q(),1);Jd();eu();nu();lo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},au=Symbol("constructorPrototype"),iu=Symbol("constructorName"),lu=Symbol("exportpartsDebouncer"),su=Symbol("dynamicDependenciesLoaded"),gt=class extends hn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[cu]=new pn(5),this[iu]=this.constructor.name,this[au]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[iu]&&Object.setPrototypeOf(this,this[au])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[su]||(e[su]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,isKeyboardNavigation:a}=this.elementToFocus;n!=null&&(o=this.shadowRoot.querySelector(n)),o?.focus(),a||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[lu].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,s,l;let p=x=>x!=null&&x.trim().length>0,u=e.filter(p).map(x=>x.trim());if(u.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let x of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let C=(i=(a=x.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],S=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...C,...S).filter(p).map(O=>O.trim()).forEach(O=>m.add(O))}if(m.size===0){this.removeAttribute("exportparts");return}let h=[...m.values()].flatMap(x=>u.map(C=>`${x}:${C}--${x}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};cu=lu;lo([(0,wr.property)()],gt.prototype,"exportpartsPrefix",void 0);lo([Xd([])],gt.prototype,"exportpartsPrefixes",void 0);lo([(0,wr.property)()],gt.prototype,"customStylesheet",void 0);lo([(0,wr.property)()],gt.prototype,"elementToFocus",void 0);lo([(0,wr.state)()],gt.prototype,"useAdoptedStyleSheets",void 0)});function uo(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var yn=f(()=>{"use strict"});var uu,pu,fu,po,Lt,rr,fo,hu=f(()=>{"use strict";du();yn();po=Symbol("internalReduxEventsUnsubscribers"),Lt=Symbol("internalStoresUnsubscribers"),rr=Symbol("internalStores"),fo=class extends gt{constructor(){super(...arguments),this[uu]=new Map,this[pu]=new Map,this[fu]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[rr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[rr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[rr].get(e)}addStore(e,o){var n;o=(n=o??(uo(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[rr].set(o,e),this.subscribeToStore(o,e),this.updateFromStores()}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[rr].delete(o)}setupStores(){this.unsubscribeFromStores(),this[rr].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[Lt].has(e.store):this[Lt].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[Lt].set(e,o.subscribe(()=>this.updateFromStores())),this[po].set(e,[]),uo(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.addEventListener(a.eventName,s),this[po].get(e).push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Lt].forEach((e,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(e){var o;this[Lt].has(e)&&this[Lt].get(e)(),this[Lt].delete(e),(o=this[po].get(e))===null||o===void 0||o.forEach(n=>n()),this[po].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};uu=Lt,pu=rr,fu=po;fo.reduxProperties=new Map;fo.reduxReactiveProperties=new Set;fo.reduxEventListeners=new Map});function We(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function bt(t){return!!t&&!!t[te]}function Ze(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===py}(t)||Array.isArray(t)||!!t[Su]||!!(!((e=t.constructor)===null||e===void 0)&&e[Su])||xi(t)||vi(t))}function or(t,e,o){o===void 0&&(o=!1),Nr(t)===0?(o?Object.keys:Rr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Nr(t){var e=t[te];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:xi(t)?2:vi(t)?3:0}function Ar(t,e){return Nr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ay(t,e){return Nr(t)===2?t.get(e):t[e]}function Cu(t,e,o){var n=Nr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Ou(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function xi(t){return dy&&t instanceof Map}function vi(t){return uy&&t instanceof Set}function kt(t){return t.o||t.t}function Si(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Au(t);delete e[te];for(var o=Rr(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function Ci(t,e){return e===void 0&&(e=!1),Oi(t)||bt(t)||!Ze(t)||(Nr(t)>1&&(t.set=t.add=t.clear=t.delete=iy),Object.freeze(t),e&&or(t,function(o,n){return Ci(n,!0)},!0)),t}function iy(){We(2)}function Oi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function nt(t){var e=bi[t];return e||We(18,t),e}function sy(t,e){bi[t]||(bi[t]=e)}function yi(){return yo}function ui(t,e){e&&(nt("Patches"),t.u=[],t.s=[],t.v=e)}function mn(t){mi(t),t.p.forEach(cy),t.p=null}function mi(t){t===yo&&(yo=t.l)}function yu(t){return yo={p:[],l:yo,h:t,m:!0,_:0}}function cy(t){var e=t[te];e.i===0||e.i===1?e.j():e.g=!0}function pi(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||nt("ES5").S(e,t,n),n?(o[te].P&&(mn(e),We(4)),Ze(t)&&(t=gn(e,t),e.l||bn(e,t)),e.u&&nt("Patches").M(o[te].t,t,e.u,e.s)):t=gn(e,o,[]),mn(e),e.u&&e.v(e.u,e.s),t!==wu?t:void 0}function gn(t,e,o){if(Oi(e))return e;var n=e[te];if(!n)return or(e,function(l,p){return mu(t,n,e,l,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return bn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Si(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),or(i,function(l,p){return mu(t,n,a,l,p,o,s)}),bn(t,a,!1),o&&t.u&&nt("Patches").N(n,o,t.u,t.s)}return n.o}function mu(t,e,o,n,a,i,s){if(bt(a)){var l=gn(t,a,i&&e&&e.i!==3&&!Ar(e.R,n)?i.concat(n):void 0);if(Cu(o,n,l),!bt(l))return;t.m=!1}else s&&o.add(a);if(Ze(a)&&!Oi(a)){if(!t.h.D&&t._<1)return;gn(t,a),e&&e.A.l||bn(t,a)}}function bn(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Ci(e,o)}function fi(t,e){var o=t[te];return(o?kt(o):t)[e]}function gu(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Dt(t){t.P||(t.P=!0,t.l&&Dt(t.l))}function hi(t){t.o||(t.o=Si(t.t))}function gi(t,e,o){var n=xi(e)?nt("MapSet").F(e,o):vi(e)?nt("MapSet").T(e,o):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:yi(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=l,u=mo;s&&(p=[l],u=ho);var m=Proxy.revocable(p,u),h=m.revoke,x=m.proxy;return l.k=x,l.j=h,x}(e,o):nt("ES5").J(e,o);return(o?o.A:yi()).p.push(n),n}function ly(t){return bt(t)||We(22,t),function e(o){if(!Ze(o))return o;var n,a=o[te],i=Nr(o);if(a){if(!a.P&&(a.i<4||!nt("ES5").K(a)))return a.t;a.I=!0,n=bu(o,i),a.I=!1}else n=bu(o,i);return or(n,function(s,l){a&&ay(a.t,s)===l||Cu(n,s,e(l))}),i===3?new Set(n):n}(t)}function bu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Si(t)}function Eu(){function t(s,l){var p=i[s];return p?p.enumerable=l:i[s]=p={configurable:!0,enumerable:l,get:function(){var u=this[te];return mo.get(u,s)},set:function(u){var m=this[te];mo.set(m,s,u)}},p}function e(s){for(var l=s.length-1;l>=0;l--){var p=s[l][te];if(!p.P)switch(p.i){case 5:n(p)&&Dt(p);break;case 4:o(p)&&Dt(p)}}}function o(s){for(var l=s.t,p=s.k,u=Rr(p),m=u.length-1;m>=0;m--){var h=u[m];if(h!==te){var x=l[h];if(x===void 0&&!Ar(l,h))return!0;var C=p[h],S=C&&C[te];if(S?S.t!==x:!Ou(C,x))return!0}}var O=!!l[te];return u.length!==Rr(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&We(3,JSON.stringify(kt(s)))}var i={};sy("ES5",{J:function(s,l){var p=Array.isArray(s),u=function(h,x){if(h){for(var C=Array(x.length),S=0;S<x.length;S++)Object.defineProperty(C,""+S,t(S,!0));return C}var O=Au(x);delete O[te];for(var I=Rr(O),T=0;T<I.length;T++){var _=I[T];O[_]=t(_,h||!!O[_].enumerable)}return Object.create(Object.getPrototypeOf(x),O)}(p,s),m={i:p?5:4,A:l?l.A:yi(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,te,{value:m,writable:!0}),u},S:function(s,l,p){p?bt(l)&&l[te].A===s&&e(s.p):(s.u&&function u(m){if(m&&typeof m=="object"){var h=m[te];if(h){var x=h.t,C=h.k,S=h.R,O=h.i;if(O===4)or(C,function(U){U!==te&&(x[U]!==void 0||Ar(x,U)?S[U]||u(C[U]):(S[U]=!0,Dt(h)))}),or(x,function(U){C[U]!==void 0||Ar(C,U)||(S[U]=!1,Dt(h))});else if(O===5){if(n(h)&&(Dt(h),S.length=!0),C.length<x.length)for(var I=C.length;I<x.length;I++)S[I]=!1;else for(var T=x.length;T<C.length;T++)S[T]=!0;for(var _=Math.min(C.length,x.length),M=0;M<_;M++)C.hasOwnProperty(M)||(S[M]=!0),S[M]===void 0&&u(C[M])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var xu,yo,Ei,dy,uy,vu,wu,Su,te,py,Rr,Au,bi,mo,ho,fy,De,hy,AC,RC,NC,TC,_C,IC,xn,vn=f(()=>{Ei=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",dy=typeof Map<"u",uy=typeof Set<"u",vu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",wu=Ei?Symbol.for("immer-nothing"):((xu={})["immer-nothing"]=!0,xu),Su=Ei?Symbol.for("immer-draftable"):"__$immer_draftable",te=Ei?Symbol.for("immer-state"):"__$immer_state",py=""+Object.prototype.constructor,Rr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Au=Object.getOwnPropertyDescriptors||function(t){var e={};return Rr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},bi={},mo={get:function(t,e){if(e===te)return t;var o=kt(t);if(!Ar(o,e))return function(a,i,s){var l,p=gu(i,s);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!Ze(n)?n:n===fi(t.t,e)?(hi(t),t.o[e]=gi(t.A.h,n,t)):n},has:function(t,e){return e in kt(t)},ownKeys:function(t){return Reflect.ownKeys(kt(t))},set:function(t,e,o){var n=gu(kt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=fi(kt(t),e),i=a?.[te];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Ou(o,a)&&(o!==void 0||Ar(t.t,e)))return!0;hi(t),Dt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return fi(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,hi(t),Dt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=kt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){We(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){We(12)}},ho={};or(mo,function(t,e){ho[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),ho.deleteProperty=function(t,e){return ho.set.call(this,t,e,void 0)},ho.set=function(t,e,o){return mo.set.call(this,t[0],e,o,t[0])};fy=function(){function t(o){var n=this;this.O=vu,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var p=n;return function(O){var I=this;O===void 0&&(O=l);for(var T=arguments.length,_=Array(T>1?T-1:0),M=1;M<T;M++)_[M-1]=arguments[M];return p.produce(O,function(U){var W;return(W=i).call.apply(W,[I,U].concat(_))})}}var u;if(typeof i!="function"&&We(6),s!==void 0&&typeof s!="function"&&We(7),Ze(a)){var m=yu(n),h=gi(n,a,void 0),x=!0;try{u=i(h),x=!1}finally{x?mn(m):mi(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return ui(m,s),pi(O,m)},function(O){throw mn(m),O}):(ui(m,s),pi(u,m))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===wu&&(u=void 0),n.D&&Ci(u,!0),s){var C=[],S=[];nt("Patches").M(a,u,C,S),s(C,S)}return u}We(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var m=arguments.length,h=Array(m>1?m-1:0),x=1;x<m;x++)h[x-1]=arguments[x];return n.produceWithPatches(u,function(C){return a.apply(void 0,[C].concat(h))})};var s,l,p=n.produce(a,i,function(u,m){s=u,l=m});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,s,l]}):[p,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){Ze(o)||We(8),bt(o)&&(o=ly(o));var n=yu(this),a=gi(this,o,void 0);return a[te].C=!0,mi(n),a},e.finishDraft=function(o,n){var a=o&&o[te],i=a.A;return ui(i,n),pi(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!vu&&We(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=nt("Patches").$;return bt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),De=new fy,hy=De.produce,AC=De.produceWithPatches.bind(De),RC=De.setAutoFreeze.bind(De),NC=De.setUseProxies.bind(De),TC=De.applyPatches.bind(De),_C=De.createDraft.bind(De),IC=De.finishDraft.bind(De),xn=hy});function nr(t){"@babel/helpers - typeof";return nr=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},nr(t)}var wi=f(()=>{});function Ru(t,e){if(nr(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(nr(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Nu=f(()=>{wi()});function Tu(t){var e=Ru(t,"string");return nr(e)=="symbol"?e:e+""}var _u=f(()=>{wi();Nu()});function Iu(t,e,o){return(e=Tu(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var Pu=f(()=>{_u()});function Lu(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function Ai(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?Lu(Object(o),!0).forEach(function(n){Iu(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Lu(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}var ku=f(()=>{Pu()});function ve(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function yy(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 Ni(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ve(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ve(1));return o(Ni)(t,e)}if(typeof t!="function")throw new Error(ve(2));var a=t,i=e,s=[],l=s,p=!1;function u(){l===s&&(l=s.slice())}function m(){if(p)throw new Error(ve(3));return i}function h(O){if(typeof O!="function")throw new Error(ve(4));if(p)throw new Error(ve(5));var I=!0;return u(),l.push(O),function(){if(I){if(p)throw new Error(ve(6));I=!1,u();var _=l.indexOf(O);l.splice(_,1),s=null}}}function x(O){if(!yy(O))throw new Error(ve(7));if(typeof O.type>"u")throw new Error(ve(8));if(p)throw new Error(ve(9));try{p=!0,i=a(i,O)}finally{p=!1}for(var I=s=l,T=0;T<I.length;T++){var _=I[T];_()}return O}function C(O){if(typeof O!="function")throw new Error(ve(10));a=O,x({type:Sn.REPLACE})}function S(){var O,I=h;return O={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(ve(11));function M(){_.next&&_.next(m())}M();var U=I(M);return{unsubscribe:U}}},O[Du]=function(){return this},O}return x({type:Sn.INIT}),n={dispatch:x,subscribe:h,getState:m,replaceReducer:C},n[Du]=S,n}function my(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:Sn.INIT});if(typeof n>"u")throw new Error(ve(12));if(typeof o(void 0,{type:Sn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ve(13))})}function Bu(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),s,l;try{my(o)}catch(p){l=p}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var h;for(var x=!1,C={},S=0;S<i.length;S++){var O=i[S],I=o[O],T=u[O],_=I(T,m);if(typeof _>"u"){var M=m&&m.type;throw new Error(ve(14))}C[O]=_,x=x||_!==T}return x=x||i.length!==Object.keys(u).length,x?C:u}}function Tr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Mu(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(ve(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(p){return p(s)});return i=Tr.apply(void 0,l)(a.dispatch),Ai(Ai({},a),{},{dispatch:i})}}}var Du,Ri,Sn,Cn=f(()=>{ku();Du=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ri=function(){return Math.random().toString(36).substring(7).split("").join(".")},Sn={INIT:"@@redux/INIT"+Ri(),REPLACE:"@@redux/REPLACE"+Ri(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ri()}}});function $u(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var Uu,Ti,Fu=f(()=>{Uu=$u();Uu.withExtraArgument=$u;Ti=Uu});function wy(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}function Li(t){return Ze(t)?xn(t,function(){}):t}function Ny(t){return typeof t=="boolean"}function Ty(){return function(e){return _y(e)}}function _y(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new Ay;if(o&&(Ny(o)?l.push(Ti):l.push(Ti.withExtraArgument(o.extraArgument))),0){if(a)var p;if(s)var u}return l}function Vu(t){var e=Ty(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,p=l===void 0?!0:l,u=o.preloadedState,m=u===void 0?void 0:u,h=o.enhancers,x=h===void 0?void 0:h,C;if(typeof a=="function")C=a;else if(wy(a))C=Bu(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=s;if(typeof S=="function"&&(S=S(e),!Ii&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ii&&S.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Mu.apply(void 0,S),I=Tr;p&&(I=Ey(Bt({trace:!Ii},typeof p=="object"&&p)));var T=new Ry(O),_=T;Array.isArray(x)?_=_r([O],x):typeof x=="function"&&(_=x(T));var M=I.apply(void 0,_);return Ni(C,m,M)}function Mt(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Bt(Bt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Ku(t){var e={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function Iy(t){return typeof t=="function"}function Py(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?Ku(e):[e,o,n],i=a[0],s=a[1],l=a[2],p;if(Iy(t))p=function(){return Li(t())};else{var u=Li(t);p=function(){return u}}function m(h,x){h===void 0&&(h=p());var C=_r([i[x.type]],s.filter(function(S){var O=S.matcher;return O(x)}).map(function(S){var O=S.reducer;return O}));return C.filter(function(S){return!!S}).length===0&&(C=[l]),C.reduce(function(S,O){if(O)if(bt(S)){var I=S,T=O(I,x);return T===void 0?S:T}else{if(Ze(S))return xn(S,function(_){return O(_,x)});var T=O(S,x);if(T===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return S},h)}return m.getInitialState=p,m}function Ly(t,e){return t+"/"+e}function Zu(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Li(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(m){var h=n[m],x=Ly(e,m),C,S;"reducer"in h?(C=h.reducer,S=h.prepare):C=h,i[m]=C,s[x]=C,l[m]=S?Mt(x,S):Mt(x)});function p(){var m=typeof t.extraReducers=="function"?Ku(t.extraReducers):[t.extraReducers],h=m[0],x=h===void 0?{}:h,C=m[1],S=C===void 0?[]:C,O=m[2],I=O===void 0?void 0:O,T=Bt(Bt({},x),s);return Py(o,function(_){for(var M in T)_.addCase(M,T[M]);for(var U=0,W=S;U<W.length;U++){var we=W[U];_.addMatcher(we.matcher,we.reducer)}I&&_.addDefaultCase(I)})}var u;return{name:e,reducer:function(m,h){return u||(u=p()),u(m,h)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}function $y(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Uy(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var ju,gy,_r,by,xy,vy,Wu,Sy,Cy,Hu,Bt,_i,Oy,Ey,qC,Ay,Ry,Ii,ky,Dy,By,Pi,zu,My,JC,qu,Yu,Qu,eO,tO,rO,oO,ki,nO,aO,iO,Gu,sO,Fy,cO,Xu=f(()=>{vn();Cn();Cn();Cn();Fu();vn();vn();ju=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),gy=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(m){return p([u,m])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(m){u=[6,m],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},_r=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},by=Object.defineProperty,xy=Object.defineProperties,vy=Object.getOwnPropertyDescriptors,Wu=Object.getOwnPropertySymbols,Sy=Object.prototype.hasOwnProperty,Cy=Object.prototype.propertyIsEnumerable,Hu=function(t,e,o){return e in t?by(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Bt=function(t,e){for(var o in e||(e={}))Sy.call(e,o)&&Hu(t,o,e[o]);if(Wu)for(var n=0,a=Wu(e);n<a.length;n++){var o=a[n];Cy.call(e,o)&&Hu(t,o,e[o])}return t},_i=function(t,e){return xy(t,vy(e))},Oy=function(t,e,o){return new Promise(function(n,a){var i=function(p){try{l(o.next(p))}catch(u){a(u)}},s=function(p){try{l(o.throw(p))}catch(u){a(u)}},l=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,s)};l((o=o.apply(t,e)).next())})},Ey=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Tr:Tr.apply(null,arguments)},qC=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Ay=function(t){ju(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,_r([void 0],o[0].concat(this)))):new(e.bind.apply(e,_r([void 0],o.concat(this))))},e}(Array),Ry=function(t){ju(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,_r([void 0],o[0].concat(this)))):new(e.bind.apply(e,_r([void 0],o.concat(this))))},e}(Array);Ii=!0;ky="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Dy=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=ky[Math.random()*64|0];return e},By=["name","message","stack","code"],Pi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),zu=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),My=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=By;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},JC=function(){function t(e,o,n){var a=Mt(e+"/fulfilled",function(m,h,x,C){return{payload:m,meta:_i(Bt({},C||{}),{arg:x,requestId:h,requestStatus:"fulfilled"})}}),i=Mt(e+"/pending",function(m,h,x){return{payload:void 0,meta:_i(Bt({},x||{}),{arg:h,requestId:m,requestStatus:"pending"})}}),s=Mt(e+"/rejected",function(m,h,x,C,S){return{payload:C,error:(n&&n.serializeError||My)(m||"Rejected"),meta:_i(Bt({},S||{}),{arg:x,requestId:h,rejectedWithValue:!!C,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(h,x,C){var S=n?.idGenerator?n.idGenerator(m):Dy(),O=new p,I,T=!1;function _(U){I=U,O.abort()}var M=function(){return Oy(this,null,function(){var U,W,we,Qe,Ce,Xe,pe;return gy(this,function(g){switch(g.label){case 0:return g.trys.push([0,4,,5]),Qe=(U=n?.condition)==null?void 0:U.call(n,m,{getState:x,extra:C}),Uy(Qe)?[4,Qe]:[3,2];case 1:Qe=g.sent(),g.label=2;case 2:if(Qe===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,Ce=new Promise(function(v,D){return O.signal.addEventListener("abort",function(){return D({name:"AbortError",message:I||"Aborted"})})}),h(i(S,m,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:S,arg:m},{getState:x,extra:C}))),[4,Promise.race([Ce,Promise.resolve(o(m,{dispatch:h,getState:x,extra:C,requestId:S,signal:O.signal,abort:_,rejectWithValue:function(v,D){return new Pi(v,D)},fulfillWithValue:function(v,D){return new zu(v,D)}})).then(function(v){if(v instanceof Pi)throw v;return v instanceof zu?a(v.payload,S,m,v.meta):a(v,S,m)})])];case 3:return we=g.sent(),[3,5];case 4:return Xe=g.sent(),we=Xe instanceof Pi?s(null,S,m,Xe.payload,Xe.meta):s(Xe,S,m),[3,5];case 5:return pe=n&&!n.dispatchConditionRejection&&s.match(we)&&we.meta.condition,pe||h(we),[2,we]}})})}();return Object.assign(M,{abort:_,requestId:S,arg:m,unwrap:function(){return M.then($y)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();qu="listener",Yu="completed",Qu="cancelled",eO="task-"+Qu,tO="task-"+Yu,rO=qu+"-"+Qu,oO=qu+"-"+Yu,ki="listenerMiddleware",nO=Mt(ki+"/add"),aO=Mt(ki+"/removeAll"),iO=Mt(ki+"/remove"),sO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Gu||(Gu=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Fy=function(t){return function(e){setTimeout(e,t)}},cO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Fy(10);Eu()});function Wy(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var On,Ju=f(()=>{"use strict";On=class extends Wy(Object){}});var ep,tp=f(()=>{"use strict";Xu();yn();di();Ju();window.ftReduxStores||(window.ftReduxStores={});ep=class t extends On{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(uo(i))return i;if(a==null)return;let s=Zu({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Vu({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:s.reducer(p,u)});return window.ftReduxStores[a.name]=new t(s,l,a.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new un;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let p=s,u=i[p];return u?(...m)=>{let h=u(...m.map(a));return this.reduxStore.dispatch(h),h}:m=>{this.setState({[p]:a(m)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var rp=f(()=>{"use strict";dn()});var op=f(()=>{"use strict";Yd();di();hu();tp();yn();rp()});var np=f(()=>{"use strict"});var Hy,ap=f(()=>{"use strict";Hy=b(Q());op();np();Fe()});var En,Di=f(()=>{"use strict";Fe();co();En=class extends rt{async listMySearches(){let e=k.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var wn,Bi=f(()=>{"use strict";Fe();co();wn=class extends rt{async listMyBookmarks(){let e=k.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Rn,zy,An,Mi,ip,$i=f(()=>{"use strict";Rn=b(N());Di();Bi();Fe();zy="ft-user-assets",An=Rn.FtReduxStore.get({name:zy,initialState:{savedSearches:void 0,bookmarks:void 0}}),Mi=class{constructor(){this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new wn,this.savedSearchesService=new En,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=k.getState();(0,Rn.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),An.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),An.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();An.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;An.actions.bookmarks(o)}}},ip=new Mi});var Ui,sp=f(()=>{"use strict";Fe();Ui=class{addCommand(e,o=!1){k.commands.add(e,o)}consumeCommand(e){return k.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ui});var cp,Fi,lp=f(()=>{"use strict";cp=b(N()),Fi=class{highlightHtml(e,o,n){(0,cp.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new Fi});var dp,Wi,up=f(()=>{"use strict";dp=b(N());Fe();Wi=class{isDate(e){var o,n,a,i;return(i=(a=((n=(o=k.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,o){var n,a,i;return dp.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:k.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Wi});var pp,Ir,fp=f(()=>{"use strict";pp=b(N());Fe();Ir=class{static get(e,o){var n,a,i,s;let l=k.getState(),{lang:p,region:u}=(a=(n=l.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new pp.SearchPlaceConverter(l.baseUrl,(s=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,o??`${p}-${u}`)}}});var Nn,hp=f(()=>{"use strict";ii();Nn=class extends Or{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(o=>{console.info("Failed to send document.start_display event"),console.debug(o)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(o=>{console.info("Failed to send topic.start_display event"),console.debug(o)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(o=>{console.info("Failed to send khub.search event"),console.debug(o)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(o=>{console.info("Failed to send document.search event"),console.debug(o)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(o=>{console.info("Failed to send search_page.select event"),console.debug(o)})}}});var yp=f(()=>{"use strict";Bi();nn();sp();ci();co();lp();Di();up();fp();hp()});var mp=f(()=>{"use strict"});var gp,xt=f(()=>{"use strict";gp=b(N());li();ap();Fe();$i();yp();ni();mp();li();(0,gp.customElement)("ft-app-context")(ie)});function bp(t){return t.match(/^[\w-]+\.[\w-]+$/)}var Gy,xp=f(()=>{"use strict";go();Gy=b(N())});function He(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?sn:Er}i18n(i,s,...l){var p;if(typeof i=="string")return this.getI18nService().resolveMessage(i,s,...l);let u=(p=i.args)!==null&&p!==void 0?p:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...u)}customI18n(i){if(bp(i)){let[s,l]=i.split(".");return this[In].has(s)||this.addI18nContext(s,{},!0),this.getI18nService(!0).resolveMessage(s,l)||i}return i}onI18nUpdate(i){var s,l,p;(s=this[Tn])===null||s===void 0||s.forEach((u,m)=>{let h=this.getI18nAttributeValue(m);h&&(this[m]=this.getI18nAttributeMessage(h,u,i))}),(l=this[_n])===null||l===void 0||l.forEach((u,m)=>{let h=this.getI18nListAttributeValues(m);this[m]=h?.map(x=>this.getI18nAttributeMessage(x,u,i))}),(p=this[Pn])===null||p===void 0||p.forEach((u,m)=>{u.context.toLowerCase()===i.toLowerCase()&&(this[m]=this.i18n(u))}),setTimeout(()=>this.requestUpdate(),0)}getI18nAttributeMessage(i,s,l){var p;let u=!l||((p=i.context)===null||p===void 0?void 0:p.toLowerCase())===l.toLowerCase(),m=i.context&&i.key&&u?this.i18n({context:i.context,key:i.key,...s}):i.message;return{...i,message:m}}update(i){var s,l,p;super.update(i),(s=this[Tn])===null||s===void 0||s.forEach((u,m)=>{let h=this.getI18nAttributeValue(m);h?.context&&h.key&&(i.has(m)||u.argsProvider!=null)&&(this.addI18nContextIfNeeded(h,i,m),this[m]=this.getI18nAttributeMessage(h,u))}),(l=this[_n])===null||l===void 0||l.forEach((u,m)=>{let h=this.getI18nListAttributeValues(m);(i.has(m)||u.argsProvider!=null)&&(this[m]=h?.map(x=>(this.addI18nContextIfNeeded(x,i,m),this.getI18nAttributeMessage(x,u))))}),(p=this[Pn])===null||p===void 0||p.forEach((u,m)=>{u.argsProvider!=null&&(this[m]=this.i18n(u))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,s,l){i.context&&i.key&&s.has(l)&&this.addI18nContext(i.context)}addI18nMessagesAndSubscribe(i,s,l){i=i.toLowerCase(),this[bo].has(i)||this[bo].set(i,this.getI18nService(l).subscribe(i,()=>this.onI18nUpdate(i))),this.getI18nService(l).prepareContext(i,s??{}),this.onI18nUpdate(i)}connectedCallback(){var i,s,l,p,u,m;super.connectedCallback(),new Set([...(s=(i=this[Pn])===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:[],...[...(p=(l=this[Tn])===null||l===void 0?void 0:l.keys())!==null&&p!==void 0?p:[]].map(h=>this.getI18nAttributeValue(h)),...[...(m=(u=this[_n])===null||u===void 0?void 0:u.keys())!==null&&m!==void 0?m:[]].flatMap(h=>this.getI18nListAttributeValues(h))].map(h=>h?.context)).forEach(h=>h&&this.addI18nMessages(h)),this[In].forEach((h,x)=>{this.addI18nMessagesAndSubscribe(x,h.defaultMessages,h.isCustomContext)})}addI18nMessages(i,s,l){this[In].set(i,{defaultMessages:s,isCustomContext:l}),this.addI18nMessagesAndSubscribe(i,s,l)}addI18nContext(i,s,l){typeof i=="string"?this.addI18nMessages(i,s,l):this.addI18nMessages(i.name,s,i.custom)}disconnectedCallback(){super.disconnectedCallback(),this[bo].forEach(i=>i()),this[bo].clear()}}return e=In,o=bo,jy([(0,Sp.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var kn,Sp,jy,Tn,_n,Pn,In,bo,vp,Ln,go=f(()=>{"use strict";kn=b(N());xt();Sp=b(Q());xp();jy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Tn=Symbol("i18nAttributes"),_n=Symbol("i18nListAttributes"),Pn=Symbol("i18nProperties"),In=Symbol("i18nManualContexts"),bo=Symbol("i18nUnsubs");vp=class extends He(kn.FtLitElement){},Ln=class extends He(kn.FtLitElementRedux){}});var Dn,Bn,Mn,xo,qe,Hi=f(()=>{"use strict";Dn=b(B()),Bn=b(Q()),Mn=b(N());oi();go();xt();xo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},qe=class extends Ln{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Dn.nothing:Dn.html`
1162
+ `}update(e){var o,n,a,i,s;super.update(e),e.has("baseUrl")&&(k.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&k.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&k.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&k.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&k.actions.noCustom(this.noCustom),e.has("editorMode")&&k.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&k.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&k.actions.session(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>Ar.addContext(l)),e.has("openExternalDocumentInNewTab")&&k.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&k.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&k.actions.forcedOffline(this.forcedOffline),e.has("localesConfiguration")&&(k.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),k.actions.availableUiLocales((a=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&a!==void 0?a:[]),k.actions.searchInAllLanguagesAllowed((s=(i=this.localesConfiguration)===null||i===void 0?void 0:i.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};ie.elementDefinitions={};ie.styles=Vd;xe([(0,Te.property)()],ie.prototype,"baseUrl",void 0);xe([(0,Te.property)()],ie.prototype,"apiIntegrationIdentifier",void 0);xe([(0,Te.property)()],ie.prototype,"uiLocale",void 0);xe([(0,Ke.jsonProperty)(null)],ie.prototype,"availableUiLocales",void 0);xe([(0,Ke.jsonProperty)(null)],ie.prototype,"metadataConfiguration",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"editorMode",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"noCustom",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"openExternalDocumentInNewTab",void 0);xe([(0,Te.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ie.prototype,"noCustomComponent",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"withManualResources",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"navigatorOnline",void 0);xe([(0,Te.property)({type:Boolean})],ie.prototype,"forcedOffline",void 0);xe([(0,Te.property)({type:Object})],ie.prototype,"apiProvider",void 0);xe([(0,Ke.jsonProperty)([])],ie.prototype,"messageContexts",void 0);xe([(0,Ke.jsonProperty)(void 0)],ie.prototype,"session",void 0);xe([(0,Te.state)()],ie.prototype,"localesConfiguration",void 0)});function sy(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!ln(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!ln(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null);if(a=i(t),o=a.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!ln(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ln(t,e){try{return sy(t,e)}catch{return!1}}function dn(t,e){return!ln(t,e)}var un=f(()=>{"use strict"});var cy,qd=f(()=>{"use strict";un();cy=b(Q(),1)});var pn,si=f(()=>{"use strict";pn=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(e.type),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}}});function Qd(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Yd.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:dn,...e??{}})}var Yd,Xd=f(()=>{"use strict";Yd=b(Q(),1);un()});var fn,Jd=f(()=>{"use strict";fn=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var hn,ly,xC,eu,tu=f(()=>{hn=globalThis,ly=hn.ShadowRoot&&(hn.ShadyCSS===void 0||hn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xC=Symbol(),eu=(t,e)=>{if(ly)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=hn.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)}}});var ru,yn,ou=f(()=>{"use strict";ru=b(B(),1);tu();yn=class extends ru.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return eu(n,e.elementStyles),n}}});function nu(t,e,...o){var n;let a=t.querySelector(e);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}var au=f(()=>{"use strict"});var Rr,po,lu,iu,su,du,cu,gt,uu=f(()=>{"use strict";Rr=b(Q(),1);Xd();Jd();ou();au();po=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},iu=Symbol("constructorPrototype"),su=Symbol("constructorName"),du=Symbol("exportpartsDebouncer"),cu=Symbol("dynamicDependenciesLoaded"),gt=class extends yn{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[lu]=new fn(5),this[su]=this.constructor.name,this[iu]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[su]&&Object.setPrototypeOf(this,this[iu])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[cu]||(e[cu]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=nu(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[du].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,s,l;let u=x=>x!=null&&x.trim().length>0,p=e.filter(u).map(x=>x.trim());if(p.length===0){this.removeAttribute("exportparts");return}let g=new Set;for(let x of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let C=(i=(a=x.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],S=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...C,...S).filter(u).map(O=>O.trim()).forEach(O=>g.add(O))}if(g.size===0){this.removeAttribute("exportparts");return}let m=[...g.values()].flatMap(x=>p.map(C=>`${x}:${C}--${x}`));this.setAttribute("exportparts",[...this.part,...m].join(", "))}};lu=du;po([(0,Rr.property)()],gt.prototype,"exportpartsPrefix",void 0);po([Qd([])],gt.prototype,"exportpartsPrefixes",void 0);po([(0,Rr.property)()],gt.prototype,"customStylesheet",void 0);po([(0,Rr.property)()],gt.prototype,"elementToFocus",void 0);po([(0,Rr.state)()],gt.prototype,"useAdoptedStyleSheets",void 0)});function fo(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var mn=f(()=>{"use strict"});var pu,fu,hu,ho,kt,or,yo,yu=f(()=>{"use strict";uu();mn();ho=Symbol("internalReduxEventsUnsubscribers"),kt=Symbol("internalStoresUnsubscribers"),or=Symbol("internalStores"),yo=class extends gt{constructor(){super(...arguments),this[pu]=new Map,this[fu]=new Map,this[hu]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[or].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[or].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[or].get(e)}addStore(e,o){var n;o=(n=o??(fo(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[or].set(o,e),this.subscribeToStore(o,e),this.updateFromStores()}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[or].delete(o)}setupStores(){this.unsubscribeFromStores(),this[or].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[kt].has(e.store):this[kt].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[kt].set(e,o.subscribe(()=>this.updateFromStores())),this[ho].set(e,[]),fo(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.addEventListener(a.eventName,s),this[ho].get(e).push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[kt].forEach((e,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(e){var o;this[kt].has(e)&&this[kt].get(e)(),this[kt].delete(e),(o=this[ho].get(e))===null||o===void 0||o.forEach(n=>n()),this[ho].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};pu=kt,fu=or,hu=ho;yo.reduxProperties=new Map;yo.reduxReactiveProperties=new Set;yo.reduxEventListeners=new Map});function He(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function bt(t){return!!t&&!!t[te]}function Ze(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===gy}(t)||Array.isArray(t)||!!t[Cu]||!!(!((e=t.constructor)===null||e===void 0)&&e[Cu])||mi(t)||gi(t))}function nr(t,e,o){o===void 0&&(o=!1),Pr(t)===0?(o?Object.keys:Tr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Pr(t){var e=t[te];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:mi(t)?2:gi(t)?3:0}function Nr(t,e){return Pr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function dy(t,e){return Pr(t)===2?t.get(e):t[e]}function Ou(t,e,o){var n=Pr(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function Eu(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function mi(t){return yy&&t instanceof Map}function gi(t){return my&&t instanceof Set}function Dt(t){return t.o||t.t}function bi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ru(t);delete e[te];for(var o=Tr(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function xi(t,e){return e===void 0&&(e=!1),vi(t)||bt(t)||!Ze(t)||(Pr(t)>1&&(t.set=t.add=t.clear=t.delete=uy),Object.freeze(t),e&&nr(t,function(o,n){return xi(n,!0)},!0)),t}function uy(){He(2)}function vi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function nt(t){var e=yi[t];return e||He(18,t),e}function py(t,e){yi[t]||(yi[t]=e)}function pi(){return go}function ci(t,e){e&&(nt("Patches"),t.u=[],t.s=[],t.v=e)}function gn(t){fi(t),t.p.forEach(fy),t.p=null}function fi(t){t===go&&(go=t.l)}function mu(t){return go={p:[],l:go,h:t,m:!0,_:0}}function fy(t){var e=t[te];e.i===0||e.i===1?e.j():e.g=!0}function li(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||nt("ES5").S(e,t,n),n?(o[te].P&&(gn(e),He(4)),Ze(t)&&(t=bn(e,t),e.l||xn(e,t)),e.u&&nt("Patches").M(o[te].t,t,e.u,e.s)):t=bn(e,o,[]),gn(e),e.u&&e.v(e.u,e.s),t!==Au?t:void 0}function bn(t,e,o){if(vi(e))return e;var n=e[te];if(!n)return nr(e,function(l,u){return gu(t,n,e,l,u,o)},!0),e;if(n.A!==t)return e;if(!n.P)return xn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=bi(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),nr(i,function(l,u){return gu(t,n,a,l,u,o,s)}),xn(t,a,!1),o&&t.u&&nt("Patches").N(n,o,t.u,t.s)}return n.o}function gu(t,e,o,n,a,i,s){if(bt(a)){var l=bn(t,a,i&&e&&e.i!==3&&!Nr(e.R,n)?i.concat(n):void 0);if(Ou(o,n,l),!bt(l))return;t.m=!1}else s&&o.add(a);if(Ze(a)&&!vi(a)){if(!t.h.D&&t._<1)return;bn(t,a),e&&e.A.l||xn(t,a)}}function xn(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&xi(e,o)}function di(t,e){var o=t[te];return(o?Dt(o):t)[e]}function bu(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Bt(t){t.P||(t.P=!0,t.l&&Bt(t.l))}function ui(t){t.o||(t.o=bi(t.t))}function hi(t,e,o){var n=mi(e)?nt("MapSet").F(e,o):gi(e)?nt("MapSet").T(e,o):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:pi(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},u=l,p=bo;s&&(u=[l],p=mo);var g=Proxy.revocable(u,p),m=g.revoke,x=g.proxy;return l.k=x,l.j=m,x}(e,o):nt("ES5").J(e,o);return(o?o.A:pi()).p.push(n),n}function hy(t){return bt(t)||He(22,t),function e(o){if(!Ze(o))return o;var n,a=o[te],i=Pr(o);if(a){if(!a.P&&(a.i<4||!nt("ES5").K(a)))return a.t;a.I=!0,n=xu(o,i),a.I=!1}else n=xu(o,i);return nr(n,function(s,l){a&&dy(a.t,s)===l||Ou(n,s,e(l))}),i===3?new Set(n):n}(t)}function xu(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return bi(t)}function wu(){function t(s,l){var u=i[s];return u?u.enumerable=l:i[s]=u={configurable:!0,enumerable:l,get:function(){var p=this[te];return bo.get(p,s)},set:function(p){var g=this[te];bo.set(g,s,p)}},u}function e(s){for(var l=s.length-1;l>=0;l--){var u=s[l][te];if(!u.P)switch(u.i){case 5:n(u)&&Bt(u);break;case 4:o(u)&&Bt(u)}}}function o(s){for(var l=s.t,u=s.k,p=Tr(u),g=p.length-1;g>=0;g--){var m=p[g];if(m!==te){var x=l[m];if(x===void 0&&!Nr(l,m))return!0;var C=u[m],S=C&&C[te];if(S?S.t!==x:!Eu(C,x))return!0}}var O=!!l[te];return p.length!==Tr(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);if(u&&!u.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&He(3,JSON.stringify(Dt(s)))}var i={};py("ES5",{J:function(s,l){var u=Array.isArray(s),p=function(m,x){if(m){for(var C=Array(x.length),S=0;S<x.length;S++)Object.defineProperty(C,""+S,t(S,!0));return C}var O=Ru(x);delete O[te];for(var _=Tr(O),T=0;T<_.length;T++){var P=_[T];O[P]=t(P,m||!!O[P].enumerable)}return Object.create(Object.getPrototypeOf(x),O)}(u,s),g={i:u?5:4,A:l?l.A:pi(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,te,{value:g,writable:!0}),p},S:function(s,l,u){u?bt(l)&&l[te].A===s&&e(s.p):(s.u&&function p(g){if(g&&typeof g=="object"){var m=g[te];if(m){var x=m.t,C=m.k,S=m.R,O=m.i;if(O===4)nr(C,function(U){U!==te&&(x[U]!==void 0||Nr(x,U)?S[U]||p(C[U]):(S[U]=!0,Bt(m)))}),nr(x,function(U){C[U]!==void 0||Nr(C,U)||(S[U]=!1,Bt(m))});else if(O===5){if(n(m)&&(Bt(m),S.length=!0),C.length<x.length)for(var _=C.length;_<x.length;_++)S[_]=!1;else for(var T=x.length;T<C.length;T++)S[T]=!0;for(var P=Math.min(C.length,x.length),M=0;M<P;M++)C.hasOwnProperty(M)||(S[M]=!0),S[M]===void 0&&p(C[M])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var vu,go,Si,yy,my,Su,Au,Cu,te,gy,Tr,Ru,yi,bo,mo,by,Be,xy,LC,kC,DC,BC,MC,$C,vn,Sn=f(()=>{Si=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",yy=typeof Map<"u",my=typeof Set<"u",Su=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Au=Si?Symbol.for("immer-nothing"):((vu={})["immer-nothing"]=!0,vu),Cu=Si?Symbol.for("immer-draftable"):"__$immer_draftable",te=Si?Symbol.for("immer-state"):"__$immer_state",gy=""+Object.prototype.constructor,Tr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ru=Object.getOwnPropertyDescriptors||function(t){var e={};return Tr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},yi={},bo={get:function(t,e){if(e===te)return t;var o=Dt(t);if(!Nr(o,e))return function(a,i,s){var l,u=bu(i,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!Ze(n)?n:n===di(t.t,e)?(ui(t),t.o[e]=hi(t.A.h,n,t)):n},has:function(t,e){return e in Dt(t)},ownKeys:function(t){return Reflect.ownKeys(Dt(t))},set:function(t,e,o){var n=bu(Dt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=di(Dt(t),e),i=a?.[te];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Eu(o,a)&&(o!==void 0||Nr(t.t,e)))return!0;ui(t),Bt(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return di(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ui(t),Bt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Dt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){He(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){He(12)}},mo={};nr(bo,function(t,e){mo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),mo.deleteProperty=function(t,e){return mo.set.call(this,t,e,void 0)},mo.set=function(t,e,o){return bo.set.call(this,t[0],e,o,t[0])};by=function(){function t(o){var n=this;this.O=Su,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var u=n;return function(O){var _=this;O===void 0&&(O=l);for(var T=arguments.length,P=Array(T>1?T-1:0),M=1;M<T;M++)P[M-1]=arguments[M];return u.produce(O,function(U){var W;return(W=i).call.apply(W,[_,U].concat(P))})}}var p;if(typeof i!="function"&&He(6),s!==void 0&&typeof s!="function"&&He(7),Ze(a)){var g=mu(n),m=hi(n,a,void 0),x=!0;try{p=i(m),x=!1}finally{x?gn(g):fi(g)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return ci(g,s),li(O,g)},function(O){throw gn(g),O}):(ci(g,s),li(p,g))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===Au&&(p=void 0),n.D&&xi(p,!0),s){var C=[],S=[];nt("Patches").M(a,p,C,S),s(C,S)}return p}He(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var g=arguments.length,m=Array(g>1?g-1:0),x=1;x<g;x++)m[x-1]=arguments[x];return n.produceWithPatches(p,function(C){return a.apply(void 0,[C].concat(m))})};var s,l,u=n.produce(a,i,function(p,g){s=p,l=g});return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return[p,s,l]}):[u,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){Ze(o)||He(8),bt(o)&&(o=hy(o));var n=mu(this),a=hi(this,o,void 0);return a[te].C=!0,fi(n),a},e.finishDraft=function(o,n){var a=o&&o[te],i=a.A;return ci(i,n),li(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Su&&He(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=nt("Patches").$;return bt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),Be=new by,xy=Be.produce,LC=Be.produceWithPatches.bind(Be),kC=Be.setAutoFreeze.bind(Be),DC=Be.setUseProxies.bind(Be),BC=Be.applyPatches.bind(Be),MC=Be.createDraft.bind(Be),$C=Be.finishDraft.bind(Be),vn=xy});function ar(t){"@babel/helpers - typeof";return ar=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},ar(t)}var Ci=f(()=>{});function Nu(t,e){if(ar(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(ar(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Tu=f(()=>{Ci()});function Pu(t){var e=Nu(t,"string");return ar(e)=="symbol"?e:e+""}var _u=f(()=>{Ci();Tu()});function Iu(t,e,o){return(e=Pu(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var Lu=f(()=>{_u()});function ku(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function Oi(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?ku(Object(o),!0).forEach(function(n){Iu(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ku(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}var Du=f(()=>{Lu()});function ve(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}function vy(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 wi(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ve(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ve(1));return o(wi)(t,e)}if(typeof t!="function")throw new Error(ve(2));var a=t,i=e,s=[],l=s,u=!1;function p(){l===s&&(l=s.slice())}function g(){if(u)throw new Error(ve(3));return i}function m(O){if(typeof O!="function")throw new Error(ve(4));if(u)throw new Error(ve(5));var _=!0;return p(),l.push(O),function(){if(_){if(u)throw new Error(ve(6));_=!1,p();var P=l.indexOf(O);l.splice(P,1),s=null}}}function x(O){if(!vy(O))throw new Error(ve(7));if(typeof O.type>"u")throw new Error(ve(8));if(u)throw new Error(ve(9));try{u=!0,i=a(i,O)}finally{u=!1}for(var _=s=l,T=0;T<_.length;T++){var P=_[T];P()}return O}function C(O){if(typeof O!="function")throw new Error(ve(10));a=O,x({type:Cn.REPLACE})}function S(){var O,_=m;return O={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(ve(11));function M(){P.next&&P.next(g())}M();var U=_(M);return{unsubscribe:U}}},O[Bu]=function(){return this},O}return x({type:Cn.INIT}),n={dispatch:x,subscribe:m,getState:g,replaceReducer:C},n[Bu]=S,n}function Sy(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:Cn.INIT});if(typeof n>"u")throw new Error(ve(12));if(typeof o(void 0,{type:Cn.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ve(13))})}function Mu(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),s,l;try{Sy(o)}catch(u){l=u}return function(p,g){if(p===void 0&&(p={}),l)throw l;if(0)var m;for(var x=!1,C={},S=0;S<i.length;S++){var O=i[S],_=o[O],T=p[O],P=_(T,g);if(typeof P>"u"){var M=g&&g.type;throw new Error(ve(14))}C[O]=P,x=x||P!==T}return x=x||i.length!==Object.keys(p).length,x?C:p}}function _r(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function $u(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(ve(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(u){return u(s)});return i=_r.apply(void 0,l)(a.dispatch),Oi(Oi({},a),{},{dispatch:i})}}}var Bu,Ei,Cn,On=f(()=>{Du();Bu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ei=function(){return Math.random().toString(36).substring(7).split("").join(".")},Cn={INIT:"@@redux/INIT"+Ei(),REPLACE:"@@redux/REPLACE"+Ei(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ei()}}});function Uu(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var Fu,Ai,Wu=f(()=>{Fu=Uu();Fu.withExtraArgument=Uu;Ai=Fu});function Py(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}function Pi(t){return Ze(t)?vn(t,function(){}):t}function Ly(t){return typeof t=="boolean"}function ky(){return function(e){return Dy(e)}}function Dy(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new _y;if(o&&(Ly(o)?l.push(Ai):l.push(Ai.withExtraArgument(o.extraArgument))),0){if(a)var u;if(s)var p}return l}function Ku(t){var e=ky(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,u=l===void 0?!0:l,p=o.preloadedState,g=p===void 0?void 0:p,m=o.enhancers,x=m===void 0?void 0:m,C;if(typeof a=="function")C=a;else if(Py(a))C=Mu(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=s;if(typeof S=="function"&&(S=S(e),!Ni&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ni&&S.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=$u.apply(void 0,S),_=_r;u&&(_=Ty(Mt({trace:!Ni},typeof u=="object"&&u)));var T=new Iy(O),P=T;Array.isArray(x)?P=Ir([O],x):typeof x=="function"&&(P=x(T));var M=_.apply(void 0,P);return wi(C,g,M)}function $t(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Mt(Mt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Zu(t){var e={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function By(t){return typeof t=="function"}function My(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?Zu(e):[e,o,n],i=a[0],s=a[1],l=a[2],u;if(By(t))u=function(){return Pi(t())};else{var p=Pi(t);u=function(){return p}}function g(m,x){m===void 0&&(m=u());var C=Ir([i[x.type]],s.filter(function(S){var O=S.matcher;return O(x)}).map(function(S){var O=S.reducer;return O}));return C.filter(function(S){return!!S}).length===0&&(C=[l]),C.reduce(function(S,O){if(O)if(bt(S)){var _=S,T=O(_,x);return T===void 0?S:T}else{if(Ze(S))return vn(S,function(P){return O(P,x)});var T=O(S,x);if(T===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return S},m)}return g.getInitialState=u,g}function $y(t,e){return t+"/"+e}function qu(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Pi(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(g){var m=n[g],x=$y(e,g),C,S;"reducer"in m?(C=m.reducer,S=m.prepare):C=m,i[g]=C,s[x]=C,l[g]=S?$t(x,S):$t(x)});function u(){var g=typeof t.extraReducers=="function"?Zu(t.extraReducers):[t.extraReducers],m=g[0],x=m===void 0?{}:m,C=g[1],S=C===void 0?[]:C,O=g[2],_=O===void 0?void 0:O,T=Mt(Mt({},x),s);return My(o,function(P){for(var M in T)P.addCase(M,T[M]);for(var U=0,W=S;U<W.length;U++){var we=W[U];P.addMatcher(we.matcher,we.reducer)}_&&P.addDefaultCase(_)})}var p;return{name:e,reducer:function(g,m){return p||(p=u()),p(g,m)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}function zy(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Gy(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Vu,Cy,Ir,Oy,Ey,wy,Hu,Ay,Ry,zu,Mt,Ri,Ny,Ty,rO,_y,Iy,Ni,Uy,Fy,Wy,Ti,Gu,Hy,iO,Yu,Qu,Xu,sO,cO,lO,dO,_i,uO,pO,fO,ju,hO,jy,yO,Ju=f(()=>{Sn();On();On();On();Wu();Sn();Sn();Vu=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Cy=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(g){return u([p,g])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=e.call(t,o)}catch(g){p=[6,g],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Ir=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},Oy=Object.defineProperty,Ey=Object.defineProperties,wy=Object.getOwnPropertyDescriptors,Hu=Object.getOwnPropertySymbols,Ay=Object.prototype.hasOwnProperty,Ry=Object.prototype.propertyIsEnumerable,zu=function(t,e,o){return e in t?Oy(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Mt=function(t,e){for(var o in e||(e={}))Ay.call(e,o)&&zu(t,o,e[o]);if(Hu)for(var n=0,a=Hu(e);n<a.length;n++){var o=a[n];Ry.call(e,o)&&zu(t,o,e[o])}return t},Ri=function(t,e){return Ey(t,wy(e))},Ny=function(t,e,o){return new Promise(function(n,a){var i=function(u){try{l(o.next(u))}catch(p){a(p)}},s=function(u){try{l(o.throw(u))}catch(p){a(p)}},l=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(i,s)};l((o=o.apply(t,e)).next())})},Ty=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?_r:_r.apply(null,arguments)},rO=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};_y=function(t){Vu(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Ir([void 0],o[0].concat(this)))):new(e.bind.apply(e,Ir([void 0],o.concat(this))))},e}(Array),Iy=function(t){Vu(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Ir([void 0],o[0].concat(this)))):new(e.bind.apply(e,Ir([void 0],o.concat(this))))},e}(Array);Ni=!0;Uy="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Fy=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=Uy[Math.random()*64|0];return e},Wy=["name","message","stack","code"],Ti=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Gu=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Hy=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Wy;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},iO=function(){function t(e,o,n){var a=$t(e+"/fulfilled",function(g,m,x,C){return{payload:g,meta:Ri(Mt({},C||{}),{arg:x,requestId:m,requestStatus:"fulfilled"})}}),i=$t(e+"/pending",function(g,m,x){return{payload:void 0,meta:Ri(Mt({},x||{}),{arg:m,requestId:g,requestStatus:"pending"})}}),s=$t(e+"/rejected",function(g,m,x,C,S){return{payload:C,error:(n&&n.serializeError||Hy)(g||"Rejected"),meta:Ri(Mt({},S||{}),{arg:x,requestId:m,rejectedWithValue:!!C,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),l=!1,u=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function p(g){return function(m,x,C){var S=n?.idGenerator?n.idGenerator(g):Fy(),O=new u,_,T=!1;function P(U){_=U,O.abort()}var M=function(){return Ny(this,null,function(){var U,W,we,Qe,Ce,Xe,pe;return Cy(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),Qe=(U=n?.condition)==null?void 0:U.call(n,g,{getState:x,extra:C}),Gy(Qe)?[4,Qe]:[3,2];case 1:Qe=y.sent(),y.label=2;case 2:if(Qe===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,Ce=new Promise(function(v,D){return O.signal.addEventListener("abort",function(){return D({name:"AbortError",message:_||"Aborted"})})}),m(i(S,g,(W=n?.getPendingMeta)==null?void 0:W.call(n,{requestId:S,arg:g},{getState:x,extra:C}))),[4,Promise.race([Ce,Promise.resolve(o(g,{dispatch:m,getState:x,extra:C,requestId:S,signal:O.signal,abort:P,rejectWithValue:function(v,D){return new Ti(v,D)},fulfillWithValue:function(v,D){return new Gu(v,D)}})).then(function(v){if(v instanceof Ti)throw v;return v instanceof Gu?a(v.payload,S,g,v.meta):a(v,S,g)})])];case 3:return we=y.sent(),[3,5];case 4:return Xe=y.sent(),we=Xe instanceof Ti?s(null,S,g,Xe.payload,Xe.meta):s(Xe,S,g),[3,5];case 5:return pe=n&&!n.dispatchConditionRejection&&s.match(we)&&we.meta.condition,pe||m(we),[2,we]}})})}();return Object.assign(M,{abort:P,requestId:S,arg:g,unwrap:function(){return M.then(zy)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();Yu="listener",Qu="completed",Xu="cancelled",sO="task-"+Xu,cO="task-"+Qu,lO=Yu+"-"+Xu,dO=Yu+"-"+Qu,_i="listenerMiddleware",uO=$t(_i+"/add"),pO=$t(_i+"/removeAll"),fO=$t(_i+"/remove"),hO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ju||(ju=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},jy=function(t){return function(e){setTimeout(e,t)}},yO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:jy(10);wu()});function Vy(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var En,ep=f(()=>{"use strict";En=class extends Vy(Object){}});var tp,rp=f(()=>{"use strict";Ju();mn();si();ep();window.ftReduxStores||(window.ftReduxStores={});tp=class t extends En{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(fo(i))return i;if(a==null)return;let s=qu({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Ku({reducer:(u,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...p.overwrites}:s.reducer(u,p)});return window.ftReduxStores[a.name]=new t(s,l,a.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new pn;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,s,l)=>{let u=s,p=i[u];return p?(...g)=>{let m=p(...g.map(a));return this.reduxStore.dispatch(m),m}:g=>{this.setState({[u]:a(g)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}});var op=f(()=>{"use strict";un()});var np=f(()=>{"use strict";qd();si();yu();rp();mn();op()});var ap=f(()=>{"use strict"});var Ky,ip=f(()=>{"use strict";Ky=b(Q());np();ap();We()});var wn,Ii=f(()=>{"use strict";We();uo();wn=class extends rt{async listMySearches(){let e=k.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var An,Li=f(()=>{"use strict";We();uo();An=class extends rt{async listMyBookmarks(){let e=k.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var Nn,Zy,Rn,ki,sp,Di=f(()=>{"use strict";Nn=b(N());Ii();Li();We();Zy="ft-user-assets",Rn=Nn.FtReduxStore.get({name:Zy,initialState:{savedSearches:void 0,bookmarks:void 0}}),ki=class{constructor(){this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new An,this.savedSearchesService=new wn,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=k.getState();(0,Nn.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Rn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Rn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Rn.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Rn.actions.bookmarks(o)}}},sp=new ki});var Bi,cp=f(()=>{"use strict";We();Bi=class{addCommand(e,o=!1){k.commands.add(e,o)}consumeCommand(e){return k.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Bi});var lp,Mi,dp=f(()=>{"use strict";lp=b(N()),Mi=class{highlightHtml(e,o,n){(0,lp.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new Mi});var up,$i,pp=f(()=>{"use strict";up=b(N());We();$i=class{isDate(e){var o,n,a,i;return(i=(a=((n=(o=k.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,o){var n,a,i;return up.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:k.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new $i});var fp,xt,Ui=f(()=>{"use strict";fp=b(N());We();xt=class{static get(e,o){var n,a,i,s;let l=k.getState(),{lang:u,region:p}=(a=(n=l.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new fp.SearchPlaceConverter(l.baseUrl,(s=(i=window.FluidTopicsClientConfiguration)===null||i===void 0?void 0:i.predefinedSorts)!==null&&s!==void 0?s:{},e??20,l.searchInAllLanguagesAllowed,o??`${u}-${p}`)}}});var Tn,hp=f(()=>{"use strict";oi();Tn=class extends wr{async sendDocumentStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(o=>{console.info("Failed to send document.start_display event"),console.debug(o)})}async sendTopicStartDisplayEvent(e){return(await this.awaitApi).sendEvents([e]).catch(o=>{console.info("Failed to send topic.start_display event"),console.debug(o)})}async sendKhubSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(o=>{console.info("Failed to send khub.search event"),console.debug(o)})}async sendDocumentSearchEvent(e){return(await this.awaitApi).sendEvents([e]).catch(o=>{console.info("Failed to send document.search event"),console.debug(o)})}async sendSearchPageSelectEvent(e){return(await this.awaitApi).sendEvents([e]).catch(o=>{console.info("Failed to send search_page.select event"),console.debug(o)})}}});var Fi,yp=f(()=>{"use strict";Ui();Fi=class{urlToSearchRequest(e){return xt.get().parse(e)}searchRequestToUrl(e){return xt.get().serialize(e)}};window.FluidTopicsUrlService=new Fi});var mp=f(()=>{"use strict";Li();an();cp();ai();uo();dp();Ii();pp();Ui();hp();yp()});var gp=f(()=>{"use strict"});var bp,vt=f(()=>{"use strict";bp=b(N());ii();ip();We();Di();mp();ti();gp();ii();(0,bp.customElement)("ft-app-context")(ie)});function xp(t){return t.match(/^[\w-]+\.[\w-]+$/)}var qy,vp=f(()=>{"use strict";xo();qy=b(N())});function ze(t){var e,o;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[o]=new Map}getI18nService(i){return i??this.useCustomMessageContexts?cn:Ar}i18n(i){var s;this.hasI18nContext(i.context)||this.addI18nContext(i.context,void 0,i.custom);let l=(s=i.args)!==null&&s!==void 0?s:i.argsProvider?i.argsProvider(this):[];return this.getI18nService(i.custom).resolveMessage(i.context,i.key,...l)}customI18n(i,s){if(xp(i)){let[l,u]=i.split(".");return this.i18n({custom:!0,context:l,key:u,...s})||i}return i}firstUpdated(i){super.firstUpdated(i),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(i){super.update(i),this.updateI18nAttributes((s,l,u)=>i.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(i){this.updateI18nAttributes((s,l,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===i}),this.updateI18nProperties(s=>s.context.toLowerCase()===i),this.requestUpdate()}updateI18nAttributes(i){var s,l;let u=this,p=(g,m,x)=>x?.context&&x.key&&i(g,m,x)?{...x,message:this.i18n({context:x.context,key:x.key,...g})}:x;(s=this[Sp])===null||s===void 0||s.forEach((g,m)=>u[m]=p(g,m,u[m])),(l=this[Cp])===null||l===void 0||l.forEach((g,m)=>{var x;return u[m]=(x=u[m])===null||x===void 0?void 0:x.map(C=>p(g,m,C))})}updateI18nProperties(i){var s;(s=this[wp])===null||s===void 0||s.forEach((l,u)=>{i(l,u)&&(this[u]=this.i18n(l))})}addI18nMessages(i,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(i,s,l)}addI18nContext(i,s,l){let u=(typeof i=="string"?i:i.name).toLowerCase();l=typeof i=="string"?l:i.custom,this[Pn].set(u,{isCustomContext:l}),this[vo].has(u)||this[vo].set(u,this.getI18nService(l).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(l).prepareContext(u,s)}hasI18nContext(i){return this[Pn].has(i.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Pn].forEach((i,s)=>this.addI18nContext(s,void 0,i.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[vo].forEach(i=>i()),this[vo].clear()}}return e=Pn,o=vo,Yy([(0,Ep.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}var In,Ep,Yy,Sp,Cp,wp,Pn,vo,Op,_n,xo=f(()=>{"use strict";In=b(N());vt();Ep=b(Q());vp();Yy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Sp=Symbol("i18nAttributes"),Cp=Symbol("i18nListAttributes"),wp=Symbol("i18nProperties"),Pn=Symbol("i18nContexts"),vo=Symbol("i18nUnsubs");Op=class extends ze(In.FtLitElement){},_n=class extends ze(In.FtLitElementRedux){}});var Ln,kn,Dn,So,qe,Wi=f(()=>{"use strict";Ln=b(B()),kn=b(Q()),Dn=b(N());ei();xo();vt();So=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},qe=class extends _n{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Ln.nothing:Ln.html`
1163
1163
  <span class="ft-i18n">
1164
- ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1164
+ ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1165
1165
  </span>
1166
- `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};qe.elementDefinitions={};qe.styles=jd;xo([(0,Mn.redux)()],qe.prototype,"editorMode",void 0);xo([(0,Bn.property)()],qe.prototype,"context",void 0);xo([(0,Bn.property)()],qe.prototype,"key",void 0);xo([(0,Mn.jsonProperty)([])],qe.prototype,"args",void 0);xo([(0,Bn.property)()],qe.prototype,"defaultMessage",void 0)});var at,Cp=f(()=>{"use strict";xt();at=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?sn:Er}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}}});var Op=f(()=>{"use strict";go()});var Ep=f(()=>{"use strict"});var wp,it=f(()=>{"use strict";wp=b(N());Hi();Cp();go();Op();oi();Ep();Hi();(0,wp.customElement)("ft-i18n")(qe)});var _p=Vt(($t,Tp)=>{var Un=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Fn=function(){function t(){this.fetch=!1,this.DOMException=Un.DOMException}return t.prototype=Un,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(g){return g&&DataView.prototype.isPrototypeOf(g)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(g){return g&&s.indexOf(Object.prototype.toString.call(g))>-1};function p(g){if(typeof g!="string"&&(g=String(g)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(g)||g==="")throw new TypeError('Invalid character in header field name: "'+g+'"');return g.toLowerCase()}function u(g){return typeof g!="string"&&(g=String(g)),g}function m(g){var v={next:function(){var D=g.shift();return{done:D===void 0,value:D}}};return a.iterable&&(v[Symbol.iterator]=function(){return v}),v}function h(g){this.map={},g instanceof h?g.forEach(function(v,D){this.append(D,v)},this):Array.isArray(g)?g.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):g&&Object.getOwnPropertyNames(g).forEach(function(v){this.append(v,g[v])},this)}h.prototype.append=function(g,v){g=p(g),v=u(v);var D=this.map[g];this.map[g]=D?D+", "+v:v},h.prototype.delete=function(g){delete this.map[p(g)]},h.prototype.get=function(g){return g=p(g),this.has(g)?this.map[g]:null},h.prototype.has=function(g){return this.map.hasOwnProperty(p(g))},h.prototype.set=function(g,v){this.map[p(g)]=u(v)},h.prototype.forEach=function(g,v){for(var D in this.map)this.map.hasOwnProperty(D)&&g.call(v,this.map[D],D,this)},h.prototype.keys=function(){var g=[];return this.forEach(function(v,D){g.push(D)}),m(g)},h.prototype.values=function(){var g=[];return this.forEach(function(v){g.push(v)}),m(g)},h.prototype.entries=function(){var g=[];return this.forEach(function(v,D){g.push([D,v])}),m(g)},a.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function x(g){if(!g._noBody){if(g.bodyUsed)return Promise.reject(new TypeError("Already read"));g.bodyUsed=!0}}function C(g){return new Promise(function(v,D){g.onload=function(){v(g.result)},g.onerror=function(){D(g.error)}})}function S(g){var v=new FileReader,D=C(v);return v.readAsArrayBuffer(g),D}function O(g){var v=new FileReader,D=C(v),q=/charset=([A-Za-z0-9_-]+)/.exec(g.type),re=q?q[1]:"utf-8";return v.readAsText(g,re),D}function I(g){for(var v=new Uint8Array(g),D=new Array(v.length),q=0;q<v.length;q++)D[q]=String.fromCharCode(v[q]);return D.join("")}function T(g){if(g.slice)return g.slice(0);var v=new Uint8Array(g.byteLength);return v.set(new Uint8Array(g)),v.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(g){this.bodyUsed=this.bodyUsed,this._bodyInit=g,g?typeof g=="string"?this._bodyText=g:a.blob&&Blob.prototype.isPrototypeOf(g)?this._bodyBlob=g:a.formData&&FormData.prototype.isPrototypeOf(g)?this._bodyFormData=g:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)?this._bodyText=g.toString():a.arrayBuffer&&a.blob&&i(g)?(this._bodyArrayBuffer=T(g.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(g)||l(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):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(g)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var g=x(this);if(g)return g;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var g=x(this);return g||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var g=x(this);if(g)return g;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(I(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(we)}),this.json=function(){return this.text().then(JSON.parse)},this}var M=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(g){var v=g.toUpperCase();return M.indexOf(v)>-1?v:g}function W(g,v){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var D=v.body;if(g instanceof W){if(g.bodyUsed)throw new TypeError("Already read");this.url=g.url,this.credentials=g.credentials,v.headers||(this.headers=new h(g.headers)),this.method=g.method,this.mode=g.mode,this.signal=g.signal,!D&&g._bodyInit!=null&&(D=g._bodyInit,g.bodyUsed=!0)}else this.url=String(g);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new h(v.headers)),this.method=U(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in n){var H=new AbortController;return H.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")&&(v.cache==="no-store"||v.cache==="no-cache")){var q=/([?&])_=[^&]*/;if(q.test(this.url))this.url=this.url.replace(q,"$1_="+new Date().getTime());else{var re=/\?/;this.url+=(re.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})};function we(g){var v=new FormData;return g.trim().split("&").forEach(function(D){if(D){var q=D.split("="),re=q.shift().replace(/\+/g," "),H=q.join("=").replace(/\+/g," ");v.append(decodeURIComponent(re),decodeURIComponent(H))}}),v}function Qe(g){var v=new h,D=g.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(q){return q.indexOf(`
1167
- `)===0?q.substr(1,q.length):q}).forEach(function(q){var re=q.split(":"),H=re.shift().trim();if(H){var _o=re.join(":").trim();try{v.append(H,_o)}catch(ia){console.warn("Response "+ia.message)}}}),v}_.call(W.prototype);function Ce(g,v){if(!(this instanceof Ce))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText===void 0?"":""+v.statusText,this.headers=new h(v.headers),this.url=v.url||"",this._initBody(g)}_.call(Ce.prototype),Ce.prototype.clone=function(){return new Ce(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},Ce.error=function(){var g=new Ce(null,{status:200,statusText:""});return g.ok=!1,g.status=0,g.type="error",g};var Xe=[301,302,303,307,308];Ce.redirect=function(g,v){if(Xe.indexOf(v)===-1)throw new RangeError("Invalid status code");return new Ce(null,{status:v,headers:{location:g}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,D){this.message=v,this.name=D;var q=Error(v);this.stack=q.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function pe(g,v){return new Promise(function(D,q){var re=new W(g,v);if(re.signal&&re.signal.aborted)return q(new o.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function _o(){H.abort()}H.onload=function(){var fe={statusText:H.statusText,headers:Qe(H.getAllResponseHeaders()||"")};re.url.indexOf("file://")===0&&(H.status<200||H.status>599)?fe.status=200:fe.status=H.status,fe.url="responseURL"in H?H.responseURL:fe.headers.get("X-Request-URL");var jt="response"in H?H.response:H.responseText;setTimeout(function(){D(new Ce(jt,fe))},0)},H.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},H.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},H.onabort=function(){setTimeout(function(){q(new o.DOMException("Aborted","AbortError"))},0)};function ia(fe){try{return fe===""&&n.location.href?n.location.href:fe}catch{return fe}}if(H.open(re.method,ia(re.url),!0),re.credentials==="include"?H.withCredentials=!0:re.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&(a.blob?H.responseType="blob":a.arrayBuffer&&(H.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof h||n.Headers&&v.headers instanceof n.Headers)){var Is=[];Object.getOwnPropertyNames(v.headers).forEach(function(fe){Is.push(p(fe)),H.setRequestHeader(fe,u(v.headers[fe]))}),re.headers.forEach(function(fe,jt){Is.indexOf(jt)===-1&&H.setRequestHeader(jt,fe)})}else re.headers.forEach(function(fe,jt){H.setRequestHeader(jt,fe)});re.signal&&(re.signal.addEventListener("abort",_o),H.onreadystatechange=function(){H.readyState===4&&re.signal.removeEventListener("abort",_o)}),H.send(typeof re._bodyInit>"u"?null:re._bodyInit)})}return pe.polyfill=!0,n.fetch||(n.fetch=pe,n.Headers=h,n.Request=W,n.Response=Ce),o.Headers=h,o.Request=W,o.Response=Ce,o.fetch=pe,o}({})})(Fn);Fn.fetch.ponyfill=!0;delete Fn.fetch.polyfill;var Pr=Un.fetch?Un:Fn;$t=Pr.fetch;$t.default=Pr.fetch;$t.fetch=Pr.fetch;$t.Headers=Pr.Headers;$t.Request=Pr.Request;$t.Response=Pr.Response;Tp.exports=$t});var Ip=f(()=>{});var Pp,Lp,Lr,kp,Dp,kr,Bp,Mp,$p,Up,Fp,Wp,Hp,zp,Gp,Dr,jp,Wn,Vp,Kp,Ye,Br,me,ji=f(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Pp||(Pp={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Lp||(Lp={}));(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"})(Lr||(Lr={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(kp||(kp={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Dp||(Dp={}));(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(kr||(kr={}));(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"})(Bp||(Bp={}));(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"})(Mp||(Mp={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})($p||($p={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Up||(Up={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Fp||(Fp={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Wp||(Wp={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Hp||(Hp={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(zp||(zp={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Gp||(Gp={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Dr||(Dr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(jp||(jp={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Wn||(Wn={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Vp||(Vp={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Kp||(Kp={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ye||(Ye={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Br||(Br={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(me||(me={}))});var Zp,qp,Yp=f(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Zp||(Zp={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(qp||(qp={}))});var KE,Qp=f(()=>{ji();KE={[me.PERSONAL_BOOK_SHARE_USER]:[me.PERSONAL_BOOK_USER],[me.HTML_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.PDF_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.KHUB_ADMIN]:[me.CONTENT_PUBLISHER],[me.ADMIN]:[me.KHUB_ADMIN,me.USERS_ADMIN,me.PORTAL_ADMIN],[me.GENERATIVE_AI_EXPORT_USER]:[me.GENERATIVE_AI_USER]}});var Xp=f(()=>{});var Zy,Hn=f(()=>{Zy=b(_p(),1);Ip();ji();Yp();Qp();Xp()});var Jp,ef=f(()=>{va();Jp=t=>t??le});var tf=f(()=>{ef()});function rf(t){var e,o,n,a,i;return((a=(o=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&o!==void 0?o:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.openMode)===Wn.EXTERNAL}function zn(t){var e,o,n,a,i;if(rf(t))return(a=(o=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&o!==void 0?o:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.originUrl;switch(t.type){case Ye.MAP:return t.map.readerUrl;case Ye.DOCUMENT:return t.document.viewerUrl;case Ye.TOPIC:return t.topic.readerUrl}return""}function of(t,e){return Jp(e&&rf(t)?"_blank":void 0)}var Vi=f(()=>{"use strict";Hn();tf()});var Mr,Zi=f(()=>{"use strict";Mr=class extends CustomEvent{constructor(e,o){super("ft-search-result-click",{detail:{result:e,rank:o},bubbles:!0,composed:!0})}}});var cf,qy,qi,Yi=f(()=>{"use strict";cf=b(B()),qy={},qi=cf.css`
1168
- `});var lf=f(()=>{"use strict"});var Vn,Yy,df,uf=f(()=>{"use strict";Vn=b(N()),Yy={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{var o;let n=+((o=e.payload)!==null&&o!==void 0?o:20);t.request.paging.perPage=isNaN(n)?20:(0,Vn.minmax)(1,n,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 o;t.request.clusterSortCriterions=(o=e.payload)!==null&&o!==void 0?o:[]}},df=t=>Vn.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:Yy})});var Kn,pf=f(()=>{"use strict";xt();Kn=class extends rt{constructor(e){super(!0,e),this.sortObjectFields=(o,n)=>typeof n!="object"||n==null||Array.isArray(n)?n:Object.fromEntries(Object.entries(n).sort(([a],[i])=>a.localeCompare(i)))}async launchSearch(e){let o={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((n,a)=>n.id.localeCompare(a.id))};return this.cache.get("search-"+this.hash(o),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let o={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(o),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(o=>o.valueFilter==null?o:{...o,valueFilter:{...o.valueFilter,values:[...o.valueFilter.values].sort((n,a)=>n.localeCompare(a))}}).sort((o,n)=>o.key.localeCompare(n.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}}});var Be,ff,Co,$r,Qi=f(()=>{"use strict";Be=b(N());uf();Hn();pf();ff=t=>t.request.virtualField===Dr.TITLE_ONLY&&t.request.scope===Br.DOCUMENTS,Co=class t extends Event{constructor(){super(t.eventName)}};Co.eventName="search-context-clear-all-filters";$r=class t{static build(e,o){return new t(df(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Be.Debouncer(10),this.searchDebouncer=new Be.Debouncer(100),this.launchSearch=n=>this.searchDebouncer.run(()=>this.fetchSearchData(n??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=n=>({...n.request,facets:this.facetIds.map(a=>({id:a}))}),this.suggestDebouncer=new Be.Debouncer(300),this.launchSuggest=n=>this.suggestDebouncer.run(()=>this.fetchSuggestData(n??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=n=>({input:n.liveQuery,metadataFilters:n.request.metadataFilters,sort:n.request.sort,contentLocale:n.request.contentLocale,scope:n.request.scope}),this.service=o??new Kn,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,Be.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,Be.watch)(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var o;let n=(o=this.store.getState().locales)!==null&&o!==void 0?o:[],a=this.store.getState().request.contentLocale;if(e!=a){if(n.length>0){let i=s=>n.some(l=>l.lang==s);i(e)||(e=i(a)?a:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let o=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Dr.TITLE_ONLY),this.store.actions.setRequestScope(Br.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Dr.EVERYWHERE),this.store.actions.setRequestScope(Br.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return ff(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Co)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,o){let n=this.facetIds.filter(a=>a!=e);o&&n.push(o),this.facetIds=n}get facetIds(){var e;let o=this.store.getState().request;return[...new Set([...o.facets.map(n=>n.id),...((e=o.metadataFilters)!==null&&e!==void 0?e:[]).map(n=>n.key)])]}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,o){this.setValueFilter(e,o)}setValueFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,valueFilter:{values:o,negative:!1}},i=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==a.key),a];this.setFilters(i)}setDateFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,dateFilter:{type:o}},i=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==a.key),a];this.setFilters(i)}removeDateFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.dateFilter),...o.filter(a=>a.dateFilter&&a.key!==e)];this.setFilters(n)}setRangeFilter(e,o,n){let a=this.store.getState().request.metadataFilters,i={key:e,rangeFilter:{from:o,to:n}},s=[...a.filter(l=>!l.rangeFilter),...a.filter(l=>l.rangeFilter&&l.key!==i.key),i];this.setFilters(s)}removeRangeFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.rangeFilter),...o.filter(a=>a.rangeFilter&&a.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var o,n,a;try{if((o=this.cancelableSearch)===null||o===void 0||o.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=(0,Be.cancelable)(this.service.launchSearch(e));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.results(i.results),this.store.actions.facets(i.facets),this.store.actions.spellcheck(i.spellcheck);else{let s=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(i.results);this.store.actions.results(s)}this.store.actions.paging(i.paging)}}catch(i){i instanceof Be.CanceledPromiseError||(console.error(i),(a=this.errorHandler)===null||a===void 0||a.call(this,i))}}async fetchSuggestData(e){var o;try{(o=this.cancelableSuggest)===null||o===void 0||o.cancel(),this.cancelableSuggest=(0,Be.cancelable)(this.service.launchSuggest(e));let n=await this.cancelableSuggest;this.store.actions.suggestResults(n.suggestions)}catch(n){!(n instanceof Be.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function Jy(t){class e extends t{setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Xi]=0,this[hf]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Xi]>Xy?window.clearInterval(this[hf]):(this[Xi]++,this.dispatchEvent(new Ji))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Qy([(0,mf.state)()],e.prototype,"stateManager",void 0),e}var yf,mf,Qy,Ji,hf,Xi,Xy,_e,Ut=f(()=>{"use strict";yf=b(N()),mf=b(Q());lf();Qi();Qy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ji=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},hf=Symbol("registerInterval"),Xi=Symbol("registerAttempts"),Xy=40;_e=class extends Jy(yf.FtLitElementRedux){}});function Oo(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Eo(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 es=f(()=>{"use strict"});var gf,Zn,bf=f(()=>{"use strict";gf=b(N());Hn();xt();es();Zn=class{constructor(e,o){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=n=>{if(!this.canSendEvent()||!n)return;let a=this.store.getState().request;this.publication==null?this.sendKhubSearchEvent(a,n):this.sendDocumentSearchEvent(a,n)},this.eventsService=o??new Nn,this.resultsWatcher=(0,gf.watch)(e,n=>n.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}=k.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,o){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:kr.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Oo(e.metadataFilters),facets:e.metadataFilters.map(a=>Eo(a))}};this.eventsService.sendKhubSearchEvent(n)}sendDocumentSearchEvent(e,o){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:kr.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Oo(e.metadataFilters),facets:e.metadataFilters.map(a=>Eo(a))},publication:this.publication};this.eventsService.sendDocumentSearchEvent(n)}sendResultClickedEvent(e,o){if(!this.canSendEvent())return;let n=this.store.getState().request,a;e.type==Ye.TOPIC&&(a={tocId:e.topic.tocId,title:e.topic.title});let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:kr.SEARCH_PAGE__SELECT,searchQuery:{terms:n.query,searchType:n.virtualField,lastUpdate:Oo(n.metadataFilters),facets:n.metadataFilters.map(s=>Eo(s))},searchResult:{rank:o,type:e.type,document:this.convertDocument(e),topic:a},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(i)}convertDocument(e){switch(e.type){case Ye.MAP:return{id:e.map.mapId,title:e.map.title,type:Lr.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Ye.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:Lr.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Ye.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:Lr.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var o,n,a,i,s;return(i=(n=(o=e.map)===null||o===void 0?void 0:o.originUrl)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.originUrl)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var xf,vt,Ge,Se,qn,Yn,Qn,oe,ts=f(()=>{"use strict";xf=b(B()),vt=b(Q()),Ge=b(N());Yi();Ut();xt();$i();bf();Se=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},qn=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Yn=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Qn=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},oe=class extends Ge.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=$r.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=o=>this.handleLoadError(o),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new Zn(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(k)}render(){return xf.html`
1166
+ `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};qe.elementDefinitions={};qe.styles=Gd;So([(0,Dn.redux)()],qe.prototype,"editorMode",void 0);So([(0,kn.property)()],qe.prototype,"context",void 0);So([(0,kn.property)()],qe.prototype,"key",void 0);So([(0,Dn.jsonProperty)([])],qe.prototype,"args",void 0);So([(0,kn.property)()],qe.prototype,"defaultMessage",void 0)});var at,Ap=f(()=>{"use strict";vt();at=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?cn:Ar}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}}});var Rp=f(()=>{"use strict";xo()});var Np=f(()=>{"use strict"});var Tp,it=f(()=>{"use strict";Tp=b(N());Wi();Ap();xo();Rp();ei();Np();Wi();(0,Tp.customElement)("ft-i18n")(qe)});var Dp=Kt((Ut,kp)=>{var Mn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,$n=function(){function t(){this.fetch=!1,this.DOMException=Mn.DOMException}return t.prototype=Mn,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function u(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function g(y){var v={next:function(){var D=y.shift();return{done:D===void 0,value:D}}};return a.iterable&&(v[Symbol.iterator]=function(){return v}),v}function m(y){this.map={},y instanceof m?y.forEach(function(v,D){this.append(D,v)},this):Array.isArray(y)?y.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}m.prototype.append=function(y,v){y=u(y),v=p(v);var D=this.map[y];this.map[y]=D?D+", "+v:v},m.prototype.delete=function(y){delete this.map[u(y)]},m.prototype.get=function(y){return y=u(y),this.has(y)?this.map[y]:null},m.prototype.has=function(y){return this.map.hasOwnProperty(u(y))},m.prototype.set=function(y,v){this.map[u(y)]=p(v)},m.prototype.forEach=function(y,v){for(var D in this.map)this.map.hasOwnProperty(D)&&y.call(v,this.map[D],D,this)},m.prototype.keys=function(){var y=[];return this.forEach(function(v,D){y.push(D)}),g(y)},m.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),g(y)},m.prototype.entries=function(){var y=[];return this.forEach(function(v,D){y.push([D,v])}),g(y)},a.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function x(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function C(y){return new Promise(function(v,D){y.onload=function(){v(y.result)},y.onerror=function(){D(y.error)}})}function S(y){var v=new FileReader,D=C(v);return v.readAsArrayBuffer(y),D}function O(y){var v=new FileReader,D=C(v),q=/charset=([A-Za-z0-9_-]+)/.exec(y.type),re=q?q[1]:"utf-8";return v.readAsText(y,re),D}function _(y){for(var v=new Uint8Array(y),D=new Array(v.length),q=0;q<v.length;q++)D[q]=String.fromCharCode(v[q]);return D.join("")}function T(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=T(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=T(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=x(this);if(y)return y;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 y=x(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(a.blob)return this.blob().then(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=x(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(we)}),this.json=function(){return this.text().then(JSON.parse)},this}var M=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(y){var v=y.toUpperCase();return M.indexOf(v)>-1?v:y}function W(y,v){if(!(this instanceof W))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var D=v.body;if(y instanceof W){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new m(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!D&&y._bodyInit!=null&&(D=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new m(v.headers)),this.method=U(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in n){var H=new AbortController;return H.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")&&(v.cache==="no-store"||v.cache==="no-cache")){var q=/([?&])_=[^&]*/;if(q.test(this.url))this.url=this.url.replace(q,"$1_="+new Date().getTime());else{var re=/\?/;this.url+=(re.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}W.prototype.clone=function(){return new W(this,{body:this._bodyInit})};function we(y){var v=new FormData;return y.trim().split("&").forEach(function(D){if(D){var q=D.split("="),re=q.shift().replace(/\+/g," "),H=q.join("=").replace(/\+/g," ");v.append(decodeURIComponent(re),decodeURIComponent(H))}}),v}function Qe(y){var v=new m,D=y.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(q){return q.indexOf(`
1167
+ `)===0?q.substr(1,q.length):q}).forEach(function(q){var re=q.split(":"),H=re.shift().trim();if(H){var _o=re.join(":").trim();try{v.append(H,_o)}catch(oa){console.warn("Response "+oa.message)}}}),v}P.call(W.prototype);function Ce(y,v){if(!(this instanceof Ce))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText===void 0?"":""+v.statusText,this.headers=new m(v.headers),this.url=v.url||"",this._initBody(y)}P.call(Ce.prototype),Ce.prototype.clone=function(){return new Ce(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},Ce.error=function(){var y=new Ce(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var Xe=[301,302,303,307,308];Ce.redirect=function(y,v){if(Xe.indexOf(v)===-1)throw new RangeError("Invalid status code");return new Ce(null,{status:v,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,D){this.message=v,this.name=D;var q=Error(v);this.stack=q.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function pe(y,v){return new Promise(function(D,q){var re=new W(y,v);if(re.signal&&re.signal.aborted)return q(new o.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function _o(){H.abort()}H.onload=function(){var fe={statusText:H.statusText,headers:Qe(H.getAllResponseHeaders()||"")};re.url.indexOf("file://")===0&&(H.status<200||H.status>599)?fe.status=200:fe.status=H.status,fe.url="responseURL"in H?H.responseURL:fe.headers.get("X-Request-URL");var Vt="response"in H?H.response:H.responseText;setTimeout(function(){D(new Ce(Vt,fe))},0)},H.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},H.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},H.onabort=function(){setTimeout(function(){q(new o.DOMException("Aborted","AbortError"))},0)};function oa(fe){try{return fe===""&&n.location.href?n.location.href:fe}catch{return fe}}if(H.open(re.method,oa(re.url),!0),re.credentials==="include"?H.withCredentials=!0:re.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&(a.blob?H.responseType="blob":a.arrayBuffer&&(H.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof m||n.Headers&&v.headers instanceof n.Headers)){var Ps=[];Object.getOwnPropertyNames(v.headers).forEach(function(fe){Ps.push(u(fe)),H.setRequestHeader(fe,p(v.headers[fe]))}),re.headers.forEach(function(fe,Vt){Ps.indexOf(Vt)===-1&&H.setRequestHeader(Vt,fe)})}else re.headers.forEach(function(fe,Vt){H.setRequestHeader(Vt,fe)});re.signal&&(re.signal.addEventListener("abort",_o),H.onreadystatechange=function(){H.readyState===4&&re.signal.removeEventListener("abort",_o)}),H.send(typeof re._bodyInit>"u"?null:re._bodyInit)})}return pe.polyfill=!0,n.fetch||(n.fetch=pe,n.Headers=m,n.Request=W,n.Response=Ce),o.Headers=m,o.Request=W,o.Response=Ce,o.fetch=pe,o}({})})($n);$n.fetch.ponyfill=!0;delete $n.fetch.polyfill;var Lr=Mn.fetch?Mn:$n;Ut=Lr.fetch;Ut.default=Lr.fetch;Ut.fetch=Lr.fetch;Ut.Headers=Lr.Headers;Ut.Request=Lr.Request;Ut.Response=Lr.Response;kp.exports=Ut});var Bp=f(()=>{});var Mp,$p,kr,Up,Fp,Dr,Wp,Hp,zp,Gp,jp,Vp,Kp,Zp,qp,Br,Yp,Un,Qp,Xp,Ye,Mr,me,Gi=f(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Mp||(Mp={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})($p||($p={}));(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"})(kr||(kr={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Up||(Up={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Fp||(Fp={}));(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Dr||(Dr={}));(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"})(Wp||(Wp={}));(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"})(Hp||(Hp={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(zp||(zp={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Gp||(Gp={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(jp||(jp={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Vp||(Vp={}));(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"})(Kp||(Kp={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Zp||(Zp={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(qp||(qp={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Br||(Br={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Yp||(Yp={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Un||(Un={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Qp||(Qp={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Xp||(Xp={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Ye||(Ye={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Mr||(Mr={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(me||(me={}))});var Jp,ef,tf=f(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Jp||(Jp={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(ef||(ef={}))});var ow,rf=f(()=>{Gi();ow={[me.PERSONAL_BOOK_SHARE_USER]:[me.PERSONAL_BOOK_USER],[me.HTML_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.PDF_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.KHUB_ADMIN]:[me.CONTENT_PUBLISHER],[me.ADMIN]:[me.KHUB_ADMIN,me.USERS_ADMIN,me.PORTAL_ADMIN],[me.GENERATIVE_AI_EXPORT_USER]:[me.GENERATIVE_AI_USER]}});var of=f(()=>{});var Jy,Fn=f(()=>{Jy=b(Dp(),1);Bp();Gi();tf();rf();of()});var nf,af=f(()=>{ga();nf=t=>t??le});var sf=f(()=>{af()});function cf(t){var e,o,n,a,i;return((a=(o=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&o!==void 0?o:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.openMode)===Un.EXTERNAL}function Wn(t){var e,o,n,a,i;if(cf(t))return(a=(o=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&o!==void 0?o:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.originUrl;switch(t.type){case Ye.MAP:return t.map.readerUrl;case Ye.DOCUMENT:return t.document.viewerUrl;case Ye.TOPIC:return t.topic.readerUrl}return""}function lf(t,e){return nf(e&&cf(t)?"_blank":void 0)}var ji=f(()=>{"use strict";Fn();sf()});var Ur,Ki=f(()=>{"use strict";Ur=class extends CustomEvent{constructor(e,o){super("ft-search-result-click",{detail:{result:e,rank:o},bubbles:!0,composed:!0})}}});var ff,em,Zi,qi=f(()=>{"use strict";ff=b(B()),em={},Zi=ff.css`
1168
+ `});var hf=f(()=>{"use strict"});var zn,tm,yf,mf=f(()=>{"use strict";zn=b(N()),tm={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{var o;let n=+((o=e.payload)!==null&&o!==void 0?o:20);t.request.paging.perPage=isNaN(n)?20:(0,zn.minmax)(1,n,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 o;t.request.clusterSortCriterions=(o=e.payload)!==null&&o!==void 0?o:[]}},yf=t=>zn.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:tm})});var Gn,gf=f(()=>{"use strict";vt();Gn=class extends rt{constructor(e){super(!0,e),this.sortObjectFields=(o,n)=>typeof n!="object"||n==null||Array.isArray(n)?n:Object.fromEntries(Object.entries(n).sort(([a],[i])=>a.localeCompare(i)))}async launchSearch(e){let o={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((n,a)=>n.id.localeCompare(a.id))};return this.cache.get("search-"+this.hash(o),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let o={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(o),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}sortFilters(e){return e.map(o=>o.valueFilter==null?o:{...o,valueFilter:{...o.valueFilter,values:[...o.valueFilter.values].sort((n,a)=>n.localeCompare(a))}}).sort((o,n)=>o.key.localeCompare(n.key))}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}}});var Me,bf,Oo,Fr,Yi=f(()=>{"use strict";Me=b(N());mf();Fn();gf();bf=t=>t.request.virtualField===Br.TITLE_ONLY&&t.request.scope===Mr.DOCUMENTS,Oo=class t extends Event{constructor(){super(t.eventName)}};Oo.eventName="search-context-clear-all-filters";Fr=class t{static build(e,o){return new t(yf(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new Me.Debouncer(10),this.searchDebouncer=new Me.Debouncer(100),this.launchSearch=n=>this.searchDebouncer.run(()=>this.fetchSearchData(n??this.buildSearchRequest(this.store.getState()))),this.buildSearchRequest=n=>({...n.request,facets:this.facetIds.map(a=>({id:a}))}),this.suggestDebouncer=new Me.Debouncer(300),this.launchSuggest=n=>this.suggestDebouncer.run(()=>this.fetchSuggestData(n??this.buildSuggestRequest(this.store.getState()))),this.buildSuggestRequest=n=>({input:n.liveQuery,metadataFilters:n.request.metadataFilters,sort:n.request.sort,contentLocale:n.request.contentLocale,scope:n.request.scope}),this.service=o??new Gn,this.service.cache.addEventListener("clear-cache",n=>{n.detail.clearedKeys.includes("available-locales")&&this.updateLocales()}),this.searchWatcher=(0,Me.watch)(e,this.buildSearchRequest,this.launchSearch),this.suggestWatcher=(0,Me.watch)(e,this.buildSuggestRequest,this.launchSuggest)}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var o;let n=(o=this.store.getState().locales)!==null&&o!==void 0?o:[],a=this.store.getState().request.contentLocale;if(e!=a){if(n.length>0){let i=s=>n.some(l=>l.lang==s);i(e)||(e=i(a)?a:n[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setFilters(e){let o=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Br.TITLE_ONLY),this.store.actions.setRequestScope(Mr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Br.EVERYWHERE),this.store.actions.setRequestScope(Mr.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return bf(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new Oo)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,o){let n=this.facetIds.filter(a=>a!=e);o&&n.push(o),this.facetIds=n}get facetIds(){var e;let o=this.store.getState().request;return[...new Set([...o.facets.map(n=>n.id),...((e=o.metadataFilters)!==null&&e!==void 0?e:[]).map(n=>n.key)])]}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,o){this.setValueFilter(e,o)}setValueFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,valueFilter:{values:o,negative:!1}},i=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==a.key),a];this.setFilters(i)}setDateFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,dateFilter:{type:o}},i=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==a.key),a];this.setFilters(i)}removeDateFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.dateFilter),...o.filter(a=>a.dateFilter&&a.key!==e)];this.setFilters(n)}setRangeFilter(e,o,n){let a=this.store.getState().request.metadataFilters,i={key:e,rangeFilter:{from:o,to:n}},s=[...a.filter(l=>!l.rangeFilter),...a.filter(l=>l.rangeFilter&&l.key!==i.key),i];this.setFilters(s)}removeRangeFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.rangeFilter),...o.filter(a=>a.rangeFilter&&a.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var o,n,a,i;try{if((o=this.cancelableSearch)===null||o===void 0||o.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=(0,Me.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 l=((n=this.store.getState().results)!==null&&n!==void 0?n:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((a=e.paging.perPage)!==null&&a!==void 0?a:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof Me.CanceledPromiseError||(console.error(s),(i=this.errorHandler)===null||i===void 0||i.call(this,s))}}async fetchSuggestData(e){var o;try{(o=this.cancelableSuggest)===null||o===void 0||o.cancel(),this.cancelableSuggest=(0,Me.cancelable)(this.service.launchSuggest(e));let n=await this.cancelableSuggest;this.store.actions.suggestResults(n.suggestions)}catch(n){!(n instanceof Me.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}clear(){this.store.clear()}clearResults(){this.store.actions.paging(void 0),this.store.actions.results(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function nm(t){class e extends t{setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Qi]=0,this[xf]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Qi]>om?window.clearInterval(this[xf]):(this[Qi]++,this.dispatchEvent(new Xi))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return rm([(0,Sf.state)()],e.prototype,"stateManager",void 0),e}var vf,Sf,rm,Xi,xf,Qi,om,_e,Ft=f(()=>{"use strict";vf=b(N()),Sf=b(Q());hf();Yi();rm=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Xi=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},xf=Symbol("registerInterval"),Qi=Symbol("registerAttempts"),om=40;_e=class extends nm(vf.FtLitElementRedux){}});function Eo(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function wo(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 Ji=f(()=>{"use strict"});var Cf,jn,Of=f(()=>{"use strict";Cf=b(N());Fn();vt();Ji();jn=class{constructor(e,o){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=n=>{if(!this.canSendEvent()||!n)return;let a=this.store.getState().request;this.publication==null?this.sendKhubSearchEvent(a,n):this.sendDocumentSearchEvent(a,n)},this.eventsService=o??new Tn,this.resultsWatcher=(0,Cf.watch)(e,n=>n.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}=k.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,o){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Dr.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Eo(e.metadataFilters),facets:e.metadataFilters.map(a=>wo(a))}};this.eventsService.sendKhubSearchEvent(n)}sendDocumentSearchEvent(e,o){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Dr.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:o.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:Eo(e.metadataFilters),facets:e.metadataFilters.map(a=>wo(a))},publication:this.publication};this.eventsService.sendDocumentSearchEvent(n)}sendResultClickedEvent(e,o){if(!this.canSendEvent())return;let n=this.store.getState().request,a;e.type==Ye.TOPIC&&(a={tocId:e.topic.tocId,title:e.topic.title});let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Dr.SEARCH_PAGE__SELECT,searchQuery:{terms:n.query,searchType:n.virtualField,lastUpdate:Eo(n.metadataFilters),facets:n.metadataFilters.map(s=>wo(s))},searchResult:{rank:o,type:e.type,document:this.convertDocument(e),topic:a},externalLink:this.convertExternalLink(e)};this.eventsService.sendSearchPageSelectEvent(i)}convertDocument(e){switch(e.type){case Ye.MAP:return{id:e.map.mapId,title:e.map.title,type:kr.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case Ye.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:kr.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case Ye.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:kr.UNSTRUCTURED_DOCUMENT,metadata:e.document.metadata,mimeType:e.document.mimeType};default:throw new TypeError("Unknown type "+e.type)}}convertExternalLink(e){var o,n,a,i,s;return(i=(n=(o=e.map)===null||o===void 0?void 0:o.originUrl)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.originUrl)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.originUrl}}});var Ef,St,Ge,Se,Vn,Kn,Zn,oe,es=f(()=>{"use strict";Ef=b(B()),St=b(Q()),Ge=b(N());qi();Ft();vt();Di();Of();Se=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Vn=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Kn=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Zn=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},oe=class extends Ge.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Fr.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=o=>this.handleLoadError(o),this.addStore(this.stateManager.store,"search")}return this._stateManager}get eventManager(){return this._eventManager==null&&(this._eventManager=new jn(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(k)}render(){return Ef.html`
1169
1169
  <slot @register-ft-search-component=${this.registerComponent} @ft-search-result-click="${this.onResultClicked}"></slot>
1170
- `}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Yn(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Qn(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new qn(e))}reloadSavedSearches(){ip.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}};oe.elementDefinitions={};oe.styles=qi;Se([(0,Ge.redux)({store:k.name})],oe.prototype,"session",void 0);Se([(0,vt.property)()],oe.prototype,"query",void 0);Se([(0,vt.property)()],oe.prototype,"contentLocale",void 0);Se([(0,vt.property)({type:Number})],oe.prototype,"pageSize",void 0);Se([(0,vt.property)({type:Boolean})],oe.prototype,"searchInDocumentTitlesOnly",void 0);Se([(0,vt.property)()],oe.prototype,"scope",void 0);Se([(0,vt.property)()],oe.prototype,"virtualField",void 0);Se([(0,vt.property)({type:Boolean})],oe.prototype,"ignoreEmptyQuery",void 0);Se([(0,Ge.redux)({store:k.name})],oe.prototype,"openExternalDocumentInNewTab",void 0);Se([(0,Ge.jsonProperty)([])],oe.prototype,"filters",void 0);Se([(0,Ge.jsonProperty)([])],oe.prototype,"sort",void 0);Se([(0,Ge.jsonProperty)({})],oe.prototype,"otherQueryParams",void 0);Se([(0,Ge.redux)({store:"search"})],oe.prototype,"request",void 0);Se([(0,Ge.redux)({store:"search"})],oe.prototype,"paging",void 0);Se([(0,Ge.redux)({store:"search",selector:t=>t.spellcheck})],oe.prototype,"autocorrect",void 0);Se([(0,vt.property)({attribute:!1})],oe.prototype,"searchServiceProvider",void 0)});var vf=f(()=>{"use strict"});var Cf={};Kt(Cf,{ClearAllFiltersEvent:()=>Co,FtSearchContext:()=>oe,FtSearchContextCssVariables:()=>qy,FtSearchStateManager:()=>$r,LoadErrorEvent:()=>qn,SearchRequestChangeEvent:()=>Yn,SearchResultsChangeEvent:()=>Qn,convertMetadataFilterToAnalyticsFacet:()=>Eo,getAnalyticsLastUpdate:()=>Oo,searchInDocumentTitlesOnlySelector:()=>ff,styles:()=>qi});var Sf,Of=f(()=>{"use strict";Sf=b(N());ts();Yi();vf();ts();Qi();es();(0,Sf.customElement)("ft-search-context")(oe)});var wo,Ef=f(()=>{"use strict";it();wo=at.build("designedSearchInput")});var wf,Af,Rf=f(()=>{"use strict";wf=b(B());so();Af=wf.css`
1170
+ `}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Kn(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Zn(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Vn(e))}reloadSavedSearches(){sp.clearMySearches()}clear(){this.stateManager.clear()}onResultClicked(e){this.eventManager.sendResultClickedEvent(e.detail.result,e.detail.rank)}};oe.elementDefinitions={};oe.styles=Zi;Se([(0,Ge.redux)({store:k.name})],oe.prototype,"session",void 0);Se([(0,St.property)()],oe.prototype,"query",void 0);Se([(0,St.property)()],oe.prototype,"contentLocale",void 0);Se([(0,St.property)({type:Number})],oe.prototype,"pageSize",void 0);Se([(0,St.property)({type:Boolean})],oe.prototype,"searchInDocumentTitlesOnly",void 0);Se([(0,St.property)()],oe.prototype,"scope",void 0);Se([(0,St.property)()],oe.prototype,"virtualField",void 0);Se([(0,St.property)({type:Boolean})],oe.prototype,"ignoreEmptyQuery",void 0);Se([(0,Ge.redux)({store:k.name})],oe.prototype,"openExternalDocumentInNewTab",void 0);Se([(0,Ge.jsonProperty)([])],oe.prototype,"filters",void 0);Se([(0,Ge.jsonProperty)([])],oe.prototype,"sort",void 0);Se([(0,Ge.jsonProperty)({})],oe.prototype,"otherQueryParams",void 0);Se([(0,Ge.redux)({store:"search"})],oe.prototype,"request",void 0);Se([(0,Ge.redux)({store:"search"})],oe.prototype,"paging",void 0);Se([(0,Ge.redux)({store:"search",selector:t=>t.spellcheck})],oe.prototype,"autocorrect",void 0);Se([(0,St.property)({attribute:!1})],oe.prototype,"searchServiceProvider",void 0)});var wf=f(()=>{"use strict"});var Rf={};Zt(Rf,{ClearAllFiltersEvent:()=>Oo,FtSearchContext:()=>oe,FtSearchContextCssVariables:()=>em,FtSearchStateManager:()=>Fr,LoadErrorEvent:()=>Vn,SearchRequestChangeEvent:()=>Kn,SearchResultsChangeEvent:()=>Zn,convertMetadataFilterToAnalyticsFacet:()=>wo,getAnalyticsLastUpdate:()=>Eo,searchInDocumentTitlesOnlySelector:()=>bf,styles:()=>Zi});var Af,Nf=f(()=>{"use strict";Af=b(N());es();qi();wf();es();Yi();Ji();(0,Af.customElement)("ft-search-context")(oe)});var Ao,Tf=f(()=>{"use strict";it();Ao=at.build("designedSearchInput")});var Pf,_f,If=f(()=>{"use strict";Pf=b(B());lo();_f=Pf.css`
1171
1171
  * {
1172
1172
  box-sizing: border-box;
1173
1173
  }
@@ -1209,17 +1209,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1209
1209
  flex-grow: 1;
1210
1210
  flex-shrink: 1;
1211
1211
  }
1212
- `});var rs=Vt((tA,Nf)=>{Nf.exports=ftGlobals.litRepeat});var Ao,Ur,Jn,Tf,Xn,os,St,_f=f(()=>{"use strict";Ao=b(N()),Ur=b(B()),Jn=b(Q());Rf();Tf=b(rs());Zo();Bo();ut();Ut();xt();Xn=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},os=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},St=class extends _e{render(){let e=Ir.get();return Ur.html`
1212
+ `});var ts=Kt((uA,Lf)=>{Lf.exports=ftGlobals.litRepeat});var Ro,Wr,Yn,kf,qn,rs,Ct,Df=f(()=>{"use strict";Ro=b(N()),Wr=b(B()),Yn=b(Q());If();kf=b(ts());qo();Mo();ut();Ft();vt();qn=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},rs=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},Ct=class extends _e{render(){let e=xt.get();return Wr.html`
1213
1213
  <div class="ft-search-input-suggestion ft-word-wrap"
1214
1214
  part="container"
1215
1215
  @keydown=${o=>this.onSuggestKeyDown(o)}>
1216
- ${(0,Tf.repeat)(this.suggestResults||[],o=>o.value,o=>this.renderSuggestion(o,e))}
1216
+ ${(0,kf.repeat)(this.suggestResults||[],o=>o.value,o=>this.renderSuggestion(o,e))}
1217
1217
  </div>
1218
- `}renderSuggestion(e,o){let n=Ur.html`
1218
+ `}renderSuggestion(e,o){let n=Wr.html`
1219
1219
  <ft-ripple></ft-ripple>
1220
1220
  ${this.getIcon(e)}
1221
1221
  <ft-typography variant="body1">${e.value}</ft-typography>
1222
- `;if(this.launchSearchPath){let a={...this.request,query:e.value},i=o.serializeToCurrentPageIfPossible(a,this.launchSearchPath);return Ur.html`
1222
+ `;if(this.launchSearchPath){let a={...this.request,query:e.value},i=o.serializeToCurrentPageIfPossible(a,this.launchSearchPath);return Wr.html`
1223
1223
  <a href="${i}"
1224
1224
  part="suggestion"
1225
1225
  class="ft-search-input-suggestion--suggestion"
@@ -1227,7 +1227,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1227
1227
  @click=${()=>this.onSuggestSelected(e.value)}>
1228
1228
  ${n}
1229
1229
  </a>
1230
- `}return Ur.html`
1230
+ `}return Wr.html`
1231
1231
  <div tabindex="0"
1232
1232
  part="suggestion"
1233
1233
  class="ft-search-input-suggestion--suggestion"
@@ -1235,16 +1235,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1235
1235
  @click=${()=>this.onSuggestSelected(e.value)}>
1236
1236
  ${n}
1237
1237
  </div>
1238
- `}onSuggestKeyDown(e){var o,n,a,i,s,l;switch(e.key){case"ArrowUp":(a=(n=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(i=this.getFocusedSuggestionElement())===null||i===void 0?void 0:i.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),e.target.click())}onSuggestSelected(e){this.dispatchEvent(new os(e))}getIcon(e){let o=e.type==="DOCUMENT"?Le.file_format:Le.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Tt.BOOK:Tt.ARTICLE;break;case"DOCUMENT":n=Od(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Tt.TOPICS;break}return Ur.html`
1238
+ `}onSuggestKeyDown(e){var o,n,a,i,s,l;switch(e.key){case"ArrowUp":(a=(n=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(i=this.getFocusedSuggestionElement())===null||i===void 0?void 0:i.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),e.target.click())}onSuggestSelected(e){this.dispatchEvent(new rs(e))}getIcon(e){let o=e.type==="DOCUMENT"?ke.file_format:ke.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Pt.BOOK:Pt.ARTICLE;break;case"DOCUMENT":n=Cd(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Pt.TOPICS;break}return Wr.html`
1239
1239
  <ft-icon .variant="${o}" .value="${n}" part="suggestion-icon"></ft-icon>
1240
- `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};St.elementDefinitions={"ft-ripple":X,"ft-typography":se,"ft-icon":Ee};St.styles=[Ao.wordWrap,Af];Xn([(0,Ao.redux)()],St.prototype,"request",void 0);Xn([(0,Ao.redux)()],St.prototype,"suggestResults",void 0);Xn([(0,Jn.property)()],St.prototype,"launchSearchPath",void 0);St=Xn([(0,Jn.customElement)("ft-search-input-suggestion")],St)});var Ro,Fr,ct,If,st,ge,ns=f(()=>{"use strict";Ro=b(B()),Fr=b(N());so();Ut();it();Ef();ct=b(Q()),If=b(Vr());_f();Xo();ut();xt();st=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ge=class extends He(_e){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.addI18nContext(wo)}render(){var e,o;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(o=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&o!==void 0?o:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},i=this.useCustomSearchPath?this.launchSearchPath:void 0,s=Ir.get().serializeToCurrentPageIfPossible(a,i);return Ro.html`
1241
- <div class="${(0,If.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
1240
+ `}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};Ct.elementDefinitions={"ft-ripple":X,"ft-typography":se,"ft-icon":Ee};Ct.styles=[Ro.wordWrap,_f];qn([(0,Ro.redux)()],Ct.prototype,"request",void 0);qn([(0,Ro.redux)()],Ct.prototype,"suggestResults",void 0);qn([(0,Yn.property)()],Ct.prototype,"launchSearchPath",void 0);Ct=qn([(0,Yn.customElement)("ft-search-input-suggestion")],Ct)});var No,Hr,ct,Bf,st,ge,os=f(()=>{"use strict";No=b(B()),Hr=b(N());lo();Ft();it();Tf();ct=b(Q()),Bf=b(Zr());Df();Jo();ut();vt();st=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ge=class extends ze(_e){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.addI18nContext(Ao)}render(){var e,o;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(o=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&o!==void 0?o:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},i=this.useCustomSearchPath?this.launchSearchPath:void 0,s=xt.get().serializeToCurrentPageIfPossible(a,i);return No.html`
1241
+ <div class="${(0,Bf.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
1242
1242
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
1243
1243
  <div class="ft-search-input--input-outline" part="input-outline">
1244
1244
  <input class="ft-search-input--input ft-typography--body2"
1245
1245
  part="input"
1246
1246
  type="search"
1247
- placeholder="${wo.messages.placeholder()}"
1247
+ placeholder="${Ao.messages.placeholder()}"
1248
1248
  .value="${this.liveQuery}"
1249
1249
  @input=${l=>this.onInput(l)}
1250
1250
  @keydown=${l=>this.onSearchBarKeyDown(l)}
@@ -1257,13 +1257,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1257
1257
  ></ft-search-input-suggestion>
1258
1258
  </div>
1259
1259
  <div class="ft-search-input--actions" part="actions">
1260
- ${this.liveQuery?Ro.html`
1260
+ ${this.liveQuery?No.html`
1261
1261
  <ft-button id="clear-button"
1262
1262
  class="ft-search-input--clear-query"
1263
1263
  part="clear-query"
1264
1264
  icon="close"
1265
1265
  round dense
1266
- label="${wo.messages.clearButton()}"
1266
+ label="${Ao.messages.clearButton()}"
1267
1267
  @click=${()=>this.onClearInput()}
1268
1268
  ></ft-button>
1269
1269
  <div class="ft-search-input--separator"></div>
@@ -1272,63 +1272,63 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1272
1272
  part="launch-search-in-input"
1273
1273
  icon="search"
1274
1274
  round dense
1275
- label="${wo.messages.searchButton()}"
1275
+ label="${Ao.messages.searchButton()}"
1276
1276
  href="${this.useCustomSearchPath?s:""}"
1277
1277
  @click=${()=>this.launchSearch(this.liveQuery)}
1278
1278
  ></ft-button>
1279
1279
  </div>
1280
1280
  </div>
1281
- `}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(e){var o;(o=this.stateManager)===null||o===void 0||o.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):Ro.nothing,this.input.focus()}launchSearch(e){var o;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(o=this.stateManager)===null||o===void 0||o.setQuery(e)}onSuggestionSelected(e){var o;(o=this.input)===null||o===void 0||o.focus(),this.launchSearch(e.detail)}};ge.elementDefinitions={"ft-search-input-suggestion":St,"ft-button":ke};ge.styles=[ko,Fr.noTextInputDefaultClearButton,Ja];st([(0,Fr.redux)()],ge.prototype,"request",void 0);st([(0,Fr.redux)()],ge.prototype,"liveQuery",void 0);st([(0,Fr.redux)()],ge.prototype,"suggestResults",void 0);st([(0,ct.state)()],ge.prototype,"forceCloseSuggestion",void 0);st([(0,ct.property)()],ge.prototype,"launchSearchPath",void 0);st([(0,ct.property)({type:Boolean})],ge.prototype,"useCustomSearchPath",void 0);st([(0,ct.property)({type:Boolean})],ge.prototype,"triggerSearchOnClear",void 0);st([(0,ct.query)(".ft-search-input--input")],ge.prototype,"input",void 0);st([(0,ct.query)("ft-search-input-suggestion")],ge.prototype,"suggestion",void 0);st([(0,ct.query)('[part="launch-search-in-input"]')],ge.prototype,"launchSearchButton",void 0)});var Pf=f(()=>{"use strict"});var kf={};Kt(kf,{FtSearchInput:()=>ge,FtSearchInputCssVariables:()=>Y,styles:()=>Ja});var Lf,Df=f(()=>{"use strict";Lf=b(N());ns();so();Pf();ns();(0,Lf.customElement)("ft-search-input")(ge)});var Bf,em,as,is=f(()=>{"use strict";Bf=b(B()),em={},as=Bf.css`
1282
- `});var ss,Mf=f(()=>{"use strict";it();ss=at.fromGwt("designedActionBlockAriaLabels")});var ea,cs,$f,Ct,ls=f(()=>{"use strict";ea=b(B()),cs=b(N());is();Xo();Ut();it();Mf();$f=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ct=class extends He(_e){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(ss)}render(){return this.isLastPage?ea.nothing:ea.html`
1281
+ `}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(e){var o;(o=this.stateManager)===null||o===void 0||o.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear?this.launchSearch(""):No.nothing,this.input.focus()}launchSearch(e){var o;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(o=this.stateManager)===null||o===void 0||o.setQuery(e)}onSuggestionSelected(e){var o;(o=this.input)===null||o===void 0||o.focus(),this.launchSearch(e.detail)}};ge.elementDefinitions={"ft-search-input-suggestion":Ct,"ft-button":De};ge.styles=[Do,Hr.noTextInputDefaultClearButton,Ya];st([(0,Hr.redux)()],ge.prototype,"request",void 0);st([(0,Hr.redux)()],ge.prototype,"liveQuery",void 0);st([(0,Hr.redux)()],ge.prototype,"suggestResults",void 0);st([(0,ct.state)()],ge.prototype,"forceCloseSuggestion",void 0);st([(0,ct.property)()],ge.prototype,"launchSearchPath",void 0);st([(0,ct.property)({type:Boolean})],ge.prototype,"useCustomSearchPath",void 0);st([(0,ct.property)({type:Boolean})],ge.prototype,"triggerSearchOnClear",void 0);st([(0,ct.query)(".ft-search-input--input")],ge.prototype,"input",void 0);st([(0,ct.query)("ft-search-input-suggestion")],ge.prototype,"suggestion",void 0);st([(0,ct.query)('[part="launch-search-in-input"]')],ge.prototype,"launchSearchButton",void 0)});var Mf=f(()=>{"use strict"});var Uf={};Zt(Uf,{FtSearchInput:()=>ge,FtSearchInputCssVariables:()=>Y,styles:()=>Ya});var $f,Ff=f(()=>{"use strict";$f=b(N());os();lo();Mf();os();(0,$f.customElement)("ft-search-input")(ge)});var Wf,am,ns,as=f(()=>{"use strict";Wf=b(B()),am={},ns=Wf.css`
1282
+ `});var is,Hf=f(()=>{"use strict";it();is=at.fromGwt("designedActionBlockAriaLabels")});var Qn,ss,zf,Ot,cs=f(()=>{"use strict";Qn=b(B()),ss=b(N());as();Jo();Ft();it();Hf();zf=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ot=class extends ze(_e){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(is)}render(){return this.isLastPage?Qn.nothing:Qn.html`
1283
1283
  <ft-button @click="${this.loadMore}">
1284
- ${ss.messages.searchPageLoadMore()}
1284
+ ${is.messages.searchPageLoadMore()}
1285
1285
  </ft-button>
1286
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Ct.elementDefinitions={"ft-button":ke};Ct.styles=as;$f([(0,cs.redux)({store:"search",selector:t=>{var e,o;return(o=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&o!==void 0?o:1}})],Ct.prototype,"currentPage",void 0);$f([(0,cs.redux)({store:"search",selector:t=>{var e,o;return(o=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&o!==void 0?o:!0}})],Ct.prototype,"isLastPage",void 0)});var Uf=f(()=>{"use strict"});var Wf={};Kt(Wf,{FtSearchLoadMoreButton:()=>Ct,FtSearchLoadMoreButtonCssVariables:()=>em,styles:()=>as});var Ff,Hf=f(()=>{"use strict";Ff=b(N());ls();is();Uf();ls();(0,Ff.customElement)("ft-search-load-more-button")(Ct)});function tm(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(a){this.resultStateManager=a}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[us]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[us]):this.dispatchEvent(new ps)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=us,ds([(0,ta.property)({attribute:!1})],o.prototype,"cluster",void 0),ds([(0,ta.property)({attribute:!1})],o.prototype,"result",void 0),ds([(0,ta.property)({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}var ta,ds,ps,us,Wr,fs=f(()=>{"use strict";Ut();ta=b(Q()),ds=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ps=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},us=Symbol("registerInterval");Wr=class extends tm(_e){}});var hs,zf,ar,ys=f(()=>{"use strict";hs=b(B());fs();en();zf=b(Ko());ut();ar=class extends Wr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?hs.html`
1287
- <ft-typography variant="body1" part="text">${(0,zf.unsafeHTML)(e)}</ft-typography>
1288
- `:hs.html`
1286
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Ot.elementDefinitions={"ft-button":De};Ot.styles=ns;zf([(0,ss.redux)({store:"search",selector:t=>{var e,o;return(o=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&o!==void 0?o:1}})],Ot.prototype,"currentPage",void 0);zf([(0,ss.redux)({store:"search",selector:t=>{var e,o;return(o=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&o!==void 0?o:!0}})],Ot.prototype,"isLastPage",void 0)});var Gf=f(()=>{"use strict"});var Vf={};Zt(Vf,{FtSearchLoadMoreButton:()=>Ot,FtSearchLoadMoreButtonCssVariables:()=>am,styles:()=>ns});var jf,Kf=f(()=>{"use strict";jf=b(N());cs();as();Gf();cs();(0,jf.customElement)("ft-search-load-more-button")(Ot)});function im(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(a){this.resultStateManager=a}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ds]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[ds]):this.dispatchEvent(new us)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=ds,ls([(0,Xn.property)({attribute:!1})],o.prototype,"cluster",void 0),ls([(0,Xn.property)({attribute:!1})],o.prototype,"result",void 0),ls([(0,Xn.property)({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}var Xn,ls,us,ds,zr,ps=f(()=>{"use strict";Ft();Xn=b(Q()),ls=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},us=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},ds=Symbol("registerInterval");zr=class extends im(_e){}});var fs,Zf,sr,hs=f(()=>{"use strict";fs=b(B());ps();tn();Zf=b(Zo());ut();sr=class extends zr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?fs.html`
1287
+ <ft-typography variant="body1" part="text">${(0,Zf.unsafeHTML)(e)}</ft-typography>
1288
+ `:fs.html`
1289
1289
  <style>
1290
1290
  :host {
1291
1291
  display: none !important;
1292
1292
  }
1293
1293
  </style>
1294
- `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch"))}};ar.elementDefinitions={"ft-typography":se};ar.styles=ei});var Gf=f(()=>{"use strict"});var Vf={};Kt(Vf,{FtSearchResultAbstract:()=>ar,FtSearchResultAbstractCssVariables:()=>Jo,styles:()=>ei});var jf,ms=f(()=>{"use strict";jf=b(N());ys();en();Gf();ys();(0,jf.customElement)("ft-search-result-abstract")(ar)});var No,Kf,Zf,rm,Ft,gs=f(()=>{"use strict";No=b(B()),Kf=b(Q());fs();rn();ut();Zf=b(Ko());Vi();Zi();rm=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ft=class extends Wr{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():No.html`
1295
- <a href="${zn(this.result)}"
1294
+ `}selectAbstract(e){switch(e.type){case"MAP":return e.map.htmlExcerpt;case"DOCUMENT":return e.document.htmlExcerpt;case"TOPIC":return e.topic.htmlExcerpt}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch"))}};sr.elementDefinitions={"ft-typography":se};sr.styles=Qa});var qf=f(()=>{"use strict"});var Qf={};Zt(Qf,{FtSearchResultAbstract:()=>sr,FtSearchResultAbstractCssVariables:()=>en,styles:()=>Qa});var Yf,ys=f(()=>{"use strict";Yf=b(N());hs();tn();qf();hs();(0,Yf.customElement)("ft-search-result-abstract")(sr)});var To,Xf,Jf,sm,Wt,ms=f(()=>{"use strict";To=b(B()),Xf=b(Q());ps();on();ut();Jf=b(Zo());ji();Ki();sm=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Wt=class extends zr{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():To.html`
1295
+ <a href="${Wn(this.result)}"
1296
1296
  @click=${this.onResultClick}
1297
- target="${of(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
1297
+ target="${lf(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
1298
1298
  part="link">
1299
1299
  ${this.renderTitle()}
1300
1300
  </a>
1301
- `:No.nothing}renderTitle(){return No.html`
1302
- <ft-typography variant="title" part="text">${(0,Zf.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
1303
- `}onResultClick(){this.dispatchEvent(new Mr(this.result,this.rank))}selectTitle(e){switch(e.type){case"MAP":return e.map.htmlTitle;case"DOCUMENT":return e.document.htmlTitle;case"TOPIC":return e.topic.htmlTitle}return""}contentAvailableCallback(e){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch"))}};Ft.elementDefinitions={"ft-typography":se};Ft.styles=ti;rm([(0,Kf.property)({type:Boolean})],Ft.prototype,"withoutLink",void 0)});var qf=f(()=>{"use strict"});var Qf={};Kt(Qf,{FtSearchResultTitle:()=>Ft,FtSearchResultTitleCssVariables:()=>tn,styles:()=>ti});var Yf,bs=f(()=>{"use strict";Yf=b(N());gs();rn();qf();gs();(0,Yf.customElement)("ft-search-result-title")(Ft)});var Xf,om,xs,vs=f(()=>{"use strict";Xf=b(B()),om={},xs=Xf.css`
1301
+ `:To.nothing}renderTitle(){return To.html`
1302
+ <ft-typography variant="title" part="text">${(0,Jf.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
1303
+ `}onResultClick(){this.dispatchEvent(new Ur(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 o;super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(n=>n.setAttribute("part","kwicmatch")),!this.withoutLink&&e.has("rank")&&this.rank!=null&&(!((o=this.stateManager)===null||o===void 0)&&o.store.commands.consume(`focus-result-${this.rank}`))&&(this.elementToFocus={selector:"a"})}};Wt.elementDefinitions={"ft-typography":se};Wt.styles=Xa;sm([(0,Xf.property)({type:Boolean})],Wt.prototype,"withoutLink",void 0)});var eh=f(()=>{"use strict"});var rh={};Zt(rh,{FtSearchResultTitle:()=>Wt,FtSearchResultTitleCssVariables:()=>rn,styles:()=>Xa});var th,gs=f(()=>{"use strict";th=b(N());ms();on();eh();ms();(0,th.customElement)("ft-search-result-title")(Wt)});var oh,cm,bs,xs=f(()=>{"use strict";oh=b(B()),cm={},bs=oh.css`
1304
1304
  [part="no-results-message"] {
1305
1305
  text-align: center;
1306
1306
  padding: 12px;
1307
1307
  }
1308
- `});var Jf,eh,Ss=f(()=>{"use strict";Jf=b(B()),eh=Jf.css`
1308
+ `});var nh,ah,vs=f(()=>{"use strict";nh=b(B()),ah=nh.css`
1309
1309
  a {
1310
1310
  color: inherit;
1311
1311
  text-decoration: inherit;
1312
1312
  }
1313
- `});var ra,th=f(()=>{"use strict";ra=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,o){this.cluster=e,this.rank=o,this.selectResult(this.cluster.entries[0])}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(o=>this.bindComponent(o))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank}}});var rh,To,oh,Os,Cs,Ot,Es=f(()=>{"use strict";rh=b(B()),To=b(Q()),oh=b(N());Ss();th();Os=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Cs=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Ot=class extends oh.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new ra(e=>this.onResultSelected(e))}render(){return rh.html`
1313
+ `});var Jn,ih=f(()=>{"use strict";Jn=class{constructor(e){this.onResultSelected=e,this.registeredComponents=[],this.registeredMetadata=new Set}registerComponent(e){e.setResultStateManager(this),this.registeredComponents.push(e),this.bindComponent(e)}unregisterComponent(e){this.registeredComponents.splice(this.registeredComponents.indexOf(e),1),e.cluster=void 0,e.result=void 0,e.rank=void 0}registerMetadata(e){this.registeredMetadata.add(e)}unregisterMetadata(e){this.registeredMetadata.delete(e)}updateCluster(e,o){this.cluster=e,this.rank=o,this.selectResult(this.cluster.entries[0])}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(o=>this.bindComponent(o))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank}}});var sh,Po,ch,Cs,Ss,Et,Os=f(()=>{"use strict";sh=b(B()),Po=b(Q()),ch=b(N());vs();ih();Cs=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ss=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Et=class extends ch.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new Jn(e=>this.onResultSelected(e))}render(){return sh.html`
1314
1314
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
1315
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new Cs(this.result))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Ot.elementDefinitions={};Ot.styles=eh;Os([(0,To.property)({attribute:!1})],Ot.prototype,"cluster",void 0);Os([(0,To.state)()],Ot.prototype,"result",void 0);Os([(0,To.property)()],Ot.prototype,"index",void 0)});var nh=f(()=>{"use strict"});var ah,ih=f(()=>{"use strict";ah=b(N());Es();Ss();nh();Es();(0,ah.customElement)("ft-search-result-context")(Ot)});var Hr,sh,ws=f(()=>{"use strict";it();Hr=at.build("searchResultsNumber"),sh={results:"{0} results","results[\\=1]":"1 result"}});var oa,ch,na,Wt,ir,Me,As=f(()=>{"use strict";oa=b(B()),ch=b(rs()),na=b(Q()),Wt=b(N());vs();Ut();ih();bs();ms();it();ws();ir=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Me=class extends He(_e){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>oa.html`
1315
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new Ss(this.result))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};Et.elementDefinitions={};Et.styles=ah;Cs([(0,Po.property)({attribute:!1})],Et.prototype,"cluster",void 0);Cs([(0,Po.state)()],Et.prototype,"result",void 0);Cs([(0,Po.property)()],Et.prototype,"index",void 0)});var lh=f(()=>{"use strict"});var dh,uh=f(()=>{"use strict";dh=b(N());Os();vs();lh();Os();(0,dh.customElement)("ft-search-result-context")(Et)});var Gr,ph,Es=f(()=>{"use strict";it();Gr=at.build("searchResultsNumber"),ph={results:"{0} results","results[\\=1]":"1 result"}});var ea,fh,ta,Ht,cr,$e,ws=f(()=>{"use strict";ea=b(B()),fh=b(ts()),ta=b(Q()),Ht=b(N());xs();Ft();uh();gs();ys();it();Es();cr=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},$e=class extends ze(_e){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>ea.html`
1316
1316
  <ft-search-result-title></ft-search-result-title>
1317
1317
  <ft-search-result-abstract></ft-search-result-abstract>
1318
- `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Hr)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return oa.html`
1319
- <ft-typography part="no-results-message" variant="body1">${Hr.messages.results(0)}</ft-typography>
1320
- `;let e=this.buildClusters();return(0,ch.repeat)(e,o=>o.id,(o,n)=>{var a;return oa.html`
1318
+ `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Gr)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return ea.html`
1319
+ <ft-typography part="no-results-message" variant="body1">${Gr.messages.results(0)}</ft-typography>
1320
+ `;let e=this.buildClusters();return(0,fh.repeat)(e,o=>o.id,(o,n)=>{var a;return ea.html`
1321
1321
  <ft-search-result-context .cluster=${o} index="${n}"
1322
1322
  @ft-search-result-cluster-change="${i=>this.onClusterChange(o.id,i.detail)}">
1323
1323
  ${this.renderResult((a=this.selectedResultByCluster[o.id])!==null&&a!==void 0?a:o.entries[0],n)}
1324
1324
  </ft-search-result-context>
1325
- `})}update(e){var o;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((o=this.stateManager)===null||o===void 0||o.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var o;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector("ft-search-result-context");n&&Wt.scrollHelper.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(e,o){this.selectedResultByCluster[e]=o}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,o;return(o=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&o!==void 0?o:[]}buildAllResultsClusters(){var e,o,n;let a=(o=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&o!==void 0?o:[];return this.paging&&this.paging.page===1?a.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):a}clusterId(e){var o,n,a,i,s;return(i=(n=(o=e.map)===null||o===void 0?void 0:o.mapId)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.tocId)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.documentId}};Me.styles=xs;ir([(0,na.property)({type:String,attribute:"cluster-policy"})],Me.prototype,"clusterPolicy",void 0);ir([(0,na.property)({type:Boolean})],Me.prototype,"displayNoResultsMessage",void 0);ir([(0,na.property)({attribute:!1})],Me.prototype,"renderResult",void 0);ir([(0,Wt.jsonProperty)([])],Me.prototype,"clusterSortCriterion",void 0);ir([(0,Wt.redux)({selector:t=>({...t.request,paging:void 0})})],Me.prototype,"requestWithoutPaging",void 0);ir([(0,Wt.redux)({selector:t=>t.request.paging})],Me.prototype,"paging",void 0);ir([(0,Wt.redux)()],Me.prototype,"results",void 0)});var lh=f(()=>{"use strict"});var uh={};Kt(uh,{FtSearchResults:()=>Me,FtSearchResultsCssVariables:()=>om,styles:()=>xs});var dh,ph=f(()=>{"use strict";dh=b(N());As();vs();lh();As();(0,dh.customElement)("ft-search-results")(Me)});var fh,nm,Rs,Ns=f(()=>{"use strict";fh=b(B()),nm={},Rs=fh.css`
1325
+ `})}update(e){var o;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((o=this.stateManager)===null||o===void 0||o.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var o;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector("ft-search-result-context");n&&Ht.scrollHelper.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(e,o){this.selectedResultByCluster[e]=o}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,o;return(o=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&o!==void 0?o:[]}buildAllResultsClusters(){var e,o,n;let a=(o=(e=this.results)===null||e===void 0?void 0:e.flatMap(i=>i.entries.map(s=>({id:this.clusterId(s),entries:[s]}))))!==null&&o!==void 0?o:[];return this.paging&&this.paging.page===1?a.slice(0,(n=this.paging.perPage)!==null&&n!==void 0?n:20):a}clusterId(e){var o,n,a,i,s;return(i=(n=(o=e.map)===null||o===void 0?void 0:o.mapId)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.tocId)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.documentId}};$e.styles=bs;cr([(0,ta.property)({type:String,attribute:"cluster-policy"})],$e.prototype,"clusterPolicy",void 0);cr([(0,ta.property)({type:Boolean})],$e.prototype,"displayNoResultsMessage",void 0);cr([(0,ta.property)({attribute:!1})],$e.prototype,"renderResult",void 0);cr([(0,Ht.jsonProperty)([])],$e.prototype,"clusterSortCriterion",void 0);cr([(0,Ht.redux)({selector:t=>({...t.request,paging:void 0})})],$e.prototype,"requestWithoutPaging",void 0);cr([(0,Ht.redux)({selector:t=>t.request.paging})],$e.prototype,"paging",void 0);cr([(0,Ht.redux)()],$e.prototype,"results",void 0)});var hh=f(()=>{"use strict"});var mh={};Zt(mh,{FtSearchResults:()=>$e,FtSearchResultsCssVariables:()=>cm,styles:()=>bs});var yh,gh=f(()=>{"use strict";yh=b(N());ws();xs();hh();ws();(0,yh.customElement)("ft-search-results")($e)});var bh,lm,As,Rs=f(()=>{"use strict";bh=b(B()),lm={},As=bh.css`
1326
1326
 
1327
- `});var aa,hh,am,Ht,Ts=f(()=>{"use strict";aa=b(B()),hh=b(N());Ns();Ut();it();ws();ut();am=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ht=class extends He(_e){constructor(){super(),this.addI18nContext(Hr,sh)}render(){return this.paging==null?aa.nothing:aa.html`
1327
+ `});var ra,xh,dm,zt,Ns=f(()=>{"use strict";ra=b(B()),xh=b(N());Rs();Ft();it();Es();ut();dm=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},zt=class extends ze(_e){constructor(){super(),this.addI18nContext(Gr,ph)}render(){return this.paging==null?ra.nothing:ra.html`
1328
1328
  <ft-typography variant="body1">
1329
- ${Hr.messages.results(this.paging.totalClustersCount)}
1329
+ ${Gr.messages.results(this.paging.totalClustersCount)}
1330
1330
  </ft-typography>
1331
- `}};Ht.elementDefinitions={"ft-typography":se};Ht.styles=Rs;am([(0,hh.redux)()],Ht.prototype,"paging",void 0)});var yh=f(()=>{"use strict"});var gh={};Kt(gh,{FtSearchResultsNumber:()=>Ht,FtSearchResultsNumberCssVariables:()=>nm,styles:()=>Rs});var mh,bh=f(()=>{"use strict";mh=b(N());Ts();Ns();yh();Ts();(0,mh.customElement)("ft-search-results-number")(Ht)});var xh=b(N());var $e=b(B()),_s=b(N());var ri=b(B()),L=b(N());var Ws=b(B()),G=b(N());Zt();var K={padding:G.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:G.FtCssVariableFactory.extend("--ft-card-border-radius","",G.designSystemVariables.borderRadiusM),borderStyle:G.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:G.FtCssVariableFactory.extend("--ft-card-border-color","",G.designSystemVariables.colorOutline),hoverBorderColor:G.FtCssVariableFactory.extend("--ft-card-hover-border-color","",G.designSystemVariables.colorPrimary),outlineStyle:G.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:G.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:G.FtCssVariableFactory.extend("--ft-card-outline-color","",G.designSystemVariables.colorPrimary),selectedOutlineStyle:G.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:G.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:G.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",G.designSystemVariables.colorPrimary),selectedBorderRadius:G.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",G.designSystemVariables.borderRadiusM),colorSurface:G.FtCssVariableFactory.extend("--ft-card-background-color","",G.designSystemVariables.colorSurface),colorOnSurfaceMedium:G.FtCssVariableFactory.extend("--ft-card-content-color","",G.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:G.FtCssVariableFactory.extend("--ft-card-title-color","",G.designSystemVariables.colorOnSurfaceHigh),elevation02:G.FtCssVariableFactory.extend("--ft-card-elevation","",G.designSystemVariables.elevation02),elevation04:G.FtCssVariableFactory.extend("--ft-card-selected-elevation","",G.designSystemVariables.elevation04)},Hs=Ws.css`
1331
+ `}};zt.elementDefinitions={"ft-typography":se};zt.styles=As;dm([(0,xh.redux)()],zt.prototype,"paging",void 0)});var vh=f(()=>{"use strict"});var Ch={};Zt(Ch,{FtSearchResultsNumber:()=>zt,FtSearchResultsNumberCssVariables:()=>lm,styles:()=>As});var Sh,Oh=f(()=>{"use strict";Sh=b(N());Ns();Rs();vh();Ns();(0,Sh.customElement)("ft-search-results-number")(zt)});var Eh=b(N());var Ue=b(B()),Ts=b(N());var Ja=b(B()),L=b(N());var Fs=b(B()),G=b(N());qt();var K={padding:G.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:G.FtCssVariableFactory.extend("--ft-card-border-radius","",G.designSystemVariables.borderRadiusM),borderStyle:G.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:G.FtCssVariableFactory.extend("--ft-card-border-color","",G.designSystemVariables.colorOutline),hoverBorderColor:G.FtCssVariableFactory.extend("--ft-card-hover-border-color","",G.designSystemVariables.colorPrimary),outlineStyle:G.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:G.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:G.FtCssVariableFactory.extend("--ft-card-outline-color","",G.designSystemVariables.colorPrimary),selectedOutlineStyle:G.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:G.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:G.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",G.designSystemVariables.colorPrimary),selectedBorderRadius:G.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",G.designSystemVariables.borderRadiusM),colorSurface:G.FtCssVariableFactory.extend("--ft-card-background-color","",G.designSystemVariables.colorSurface),colorOnSurfaceMedium:G.FtCssVariableFactory.extend("--ft-card-content-color","",G.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:G.FtCssVariableFactory.extend("--ft-card-title-color","",G.designSystemVariables.colorOnSurfaceHigh),elevation02:G.FtCssVariableFactory.extend("--ft-card-elevation","",G.designSystemVariables.elevation02),elevation04:G.FtCssVariableFactory.extend("--ft-card-selected-elevation","",G.designSystemVariables.elevation04)},Ws=Fs.css`
1332
1332
  :host {
1333
1333
  display: block;
1334
1334
  }
@@ -1367,6 +1367,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1367
1367
  display: none;
1368
1368
  }
1369
1369
 
1370
+ #container.no-content {
1371
+ grid-template: "header actions";
1372
+ grid-template-columns: minmax(0, 1fr) max-content;
1373
+ }
1374
+
1375
+ #container.no-content #content {
1376
+ display: none;
1377
+ }
1378
+
1370
1379
  #container.selected {
1371
1380
  outline-style: ${K.selectedOutlineStyle};
1372
1381
  outline-width: ${K.selectedOutlineWidth};
@@ -1388,14 +1397,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1388
1397
  #header {
1389
1398
  grid-area: header;
1390
1399
  color: ${K.colorOnSurfaceHigh};
1391
- }
1392
-
1393
- .title {
1394
1400
  text-overflow: ellipsis;
1395
1401
  overflow: hidden;
1396
1402
  word-break: break-word;
1397
1403
  }
1398
1404
 
1405
+ .one-line-header #header {
1406
+ white-space: nowrap;
1407
+ word-break: unset;
1408
+ }
1409
+
1399
1410
  #content {
1400
1411
  word-break: break-word;
1401
1412
  min-width: 0; /* like with flexbox, some items have a hard time shrinking when necessary */
@@ -1406,7 +1417,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1406
1417
  #action {
1407
1418
  grid-area: actions;
1408
1419
  }
1409
- `;so();en();Zt();rn();var be={searchFieldBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",L.designSystemVariables.colorSurface),searchFieldBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",L.designSystemVariables.colorOutline),searchFieldTextColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",L.designSystemVariables.colorOnSurface),searchFieldBorderRadius:L.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",L.designSystemVariables.borderRadiusS),searchButtonColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",L.designSystemVariables.colorPrimary),resultsNumberColor:L.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",L.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",L.designSystemVariables.colorSurface),resultBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",L.designSystemVariables.colorOutline),resultBorderRadius:L.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",L.designSystemVariables.borderRadiusS),resultTitleTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",L.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",L.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",L.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:L.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",L.designSystemVariables.colorPrimary),resultHoverBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",L.designSystemVariables.colorPrimary)},Hd=ri.css`
1420
+ `;lo();tn();qt();on();var be={searchFieldBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",L.designSystemVariables.colorSurface),searchFieldBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",L.designSystemVariables.colorOutline),searchFieldTextColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",L.designSystemVariables.colorOnSurface),searchFieldBorderRadius:L.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",L.designSystemVariables.borderRadiusS),searchButtonColor:L.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",L.designSystemVariables.colorPrimary),resultsNumberColor:L.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",L.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",L.designSystemVariables.colorSurface),resultBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",L.designSystemVariables.colorOutline),resultBorderRadius:L.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",L.designSystemVariables.borderRadiusS),resultTitleTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",L.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",L.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:L.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",L.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:L.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:L.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",L.designSystemVariables.colorPrimary),resultHoverBorderColor:L.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",L.designSystemVariables.colorPrimary)},Wd=Ja.css`
1410
1421
  .ft-search-in-doc--container {
1411
1422
  display: flex;
1412
1423
  flex-direction: column;
@@ -1432,7 +1443,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1432
1443
  ft-search-load-more-button {
1433
1444
  margin: auto;
1434
1445
  }
1435
- `,zd=ri.css`
1446
+ `,Hd=Ja.css`
1436
1447
  ft-card {
1437
1448
  margin-bottom: 8px;
1438
1449
  ${(0,L.setVariable)(K.elevation04,"none")};
@@ -1446,7 +1457,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1446
1457
 
1447
1458
  ft-search-result-title {
1448
1459
  color: ${be.resultTitleTextColor};
1449
- ${(0,L.setVariable)(tn.highlightBackgroundColor,be.resultHighlightBackgroundColor)};
1460
+ ${(0,L.setVariable)(rn.highlightBackgroundColor,be.resultHighlightBackgroundColor)};
1450
1461
  }
1451
1462
 
1452
1463
  .breadcrumb {
@@ -1455,7 +1466,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1455
1466
 
1456
1467
  ft-search-result-abstract {
1457
1468
  color: ${be.resultContentTextColor};
1458
- ${(0,L.setVariable)(Jo.highlightBackgroundColor,be.resultHighlightBackgroundColor)};
1469
+ ${(0,L.setVariable)(en.highlightBackgroundColor,be.resultHighlightBackgroundColor)};
1459
1470
  }
1460
1471
 
1461
1472
  ft-card:hover {
@@ -1473,11 +1484,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1473
1484
  text-decoration: none;
1474
1485
  color: inherit;
1475
1486
  }
1476
- `;it();var Rp=b(N()),Np=b(Q());var Ap;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Ap||(Ap={}));var Vy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Gi=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},zi=Symbol("registerInterval");function Ky(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[zi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[zi]):this.dispatchEvent(new Gi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=zi,Vy([(0,Np.state)()],o.prototype,"stateManager",void 0),o}var $n=class extends Ky(Rp.FtLitElementRedux){};var Gt=b(Q());Vi();var Gn=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};it();var Ki=at.build("designedReaderSearchInDocument");var sf=b(N());var vo=b(B()),So=b(Q()),nf=b(N());Bo();ut();var af=b(Vr()),jn=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ze=class extends nf.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return vo.html`
1477
- <div id="container" part="container" class=${(0,af.classMap)(e)}>
1478
- ${this.clickable?vo.html`
1479
- <ft-ripple primary ?selected=${this.selected}></ft-ripple>
1480
- `:vo.nothing}
1487
+ `;it();var Ip=b(N()),Lp=b(Q());var Pp;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update"})(Pp||(Pp={}));var _p;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(_p||(_p={}));var Qy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},zi=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Hi=Symbol("registerInterval");function Xy(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[Hi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Hi]):this.dispatchEvent(new zi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Hi,Qy([(0,Lp.state)()],o.prototype,"stateManager",void 0),o}var Bn=class extends Xy(Ip.FtLitElementRedux){};var jt=b(Q());ji();var Hn=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};it();var Vi=at.build("designedReaderSearchInDocument");var pf=b(N());var Co=b(B()),ir=b(Q()),df=b(N());Mo();ut();var uf=b(Zr()),$r=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Pe=class extends df.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 Co.html`
1488
+ <div id="container" part="container" class=${(0,uf.classMap)(e)}>
1489
+ ${this.clickable?Co.html`
1490
+ <ft-ripple primary ?selected=${this.selected}></ft-ripple>
1491
+ `:Co.nothing}
1481
1492
  <div id="header" part="header">
1482
1493
  <ft-typography class="title" element="span" variant="title">${this.title}</ft-typography>
1483
1494
  <slot name="header"></slot>
@@ -1491,35 +1502,35 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1491
1502
  </ft-typography>
1492
1503
  </div>
1493
1504
  </div>
1494
- `}};ze.elementDefinitions={"ft-ripple":X,"ft-typography":se};ze.styles=Hs;jn([(0,So.property)()],ze.prototype,"title",void 0);jn([(0,So.property)({type:Boolean})],ze.prototype,"clickable",void 0);jn([(0,So.property)({type:Boolean})],ze.prototype,"selected",void 0);jn([(0,So.property)({type:Boolean})],ze.prototype,"noHeader",void 0);(0,sf.customElement)("ft-card")(ze);Zi();var zt=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ie=class t extends He($n){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(Ki)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,o){var n;return $e.html`
1495
- <style> ${zd}</style>
1496
- <a href="${zn(e)}" @click="${()=>this.onLinkClick(e,o)} }">
1505
+ `}};Pe.elementDefinitions={"ft-ripple":X,"ft-typography":se};Pe.styles=Ws;$r([(0,ir.property)()],Pe.prototype,"title",void 0);$r([(0,ir.property)({type:Boolean})],Pe.prototype,"clickable",void 0);$r([(0,ir.property)({type:Boolean})],Pe.prototype,"selected",void 0);$r([(0,ir.property)({type:Boolean})],Pe.prototype,"noHeader",void 0);$r([(0,ir.property)({type:Boolean})],Pe.prototype,"noContent",void 0);$r([(0,ir.property)({type:Boolean})],Pe.prototype,"oneLineHeader",void 0);(0,pf.customElement)("ft-card")(Pe);Ki();var Gt=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ie=class t extends ze(Bn){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(Vi)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,o){var n;return Ue.html`
1506
+ <style> ${Hd}</style>
1507
+ <a href="${Wn(e)}" @click="${()=>this.onLinkClick(e,o)} }">
1497
1508
  <ft-card clickable noheader>
1498
1509
  <div class="result-container">
1499
- ${this.hideResultTitle?$e.nothing:$e.html`
1510
+ ${this.hideResultTitle?Ue.nothing:Ue.html`
1500
1511
  <ft-search-result-title withoutLink="true"></ft-search-result-title>`}
1501
- ${this.hideResultBreadcrumb?$e.nothing:$e.html`
1512
+ ${this.hideResultBreadcrumb?Ue.nothing:Ue.html`
1502
1513
  <ft-typography class="breadcrumb" variant="caption">${(n=e.topic)===null||n===void 0?void 0:n.breadcrumb.join(" > ")}</ft-typography>
1503
1514
  `}
1504
- ${this.hideResultAbstract?$e.nothing:$e.html`
1515
+ ${this.hideResultAbstract?Ue.nothing:Ue.html`
1505
1516
  <ft-search-result-abstract></ft-search-result-abstract>
1506
1517
  `}
1507
1518
  </div>
1508
1519
  </ft-card>
1509
1520
  </a>
1510
- `}render(){return this.map?$e.html`
1521
+ `}render(){return this.map?Ue.html`
1511
1522
  <ft-search-context id="${this.uniqueId}"
1512
1523
  contentLocale="${this.map.lang}"
1513
1524
  query="${this.searchInDocumentQuery}"
1514
1525
  .filters=${this.filters}
1515
1526
  scope="ALL_TOPICS"
1516
1527
  ignoreEmptyQuery
1517
- @ft-search-results-change=${e=>{var o,n;this.userHasDoneManualAction&&(this.dispatchEvent(new Gn({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(o=this.map)===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1528
+ @ft-search-results-change=${e=>{var o,n;this.userHasDoneManualAction&&(this.dispatchEvent(new Hn({mapId:this.map.id,mapTitle:this.map.title,metadata:(n=(o=this.map)===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[],query:e.detail.request.query,searchResultsCount:e.detail.paging.totalResultsCount})),this.userHasDoneManualAction=!1)}}>
1518
1529
  <div class="ft-search-in-doc--container">
1519
- <ft-search-input placeholder=${Ki.messages.placeholder()}
1530
+ <ft-search-input placeholder=${Vi.messages.placeholder()}
1520
1531
  ?triggerSearchOnClear=${this.emptyResultOnClear}
1521
1532
  @change="${e=>{var o;this.userHasDoneManualAction=!0,(o=this.stateManager)===null||o===void 0||o.setSearchInDocumentQuery(e.detail)}}"></ft-search-input>
1522
- ${this.hideResultsNumber?$e.nothing:$e.html`
1533
+ ${this.hideResultsNumber?Ue.nothing:Ue.html`
1523
1534
  <ft-search-results-number></ft-search-results-number>
1524
1535
  `}
1525
1536
  <ft-search-results ?displayNoResultsMessage=${this.hideResultsNumber}
@@ -1531,7 +1542,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1531
1542
  </slot>
1532
1543
  </div>
1533
1544
  </ft-search-context>
1534
- `:$e.nothing}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(o=>e.has(o))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,o){this.dispatchEvent(new Mr(e,o))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Of(),Cf)).then(({FtSearchContext:o})=>e.define("ft-search-context",o)),Promise.resolve().then(()=>(Df(),kf)).then(({FtSearchInput:o})=>e.define("ft-search-input",o)),Promise.resolve().then(()=>(Hf(),Wf)).then(({FtSearchLoadMoreButton:o})=>e.define("ft-search-load-more-button",o)),Promise.resolve().then(()=>(ms(),Vf)).then(({FtSearchResultAbstract:o})=>e.define("ft-search-result-abstract",o)),Promise.resolve().then(()=>(bs(),Qf)).then(({FtSearchResultTitle:o})=>e.define("ft-search-result-title",o)),Promise.resolve().then(()=>(ph(),uh)).then(({FtSearchResults:o})=>e.define("ft-search-results",o)),Promise.resolve().then(()=>(bh(),gh)).then(({FtSearchResultsNumber:o})=>e.define("ft-search-results-number",o))}};Ie.elementDefinitions={"ft-card":ze};Ie.styles=Hd;zt([(0,_s.redux)()],Ie.prototype,"map",void 0);zt([(0,_s.redux)()],Ie.prototype,"searchInDocumentQuery",void 0);zt([(0,Gt.query)("ft-search-results")],Ie.prototype,"searchResults",void 0);zt([(0,Gt.property)({type:Boolean})],Ie.prototype,"hideResultTitle",void 0);zt([(0,Gt.property)({type:Boolean})],Ie.prototype,"hideResultBreadcrumb",void 0);zt([(0,Gt.property)({type:Boolean})],Ie.prototype,"hideResultAbstract",void 0);zt([(0,Gt.property)({type:Boolean})],Ie.prototype,"hideResultsNumber",void 0);zt([(0,Gt.property)({type:Boolean})],Ie.prototype,"emptyResultOnClear",void 0);(0,xh.customElement)("ft-reader-search-in-document")(Ie);})();
1545
+ `:Ue.nothing}update(e){super.update(e),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(o=>e.has(o))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,o){this.dispatchEvent(new Ur(e,o))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Nf(),Rf)).then(({FtSearchContext:o})=>e.define("ft-search-context",o)),Promise.resolve().then(()=>(Ff(),Uf)).then(({FtSearchInput:o})=>e.define("ft-search-input",o)),Promise.resolve().then(()=>(Kf(),Vf)).then(({FtSearchLoadMoreButton:o})=>e.define("ft-search-load-more-button",o)),Promise.resolve().then(()=>(ys(),Qf)).then(({FtSearchResultAbstract:o})=>e.define("ft-search-result-abstract",o)),Promise.resolve().then(()=>(gs(),rh)).then(({FtSearchResultTitle:o})=>e.define("ft-search-result-title",o)),Promise.resolve().then(()=>(gh(),mh)).then(({FtSearchResults:o})=>e.define("ft-search-results",o)),Promise.resolve().then(()=>(Oh(),Ch)).then(({FtSearchResultsNumber:o})=>e.define("ft-search-results-number",o))}};Ie.elementDefinitions={"ft-card":Pe};Ie.styles=Wd;Gt([(0,Ts.redux)()],Ie.prototype,"map",void 0);Gt([(0,Ts.redux)()],Ie.prototype,"searchInDocumentQuery",void 0);Gt([(0,jt.query)("ft-search-results")],Ie.prototype,"searchResults",void 0);Gt([(0,jt.property)({type:Boolean})],Ie.prototype,"hideResultTitle",void 0);Gt([(0,jt.property)({type:Boolean})],Ie.prototype,"hideResultBreadcrumb",void 0);Gt([(0,jt.property)({type:Boolean})],Ie.prototype,"hideResultAbstract",void 0);Gt([(0,jt.property)({type:Boolean})],Ie.prototype,"hideResultsNumber",void 0);Gt([(0,jt.property)({type:Boolean})],Ie.prototype,"emptyResultOnClear",void 0);(0,Eh.customElement)("ft-reader-search-in-document")(Ie);})();
1535
1546
  /*! Bundled license information:
1536
1547
 
1537
1548
  lit-html/lit-html.js: