@fluid-topics/ft-modal 2.2.36 → 2.2.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-modal.d.ts +6 -7
- package/build/ft-modal.js +16 -10
- package/build/ft-modal.light.js +207 -205
- package/build/ft-modal.min.js +99 -96
- package/package.json +8 -8
package/build/ft-modal.light.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var qc=Object.create;var $n=Object.defineProperty;var Yc=Object.getOwnPropertyDescriptor;var Xc=Object.getOwnPropertyNames;var Jc=Object.getPrototypeOf,Qc=Object.prototype.hasOwnProperty;var Gt=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(o){throw t=0,o}};var el=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Xc(t))!Qc.call(e,a)&&a!==o&&$n(e,a,{get:()=>t[a],enumerable:!(n=Yc(t,a))||n.enumerable});return e};var g=(e,t,o)=>(o=e!=null?qc(Jc(e)):{},el(t||!e||!e.__esModule?$n(o,"default",{value:e,enumerable:!0}):o,e));var L=Gt((Ud,Hn)=>{Hn.exports=ftGlobals.wcUtils});var $=Gt((Bd,zn)=>{zn.exports=ftGlobals.lit});var te=Gt((Fd,Gn)=>{Gn.exports=ftGlobals.litDecorators});var Er=Gt(($d,Wn)=>{Wn.exports=ftGlobals.litClassMap});var Yn=Gt((yy,qn)=>{qn.exports=ftGlobals.litUnsafeHTML});var Kc=g(L());var Ht=g($()),Ct=g(te()),ko=g(L()),Wc=g(Er());var Ne=g($(),1),Be=e=>typeof e=="string"?(0,Ne.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let s=d=>Be(d??a),c=Ne.css`var(${Be(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=s,c.set=d=>Vn(c,d??s(a)),c.get=d=>Ne.css`var(${Be(t)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let s=d=>n.get(d??a),c=Ne.css`var(${Be(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=s,c.set=d=>Vn(c,d??s(a)),c.get=d=>Ne.css`var(${Be(t)}, ${s(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(t,o){let n=s=>t.defaultCssValue(s),a=Ne.css`var(${Be(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.set=s=>t.set(s),a.get=s=>Ne.css`var(${Be(t.name)}, ${n(s)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Vn(e,t){return Be(`${e.name}: ${t}`)}var i={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:r.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity4:r.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:r.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},Gd={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Wd={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Vd={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Kd={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},jd={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Zd={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},qd={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Yd={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Xd={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Jd={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Qd={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},eu={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},tu={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},ru={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ou={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},nu={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")};var l={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",i.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",i.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",i.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",i.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",i.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",i.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",i.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",i.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",i.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",i.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",i.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",i.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",i.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",i.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",i.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",i.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",i.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",i.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
2
|
-
Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",i.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",i.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",i.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",i.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",i.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",i.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",i.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",i.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",i.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",i.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",i.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",i.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",i.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",i.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",i.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",i.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",i.colorGray200)};var pu={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",i.spacing4),largeGap:r.extend("--ftds-button-large-gap","",i.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",i.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",i.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",i.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",i.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",i.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",i.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",i.spacing2),smallGap:r.extend("--ftds-button-small-gap","",i.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",i.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",i.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",i.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",i.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",l.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",l.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",l.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",l.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",i.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",i.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",i.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",l.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",l.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",l.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",i.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",i.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",i.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",i.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",l.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",l.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",l.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",i.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",i.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",i.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",i.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",l.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",l.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",l.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",i.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",i.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",i.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",i.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",l.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",l.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",l.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",i.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",i.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",i.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",i.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",l.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",l.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",l.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",i.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",i.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",i.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",i.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",l.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",l.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",l.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",i.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",i.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",i.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",i.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",l.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",l.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",l.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",i.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",i.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",i.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",i.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",l.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",i.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",i.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",i.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",i.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",l.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",l.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",l.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",l.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",i.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",i.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",i.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",i.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",l.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",l.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",l.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",l.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",i.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",i.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",i.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",i.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",l.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",l.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",l.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",l.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",i.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",i.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",i.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",i.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",l.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",l.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",l.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",l.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",i.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",i.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",i.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",i.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",l.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",l.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",l.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",l.contentErrorPrimary)};var gu={iconSize:r.extend("--ftds-toggle-icon-size","",i.iconSize1),offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",i.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",i.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",i.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",i.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",i.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",i.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",i.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",l.contentActionPrimary),color:r.extend("--ftds-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",i.spacing3),width:r.create("--ftds-toggle-width","","SIZE","36px"),height:r.create("--ftds-toggle-height","","SIZE","20px")};var Cu={borderRadius:r.extend("--ftds-card-border-radius","",i.borderRadiusS),focusFocusRingColor:r.extend("--ftds-card-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:r.extend("--ftds-card-header-title-horizontal-padding","",i.spacing4),headerTitleVerticalPadding:r.extend("--ftds-card-header-title-vertical-padding","",i.spacing3),headerActionHorizontalPadding:r.extend("--ftds-card-header-action-horizontal-padding","",i.spacing2),headerActionVerticalPadding:r.extend("--ftds-card-header-action-vertical-padding","",i.spacing2),headerActionGap:r.extend("--ftds-card-header-action-gap","",i.spacing1),bodyHorizontalPadding:r.extend("--ftds-card-body-horizontal-padding","",i.spacing4),bodyVerticalPadding:r.extend("--ftds-card-body-vertical-padding","",i.spacing4),footerActionHorizontalPadding:r.extend("--ftds-card-footer-action-horizontal-padding","",i.spacing2),footerActionVerticalPadding:r.extend("--ftds-card-footer-action-vertical-padding","",i.spacing2),footerActionGap:r.extend("--ftds-card-footer-action-gap","",i.spacing1),footerContentHorizontalPadding:r.extend("--ftds-card-footer-content-horizontal-padding","",i.spacing4),footerContentVerticalPadding:r.extend("--ftds-card-footer-content-vertical-padding","",i.spacing3),sideBarHorizontalPadding:r.extend("--ftds-card-side-bar-horizontal-padding","",i.spacing1),sideBarVerticalPadding:r.extend("--ftds-card-side-bar-vertical-padding","",i.spacing1),sideBarGap:r.extend("--ftds-card-side-bar-gap","",i.spacing1),nonSelectableBorderWidth:r.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:r.extend("--ftds-card-non-selectable-state-layer-color","",l.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:r.extend("--ftds-card-non-selectable-default-background-color","",l.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:r.extend("--ftds-card-non-selectable-default-border-color","",l.borderGlobalSecondary),nonSelectableHoverBorderColor:r.extend("--ftds-card-non-selectable-hover-border-color","",l.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:r.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",i.opacity4),nonSelectableFocusBorderColor:r.extend("--ftds-card-non-selectable-focus-border-color","",l.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:r.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",i.opacity4),internalBorderColor:r.extend("--ftds-card-internal-border-color","",l.borderGlobalSecondary),selectableUnselectedBorderWidth:r.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:r.extend("--ftds-card-selectable-unselected-state-layer-color","",l.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:r.extend("--ftds-card-selectable-unselected-default-background-color","",l.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:r.extend("--ftds-card-selectable-unselected-default-border-color","",l.borderGlobalSecondary),selectableUnselectedHoverBorderColor:r.extend("--ftds-card-selectable-unselected-hover-border-color","",l.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",i.opacity4),selectableUnselectedFocusBorderColor:r.extend("--ftds-card-selectable-unselected-focus-border-color","",l.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",i.opacity4),selectableSelectedBorderColor:r.extend("--ftds-card-selectable-selected-border-color","",l.borderActionPrimary),selectableSelectedBorderWidth:r.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:r.extend("--ftds-card-selectable-selected-state-layer-color","",l.contentActionPrimary),selectableSelectedBackgroundColor:r.extend("--ftds-card-selectable-selected-background-color","",l.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:r.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",i.opacity4),selectableSelectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",i.opacity4),selectableSelectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",i.opacity4),internalBorderWidth:r.create("--ftds-card-internal-border-width","","SIZE","1px")};var _u={borderRadius:r.extend("--ftds-event-card-border-radius","",i.borderRadiusS),borderWidth:r.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:r.extend("--ftds-event-card-background-color","",l.backgroundGlobalSurface),thumbnailWidth:r.extend("--ftds-event-card-thumbnail-width","",i.spacing8),thumbnailIconSize:r.extend("--ftds-event-card-thumbnail-icon-size","",i.iconSize3),slotHorizontalPadding:r.extend("--ftds-event-card-slot-horizontal-padding","",i.spacing2),slotVerticalPadding:r.extend("--ftds-event-card-slot-vertical-padding","",i.spacing2),primaryThumbnailIconColor:r.extend("--ftds-event-card-primary-thumbnail-icon-color","",l.contentGlobalOnColor),secondaryThumbnailBackgroundColor:r.extend("--ftds-event-card-secondary-thumbnail-background-color","",l.backgroundGlobalSurface)};var Nu={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",i.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",i.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",l.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",l.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",l.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",i.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",i.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",i.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",i.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",i.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",i.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",i.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",i.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",i.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",l.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",l.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",l.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",l.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",l.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",l.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",l.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",l.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",l.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",l.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",l.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",l.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",i.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",i.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",i.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",i.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",l.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",l.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",l.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",l.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",i.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",i.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",i.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",i.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",l.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",l.contentGlobalSecondary)};var Uu={titleColor:r.extend("--ftds-toc-title-color","",l.contentGlobalSubtle),titleGap:r.extend("--ftds-toc-title-gap","",i.spacing2),offsetTop:r.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:r.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:r.extend("--ftds-toc-item-horizontal-padding","",i.spacing4),itemVerticalPadding:r.extend("--ftds-toc-item-vertical-padding","",i.spacing3),itemBorderRadius:r.extend("--ftds-toc-item-border-radius","",i.borderRadiusS),itemBorderWidth:r.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:r.extend("--ftds-toc-item-focus-focus-ring-color","",l.borderActionFocusRing),itemFocusFocusRingWidth:r.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:r.extend("--ftds-toc-item-inactive-label-color","",l.contentGlobalSubtle),itemInactiveBorderColor:r.extend("--ftds-toc-item-inactive-border-color","",l.borderGlobalSubtle),itemInactiveStateLayerColor:r.extend("--ftds-toc-item-inactive-state-layer-color","",l.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",i.opacity8),itemInactiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",i.opacity8),itemActiveLabelColor:r.extend("--ftds-toc-item-active-label-color","",l.contentActionPrimary),itemActiveBorderColor:r.extend("--ftds-toc-item-active-border-color","",l.borderActionPrimary),itemActiveBorderWidth:r.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:r.extend("--ftds-toc-item-active-state-layer-color","",l.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:r.extend("--ftds-toc-item-active-default-state-layer-opacity","",i.opacity8),itemActiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-active-hover-state-layer-opacity","",i.opacity16),itemActiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-active-focus-state-layer-opacity","",i.opacity16),itemChildActiveLabelColor:r.extend("--ftds-toc-item-child-active-label-color","",l.contentActionPrimary),itemChildActiveBorderColor:r.extend("--ftds-toc-item-child-active-border-color","",l.borderGlobalSubtle),itemChildActiveStateLayerColor:r.extend("--ftds-toc-item-child-active-state-layer-color","",l.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:r.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",i.opacity8),itemChildActiveFocusStateLayerOpacity:r.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",i.opacity8)};var zu={iconSize:r.extend("--ftds-checkbox-icon-size","",i.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",i.spacing2),color:r.extend("--ftds-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",i.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",i.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",i.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",i.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",i.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",i.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",i.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",i.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",i.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",i.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",i.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",i.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",l.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",l.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",l.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",l.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",l.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",i.spacing3)};var ju={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",l.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",i.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",i.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",i.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",i.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",i.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",i.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",i.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",i.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",i.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",i.spacing3)};var Ju={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",l.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",l.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",l.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",l.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",l.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",l.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",i.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",i.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",i.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",i.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",i.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",i.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",l.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",i.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",l.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",i.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",i.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",i.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",i.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",i.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",i.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",i.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",i.spacing1)};var op={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",i.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",i.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",i.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",i.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",i.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",i.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",i.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",i.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",i.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",i.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",i.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",i.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",i.iconSize2)};var cp={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",i.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",i.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",i.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",i.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",i.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",i.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",i.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",i.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",i.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",i.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",i.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",i.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",l.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",l.borderErrorSubtle)};var fp={horizontalGap:r.extend("--ftds-chip-group-horizontal-gap","",i.spacing2),verticalGap:r.extend("--ftds-chip-group-vertical-gap","",i.spacing2),countChipDefaultBackgroundColor:r.extend("--ftds-chip-group-count-chip-default-background-color","",i.colorBrand10),countChipDefaultBorderColor:r.extend("--ftds-chip-group-count-chip-default-border-color","",i.colorBrand60),countChipDefaultContentColor:r.extend("--ftds-chip-group-count-chip-default-content-color","",l.contentActionPrimary),countChipHoverBackgroundColor:r.extend("--ftds-chip-group-count-chip-hover-background-color","",i.colorBrand20),countChipHoverBorderColor:r.extend("--ftds-chip-group-count-chip-hover-border-color","",i.colorBrand70),countChipHoverContentColor:r.extend("--ftds-chip-group-count-chip-hover-content-color","",l.contentActionPrimary),countChipFocusedBackgroundColor:r.extend("--ftds-chip-group-count-chip-focused-background-color","",i.colorBrand20),countChipFocusedBorderColor:r.extend("--ftds-chip-group-count-chip-focused-border-color","",i.colorBrand70),countChipFocusedContentColor:r.extend("--ftds-chip-group-count-chip-focused-content-color","",l.contentActionPrimary)};var bp={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",i.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",i.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",l.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",i.colorBrand100),horizontalGap:r.extend("--ftds-link-horizontal-gap","",i.spacing1)};var Ep={iconSize:r.extend("--ftds-banner-icon-size","",i.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",i.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",i.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",i.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",i.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",i.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",i.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",i.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",l.borderInfoSubtle)};var Rp={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",i.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",i.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",i.borderRadiusPill),color:r.extend("--ftds-badge-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",l.contentActionPrimary)};var Ip={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",i.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",l.contentGlobalSubtle)};var Bp={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",i.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",i.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",i.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",i.spacing2),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",l.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",l.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",i.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",i.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",i.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",i.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",i.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",i.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",i.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",i.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",i.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",i.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",i.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",i.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",i.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",i.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",i.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",i.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",i.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",l.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Gp={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",i.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",i.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",i.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",i.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",l.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",i.spacing4)};var jp={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",i.spacing6)};var Jp={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",i.spacing6),headerIconSize:r.extend("--ftds-modal-header-icon-size","",i.iconSize3),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",l.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",l.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",i.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",i.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",i.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",i.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",i.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",i.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",i.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",i.opacity40),shadow:r.extend("--ftds-modal-shadow","",i.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",i.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",i.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",i.spacing6),borderRadius:r.extend("--ftds-modal-border-radius","",i.borderRadiusM)};var of={grabberIconSize:r.extend("--ftds-reorderable-list-grabber-icon-size","",i.iconSize2),verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",i.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",i.spacing4),itemGap:r.extend("--ftds-reorderable-list-item-gap","",i.spacing2),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",i.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",i.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",l.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",i.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",i.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",i.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",l.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",i.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",l.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",i.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",l.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",l.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",l.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",i.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",i.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",i.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",i.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",i.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",l.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",l.backgroundGlobalOnSurfaceDark)};var lf={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",i.opacity40),shadow:r.extend("--ftds-drawer-shadow","",i.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",i.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",i.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",i.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",i.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",i.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",i.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",i.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",i.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",i.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",i.colorGray700)};var hf={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",i.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",i.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",i.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",i.opacity40),offColor:r.extend("--ftds-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",i.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",i.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",i.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",i.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",i.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",i.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",i.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",i.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",i.opacity24),onColor:r.extend("--ftds-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",i.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",i.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",i.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",i.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",l.borderActionFocusRing),mainIconIconSize:r.extend("--ftds-tabs-main-icon-icon-size","",i.iconSize3),alertIconIconSize:r.extend("--ftds-tabs-alert-icon-icon-size","",i.iconSize2)};var xf={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",i.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",i.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",i.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",i.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",i.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",i.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",i.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",i.spacing1),helperVerticalGap:r.extend("--ftds-text-input-helper-vertical-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",i.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",i.opacity40)};var Ef={fieldPaddingLeft:r.extend("--ftds-text-area-field-padding-left","",i.spacing4),fieldPaddingRight:r.extend("--ftds-text-area-field-padding-right","",i.spacing6),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:r.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:r.extend("--ftds-text-area-resize-bottom","",i.spacing05),resizeRight:r.extend("--ftds-text-area-resize-right","",i.spacing05)};var Rf={height:r.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",i.spacing4),verticalPadding:r.extend("--ftds-floating-menu-vertical-padding","",i.spacing2),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",l.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",i.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",i.opacity24),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",i.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",i.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",i.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",i.shadowElevation02),multiselectCheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",l.contentActionPrimary),multiselectCheckedColor:r.extend("--ftds-floating-menu-multiselect-checked-color","",l.contentGlobalPrimary),multiselectCheckedIconColor:r.extend("--ftds-floating-menu-multiselect-checked-icon-color","",l.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",i.opacity8),multiselectCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",i.opacity16),multiselectCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",i.opacity24),multiselectIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",l.contentActionPrimary),multiselectIndeterminatedColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-color","",l.contentGlobalPrimary),multiselectIndeterminatedIconColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",l.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",i.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",i.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",i.opacity24),multiselectUncheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",l.contentGlobalPrimary),multiselectUncheckedColor:r.extend("--ftds-floating-menu-multiselect-unchecked-color","",l.contentGlobalPrimary),multiselectUncheckedIconColor:r.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",l.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",i.opacity0),multiselectUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",i.opacity8),multiselectUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",i.opacity16),selectAllCheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",l.contentActionPrimary),selectAllCheckedColor:r.extend("--ftds-floating-menu-select-all-checked-color","",l.contentGlobalPrimary),selectAllCheckedIconColor:r.extend("--ftds-floating-menu-select-all-checked-icon-color","",l.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",i.opacity0),selectAllCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",i.opacity16),selectAllCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",i.opacity24),selectAllIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",l.contentGlobalPrimary),selectAllIndeterminatedColor:r.extend("--ftds-floating-menu-select-all-indeterminated-color","",l.contentGlobalPrimary),selectAllIndeterminatedIconColor:r.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",l.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",i.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",i.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",i.opacity16),selectAllUncheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",l.contentGlobalPrimary),selectAllUncheckedColor:r.extend("--ftds-floating-menu-select-all-unchecked-color","",l.contentGlobalPrimary),selectAllUncheckedIconColor:r.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",l.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",i.opacity0),selectAllUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",i.opacity8),selectAllUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",i.opacity16),defaultUncheckedStateLayerColor:r.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",l.contentGlobalPrimary),defaultUncheckedColor:r.extend("--ftds-floating-menu-default-unchecked-color","",l.contentGlobalPrimary),defaultUncheckedIconColor:r.extend("--ftds-floating-menu-default-unchecked-icon-color","",l.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",i.opacity0),defaultUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",i.opacity8),defaultUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",i.opacity16),defaultCheckedStateLayerColor:r.extend("--ftds-floating-menu-default-checked-state-layer-color","",l.contentActionPrimary),defaultCheckedColor:r.extend("--ftds-floating-menu-default-checked-color","",l.contentActionPrimary),defaultCheckedIconColor:r.extend("--ftds-floating-menu-default-checked-icon-color","",l.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",i.opacity8),defaultCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",i.opacity16),defaultCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",i.opacity24)};var If={menuVerticalGap:r.extend("--ftds-combobox-menu-vertical-gap","",i.spacing2),menuNewValuePaddingTop:r.extend("--ftds-combobox-menu-new-value-padding-top","",i.spacing4),menuNewValuePaddingBottom:r.extend("--ftds-combobox-menu-new-value-padding-bottom","",i.spacing1),menuNewValueHorizontalPadding:r.extend("--ftds-combobox-menu-new-value-horizontal-padding","",i.spacing4),menuNewValueLabelColor:r.extend("--ftds-combobox-menu-new-value-label-color","",l.contentGlobalSubtle),menuNewValueBorderColor:r.extend("--ftds-combobox-menu-new-value-border-color","",l.borderGlobalPrimary),menuNewValueBorderWidth:r.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:r.extend("--ftds-combobox-menu-new-value-error-background-color","",l.backgroundErrorSubtle),menuNewValueErrorBorderColor:r.extend("--ftds-combobox-menu-new-value-error-border-color","",l.borderErrorPrimary),menuNewValueErrorStateLayerColor:r.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",l.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",i.opacity4),menuNewValueErrorActiveStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",i.opacity6),menuMessagePaddingTop:r.extend("--ftds-combobox-menu-message-padding-top","",i.spacing2),menuMessagePaddingBottom:r.extend("--ftds-combobox-menu-message-padding-bottom","",i.spacing2),menuMessageHorizontalPadding:r.extend("--ftds-combobox-menu-message-horizontal-padding","",i.spacing4),menuMessageLabelColor:r.extend("--ftds-combobox-menu-message-label-color","",l.contentGlobalSubtle),valuesChipBackgroundColor:r.extend("--ftds-combobox-values-chip-background-color","",l.backgroundGlobalOnSurface),valuesChipBorderColor:r.extend("--ftds-combobox-values-chip-border-color","",l.borderInputPrimary)};var Bf={backgroundColor:r.extend("--ftds-popover-background-color","",l.backgroundGlobalOnSurface),titleColor:r.extend("--ftds-popover-title-color","",l.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",l.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",i.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",i.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",i.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:r.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:r.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",i.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",i.spacing6),defaultHorizontalPadding:r.extend("--ftds-popover-default-horizontal-padding","",i.spacing6),defaultVerticalPadding:r.extend("--ftds-popover-default-vertical-padding","",i.spacing6),denseHorizontalPadding:r.extend("--ftds-popover-dense-horizontal-padding","",i.spacing3),denseVerticalPadding:r.extend("--ftds-popover-dense-vertical-padding","",i.spacing3)};var Gf={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",i.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",i.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",i.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",i.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",i.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",i.spacing3),color:r.extend("--ftds-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",l.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",i.iconSize3)};var Zf={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",i.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",i.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",i.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",i.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",i.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",i.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",i.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",i.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",i.opacity40),offColor:r.extend("--ftds-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",i.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",i.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",i.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",i.opacity40),onColor:r.extend("--ftds-switch-on-color","",l.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",i.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",i.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",i.borderRadiusS)};var Jf={color1Light:r.extend("--ftds-chart-1-light","for area color charts",i.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",i.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",i.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",i.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",i.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",i.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",i.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",i.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",i.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",i.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",i.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",i.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",i.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",i.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",i.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",i.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",i.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",i.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",i.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",i.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",i.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",i.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",i.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",i.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",i.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",i.colorBrand200)};var rh={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",i.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",i.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",i.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",i.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",i.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",i.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",i.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",i.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",i.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",i.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",i.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",i.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",i.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",i.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",i.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",i.colorBrown0)};var sh={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",i.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",i.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",i.borderRadiusS),gap:r.extend("--ftds-notice-gap","",i.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",i.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",l.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",l.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",l.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",l.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",l.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",i.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",i.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var ph={iconSize:r.extend("--ftds-notification-icon-size","",i.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",i.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",i.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",i.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",l.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",l.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",l.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",l.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",l.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",i.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",i.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",i.spacing8)};var gh={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",i.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",i.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",i.borderRadiusS),color:r.extend("--ftds-tooltip-color","",l.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",i.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",i.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",i.spacing05)};var vh={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",i.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",i.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",i.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",i.spacing2)};var Kn;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Kn||(Kn={}));var Or;(function(e){e.large="large",e.medium="medium",e.small="small"})(Or||(Or={}));var jn=g($()),ge=g(L()),me={size:ge.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ge.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ge.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ge.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ge.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ge.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ge.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ge.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Zn=[jn.css`
|
|
1
|
+
"use strict";(()=>{var Vl=Object.create;var Ni=Object.defineProperty;var jl=Object.getOwnPropertyDescriptor;var zl=Object.getOwnPropertyNames;var Wl=Object.getPrototypeOf,Kl=Object.prototype.hasOwnProperty;var Bt=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}};var Gl=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of zl(t))!Kl.call(e,i)&&i!==r&&Ni(e,i,{get:()=>t[i],enumerable:!(n=jl(t,i))||n.enumerable});return e};var m=(e,t,r)=>(r=e!=null?Vl(Wl(e)):{},Gl(t||!e||!e.__esModule?Ni(r,"default",{value:e,enumerable:!0}):r,e));var w=Bt((Lu,Pi)=>{Pi.exports=ftGlobals.wcUtils});var V=Bt((Nu,Di)=>{Di.exports=ftGlobals.lit});var J=Bt((Pu,ki)=>{ki.exports=ftGlobals.litDecorators});var vr=Bt((Du,Mi)=>{Mi.exports=ftGlobals.litClassMap});var Bi=Bt((Iu,$i)=>{$i.exports=ftGlobals.litUnsafeHTML});var Bl=m(w());var Ut=m(V()),gt=m(J()),Il=m(w()),Ul=m(vr());var Ii=m(V()),he=m(w()),fe={size:he.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:he.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",he.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:he.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",he.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:he.FtCssVariableFactory.extend("--ft-icon-material-font-family","",he.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:he.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ui=[Ii.css`
|
|
3
2
|
:host, i.ft-icon {
|
|
4
3
|
display: inline-flex;
|
|
5
4
|
align-items: center;
|
|
@@ -8,14 +7,14 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
:host {
|
|
11
|
-
width: ${
|
|
12
|
-
height: ${
|
|
10
|
+
width: ${fe.size};
|
|
11
|
+
height: ${fe.size};
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
i.ft-icon {
|
|
16
15
|
width: 100%;
|
|
17
16
|
height: 100%;
|
|
18
|
-
font-size: ${
|
|
17
|
+
font-size: ${fe.size};
|
|
19
18
|
line-height: 1;
|
|
20
19
|
font-weight: normal;
|
|
21
20
|
text-transform: none;
|
|
@@ -26,36 +25,87 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
26
25
|
text-rendering: auto;
|
|
27
26
|
-webkit-font-smoothing: antialiased;
|
|
28
27
|
-moz-osx-font-smoothing: grayscale;
|
|
29
|
-
vertical-align: ${
|
|
28
|
+
vertical-align: ${fe.verticalAlign};
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
i.ft-icon.ft-icon--fluid-topics {
|
|
33
|
-
font-family: ${
|
|
32
|
+
font-family: ${fe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
34
33
|
|
|
35
34
|
/* Ugly fix because font is broken */
|
|
36
|
-
font-size: calc(0.75 * ${
|
|
37
|
-
line-height: ${
|
|
35
|
+
font-size: calc(0.75 * ${fe.size});
|
|
36
|
+
line-height: ${fe.size};
|
|
38
37
|
position: relative;
|
|
39
38
|
top: -4%;
|
|
40
39
|
justify-content: center;
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
.ft-icon--file-format {
|
|
44
|
-
font-family: ${
|
|
43
|
+
font-family: ${fe.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
.ft-icon--material {
|
|
48
|
-
font-family: ${
|
|
47
|
+
font-family: ${fe.materialFontFamily}, "Material Icons", sans-serif;
|
|
49
48
|
}
|
|
50
|
-
`,
|
|
49
|
+
`,he.noTextSelect];var ke;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ke||(ke={}));var Ht=m(V()),Me=m(J()),Hi=m(w()),Fi=m(Bi());var xt;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.GRIP_LINES_SOLID="",e.TRANSLATE_SPARKLE_SOLID="",e.CODE="",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",e.PAPER_PLANE_SLASH="",e.COMPRESS="",e.EXPAND="",e.ARROW_ROTATE_LEFT="",e.MOBILE_SMALL="",e.SPARKLES="",e.HAND_SOLID="",e.CLOCK_SOLID="",e.CONTEXT_MENU_CURSOR="",e.LANGUAGE_SLASH="",e.MAGNIFYING_GLASS_FLOPPY_DISK="",e.CABINET_FILING_FLOPPY_DISK="",e.BOOKMARK_SLASH="",e.CIRCLE_PAUSE="",e.CIRCLE_PLAY="",e.CIRCLE_STOP_PLAIN="",e.CIRCLE_ARROW_DOWN="",e.SHARE_NODES="",e.BELL="",e.BELL_SLASH="",e.FILE="",e.HAND="",e.SQUARE_INFO_SOLID="",e.FILE_CODE="",e.BOX_CODE="",e.TOPICS_SOLID="",e.PHOTO_FILM="",e.HYPHEN_SOLID="",e.CROSSHAIRS="",e.PERSON_CHALKBOARD="",e.CIRCLE_ARROW_DOWN_SLASH="",e.BOOK_OPEN_COVER="",e.LIGHTBULB="",e.MESSAGE_BOT_AGENTIC_SOLID="",e.CHART_LINE_USER="",e.SERVER_CIRCLE_ARROW_DOWN="",e.EYE="",e.SHARE="󨃱"})(xt||(xt={}));var h;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(h||(h={}));var Uu=new Map([...["abw"].map(e=>[e,h.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,h.AUDIO]),...["avi"].map(e=>[e,h.AVI]),...["chm","xhs"].map(e=>[e,h.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,h.CODE]),...["csv"].map(e=>[e,h.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,h.DITA]),...["epub"].map(e=>[e,h.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,h.EXCEL]),...["flac"].map(e=>[e,h.FLAC]),...["gif"].map(e=>[e,h.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,h.GZIP]),...["html","htm","xhtml"].map(e=>[e,h.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,h.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,h.JPEG]),...["json"].map(e=>[e,h.JSON]),...["m4a","m4p"].map(e=>[e,h.M4A]),...["mov","qt"].map(e=>[e,h.MOV]),...["mp3"].map(e=>[e,h.MP3]),...["mp4","m4v"].map(e=>[e,h.MP4]),...["ogg","oga"].map(e=>[e,h.OGG]),...["pdf","ps"].map(e=>[e,h.PDF]),...["png"].map(e=>[e,h.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,h.POWERPOINT]),...["rar"].map(e=>[e,h.RAR]),...["stp"].map(e=>[e,h.STP]),...["txt","rtf","md","mdown"].map(e=>[e,h.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,h.VIDEO]),...["wav"].map(e=>[e,h.WAV]),...["wma"].map(e=>[e,h.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,h.WORD]),...["xml","xsl","rdf"].map(e=>[e,h.XML]),...["yaml","yml","x-yaml"].map(e=>[e,h.YAML]),...["zip"].map(e=>[e,h.ZIP])]);var $u={[h.ABW]:"#91ABC6",[h.AUDIO]:"#1795E3",[h.AVI]:"#E63324",[h.CHM]:"#71C3EB",[h.CODE]:"#71C3EB",[h.CSV]:"#1F7345",[h.DITA]:"#71C3EB",[h.EPUB]:"#85B926",[h.EXCEL]:"#1F7345",[h.FLAC]:"#1795E3",[h.GIF]:"#59B031",[h.GZIP]:"#F8AB36",[h.HTML]:"#71C3EB",[h.IMAGE]:"#59B031",[h.JPEG]:"#59B031",[h.JSON]:"#71C3EB",[h.M4A]:"#1795E3",[h.MOV]:"#E63324",[h.MP3]:"#1795E3",[h.MP4]:"#E63324",[h.OGG]:"#1795E3",[h.PDF]:"#E44948",[h.PNG]:"#59B031",[h.POWERPOINT]:"#B54A2B",[h.RAR]:"#F8AB36",[h.STP]:"#3764B1",[h.TEXT]:"#3162AB",[h.UNKNOWN]:"#999999",[h.VIDEO]:"#E63324",[h.WAV]:"#1795E3",[h.WMA]:"#1795E3",[h.WORD]:"#3162AB",[h.XML]:"#71C3EB",[h.YAML]:"#71C3EB",[h.ZIP]:"#F8AB36"};var Ft=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},Y=class extends Hi.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=Ht.nothing}render(){let t=this.variant&&Object.values(ke).includes(this.variant)?this.variant:ke.fluid_topics,r=t!==ke.material||!!this.value;return Ht.html`
|
|
51
50
|
<i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
|
|
52
|
-
${(0,
|
|
53
|
-
<slot ?hidden=${
|
|
51
|
+
${(0,Fi.unsafeHTML)(this.resolvedIcon)}
|
|
52
|
+
<slot ?hidden=${r}></slot>
|
|
54
53
|
</i>
|
|
55
|
-
`}getTextContent(){var t,
|
|
56
|
-
\f\r]`,
|
|
57
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ii=/'/g,ai=/"/g,di=/^(?:script|style|textarea|title)$/i,$o=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),ui=$o(1),pi=$o(2),fi=$o(3),Zt=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),si=new WeakMap,Xe=Je.createTreeWalker(Je,129);function hi(e,t){if(!Fo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ri!==void 0?ri.createHTML(t):t}var ol=(e,t)=>{let o=e.length-1,n=[],a,s=t===2?"<svg>":t===3?"<math>":"",c=Kt;for(let d=0;d<o;d++){let u=e[d],p,f,h=-1,y=0;for(;y<u.length&&(c.lastIndex=y,f=c.exec(u),f!==null);)y=c.lastIndex,c===Kt?f[1]==="!--"?c=oi:f[1]!==void 0?c=ni:f[2]!==void 0?(di.test(f[2])&&(a=RegExp("</"+f[2],"g")),c=Ye):f[3]!==void 0&&(c=Ye):c===Ye?f[0]===">"?(c=a??Kt,h=-1):f[1]===void 0?h=-2:(h=c.lastIndex-f[2].length,p=f[1],c=f[3]===void 0?Ye:f[3]==='"'?ai:ii):c===ai||c===ii?c=Ye:c===oi||c===ni?c=Kt:(c=Ye,a=void 0);let x=c===Ye&&e[d+1].startsWith("/>")?" ":"";s+=c===Kt?u+tl:h>=0?(n.push(p),u.slice(0,h)+ci+u.slice(h)+He+x):u+He+(h===-2?d:x)}return[hi(e,s+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},qt=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let s=0,c=0,d=t.length-1,u=this.parts,[p,f]=ol(t,o);if(this.el=e.createElement(p,n),Xe.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=Xe.nextNode())!==null&&u.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(ci)){let y=f[c++],x=a.getAttribute(h).split(He),C=/([.?@])?(.*)/.exec(y);u.push({type:1,index:s,name:C[2],strings:x,ctor:C[1]==="."?Po:C[1]==="?"?Do:C[1]==="@"?Mo:At}),a.removeAttribute(h)}else h.startsWith(He)&&(u.push({type:6,index:s}),a.removeAttribute(h));if(di.test(a.tagName)){let h=a.textContent.split(He),y=h.length-1;if(y>0){a.textContent=Ar?Ar.emptyScript:"";for(let x=0;x<y;x++)a.append(h[x],wr()),Xe.nextNode(),u.push({type:2,index:++s});a.append(h[y],wr())}}}else if(a.nodeType===8)if(a.data===li)u.push({type:2,index:s});else{let h=-1;for(;(h=a.data.indexOf(He,h+1))!==-1;)u.push({type:7,index:s}),h+=He.length-1}s++}}static createElement(t,o){let n=Je.createElement("template");return n.innerHTML=t,n}};function Ot(e,t,o=e,n){if(t===Zt)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,s=jt(t)?void 0:t._$litDirective$;return a?.constructor!==s&&(a?._$AO?.(!1),s===void 0?a=void 0:(a=new s(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=Ot(e,a._$AS(e,t.values),a,n)),t}var Io=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??Je).importNode(o,!0);Xe.currentNode=a;let s=Xe.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new _r(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new Uo(s,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(s=Xe.nextNode(),c++)}return Xe.currentNode=Je,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},_r=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Ot(this,t,o),jt(t)?t===H||t==null||t===""?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==Zt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):rl(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==H&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Je.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=qt.createElement(hi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let s=new Io(a,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=si.get(t.strings);return o===void 0&&si.set(t.strings,o=new qt(t)),o}k(t){Fo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let s of t)a===o.length?o.push(n=new e(this.O(wr()),this.O(wr()),this,this.options)):n=o[a],n._$AI(s),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t!==this._$AB;){let n=ti(t).nextSibling;ti(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},At=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,s){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(t,o=this,n,a){let s=this.strings,c=!1;if(s===void 0)t=Ot(this,t,o,0),c=!jt(t)||t!==this._$AH&&t!==Zt,c&&(this._$AH=t);else{let d=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=Ot(this,d[n+u],o,u),p===Zt&&(p=this._$AH[u]),c||=!jt(p)||p!==this._$AH[u],p===H?t=H:t!==H&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}c&&!a&&this.j(t)}j(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Po=class extends At{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===H?void 0:t}},Do=class extends At{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}},Mo=class extends At{constructor(t,o,n,a,s){super(t,o,n,a,s),this.type=5}_$AI(t,o=this){if((t=Ot(this,t,o,0)??H)===Zt)return;let n=this._$AH,a=t===H&&n!==H||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==H&&(n===H||a);a&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Uo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Ot(this,t)}};var nl=Bo.litHtmlPolyfillSupport;nl?.(qt,_r),(Bo.litHtmlVersions??=[]).push("3.3.3");var mi=Symbol.for(""),il=e=>{if(e?.r===mi)return e?._$litStatic$},Ho=e=>({_$litStatic$:e,r:mi});var yi=new Map,zo=e=>(t,...o)=>{let n=o.length,a,s,c=[],d=[],u,p=0,f=!1;for(;p<n;){for(u=t[p];p<n&&(s=o[p],(a=il(s))!==void 0);)u+=a+t[++p],f=!0;p!==n&&d.push(s),c.push(u),p++}if(p===n&&c.push(t[n]),f){let h=c.join("$$lit$$");(t=yi.get(h))===void 0&&(c.raw=c,yi.set(h,t=c)),o=d}return e(t,...o)},Go=zo(ui),Py=zo(pi),Dy=zo(fi);var Wo=g(te()),Ti=g(L());var Ae;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(Ae||(Ae={}));var de=g($()),m=g(L()),gi=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.titleFont),Ie=m.FtCssVariableFactory.extend("--ft-typography-font-family","",m.designSystemVariables.contentFont),S={fontFamily:Ie,fontSize:m.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:m.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:m.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:m.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:m.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:m.FtCssVariableFactory.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},Qe={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-font-family","",gi),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-font-size","",S.fontSize,"20px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",S.letterSpacing,"0.15px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-line-height","",S.lineHeight,"1.2"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",S.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-title-text-decoration","",S.textDecoration,"inherit")},et={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",gi),fontSize:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",S.letterSpacing,"0.105px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",S.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",S.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-title-dense-text-decoration","",S.textDecoration,"inherit")},tt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Ie),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",S.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",S.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",S.letterSpacing,"0.144px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",S.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",S.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-decoration","",S.textDecoration,"inherit")},rt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Ie),fontSize:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",S.letterSpacing,"0.098px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",S.lineHeight,"1.7"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",S.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-decoration","",S.textDecoration,"inherit")},ot={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Ie),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",S.fontSize,"16px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",S.letterSpacing,"0.496px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",S.lineHeight,"1.5"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",S.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-body1-text-decoration","",S.textDecoration,"inherit")},nt={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Ie),fontSize:m.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",S.letterSpacing,"0.252px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",S.lineHeight,"1.4"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",S.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-body2-text-decoration","",S.textDecoration,"inherit")},it={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Ie),fontSize:m.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",S.fontSize,"12px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",S.letterSpacing,"0.396px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",S.lineHeight,"1.33"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",S.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-caption-text-decoration","",S.textDecoration,"inherit")},at={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Ie),fontSize:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",S.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",S.letterSpacing,"0.33px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",S.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",S.textTransform,"inherit"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-decoration","",S.textDecoration,"inherit")},st={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Ie),fontSize:m.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",S.fontSize,"10px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",S.fontWeight,"normal"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",S.letterSpacing,"1.5px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",S.lineHeight,"1.6"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",S.textTransform,"uppercase"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-overline-text-decoration","",S.textDecoration,"inherit")},be={fontFamily:m.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Ie),fontSize:m.FtCssVariableFactory.extend("--ft-typography-button-font-size","",S.fontSize,"14px"),fontWeight:m.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",S.fontWeight,"600"),letterSpacing:m.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",S.letterSpacing,"1.246px"),lineHeight:m.FtCssVariableFactory.extend("--ft-typography-button-line-height","",S.lineHeight,"1.15"),textTransform:m.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",S.textTransform,"uppercase"),textDecoration:m.FtCssVariableFactory.extend("--ft-typography-button-text-decoration","",S.textDecoration,"inherit")},bi=de.css`
|
|
54
|
+
`}getTextContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.getTextContent();switch(this.variant){case ke.file_format:this.resolvedIcon=(t=h[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case ke.material:this.resolvedIcon=this.value||Ht.nothing;break;default:this.resolvedIcon=(r=xt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};Y.elementDefinitions={};Y.styles=Ui;Ft([(0,Me.property)()],Y.prototype,"variant",void 0);Ft([(0,Me.property)()],Y.prototype,"value",void 0);Ft([(0,Me.property)({reflect:!0,attribute:"aria-hidden"})],Y.prototype,"ariaHidden",void 0);Ft([(0,Me.state)()],Y.prototype,"resolvedIcon",void 0);Ft([(0,Me.query)("slot")],Y.prototype,"slottedContent",void 0);var ji=m(w());var Vi={"ft-icon":Y};(0,ji.customElements)(Vi);var Ln=globalThis,zi=e=>e,br=Ln.trustedTypes,Wi=br?br.createPolicy("lit-html",{createHTML:e=>e}):void 0,Zi="$lit$",Ie=`lit$${Math.random().toFixed(9).slice(2)}$`,Ji="?"+Ie,ql=`<${Ji}>`,Ge=document,Er=()=>Ge.createComment(""),jt=e=>e===null||typeof e!="object"&&typeof e!="function",Nn=Array.isArray,Yl=e=>Nn(e)||typeof e?.[Symbol.iterator]=="function",_n=`[
|
|
55
|
+
\f\r]`,Vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ki=/-->/g,Gi=/>/g,We=RegExp(`>|${_n}(?:([^\\s"'>=/]+)(${_n}*=${_n}*(?:[^
|
|
56
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),qi=/'/g,Yi=/"/g,Qi=/^(?:script|style|textarea|title)$/i,Pn=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),es=Pn(1),ts=Pn(2),rs=Pn(3),zt=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),Xi=new WeakMap,Ke=Ge.createTreeWalker(Ge,129);function ns(e,t){if(!Nn(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wi!==void 0?Wi.createHTML(t):t}var Xl=(e,t)=>{let r=e.length-1,n=[],i,s=t===2?"<svg>":t===3?"<math>":"",o=Vt;for(let a=0;a<r;a++){let l=e[a],c,u,d=-1,p=0;for(;p<l.length&&(o.lastIndex=p,u=o.exec(l),u!==null);)p=o.lastIndex,o===Vt?u[1]==="!--"?o=Ki:u[1]!==void 0?o=Gi:u[2]!==void 0?(Qi.test(u[2])&&(i=RegExp("</"+u[2],"g")),o=We):u[3]!==void 0&&(o=We):o===We?u[0]===">"?(o=i??Vt,d=-1):u[1]===void 0?d=-2:(d=o.lastIndex-u[2].length,c=u[1],o=u[3]===void 0?We:u[3]==='"'?Yi:qi):o===Yi||o===qi?o=We:o===Ki||o===Gi?o=Vt:(o=We,i=void 0);let y=o===We&&e[a+1].startsWith("/>")?" ":"";s+=o===Vt?l+ql:d>=0?(n.push(c),l.slice(0,d)+Zi+l.slice(d)+Ie+y):l+Ie+(d===-2?a:y)}return[ns(e,s+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Wt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let s=0,o=0,a=t.length-1,l=this.parts,[c,u]=Xl(t,r);if(this.el=e.createElement(c,n),Ke.currentNode=this.el.content,r===2||r===3){let d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(i=Ke.nextNode())!==null&&l.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(let d of i.getAttributeNames())if(d.endsWith(Zi)){let p=u[o++],y=i.getAttribute(d).split(Ie),v=/([.?@])?(.*)/.exec(p);l.push({type:1,index:s,name:v[2],strings:y,ctor:v[1]==="."?wn:v[1]==="?"?Tn:v[1]==="@"?On:bt}),i.removeAttribute(d)}else d.startsWith(Ie)&&(l.push({type:6,index:s}),i.removeAttribute(d));if(Qi.test(i.tagName)){let d=i.textContent.split(Ie),p=d.length-1;if(p>0){i.textContent=br?br.emptyScript:"";for(let y=0;y<p;y++)i.append(d[y],Er()),Ke.nextNode(),l.push({type:2,index:++s});i.append(d[p],Er())}}}else if(i.nodeType===8)if(i.data===Ji)l.push({type:2,index:s});else{let d=-1;for(;(d=i.data.indexOf(Ie,d+1))!==-1;)l.push({type:7,index:s}),d+=Ie.length-1}s++}}static createElement(t,r){let n=Ge.createElement("template");return n.innerHTML=t,n}};function vt(e,t,r=e,n){if(t===zt)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=jt(t)?void 0:t._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=vt(e,i._$AS(e,t.values),i,n)),t}var Cn=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??Ge).importNode(r,!0);Ke.currentNode=i;let s=Ke.nextNode(),o=0,a=0,l=n[0];for(;l!==void 0;){if(o===l.index){let c;l.type===2?c=new Ar(s,s.nextSibling,this,t):l.type===1?c=new l.ctor(s,l.name,l.strings,this,t):l.type===6&&(c=new Rn(s,this,t)),this._$AV.push(c),l=n[++a]}o!==l?.index&&(s=Ke.nextNode(),o++)}return Ke.currentNode=Ge,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Ar=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=vt(this,t,r),jt(t)?t===U||t==null||t===""?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==zt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Yl(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==U&&jt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ge.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Wt.createElement(ns(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new Cn(i,this),o=s.u(this.options);s.p(r),this.T(o),this._$AH=s}}_$AC(t){let r=Xi.get(t.strings);return r===void 0&&Xi.set(t.strings,r=new Wt(t)),r}k(t){Nn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of t)i===r.length?r.push(n=new e(this.O(Er()),this.O(Er()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t!==this._$AB;){let n=zi(t).nextSibling;zi(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},bt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,s){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=U}_$AI(t,r=this,n,i){let s=this.strings,o=!1;if(s===void 0)t=vt(this,t,r,0),o=!jt(t)||t!==this._$AH&&t!==zt,o&&(this._$AH=t);else{let a=t,l,c;for(t=s[0],l=0;l<s.length-1;l++)c=vt(this,a[n+l],r,l),c===zt&&(c=this._$AH[l]),o||=!jt(c)||c!==this._$AH[l],c===U?t=U:t!==U&&(t+=(c??"")+s[l+1]),this._$AH[l]=c}o&&!i&&this.j(t)}j(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},wn=class extends bt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===U?void 0:t}},Tn=class extends bt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==U)}},On=class extends bt{constructor(t,r,n,i,s){super(t,r,n,i,s),this.type=5}_$AI(t,r=this){if((t=vt(this,t,r,0)??U)===zt)return;let n=this._$AH,i=t===U&&n!==U||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==U&&(n===U||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Rn=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){vt(this,t)}};var Zl=Ln.litHtmlPolyfillSupport;Zl?.(Wt,Ar),(Ln.litHtmlVersions??=[]).push("3.3.3");var ss=Symbol.for(""),Jl=e=>{if(e?.r===ss)return e?._$litStatic$},Dn=e=>({_$litStatic$:e,r:ss});var is=new Map,kn=e=>(t,...r)=>{let n=r.length,i,s,o=[],a=[],l,c=0,u=!1;for(;c<n;){for(l=t[c];c<n&&(s=r[c],(i=Jl(s))!==void 0);)l+=i+t[++c],u=!0;c!==n&&a.push(s),o.push(l),c++}if(c===n&&o.push(t[n]),u){let d=o.join("$$lit$$");(t=is.get(d))===void 0&&(o.raw=o,is.set(d,t=o)),r=a}return e(t,...r)},Mn=kn(es),td=kn(ts),rd=kn(rs);var In=m(J()),vs=m(w());var Ae;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(Ae||(Ae={}));var ae=m(V()),f=m(w()),os=f.FtCssVariableFactory.extend("--ft-typography-font-family","",f.designSystemVariables.titleFont),Re=f.FtCssVariableFactory.extend("--ft-typography-font-family","",f.designSystemVariables.contentFont),g={fontFamily:Re,fontSize:f.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:f.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:f.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:f.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:f.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:f.FtCssVariableFactory.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},qe={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-title-font-family","",os),fontSize:f.FtCssVariableFactory.extend("--ft-typography-title-font-size","",g.fontSize,"20px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",g.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",g.letterSpacing,"0.15px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-title-line-height","",g.lineHeight,"1.2"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",g.textTransform,"inherit"),textDecoration:f.FtCssVariableFactory.extend("--ft-typography-title-text-decoration","",g.textDecoration,"inherit")},Ye={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",os),fontSize:f.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",g.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",g.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",g.letterSpacing,"0.105px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",g.lineHeight,"1.7"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",g.textTransform,"inherit"),textDecoration:f.FtCssVariableFactory.extend("--ft-typography-title-dense-text-decoration","",g.textDecoration,"inherit")},Xe={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Re),fontSize:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",g.fontSize,"16px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",g.fontWeight,"600"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",g.letterSpacing,"0.144px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",g.lineHeight,"1.5"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",g.textTransform,"inherit"),textDecoration:f.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-decoration","",g.textDecoration,"inherit")},Ze={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Re),fontSize:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",g.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",g.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",g.letterSpacing,"0.098px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",g.lineHeight,"1.7"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",g.textTransform,"inherit"),textDecoration:f.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-decoration","",g.textDecoration,"inherit")},Je={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Re),fontSize:f.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",g.fontSize,"16px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",g.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",g.letterSpacing,"0.496px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",g.lineHeight,"1.5"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",g.textTransform,"inherit"),textDecoration:f.FtCssVariableFactory.extend("--ft-typography-body1-text-decoration","",g.textDecoration,"inherit")},Qe={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Re),fontSize:f.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",g.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",g.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",g.letterSpacing,"0.252px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",g.lineHeight,"1.4"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",g.textTransform,"inherit"),textDecoration:f.FtCssVariableFactory.extend("--ft-typography-body2-text-decoration","",g.textDecoration,"inherit")},et={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Re),fontSize:f.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",g.fontSize,"12px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",g.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",g.letterSpacing,"0.396px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",g.lineHeight,"1.33"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",g.textTransform,"inherit"),textDecoration:f.FtCssVariableFactory.extend("--ft-typography-caption-text-decoration","",g.textDecoration,"inherit")},tt={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Re),fontSize:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",g.fontSize,"10px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",g.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",g.letterSpacing,"0.33px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",g.lineHeight,"1.6"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",g.textTransform,"inherit"),textDecoration:f.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-decoration","",g.textDecoration,"inherit")},rt={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Re),fontSize:f.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",g.fontSize,"10px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",g.fontWeight,"normal"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",g.letterSpacing,"1.5px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",g.lineHeight,"1.6"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",g.textTransform,"uppercase"),textDecoration:f.FtCssVariableFactory.extend("--ft-typography-overline-text-decoration","",g.textDecoration,"inherit")},me={fontFamily:f.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Re),fontSize:f.FtCssVariableFactory.extend("--ft-typography-button-font-size","",g.fontSize,"14px"),fontWeight:f.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",g.fontWeight,"600"),letterSpacing:f.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",g.letterSpacing,"1.246px"),lineHeight:f.FtCssVariableFactory.extend("--ft-typography-button-line-height","",g.lineHeight,"1.15"),textTransform:f.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",g.textTransform,"uppercase"),textDecoration:f.FtCssVariableFactory.extend("--ft-typography-button-text-decoration","",g.textDecoration,"inherit")},as=ae.css`
|
|
58
57
|
.ft-typography--title {
|
|
58
|
+
font-family: ${qe.fontFamily};
|
|
59
|
+
font-size: ${qe.fontSize};
|
|
60
|
+
font-weight: ${qe.fontWeight};
|
|
61
|
+
letter-spacing: ${qe.letterSpacing};
|
|
62
|
+
line-height: ${qe.lineHeight};
|
|
63
|
+
text-transform: ${qe.textTransform};
|
|
64
|
+
text-decoration: ${qe.textDecoration};
|
|
65
|
+
}
|
|
66
|
+
`,ls=ae.css`
|
|
67
|
+
.ft-typography--title-dense {
|
|
68
|
+
font-family: ${Ye.fontFamily};
|
|
69
|
+
font-size: ${Ye.fontSize};
|
|
70
|
+
font-weight: ${Ye.fontWeight};
|
|
71
|
+
letter-spacing: ${Ye.letterSpacing};
|
|
72
|
+
line-height: ${Ye.lineHeight};
|
|
73
|
+
text-transform: ${Ye.textTransform};
|
|
74
|
+
text-decoration: ${Ye.textDecoration};
|
|
75
|
+
}
|
|
76
|
+
`,cs=ae.css`
|
|
77
|
+
.ft-typography--subtitle1 {
|
|
78
|
+
font-family: ${Xe.fontFamily};
|
|
79
|
+
font-size: ${Xe.fontSize};
|
|
80
|
+
font-weight: ${Xe.fontWeight};
|
|
81
|
+
letter-spacing: ${Xe.letterSpacing};
|
|
82
|
+
line-height: ${Xe.lineHeight};
|
|
83
|
+
text-transform: ${Xe.textTransform};
|
|
84
|
+
text-decoration: ${Xe.textDecoration};
|
|
85
|
+
}
|
|
86
|
+
`,us=ae.css`
|
|
87
|
+
.ft-typography--subtitle2 {
|
|
88
|
+
font-family: ${Ze.fontFamily};
|
|
89
|
+
font-size: ${Ze.fontSize};
|
|
90
|
+
font-weight: ${Ze.fontWeight};
|
|
91
|
+
letter-spacing: ${Ze.letterSpacing};
|
|
92
|
+
line-height: ${Ze.lineHeight};
|
|
93
|
+
text-transform: ${Ze.textTransform};
|
|
94
|
+
text-decoration: ${Ze.textDecoration};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
`,ds=ae.css`
|
|
98
|
+
.ft-typography--body1 {
|
|
99
|
+
font-family: ${Je.fontFamily};
|
|
100
|
+
font-size: ${Je.fontSize};
|
|
101
|
+
font-weight: ${Je.fontWeight};
|
|
102
|
+
letter-spacing: ${Je.letterSpacing};
|
|
103
|
+
line-height: ${Je.lineHeight};
|
|
104
|
+
text-transform: ${Je.textTransform};
|
|
105
|
+
text-decoration: ${Je.textDecoration};
|
|
106
|
+
}
|
|
107
|
+
`,ps=ae.css`
|
|
108
|
+
.ft-typography--body2 {
|
|
59
109
|
font-family: ${Qe.fontFamily};
|
|
60
110
|
font-size: ${Qe.fontSize};
|
|
61
111
|
font-weight: ${Qe.fontWeight};
|
|
@@ -64,8 +114,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
64
114
|
text-transform: ${Qe.textTransform};
|
|
65
115
|
text-decoration: ${Qe.textDecoration};
|
|
66
116
|
}
|
|
67
|
-
`,
|
|
68
|
-
.ft-typography--
|
|
117
|
+
`,fs=ae.css`
|
|
118
|
+
.ft-typography--caption {
|
|
69
119
|
font-family: ${et.fontFamily};
|
|
70
120
|
font-size: ${et.fontSize};
|
|
71
121
|
font-weight: ${et.fontWeight};
|
|
@@ -74,8 +124,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
74
124
|
text-transform: ${et.textTransform};
|
|
75
125
|
text-decoration: ${et.textDecoration};
|
|
76
126
|
}
|
|
77
|
-
`,
|
|
78
|
-
.ft-typography--
|
|
127
|
+
`,hs=ae.css`
|
|
128
|
+
.ft-typography--breadcrumb {
|
|
79
129
|
font-family: ${tt.fontFamily};
|
|
80
130
|
font-size: ${tt.fontSize};
|
|
81
131
|
font-weight: ${tt.fontWeight};
|
|
@@ -84,8 +134,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
84
134
|
text-transform: ${tt.textTransform};
|
|
85
135
|
text-decoration: ${tt.textDecoration};
|
|
86
136
|
}
|
|
87
|
-
`,
|
|
88
|
-
.ft-typography--
|
|
137
|
+
`,ms=ae.css`
|
|
138
|
+
.ft-typography--overline {
|
|
89
139
|
font-family: ${rt.fontFamily};
|
|
90
140
|
font-size: ${rt.fontSize};
|
|
91
141
|
font-weight: ${rt.fontWeight};
|
|
@@ -94,88 +144,37 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
94
144
|
text-transform: ${rt.textTransform};
|
|
95
145
|
text-decoration: ${rt.textDecoration};
|
|
96
146
|
}
|
|
97
|
-
|
|
98
|
-
`,Ci=de.css`
|
|
99
|
-
.ft-typography--body1 {
|
|
100
|
-
font-family: ${ot.fontFamily};
|
|
101
|
-
font-size: ${ot.fontSize};
|
|
102
|
-
font-weight: ${ot.fontWeight};
|
|
103
|
-
letter-spacing: ${ot.letterSpacing};
|
|
104
|
-
line-height: ${ot.lineHeight};
|
|
105
|
-
text-transform: ${ot.textTransform};
|
|
106
|
-
text-decoration: ${ot.textDecoration};
|
|
107
|
-
}
|
|
108
|
-
`,Ei=de.css`
|
|
109
|
-
.ft-typography--body2 {
|
|
110
|
-
font-family: ${nt.fontFamily};
|
|
111
|
-
font-size: ${nt.fontSize};
|
|
112
|
-
font-weight: ${nt.fontWeight};
|
|
113
|
-
letter-spacing: ${nt.letterSpacing};
|
|
114
|
-
line-height: ${nt.lineHeight};
|
|
115
|
-
text-transform: ${nt.textTransform};
|
|
116
|
-
text-decoration: ${nt.textDecoration};
|
|
117
|
-
}
|
|
118
|
-
`,Oi=de.css`
|
|
119
|
-
.ft-typography--caption {
|
|
120
|
-
font-family: ${it.fontFamily};
|
|
121
|
-
font-size: ${it.fontSize};
|
|
122
|
-
font-weight: ${it.fontWeight};
|
|
123
|
-
letter-spacing: ${it.letterSpacing};
|
|
124
|
-
line-height: ${it.lineHeight};
|
|
125
|
-
text-transform: ${it.textTransform};
|
|
126
|
-
text-decoration: ${it.textDecoration};
|
|
127
|
-
}
|
|
128
|
-
`,Ai=de.css`
|
|
129
|
-
.ft-typography--breadcrumb {
|
|
130
|
-
font-family: ${at.fontFamily};
|
|
131
|
-
font-size: ${at.fontSize};
|
|
132
|
-
font-weight: ${at.fontWeight};
|
|
133
|
-
letter-spacing: ${at.letterSpacing};
|
|
134
|
-
line-height: ${at.lineHeight};
|
|
135
|
-
text-transform: ${at.textTransform};
|
|
136
|
-
text-decoration: ${at.textDecoration};
|
|
137
|
-
}
|
|
138
|
-
`,wi=de.css`
|
|
139
|
-
.ft-typography--overline {
|
|
140
|
-
font-family: ${st.fontFamily};
|
|
141
|
-
font-size: ${st.fontSize};
|
|
142
|
-
font-weight: ${st.fontWeight};
|
|
143
|
-
letter-spacing: ${st.letterSpacing};
|
|
144
|
-
line-height: ${st.lineHeight};
|
|
145
|
-
text-transform: ${st.textTransform};
|
|
146
|
-
text-decoration: ${st.textDecoration};
|
|
147
|
-
}
|
|
148
|
-
`,_i=de.css`
|
|
147
|
+
`,ys=ae.css`
|
|
149
148
|
.ft-typography--button {
|
|
150
|
-
font-family: ${
|
|
151
|
-
font-size: ${
|
|
152
|
-
font-weight: ${
|
|
153
|
-
letter-spacing: ${
|
|
154
|
-
line-height: ${
|
|
155
|
-
text-transform: ${
|
|
156
|
-
text-decoration: ${
|
|
157
|
-
}
|
|
158
|
-
`,
|
|
149
|
+
font-family: ${me.fontFamily};
|
|
150
|
+
font-size: ${me.fontSize};
|
|
151
|
+
font-weight: ${me.fontWeight};
|
|
152
|
+
letter-spacing: ${me.letterSpacing};
|
|
153
|
+
line-height: ${me.lineHeight};
|
|
154
|
+
text-transform: ${me.textTransform};
|
|
155
|
+
text-decoration: ${me.textDecoration};
|
|
156
|
+
}
|
|
157
|
+
`,gs=ae.css`
|
|
159
158
|
.ft-typography {
|
|
160
159
|
vertical-align: inherit;
|
|
161
160
|
}
|
|
162
|
-
`;var
|
|
163
|
-
<${
|
|
161
|
+
`;var xs=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},re=class extends vs.FtLitElement{constructor(){super(...arguments),this.variant=Ae.body1}render(){return this.element?Mn`
|
|
162
|
+
<${Dn(this.element)}
|
|
164
163
|
part="text"
|
|
165
164
|
class="ft-typography ft-typography--${this.variant}">
|
|
166
165
|
<slot></slot>
|
|
167
|
-
</${
|
|
168
|
-
`:
|
|
166
|
+
</${Dn(this.element)}>
|
|
167
|
+
`:Mn`
|
|
169
168
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
170
|
-
`}};ie.styles=[bi,xi,Si,vi,Ci,Ei,Oi,Ai,wi,_i,Ri];Li([(0,Wo.property)()],ie.prototype,"element",void 0);Li([(0,Wo.property)()],ie.prototype,"variant",void 0);var Ni=g(L());var ki={"ft-typography":ie};(0,Ni.customElements)(ki);var fn=g(te());var Ii=g(te(),1);var Vo=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)},al=e=>({fromAttribute:t=>{if(t==null)return Yt(e);try{return JSON.parse(t)}catch{return Yt(e)}},toAttribute:t=>JSON.stringify(t)});function Pi(e,t){return(0,Ii.property)({type:Object,converter:al(e),hasChanged:Xt,...t??{}})}function sl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!wt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!wt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let a=c=>Object.keys(c).filter(d=>c[d]!=null),s=a(e);if(o=s.length,o!==a(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[n]))return!1;for(n=o;n--!==0;){let c=s[n];if(!wt(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function wt(e,t){try{return sl(e,t)}catch{return!1}}function Xt(e,t){return!wt(e,t)}function Yt(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Rr(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let a=t(n);return a[e]=!0,a}}var Di=g(te(),1);var Ko=e=>{let t=e??{};return(o,n)=>{var a;let s={hasChanged:Xt,attribute:!1,...t};(0,Di.property)(s)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:(d=>d[n]),store:t.store})}};var Lr=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};var ct=g(te(),1);var Tr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),s=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Nr=g($(),1);var kr=class extends Nr.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return(0,Nr.adoptStyles)(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){Vo(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};function Mi(e,t,...o){var n;let a=e.querySelector(t);for(let s of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return a}var Rt=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},$i,Ui=Symbol("constructorPrototype"),Bi=Symbol("constructorName"),Hi=Symbol("exportpartsDebouncer"),Fi=Symbol("dynamicDependenciesLoaded"),_t=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};_t.eventName="exportparts-updated";var we=class extends kr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[$i]=new Tr(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Hi].run(()=>{var a,s;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Bi]=this.constructor.name,this[Ui]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bi]&&Object.setPrototypeOf(this,this[Ui])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[Fi]||(o[Fi]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(_t.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(_t.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new _t)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let s=[...a??[],n];o=Mi(this.shadowRoot,...s)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){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(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var o,n,a,s,c,d;let u=y=>y!=null&&y.trim().length>0,p=t.filter(u).map(y=>y.trim());if(p.length===0){this.exportparts=void 0;return}let f=new Set;for(let y of(s=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let x=(c=(n=y.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&c!==void 0?c:[],C=(d=(a=y.getAttribute("exportparts"))===null||a===void 0?void 0:a.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[],A=[...x,...C].filter(u).map(v=>v.trim());for(let v of A)f.add(v)}if(f.size===0){this.exportparts=void 0;return}let h=[...f.values()].flatMap(y=>p.map(x=>`${y}:${x}--${y}`));this.exportparts=[...this.part,...h].join(", ")}};$i=Hi;Rt([(0,ct.property)()],we.prototype,"exportpartsPrefix",void 0);Rt([Pi([])],we.prototype,"exportpartsPrefixes",void 0);Rt([(0,ct.property)({reflect:!0})],we.prototype,"exportparts",void 0);Rt([(0,ct.property)()],we.prototype,"customStylesheet",void 0);Rt([(0,ct.property)()],we.prototype,"elementToFocus",void 0);Rt([(0,ct.state)()],we.prototype,"useAdoptedStyleSheets",void 0);function Ir(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Jt=Symbol("internalReduxEventsUnsubscribers"),ze=Symbol("internalStoresUnsubscribers"),lt=Symbol("internalStores"),cl=Rr(Symbol("withRedux"),function(e){var t,o,n;class a extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(c){super.willUpdate(c),[...this.reduxConstructor.reduxReactiveProperties].some(d=>c.has(d))&&this.updateFromStores()}getUnnamedStore(){if(this[lt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[lt].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[lt].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[lt].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[lt].delete(d)}setupStores(){this.unsubscribeFromStores(),this[lt].forEach((c,d)=>this.subscribeToStore(d,c)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((c,d)=>{let u=this.constructor.getPropertyOptions(d);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:d)){let p=this.getStore(c.store);p&&(c.store?this[ze].has(c.store):this[ze].size>0)&&(this[d]=c.selector(p.getState(),this))}})}subscribeToStore(c,d){var u,p;this[ze].set(c,d.subscribe(()=>this.updateFromStores())),this[Jt].set(c,[]),Ir(d)&&(!((u=d.deprecatedKeys)===null||u===void 0)&&u.length&&this.reduxConstructor.reduxProperties.forEach((f,h)=>{this.getStore(f.store)===d&&d.deprecatedKeys.includes(h)&&console.warn("Element",this,"is subscribed to deprecated key",h,"in store",d.name)}),d.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((f,h)=>{if(typeof this[h]=="function"&&(!f.store||d.name===f.store)){let y=x=>this[h](x);d.addEventListener(f.eventName,y),this[Jt].get(c).push(()=>d.removeEventListener(f.eventName,y))}}))),this.onStoreAvailable(c)}unsubscribeFromStores(){this[ze].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[ze].has(c)&&this[ze].get(c)(),this[ze].delete(c),(d=this[Jt].get(c))===null||d===void 0||d.forEach(u=>u()),this[Jt].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=ze,o=lt,n=Jt,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),zi=class extends cl(we){};function Z(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var ll=typeof Symbol=="function"&&Symbol.observable||"@@observable",Gi=ll,jo=()=>Math.random().toString(36).substring(7).split("").join("."),dl={INIT:`@@redux/INIT${jo()}`,REPLACE:`@@redux/REPLACE${jo()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${jo()}`},Pr=dl;function Dr(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Zo(e,t,o){if(typeof e!="function")throw new Error(Z(2));if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(Z(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(Z(1));return o(Zo)(e,t)}let n=e,a=t,s=new Map,c=s,d=0,u=!1;function p(){c===s&&(c=new Map,s.forEach((v,_)=>{c.set(_,v)}))}function f(){if(u)throw new Error(Z(3));return a}function h(v){if(typeof v!="function")throw new Error(Z(4));if(u)throw new Error(Z(5));let _=!0;p();let I=d++;return c.set(I,v),function(){if(_){if(u)throw new Error(Z(6));_=!1,p(),c.delete(I),s=null}}}function y(v){if(!Dr(v))throw new Error(Z(7));if(typeof v.type>"u")throw new Error(Z(8));if(typeof v.type!="string")throw new Error(Z(17));if(u)throw new Error(Z(9));try{u=!0,a=n(a,v)}finally{u=!1}return(s=c).forEach(I=>{I()}),v}function x(v){if(typeof v!="function")throw new Error(Z(10));n=v,y({type:Pr.REPLACE})}function C(){let v=h;return{subscribe(_){if(typeof _!="object"||_===null)throw new Error(Z(11));function I(){let O=_;O.next&&O.next(f())}return I(),{unsubscribe:v(I)}},[Gi](){return this}}}return y({type:Pr.INIT}),{dispatch:y,subscribe:h,getState:f,replaceReducer:x,[Gi]:C}}function ul(e){Object.keys(e).forEach(t=>{let o=e[t];if(typeof o(void 0,{type:Pr.INIT})>"u")throw new Error(Z(12));if(typeof o(void 0,{type:Pr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Z(13))})}function qo(e){let t=Object.keys(e),o={};for(let c=0;c<t.length;c++){let d=t[c];typeof e[d]=="function"&&(o[d]=e[d])}let n=Object.keys(o),a,s;try{ul(o)}catch(c){s=c}return function(d={},u){if(s)throw s;let p=!1,f={};for(let h=0;h<n.length;h++){let y=n[h],x=o[y],C=d[y],A=x(C,u);if(typeof A>"u"){let v=u&&u.type;throw new Error(Z(14))}f[y]=A,p=p||A!==C}return p=p||n.length!==Object.keys(d).length,p?f:d}}function Qt(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,o)=>(...n)=>t(o(...n)))}function Wi(...e){return t=>(o,n)=>{let a=t(o,n),s=()=>{throw new Error(Z(15))},c={getState:a.getState,dispatch:(u,...p)=>s(u,...p)},d=e.map(u=>u(c));return s=Qt(...d)(a.dispatch),{...a,dispatch:s}}}function Vi(e){return Dr(e)&&"type"in e&&typeof e.type=="string"}var ea=Symbol.for("immer-nothing"),Ki=Symbol.for("immer-draftable"),X=Symbol.for("immer-state");function xe(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ae=Object,Tt=ae.getPrototypeOf,Fr="constructor",Vr="prototype",Qo="configurable",$r="enumerable",Ur="writable",er="value",_e=e=>!!e&&!!e[X];function se(e){return e?ta(e)||jr(e)||!!e[Ki]||!!e[Fr]?.[Ki]||Zr(e)||nr(e):!1}var pl=ae[Vr][Fr].toString(),ji=new WeakMap;function ta(e){if(!e||!cn(e))return!1;let t=Tt(e);if(t===null||t===ae[Vr])return!0;let o=ae.hasOwnProperty.call(t,Fr)&&t[Fr];if(o===Object)return!0;if(!Lt(o))return!1;let n=ji.get(o);return n===void 0&&(n=Function.toString.call(o),ji.set(o,n)),n===pl}function Kr(e,t,o=!0){or(e)===0?(o?Reflect.ownKeys(e):ae.keys(e)).forEach(a=>{t(a,e[a],e)}):e.forEach((n,a)=>t(a,n,e))}function or(e){let t=e[X];return t?t.type_:jr(e)?1:Zr(e)?2:nr(e)?3:0}var Yo=(e,t,o=or(e))=>o===2?e.has(t):ae[Vr].hasOwnProperty.call(e,t),en=(e,t,o=or(e))=>o===2?e.get(t):e[t],Hr=(e,t,o,n=or(e))=>{n===2?e.set(t,o):n===3?e.add(o):e[t]=o};function fl(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var jr=Array.isArray,Zr=e=>e instanceof Map,nr=e=>e instanceof Set,cn=e=>typeof e=="object",Lt=e=>typeof e=="function",Xo=e=>typeof e=="boolean";function hl(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Pe=e=>e.copy_||e.base_;var ln=e=>e.modified_?e.copy_:e.base_;function tn(e,t){if(Zr(e))return new Map(e);if(nr(e))return new Set(e);if(jr(e))return Array[Vr].slice.call(e);let o=ta(e);if(t===!0||t==="class_only"&&!o){let n=ae.getOwnPropertyDescriptors(e);delete n[X];let a=Reflect.ownKeys(n);for(let s=0;s<a.length;s++){let c=a[s],d=n[c];d[Ur]===!1&&(d[Ur]=!0,d[Qo]=!0),(d.get||d.set)&&(n[c]={[Qo]:!0,[Ur]:!0,[$r]:d[$r],[er]:e[c]})}return ae.create(Tt(e),n)}else{let n=Tt(e);if(n!==null&&o)return{...e};let a=ae.create(n);return ae.assign(a,e)}}function qr(e,t=!1){return Yr(e)||_e(e)||!se(e)||(or(e)>1&&ae.defineProperties(e,{set:Mr,add:Mr,clear:Mr,delete:Mr}),ae.freeze(e),t&&Kr(e,(o,n)=>{qr(n,!0)},!1)),e}function yl(){xe(2)}var Mr={[er]:yl};function Yr(e){return e===null||!cn(e)?!0:ae.isFrozen(e)}var zr="MapSet",rn="Patches",Zi="ArrayMethods",ra={};function dt(e){let t=ra[e];return t||xe(0,e),t}var qi=e=>!!ra[e];var tr,oa=()=>tr,ml=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:qi(zr)?dt(zr):void 0,arrayMethodsPlugin_:qi(Zi)?dt(Zi):void 0});function Yi(e,t){t&&(e.patchPlugin_=dt(rn),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function on(e){nn(e),e.drafts_.forEach(gl),e.drafts_=null}function nn(e){e===tr&&(tr=e.parent_)}var Xi=e=>tr=ml(tr,e);function gl(e){let t=e[X];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Ji(e,t){t.unfinalizedDrafts_=t.drafts_.length;let o=t.drafts_[0];if(e!==void 0&&e!==o){o[X].modified_&&(on(t),xe(4)),se(e)&&(e=Qi(t,e));let{patchPlugin_:a}=t;a&&a.generateReplacementPatches_(o[X].base_,e,t)}else e=Qi(t,o);return bl(t,e,!0),on(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ea?e:void 0}function Qi(e,t){if(Yr(t))return t;let o=t[X];if(!o)return Gr(t,e.handledSet_,e);if(!Xr(o,e))return t;if(!o.modified_)return o.base_;if(!o.finalized_){let{callbacks_:n}=o;if(n)for(;n.length>0;)n.pop()(e);aa(o,e)}return o.copy_}function bl(e,t,o=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&qr(t,o)}function na(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Xr=(e,t)=>e.scope_===t,xl=[];function ia(e,t,o,n){let a=Pe(e),s=e.type_;if(n!==void 0&&en(a,n,s)===t){Hr(a,n,o,s);return}if(!e.draftLocations_){let d=e.draftLocations_=new Map;Kr(a,(u,p)=>{if(_e(p)){let f=d.get(p)||[];f.push(u),d.set(p,f)}})}let c=e.draftLocations_.get(t)??xl;for(let d of c)Hr(a,d,o,s)}function Sl(e,t,o){e.callbacks_.push(function(a){let s=t;if(!s||!Xr(s,a))return;a.mapSetPlugin_?.fixSetContents(s);let c=ln(s);ia(e,s.draft_??s,c,o),aa(s,a)})}function aa(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let a=n.getPath(e);a&&n.generatePatches_(e,a,t)}na(e)}}function vl(e,t,o){let{scope_:n}=e;if(_e(o)){let a=o[X];Xr(a,n)&&a.callbacks_.push(function(){Br(e);let c=ln(a);ia(e,o,c,t)})}else se(o)&&e.callbacks_.push(function(){let s=Pe(e);e.type_===3?s.has(o)&&Gr(o,n.handledSet_,n):en(s,t,e.type_)===o&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Gr(en(e.copy_,t,e.type_),n.handledSet_,n)})}function Gr(e,t,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||_e(e)||t.has(e)||!se(e)||Yr(e)||(t.add(e),Kr(e,(n,a)=>{if(_e(a)){let s=a[X];if(Xr(s,o)){let c=ln(s);Hr(e,n,c,e.type_),na(s)}}else se(a)&&Gr(a,t,o)})),e}function Cl(e,t){let o=jr(e),n={type_:o?1:0,scope_:t?t.scope_:oa(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},a=n,s=Wr;o&&(a=[n],s=rr);let{revoke:c,proxy:d}=Proxy.revocable(a,s);return n.draft_=d,n.revoke_=c,[d,n]}var Wr={get(e,t){if(t===X)return e;let o=e.scope_.arrayMethodsPlugin_,n=e.type_===1&&typeof t=="string";if(n&&o?.isArrayOperationMethod(t))return o.createMethodInterceptor(e,t);let a=Pe(e);if(!Yo(a,t,e.type_))return Ol(e,a,t);let s=a[t];if(e.finalized_||!se(s)||n&&e.operationMethod&&o?.isMutatingArrayMethod(e.operationMethod)&&hl(t))return s;if(s===Jo(e.base_,t)||El(e,t,s)){Br(e);let c=e.type_===1?+t:t,d=sn(e.scope_,s,e,c);return e.copy_[c]=d}return s},has(e,t){return t in Pe(e)},ownKeys(e){return Reflect.ownKeys(Pe(e))},set(e,t,o){let n=sa(Pe(e),t);if(n?.set)return n.set.call(e.draft_,o),!0;if(!e.modified_){let a=Jo(Pe(e),t),s=a?.[X];if(s&&s.base_===o)return e.copy_[t]=o,e.assigned_.delete(t),!0;if(fl(o,a)&&(o!==void 0||Yo(e.base_,t,e.type_)))return!0;Br(e),an(e)}return e.copy_[t]===o&&(o!==void 0||Yo(e.copy_,t,e.type_))||Number.isNaN(o)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=o,e.assigned_.set(t,!0),vl(e,t,o)),!0},deleteProperty(e,t){return Br(e),Jo(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),an(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let o=Pe(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{[Ur]:!0,[Qo]:e.type_!==1||t!=="length",[$r]:n[$r],[er]:o[t]}},defineProperty(){xe(11)},getPrototypeOf(e){return Tt(e.base_)},setPrototypeOf(){xe(12)}},rr={};for(let e in Wr){let t=Wr[e];rr[e]=function(){let o=arguments;return o[0]=o[0][0],t.apply(this,o)}}rr.deleteProperty=function(e,t){return rr.set.call(this,e,t,void 0)};rr.set=function(e,t,o){return Wr.set.call(this,e[0],t,o,e[0])};function Jo(e,t){let o=e[X];return(o?Pe(o):e)[t]}function El(e,t,o){return e.type_!==1||!e.allIndicesReassigned_||!se(o)||o[X]?!1:e.baseRefs_.has(o)}function Ol(e,t,o){let n=sa(t,o);return n?er in n?n[er]:n.get?.call(e.draft_):void 0}function sa(e,t){if(!(t in e))return;let o=Tt(e);for(;o;){let n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Tt(o)}}function an(e){e.modified_||(e.modified_=!0,e.parent_&&an(e.parent_))}function Br(e){e.copy_||(e.assigned_=new Map,e.copy_=tn(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Al=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,o,n)=>{if(Lt(t)&&!Lt(o)){let s=o;o=t;let c=this;return function(u=s,...p){return c.produce(u,f=>o.call(this,f,...p))}}Lt(o)||xe(6),n!==void 0&&!Lt(n)&&xe(7);let a;if(se(t)){let s=Xi(this),c=sn(s,t,void 0),d=!0;try{a=o(c),d=!1}finally{d?on(s):nn(s)}return Yi(s,n),Ji(a,s)}else if(!t||!cn(t)){if(a=o(t),a===void 0&&(a=t),a===ea&&(a=void 0),this.autoFreeze_&&qr(a,!0),n){let s=[],c=[];dt(rn).generateReplacementPatches_(t,a,{patches_:s,inversePatches_:c}),n(s,c)}return a}else xe(1,t)},this.produceWithPatches=(t,o)=>{if(Lt(t))return(c,...d)=>this.produceWithPatches(c,u=>t(u,...d));let n,a;return[this.produce(t,o,(c,d)=>{n=c,a=d}),n,a]},Xo(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Xo(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Xo(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){se(e)||xe(8),_e(e)&&(e=ca(e));let t=Xi(this),o=sn(t,e,void 0);return o[X].isManual_=!0,nn(t),o}finishDraft(e,t){let o=e&&e[X];(!o||!o.isManual_)&&xe(9);let{scope_:n}=o;return Yi(n,t),Ji(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let o;for(o=t.length-1;o>=0;o--){let a=t[o];if(a.path.length===0&&a.op==="replace"){e=a.value;break}}o>-1&&(t=t.slice(o+1));let n=dt(rn).applyPatches_;return _e(e)?n(e,t):this.produce(e,a=>n(a,t))}};function sn(e,t,o,n){let[a,s]=Zr(t)?dt(zr).proxyMap_(t,o):nr(t)?dt(zr).proxySet_(t,o):Cl(t,o);return(o?.scope_??oa()).drafts_.push(a),s.callbacks_=o?.callbacks_??[],s.key_=n,o&&n!==void 0?Sl(o,s,n):s.callbacks_.push(function(u){u.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:p}=u;s.modified_&&p&&p.generatePatches_(s,[],u)}),a}function ca(e){return _e(e)||xe(10,e),la(e)}function la(e){if(!se(e)||Yr(e))return e;let t=e[X],o,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,o=tn(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else o=tn(e,!0);let a=o;return nr(o)&&(o=new Set),Kr(a,(s,c)=>{Hr(o,s,la(c))},n),t&&(t.finalized_=!1),o}var wl=globalThis.Iterator,Cm=typeof wl?.from=="function";var _l=new Al,dn=_l.produce;function da(e){return({dispatch:o,getState:n})=>a=>s=>typeof s=="function"?s(o,n,e):a(s)}var ua=da(),pa=da;var Rl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qt:Qt.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var Ll=e=>e&&typeof e.match=="function";function Ge(e,t){function o(...n){if(t){let a=t(...n);if(!a)throw new Error(Re(0));return{type:e,payload:a.payload,..."meta"in a&&{meta:a.meta},..."error"in a&&{error:a.error}}}return{type:e,payload:n[0]}}return o.toString=()=>`${e}`,o.type=e,o.match=n=>Vi(n)&&n.type===e,o}var ga=class ir extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,ir.prototype)}static get[Symbol.species](){return ir}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new ir(...t[0].concat(this)):new ir(...t.concat(this))}};function fa(e){return se(e)?dn(e,()=>{}):e}function Jr(e,t,o){return e.has(t)?e.get(t):e.set(t,o(t)).get(t)}function Tl(e){return typeof e=="boolean"}var kl=()=>function(t){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:a=!0,actionCreatorCheck:s=!0}=t??{},c=new ga;return o&&(Tl(o)?c.push(ua):c.push(pa(o.extraArgument))),c},Nl="RTK_autoBatch";var ha=e=>t=>{setTimeout(t,e)},Il=(e,t)=>o=>{let n=!1,a,s,c=()=>{n||(n=!0,cancelAnimationFrame(a),clearTimeout(s),o())};a=e(c),s=setTimeout(c,t)},Pl=(e={type:"raf"})=>t=>(...o)=>{let n=t(...o),a=!0,s=!1,c=!1,d=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Il(window.requestAnimationFrame,100):ha(10):e.type==="callback"?e.queueNotification:ha(e.timeout),p=()=>{c=!1,s&&(s=!1,d.forEach(f=>f()))};return Object.assign({},n,{subscribe(f){let h=()=>a&&f(),y=n.subscribe(h);return d.add(f),()=>{y(),d.delete(f)}},dispatch(f){try{return a=!f?.meta?.[Nl],s=!a,s&&(c||(c=!0,u(p))),n.dispatch(f)}finally{a=!0}}})},Dl=e=>function(o){let{autoBatch:n=!0}=o??{},a=new ga(e);return n&&a.push(Pl(typeof n=="object"?n:void 0)),a};function ba(e){let t=kl(),{reducer:o=void 0,middleware:n,devTools:a=!0,duplicateMiddlewareCheck:s=!0,preloadedState:c=void 0,enhancers:d=void 0}=e||{},u;if(typeof o=="function")u=o;else if(Dr(o))u=qo(o);else throw new Error(Re(1));let p;typeof n=="function"?p=n(t):p=t();let f=Qt;a&&(f=Rl({trace:!1,...typeof a=="object"&&a}));let h=Wi(...p),y=Dl(h),x=typeof d=="function"?d(y):y(),C=f(...x);return Zo(u,c,C)}function xa(e){let t={},o=[],n,a={addCase(s,c){let d=typeof s=="string"?s:s.type;if(!d)throw new Error(Re(28));if(d in t)throw new Error(Re(29));return t[d]=c,a},addAsyncThunk(s,c){return c.pending&&(t[s.pending.type]=c.pending),c.rejected&&(t[s.rejected.type]=c.rejected),c.fulfilled&&(t[s.fulfilled.type]=c.fulfilled),c.settled&&o.push({matcher:s.settled,reducer:c.settled}),a},addMatcher(s,c){return o.push({matcher:s,reducer:c}),a},addDefaultCase(s){return n=s,a}};return e(a),[t,o,n]}function Ml(e){return typeof e=="function"}function Ul(e,t){let[o,n,a]=xa(t),s;if(Ml(e))s=()=>fa(e());else{let d=fa(e);s=()=>d}function c(d=s(),u){let p=[o[u.type],...n.filter(({matcher:f})=>f(u)).map(({reducer:f})=>f)];return p.filter(f=>!!f).length===0&&(p=[a]),p.reduce((f,h)=>{if(h)if(_e(f)){let y=h(f,u);return y===void 0?f:y}else{if(se(f))return dn(f,y=>h(y,u));{let y=h(f,u);if(y===void 0){if(f===null)return f;throw new Error(Re(9))}return y}}return f},d)}return c.getInitialState=s,c}var Bl=(e,t)=>Ll(e)?e.match(t):e(t);function Fl(...e){return t=>e.some(o=>Bl(o,t))}var $l="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Hl=(e=21)=>{let t="",o=e;for(;o--;)t+=$l[Math.random()*64|0];return t},zl=["name","message","stack","code"],un=class{payload;meta;_type;constructor(e,t){this.payload=e,this.meta=t}},ya=class{payload;meta;_type;constructor(e,t){this.payload=e,this.meta=t}},Gl=e=>{if(typeof e=="object"&&e!==null){let t={};for(let o of zl)typeof e[o]=="string"&&(t[o]=e[o]);return t}return{message:String(e)}},ma="External signal was aborted",Wl=(()=>{function e(t,o,n){let a=Ge(t+"/fulfilled",(u,p,f,h)=>({payload:u,meta:{...h||{},arg:f,requestId:p,requestStatus:"fulfilled"}})),s=Ge(t+"/pending",(u,p,f)=>({payload:void 0,meta:{...f||{},arg:p,requestId:u,requestStatus:"pending"}})),c=Ge(t+"/rejected",(u,p,f,h,y)=>({payload:h,error:(n&&n.serializeError||Gl)(u||"Rejected"),meta:{...y||{},arg:f,requestId:p,rejectedWithValue:h!==void 0,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"}}));function d(u,{signal:p}={}){return(f,h,y)=>{let x=n?.idGenerator?n.idGenerator(u):Hl(),C=new AbortController,A,v;function _(E){v=E,C.abort()}p&&(p.aborted?_(ma):p.addEventListener("abort",()=>_(ma),{once:!0}));let I=(async function(){let E;try{let O=n?.condition?.(u,{getState:h,extra:y});if(Kl(O)&&(O=await O),O===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(C.signal.aborted)throw{name:"AbortError",message:v||"Aborted"};let D=new Promise((k,V)=>{A=()=>{V({name:"AbortError",message:v||"Aborted"})},C.signal.addEventListener("abort",A,{once:!0})});f(s(x,u,n?.getPendingMeta?.({requestId:x,arg:u},{getState:h,extra:y}))),E=await Promise.race([D,Promise.resolve(o(u,{dispatch:f,getState:h,extra:y,requestId:x,signal:C.signal,abort:_,rejectWithValue:((k,V)=>new un(k,V)),fulfillWithValue:((k,V)=>new ya(k,V))})).then(k=>{if(k instanceof un)throw k;return k instanceof ya?a(k.payload,x,u,k.meta):a(k,x,u)})])}catch(O){E=O instanceof un?c(null,x,u,O.payload,O.meta):c(O,x,u)}finally{A&&C.signal.removeEventListener("abort",A)}return n&&!n.dispatchConditionRejection&&c.match(E)&&E.meta.condition||f(E),E})();return Object.assign(I,{abort:_,requestId:x,arg:u,unwrap(){return I.then(Vl)}})}}return Object.assign(d,{pending:s,rejected:c,fulfilled:a,settled:Fl(c,a),typePrefix:t})}return e.withTypes=()=>e,e})();function Vl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Kl(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Sa=Symbol.for("rtk-slice-createasyncthunk"),Tm={[Sa]:Wl};function jl(e,t){return`${e}/${t}`}function Zl({creators:e}={}){let t=e?.asyncThunk?.[Sa];return function(n){let{name:a,reducerPath:s=a}=n;if(!a)throw new Error(Re(11));typeof process<"u";let c=(typeof n.reducers=="function"?n.reducers(Yl()):n.reducers)||{},d=Object.keys(c),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(E,O){let D=typeof E=="string"?E:E.type;if(!D)throw new Error(Re(12));if(D in u.sliceCaseReducersByType)throw new Error(Re(13));return u.sliceCaseReducersByType[D]=O,p},addMatcher(E,O){return u.sliceMatchers.push({matcher:E,reducer:O}),p},exposeAction(E,O){return u.actionCreators[E]=O,p},exposeCaseReducer(E,O){return u.sliceCaseReducersByName[E]=O,p}};d.forEach(E=>{let O=c[E],D={reducerName:E,type:jl(a,E),createNotation:typeof n.reducers=="function"};Jl(O)?ed(D,O,p,t):Xl(D,O,p)});function f(){let[E={},O=[],D=void 0]=typeof n.extraReducers=="function"?xa(n.extraReducers):[n.extraReducers],k={...E,...u.sliceCaseReducersByType};return Ul(n.initialState,V=>{for(let Y in k)V.addCase(Y,k[Y]);for(let Y of u.sliceMatchers)V.addMatcher(Y.matcher,Y.reducer);for(let Y of O)V.addMatcher(Y.matcher,Y.reducer);D&&V.addDefaultCase(D)})}let h=E=>E,y=new Map,x=new WeakMap,C;function A(E,O){return C||(C=f()),C(E,O)}function v(){return C||(C=f()),C.getInitialState()}function _(E,O=!1){function D(V){let Y=V[E];return typeof Y>"u"&&O&&(Y=Jr(x,D,v)),Y}function k(V=h){return Jr(Jr(y,O,()=>new WeakMap),V,()=>{let Y={};for(let[Cr,le]of Object.entries(n.selectors??{}))Y[Cr]=ql(le,V,()=>Jr(x,V,v),O);return Y})}return{reducerPath:E,getSelectors:k,get selectors(){return k(D)},selectSlice:D}}let I={name:a,reducer:A,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:v,..._(s),injectInto(E,{reducerPath:O,...D}={}){let k=O??s;return E.inject({reducerPath:k,reducer:A},D),{...I,..._(k,!0)}}};return I}}function ql(e,t,o,n){function a(s,...c){let d=t(s);return typeof d>"u"&&n&&(d=o()),e(d,...c)}return a.unwrapped=e,a}var va=Zl();function Yl(){function e(t,o){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...o}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...o){return t(...o)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,o){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:o}},asyncThunk:e}}function Xl({type:e,reducerName:t,createNotation:o},n,a){let s,c;if("reducer"in n){if(o&&!Ql(n))throw new Error(Re(17));s=n.reducer,c=n.prepare}else s=n;a.addCase(e,s).exposeCaseReducer(t,s).exposeAction(t,c?Ge(e,c):Ge(e))}function Jl(e){return e._reducerDefinitionType==="asyncThunk"}function Ql(e){return e._reducerDefinitionType==="reducerWithPrepare"}function ed({type:e,reducerName:t},o,n,a){if(!a)throw new Error(Re(18));let{payloadCreator:s,fulfilled:c,pending:d,rejected:u,settled:p,options:f}=o,h=a(e,s,f);n.exposeAction(t,h),c&&n.addCase(h.fulfilled,c),d&&n.addCase(h.pending,d),u&&n.addCase(h.rejected,u),p&&n.addMatcher(h.settled,p),n.exposeCaseReducer(t,{fulfilled:c||Qr,pending:d||Qr,rejected:u||Qr,settled:p||Qr})}function Qr(){}var Ca="listener",Ea="completed",Oa="cancelled",km=`task-${Oa}`,Nm=`task-${Ea}`,Im=`${Ca}-${Oa}`,Pm=`${Ca}-${Ea}`;var{assign:Aa}=Object;var pn="listenerMiddleware";var td=Aa(Ge(`${pn}/add`),{withTypes:()=>td}),Dm=Ge(`${pn}/removeAll`),rd=Aa(Ge(`${pn}/remove`),{withTypes:()=>rd});function Re(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var od=Rr(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??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)}}}),eo=class extends od(Object){};window.ftReduxStores||(window.ftReduxStores={});var wa=class e extends eo{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(Ir(s))return s;if(a==null)return;let c=va({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=ba({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let f=Yt(c.getInitialState());for(let h of p.keeping)f[h]=(u??f)[h];return f}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return c.reducer(u,p)}});return window.ftReduxStores[a.name]=new e(c,d,a.eventBus,a.deprecatedKeys)}constructor(t,o,n,a){super(),this.reduxSlice=t,this.reduxStore=o,this.deprecatedKeys=a,this.isFtReduxStore=!0,this.commands=new Lr,this.injectInto=(c,d)=>this.reduxSlice.injectInto(c,d),this.selectSlice=c=>this.reduxSlice.selectSlice(c);let s=c=>c!=null?JSON.parse(JSON.stringify(c)):c;this.actions=new Proxy(this.reduxSlice.actions,{get:(c,d,u)=>{let p=d,f=c[p];return f?(...h)=>{let y=f(...h.map(s));return this.reduxStore.dispatch(y),y}:h=>{let y=p,x=this.getState()[y];wt(x,h)||this.setState({[y]:s(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};var to=class{static format(t,o,n,a,s){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,a,!!s)):this.getIntlDateTime(t,o,n,a,!!s)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,a,s){let c=typeof t=="string"?new Date(t):t,d=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(c),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(c);return s?u:a?`${d} ${u}`:d}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var ro=g(L()),nd="ft-app-info",ut=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};ut.eventName="authentication-change";var ar=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};ar.eventName="ui-locale-changed";var id={session:(e,t)=>{(0,ro.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>R.dispatchEvent(new ut(t.payload)),0))}},R=ro.FtReduxStore.get({name:nd,reducers:id,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}});var _a=g(L()),oo=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},ug=(0,_a.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(R)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var a,s;return((s=(a=this.metadataDescriptors.find(d=>d.key===n))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1)?d=>to.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return oo([(0,fn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),oo([(0,fn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),oo([Ko({store:R.name,selector:o=>{var n,a;return(a=(n=o.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&a!==void 0?a:[]}})],t.prototype,"metadataDescriptors",void 0),oo([Ko({store:R.name})],t.prototype,"uiLocale",void 0),t});var Ra;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Ra||(Ra={}));var La;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(La||(La={}));var Ta;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(Ta||(Ta={}));var ka;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(ka||(ka={}));var Na;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Na||(Na={}));var Ia;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(Ia||(Ia={}));var Pa;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(Pa||(Pa={}));var Da;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Da||(Da={}));var Ma;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(Ma||(Ma={}));var Ua;(function(e){e.METADATA_FILTER="METADATA_FILTER",e.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Ua||(Ua={}));var Ba;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER",e.DOC_DIFF="DOC_DIFF"})(Ba||(Ba={}));var Fa;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(Fa||(Fa={}));var $a;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})($a||($a={}));var Ha;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ha||(Ha={}));var za;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(za||(za={}));var Ga;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Ga||(Ga={}));var Wa;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Wa||(Wa={}));var Va;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Va||(Va={}));var Ka;(function(e){e.ASC="ASC",e.DESC="DESC"})(Ka||(Ka={}));var ja;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ja||(ja={}));var Za;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Za||(Za={}));var qa;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(qa||(qa={}));var Ya;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Ya||(Ya={}));var Xa;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Xa||(Xa={}));var Ja;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ja||(Ja={}));var Qa;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Qa||(Qa={}));var es;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(es||(es={}));var ts;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(ts||(ts={}));var z;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(z||(z={}));var ue;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(ue||(ue={}));var rs;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(rs||(rs={}));var os;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(os||(os={}));var ns;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(ns||(ns={}));var is;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(is||(is={}));var as;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(as||(as={}));var ss;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(ss||(ss={}));var cs;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(cs||(cs={}));var ls;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(ls||(ls={}));var ds;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(ds||(ds={}));var us;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(us||(us={}));var ps;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(ps||(ps={}));var fs;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(fs||(fs={}));var ad={[z.PERSONAL_BOOK_SHARE_USER]:[z.PERSONAL_BOOK_USER],[z.HTML_EXPORT_USER]:[z.PERSONAL_BOOK_USER],[z.PDF_EXPORT_USER]:[z.PERSONAL_BOOK_USER],[z.KHUB_ADMIN]:[z.CONTENT_PUBLISHER],[z.ADMIN]:[z.KHUB_ADMIN,z.USERS_ADMIN,z.PORTAL_ADMIN,z.BEHAVIOR_DATA_USER],[z.GENERATIVE_AI_EXPORT_USER]:[z.GENERATIVE_AI_USER]};function hs(e,t){return e===t||(ad[e]??[]).some(o=>hs(o,t))}function hn(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>hs(n,t))}function ys(e,...t){return e==null?!1:t.some(o=>hn(e,o))}var co=g(L());var yn=g(L());var pt=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=R.getState(),a=t??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let a=R.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var kt=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:pt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):pt.await()}};var ce=class extends kt{constructor(t=!0,o){var n;super(o),this.sortObjectFields=(s,c)=>typeof c!="object"||c==null||Array.isArray(c)?c:Object.fromEntries(Object.entries(c).sort(([d],[u])=>d.localeCompare(u)));let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new yn.CacheRegistry,this.cache=t?a.commonCache:new yn.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0))}};var no=class extends ce{async listMySearches(){let{session:t}=R.getState();return hn(t,z.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var io=class extends ce{async listMyBookmarks(){let t=R.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var ao=class extends ce{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=R.getState().session;return!!t?.sessionAuthenticated}};var so=class extends ce{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=R.getState().session;return!!t?.sessionAuthenticated}};var sd="ft-user-assets",cd={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(ue).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let o=t.payload.mapId;e.assetCounts.bookmarkByMap[o]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:o,mapId:n,asset:a}=t.payload;gn(e,o,[...mn(e,o),a]),ms(e,o,1,n),gs(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;gn(e,o,mn(e,o).map(a=>a.id===n.id?n:a)),gs(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;gn(e,o,mn(e,o).filter(s=>s.id!==a)),ms(e,o,-1,n)}},bs={[ue.SEARCHES]:"savedSearches",[ue.BOOKMARKS]:"bookmarks",[ue.BOOKS]:void 0,[ue.COLLECTIONS]:void 0},mn=(e,t)=>{var o;let n=bs[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},gn=(e,t,o)=>{let n=bs[t];n&&(e[n]=o)},ms=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===ue.BOOKMARKS&&n)){let s=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},gs=(e,t)=>{let o=e.assetLabels.map(a=>a.title),n=t.labels.filter(a=>!o.includes(a)).map(a=>({title:a}));e.assetLabels.push(...n)},Q=co.FtReduxStore.get({name:sd,reducers:cd,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(ue).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),bn=class{constructor(t=new ao,o=new so){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new io,this.savedSearchesService=new no,R.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=R.getState();(0,co.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),Q.actions.clearAssetCount(),Q.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Q.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Q.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();Q.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();Q.actions.assetLabels(t)}async loadAssetCount(t){let o=await this.assetCountsService.getUserAssetCount(t);o&&Q.getState().assetCounts.allAsset[t]!==o.count&&Q.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&Q.getState().assetCounts.bookmarkByMap[t]!==o.count&&Q.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(Q.getState().assetCounts.bookmarkByMap).length!==0;t===ue.BOOKMARKS&&o&&Q.actions.clearBookmarkCountByMap(),Q.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Q.actions.bookmarks(o)}}},ld=new bn;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=ld);var xn=class{addCommand(t,o=!1){R.commands.add(t,o)}consumeCommand(t){return R.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new xn;var pe=g(L());var xs,Nt=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},dd=Symbol("clearAfterUnitTest"),lo=class extends(0,pe.withEventBus)(ce){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[xs]=()=>{this.defaultMessages={},this.cache=new pe.CacheRegistry,this.listeners={}},this.currentUiLocale=R.getState().uiLocale,R.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=R.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),o&&Object.keys(o).length>0){let a={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};(0,pe.deepEqual)(this.defaultMessages[t],a)||(this.defaultMessages[t]=a,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var a;let s=t.toLowerCase(),c=this.resolveContext(s);return new pe.ParametrizedLabelResolver((a=this.defaultMessages[s])!==null&&a!==void 0?a:{},c).resolve(o,...n)}async fetchContext(t){let o=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),o&&await this.notify(t)}catch(a){!(a instanceof pe.CanceledPromiseError)&&o&&console.error(a)}return n}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var a;return(a=this.listeners[t])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Nt({loadedContexts:t})),this.dispatchEvent(new Nt({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Nt({loadedContexts:[t]})),this.dispatchEvent(new Nt({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,pe.delay)(0).then(()=>n()).catch(()=>null)))}};xs=dd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends lo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends lo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var It=window.FluidTopicsI18nService,uo=window.FluidTopicsCustomI18nService;var Ss=g(L()),Sn=class{highlightHtml(t,o,n){(0,Ss.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new Sn;var vs=g(L());var vn=class{isDate(t){var o,n,a,s;return(s=(n=((a=(o=R.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&a!==void 0?a:[]).find(d=>d.key===t))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1}format(t,o){var n,a,s,c;if(t==null)return"";try{return vs.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:R.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(s=o?.withTime)!==null&&s!==void 0?s:!1,(c=o?.onlyTime)!==null&&c!==void 0?c:!1)}catch(d){throw console.error(`Date ${JSON.stringify(t)} is not valid`,d),d}}};window.FluidTopicsDateService=new vn;var Cs=g(L());var sr=class{static get(t,o,{baseUrl:n,localesConfiguration:a,availableContentLocales:s}=R.getState()){var c;if(!o||s.length>0&&!s.some(d=>d.lang===o)){let d=a?.defaultLocales.defaultContentLocale;o=d?`${d.lang}-${d.region}`:(c=s[0])===null||c===void 0?void 0:c.lang}return new Cs.SearchPlaceConverter(n,t??20,a?.allLanguagesAllowed,o,s)}};var Cn=class{urlToSearchRequest(t){return sr.get().parse(t)}searchRequestToUrl(t){return sr.get().serialize(t)}};window.FluidTopicsUrlService=new Cn;var De=g(L());var ft=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{nextLocation:t}})}};ft.eventName="before-location-change";var ht=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};ht.eventName="change";var En=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let o=sessionStorage.getItem(this.itemName(t));return o?JSON.parse(o):void 0}set(t,o){sessionStorage.setItem(this.itemName(t),JSON.stringify(o))}},Es=new En;var po=class e extends De.WithEventBus{static build(){return new e(window.history,Es,()=>window.location,!1)}constructor(t,o,n,a){var s,c;super(),this.history=t,this.historyStorage=o,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(c=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&c!==void 0?c:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(a)}setCurrentState(t,o=!1){let n=o&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,De.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new ht(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[s,c,d])=>{let u=new ft(new URL(typeof d=="string"?d:(d??this.windowLocation()).href,window.location.origin));this.dispatchEvent(u);let p=o(),f={...p===this.currentIndex?this.currentState:void 0,...s,index:p,href:u.detail.nextLocation.href};n.apply(a,[f,c,f.href]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let o=this.history.length-1;o>=0;o--)t?this.states[o]=this.historyStorage.get(o):setTimeout(()=>this.states[o]=this.historyStorage.get(o),this.history.length-o)}updateCurrentState(t){var o;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(o=t?.title)!==null&&o!==void 0?o:this.currentState.title};this.setCurrentState(n)}addBeforeLocationChangeListener(t){this.addEventListener(ft.eventName,t)}removeBeforeLocationChangeListener(t){this.removeEventListener(ft.eventName,t)}addHistoryChangeListener(t){this.addEventListener(ht.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(ht.eventName,t)}currentItem(){return(0,De.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,De.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let o=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return(0,De.deepCopy)(o.find(n=>t(n)))}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,De.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var o;let n=(o=this.states[t])===null||o===void 0?void 0:o.majorStateId;if(!n)return t;let a=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(a=s),s++;return a}buildCurrentState(){var t,o;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(o=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&o!==void 0?o:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,o){var n;if(!this.hasState(t))return!1;let a=o??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=a}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=po.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:e=>window.FluidTopicsInternalHistoryService.backwardItemMatching(e),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e),addBeforeLocationChangeListener:e=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(e),removeBeforeLocationChangeListener:e=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(e)});var Os=g($());var As=Os.css`
|
|
171
|
-
`;var
|
|
169
|
+
`}};re.styles=[as,ls,cs,us,ds,ps,fs,hs,ms,ys,gs];xs([(0,In.property)()],re.prototype,"element",void 0);xs([(0,In.property)()],re.prototype,"variant",void 0);var Es=m(w());var bs={"ft-typography":re};(0,Es.customElements)(bs);var ii=m(J());var As=m(J(),1);var Un=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)},Ql=e=>({fromAttribute:t=>{if(t==null)return Kt(e);try{return JSON.parse(t)}catch{return Kt(e)}},toAttribute:t=>JSON.stringify(t)});function Ss(e,t){return(0,As.property)({type:Object,converter:Ql(e),hasChanged:Gt,...t??{}})}function ec(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let r,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Et(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Et(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=o=>Object.keys(o).filter(a=>o[a]!=null),s=i(e);if(r=s.length,r!==i(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,s[n]))return!1;for(n=r;n--!==0;){let o=s[n];if(!Et(e[o],t[o]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Et(e,t){try{return ec(e,t)}catch{return!1}}function Gt(e,t){return!Et(e,t)}function Kt(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Sr(e,t){let r=n=>n[e]===!0;return n=>{if(r(n))return n;let i=t(n);return i[e]=!0,i}}var _s=m(J(),1);var $n=e=>{let t=e??{};return(r,n)=>{var i;let s={hasChanged:Gt,attribute:!1,...t};(0,_s.property)(s)(r,n);let o=r.constructor;o.reduxProperties=new Map(o.reduxProperties),o.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:(a=>a[n]),store:t.store})}};var _r=class{constructor(){this.queue=[]}add(t,r=!1){r&&this.clear(t.type),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(t){typeof t=="string"?this.queue=this.queue.filter(r=>r.type!==t):this.queue=this.queue.filter(r=>!t.test(r.type))}};var nt=m(J(),1);var Cr=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),s=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let o of n)try{await o()}catch(a){i(a);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Tr=m(V(),1);var wr=class extends Tr.LitElement{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return(0,Tr.adoptStyles)(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(t,r){Un(t)(r),this.canDefineScopedElement(t)&&this.registry.define(t,r)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,r){this.scopedRegistryConstructor.defineScopedElement(t,r)}};function Cs(e,t,...r){var n;let i=e.querySelector(t);for(let s of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}var St=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},Rs,ws=Symbol("constructorPrototype"),Ts=Symbol("constructorName"),Ls=Symbol("exportpartsDebouncer"),Os=Symbol("dynamicDependenciesLoaded"),At=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};At.eventName="exportparts-updated";var Se=class extends wr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Rs]=new Cr(5),this.scheduleExportpartsUpdate=()=>{var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Ls].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Ts]=this.constructor.name,this[ws]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ts]&&Object.setPrototypeOf(this,this[ws])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let r=this.constructor;r[Os]||(r[Os]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(At.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(At.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new At)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];r=Cs(this.shadowRoot,...s)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(t){var r,n,i,s,o,a;let l=p=>p!=null&&p.trim().length>0,c=t.filter(l).map(p=>p.trim());if(c.length===0){this.exportparts=void 0;return}let u=new Set;for(let p of(s=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let y=(o=(n=p.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&o!==void 0?o:[],v=(a=(i=p.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(x=>x.split(":")[1]))!==null&&a!==void 0?a:[],A=[...y,...v].filter(l).map(x=>x.trim());for(let x of A)u.add(x)}if(u.size===0){this.exportparts=void 0;return}let d=[...u.values()].flatMap(p=>c.map(y=>`${p}:${y}--${p}`));this.exportparts=[...this.part,...d].join(", ")}};Rs=Ls;St([(0,nt.property)()],Se.prototype,"exportpartsPrefix",void 0);St([Ss([])],Se.prototype,"exportpartsPrefixes",void 0);St([(0,nt.property)({reflect:!0})],Se.prototype,"exportparts",void 0);St([(0,nt.property)()],Se.prototype,"customStylesheet",void 0);St([(0,nt.property)()],Se.prototype,"elementToFocus",void 0);St([(0,nt.state)()],Se.prototype,"useAdoptedStyleSheets",void 0);function Or(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var qt=Symbol("internalReduxEventsUnsubscribers"),Ue=Symbol("internalStoresUnsubscribers"),it=Symbol("internalStores"),tc=Sr(Symbol("withRedux"),function(e){var t,r,n;class i extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(o){super.willUpdate(o),[...this.reduxConstructor.reduxReactiveProperties].some(a=>o.has(a))&&this.updateFromStores()}getUnnamedStore(){if(this[it].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[it].values()][0]}getStore(o){return o==null?this.getUnnamedStore():this[it].get(o)}addStore(o,a){var l;a=(l=a??o.name)!==null&&l!==void 0?l:"default-store",this.unsubscribeFromStore(a),this[it].set(a,o),this.subscribeToStore(a,o),this.updateFromStores()}removeStore(o){let a=typeof o=="string"?o:o.name;this.unsubscribeFromStore(a),this[it].delete(a)}setupStores(){this.unsubscribeFromStores(),this[it].forEach((o,a)=>this.subscribeToStore(a,o)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((o,a)=>{let l=this.constructor.getPropertyOptions(a);if(!l?.attribute||!this.hasAttribute(typeof l?.attribute=="string"?l.attribute:a)){let c=this.getStore(o.store);c&&(o.store?this[Ue].has(o.store):this[Ue].size>0)&&(this[a]=o.selector(c.getState(),this))}})}subscribeToStore(o,a){var l,c;this[Ue].set(o,a.subscribe(()=>this.updateFromStores())),this[qt].set(o,[]),Or(a)&&(!((l=a.deprecatedKeys)===null||l===void 0)&&l.length&&this.reduxConstructor.reduxProperties.forEach((u,d)=>{this.getStore(u.store)===a&&a.deprecatedKeys.includes(d)&&console.warn("Element",this,"is subscribed to deprecated key",d,"in store",a.name)}),a.eventBus&&((c=this.reduxConstructor.reduxEventListeners)===null||c===void 0||c.forEach((u,d)=>{if(typeof this[d]=="function"&&(!u.store||a.name===u.store)){let p=y=>this[d](y);a.addEventListener(u.eventName,p),this[qt].get(o).push(()=>a.removeEventListener(u.eventName,p))}}))),this.onStoreAvailable(o)}unsubscribeFromStores(){this[Ue].forEach((o,a)=>this.unsubscribeFromStore(a))}unsubscribeFromStore(o){var a;this[Ue].has(o)&&this[Ue].get(o)(),this[Ue].delete(o),(a=this[qt].get(o))===null||a===void 0||a.forEach(l=>l()),this[qt].delete(o)}onStoreAvailable(o){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Ue,r=it,n=qt,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Ns=class extends tc(Se){};function W(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var rc=typeof Symbol=="function"&&Symbol.observable||"@@observable",Ps=rc,Bn=()=>Math.random().toString(36).substring(7).split("").join("."),nc={INIT:`@@redux/INIT${Bn()}`,REPLACE:`@@redux/REPLACE${Bn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Bn()}`},Rr=nc;function Lr(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Hn(e,t,r){if(typeof e!="function")throw new Error(W(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(W(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(W(1));return r(Hn)(e,t)}let n=e,i=t,s=new Map,o=s,a=0,l=!1;function c(){o===s&&(o=new Map,s.forEach((x,_)=>{o.set(_,x)}))}function u(){if(l)throw new Error(W(3));return i}function d(x){if(typeof x!="function")throw new Error(W(4));if(l)throw new Error(W(5));let _=!0;c();let L=a++;return o.set(L,x),function(){if(_){if(l)throw new Error(W(6));_=!1,c(),o.delete(L),s=null}}}function p(x){if(!Lr(x))throw new Error(W(7));if(typeof x.type>"u")throw new Error(W(8));if(typeof x.type!="string")throw new Error(W(17));if(l)throw new Error(W(9));try{l=!0,i=n(i,x)}finally{l=!1}return(s=o).forEach(L=>{L()}),x}function y(x){if(typeof x!="function")throw new Error(W(10));n=x,p({type:Rr.REPLACE})}function v(){let x=d;return{subscribe(_){if(typeof _!="object"||_===null)throw new Error(W(11));function L(){let E=_;E.next&&E.next(u())}return L(),{unsubscribe:x(L)}},[Ps](){return this}}}return p({type:Rr.INIT}),{dispatch:p,subscribe:d,getState:u,replaceReducer:y,[Ps]:v}}function ic(e){Object.keys(e).forEach(t=>{let r=e[t];if(typeof r(void 0,{type:Rr.INIT})>"u")throw new Error(W(12));if(typeof r(void 0,{type:Rr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(W(13))})}function Fn(e){let t=Object.keys(e),r={};for(let o=0;o<t.length;o++){let a=t[o];typeof e[a]=="function"&&(r[a]=e[a])}let n=Object.keys(r),i,s;try{ic(r)}catch(o){s=o}return function(a={},l){if(s)throw s;let c=!1,u={};for(let d=0;d<n.length;d++){let p=n[d],y=r[p],v=a[p],A=y(v,l);if(typeof A>"u"){let x=l&&l.type;throw new Error(W(14))}u[p]=A,c=c||A!==v}return c=c||n.length!==Object.keys(a).length,c?u:a}}function Yt(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function Ds(...e){return t=>(r,n)=>{let i=t(r,n),s=()=>{throw new Error(W(15))},o={getState:i.getState,dispatch:(l,...c)=>s(l,...c)},a=e.map(l=>l(o));return s=Yt(...a)(i.dispatch),{...i,dispatch:s}}}function ks(e){return Lr(e)&&"type"in e&&typeof e.type=="string"}var js=Symbol.for("immer-nothing"),Ms=Symbol.for("immer-draftable"),q=Symbol.for("immer-state");function ye(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ne=Object,Ct=ne.getPrototypeOf,kr="constructor",Hr="prototype",Wn="configurable",Mr="enumerable",Pr="writable",Xt="value",_e=e=>!!e&&!!e[q];function ie(e){return e?zs(e)||Vr(e)||!!e[Ms]||!!e[kr]?.[Ms]||jr(e)||er(e):!1}var sc=ne[Hr][kr].toString(),Is=new WeakMap;function zs(e){if(!e||!Qn(e))return!1;let t=Ct(e);if(t===null||t===ne[Hr])return!0;let r=ne.hasOwnProperty.call(t,kr)&&t[kr];if(r===Object)return!0;if(!_t(r))return!1;let n=Is.get(r);return n===void 0&&(n=Function.toString.call(r),Is.set(r,n)),n===sc}function Fr(e,t,r=!0){Qt(e)===0?(r?Reflect.ownKeys(e):ne.keys(e)).forEach(i=>{t(i,e[i],e)}):e.forEach((n,i)=>t(i,n,e))}function Qt(e){let t=e[q];return t?t.type_:Vr(e)?1:jr(e)?2:er(e)?3:0}var Vn=(e,t,r=Qt(e))=>r===2?e.has(t):ne[Hr].hasOwnProperty.call(e,t),Kn=(e,t,r=Qt(e))=>r===2?e.get(t):e[t],Ir=(e,t,r,n=Qt(e))=>{n===2?e.set(t,r):n===3?e.add(r):e[t]=r};function oc(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var Vr=Array.isArray,jr=e=>e instanceof Map,er=e=>e instanceof Set,Qn=e=>typeof e=="object",_t=e=>typeof e=="function",jn=e=>typeof e=="boolean";function ac(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Le=e=>e.copy_||e.base_;var ei=e=>e.modified_?e.copy_:e.base_;function Gn(e,t){if(jr(e))return new Map(e);if(er(e))return new Set(e);if(Vr(e))return Array[Hr].slice.call(e);let r=zs(e);if(t===!0||t==="class_only"&&!r){let n=ne.getOwnPropertyDescriptors(e);delete n[q];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let o=i[s],a=n[o];a[Pr]===!1&&(a[Pr]=!0,a[Wn]=!0),(a.get||a.set)&&(n[o]={[Wn]:!0,[Pr]:!0,[Mr]:a[Mr],[Xt]:e[o]})}return ne.create(Ct(e),n)}else{let n=Ct(e);if(n!==null&&r)return{...e};let i=ne.create(n);return ne.assign(i,e)}}function zr(e,t=!1){return Wr(e)||_e(e)||!ie(e)||(Qt(e)>1&&ne.defineProperties(e,{set:Nr,add:Nr,clear:Nr,delete:Nr}),ne.freeze(e),t&&Fr(e,(r,n)=>{zr(n,!0)},!1)),e}function lc(){ye(2)}var Nr={[Xt]:lc};function Wr(e){return e===null||!Qn(e)?!0:ne.isFrozen(e)}var Ur="MapSet",qn="Patches",Us="ArrayMethods",Ws={};function st(e){let t=Ws[e];return t||ye(0,e),t}var $s=e=>!!Ws[e];var Zt,Ks=()=>Zt,cc=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:$s(Ur)?st(Ur):void 0,arrayMethodsPlugin_:$s(Us)?st(Us):void 0});function Bs(e,t){t&&(e.patchPlugin_=st(qn),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Yn(e){Xn(e),e.drafts_.forEach(uc),e.drafts_=null}function Xn(e){e===Zt&&(Zt=e.parent_)}var Hs=e=>Zt=cc(Zt,e);function uc(e){let t=e[q];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Fs(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];if(e!==void 0&&e!==r){r[q].modified_&&(Yn(t),ye(4)),ie(e)&&(e=Vs(t,e));let{patchPlugin_:i}=t;i&&i.generateReplacementPatches_(r[q].base_,e,t)}else e=Vs(t,r);return dc(t,e,!0),Yn(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==js?e:void 0}function Vs(e,t){if(Wr(t))return t;let r=t[q];if(!r)return $r(t,e.handledSet_,e);if(!Kr(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:n}=r;if(n)for(;n.length>0;)n.pop()(e);Ys(r,e)}return r.copy_}function dc(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&zr(t,r)}function Gs(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var Kr=(e,t)=>e.scope_===t,pc=[];function qs(e,t,r,n){let i=Le(e),s=e.type_;if(n!==void 0&&Kn(i,n,s)===t){Ir(i,n,r,s);return}if(!e.draftLocations_){let a=e.draftLocations_=new Map;Fr(i,(l,c)=>{if(_e(c)){let u=a.get(c)||[];u.push(l),a.set(c,u)}})}let o=e.draftLocations_.get(t)??pc;for(let a of o)Ir(i,a,r,s)}function fc(e,t,r){e.callbacks_.push(function(i){let s=t;if(!s||!Kr(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let o=ei(s);qs(e,s.draft_??s,o,r),Ys(s,i)})}function Ys(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let i=n.getPath(e);i&&n.generatePatches_(e,i,t)}Gs(e)}}function hc(e,t,r){let{scope_:n}=e;if(_e(r)){let i=r[q];Kr(i,n)&&i.callbacks_.push(function(){Dr(e);let o=ei(i);qs(e,r,o,t)})}else ie(r)&&e.callbacks_.push(function(){let s=Le(e);e.type_===3?s.has(r)&&$r(r,n.handledSet_,n):Kn(s,t,e.type_)===r&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&$r(Kn(e.copy_,t,e.type_),n.handledSet_,n)})}function $r(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||_e(e)||t.has(e)||!ie(e)||Wr(e)||(t.add(e),Fr(e,(n,i)=>{if(_e(i)){let s=i[q];if(Kr(s,r)){let o=ei(s);Ir(e,n,o,e.type_),Gs(s)}}else ie(i)&&$r(i,t,r)})),e}function mc(e,t){let r=Vr(e),n={type_:r?1:0,scope_:t?t.scope_:Ks(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,s=Br;r&&(i=[n],s=Jt);let{revoke:o,proxy:a}=Proxy.revocable(i,s);return n.draft_=a,n.revoke_=o,[a,n]}var Br={get(e,t){if(t===q)return e;let r=e.scope_.arrayMethodsPlugin_,n=e.type_===1&&typeof t=="string";if(n&&r?.isArrayOperationMethod(t))return r.createMethodInterceptor(e,t);let i=Le(e);if(!Vn(i,t,e.type_))return gc(e,i,t);let s=i[t];if(e.finalized_||!ie(s)||n&&e.operationMethod&&r?.isMutatingArrayMethod(e.operationMethod)&&ac(t))return s;if(s===zn(e.base_,t)||yc(e,t,s)){Dr(e);let o=e.type_===1?+t:t,a=Jn(e.scope_,s,e,o);return e.copy_[o]=a}return s},has(e,t){return t in Le(e)},ownKeys(e){return Reflect.ownKeys(Le(e))},set(e,t,r){let n=Xs(Le(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let i=zn(Le(e),t),s=i?.[q];if(s&&s.base_===r)return e.copy_[t]=r,e.assigned_.delete(t),!0;if(oc(r,i)&&(r!==void 0||Vn(e.base_,t,e.type_)))return!0;Dr(e),Zn(e)}return e.copy_[t]===r&&(r!==void 0||Vn(e.copy_,t,e.type_))||Number.isNaN(r)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=r,e.assigned_.set(t,!0),hc(e,t,r)),!0},deleteProperty(e,t){return Dr(e),zn(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Zn(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let r=Le(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{[Pr]:!0,[Wn]:e.type_!==1||t!=="length",[Mr]:n[Mr],[Xt]:r[t]}},defineProperty(){ye(11)},getPrototypeOf(e){return Ct(e.base_)},setPrototypeOf(){ye(12)}},Jt={};for(let e in Br){let t=Br[e];Jt[e]=function(){let r=arguments;return r[0]=r[0][0],t.apply(this,r)}}Jt.deleteProperty=function(e,t){return Jt.set.call(this,e,t,void 0)};Jt.set=function(e,t,r){return Br.set.call(this,e[0],t,r,e[0])};function zn(e,t){let r=e[q];return(r?Le(r):e)[t]}function yc(e,t,r){return e.type_!==1||!e.allIndicesReassigned_||!ie(r)||r[q]?!1:e.baseRefs_.has(r)}function gc(e,t,r){let n=Xs(t,r);return n?Xt in n?n[Xt]:n.get?.call(e.draft_):void 0}function Xs(e,t){if(!(t in e))return;let r=Ct(e);for(;r;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Ct(r)}}function Zn(e){e.modified_||(e.modified_=!0,e.parent_&&Zn(e.parent_))}function Dr(e){e.copy_||(e.assigned_=new Map,e.copy_=Gn(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var xc=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,r,n)=>{if(_t(t)&&!_t(r)){let s=r;r=t;let o=this;return function(l=s,...c){return o.produce(l,u=>r.call(this,u,...c))}}_t(r)||ye(6),n!==void 0&&!_t(n)&&ye(7);let i;if(ie(t)){let s=Hs(this),o=Jn(s,t,void 0),a=!0;try{i=r(o),a=!1}finally{a?Yn(s):Xn(s)}return Bs(s,n),Fs(i,s)}else if(!t||!Qn(t)){if(i=r(t),i===void 0&&(i=t),i===js&&(i=void 0),this.autoFreeze_&&zr(i,!0),n){let s=[],o=[];st(qn).generateReplacementPatches_(t,i,{patches_:s,inversePatches_:o}),n(s,o)}return i}else ye(1,t)},this.produceWithPatches=(t,r)=>{if(_t(t))return(o,...a)=>this.produceWithPatches(o,l=>t(l,...a));let n,i;return[this.produce(t,r,(o,a)=>{n=o,i=a}),n,i]},jn(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),jn(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),jn(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){ie(e)||ye(8),_e(e)&&(e=Zs(e));let t=Hs(this),r=Jn(t,e,void 0);return r[q].isManual_=!0,Xn(t),r}finishDraft(e,t){let r=e&&e[q];(!r||!r.isManual_)&&ye(9);let{scope_:n}=r;return Bs(n,t),Fs(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let i=t[r];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}r>-1&&(t=t.slice(r+1));let n=st(qn).applyPatches_;return _e(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Jn(e,t,r,n){let[i,s]=jr(t)?st(Ur).proxyMap_(t,r):er(t)?st(Ur).proxySet_(t,r):mc(t,r);return(r?.scope_??Ks()).drafts_.push(i),s.callbacks_=r?.callbacks_??[],s.key_=n,r&&n!==void 0?fc(r,s,n):s.callbacks_.push(function(l){l.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:c}=l;s.modified_&&c&&c.generatePatches_(s,[],l)}),i}function Zs(e){return _e(e)||ye(10,e),Js(e)}function Js(e){if(!ie(e)||Wr(e))return e;let t=e[q],r,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=Gn(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else r=Gn(e,!0);let i=r;return er(r)&&(r=new Set),Fr(i,(s,o)=>{Ir(r,s,Js(o))},n),t&&(t.finalized_=!1),r}var vc=globalThis.Iterator,jd=typeof vc?.from=="function";var bc=new xc,ti=bc.produce;function Qs(e){return({dispatch:r,getState:n})=>i=>s=>typeof s=="function"?s(r,n,e):i(s)}var eo=Qs(),to=Qs;var Ec=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Yt:Yt.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var Ac=e=>e&&typeof e.match=="function";function $e(e,t){function r(...n){if(t){let i=t(...n);if(!i)throw new Error(Ce(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return r.toString=()=>`${e}`,r.type=e,r.match=n=>ks(n)&&n.type===e,r}var oo=class tr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,tr.prototype)}static get[Symbol.species](){return tr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new tr(...t[0].concat(this)):new tr(...t.concat(this))}};function ro(e){return ie(e)?ti(e,()=>{}):e}function Gr(e,t,r){return e.has(t)?e.get(t):e.set(t,r(t)).get(t)}function Sc(e){return typeof e=="boolean"}var _c=()=>function(t){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=t??{},o=new oo;return r&&(Sc(r)?o.push(eo):o.push(to(r.extraArgument))),o},Cc="RTK_autoBatch";var no=e=>t=>{setTimeout(t,e)},wc=(e,t)=>r=>{let n=!1,i,s,o=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),r())};i=e(o),s=setTimeout(o,t)},Tc=(e={type:"raf"})=>t=>(...r)=>{let n=t(...r),i=!0,s=!1,o=!1,a=new Set,l=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?wc(window.requestAnimationFrame,100):no(10):e.type==="callback"?e.queueNotification:no(e.timeout),c=()=>{o=!1,s&&(s=!1,a.forEach(u=>u()))};return Object.assign({},n,{subscribe(u){let d=()=>i&&u(),p=n.subscribe(d);return a.add(u),()=>{p(),a.delete(u)}},dispatch(u){try{return i=!u?.meta?.[Cc],s=!i,s&&(o||(o=!0,l(c))),n.dispatch(u)}finally{i=!0}}})},Oc=e=>function(r){let{autoBatch:n=!0}=r??{},i=new oo(e);return n&&i.push(Tc(typeof n=="object"?n:void 0)),i};function ao(e){let t=_c(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:o=void 0,enhancers:a=void 0}=e||{},l;if(typeof r=="function")l=r;else if(Lr(r))l=Fn(r);else throw new Error(Ce(1));let c;typeof n=="function"?c=n(t):c=t();let u=Yt;i&&(u=Ec({trace:!1,...typeof i=="object"&&i}));let d=Ds(...c),p=Oc(d),y=typeof a=="function"?a(p):p(),v=u(...y);return Hn(l,o,v)}function lo(e){let t={},r=[],n,i={addCase(s,o){let a=typeof s=="string"?s:s.type;if(!a)throw new Error(Ce(28));if(a in t)throw new Error(Ce(29));return t[a]=o,i},addAsyncThunk(s,o){return o.pending&&(t[s.pending.type]=o.pending),o.rejected&&(t[s.rejected.type]=o.rejected),o.fulfilled&&(t[s.fulfilled.type]=o.fulfilled),o.settled&&r.push({matcher:s.settled,reducer:o.settled}),i},addMatcher(s,o){return r.push({matcher:s,reducer:o}),i},addDefaultCase(s){return n=s,i}};return e(i),[t,r,n]}function Rc(e){return typeof e=="function"}function Lc(e,t){let[r,n,i]=lo(t),s;if(Rc(e))s=()=>ro(e());else{let a=ro(e);s=()=>a}function o(a=s(),l){let c=[r[l.type],...n.filter(({matcher:u})=>u(l)).map(({reducer:u})=>u)];return c.filter(u=>!!u).length===0&&(c=[i]),c.reduce((u,d)=>{if(d)if(_e(u)){let p=d(u,l);return p===void 0?u:p}else{if(ie(u))return ti(u,p=>d(p,l));{let p=d(u,l);if(p===void 0){if(u===null)return u;throw new Error(Ce(9))}return p}}return u},a)}return o.getInitialState=s,o}var Nc=(e,t)=>Ac(e)?e.match(t):e(t);function Pc(...e){return t=>e.some(r=>Nc(r,t))}var Dc="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",kc=(e=21)=>{let t="",r=e;for(;r--;)t+=Dc[Math.random()*64|0];return t},Mc=["name","message","stack","code"],ri=class{payload;meta;_type;constructor(e,t){this.payload=e,this.meta=t}},io=class{payload;meta;_type;constructor(e,t){this.payload=e,this.meta=t}},Ic=e=>{if(typeof e=="object"&&e!==null){let t={};for(let r of Mc)typeof e[r]=="string"&&(t[r]=e[r]);return t}return{message:String(e)}},so="External signal was aborted",Uc=(()=>{function e(t,r,n){let i=$e(t+"/fulfilled",(l,c,u,d)=>({payload:l,meta:{...d||{},arg:u,requestId:c,requestStatus:"fulfilled"}})),s=$e(t+"/pending",(l,c,u)=>({payload:void 0,meta:{...u||{},arg:c,requestId:l,requestStatus:"pending"}})),o=$e(t+"/rejected",(l,c,u,d,p)=>({payload:d,error:(n&&n.serializeError||Ic)(l||"Rejected"),meta:{...p||{},arg:u,requestId:c,rejectedWithValue:d!==void 0,requestStatus:"rejected",aborted:l?.name==="AbortError",condition:l?.name==="ConditionError"}}));function a(l,{signal:c}={}){return(u,d,p)=>{let y=n?.idGenerator?n.idGenerator(l):kc(),v=new AbortController,A,x;function _(b){x=b,v.abort()}c&&(c.aborted?_(so):c.addEventListener("abort",()=>_(so),{once:!0}));let L=(async function(){let b;try{let E=n?.condition?.(l,{getState:d,extra:p});if(Bc(E)&&(E=await E),E===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(v.signal.aborted)throw{name:"AbortError",message:x||"Aborted"};let P=new Promise((O,F)=>{A=()=>{F({name:"AbortError",message:x||"Aborted"})},v.signal.addEventListener("abort",A,{once:!0})});u(s(y,l,n?.getPendingMeta?.({requestId:y,arg:l},{getState:d,extra:p}))),b=await Promise.race([P,Promise.resolve(r(l,{dispatch:u,getState:d,extra:p,requestId:y,signal:v.signal,abort:_,rejectWithValue:((O,F)=>new ri(O,F)),fulfillWithValue:((O,F)=>new io(O,F))})).then(O=>{if(O instanceof ri)throw O;return O instanceof io?i(O.payload,y,l,O.meta):i(O,y,l)})])}catch(E){b=E instanceof ri?o(null,y,l,E.payload,E.meta):o(E,y,l)}finally{A&&v.signal.removeEventListener("abort",A)}return n&&!n.dispatchConditionRejection&&o.match(b)&&b.meta.condition||u(b),b})();return Object.assign(L,{abort:_,requestId:y,arg:l,unwrap(){return L.then($c)}})}}return Object.assign(a,{pending:s,rejected:o,fulfilled:i,settled:Pc(o,i),typePrefix:t})}return e.withTypes=()=>e,e})();function $c(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Bc(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var co=Symbol.for("rtk-slice-createasyncthunk"),Zd={[co]:Uc};function Hc(e,t){return`${e}/${t}`}function Fc({creators:e}={}){let t=e?.asyncThunk?.[co];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(Ce(11));typeof process<"u";let o=(typeof n.reducers=="function"?n.reducers(jc()):n.reducers)||{},a=Object.keys(o),l={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},c={addCase(b,E){let P=typeof b=="string"?b:b.type;if(!P)throw new Error(Ce(12));if(P in l.sliceCaseReducersByType)throw new Error(Ce(13));return l.sliceCaseReducersByType[P]=E,c},addMatcher(b,E){return l.sliceMatchers.push({matcher:b,reducer:E}),c},exposeAction(b,E){return l.actionCreators[b]=E,c},exposeCaseReducer(b,E){return l.sliceCaseReducersByName[b]=E,c}};a.forEach(b=>{let E=o[b],P={reducerName:b,type:Hc(i,b),createNotation:typeof n.reducers=="function"};Wc(E)?Gc(P,E,c,t):zc(P,E,c)});function u(){let[b={},E=[],P=void 0]=typeof n.extraReducers=="function"?lo(n.extraReducers):[n.extraReducers],O={...b,...l.sliceCaseReducersByType};return Lc(n.initialState,F=>{for(let G in O)F.addCase(G,O[G]);for(let G of l.sliceMatchers)F.addMatcher(G.matcher,G.reducer);for(let G of E)F.addMatcher(G.matcher,G.reducer);P&&F.addDefaultCase(P)})}let d=b=>b,p=new Map,y=new WeakMap,v;function A(b,E){return v||(v=u()),v(b,E)}function x(){return v||(v=u()),v.getInitialState()}function _(b,E=!1){function P(F){let G=F[b];return typeof G>"u"&&E&&(G=Gr(y,P,x)),G}function O(F=d){return Gr(Gr(p,E,()=>new WeakMap),F,()=>{let G={};for(let[xr,oe]of Object.entries(n.selectors??{}))G[xr]=Vc(oe,F,()=>Gr(y,F,x),E);return G})}return{reducerPath:b,getSelectors:O,get selectors(){return O(P)},selectSlice:P}}let L={name:i,reducer:A,actions:l.actionCreators,caseReducers:l.sliceCaseReducersByName,getInitialState:x,..._(s),injectInto(b,{reducerPath:E,...P}={}){let O=E??s;return b.inject({reducerPath:O,reducer:A},P),{...L,..._(O,!0)}}};return L}}function Vc(e,t,r,n){function i(s,...o){let a=t(s);return typeof a>"u"&&n&&(a=r()),e(a,...o)}return i.unwrapped=e,i}var uo=Fc();function jc(){function e(t,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...r}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...r){return t(...r)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:r}},asyncThunk:e}}function zc({type:e,reducerName:t,createNotation:r},n,i){let s,o;if("reducer"in n){if(r&&!Kc(n))throw new Error(Ce(17));s=n.reducer,o=n.prepare}else s=n;i.addCase(e,s).exposeCaseReducer(t,s).exposeAction(t,o?$e(e,o):$e(e))}function Wc(e){return e._reducerDefinitionType==="asyncThunk"}function Kc(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Gc({type:e,reducerName:t},r,n,i){if(!i)throw new Error(Ce(18));let{payloadCreator:s,fulfilled:o,pending:a,rejected:l,settled:c,options:u}=r,d=i(e,s,u);n.exposeAction(t,d),o&&n.addCase(d.fulfilled,o),a&&n.addCase(d.pending,a),l&&n.addCase(d.rejected,l),c&&n.addMatcher(d.settled,c),n.exposeCaseReducer(t,{fulfilled:o||qr,pending:a||qr,rejected:l||qr,settled:c||qr})}function qr(){}var po="listener",fo="completed",ho="cancelled",Jd=`task-${ho}`,Qd=`task-${fo}`,ep=`${po}-${ho}`,tp=`${po}-${fo}`;var{assign:mo}=Object;var ni="listenerMiddleware";var qc=mo($e(`${ni}/add`),{withTypes:()=>qc}),rp=$e(`${ni}/removeAll`),Yc=mo($e(`${ni}/remove`),{withTypes:()=>Yc});function Ce(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Xc=Sr(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}),Yr=class extends Xc(Object){};window.ftReduxStores||(window.ftReduxStores={});var yo=class e extends Yr{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,s=window.ftReduxStores[n];if(Or(s))return s;if(i==null)return;let o=uo({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),a=ao({reducer:(l,c)=>{if(c.type==="CLEAR_FT_REDUX_STORE"){let u=Kt(o.getInitialState());for(let d of c.keeping)u[d]=(l??u)[d];return u}else if(typeof c.type=="string"&&c.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...l,...c.overwrites};return o.reducer(l,c)}});return window.ftReduxStores[i.name]=new e(o,a,i.eventBus,i.deprecatedKeys)}constructor(t,r,n,i){super(),this.reduxSlice=t,this.reduxStore=r,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new _r,this.injectInto=(o,a)=>this.reduxSlice.injectInto(o,a),this.selectSlice=o=>this.reduxSlice.selectSlice(o);let s=o=>o!=null?JSON.parse(JSON.stringify(o)):o;this.actions=new Proxy(this.reduxSlice.actions,{get:(o,a,l)=>{let c=a,u=o[c];return u?(...d)=>{let p=u(...d.map(s));return this.reduxStore.dispatch(p),p}:d=>{let p=c,y=this.getState()[p];Et(y,d)||this.setState({[p]:s(d)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};var Xr=class{static format(t,r,n,i,s){return window.moment?window.moment(t).locale(r).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(t,r,n,i,!!s)}static getMomentDateFormat(t,r,n){return n?"LT":t?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(t,r,n,i,s){let o=typeof t=="string"?new Date(t):t,a=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(o),l=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(o);return s?l:i?`${a} ${l}`:a}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${t(Math.abs(r)/60)}:${t(Math.abs(r)%60)}`}};var Zr=m(w()),Zc="ft-app-info",ot=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};ot.eventName="authentication-change";var rr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};rr.eventName="ui-locale-changed";var Jc={session:(e,t)=>{(0,Zr.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>C.dispatchEvent(new ot(t.payload)),0))}},C=Zr.FtReduxStore.get({name:Zc,reducers:Jc,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}});var go=m(w()),Jr=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},Pp=(0,go.applyMixinOnce)(Symbol("withDateFormat"),function(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(C)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(a=>a.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?a=>Xr.format(a,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Jr([(0,ii.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Jr([(0,ii.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Jr([$n({store:C.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),Jr([$n({store:C.name})],t.prototype,"uiLocale",void 0),t});var xo;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(xo||(xo={}));var vo;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(vo||(vo={}));var bo;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(bo||(bo={}));var Eo;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(Eo||(Eo={}));var Ao;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Ao||(Ao={}));var So;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(So||(So={}));var _o;(function(e){e.PUBLISHED="PUBLISHED",e.AI="AI"})(_o||(_o={}));var Co;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Co||(Co={}));var wo;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(wo||(wo={}));var To;(function(e){e.METADATA_FILTER="METADATA_FILTER",e.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(To||(To={}));var Oo;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER",e.DOC_DIFF="DOC_DIFF"})(Oo||(Oo={}));var Ro;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(Ro||(Ro={}));var Lo;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Lo||(Lo={}));var No;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(No||(No={}));var Po;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Po||(Po={}));var Do;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Do||(Do={}));var ko;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(ko||(ko={}));var Mo;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Mo||(Mo={}));var Io;(function(e){e.ASC="ASC",e.DESC="DESC"})(Io||(Io={}));var Uo;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Uo||(Uo={}));var $o;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})($o||($o={}));var Bo;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Bo||(Bo={}));var Ho;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Ho||(Ho={}));var Fo;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Fo||(Fo={}));var Vo;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Vo||(Vo={}));var jo;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(jo||(jo={}));var zo;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(zo||(zo={}));var Wo;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Wo||(Wo={}));var $;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})($||($={}));var le;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(le||(le={}));var Ko;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(Ko||(Ko={}));var Go;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(Go||(Go={}));var qo;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(qo||(qo={}));var Yo;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Yo||(Yo={}));var Xo;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Xo||(Xo={}));var Zo;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(Zo||(Zo={}));var Jo;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Jo||(Jo={}));var Qo;(function(e){e.CHAT="CHAT",e.COMPLETION="COMPLETION",e.RAG="RAG",e.AGENT="AGENT"})(Qo||(Qo={}));var ea;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(ea||(ea={}));var ta;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(ta||(ta={}));var ra;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(ra||(ra={}));var na;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(na||(na={}));var ia;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(ia||(ia={}));var Qc={[$.PERSONAL_BOOK_SHARE_USER]:[$.PERSONAL_BOOK_USER],[$.HTML_EXPORT_USER]:[$.PERSONAL_BOOK_USER],[$.PDF_EXPORT_USER]:[$.PERSONAL_BOOK_USER],[$.KHUB_ADMIN]:[$.CONTENT_PUBLISHER],[$.ADMIN]:[$.KHUB_ADMIN,$.USERS_ADMIN,$.PORTAL_ADMIN,$.BEHAVIOR_DATA_USER],[$.GENERATIVE_AI_EXPORT_USER]:[$.GENERATIVE_AI_USER]};function sa(e,t){return e===t||(Qc[e]??[]).some(r=>sa(r,t))}function si(e,t){return e==null?!1:(Array.isArray(e)?e:Array.isArray(e.roles)?e.roles:Array.isArray(e.profile?.roles)?e.profile.roles:[]).some(n=>sa(n,t))}function oa(e,...t){return e==null?!1:t.some(r=>si(e,r))}var nn=m(w());var oi=m(w());var at=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=C.getState(),i=t??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(t){return new Promise(r=>{let n=e.get(t);if(n)r(n);else{let i=C.subscribe(()=>{n=e.get(t),n&&(i(),r(n))})}})}};var wt=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:at.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):at.await()}};var se=class extends wt{constructor(t=!0,r){var n;super(r),this.sortObjectFields=(s,o)=>typeof o!="object"||o==null||Array.isArray(o)?o:Object.fromEntries(Object.entries(o).sort(([a],[l])=>a.localeCompare(l)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new oi.CacheRegistry,this.cache=t?i.commonCache:new oi.CacheRegistry}clearCache(){this.cache.clearAll()}hash(t){return String(Array.from(JSON.stringify(t,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var Qr=class extends se{async listMySearches(){let{session:t}=C.getState();return si(t,$.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var en=class extends se{async listMyBookmarks(){let t=C.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var tn=class extends se{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(t){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${t}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(t){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${t}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${t}`),this.CACHE_DURATION)}isAuthenticated(){let t=C.getState().session;return!!t?.sessionAuthenticated}};var rn=class extends se{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let t=C.getState().session;return!!t?.sessionAuthenticated}};var eu="ft-user-assets",tu={setAssetCount:(e,t)=>{let{userAssetType:r,count:n}=t.payload.assetCount;e.assetCounts.allAsset[r]=n},clearAssetCount:e=>{Object.values(le).forEach(t=>{e.assetCounts.allAsset[t]=void 0})},setBookmarkCountByMap:(e,t)=>{let r=t.payload.mapId;e.assetCounts.bookmarkByMap[r]=t.payload.count},clearBookmarkCountByMap:e=>{e.assetCounts.bookmarkByMap={}},addAsset:(e,t)=>{let{assetType:r,mapId:n,asset:i}=t.payload;li(e,r,[...ai(e,r),i]),aa(e,r,1,n),la(e,i)},editAsset:(e,t)=>{let{assetType:r,asset:n}=t.payload;li(e,r,ai(e,r).map(i=>i.id===n.id?n:i)),la(e,n)},removeAsset:(e,t)=>{let{assetType:r,mapId:n,assetId:i}=t.payload;li(e,r,ai(e,r).filter(s=>s.id!==i)),aa(e,r,-1,n)}},ca={[le.SEARCHES]:"savedSearches",[le.BOOKMARKS]:"bookmarks",[le.BOOKS]:void 0,[le.COLLECTIONS]:void 0},ai=(e,t)=>{var r;let n=ca[t];return n?(r=e[n])!==null&&r!==void 0?r:[]:[]},li=(e,t,r)=>{let n=ca[t];n&&(e[n]=r)},aa=(e,t,r,n)=>{let i=e.assetCounts.allAsset[t];if(i!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,i+r),t===le.BOOKMARKS&&n)){let s=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,s+r)}},la=(e,t)=>{let r=e.assetLabels.map(i=>i.title),n=t.labels.filter(i=>!r.includes(i)).map(i=>({title:i}));e.assetLabels.push(...n)},X=nn.FtReduxStore.get({name:eu,reducers:tu,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(le).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ci=class{constructor(t=new tn,r=new rn){this.assetCountsService=t,this.assetLabelsService=r,this.currentSession=C.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new en,this.savedSearchesService=new Qr,C.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=C.getState();(0,nn.deepEqual)((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),X.actions.clearAssetCount(),X.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),X.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),X.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();X.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let t=await this.assetLabelsService.getUserAssetLabels();X.actions.assetLabels(t)}async loadAssetCount(t){let r=await this.assetCountsService.getUserAssetCount(t);r&&X.getState().assetCounts.allAsset[t]!==r.count&&X.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(t){let r=await this.assetCountsService.getUserBookmarkCountByMap(t);r&&X.getState().assetCounts.bookmarkByMap[t]!==r.count&&X.actions.setBookmarkCountByMap({count:r.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let r=Object.keys(X.getState().assetCounts.bookmarkByMap).length!==0;t===le.BOOKMARKS&&r&&X.actions.clearBookmarkCountByMap(),X.getState().assetCounts.allAsset[t]!==void 0&&await this.loadAssetCount(t)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;X.actions.bookmarks(r)}}},ru=new ci;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=ru);var ui=class{addCommand(t,r=!1){C.commands.add(t,r)}consumeCommand(t){return C.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new ui;var ce=m(w());var ua,Tt=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},nu=Symbol("clearAfterUnitTest"),sn=class extends(0,ce.withEventBus)(se){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ua]=()=>{this.defaultMessages={},this.cache=new ce.CacheRegistry,this.listeners={}},this.currentUiLocale=C.getState().uiLocale,C.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=C.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),r&&Object.keys(r).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};(0,ce.deepEqual)(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}return this.fetchContext(t)}resolveContext(t){var r,n;return this.fetchContext(t),(n=(r=this.cache.getNow(t))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,r){let n=t.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(t,r,...n){var i;let s=t.toLowerCase(),o=this.resolveContext(s);return new ce.ParametrizedLabelResolver((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},o).resolve(r,...n)}async fetchContext(t){let r=!this.cache.has(t),n;try{n=await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),r&&await this.notify(t)}catch(i){!(i instanceof ce.CanceledPromiseError)&&r&&console.error(i)}return n}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){let t=Object.keys(this.listeners);document.body.dispatchEvent(new Tt({loadedContexts:t})),this.dispatchEvent(new Tt({loadedContexts:t})),await Promise.all(t.map(r=>this.notify(r,!1)))}async notify(t,r=!0){r&&(document.body.dispatchEvent(new Tt({loadedContexts:[t]})),this.dispatchEvent(new Tt({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,ce.delay)(0).then(()=>n()).catch(()=>null)))}};ua=nu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends sn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends sn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Ot=window.FluidTopicsI18nService,on=window.FluidTopicsCustomI18nService;var da=m(w()),di=class{highlightHtml(t,r,n){(0,da.highlightHtml)(t,r,n)}};window.FluidTopicsHighlightHtmlService=new di;var pa=m(w());var pi=class{isDate(t){var r,n,i,s;return(s=(n=((i=(r=C.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(a=>a.key===t))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1}format(t,r){var n,i,s,o;if(t==null)return"";try{return pa.DateFormatter.format(t,(n=r?.locale)!==null&&n!==void 0?n:C.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(o=r?.onlyTime)!==null&&o!==void 0?o:!1)}catch(a){throw console.error(`Date ${JSON.stringify(t)} is not valid`,a),a}}};window.FluidTopicsDateService=new pi;var fa=m(w());var nr=class{static get(t,r,{baseUrl:n,localesConfiguration:i,availableContentLocales:s}=C.getState()){var o;if(!r||s.length>0&&!s.some(a=>a.lang===r)){let a=i?.defaultLocales.defaultContentLocale;r=a?`${a.lang}-${a.region}`:(o=s[0])===null||o===void 0?void 0:o.lang}return new fa.SearchPlaceConverter(n,t??20,i?.allLanguagesAllowed,r,s)}};var fi=class{urlToSearchRequest(t){return nr.get().parse(t)}searchRequestToUrl(t){return nr.get().serialize(t)}};window.FluidTopicsUrlService=new fi;var Ne=m(w());var lt=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{nextLocation:t}})}};lt.eventName="before-location-change";var ct=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};ct.eventName="change";var hi=class{itemName(t){return`fluid-topics-history-item-${t}`}get(t){let r=sessionStorage.getItem(this.itemName(t));return r?JSON.parse(r):void 0}set(t,r){sessionStorage.setItem(this.itemName(t),JSON.stringify(r))}},ha=new hi;var an=class e extends Ne.WithEventBus{static build(){return new e(window.history,ha,()=>window.location,!1)}constructor(t,r,n,i){var s,o;super(),this.history=t,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=t.pushState,this.realReplaceState=t.replaceState,this.initialIndex=(o=(s=t.state)===null||s===void 0?void 0:s.index)!==null&&o!==void 0?o:t.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(t,r=!1){let n=r&&this.currentIndex===t.index-1;this.currentState={...this.buildCurrentState(),...t},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),(0,Ne.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new ct(this.currentItem())),0)}installProxies(){let t=r=>(n,i,[s,o,a])=>{let l=new URL(typeof a=="string"?a:(a??this.windowLocation()).href,window.location.origin!=="null"?window.location.origin:void 0),c=new lt(l);this.dispatchEvent(c);let u=r(),d={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:c.detail.nextLocation.href};n.apply(i,[d,o,d.href]),this.setCurrentState(d,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:t(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:t(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",t=>this.setCurrentState(t.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(t){for(let r=this.history.length-1;r>=0;r--)t?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(t){var r;let n={...this.buildCurrentState(),...t,index:this.currentIndex,title:(r=t?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addBeforeLocationChangeListener(t){this.addEventListener(lt.eventName,t)}removeBeforeLocationChangeListener(t){this.removeEventListener(lt.eventName,t)}addHistoryChangeListener(t){this.addEventListener(ct.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(ct.eventName,t)}currentItem(){return(0,Ne.deepCopy)(this.currentState)}back(){let t=this.previousDifferentMajorPosition();t>=0?this.history.go(t-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return(0,Ne.deepCopy)(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(t){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return(0,Ne.deepCopy)(r.find(n=>t(n)))}previousDifferentMajorPosition(){let t=this.currentIndex>0?this.currentIndex-1:0;for(;t>0&&!this.isDifferentMajorState(t);)t--;return t}forward(){let t=this.nextMajorPosition();t&&t<this.states.length?this.history.go(t-this.currentIndex):this.history.forward()}forwardItem(){let t=this.nextMajorPosition();if(t)return(0,Ne.deepCopy)(this.states[t])}nextMajorPosition(){let t=this.currentIndex;if(!(t>=this.states.length)){do t++;while(t<this.states.length&&!this.isDifferentMajorState(t));return this.getHigherPositionInTheSameState(t)}}getHigherPositionInTheSameState(t){var r;let n=(r=this.states[t])===null||r===void 0?void 0:r.majorStateId;if(!n)return t;let i=t,s=t+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var t,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(t=this.history.state)===null||t===void 0?void 0:t.title)!==null&&r!==void 0?r:document.title}}hasState(t){return this.states[t]!=null}isDifferentMajorState(t,r){var n;if(!this.hasState(t))return!1;let i=r??this.currentState.majorStateId,s=(n=this.states[t])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=an.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:e=>window.FluidTopicsInternalHistoryService.backwardItemMatching(e),addHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(e),removeHistoryChangeListener:e=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(e),addBeforeLocationChangeListener:e=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(e),removeBeforeLocationChangeListener:e=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(e)});var ma=m(V());var ya=ma.css`
|
|
170
|
+
`;var va=m(V()),Z=m(J()),dt=m(w());var we=m(w());function ga(e,t){let{authenticationRequired:r,session:n}=C.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var ln=class extends wt{async updateUiLocale(t){return(await this.awaitApi).updateUiLocale(t)}};var mi=class e extends we.FtStateManager{static build(t){return new e(C,t)}constructor(t,r){super(),this.store=t,this.cache=new we.CacheRegistry,this.withManualResources=!0,this.userLocaleService=new ln,this.knownContexts=new we.AbstractRegistry,this.knownCustomComponents=new we.AbstractRegistry,this.cleanSessionDebouncer=new we.Debouncer,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new we.Debouncer(500),this.apiProvider=r??(()=>at.get())}setWithManualResources(t){this.withManualResources=t,this.updateIfNeeded()}addListeners(){this.store.addEventListener(ot.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(ot.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let t=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(t)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var t;let r=await this.cache.get("availableContentLocales",()=>ga(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((t=r.contentLocales)!==null&&t!==void 0?t:[])}setStickyFilters(t){this.store.actions.stickyFilters(t)}setBaseUrl(t){this.store.actions.baseUrl(t),window.fluidTopicsBaseUrl=t}setTenantId(t){this.store.actions.tenantId(t)}setApiIntegrationIdentifier(t){this.store.actions.apiIntegrationIdentifier(t)}setApiIntegrationAppVersion(t){this.store.actions.apiIntegrationAppVersion(t)}setUiLocale(t){this.store.actions.uiLocale(t)}setLocalesConfiguration(t){this.store.actions.localesConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(t){this.store.actions.availableContentLocales(t),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(t,r){this.userLocaleService.updateUiLocale({uiLocale:t,contentLocale:r}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new rr(n)))}).catch(()=>{})}setMetadataConfiguration(t){this.store.actions.metadataConfiguration(t),setTimeout(()=>this.updateIfNeeded())}setNoCustom(t){this.store.actions.noCustom(t)}setEditorMode(t){this.store.actions.editorMode(t)}setNoCustomComponent(t){this.store.actions.noCustomComponent(t)}setNoCustomCode(t){this.store.actions.noCustomCode(t)}setSession(t){this.store.actions.session(t),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(t){this.store.actions.openExternalDocumentInNewTab(t)}setNavigatorOnline(t){this.store.actions.navigatorOnline(t)}setForcedOffline(t){this.store.actions.forcedOffline(t)}setAuthenticationRequired(t){this.store.actions.authenticationRequired(t)}userHasAnyRole(...t){return oa(C.getState().session,...t)}},xa=mi.build();var ut=class extends Event{constructor(t,r,n,i){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=r,this.callback=n,this.subscribe=i??!1}};var ir=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let r=this.pendingContextRequests.get(t.context);if(r===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:n}=r;for(let{elementRef:i,callbackRef:s}of n){let o=i.deref(),a=s.deref();o===void 0||a===void 0||o.dispatchEvent(new ut(t.context,o,a,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let r=t.contextTarget??t.composedPath()[0],n=t.callback,i=this.pendingContextRequests.get(t.context);i===void 0&&this.pendingContextRequests.set(t.context,i={callbacks:new WeakMap,requests:[]});let s=i.callbacks.get(r);s===void 0&&i.callbacks.set(r,s=new WeakSet),s.has(n)||(s.add(n),i.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(n)}))}}attach(t){t.addEventListener("context-request",this.onContextRequest),t.addEventListener("context-provider",this.onContextProvider)}detach(t){t.removeEventListener("context-request",this.onContextRequest),t.removeEventListener("context-provider",this.onContextProvider)}};var z=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},M=class extends dt.FtLitElementRedux{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=xa,this.contextRoot=new ir}render(){return va.html`
|
|
172
171
|
<slot></slot>
|
|
173
|
-
`}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.contextRoot.detach(document.body)}update(t){var
|
|
174
|
-
`;var
|
|
172
|
+
`}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.contextRoot.detach(document.body)}update(t){var r;super.update(t),t.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),t.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),t.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),t.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),t.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),t.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),t.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),t.has("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),t.has("session")&&this.stateManager.setSession(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Ot.addContext(n)),t.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),t.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),t.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};M.elementDefinitions={};M.styles=ya;z([(0,Z.property)()],M.prototype,"baseUrl",void 0);z([(0,Z.property)()],M.prototype,"tenantId",void 0);z([(0,Z.property)()],M.prototype,"apiIntegrationIdentifier",void 0);z([(0,Z.property)()],M.prototype,"apiIntegrationAppVersion",void 0);z([(0,Z.property)()],M.prototype,"uiLocale",void 0);z([(0,dt.jsonProperty)(null)],M.prototype,"availableUiLocales",void 0);z([(0,dt.jsonProperty)(null)],M.prototype,"metadataConfiguration",void 0);z([(0,Z.property)({type:Boolean})],M.prototype,"editorMode",void 0);z([(0,Z.property)({type:Boolean})],M.prototype,"noCustom",void 0);z([(0,Z.property)({type:Boolean})],M.prototype,"openExternalDocumentInNewTab",void 0);z([(0,Z.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],M.prototype,"noCustomComponent",void 0);z([(0,Z.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],M.prototype,"noCustomCode",void 0);z([(0,Z.property)({type:Boolean})],M.prototype,"withManualResources",void 0);z([(0,Z.property)({type:Boolean})],M.prototype,"navigatorOnline",void 0);z([(0,Z.property)({type:Boolean})],M.prototype,"forcedOffline",void 0);z([(0,Z.property)({type:Boolean})],M.prototype,"authenticationRequired",void 0);z([(0,dt.jsonProperty)([])],M.prototype,"messageContexts",void 0);z([(0,dt.jsonProperty)(void 0)],M.prototype,"session",void 0);var Ea=m(w());var ba={"ft-app-context":M};(0,Ea.customElements)(ba);var cn=class e{static build(t){return new e(t)}static buildCustom(t){return new e(t,!0)}static fromGwt(t){return new e(t)}get service(){return this.custom?on:Ot}constructor(t,r=!1){this.name=t,this.custom=r,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return o=>({context:this.name,key:s,custom:this.custom,args:typeof o=="function"?void 0:o,argsProvider:typeof o=="function"?o:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};var Nt=m(w());var Aa=m(J());var yi=class{fromLocalizableLabel(t){return t.type=="PLAIN_TEXT"?{message:t.text}:{key:t.key,custom:t.type=="LOCALIZED_CUSTOM",context:t.context,message:t.key}}fromAttribute(t){if(t!=null)try{return JSON.parse(t)}catch{if(this.isI18nKey(t)){let[r,n]=t.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Rt=new yi;var ou=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},or=Symbol("i18nAttributes"),Sa=Symbol("i18nListAttributes"),_a=Symbol("i18nProperties"),un=Symbol("i18nContexts"),sr=Symbol("i18nUnsubs"),Ca=(0,Nt.applyMixinOnce)(Symbol("withI18n"),function(e){var t,r;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[r]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?on:Ot}i18n(s){let{context:o,key:a,message:l}=s,{custom:c,args:u,argsProvider:d}=s;if(o&&a){this.hasI18nContext(o)||this.addI18nContext(o,void 0,c);let p=u??(d?d(this):[]);return this.getI18nService(c).resolveMessage(o,a,...p)}return l}async awaitI18n(s){let{context:o,custom:a}=s;return o&&await this.getI18nService(a).prepareContext(o),this.i18n(s)}customI18n(s,o){if(Rt.isI18nKey(s)){let[a,l]=s.split(".");return this.i18n({custom:!0,context:a,key:l,...o})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((o,a,l)=>s.has(a)||typeof o.argsProvider=="function"),this.updateI18nProperties(o=>typeof o.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((o,a,l)=>{var c;return((c=l?.context)===null||c===void 0?void 0:c.toLowerCase())===s}),this.updateI18nProperties(o=>o.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var o,a;let l=this,c=(u,d,p)=>p?.context&&p.key&&s(u,d,p)?{...p,message:this.i18n({context:p.context,key:p.key,custom:p.custom,...u})}:p;(o=this[or])===null||o===void 0||o.forEach((u,d)=>l[d]=c(u,d,l[d])),(a=this[Sa])===null||a===void 0||a.forEach((u,d)=>{var p;return l[d]=(p=l[d])===null||p===void 0?void 0:p.map(y=>c(u,d,y))})}updateI18nProperties(s){var o;(o=this[_a])===null||o===void 0||o.forEach((a,l)=>{s(a,l)&&(this[l]=this.i18n(a))})}addI18nMessages(s,o,a){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,o,a)}addI18nContext(s,o,a){let l=(typeof s=="string"?s:s.name).toLowerCase();a=typeof s=="string"?a:s.custom,this[un].set(l,{isCustomContext:a}),this[sr].has(l)||this[sr].set(l,this.getI18nService(a).subscribe(l,()=>this.onI18nUpdate(l))),this.getI18nService(a).prepareContext(l,o)}hasI18nContext(s){return this[un].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[un].forEach((s,o)=>this.addI18nContext(o,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[sr].forEach(s=>s()),this[sr].clear()}}return t=un,r=sr,ou([(0,Aa.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Lt=class extends Ca(Nt.FtLitElement){},dn=class extends Ca(Nt.FtLitElementRedux){};var wa=m(V());var Ta=wa.css`
|
|
173
|
+
`;var pn=m(V()),Dt=m(J()),fn=m(w());var Pt=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},ue=class extends dn{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(C)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:pn.nothing:pn.html`
|
|
175
174
|
<span class="ft-i18n">
|
|
176
175
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
177
176
|
</span>
|
|
178
|
-
`}update(t){var
|
|
177
|
+
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};ue.elementDefinitions={};ue.styles=Ta;Pt([(0,fn.redux)()],ue.prototype,"editorMode",void 0);Pt([(0,Dt.property)()],ue.prototype,"context",void 0);Pt([(0,Dt.property)()],ue.prototype,"key",void 0);Pt([(0,fn.jsonProperty)([])],ue.prototype,"args",void 0);Pt([(0,Dt.property)()],ue.prototype,"defaultMessage",void 0);Pt([(0,Dt.state)()],ue.prototype,"editorMessage",void 0);var Ra=m(w());var Oa={"ft-i18n":ue};(0,Ra.customElements)(Oa);var Oe=m(w());var Ua=m(V()),K=m(J()),$a=m(vr()),ar=m(w());var Ma=m(V()),B=m(w()),La=B.FtCssVariableFactory.extend("--ft-ripple-color","",B.designSystemVariables.colorContent),Q={color:La,backgroundColor:B.FtCssVariableFactory.extend("--ft-ripple-background-color","",La),opacityContentOnSurfacePressed:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:B.FtCssVariableFactory.external(B.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:B.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Na=B.FtCssVariableFactory.extend("--ft-ripple-color","",B.designSystemVariables.colorPrimary),Pa={color:Na,backgroundColor:B.FtCssVariableFactory.extend("--ft-ripple-background-color","",Na)},Da=B.FtCssVariableFactory.extend("--ft-ripple-color","",B.designSystemVariables.colorSecondary),ka={color:Da,backgroundColor:B.FtCssVariableFactory.extend("--ft-ripple-background-color","",Da)},Ia=Ma.css`
|
|
179
178
|
:host {
|
|
180
179
|
display: contents;
|
|
181
180
|
}
|
|
@@ -188,7 +187,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
188
187
|
|
|
189
188
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
190
189
|
overflow: hidden;
|
|
191
|
-
border-radius: ${
|
|
190
|
+
border-radius: ${Q.borderRadius};
|
|
192
191
|
}
|
|
193
192
|
|
|
194
193
|
.ft-ripple .ft-ripple--background,
|
|
@@ -222,27 +221,27 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
222
221
|
}
|
|
223
222
|
|
|
224
223
|
.ft-ripple .ft-ripple--background {
|
|
225
|
-
background-color: ${
|
|
224
|
+
background-color: ${Q.backgroundColor};
|
|
226
225
|
}
|
|
227
226
|
|
|
228
227
|
.ft-ripple .ft-ripple--effect {
|
|
229
|
-
background-color: ${
|
|
228
|
+
background-color: ${Q.color};
|
|
230
229
|
}
|
|
231
230
|
|
|
232
231
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
233
|
-
background-color: ${
|
|
232
|
+
background-color: ${ka.backgroundColor};
|
|
234
233
|
}
|
|
235
234
|
|
|
236
235
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
237
|
-
background-color: ${
|
|
236
|
+
background-color: ${ka.color};
|
|
238
237
|
}
|
|
239
238
|
|
|
240
239
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
241
|
-
background-color: ${
|
|
240
|
+
background-color: ${Pa.backgroundColor};
|
|
242
241
|
}
|
|
243
242
|
|
|
244
243
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
245
|
-
background-color: ${
|
|
244
|
+
background-color: ${Pa.color};
|
|
246
245
|
}
|
|
247
246
|
|
|
248
247
|
.ft-ripple .ft-ripple--background {
|
|
@@ -272,33 +271,33 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
272
271
|
}
|
|
273
272
|
|
|
274
273
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
275
|
-
opacity: ${
|
|
274
|
+
opacity: ${Q.opacityContentOnSurfaceHover};
|
|
276
275
|
}
|
|
277
276
|
|
|
278
277
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
279
|
-
opacity: ${
|
|
278
|
+
opacity: ${Q.opacityContentOnSurfaceSelected};
|
|
280
279
|
}
|
|
281
280
|
|
|
282
281
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
283
|
-
opacity: ${
|
|
282
|
+
opacity: ${Q.opacityContentOnSurfaceFocused};
|
|
284
283
|
}
|
|
285
284
|
|
|
286
285
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
287
|
-
opacity: ${
|
|
286
|
+
opacity: ${Q.opacityContentOnSurfacePressed};
|
|
288
287
|
transform: translate(-50%, -50%) scale(1);
|
|
289
288
|
}
|
|
290
|
-
`;var
|
|
289
|
+
`;var ee=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},I=class extends ar.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 ar.Debouncer(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ar.Debouncer(10),this.moveRipple=t=>{var r,n;let{x:i,y:s}=this.getCoordinates(t),o=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-o.x:o.width/2),this.originY=Math.round(s!=null?s-o.y:o.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 Ua.html`
|
|
291
290
|
<style>
|
|
292
291
|
.ft-ripple .ft-ripple--effect {
|
|
293
292
|
left: ${this.originX}px;
|
|
294
293
|
top: ${this.originY}px;
|
|
295
294
|
}
|
|
296
295
|
</style>
|
|
297
|
-
<div class="${(0
|
|
296
|
+
<div class="${(0,$a.classMap)(t)}">
|
|
298
297
|
<div class="ft-ripple--background"></div>
|
|
299
298
|
<div class="ft-ripple--effect"></div>
|
|
300
299
|
</div>
|
|
301
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var
|
|
300
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.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 t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...a)=>l=>{a.forEach(c=>window.addEventListener(c,this.endPress,{once:!0})),this.startPress(l)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),s=a=>{["Enter"," "].includes(a.key)&&r("keyup")(a)},o={passive:!0};t.addEventListener("mouseover",this.startHover,o),t.addEventListener("mousemove",this.moveRipple,o),t.addEventListener("mouseleave",this.endHover,o),t.addEventListener("mousedown",n,o),t.addEventListener("touchstart",i,o),t.addEventListener("touchmove",this.moveRipple,o),t.addEventListener("keydown",s,o),t.addEventListener("focus",this.startFocus,o),t.addEventListener("blur",this.endFocus,o),t.addEventListener("focusin",this.startFocus,o),t.addEventListener("focusout",this.endFocus,o),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,o),t.removeEventListener("mousemove",this.moveRipple,o),t.removeEventListener("mouseleave",this.endHover,o),t.removeEventListener("mousedown",n,o),t.removeEventListener("touchstart",i,o),t.removeEventListener("touchmove",this.moveRipple,o),t.removeEventListener("keydown",s,o),t.removeEventListener("focus",this.startFocus,o),t.removeEventListener("blur",this.endFocus,o),t.removeEventListener("focusin",this.startFocus,o),t.removeEventListener("focusout",this.endFocus,o),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,i,s;return r.x!=null?{x:i,y:s}=r:n.touches!=null&&(i=n.touches[0].clientX,s=n.touches[0].clientY),{x:i,y:s}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};I.elementDefinitions={};I.styles=Ia;ee([(0,K.property)({type:Boolean})],I.prototype,"primary",void 0);ee([(0,K.property)({type:Boolean})],I.prototype,"secondary",void 0);ee([(0,K.property)({type:Boolean})],I.prototype,"unbounded",void 0);ee([(0,K.property)({type:Boolean})],I.prototype,"activated",void 0);ee([(0,K.property)({type:Boolean})],I.prototype,"selected",void 0);ee([(0,K.property)({type:Boolean})],I.prototype,"disabled",void 0);ee([(0,K.state)()],I.prototype,"hovered",void 0);ee([(0,K.state)()],I.prototype,"focused",void 0);ee([(0,K.state)()],I.prototype,"pressed",void 0);ee([(0,K.state)()],I.prototype,"rippling",void 0);ee([(0,K.state)()],I.prototype,"originX",void 0);ee([(0,K.state)()],I.prototype,"originY",void 0);ee([(0,K.query)(".ft-ripple")],I.prototype,"ripple",void 0);ee([(0,K.query)(".ft-ripple--effect")],I.prototype,"rippleEffect",void 0);var Ha=m(w());var Ba={"ft-ripple":I};(0,Ha.customElements)(Ba);var vl=m(V()),pe=m(J()),de=m(w());var Fa=m(V()),Be=m(w()),lr={distance:Be.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Be.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Be.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:Be.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",Be.designSystemVariables.borderRadiusS),maxWidth:Be.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Va=Fa.css`
|
|
302
301
|
.ft-tooltip--container {
|
|
303
302
|
display: block;
|
|
304
303
|
}
|
|
@@ -316,20 +315,20 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
316
315
|
box-sizing: border-box;
|
|
317
316
|
overflow: hidden;
|
|
318
317
|
width: max-content;
|
|
319
|
-
max-width: ${
|
|
318
|
+
max-width: ${lr.maxWidth};
|
|
320
319
|
text-align: center;
|
|
321
|
-
padding: ${
|
|
320
|
+
padding: ${lr.distance};
|
|
322
321
|
}
|
|
323
322
|
|
|
324
323
|
.ft-tooltip--content {
|
|
325
324
|
padding: 4px 8px;
|
|
326
|
-
border-radius: ${
|
|
327
|
-
background-color: ${
|
|
328
|
-
color: ${
|
|
325
|
+
border-radius: ${lr.borderRadiusS};
|
|
326
|
+
background-color: ${lr.backgroundColor};
|
|
327
|
+
color: ${lr.color};
|
|
329
328
|
position: relative;
|
|
330
329
|
word-break: break-word;
|
|
331
330
|
}
|
|
332
|
-
`;var Js=["top","right","bottom","left"],Xs=["start","end"],_n=Js.reduce((e,t)=>e.concat(t,t+"-"+Xs[0],t+"-"+Xs[1]),[]),fr=Math.min,Ve=Math.max,hr=Math.round;var Te=e=>({x:e,y:e}),hd={left:"right",right:"left",bottom:"top",top:"bottom"};function Qs(e,t,o){return Ve(e,fr(t,o))}function vo(e,t){return typeof e=="function"?e(t):e}function yr(e){return e.split("-")[0]}function Ke(e){return e.split("-")[1]}function Rn(e){return e==="x"?"y":"x"}function Ln(e){return e==="y"?"height":"width"}function Co(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Tn(e){return Rn(Co(e))}function ec(e,t,o){o===void 0&&(o=!1);let n=Ke(e),a=Tn(e),s=Ln(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=wn(c)),[c,wn(c)]}function tc(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function wn(e){let t=yr(e);return hd[t]+e.slice(t.length)}function yd(e){var t,o,n,a;return{top:(t=e.top)!=null?t:0,right:(o=e.right)!=null?o:0,bottom:(n=e.bottom)!=null?n:0,left:(a=e.left)!=null?a:0}}function rc(e){return typeof e!="number"?yd(e):{top:e,right:e,bottom:e,left:e}}function gt(e){let{x:t,y:o,width:n,height:a}=e;return{width:n,height:a,top:o,left:t,right:t+n,bottom:o+a,x:t,y:o}}function oc(e,t,o){let{reference:n,floating:a}=e,s=Co(t),c=Tn(t),d=Ln(c),u=yr(t),p=s==="y",f=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,y=n[d]/2-a[d]/2,x;switch(u){case"top":x={x:f,y:n.y-a.height};break;case"bottom":x={x:f,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:h};break;case"left":x={x:n.x-a.width,y:h};break;default:x={x:n.x,y:n.y}}let C=Ke(t);return C&&(x[c]+=y*(C==="end"?1:-1)*(o&&p?-1:1)),x}async function nc(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:s,rects:c,elements:d,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:y=!1,padding:x=0}=vo(t,e),C=rc(x),v=d[y?h==="floating"?"reference":"floating":h],_=gt(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(v)))==null||o?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:p,rootBoundary:f,strategy:u})),I=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),O=await(s.isElement==null?void 0:s.isElement(E))&&await(s.getScale==null?void 0:s.getScale(E))||{x:1,y:1},D=gt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:I,offsetParent:E,strategy:u}):I);return{top:(_.top-D.top+C.top)/O.y,bottom:(D.bottom-_.bottom+C.bottom)/O.y,left:(_.left-D.left+C.left)/O.x,right:(D.right-_.right+C.right)/O.x}}var md=50,ic=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:c}=o,d=c.detectOverflow?c:{...c,detectOverflow:nc},u=await(c.isRTL==null?void 0:c.isRTL(t)),p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:h}=oc(p,n,u),y=n,x=0,C={};for(let A=0;A<s.length;A++){let v=s[A];if(!v)continue;let{name:_,fn:I}=v,{x:E,y:O,data:D,reset:k}=await I({x:f,y:h,initialPlacement:n,placement:y,strategy:a,middlewareData:C,rects:p,platform:d,elements:{reference:e,floating:t}});f=E??f,h=O??h,C[_]={...C[_],...D},k&&x<md&&(x++,typeof k=="object"&&(k.placement&&(y=k.placement),k.rects&&(p=k.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):k.rects),{x:f,y:h}=oc(p,y,u)),A=-1)}return{x:f,y:h,placement:y,strategy:a,middlewareData:C}};function gd(e,t,o){return(e?[...o.filter(a=>Ke(a)===e),...o.filter(a=>Ke(a)!==e)]:o.filter(a=>yr(a)===a)).filter(a=>e?Ke(a)===e||(t?tc(a)!==a:!1):!0)}var ac=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:s,middlewareData:c,placement:d,platform:u,elements:p}=t,{crossAxis:f=!1,alignment:h,allowedPlacements:y=_n,autoAlignment:x=!0,...C}=vo(e,t),A=h!==void 0||y===_n?gd(h||null,x,y):y,v=((o=c.autoPlacement)==null?void 0:o.index)||0,_=A[v];if(_==null)return{};if(d!==_)return{reset:{placement:A[0]}};let I=await u.detectOverflow(t,C),E=ec(_,s,await(u.isRTL==null?void 0:u.isRTL(p.floating))),O=[I[yr(_)],I[E[0]],I[E[1]]],D=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:O}],k=A[v+1];if(k)return{data:{index:v+1,overflows:D},reset:{placement:k}};let V=D.map(le=>{let zt=Ke(le.placement);return[le.placement,zt&&f?le.overflows.slice(0,2).reduce((jc,Zc)=>jc+Zc,0):le.overflows[0],le.overflows]}).sort((le,zt)=>le[1]-zt[1]),Cr=((a=V.filter(le=>le[2].slice(0,Ke(le[0])?2:3).every(zt=>zt<=0))[0])==null?void 0:a[0])||V[0][0];return Cr!==d?{data:{index:v+1,overflows:D},reset:{placement:Cr}}:{}}}};var sc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a,platform:s}=t,{mainAxis:c=!0,crossAxis:d=!1,limiter:u={fn:I=>{let{x:E,y:O}=I;return{x:E,y:O}}},...p}=vo(e,t),f={x:o,y:n},h=await s.detectOverflow(t,p),y=Co(a),x=Rn(y),C=f[x],A=f[y],v=(I,E)=>Qs(E+h[I==="y"?"top":"left"],E,E-h[I==="y"?"bottom":"right"]);c&&(C=v(x,C)),d&&(A=v(y,A));let _=u.fn({...t,[x]:C,[y]:A});return{..._,data:{x:_.x-o,y:_.y-n,enabled:{[x]:c,[y]:d}}}}}};function Oo(){return typeof window<"u"}function xt(e){return lc(e)?(e.nodeName||"").toLowerCase():"#document"}function ne(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Me(e){var t;return(t=(lc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lc(e){return Oo()?e instanceof Node||e instanceof ne(e).Node:!1}function Se(e){return Oo()?e instanceof Element||e instanceof ne(e).Element:!1}function Ue(e){return Oo()?e instanceof HTMLElement||e instanceof ne(e).HTMLElement:!1}function cc(e){return!Oo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ne(e).ShadowRoot}function mr(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&a!=="inline"&&a!=="contents"}function dc(e){return/^(table|td|th)$/.test(xt(e))}function gr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var bd=/transform|translate|scale|rotate|perspective|filter/,xd=/paint|layout|strict|content/,bt=e=>!!e&&e!=="none",kn;function Bt(e){let t=Se(e)?ve(e):e;return bt(t.transform)||bt(t.translate)||bt(t.scale)||bt(t.rotate)||bt(t.perspective)||!Ao()&&(bt(t.backdropFilter)||bt(t.filter))||bd.test(t.willChange||"")||xd.test(t.contain||"")}function uc(e){let t=je(e);for(;Ue(t)&&!Ft(t);){if(Bt(t))return t;if(gr(t))return null;t=je(t)}return null}function Ao(){return kn==null&&(kn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),kn}function Ft(e){return/^(html|body|#document)$/.test(xt(e))}function ve(e){return ne(e).getComputedStyle(e)}function br(e){return Se(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function je(e){if(xt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||cc(e)&&e.host||Me(e);return cc(t)?t.host:t}function pc(e){let t=je(e);return Ft(t)?(e.ownerDocument||e).body:Ue(t)&&mr(t)?t:pc(t)}function Eo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=pc(e),s=a===((n=e.ownerDocument)==null?void 0:n.body),c=ne(a);if(s){let d=wo(c);return t.concat(c,c.visualViewport||[],mr(a)?a:[],d&&o?Eo(d):[])}else return t.concat(a,Eo(a,[],o))}function wo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yc(e){let t=ve(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Ue(e),s=a?e.offsetWidth:o,c=a?e.offsetHeight:n,d=hr(o)!==s||hr(n)!==c;return d&&(o=s,n=c),{width:o,height:n,$:d}}function mc(e){return Se(e)?e:e.contextElement}function $t(e){let t=mc(e);if(!Ue(t))return Te(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:s}=yc(t),c=(s?hr(o.width):o.width)/n,d=(s?hr(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var Sd=Te(0);function gc(e){let t=ne(e);return!Ao()||!t.visualViewport?Sd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function vd(e,t,o){return t===void 0&&(t=!1),!!o&&t&&o===ne(e)}function xr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),s=mc(e),c=Te(1);t&&(n?Se(n)&&(c=$t(n)):c=$t(e));let d=vd(s,o,n)?gc(s):Te(0),u=(a.left+d.x)/c.x,p=(a.top+d.y)/c.y,f=a.width/c.x,h=a.height/c.y;if(s&&n){let y=ne(s),x=Se(n)?ne(n):n,C=y,A=wo(C);for(;A&&x!==C;){let v=$t(A),_=A.getBoundingClientRect(),I=ve(A),E=_.left+(A.clientLeft+parseFloat(I.paddingLeft))*v.x,O=_.top+(A.clientTop+parseFloat(I.paddingTop))*v.y;u*=v.x,p*=v.y,f*=v.x,h*=v.y,u+=E,p+=O,C=ne(A),A=wo(C)}}return gt({width:f,height:h,x:u,y:p})}function _o(e,t){let o=br(e).scrollLeft;return t?t.left+o:xr(Me(e)).left+o}function bc(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-_o(e,o),a=o.top+t.scrollTop;return{x:n,y:a}}function Cd(e){let{elements:t,rect:o,offsetParent:n,strategy:a}=e,s=a==="fixed",c=Me(n),d=t?gr(t.floating):!1;if(n===c||d&&s)return o;let u={scrollLeft:0,scrollTop:0},p=Te(1),f=Te(0),h=Ue(n);if((h||!s)&&((xt(n)!=="body"||mr(c))&&(u=br(n)),h)){let x=xr(n);p=$t(n),f.x=x.x+n.clientLeft,f.y=x.y+n.clientTop}let y=c&&!h&&!s?bc(c,u):Te(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+f.x+y.x,y:o.y*p.y-u.scrollTop*p.y+f.y+y.y}}function Ed(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Od(e){let t=br(e),o=e.ownerDocument.body,n=Ve(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=Ve(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-t.scrollLeft+_o(e),c=-t.scrollTop;return ve(o).direction==="rtl"&&(s+=Ve(e.clientWidth,o.clientWidth)-n),{width:n,height:a,x:s,y:c}}var Ad=25;function wd(e,t,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",a=ne(e),s=Me(e),c=a.visualViewport,d=s.clientWidth,u=s.clientHeight,p=0,f=0;if(c){let y=!Ao()||t==="fixed";n?y||(p=-c.offsetLeft,f=-c.offsetTop):(d=c.width,u=c.height,y&&(p=c.offsetLeft,f=c.offsetTop))}if(_o(s)<=0){let y=s.ownerDocument,x=y.body,C=getComputedStyle(x),A=y.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,v=Math.abs(s.clientWidth-x.clientWidth-A),_=getComputedStyle(s).scrollbarGutter==="stable both-edges"?v/2:v;_<=Ad&&(d-=_)}return{width:d,height:u,x:p,y:f}}function _d(e,t){let o=xr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,s=$t(e),c=e.clientWidth*s.x,d=e.clientHeight*s.y,u=a*s.x,p=n*s.y;return{width:c,height:d,x:u,y:p}}function fc(e,t,o){let n;if(t==="viewport"||t==="layoutViewport")n=wd(e,o,t);else if(t==="document")n=Od(Me(e));else if(Se(t))n=_d(t,o);else{let a=gc(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return gt(n)}function Rd(e,t){let o=t.get(e);if(o)return o;let n=Eo(e,[],!1).filter(d=>Se(d)&&xt(d)!=="body"),a=null,s=ve(e).position==="fixed",c=s?je(e):e;for(;Se(c)&&!Ft(c);){let d=ve(c),u=Bt(c),p=a?a.position:s?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&d.position==="static")?n=n.filter(h=>h!==c):a=d,c=je(c)}return t.set(e,n),n}function Ld(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?gr(t)?[]:Rd(t,this._c):[].concat(o),n],d=fc(t,c[0],a),u=d.top,p=d.right,f=d.bottom,h=d.left;for(let y=1;y<c.length;y++){let x=fc(t,c[y],a);u=Ve(x.top,u),p=fr(x.right,p),f=fr(x.bottom,f),h=Ve(x.left,h)}return{width:p-h,height:f-u,x:h,y:u}}function Td(e){let{width:t,height:o}=yc(e);return{width:t,height:o}}function kd(e,t,o){let n=Ue(t),a=Me(t),s=o==="fixed",c=xr(e,!0,s,t),d={scrollLeft:0,scrollTop:0},u=Te(0);if((n||!s)&&((xt(t)!=="body"||mr(a))&&(d=br(t)),n)){let y=xr(t,!0,s,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}!n&&a&&(u.x=_o(a));let p=a&&!n&&!s?bc(a,d):Te(0),f=c.left+d.scrollLeft-u.x-p.x,h=c.top+d.scrollTop-u.y-p.y;return{x:f,y:h,width:c.width,height:c.height}}function Nn(e){return ve(e).position==="static"}function hc(e,t){if(!Ue(e)||ve(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Me(e)===o&&(o=o.ownerDocument.body),o}function xc(e,t){let o=ne(e);if(gr(e))return o;if(!Ue(e)){let a=je(e);for(;a&&!Ft(a);){if(Se(a)&&!Nn(a))return a;a=je(a)}return o}let n=hc(e,t);for(;n&&dc(n)&&Nn(n);)n=hc(n,t);return n&&Ft(n)&&Nn(n)&&!Bt(n)?o:n||uc(e)||o}var Nd=async function(e){let t=this.getOffsetParent||xc,o=this.getDimensions,n=await o(e.floating);return{reference:kd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Id(e){return ve(e).direction==="rtl"}var Ro={convertOffsetParentRelativeRectToViewportRelativeRect:Cd,getDocumentElement:Me,getClippingRect:Ld,getOffsetParent:xc,getElementRects:Nd,getClientRects:Ed,getDimensions:Td,getScale:$t,isElement:Se,isRTL:Id};var Sc=ac,vc=sc;var Cc=(e,t,o)=>{let n=new Map,a=o??{},s={...Ro,...a.platform,_c:n};return ic(e,t,{...a,platform:s})};function Ec(e){return Pd(e)}function In(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Pd(e){for(let t=e;t;t=In(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=In(e);t;t=In(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||Bt(o)||t.tagName==="BODY"))return t}return null}async function Oc(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},Cc(e,t,{strategy:n.strategy,platform:{...Ro,getOffsetParent:a=>Ro.getOffsetParent(a,Ec)},middleware:[vc({crossAxis:!0}),Sc({allowedPlacements:[n.placement]})]})}var Ac=g(L());var Pn=class{fromAttribute(t){if(!t)return[];try{let o=JSON.parse(t);return Array.isArray(o)?o.map(n=>typeof n=="string"?Pt.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},Dd=new Pn;var wc=(e,t)=>(o,n)=>{var a;o.constructor.createProperty(n,{type:Object,hasChanged:Ac.hasChanged,converter:Pt,...t}),o[dr]=(a=o[dr])!==null&&a!==void 0?a:new Map,o[dr].set(n,e??{})};var Ce=function(e,t,o,n){var a=arguments.length,s=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(c=e[d])&&(s=(a<3?c(s):a>3?c(t,o,s):c(t,o))||s);return a>3&&s&&Object.defineProperty(t,o,s),s},K=class extends mo{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new he.Debouncer,this.revealDebouncer=new he.Debouncer,this.onTouch=t=>{this.isIgnored(t)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.composedPath().includes(this.container)||this.onOut(o)},{once:!0}),100))},this.onHover=t=>{this.isIgnored(t)?this.matchesIgnored(t)&&this.hide():this.show()},this.onFocusIn=t=>{!this.isIgnored(t)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var t,o;return _c.html`
|
|
331
|
+
`;var za=["top","right","bottom","left"],ja=["start","end"],xi=za.reduce((e,t)=>e.concat(t,t+"-"+ja[0],t+"-"+ja[1]),[]),cr=Math.min,He=Math.max,ur=Math.round;var Te=e=>({x:e,y:e}),au={left:"right",right:"left",bottom:"top",top:"bottom"};function Wa(e,t,r){return He(e,cr(t,r))}function hn(e,t){return typeof e=="function"?e(t):e}function dr(e){return e.split("-")[0]}function Fe(e){return e.split("-")[1]}function vi(e){return e==="x"?"y":"x"}function bi(e){return e==="y"?"height":"width"}function mn(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function Ei(e){return vi(mn(e))}function Ka(e,t,r){r===void 0&&(r=!1);let n=Fe(e),i=Ei(e),s=bi(i),o=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=gi(o)),[o,gi(o)]}function Ga(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function gi(e){let t=dr(e);return au[t]+e.slice(t.length)}function lu(e){var t,r,n,i;return{top:(t=e.top)!=null?t:0,right:(r=e.right)!=null?r:0,bottom:(n=e.bottom)!=null?n:0,left:(i=e.left)!=null?i:0}}function qa(e){return typeof e!="number"?lu(e):{top:e,right:e,bottom:e,left:e}}function pt(e){let{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function Ya(e,t,r){let{reference:n,floating:i}=e,s=mn(t),o=Ei(t),a=bi(o),l=dr(t),c=s==="y",u=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,p=n[a]/2-i[a]/2,y;switch(l){case"top":y={x:u,y:n.y-i.height};break;case"bottom":y={x:u,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:d};break;case"left":y={x:n.x-i.width,y:d};break;default:y={x:n.x,y:n.y}}let v=Fe(t);return v&&(y[o]+=p*(v==="end"?1:-1)*(r&&c?-1:1)),y}async function Xa(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:y=0}=hn(t,e),v=qa(y),x=a[p?d==="floating"?"reference":"floating":d],_=pt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(x)))==null||r?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),L=d==="floating"?{x:n,y:i,width:o.floating.width,height:o.floating.height}:o.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),E=await(s.isElement==null?void 0:s.isElement(b))&&await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1},P=pt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:L,offsetParent:b,strategy:l}):L);return{top:(_.top-P.top+v.top)/E.y,bottom:(P.bottom-_.bottom+v.bottom)/E.y,left:(_.left-P.left+v.left)/E.x,right:(P.right-_.right+v.right)/E.x}}var cu=50,Za=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:o}=r,a=o.detectOverflow?o:{...o,detectOverflow:Xa},l=await(o.isRTL==null?void 0:o.isRTL(t)),c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Ya(c,n,l),p=n,y=0,v={};for(let A=0;A<s.length;A++){let x=s[A];if(!x)continue;let{name:_,fn:L}=x,{x:b,y:E,data:P,reset:O}=await L({x:u,y:d,initialPlacement:n,placement:p,strategy:i,middlewareData:v,rects:c,platform:a,elements:{reference:e,floating:t}});u=b??u,d=E??d,v[_]={...v[_],...P},O&&y<cu&&(y++,typeof O=="object"&&(O.placement&&(p=O.placement),O.rects&&(c=O.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):O.rects),{x:u,y:d}=Ya(c,p,l)),A=-1)}return{x:u,y:d,placement:p,strategy:i,middlewareData:v}};function uu(e,t,r){return(e?[...r.filter(i=>Fe(i)===e),...r.filter(i=>Fe(i)!==e)]:r.filter(i=>dr(i)===i)).filter(i=>e?Fe(i)===e||(t?Ga(i)!==i:!1):!0)}var Ja=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:s,middlewareData:o,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:d,allowedPlacements:p=xi,autoAlignment:y=!0,...v}=hn(e,t),A=d!==void 0||p===xi?uu(d||null,y,p):p,x=((r=o.autoPlacement)==null?void 0:r.index)||0,_=A[x];if(_==null)return{};if(a!==_)return{reset:{placement:A[0]}};let L=await l.detectOverflow(t,v),b=Ka(_,s,await(l.isRTL==null?void 0:l.isRTL(c.floating))),E=[L[dr(_)],L[b[0]],L[b[1]]],P=[...((n=o.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:E}],O=A[x+1];if(O)return{data:{index:x+1,overflows:P},reset:{placement:O}};let F=P.map(oe=>{let $t=Fe(oe.placement);return[oe.placement,$t&&u?oe.overflows.slice(0,2).reduce((Hl,Fl)=>Hl+Fl,0):oe.overflows[0],oe.overflows]}).sort((oe,$t)=>oe[1]-$t[1]),xr=((i=F.filter(oe=>oe[2].slice(0,Fe(oe[0])?2:3).every($t=>$t<=0))[0])==null?void 0:i[0])||F[0][0];return xr!==a?{data:{index:x+1,overflows:P},reset:{placement:xr}}:{}}}};var Qa=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i,platform:s}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:L=>{let{x:b,y:E}=L;return{x:b,y:E}}},...c}=hn(e,t),u={x:r,y:n},d=await s.detectOverflow(t,c),p=mn(i),y=vi(p),v=u[y],A=u[p],x=(L,b)=>Wa(b+d[L==="y"?"top":"left"],b,b-d[L==="y"?"bottom":"right"]);o&&(v=x(y,v)),a&&(A=x(p,A));let _=l.fn({...t,[y]:v,[p]:A});return{..._,data:{x:_.x-r,y:_.y-n,enabled:{[y]:o,[p]:a}}}}}};function gn(){return typeof window<"u"}function ht(e){return tl(e)?(e.nodeName||"").toLowerCase():"#document"}function te(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Pe(e){var t;return(t=(tl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function tl(e){return gn()?e instanceof Node||e instanceof te(e).Node:!1}function ge(e){return gn()?e instanceof Element||e instanceof te(e).Element:!1}function De(e){return gn()?e instanceof HTMLElement||e instanceof te(e).HTMLElement:!1}function el(e){return!gn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof te(e).ShadowRoot}function pr(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=xe(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&i!=="inline"&&i!=="contents"}function rl(e){return/^(table|td|th)$/.test(ht(e))}function fr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var du=/transform|translate|scale|rotate|perspective|filter/,pu=/paint|layout|strict|content/,ft=e=>!!e&&e!=="none",Ai;function kt(e){let t=ge(e)?xe(e):e;return ft(t.transform)||ft(t.translate)||ft(t.scale)||ft(t.rotate)||ft(t.perspective)||!xn()&&(ft(t.backdropFilter)||ft(t.filter))||du.test(t.willChange||"")||pu.test(t.contain||"")}function nl(e){let t=Ve(e);for(;De(t)&&!Mt(t);){if(kt(t))return t;if(fr(t))return null;t=Ve(t)}return null}function xn(){return Ai==null&&(Ai=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ai}function Mt(e){return/^(html|body|#document)$/.test(ht(e))}function xe(e){return te(e).getComputedStyle(e)}function hr(e){return ge(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ve(e){if(ht(e)==="html")return e;let t=e.assignedSlot||e.parentNode||el(e)&&e.host||Pe(e);return el(t)?t.host:t}function il(e){let t=Ve(e);return Mt(t)?(e.ownerDocument||e).body:De(t)&&pr(t)?t:il(t)}function yn(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=il(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),o=te(i);if(s){let a=vn(o);return t.concat(o,o.visualViewport||[],pr(i)?i:[],a&&r?yn(a):[])}else return t.concat(i,yn(i,[],r))}function vn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function al(e){let t=xe(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=De(e),s=i?e.offsetWidth:r,o=i?e.offsetHeight:n,a=ur(r)!==s||ur(n)!==o;return a&&(r=s,n=o),{width:r,height:n,$:a}}function ll(e){return ge(e)?e:e.contextElement}function It(e){let t=ll(e);if(!De(t))return Te(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:s}=al(t),o=(s?ur(r.width):r.width)/n,a=(s?ur(r.height):r.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}var fu=Te(0);function cl(e){let t=te(e);return!xn()||!t.visualViewport?fu:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function hu(e,t,r){return t===void 0&&(t=!1),!!r&&t&&r===te(e)}function mr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),s=ll(e),o=Te(1);t&&(n?ge(n)&&(o=It(n)):o=It(e));let a=hu(s,r,n)?cl(s):Te(0),l=(i.left+a.x)/o.x,c=(i.top+a.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(s&&n){let p=te(s),y=ge(n)?te(n):n,v=p,A=vn(v);for(;A&&y!==v;){let x=It(A),_=A.getBoundingClientRect(),L=xe(A),b=_.left+(A.clientLeft+parseFloat(L.paddingLeft))*x.x,E=_.top+(A.clientTop+parseFloat(L.paddingTop))*x.y;l*=x.x,c*=x.y,u*=x.x,d*=x.y,l+=b,c+=E,v=te(A),A=vn(v)}}return pt({width:u,height:d,x:l,y:c})}function bn(e,t){let r=hr(e).scrollLeft;return t?t.left+r:mr(Pe(e)).left+r}function ul(e,t){let r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-bn(e,r),i=r.top+t.scrollTop;return{x:n,y:i}}function mu(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e,s=i==="fixed",o=Pe(n),a=t?fr(t.floating):!1;if(n===o||a&&s)return r;let l={scrollLeft:0,scrollTop:0},c=Te(1),u=Te(0),d=De(n);if((d||!s)&&((ht(n)!=="body"||pr(o))&&(l=hr(n)),d)){let y=mr(n);c=It(n),u.x=y.x+n.clientLeft,u.y=y.y+n.clientTop}let p=o&&!d&&!s?ul(o,l):Te(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:r.y*c.y-l.scrollTop*c.y+u.y+p.y}}function yu(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function gu(e){let t=hr(e),r=e.ownerDocument.body,n=He(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=He(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight),s=-t.scrollLeft+bn(e),o=-t.scrollTop;return xe(r).direction==="rtl"&&(s+=He(e.clientWidth,r.clientWidth)-n),{width:n,height:i,x:s,y:o}}var xu=25;function vu(e,t,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=te(e),s=Pe(e),o=i.visualViewport,a=s.clientWidth,l=s.clientHeight,c=0,u=0;if(o){let p=!xn()||t==="fixed";n?p||(c=-o.offsetLeft,u=-o.offsetTop):(a=o.width,l=o.height,p&&(c=o.offsetLeft,u=o.offsetTop))}if(bn(s)<=0){let p=s.ownerDocument,y=p.body,v=getComputedStyle(y),A=p.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,x=Math.abs(s.clientWidth-y.clientWidth-A),_=getComputedStyle(s).scrollbarGutter==="stable both-edges"?x/2:x;_<=xu&&(a-=_)}return{width:a,height:l,x:c,y:u}}function bu(e,t){let r=mr(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,s=It(e),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,c=n*s.y;return{width:o,height:a,x:l,y:c}}function sl(e,t,r){let n;if(t==="viewport"||t==="layoutViewport")n=vu(e,r,t);else if(t==="document")n=gu(Pe(e));else if(ge(t))n=bu(t,r);else{let i=cl(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return pt(n)}function Eu(e,t){let r=t.get(e);if(r)return r;let n=yn(e,[],!1).filter(a=>ge(a)&&ht(a)!=="body"),i=null,s=xe(e).position==="fixed",o=s?Ve(e):e;for(;ge(o)&&!Mt(o);){let a=xe(o),l=kt(o),c=i?i.position:s?"fixed":"";!l&&(c==="fixed"||c==="absolute"&&a.position==="static")?n=n.filter(d=>d!==o):i=a,o=Ve(o)}return t.set(e,n),n}function Au(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,o=[...r==="clippingAncestors"?fr(t)?[]:Eu(t,this._c):[].concat(r),n],a=sl(t,o[0],i),l=a.top,c=a.right,u=a.bottom,d=a.left;for(let p=1;p<o.length;p++){let y=sl(t,o[p],i);l=He(y.top,l),c=cr(y.right,c),u=cr(y.bottom,u),d=He(y.left,d)}return{width:c-d,height:u-l,x:d,y:l}}function Su(e){let{width:t,height:r}=al(e);return{width:t,height:r}}function _u(e,t,r){let n=De(t),i=Pe(t),s=r==="fixed",o=mr(e,!0,s,t),a={scrollLeft:0,scrollTop:0},l=Te(0);if((n||!s)&&((ht(t)!=="body"||pr(i))&&(a=hr(t)),n)){let p=mr(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}!n&&i&&(l.x=bn(i));let c=i&&!n&&!s?ul(i,a):Te(0),u=o.left+a.scrollLeft-l.x-c.x,d=o.top+a.scrollTop-l.y-c.y;return{x:u,y:d,width:o.width,height:o.height}}function Si(e){return xe(e).position==="static"}function ol(e,t){if(!De(e)||xe(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Pe(e)===r&&(r=r.ownerDocument.body),r}function dl(e,t){let r=te(e);if(fr(e))return r;if(!De(e)){let i=Ve(e);for(;i&&!Mt(i);){if(ge(i)&&!Si(i))return i;i=Ve(i)}return r}let n=ol(e,t);for(;n&&rl(n)&&Si(n);)n=ol(n,t);return n&&Mt(n)&&Si(n)&&!kt(n)?r:n||nl(e)||r}var Cu=async function(e){let t=this.getOffsetParent||dl,r=this.getDimensions,n=await r(e.floating);return{reference:_u(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function wu(e){return xe(e).direction==="rtl"}var En={convertOffsetParentRelativeRectToViewportRelativeRect:mu,getDocumentElement:Pe,getClippingRect:Au,getOffsetParent:dl,getElementRects:Cu,getClientRects:yu,getDimensions:Su,getScale:It,isElement:ge,isRTL:wu};var pl=Ja,fl=Qa;var hl=(e,t,r)=>{let n=new Map,i=r??{},s={...En,...i.platform,_c:n};return Za(e,t,{...i,platform:s})};function ml(e){return Tu(e)}function _i(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Tu(e){for(let t=e;t;t=_i(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=_i(e);t;t=_i(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||kt(r)||t.tagName==="BODY"))return t}return null}async function yl(e,t,r){let n;return typeof r=="object"?n=r:n={placement:r},hl(e,t,{strategy:n.strategy,platform:{...En,getOffsetParent:i=>En.getOffsetParent(i,ml)},middleware:[fl({crossAxis:!0}),pl({allowedPlacements:[n.placement]})]})}var gl=m(w());var Ci=class{fromAttribute(t){if(!t)return[];try{let r=JSON.parse(t);return Array.isArray(r)?r.map(n=>typeof n=="string"?Rt.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},Ou=new Ci;var xl=(e,t)=>(r,n)=>{var i;r.constructor.createProperty(n,{type:Object,hasChanged:gl.hasChanged,converter:Rt,...t}),r[or]=(i=r[or])!==null&&i!==void 0?i:new Map,r[or].set(n,e??{})};var ve=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},j=class extends Lt{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new de.Debouncer,this.revealDebouncer=new de.Debouncer,this.onTouch=t=>{this.isIgnored(t)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=t=>{this.isIgnored(t)?this.matchesIgnored(t)&&this.hide():this.show()},this.onFocusIn=t=>{!this.isIgnored(t)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=t=>{this.isIgnored(t)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var t,r;return vl.html`
|
|
333
332
|
<div part="container"
|
|
334
333
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
335
334
|
<slot part="slot"></slot>
|
|
@@ -339,12 +338,12 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
339
338
|
<div part="tooltip-content" class="ft-tooltip--content">
|
|
340
339
|
<slot name="text"></slot>
|
|
341
340
|
<ft-typography variant="${Ae.caption}" ?hidden=${!(!((t=this.text)===null||t===void 0)&&t.message)}>
|
|
342
|
-
${(
|
|
341
|
+
${(r=this.text)===null||r===void 0?void 0:r.message}
|
|
343
342
|
</ft-typography>
|
|
344
343
|
</div>
|
|
345
344
|
</div>
|
|
346
345
|
</div>
|
|
347
|
-
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var
|
|
346
|
+
`}setupFor(t){this.eventsTarget!==t&&(this.removeHandlers(),this.eventsTarget=t,this.eventsTarget.addEventListener("mouseover",this.onHover,{passive:!0}),this.eventsTarget.addEventListener("mouseleave",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("focusin",this.onFocusIn,{passive:!0}),this.eventsTarget.addEventListener("focusout",this.onOut,{passive:!0}),this.eventsTarget.addEventListener("touchstart",this.onTouch,{passive:!0}),this.eventsTarget.addEventListener("click",this.onClick,{passive:!0}))}removeHandlers(){this.eventsTarget&&(this.eventsTarget.removeEventListener("mouseover",this.onHover),this.eventsTarget.removeEventListener("mouseleave",this.onOut),this.eventsTarget.removeEventListener("focusin",this.onFocusIn),this.eventsTarget.removeEventListener("focusout",this.onOut),this.eventsTarget.removeEventListener("touchstart",this.onTouch),this.eventsTarget.removeEventListener("click",this.onClick),this.eventsTarget=void 0)}defaultSetup(){this.container&&this.setupFor(this.container)}updated(t){var r,n;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(r=this.tooltip)===null||r===void 0||r.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.eventsTarget==null&&this.defaultSetup()})}disconnectedCallback(){super.disconnectedCallback(),this.removeHandlers()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}async showTemporaryText(t,r){let n=this.manual;this.manual=!0;let i=this.text;this.text={message:t},await this.show(r),this.text=i,this.manual=n}hide(){this.visible=!1}toggle(){this.visible=!this.visible}isVisible(){return this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&yl(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${r}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${de.designSystemVariables.transitionDuration}, left ${de.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}matchesIgnored(t){return(0,de.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}isIgnored(t){return this.manual||this.matchesIgnored(t)}};j.elementDefinitions={"ft-typography":re};j.styles=Va;ve([xl()],j.prototype,"text",void 0);ve([(0,pe.property)({type:Boolean})],j.prototype,"manual",void 0);ve([(0,pe.property)({type:Boolean})],j.prototype,"inline",void 0);ve([(0,de.numberProperty)()],j.prototype,"delay",void 0);ve([(0,pe.property)()],j.prototype,"position",void 0);ve([(0,de.jsonProperty)([])],j.prototype,"ignoreMatchingElements",void 0);ve([(0,pe.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);ve([(0,pe.query)(".ft-tooltip--container")],j.prototype,"container",void 0);ve([(0,pe.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);ve([(0,pe.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);ve([(0,pe.state)()],j.prototype,"visible",void 0);var El=m(w());var bl={"ft-tooltip":j};(0,El.customElements)(bl);var Al=m(V()),yr=m(w()),mt={color:yr.FtCssVariableFactory.extend("--ft-loader-color","",yr.designSystemVariables.colorPrimary),size:yr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Sl=Al.css`
|
|
348
347
|
:host {
|
|
349
348
|
line-height: 0;
|
|
350
349
|
}
|
|
@@ -353,8 +352,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
353
352
|
display: inline-block;
|
|
354
353
|
position: relative;
|
|
355
354
|
|
|
356
|
-
width: ${
|
|
357
|
-
height: ${
|
|
355
|
+
width: ${mt.size};
|
|
356
|
+
height: ${mt.size};
|
|
358
357
|
}
|
|
359
358
|
|
|
360
359
|
.ft-loader div {
|
|
@@ -363,7 +362,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
363
362
|
width: 25%;
|
|
364
363
|
height: 25%;
|
|
365
364
|
border-radius: 50%;
|
|
366
|
-
background: ${
|
|
365
|
+
background: ${mt.color};
|
|
367
366
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
368
367
|
}
|
|
369
368
|
|
|
@@ -410,17 +409,17 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
410
409
|
transform: translate(0, 0);
|
|
411
410
|
}
|
|
412
411
|
100% {
|
|
413
|
-
transform: translate(calc(0.35 * ${
|
|
412
|
+
transform: translate(calc(0.35 * ${mt.size}), 0);
|
|
414
413
|
}
|
|
415
414
|
}
|
|
416
|
-
`;var
|
|
415
|
+
`;var _l=m(V()),Cl=m(w());var yt=class extends Cl.FtLitElement{render(){return _l.html`
|
|
417
416
|
<div class="ft-loader">
|
|
418
417
|
<div></div>
|
|
419
418
|
<div></div>
|
|
420
419
|
<div></div>
|
|
421
420
|
<div></div>
|
|
422
421
|
</div>
|
|
423
|
-
`}};
|
|
422
|
+
`}};yt.styles=Sl;var Tl=m(w());var wl={"ft-loader":yt};(0,Tl.customElements)(wl);var ze=m(V()),Sn=m(vr()),N=m(J());var je=e=>e??U;var An=m(V()),S=m(w());var Ol=S.FtCssVariableFactory.extend("--ft-button-color","",S.designSystemVariables.colorPrimary),H={backgroundColor:S.FtCssVariableFactory.extend("--ft-button-background-color","",S.designSystemVariables.colorSurface),borderRadius:S.FtCssVariableFactory.extend("--ft-button-border-radius","",S.designSystemVariables.borderRadiusL),color:Ol,fontSize:S.FtCssVariableFactory.extend("--ft-button-font-size","",me.fontSize),iconSize:S.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:S.FtCssVariableFactory.extend("--ft-button-ripple-color","",Ol),verticalPadding:S.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:S.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:S.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:S.FtCssVariableFactory.external(S.designSystemVariables.colorOpacityDisabled,"Design system")},Rl=S.FtCssVariableFactory.extend("--ft-button-primary-color","",S.FtCssVariableFactory.extend("--ft-button-color","",S.designSystemVariables.colorOnPrimary)),wi={backgroundColor:S.FtCssVariableFactory.extend("--ft-button-primary-background-color","",S.FtCssVariableFactory.extend("--ft-button-background-color","",S.designSystemVariables.colorPrimary)),color:Rl,rippleColor:S.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Rl)},be={borderRadius:S.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",S.FtCssVariableFactory.extend("--ft-button-border-radius","",S.designSystemVariables.borderRadiusM)),verticalPadding:S.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:S.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:S.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},Ll=An.css`
|
|
424
423
|
:host {
|
|
425
424
|
display: inline-block;
|
|
426
425
|
max-width: 100%;
|
|
@@ -430,7 +429,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
430
429
|
.ft-button {
|
|
431
430
|
box-shadow: 0px 0px 0px transparent;
|
|
432
431
|
text-shadow: 0px 0px 0px transparent;
|
|
433
|
-
font-size: ${
|
|
432
|
+
font-size: ${H.fontSize};
|
|
434
433
|
text-decoration: none;
|
|
435
434
|
position: relative;
|
|
436
435
|
display: flex;
|
|
@@ -441,15 +440,15 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
441
440
|
border: none;
|
|
442
441
|
pointer-events: auto;
|
|
443
442
|
|
|
444
|
-
--button-internal-line-height: max(calc(${
|
|
445
|
-
--button-internal-color: ${
|
|
446
|
-
${(0,
|
|
447
|
-
${(0,
|
|
448
|
-
${(0,
|
|
443
|
+
--button-internal-line-height: max(calc(${H.fontSize} + 2px), ${H.iconSize});
|
|
444
|
+
--button-internal-color: ${H.color};
|
|
445
|
+
${(0,S.setVariable)(fe.size,H.iconSize)};
|
|
446
|
+
${(0,S.setVariable)(Q.color,H.rippleColor)};
|
|
447
|
+
${(0,S.setVariable)(Q.borderRadius,H.borderRadius)};
|
|
449
448
|
|
|
450
|
-
border-radius: ${
|
|
451
|
-
padding: ${
|
|
452
|
-
background-color: ${
|
|
449
|
+
border-radius: ${H.borderRadius};
|
|
450
|
+
padding: ${H.verticalPadding} ${H.horizontalPadding};
|
|
451
|
+
background-color: ${H.backgroundColor};
|
|
453
452
|
color: var(--button-internal-color);
|
|
454
453
|
|
|
455
454
|
.ft-button--label {
|
|
@@ -458,9 +457,9 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
458
457
|
white-space: nowrap;
|
|
459
458
|
text-overflow: ellipsis;
|
|
460
459
|
display: block;
|
|
461
|
-
margin: 0 ${
|
|
462
|
-
${(0,
|
|
463
|
-
${(0,
|
|
460
|
+
margin: 0 ${H.iconPadding};
|
|
461
|
+
${(0,S.setVariable)(me.fontSize,"1em")};
|
|
462
|
+
${(0,S.setVariable)(me.lineHeight,"var(--button-internal-line-height)")};
|
|
464
463
|
}
|
|
465
464
|
|
|
466
465
|
[part="icon"] {
|
|
@@ -489,48 +488,48 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
489
488
|
}
|
|
490
489
|
|
|
491
490
|
&:focus-visible {
|
|
492
|
-
outline: 2px solid ${
|
|
491
|
+
outline: 2px solid ${S.designSystemVariables.colorPrimary};
|
|
493
492
|
outline-offset: 2px;
|
|
494
493
|
}
|
|
495
494
|
|
|
496
495
|
&[disabled] {
|
|
497
496
|
filter: grayscale(1);
|
|
498
|
-
opacity: ${
|
|
497
|
+
opacity: ${H.opacityDisabled};
|
|
499
498
|
}
|
|
500
499
|
|
|
501
500
|
&.ft-button--primary {
|
|
502
|
-
background-color: ${
|
|
503
|
-
--button-internal-color: ${
|
|
504
|
-
${(0,
|
|
501
|
+
background-color: ${wi.backgroundColor};
|
|
502
|
+
--button-internal-color: ${wi.color};
|
|
503
|
+
${(0,S.setVariable)(Q.color,wi.rippleColor)};
|
|
505
504
|
}
|
|
506
505
|
|
|
507
506
|
&.ft-button--outlined {
|
|
508
507
|
border: 1px solid var(--button-internal-color);
|
|
509
|
-
padding: calc(${
|
|
508
|
+
padding: calc(${H.verticalPadding} - 1px) calc(${H.horizontalPadding} - 1px);
|
|
510
509
|
}
|
|
511
510
|
|
|
512
511
|
&.ft-button--dense {
|
|
513
|
-
padding: ${
|
|
514
|
-
border-radius: ${
|
|
515
|
-
${(0,
|
|
512
|
+
padding: ${be.verticalPadding} ${be.horizontalPadding};
|
|
513
|
+
border-radius: ${be.borderRadius};
|
|
514
|
+
${(0,S.setVariable)(Q.borderRadius,be.borderRadius)};
|
|
516
515
|
|
|
517
516
|
.ft-button--label {
|
|
518
|
-
margin: 0 ${
|
|
517
|
+
margin: 0 ${be.iconPadding};
|
|
519
518
|
}
|
|
520
519
|
}
|
|
521
520
|
|
|
522
521
|
&.ft-button--dense.ft-button--outlined {
|
|
523
|
-
padding: calc(${
|
|
522
|
+
padding: calc(${be.verticalPadding} - 1px) calc(${be.horizontalPadding} - 1px);
|
|
524
523
|
}
|
|
525
524
|
|
|
526
525
|
&.ft-button--round {
|
|
527
|
-
border-radius: calc(var(--button-internal-line-height) / 2 + ${
|
|
528
|
-
${(0,
|
|
526
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${H.verticalPadding});
|
|
527
|
+
${(0,S.setVariable)(Q.borderRadius,An.css`calc(var(--button-internal-line-height) / 2 + ${H.verticalPadding})`)};
|
|
529
528
|
}
|
|
530
529
|
|
|
531
530
|
&.ft-button--round.ft-button--dense {
|
|
532
|
-
border-radius: calc(var(--button-internal-line-height) / 2 + ${
|
|
533
|
-
${(0,
|
|
531
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${be.verticalPadding});
|
|
532
|
+
${(0,S.setVariable)(Q.borderRadius,An.css`calc(var(--button-internal-line-height) / 2 + ${be.verticalPadding})`)};
|
|
534
533
|
}
|
|
535
534
|
|
|
536
535
|
&.ft-button--no-text {
|
|
@@ -538,18 +537,18 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
538
537
|
margin: 0;
|
|
539
538
|
}
|
|
540
539
|
|
|
541
|
-
padding: ${
|
|
540
|
+
padding: ${H.verticalPadding};
|
|
542
541
|
|
|
543
542
|
&.ft-button--dense {
|
|
544
|
-
padding: ${
|
|
543
|
+
padding: ${be.verticalPadding};
|
|
545
544
|
}
|
|
546
545
|
|
|
547
546
|
&.ft-button--outlined {
|
|
548
|
-
padding: calc(${
|
|
547
|
+
padding: calc(${H.verticalPadding} - 1px);
|
|
549
548
|
}
|
|
550
549
|
|
|
551
550
|
&.ft-button--outlined.ft-button--dense {
|
|
552
|
-
padding: calc(${
|
|
551
|
+
padding: calc(${be.verticalPadding} - 1px);
|
|
553
552
|
}
|
|
554
553
|
}
|
|
555
554
|
|
|
@@ -559,10 +558,10 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
559
558
|
}
|
|
560
559
|
|
|
561
560
|
ft-loader {
|
|
562
|
-
${(0,
|
|
563
|
-
${(0,
|
|
561
|
+
${(0,S.setVariable)(mt.size,H.iconSize)};
|
|
562
|
+
${(0,S.setVariable)(mt.color,"var(--button-internal-color)")};
|
|
564
563
|
}
|
|
565
|
-
`;var
|
|
564
|
+
`;var D=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},T=class e extends(0,Oe.toFtFormComponent)(Oe.FtLitElement){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-button--no-text":!this.hasTextContent,"ft-no-text-select":!0}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.ariaExpanded=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.hasTextContent=!1,this.addEventListener("click",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var t,r,n;let i={"ft-button--label":!0,"ft-safari-ellipsis-fix":Oe.isSafari},s=ze.html`
|
|
566
565
|
<ft-ripple part="ripple"
|
|
567
566
|
?disabled=${this.isDisabled()}
|
|
568
567
|
?activated=${this.activated}
|
|
@@ -570,41 +569,41 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
570
569
|
<ft-typography part="label"
|
|
571
570
|
variant="${Ae.button}"
|
|
572
571
|
element="span"
|
|
573
|
-
class="${(0,
|
|
572
|
+
class="${(0,Sn.classMap)(i)}">
|
|
574
573
|
<slot></slot>
|
|
575
574
|
</ft-typography>
|
|
576
575
|
${this.resolveIcon()}
|
|
577
|
-
`,
|
|
578
|
-
<a href="${
|
|
576
|
+
`,o=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(o?ze.html`
|
|
577
|
+
<a href="${o}"
|
|
579
578
|
target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
|
|
580
579
|
part="button"
|
|
581
|
-
class="${(0,
|
|
582
|
-
aria-label="${
|
|
580
|
+
class="${(0,Sn.classMap)(this.buttonClasses)}"
|
|
581
|
+
aria-label="${je((r=this.ariaLabel)!==null&&r!==void 0?r:this.label)}"
|
|
583
582
|
?disabled=${this.isDisabled()}>
|
|
584
583
|
${s}
|
|
585
584
|
</a>
|
|
586
|
-
`:
|
|
585
|
+
`:ze.html`
|
|
587
586
|
<button part="button"
|
|
588
|
-
class="${(0,
|
|
589
|
-
aria-label="${
|
|
590
|
-
aria-haspopup="${
|
|
591
|
-
aria-pressed="${
|
|
592
|
-
aria-expanded="${
|
|
587
|
+
class="${(0,Sn.classMap)(this.buttonClasses)}"
|
|
588
|
+
aria-label="${je((n=this.ariaLabel)!==null&&n!==void 0?n:this.label)}"
|
|
589
|
+
aria-haspopup="${je(this.ariaHasPopup)}"
|
|
590
|
+
aria-pressed="${je(this.ariaPressed)}"
|
|
591
|
+
aria-expanded="${je(this.ariaExpanded)}"
|
|
593
592
|
?disabled=${this.isDisabled()}>
|
|
594
593
|
${s}
|
|
595
594
|
</button>
|
|
596
|
-
`)}addTooltipIfNeeded(t){return this.label&&this.label.trim().length>0&&(this.forceTooltip||!this.hasTextContent&&!this.hideTooltip)?
|
|
595
|
+
`)}addTooltipIfNeeded(t){return this.label&&this.label.trim().length>0&&(this.forceTooltip||!this.hasTextContent&&!this.hideTooltip)?ze.html`
|
|
597
596
|
<ft-tooltip part="tooltip"
|
|
598
597
|
text="${this.label}"
|
|
599
598
|
position="${this.tooltipPosition}">
|
|
600
599
|
${t}
|
|
601
600
|
</ft-tooltip>
|
|
602
|
-
`:t}resolveIcon(){return this.loading?
|
|
603
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
601
|
+
`:t}resolveIcon(){return this.loading?ze.html`
|
|
602
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?ze.html`
|
|
604
603
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
605
|
-
`:
|
|
604
|
+
`:ze.html`
|
|
606
605
|
<slot part="icon" name="icon"></slot>
|
|
607
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,
|
|
606
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}showTooltip(){var t;(t=this.tooltip)===null||t===void 0||t.show()}showTemporaryTooltip(t,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,r)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(t){super.contentAvailableCallback(t),this.labelContainer&&e.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&e.labelsObserver.unobserve(this.labelContainer)}};T.elementDefinitions={"ft-ripple":I,"ft-tooltip":j,"ft-icon":Y,"ft-loader":yt,"ft-typography":re};T.styles=[Oe.safariEllipsisFix,Ll,Oe.noTextSelect];T.labelsObserver=new IntersectionObserver(e=>{for(let t of e){let r=t.target.getRootNode();r instanceof ShadowRoot&&r.host?r.host.hasTextContent=t.boundingClientRect.width>0:T.labelsObserver.unobserve(t.target)}});D([(0,N.property)({type:Boolean})],T.prototype,"primary",void 0);D([(0,N.property)({type:Boolean})],T.prototype,"outlined",void 0);D([(0,N.property)({type:Boolean})],T.prototype,"dense",void 0);D([(0,N.property)({type:Boolean})],T.prototype,"round",void 0);D([(0,N.property)({type:Boolean})],T.prototype,"disabled",void 0);D([(0,N.property)()],T.prototype,"icon",void 0);D([(0,N.property)()],T.prototype,"iconVariant",void 0);D([(0,N.property)({type:Boolean})],T.prototype,"trailingIcon",void 0);D([(0,N.property)()],T.prototype,"label",void 0);D([(0,N.property)()],T.prototype,"type",void 0);D([(0,N.property)()],T.prototype,"href",void 0);D([(0,N.property)()],T.prototype,"target",void 0);D([(0,N.property)({type:Boolean})],T.prototype,"loading",void 0);D([(0,N.property)({attribute:"aria-label"})],T.prototype,"ariaLabel",void 0);D([(0,N.property)()],T.prototype,"ariaHasPopup",void 0);D([(0,N.property)({attribute:"aria-pressed"})],T.prototype,"ariaPressed",void 0);D([(0,N.property)({attribute:"aria-expanded"})],T.prototype,"ariaExpanded",void 0);D([(0,N.property)()],T.prototype,"tooltipPosition",void 0);D([(0,N.property)({type:Boolean})],T.prototype,"hideTooltip",void 0);D([(0,N.property)({type:Boolean})],T.prototype,"forceTooltip",void 0);D([(0,N.property)({type:Boolean})],T.prototype,"activated",void 0);D([(0,N.query)(".ft-button")],T.prototype,"button",void 0);D([(0,N.query)(".ft-button--label")],T.prototype,"labelContainer",void 0);D([(0,N.state)()],T.prototype,"hasTextContent",void 0);D([(0,N.query)(".ft-button--label slot")],T.prototype,"slottedContent",void 0);D([(0,N.query)("[part=tooltip]")],T.prototype,"tooltip",void 0);var Pl=m(w());var Nl={"ft-button":T};(0,Pl.customElements)(Nl);var Dl=m(V()),R=m(w()),k={shadow:R.FtCssVariableFactory.extend("--ft-modal-shadow","",R.designSystemVariables.elevation03),borderRadius:R.FtCssVariableFactory.extend("--ft-modal-border-radius","",R.designSystemVariables.borderRadiusM),height:R.FtCssVariableFactory.create("--ft-modal-height","","SIZE","fit-content"),width:R.FtCssVariableFactory.create("--ft-modal-width","","SIZE","800px"),headerPadding:R.FtCssVariableFactory.create("--ft-modal-header-padding","","SIZE","8px 16px"),headerGap:R.FtCssVariableFactory.create("--ft-modal-header-gap","","SIZE","8px"),headerBorderColor:R.FtCssVariableFactory.extend("--ft-modal-header-border-color","",R.designSystemVariables.colorOutline),headerBorderWidth:R.FtCssVariableFactory.create("--ft-modal-header-border-width","","SIZE","1px"),headerBackgroundColor:R.FtCssVariableFactory.extend("--ft-modal-header-background-color","",R.designSystemVariables.colorSurface),headerColor:R.FtCssVariableFactory.extend("--ft-modal-header-color","",R.designSystemVariables.colorOnSurfaceHigh),headerIconColor:R.FtCssVariableFactory.extend("--ft-modal-header-icon-color","",R.designSystemVariables.colorOnSurfaceHigh),contentPadding:R.FtCssVariableFactory.create("--ft-modal-content-padding","","SIZE","16px"),contentGap:R.FtCssVariableFactory.create("--ft-modal-content-gap","","SIZE","16px"),contentBackgroundColor:R.FtCssVariableFactory.extend("--ft-modal-content-background-color","",R.designSystemVariables.colorSurface),contentColor:R.FtCssVariableFactory.extend("--ft-modal-content-color","",R.designSystemVariables.colorOnSurfaceMedium),actionsGap:R.FtCssVariableFactory.create("--ft-modal-action-gap","","SIZE","8px"),overlayBackgroundColor:R.FtCssVariableFactory.create("--ft-modal-overlay-background-color","","COLOR","rgb(10, 10, 13)"),overlayOpacity:R.FtCssVariableFactory.create("--ft-modal-overlay-opacity","","NUMBER","0.4"),closingButtonColor:R.FtCssVariableFactory.extend("--ft-modal-closing-button-color","",R.designSystemVariables.colorOnSurfaceMedium),contentOverflow:R.FtCssVariableFactory.create("--ft-modal-content-overflow","","UNKNOWN","visible")},kl=Dl.css`
|
|
608
607
|
|
|
609
608
|
@keyframes fade-in {
|
|
610
609
|
0% {
|
|
@@ -612,7 +611,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
612
611
|
}
|
|
613
612
|
|
|
614
613
|
100% {
|
|
615
|
-
opacity: ${
|
|
614
|
+
opacity: ${k.overlayOpacity};
|
|
616
615
|
}
|
|
617
616
|
}
|
|
618
617
|
|
|
@@ -636,8 +635,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
636
635
|
|
|
637
636
|
position: absolute;
|
|
638
637
|
inset: 0;
|
|
639
|
-
background-color: ${
|
|
640
|
-
opacity: ${
|
|
638
|
+
background-color: ${k.overlayBackgroundColor};
|
|
639
|
+
opacity: ${k.overlayOpacity};
|
|
641
640
|
}
|
|
642
641
|
|
|
643
642
|
[part=inner-container] {
|
|
@@ -652,27 +651,27 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
652
651
|
top: 50%;
|
|
653
652
|
bottom: unset;
|
|
654
653
|
transform: translate(0, -50%);
|
|
655
|
-
box-shadow: ${
|
|
656
|
-
height: ${
|
|
657
|
-
width: ${
|
|
654
|
+
box-shadow: ${k.shadow};
|
|
655
|
+
height: ${k.height};
|
|
656
|
+
width: ${k.width};
|
|
658
657
|
margin: auto;
|
|
659
658
|
max-height: calc(100% - 24px);
|
|
660
659
|
max-width: calc(100% - 24px);
|
|
661
|
-
border-radius: ${
|
|
660
|
+
border-radius: ${k.borderRadius};
|
|
662
661
|
}
|
|
663
662
|
}
|
|
664
663
|
|
|
665
664
|
[part=header] {
|
|
666
|
-
padding: ${
|
|
665
|
+
padding: ${k.headerPadding};
|
|
667
666
|
display: flex;
|
|
668
667
|
align-items: center;
|
|
669
|
-
gap: ${
|
|
670
|
-
border-color: ${
|
|
671
|
-
border-bottom-width: ${
|
|
668
|
+
gap: ${k.headerGap};
|
|
669
|
+
border-color: ${k.headerBorderColor};
|
|
670
|
+
border-bottom-width: ${k.headerBorderWidth};
|
|
672
671
|
border-bottom-style: solid;
|
|
673
|
-
color: ${
|
|
674
|
-
background-color: ${
|
|
675
|
-
border-radius: ${
|
|
672
|
+
color: ${k.headerColor};
|
|
673
|
+
background-color: ${k.headerBackgroundColor};
|
|
674
|
+
border-radius: ${k.borderRadius} ${k.borderRadius} 0px 0px;
|
|
676
675
|
flex-shrink: 0;
|
|
677
676
|
}
|
|
678
677
|
|
|
@@ -682,7 +681,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
682
681
|
}
|
|
683
682
|
|
|
684
683
|
[part=icon] {
|
|
685
|
-
color: ${
|
|
684
|
+
color: ${k.headerIconColor};
|
|
686
685
|
}
|
|
687
686
|
|
|
688
687
|
[part=closing-button] {
|
|
@@ -692,30 +691,30 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
692
691
|
[part=body] {
|
|
693
692
|
flex-shrink: 1;
|
|
694
693
|
flex-grow: 1;
|
|
695
|
-
padding: ${
|
|
694
|
+
padding: ${k.contentPadding};
|
|
696
695
|
display: flex;
|
|
697
696
|
flex-direction: column;
|
|
698
|
-
gap: ${
|
|
699
|
-
color: ${
|
|
700
|
-
background-color: ${
|
|
701
|
-
border-radius: 0px 0px ${
|
|
702
|
-
overflow: ${
|
|
697
|
+
gap: ${k.contentGap};
|
|
698
|
+
color: ${k.contentColor};
|
|
699
|
+
background-color: ${k.contentBackgroundColor};
|
|
700
|
+
border-radius: 0px 0px ${k.borderRadius} ${k.borderRadius};
|
|
701
|
+
overflow: ${k.contentOverflow};
|
|
703
702
|
word-break: break-word;
|
|
704
703
|
}
|
|
705
704
|
|
|
706
705
|
[part=content] {
|
|
707
706
|
flex-grow: 1;
|
|
708
|
-
overflow: ${
|
|
707
|
+
overflow: ${k.contentOverflow};
|
|
709
708
|
}
|
|
710
709
|
|
|
711
710
|
[part=actions] {
|
|
712
711
|
align-self: flex-end;
|
|
713
712
|
display: flex;
|
|
714
|
-
gap: ${
|
|
713
|
+
gap: ${k.actionsGap};
|
|
715
714
|
}
|
|
716
715
|
|
|
717
716
|
[part=closing-button] {
|
|
718
|
-
color: ${
|
|
717
|
+
color: ${k.closingButtonColor};
|
|
719
718
|
}
|
|
720
719
|
|
|
721
720
|
@media (max-width: 768px) {
|
|
@@ -725,18 +724,21 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
725
724
|
}
|
|
726
725
|
}
|
|
727
726
|
|
|
728
|
-
`;function
|
|
729
|
-
<div class="${(0,
|
|
727
|
+
`;function Ti(e,t,r){return e?t(e):r?.(e)}var Oi=cn.build("ftModal"),Ml={closeModal:"Close modal"};var gr=function(e,t,r,n){var i=arguments.length,s=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s},Ri=class extends Event{constructor(){super("close")}},Li=class extends Event{constructor(){super("open")}},Ee=class extends Lt{constructor(){super(),this.buttonLabel="",this.heading="",this.intersectionObserver=new IntersectionObserver(()=>{this.dialog&&!this.dialog.checkVisibility()&&this.close()}),this.setupI18nContext()}setupI18nContext(){this.addI18nContext(Oi,Ml)}getContainerClasses(){return{"ft-modal":!0}}render(){return Ut.html`
|
|
728
|
+
<div class="${(0,Ul.classMap)(this.getContainerClasses())}" part="container">
|
|
730
729
|
<slot @click=${this.onTriggerClick} name="trigger">
|
|
731
|
-
<ft-button part="button" icon="${
|
|
732
|
-
${
|
|
730
|
+
<ft-button part="button" icon="${je(this.buttonIcon)}" label="${this.buttonLabel}" ariaHasPopup="dialog">
|
|
731
|
+
${Ti(this.buttonIcon,()=>Ut.nothing,()=>this.buttonLabel)}
|
|
733
732
|
</ft-button>
|
|
734
733
|
</slot>
|
|
735
|
-
<dialog part="dialog" popover="manual"
|
|
734
|
+
<dialog part="dialog" popover="manual"
|
|
735
|
+
aria-labelledby="heading"
|
|
736
|
+
aria-modal="true"
|
|
737
|
+
${(0,Il.focusTrap)()}>
|
|
736
738
|
<div part="overlay" @click=${this.onOverlayClick}></div>
|
|
737
739
|
<div part="inner-container">
|
|
738
740
|
<div part="header">
|
|
739
|
-
${
|
|
741
|
+
${Ti(!!this.icon,()=>Ut.html`
|
|
740
742
|
<ft-icon part="icon" value="${this.icon}"></ft-icon>
|
|
741
743
|
`)}
|
|
742
744
|
<ft-typography id="heading" part="heading" role="heading" variant="${Ae.title}">
|
|
@@ -756,13 +758,13 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
756
758
|
</div>
|
|
757
759
|
</dialog>
|
|
758
760
|
</div>
|
|
759
|
-
`}renderCloseButton(){return
|
|
761
|
+
`}renderCloseButton(){return Ut.html`
|
|
760
762
|
<ft-button part="closing-button"
|
|
761
|
-
icon="${
|
|
763
|
+
icon="${xt.CLOSE}"
|
|
762
764
|
tertiary
|
|
763
|
-
label="${
|
|
765
|
+
label="${Oi.messages.closeModal()}"
|
|
764
766
|
tooltipPosition="left"
|
|
765
|
-
@click=${this.close}></ft-button>`}onTriggerClick(t){this.open(t.target)}open(t){this.elementToFocusOnClose=t,this.dialog&&(this.dialog.showPopover(),this.intersectionObserver.observe(this.dialog),this.dispatchEvent(new
|
|
767
|
+
@click=${this.close}></ft-button>`}onTriggerClick(t){this.open(t.target)}open(t){this.elementToFocusOnClose=t,this.dialog&&(this.dialog.showPopover({source:t}),this.intersectionObserver.observe(this.dialog),this.dispatchEvent(new Li))}close(){var t;(t=this.dialog)===null||t===void 0||t.hidePopover(),this.onClose()}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapePressed)}disconnectedCallback(){super.disconnectedCallback(),this.close(),this.removeEventListener("keydown",this.onEscapePressed)}onClose(){var t;this.intersectionObserver.disconnect(),(t=this.elementToFocusOnClose)===null||t===void 0||t.focus(),this.dispatchEvent(new Ri)}onOverlayClick(){this.close()}onEscapePressed(t){t.key==="Escape"&&(this.close(),t.stopPropagation())}};Ee.elementDefinitions={"ft-button":T,"ft-typography":re,"ft-icon":Y};Ee.styles=kl;gr([(0,gt.property)()],Ee.prototype,"buttonLabel",void 0);gr([(0,gt.property)()],Ee.prototype,"buttonIcon",void 0);gr([(0,gt.property)()],Ee.prototype,"heading",void 0);gr([(0,gt.property)()],Ee.prototype,"icon",void 0);gr([(0,gt.query)("dialog")],Ee.prototype,"dialog",void 0);var $l={"ft-modal":Ee};(0,Bl.customElements)($l);})();
|
|
766
768
|
/*! Bundled license information:
|
|
767
769
|
|
|
768
770
|
.store/lit-html-npm-3.3.3-0f054b825a/package/lit-html.js:
|