@fluid-topics/ft-modal 2.1.4 → 2.1.6
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.light.js +30 -30
- package/build/ft-modal.min.js +1 -1
- package/package.json +4 -4
package/build/ft-modal.light.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";(()=>{var Dc=Object.create;var kn=Object.defineProperty;var Mc=Object.getOwnPropertyDescriptor;var Uc=Object.getOwnPropertyNames;var Bc=Object.getPrototypeOf,Hc=Object.prototype.hasOwnProperty;var Zt=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(o){throw t=0,o}};var Fc=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Uc(t))!Hc.call(e,a)&&a!==o&&kn(e,a,{get:()=>t[a],enumerable:!(n=Mc(t,a))||n.enumerable});return e};var x=(e,t,o)=>(o=e!=null?Dc(Bc(e)):{},Fc(t||!e||!e.__esModule?kn(o,"default",{value:e,enumerable:!0}):o,e));var T=Zt((dd,Nn)=>{Nn.exports=ftGlobals.wcUtils});var F=Zt((ud,_n)=>{_n.exports=ftGlobals.lit});var J=Zt((pd,In)=>{In.exports=ftGlobals.litDecorators});var Or=Zt((fd,Dn)=>{Dn.exports=ftGlobals.litClassMap});var $n=Zt((kh,Fn)=>{Fn.exports=ftGlobals.litUnsafeHTML});var Ic=x(T());var Kt=x(F()),gt=x(J()),yo=x(T()),Nc=x(Or());var Ne=x(F(),1),He=e=>typeof e=="string"?(0,Ne.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let s=d=>He(d??a),c=Ne.css`var(${He(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=s,c.set=d=>Mn(c,d??s(a)),c.get=d=>Ne.css`var(${He(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(${He(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=>Mn(c,d??s(a)),c.get=d=>Ne.css`var(${He(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(${He(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(${He(t.name)}, ${n(s)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Mn(e,t){return He(`${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)")},yd={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")},gd={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")},bd={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")},xd={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")},vd={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")},Sd={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")},Cd={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")},Od={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")},Ed={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")},Ad={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")},wd={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")},Rd={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")},Ld={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")},Td={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")},Pd={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")},kd={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 Hd={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 zd={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 qd={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 eu={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.spacing1),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 au={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 du={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 mu={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 vu={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 Au={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 Pu={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)};var Du={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 Fu={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 ju={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 Yu={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.spacing1),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 tp={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 ap={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",i.spacing6)};var dp={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",i.spacing6),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),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"),borderRadius:r.extend("--ftds-modal-border-radius","",i.borderRadiusM)};var mp={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 vp={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)};var Ap={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),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 Pp={backgroundColor:r.extend("--ftds-text-area-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",i.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",i.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",i.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",i.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",i.borderRadiusS)};var Dp={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 Fp={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 jp={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 Yp={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 tf={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 af={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),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",i.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",i.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",i.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",i.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",i.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",i.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",i.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",i.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",i.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",i.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",i.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",i.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",i.colorCyan200)};var df={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 mf={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 vf={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)};var Af={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 Pf={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 Df={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",i.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",i.spacing1),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 Hf={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 Un;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Un||(Un={}));var Er;(function(e){e.large="large",e.medium="medium",e.small="small"})(Er||(Er={}));var Bn=x(F()),be=x(T()),ge={size:be.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:be.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:be.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:be.FtCssVariableFactory.extend("--ft-icon-material-font-family","",be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:be.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Hn=[Bn.css`
|
|
1
|
+
"use strict";(()=>{var Dc=Object.create;var Nn=Object.defineProperty;var Mc=Object.getOwnPropertyDescriptor;var Uc=Object.getOwnPropertyNames;var Bc=Object.getPrototypeOf,Hc=Object.prototype.hasOwnProperty;var Zt=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(o){throw t=0,o}};var $c=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Uc(t))!Hc.call(e,a)&&a!==o&&Nn(e,a,{get:()=>t[a],enumerable:!(n=Mc(t,a))||n.enumerable});return e};var x=(e,t,o)=>(o=e!=null?Dc(Bc(e)):{},$c(t||!e||!e.__esModule?Nn(o,"default",{value:e,enumerable:!0}):o,e));var T=Zt((dd,kn)=>{kn.exports=ftGlobals.wcUtils});var $=Zt((ud,_n)=>{_n.exports=ftGlobals.lit});var J=Zt((pd,In)=>{In.exports=ftGlobals.litDecorators});var Or=Zt((fd,Dn)=>{Dn.exports=ftGlobals.litClassMap});var Fn=Zt((Nh,$n)=>{$n.exports=ftGlobals.litUnsafeHTML});var Ic=x(T());var Kt=x($()),gt=x(J()),yo=x(T()),kc=x(Or());var ke=x($(),1),He=e=>typeof e=="string"?(0,ke.unsafeCSS)(e):e,r=class{static create(t,o,n,a){let s=d=>He(d??a),c=ke.css`var(${He(t)}, ${s(a)})`;return c.name=t,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=s,c.set=d=>Mn(c,d??s(a)),c.get=d=>ke.css`var(${He(t)}, ${s(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(t,o,n,a){let s=d=>n.get(d??a),c=ke.css`var(${He(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=>Mn(c,d??s(a)),c.get=d=>ke.css`var(${He(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=ke.css`var(${He(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=>ke.css`var(${He(t.name)}, ${n(s)})`,a.breadcrumb=()=>t.breadcrumb(),a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function Mn(e,t){return He(`${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)")},yd={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")},gd={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")},bd={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")},xd={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")},vd={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")},Sd={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")},Cd={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")},Od={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")},Ed={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")},Ad={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")},wd={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")},Rd={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")},Ld={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")},Td={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")},Pd={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")},Nd={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 Hd={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 zd={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 qd={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 eu={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.spacing1),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 au={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 du={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 mu={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 vu={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 Au={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 Pu={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)};var Du={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 $u={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 ju={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 Yu={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.spacing1),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 tp={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 ap={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",i.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",i.spacing6)};var dp={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",i.spacing6),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),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"),borderRadius:r.extend("--ftds-modal-border-radius","",i.borderRadiusM)};var mp={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 vp={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)};var Ap={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),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 Pp={backgroundColor:r.extend("--ftds-text-area-background-color","",i.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",i.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",i.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",i.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",i.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",i.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",i.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",i.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",i.borderRadiusS)};var Dp={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 $p={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 jp={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 Yp={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 tf={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 af={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),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",i.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",i.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",i.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",i.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",i.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",i.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",i.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",i.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",i.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",i.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",i.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",i.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",i.colorCyan200)};var df={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 mf={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 vf={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)};var Af={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 Pf={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 Df={verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",i.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",i.spacing1),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 Hf={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 Un;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Un||(Un={}));var Er;(function(e){e.large="large",e.medium="medium",e.small="small"})(Er||(Er={}));var Bn=x($()),be=x(T()),ge={size:be.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:be.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:be.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:be.FtCssVariableFactory.extend("--ft-icon-material-font-family","",be.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:be.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Hn=[Bn.css`
|
|
3
3
|
:host, i.ft-icon {
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
align-items: center;
|
|
@@ -47,14 +47,14 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
47
47
|
.ft-icon--material {
|
|
48
48
|
font-family: ${ge.materialFontFamily}, "Material Icons", sans-serif;
|
|
49
49
|
}
|
|
50
|
-
`,be.noTextSelect];var
|
|
50
|
+
`,be.noTextSelect];var $e;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})($e||($e={}));var qt=x($()),Fe=x(J()),Gn=x(T()),Wn=x(Fn());var bt;(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="󨃱"})(bt||(bt={}));var v;(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=""})(v||(v={}));var kh=new Map([...["abw"].map(e=>[e,v.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,v.AUDIO]),...["avi"].map(e=>[e,v.AVI]),...["chm","xhs"].map(e=>[e,v.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,v.CODE]),...["csv"].map(e=>[e,v.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,v.DITA]),...["epub"].map(e=>[e,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,v.EXCEL]),...["flac"].map(e=>[e,v.FLAC]),...["gif"].map(e=>[e,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,v.GZIP]),...["html","htm","xhtml"].map(e=>[e,v.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,v.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,v.JPEG]),...["json"].map(e=>[e,v.JSON]),...["m4a","m4p"].map(e=>[e,v.M4A]),...["mov","qt"].map(e=>[e,v.MOV]),...["mp3"].map(e=>[e,v.MP3]),...["mp4","m4v"].map(e=>[e,v.MP4]),...["ogg","oga"].map(e=>[e,v.OGG]),...["pdf","ps"].map(e=>[e,v.PDF]),...["png"].map(e=>[e,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,v.POWERPOINT]),...["rar"].map(e=>[e,v.RAR]),...["stp"].map(e=>[e,v.STP]),...["txt","rtf","md","mdown"].map(e=>[e,v.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,v.VIDEO]),...["wav"].map(e=>[e,v.WAV]),...["wma"].map(e=>[e,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,v.WORD]),...["xml","xsl","rdf"].map(e=>[e,v.XML]),...["yaml","yml","x-yaml"].map(e=>[e,v.YAML]),...["zip"].map(e=>[e,v.ZIP])]);var _h={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var Yt=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},Y=class extends Gn.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=qt.nothing}render(){let t=this.variant&&Object.values($e).includes(this.variant)?this.variant:$e.fluid_topics,o=t!==$e.material||!!this.value;return qt.html`
|
|
51
51
|
<i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
|
|
52
52
|
${(0,Wn.unsafeHTML)(this.resolvedIcon)}
|
|
53
53
|
<slot ?hidden=${o}></slot>
|
|
54
54
|
</i>
|
|
55
|
-
`}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case
|
|
55
|
+
`}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case $e.file_format:this.resolvedIcon=(t=v[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case $e.material:this.resolvedIcon=this.value||qt.nothing;break;default:this.resolvedIcon=(o=bt[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};Y.elementDefinitions={};Y.styles=Hn;Yt([(0,Fe.property)()],Y.prototype,"variant",void 0);Yt([(0,Fe.property)()],Y.prototype,"value",void 0);Yt([(0,Fe.property)({reflect:!0,attribute:"aria-hidden"})],Y.prototype,"ariaHidden",void 0);Yt([(0,Fe.state)()],Y.prototype,"resolvedIcon",void 0);Yt([(0,Fe.query)("slot")],Y.prototype,"slottedContent",void 0);var jn=x(T());var zn={"ft-icon":Y};(0,jn.customElements)(zn);var Eo=globalThis,Ar=Eo.trustedTypes,Vn=Ar?Ar.createPolicy("lit-html",{createHTML:e=>e}):void 0,Jn="$lit$",Ge=`lit$${Math.random().toFixed(9).slice(2)}$`,Qn="?"+Ge,Fc=`<${Qn}>`,tt=document,wr=()=>tt.createComment(""),Jt=e=>e===null||typeof e!="object"&&typeof e!="function",Ao=Array.isArray,Gc=e=>Ao(e)||typeof e?.[Symbol.iterator]=="function",bo=`[
|
|
56
56
|
\f\r]`,Xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kn=/-->/g,Zn=/>/g,Qe=RegExp(`>|${bo}(?:([^\\s"'>=/]+)(${bo}*=${bo}*(?:[^
|
|
57
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),qn=/'/g,Yn=/"/g,ea=/^(?:script|style|textarea|title)$/i,wo=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),ta=wo(1),ra=wo(2),oa=wo(3),Qt=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),Xn=new WeakMap,et=tt.createTreeWalker(tt,129);function na(e,t){if(!Ao(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vn!==void 0?Vn.createHTML(t):t}var Wc=(e,t)=>{let o=e.length-1,n=[],a,s=t===2?"<svg>":t===3?"<math>":"",c=Xt;for(let d=0;d<o;d++){let u=e[d],p,f,h=-1,m=0;for(;m<u.length&&(c.lastIndex=m,f=c.exec(u),f!==null);)m=c.lastIndex,c===Xt?f[1]==="!--"?c=Kn:f[1]!==void 0?c=Zn:f[2]!==void 0?(ea.test(f[2])&&(a=RegExp("</"+f[2],"g")),c=Qe):f[3]!==void 0&&(c=Qe):c===Qe?f[0]===">"?(c=a??Xt,h=-1):f[1]===void 0?h=-2:(h=c.lastIndex-f[2].length,p=f[1],c=f[3]===void 0?Qe:f[3]==='"'?Yn:qn):c===Yn||c===qn?c=Qe:c===Kn||c===Zn?c=Xt:(c=Qe,a=void 0);let y=c===Qe&&e[d+1].startsWith("/>")?" ":"";s+=c===Xt?u+$c:h>=0?(n.push(p),u.slice(0,h)+Jn+u.slice(h)+Ge+y):u+Ge+(h===-2?d:y)}return[na(e,s+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},er=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]=Wc(t,o);if(this.el=e.createElement(p,n),et.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=et.nextNode())!==null&&u.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(Jn)){let m=f[c++],y=a.getAttribute(h).split(Ge),g=/([.?@])?(.*)/.exec(m);u.push({type:1,index:s,name:g[2],strings:y,ctor:g[1]==="."?vo:g[1]==="?"?So:g[1]==="@"?Co:vt}),a.removeAttribute(h)}else h.startsWith(Ge)&&(u.push({type:6,index:s}),a.removeAttribute(h));if(ea.test(a.tagName)){let h=a.textContent.split(Ge),m=h.length-1;if(m>0){a.textContent=Ar?Ar.emptyScript:"";for(let y=0;y<m;y++)a.append(h[y],wr()),et.nextNode(),u.push({type:2,index:++s});a.append(h[m],wr())}}}else if(a.nodeType===8)if(a.data===Qn)u.push({type:2,index:s});else{let h=-1;for(;(h=a.data.indexOf(Ge,h+1))!==-1;)u.push({type:7,index:s}),h+=Ge.length-1}s++}}static createElement(t,o){let n=tt.createElement("template");return n.innerHTML=t,n}};function xt(e,t,o=e,n){if(t===Qt)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=xt(e,a._$AS(e,t.values),a,n)),t}var xo=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??tt).importNode(o,!0);et.currentNode=a;let s=et.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new Rr(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new Oo(s,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(s=et.nextNode(),c++)}return et.currentNode=tt,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++}},Rr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=$,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=xt(this,t,o),Jt(t)?t===$||t==null||t===""?(this._$AH!==$&&this._$AR(),this._$AH=$):t!==this._$AH&&t!==Qt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gc(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!==$&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.T(tt.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=er.createElement(na(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let s=new xo(a,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=Xn.get(t.strings);return o===void 0&&Xn.set(t.strings,o=new er(t)),o}k(t){Ao(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&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},vt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,s){this.type=1,this._$AH=$,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=$}_$AI(t,o=this,n,a){let s=this.strings,c=!1;if(s===void 0)t=xt(this,t,o,0),c=!Jt(t)||t!==this._$AH&&t!==Qt,c&&(this._$AH=t);else{let d=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=xt(this,d[n+u],o,u),p===Qt&&(p=this._$AH[u]),c||=!Jt(p)||p!==this._$AH[u],p===$?t=$:t!==$&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}c&&!a&&this.j(t)}j(t){t===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},vo=class extends vt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===$?void 0:t}},So=class extends vt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==$)}},Co=class extends vt{constructor(t,o,n,a,s){super(t,o,n,a,s),this.type=5}_$AI(t,o=this){if((t=xt(this,t,o,0)??$)===Qt)return;let n=this._$AH,a=t===$&&n!==$||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==$&&(n===$||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)}},Oo=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){xt(this,t)}};var zc=Eo.litHtmlPolyfillSupport;zc?.(er,Rr),(Eo.litHtmlVersions??=[]).push("3.3.0");var ia=Symbol.for(""),jc=e=>{if(e?.r===ia)return e?._$litStatic$},Ro=e=>({_$litStatic$:e,r:ia});var aa=new Map,Lo=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=jc(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=aa.get(h))===void 0&&(c.raw=c,aa.set(h,t=c)),o=d}return e(t,...o)},To=Lo(ta),Yh=Lo(ra),Xh=Lo(oa);var Po=x(J()),va=x(T());var Ee;(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"})(Ee||(Ee={}));var ce=x(F()),S=x(T()),sa=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.titleFont),_e=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.contentFont),A={fontFamily:_e,fontSize:S.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:S.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:S.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:S.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:S.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},St={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-font-family","",sa),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-font-size","",A.fontSize,"20px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",A.letterSpacing,"0.15px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-line-height","",A.lineHeight,"1.2"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",A.textTransform,"inherit")},Ct={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",sa),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",A.letterSpacing,"0.105px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",A.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",A.textTransform,"inherit")},Ot={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",A.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",A.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",A.letterSpacing,"0.144px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",A.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",A.textTransform,"inherit")},Et={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",A.letterSpacing,"0.098px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",A.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",A.textTransform,"inherit")},At={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",A.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",A.letterSpacing,"0.496px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",A.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",A.textTransform,"inherit")},wt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",A.letterSpacing,"0.252px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",A.lineHeight,"1.4"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",A.textTransform,"inherit")},Rt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",A.fontSize,"12px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",A.letterSpacing,"0.396px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",A.lineHeight,"1.33"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",A.textTransform,"inherit")},Lt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",A.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",A.letterSpacing,"0.33px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",A.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",A.textTransform,"inherit")},Tt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",A.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",A.letterSpacing,"1.5px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",A.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",A.textTransform,"uppercase")},Ae={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-button-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-button-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",A.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",A.letterSpacing,"1.246px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-button-line-height","",A.lineHeight,"1.15"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",A.textTransform,"uppercase")},ca=ce.css`
|
|
57
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),qn=/'/g,Yn=/"/g,ea=/^(?:script|style|textarea|title)$/i,wo=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),ta=wo(1),ra=wo(2),oa=wo(3),Qt=Symbol.for("lit-noChange"),F=Symbol.for("lit-nothing"),Xn=new WeakMap,et=tt.createTreeWalker(tt,129);function na(e,t){if(!Ao(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vn!==void 0?Vn.createHTML(t):t}var Wc=(e,t)=>{let o=e.length-1,n=[],a,s=t===2?"<svg>":t===3?"<math>":"",c=Xt;for(let d=0;d<o;d++){let u=e[d],p,f,h=-1,m=0;for(;m<u.length&&(c.lastIndex=m,f=c.exec(u),f!==null);)m=c.lastIndex,c===Xt?f[1]==="!--"?c=Kn:f[1]!==void 0?c=Zn:f[2]!==void 0?(ea.test(f[2])&&(a=RegExp("</"+f[2],"g")),c=Qe):f[3]!==void 0&&(c=Qe):c===Qe?f[0]===">"?(c=a??Xt,h=-1):f[1]===void 0?h=-2:(h=c.lastIndex-f[2].length,p=f[1],c=f[3]===void 0?Qe:f[3]==='"'?Yn:qn):c===Yn||c===qn?c=Qe:c===Kn||c===Zn?c=Xt:(c=Qe,a=void 0);let y=c===Qe&&e[d+1].startsWith("/>")?" ":"";s+=c===Xt?u+Fc:h>=0?(n.push(p),u.slice(0,h)+Jn+u.slice(h)+Ge+y):u+Ge+(h===-2?d:y)}return[na(e,s+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},er=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]=Wc(t,o);if(this.el=e.createElement(p,n),et.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=et.nextNode())!==null&&u.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(Jn)){let m=f[c++],y=a.getAttribute(h).split(Ge),g=/([.?@])?(.*)/.exec(m);u.push({type:1,index:s,name:g[2],strings:y,ctor:g[1]==="."?vo:g[1]==="?"?So:g[1]==="@"?Co:vt}),a.removeAttribute(h)}else h.startsWith(Ge)&&(u.push({type:6,index:s}),a.removeAttribute(h));if(ea.test(a.tagName)){let h=a.textContent.split(Ge),m=h.length-1;if(m>0){a.textContent=Ar?Ar.emptyScript:"";for(let y=0;y<m;y++)a.append(h[y],wr()),et.nextNode(),u.push({type:2,index:++s});a.append(h[m],wr())}}}else if(a.nodeType===8)if(a.data===Qn)u.push({type:2,index:s});else{let h=-1;for(;(h=a.data.indexOf(Ge,h+1))!==-1;)u.push({type:7,index:s}),h+=Ge.length-1}s++}}static createElement(t,o){let n=tt.createElement("template");return n.innerHTML=t,n}};function xt(e,t,o=e,n){if(t===Qt)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=xt(e,a._$AS(e,t.values),a,n)),t}var xo=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??tt).importNode(o,!0);et.currentNode=a;let s=et.nextNode(),c=0,d=0,u=n[0];for(;u!==void 0;){if(c===u.index){let p;u.type===2?p=new Rr(s,s.nextSibling,this,t):u.type===1?p=new u.ctor(s,u.name,u.strings,this,t):u.type===6&&(p=new Oo(s,this,t)),this._$AV.push(p),u=n[++d]}c!==u?.index&&(s=et.nextNode(),c++)}return et.currentNode=tt,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++}},Rr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=F,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=xt(this,t,o),Jt(t)?t===F||t==null||t===""?(this._$AH!==F&&this._$AR(),this._$AH=F):t!==this._$AH&&t!==Qt&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gc(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!==F&&Jt(this._$AH)?this._$AA.nextSibling.data=t:this.T(tt.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=er.createElement(na(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let s=new xo(a,this),c=s.u(this.options);s.p(o),this.T(c),this._$AH=s}}_$AC(t){let o=Xn.get(t.strings);return o===void 0&&Xn.set(t.strings,o=new er(t)),o}k(t){Ao(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&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},vt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,s){this.type=1,this._$AH=F,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=F}_$AI(t,o=this,n,a){let s=this.strings,c=!1;if(s===void 0)t=xt(this,t,o,0),c=!Jt(t)||t!==this._$AH&&t!==Qt,c&&(this._$AH=t);else{let d=t,u,p;for(t=s[0],u=0;u<s.length-1;u++)p=xt(this,d[n+u],o,u),p===Qt&&(p=this._$AH[u]),c||=!Jt(p)||p!==this._$AH[u],p===F?t=F:t!==F&&(t+=(p??"")+s[u+1]),this._$AH[u]=p}c&&!a&&this.j(t)}j(t){t===F?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},vo=class extends vt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===F?void 0:t}},So=class extends vt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==F)}},Co=class extends vt{constructor(t,o,n,a,s){super(t,o,n,a,s),this.type=5}_$AI(t,o=this){if((t=xt(this,t,o,0)??F)===Qt)return;let n=this._$AH,a=t===F&&n!==F||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,s=t!==F&&(n===F||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)}},Oo=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){xt(this,t)}};var zc=Eo.litHtmlPolyfillSupport;zc?.(er,Rr),(Eo.litHtmlVersions??=[]).push("3.3.0");var ia=Symbol.for(""),jc=e=>{if(e?.r===ia)return e?._$litStatic$},Ro=e=>({_$litStatic$:e,r:ia});var aa=new Map,Lo=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=jc(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=aa.get(h))===void 0&&(c.raw=c,aa.set(h,t=c)),o=d}return e(t,...o)},To=Lo(ta),Yh=Lo(ra),Xh=Lo(oa);var Po=x(J()),va=x(T());var Ee;(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"})(Ee||(Ee={}));var ce=x($()),S=x(T()),sa=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.titleFont),_e=S.FtCssVariableFactory.extend("--ft-typography-font-family","",S.designSystemVariables.contentFont),A={fontFamily:_e,fontSize:S.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:S.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:S.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:S.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:S.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},St={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-font-family","",sa),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-font-size","",A.fontSize,"20px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",A.letterSpacing,"0.15px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-line-height","",A.lineHeight,"1.2"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",A.textTransform,"inherit")},Ct={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",sa),fontSize:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",A.letterSpacing,"0.105px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",A.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",A.textTransform,"inherit")},Ot={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",A.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",A.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",A.letterSpacing,"0.144px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",A.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",A.textTransform,"inherit")},Et={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",A.letterSpacing,"0.098px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",A.lineHeight,"1.7"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",A.textTransform,"inherit")},At={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",A.fontSize,"16px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",A.letterSpacing,"0.496px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",A.lineHeight,"1.5"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",A.textTransform,"inherit")},wt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",A.letterSpacing,"0.252px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",A.lineHeight,"1.4"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",A.textTransform,"inherit")},Rt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",A.fontSize,"12px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",A.letterSpacing,"0.396px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",A.lineHeight,"1.33"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",A.textTransform,"inherit")},Lt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",A.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",A.letterSpacing,"0.33px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",A.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",A.textTransform,"inherit")},Tt={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",A.fontSize,"10px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",A.fontWeight,"normal"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",A.letterSpacing,"1.5px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",A.lineHeight,"1.6"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",A.textTransform,"uppercase")},Ae={fontFamily:S.FtCssVariableFactory.extend("--ft-typography-button-font-family","",_e),fontSize:S.FtCssVariableFactory.extend("--ft-typography-button-font-size","",A.fontSize,"14px"),fontWeight:S.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",A.fontWeight,"600"),letterSpacing:S.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",A.letterSpacing,"1.246px"),lineHeight:S.FtCssVariableFactory.extend("--ft-typography-button-line-height","",A.lineHeight,"1.15"),textTransform:S.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",A.textTransform,"uppercase")},ca=ce.css`
|
|
58
58
|
.ft-typography--title {
|
|
59
59
|
font-family: ${St.fontFamily};
|
|
60
60
|
font-size: ${St.fontSize};
|
|
@@ -157,15 +157,15 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
157
157
|
</${Ro(this.element)}>
|
|
158
158
|
`:To`
|
|
159
159
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
160
|
-
`}};oe.styles=[ca,la,da,ua,pa,fa,ha,ma,ya,ga,ba];xa([(0,Po.property)()],oe.prototype,"element",void 0);xa([(0,Po.property)()],oe.prototype,"variant",void 0);var Ca=x(T());var Sa={"ft-typography":oe};(0,Ca.customElements)(Sa);var rn=x(J());var Oa=x(J(),1);var ko=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ea(e,t){return(0,Oa.property)({type:Object,converter:{fromAttribute:o=>{if(o==null)return tr(e);try{return JSON.parse(o)}catch{return tr(e)}},toAttribute:o=>JSON.stringify(o)},hasChanged:rr,...t??{}})}function Vc(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(!Lr(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(!Lr(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(!Lr(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Lr(e,t){try{return Vc(e,t)}catch{return!1}}function rr(e,t){return!Lr(e,t)}function tr(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Tr(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 Aa=x(J(),1);var No=e=>{let t=e??{};return(o,n)=>{var a;let s={hasChanged:rr,attribute:!1,...t};(0,Aa.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 Pr=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 rt=x(J(),1);var kr=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 Ra=x(F(),1);var Nr=globalThis,Kc=Nr.ShadowRoot&&(Nr.ShadyCSS===void 0||Nr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var wa=(e,t)=>{if(Kc)e.adoptedStyleSheets=t.map((o=>o instanceof CSSStyleSheet?o:o.styleSheet));else for(let o of t){let n=document.createElement("style"),a=Nr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var _r=class extends Ra.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 wa(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){ko(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 La(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 kt=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},Na,Ta=Symbol("constructorPrototype"),Pa=Symbol("constructorName"),_a=Symbol("exportpartsDebouncer"),ka=Symbol("dynamicDependenciesLoaded"),Pt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Pt.eventName="exportparts-updated";var we=class extends _r{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Na]=new kr(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[_a].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[Pa]=this.constructor.name,this[Ta]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pa]&&Object.setPrototypeOf(this,this[Ta])}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[ka]||(o[ka]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Pt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Pt.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 Pt)})}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=La(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=m=>m!=null&&m.trim().length>0,p=t.filter(u).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let f=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(s=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],g=(d=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(C=>C.split(":")[1]))!==null&&d!==void 0?d:[],b=[...y,...g].filter(u).map(C=>C.trim());for(let C of b)f.add(C)}if(f.size===0){this.exportparts=void 0;return}let h=[...f.values()].flatMap(m=>p.map(y=>`${m}:${y}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};Na=_a;kt([(0,rt.property)()],we.prototype,"exportpartsPrefix",void 0);kt([Ea([])],we.prototype,"exportpartsPrefixes",void 0);kt([(0,rt.property)({reflect:!0})],we.prototype,"exportparts",void 0);kt([(0,rt.property)()],we.prototype,"customStylesheet",void 0);kt([(0,rt.property)()],we.prototype,"elementToFocus",void 0);kt([(0,rt.state)()],we.prototype,"useAdoptedStyleSheets",void 0);function Ir(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var or=Symbol("internalReduxEventsUnsubscribers"),We=Symbol("internalStoresUnsubscribers"),ot=Symbol("internalStores"),Zc=Tr(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[ot].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ot].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[ot].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[ot].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[ot].delete(d)}setupStores(){this.unsubscribeFromStores(),this[ot].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[We].has(c.store):this[We].size>0)&&(this[d]=c.selector(p.getState(),this))}})}subscribeToStore(c,d){var u;this[We].set(c,d.subscribe(()=>this.updateFromStores())),this[or].set(c,[]),Ir(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,f)=>{if(typeof this[f]=="function"&&(!p.store||d.name===p.store)){let h=m=>this[f](m);d.addEventListener(p.eventName,h),this[or].get(c).push(()=>d.removeEventListener(p.eventName,h))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[We].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[We].has(c)&&this[We].get(c)(),this[We].delete(c),(d=this[or].get(c))===null||d===void 0||d.forEach(u=>u()),this[or].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=We,o=ot,n=or,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Ia=class extends Zc(we){};function le(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,s;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map((function(c){return"'"+c+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ie(e){return!!e&&!!e[D]}function xe(e){var t;return!!e&&((function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===rl})(e)||Array.isArray(e)||!!e[$a]||!!(!((t=e.constructor)===null||t===void 0)&&t[$a])||$o(e)||Go(e))}function nt(e,t,o){o===void 0&&(o=!1),It(e)===0?(o?Object.keys:_t)(e).forEach((function(n){o&&typeof n=="symbol"||t(n,e[n],e)})):e.forEach((function(n,a){return t(a,n,e)}))}function It(e){var t=e[D];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:$o(e)?2:Go(e)?3:0}function Nt(e,t){return It(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function qc(e,t){return It(e)===2?e.get(t):e[t]}function Ga(e,t,o){var n=It(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Wa(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function $o(e){return el&&e instanceof Map}function Go(e){return tl&&e instanceof Set}function ze(e){return e.o||e.t}function Wo(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Va(e);delete t[D];for(var o=_t(t),n=0;n<o.length;n++){var a=o[n],s=t[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function zo(e,t){return t===void 0&&(t=!1),jo(e)||Ie(e)||!xe(e)||(It(e)>1&&(e.set=e.add=e.clear=e.delete=Yc),Object.freeze(e),t&&nt(e,(function(o,n){return zo(n,!0)}),!0)),e}function Yc(){le(2)}function jo(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Re(e){var t=Fo[e];return t||le(18,e),t}function Xc(e,t){Fo[e]||(Fo[e]=t)}function Uo(){return ar}function _o(e,t){t&&(Re("Patches"),e.u=[],e.s=[],e.v=t)}function Dr(e){Bo(e),e.p.forEach(Jc),e.p=null}function Bo(e){e===ar&&(ar=e.l)}function Da(e){return ar={p:[],l:ar,h:e,m:!0,_:0}}function Jc(e){var t=e[D];t.i===0||t.i===1?t.j():t.g=!0}function Io(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Re("ES5").S(t,e,n),n?(o[D].P&&(Dr(t),le(4)),xe(e)&&(e=Mr(t,e),t.l||Ur(t,e)),t.u&&Re("Patches").M(o[D].t,e,t.u,t.s)):e=Mr(t,o,[]),Dr(t),t.u&&t.v(t.u,t.s),e!==ja?e:void 0}function Mr(e,t,o){if(jo(t))return t;var n=t[D];if(!n)return nt(t,(function(d,u){return Ma(e,n,t,d,u,o)}),!0),t;if(n.A!==e)return t;if(!n.P)return Ur(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Wo(n.k):n.o,s=a,c=!1;n.i===3&&(s=new Set(a),a.clear(),c=!0),nt(s,(function(d,u){return Ma(e,n,a,d,u,o,c)})),Ur(e,a,!1),o&&e.u&&Re("Patches").N(n,o,e.u,e.s)}return n.o}function Ma(e,t,o,n,a,s,c){if(Ie(a)){var d=Mr(e,a,s&&t&&t.i!==3&&!Nt(t.R,n)?s.concat(n):void 0);if(Ga(o,n,d),!Ie(d))return;e.m=!1}else c&&o.add(a);if(xe(a)&&!jo(a)){if(!e.h.D&&e._<1)return;Mr(e,a),t&&t.A.l||Ur(e,a)}}function Ur(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&zo(t,o)}function Do(e,t){var o=e[D];return(o?ze(o):e)[t]}function Ua(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function je(e){e.P||(e.P=!0,e.l&&je(e.l))}function Mo(e){e.o||(e.o=Wo(e.t))}function Ho(e,t,o){var n=$o(t)?Re("MapSet").F(t,o):Go(t)?Re("MapSet").T(t,o):e.O?(function(a,s){var c=Array.isArray(a),d={i:c?1:0,A:s?s.A:Uo(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},u=d,p=ir;c&&(u=[d],p=nr);var f=Proxy.revocable(u,p),h=f.revoke,m=f.proxy;return d.k=m,d.j=h,m})(t,o):Re("ES5").J(t,o);return(o?o.A:Uo()).p.push(n),n}function Qc(e){return Ie(e)||le(22,e),(function t(o){if(!xe(o))return o;var n,a=o[D],s=It(o);if(a){if(!a.P&&(a.i<4||!Re("ES5").K(a)))return a.t;a.I=!0,n=Ba(o,s),a.I=!1}else n=Ba(o,s);return nt(n,(function(c,d){a&&qc(a.t,c)===d||Ga(n,c,t(d))})),s===3?new Set(n):n})(e)}function Ba(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Wo(e)}function za(){function e(c,d){var u=s[c];return u?u.enumerable=d:s[c]=u={configurable:!0,enumerable:d,get:function(){var p=this[D];return ir.get(p,c)},set:function(p){var f=this[D];ir.set(f,c,p)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][D];if(!u.P)switch(u.i){case 5:n(u)&&je(u);break;case 4:o(u)&&je(u)}}}function o(c){for(var d=c.t,u=c.k,p=_t(u),f=p.length-1;f>=0;f--){var h=p[f];if(h!==D){var m=d[h];if(m===void 0&&!Nt(d,h))return!0;var y=u[h],g=y&&y[D];if(g?g.t!==m:!Wa(y,m))return!0}}var b=!!d[D];return p.length!==_t(d).length+(b?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function a(c){c.g&&le(3,JSON.stringify(ze(c)))}var s={};Xc("ES5",{J:function(c,d){var u=Array.isArray(c),p=(function(h,m){if(h){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,e(g,!0));return y}var b=Va(m);delete b[D];for(var C=_t(b),O=0;O<C.length;O++){var E=C[O];b[E]=e(E,h||!!b[E].enumerable)}return Object.create(Object.getPrototypeOf(m),b)})(u,c),f={i:u?5:4,A:d?d.A:Uo(),P:!1,I:!1,R:{},l:d,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,D,{value:f,writable:!0}),p},S:function(c,d,u){u?Ie(d)&&d[D].A===c&&t(c.p):(c.u&&(function p(f){if(f&&typeof f=="object"){var h=f[D];if(h){var m=h.t,y=h.k,g=h.R,b=h.i;if(b===4)nt(y,(function(R){R!==D&&(m[R]!==void 0||Nt(m,R)?g[R]||p(y[R]):(g[R]=!0,je(h)))})),nt(m,(function(R){y[R]!==void 0||Nt(y,R)||(g[R]=!1,je(h))}));else if(b===5){if(n(h)&&(je(h),g.length=!0),y.length<m.length)for(var C=y.length;C<m.length;C++)g[C]=!1;else for(var O=m.length;O<y.length;O++)g[O]=!0;for(var E=Math.min(y.length,m.length),w=0;w<E;w++)y.hasOwnProperty(w)||(g[w]=!0),g[w]===void 0&&p(y[w])}}}})(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Ha,ar,Vo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",el=typeof Map<"u",tl=typeof Set<"u",Fa=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ja=Vo?Symbol.for("immer-nothing"):((Ha={})["immer-nothing"]=!0,Ha),$a=Vo?Symbol.for("immer-draftable"):"__$immer_draftable",D=Vo?Symbol.for("immer-state"):"__$immer_state";var rl=""+Object.prototype.constructor,_t=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Va=Object.getOwnPropertyDescriptors||function(e){var t={};return _t(e).forEach((function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)})),t},Fo={},ir={get:function(e,t){if(t===D)return e;var o=ze(e);if(!Nt(o,t))return(function(a,s,c){var d,u=Ua(s,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(a.k):void 0})(e,o,t);var n=o[t];return e.I||!xe(n)?n:n===Do(e.t,t)?(Mo(e),e.o[t]=Ho(e.A.h,n,e)):n},has:function(e,t){return t in ze(e)},ownKeys:function(e){return Reflect.ownKeys(ze(e))},set:function(e,t,o){var n=Ua(ze(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Do(ze(e),t),s=a?.[D];if(s&&s.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Wa(o,a)&&(o!==void 0||Nt(e.t,t)))return!0;Mo(e),je(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Do(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Mo(e),je(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=ze(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){le(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){le(12)}},nr={};nt(ir,(function(e,t){nr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),nr.deleteProperty=function(e,t){return nr.set.call(this,e,t,void 0)},nr.set=function(e,t,o){return ir.set.call(this,e[0],t,o,e[0])};var ol=(function(){function e(o){var n=this;this.O=Fa,this.D=!0,this.produce=function(a,s,c){if(typeof a=="function"&&typeof s!="function"){var d=s;s=a;var u=n;return function(b){var C=this;b===void 0&&(b=d);for(var O=arguments.length,E=Array(O>1?O-1:0),w=1;w<O;w++)E[w-1]=arguments[w];return u.produce(b,(function(R){var z;return(z=s).call.apply(z,[C,R].concat(E))}))}}var p;if(typeof s!="function"&&le(6),c!==void 0&&typeof c!="function"&&le(7),xe(a)){var f=Da(n),h=Ho(n,a,void 0),m=!0;try{p=s(h),m=!1}finally{m?Dr(f):Bo(f)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(b){return _o(f,c),Io(b,f)}),(function(b){throw Dr(f),b})):(_o(f,c),Io(p,f))}if(!a||typeof a!="object"){if((p=s(a))===void 0&&(p=a),p===ja&&(p=void 0),n.D&&zo(p,!0),c){var y=[],g=[];Re("Patches").M(a,p,y,g),c(y,g)}return p}le(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(p){for(var f=arguments.length,h=Array(f>1?f-1:0),m=1;m<f;m++)h[m-1]=arguments[m];return n.produceWithPatches(p,(function(y){return a.apply(void 0,[y].concat(h))}))};var c,d,u=n.produce(a,s,(function(p,f){c=p,d=f}));return typeof Promise<"u"&&u instanceof Promise?u.then((function(p){return[p,c,d]})):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){xe(o)||le(8),Ie(o)&&(o=Qc(o));var n=Da(this),a=Ho(this,o,void 0);return a[D].C=!0,Bo(n),a},t.finishDraft=function(o,n){var a=o&&o[D],s=a.A;return _o(s,n),Io(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!Fa&&le(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var s=n[a];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}a>-1&&(n=n.slice(a+1));var c=Re("Patches").$;return Ie(o)?c(o,n):this.produce(o,(function(d){return c(d,n)}))},e})(),ne=new ol,nl=ne.produce,Hm=ne.produceWithPatches.bind(ne),Fm=ne.setAutoFreeze.bind(ne),$m=ne.setUseProxies.bind(ne),Gm=ne.applyPatches.bind(ne),Wm=ne.createDraft.bind(ne),zm=ne.finishDraft.bind(ne),Br=nl;function at(e){"@babel/helpers - typeof";return at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(e)}function Ka(e,t){if(at(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(at(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Za(e){var t=Ka(e,"string");return at(t)=="symbol"?t:t+""}function qa(e,t,o){return(t=Za(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ya(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Ko(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Ya(Object(o),!0).forEach(function(n){qa(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ya(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}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 Xa=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Zo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Hr={INIT:"@@redux/INIT"+Zo(),REPLACE:"@@redux/REPLACE"+Zo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Zo()}};function al(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function qo(e,t,o){var n;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(qo)(e,t)}if(typeof e!="function")throw new Error(Z(2));var a=e,s=t,c=[],d=c,u=!1;function p(){d===c&&(d=c.slice())}function f(){if(u)throw new Error(Z(3));return s}function h(b){if(typeof b!="function")throw new Error(Z(4));if(u)throw new Error(Z(5));var C=!0;return p(),d.push(b),function(){if(C){if(u)throw new Error(Z(6));C=!1,p();var E=d.indexOf(b);d.splice(E,1),c=null}}}function m(b){if(!al(b))throw new Error(Z(7));if(typeof b.type>"u")throw new Error(Z(8));if(u)throw new Error(Z(9));try{u=!0,s=a(s,b)}finally{u=!1}for(var C=c=d,O=0;O<C.length;O++){var E=C[O];E()}return b}function y(b){if(typeof b!="function")throw new Error(Z(10));a=b,m({type:Hr.REPLACE})}function g(){var b,C=h;return b={subscribe:function(E){if(typeof E!="object"||E===null)throw new Error(Z(11));function w(){E.next&&E.next(f())}w();var R=C(w);return{unsubscribe:R}}},b[Xa]=function(){return this},b}return m({type:Hr.INIT}),n={dispatch:m,subscribe:h,getState:f,replaceReducer:y},n[Xa]=g,n}function il(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Hr.INIT});if(typeof n>"u")throw new Error(Z(12));if(typeof o(void 0,{type:Hr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Z(13))})}function Ja(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var s=Object.keys(o),c,d;try{il(o)}catch(u){d=u}return function(p,f){if(p===void 0&&(p={}),d)throw d;if(0)var h;for(var m=!1,y={},g=0;g<s.length;g++){var b=s[g],C=o[b],O=p[b],E=C(O,f);if(typeof E>"u"){var w=f&&f.type;throw new Error(Z(14))}y[b]=E,m=m||E!==O}return m=m||s.length!==Object.keys(p).length,m?y:p}}function Dt(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Qa(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),s=function(){throw new Error(Z(15))},c={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return s=Dt.apply(void 0,d)(a.dispatch),Ko(Ko({},a),{},{dispatch:s})}}}function ei(e){var t=function(n){var a=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,s,e):c(d)}}};return t}var ti=ei();ti.withExtraArgument=ei;var Yo=ti;var ii=(function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}})(),sl=function(e,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(p){return function(f){return u([p,f])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(s=p[0]&2?a.return:p[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,p[1])).done)return s;switch(a=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(f){p=[6,f],a=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Mt=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},cl=Object.defineProperty,ll=Object.defineProperties,dl=Object.getOwnPropertyDescriptors,ri=Object.getOwnPropertySymbols,ul=Object.prototype.hasOwnProperty,pl=Object.prototype.propertyIsEnumerable,oi=function(e,t,o){return t in e?cl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Ve=function(e,t){for(var o in t||(t={}))ul.call(t,o)&&oi(e,o,t[o]);if(ri)for(var n=0,a=ri(t);n<a.length;n++){var o=a[n];pl.call(t,o)&&oi(e,o,t[o])}return e},Xo=function(e,t){return ll(e,dl(t))},fl=function(e,t,o){return new Promise(function(n,a){var s=function(u){try{d(o.next(u))}catch(p){a(p)}},c=function(u){try{d(o.throw(u))}catch(p){a(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};d((o=o.apply(e,t)).next())})};var hl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Dt:Dt.apply(null,arguments)},cy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function ml(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}function Ke(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return Ve(Ve({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}var yl=(function(e){ii(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Mt([void 0],o[0].concat(this)))):new(t.bind.apply(t,Mt([void 0],o.concat(this))))},t})(Array),gl=(function(e){ii(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Mt([void 0],o[0].concat(this)))):new(t.bind.apply(t,Mt([void 0],o.concat(this))))},t})(Array);function en(e){return xe(e)?Br(e,function(){}):e}function bl(e){return typeof e=="boolean"}function xl(){return function(t){return vl(t)}}function vl(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,s=e.serializableCheck,c=s===void 0?!0:s,d=e.actionCreatorCheck,u=d===void 0?!0:d,p=new yl;if(o&&(bl(o)?p.push(Yo):p.push(Yo.withExtraArgument(o.extraArgument))),0){if(a)var f;if(c)var h;if(u)var m}return p}var Jo=!0;function si(e){var t=xl(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,f=p===void 0?void 0:p,h=o.enhancers,m=h===void 0?void 0:h,y;if(typeof a=="function")y=a;else if(ml(a))y=Ja(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=c;if(typeof g=="function"&&(g=g(t),!Jo&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Jo&&g.some(function(R){return typeof R!="function"}))throw new Error("each middleware provided to configureStore must be a function");var b=Qa.apply(void 0,g),C=Dt;u&&(C=hl(Ve({trace:!Jo},typeof u=="object"&&u)));var O=new gl(b),E=O;Array.isArray(m)?E=Mt([b],m):typeof m=="function"&&(E=m(O));var w=C.apply(void 0,E);return qo(y,f,w)}function ci(e){var t={},o=[],n,a={addCase:function(s,c){var d=typeof s=="string"?s:s.type;if(!d)throw new Error("`builder.addCase` cannot be called with an empty action type");if(d in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[d]=c,a},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),a},addDefaultCase:function(s){return n=s,a}};return e(a),[t,o,n]}function Sl(e){return typeof e=="function"}function Cl(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?ci(t):[t,o,n],s=a[0],c=a[1],d=a[2],u;if(Sl(e))u=function(){return en(e())};else{var p=en(e);u=function(){return p}}function f(h,m){h===void 0&&(h=u());var y=Mt([s[m.type]],c.filter(function(g){var b=g.matcher;return b(m)}).map(function(g){var b=g.reducer;return b}));return y.filter(function(g){return!!g}).length===0&&(y=[d]),y.reduce(function(g,b){if(b)if(Ie(g)){var C=g,O=b(C,m);return O===void 0?g:O}else{if(xe(g))return Br(g,function(E){return b(E,m)});var O=b(g,m);if(O===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return O}return g},h)}return f.getInitialState=u,f}function Ol(e,t){return e+"/"+t}function li(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:en(e.initialState),n=e.reducers||{},a=Object.keys(n),s={},c={},d={};a.forEach(function(f){var h=n[f],m=Ol(t,f),y,g;"reducer"in h?(y=h.reducer,g=h.prepare):y=h,s[f]=y,c[m]=y,d[f]=g?Ke(m,g):Ke(m)});function u(){var f=typeof e.extraReducers=="function"?ci(e.extraReducers):[e.extraReducers],h=f[0],m=h===void 0?{}:h,y=f[1],g=y===void 0?[]:y,b=f[2],C=b===void 0?void 0:b,O=Ve(Ve({},m),c);return Cl(o,function(E){for(var w in O)E.addCase(w,O[w]);for(var R=0,z=g;R<z.length;R++){var H=z[R];E.addMatcher(H.matcher,H.reducer)}C&&E.addDefaultCase(C)})}var p;return{name:t,reducer:function(f,h){return p||(p=u()),p(f,h)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var El="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Al=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=El[Math.random()*64|0];return t},wl=["name","message","stack","code"],Qo=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),ni=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),Rl=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=wl;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},py=(function(){function e(t,o,n){var a=Ke(t+"/fulfilled",function(f,h,m,y){return{payload:f,meta:Xo(Ve({},y||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),s=Ke(t+"/pending",function(f,h,m){return{payload:void 0,meta:Xo(Ve({},m||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),c=Ke(t+"/rejected",function(f,h,m,y,g){return{payload:y,error:(n&&n.serializeError||Rl)(f||"Rejected"),meta:Xo(Ve({},g||{}),{arg:m,requestId:h,rejectedWithValue:!!y,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:(function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f})();function p(f){return function(h,m,y){var g=n?.idGenerator?n.idGenerator(f):Al(),b=new u,C,O=!1;function E(R){C=R,b.abort()}var w=(function(){return fl(this,null,function(){var R,z,H,Ue,go,Be,te;return sl(this,function(se){switch(se.label){case 0:return se.trys.push([0,4,,5]),Ue=(R=n?.condition)==null?void 0:R.call(n,f,{getState:m,extra:y}),Tl(Ue)?[4,Ue]:[3,2];case 1:Ue=se.sent(),se.label=2;case 2:if(Ue===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return O=!0,go=new Promise(function(re,Je){return b.signal.addEventListener("abort",function(){return Je({name:"AbortError",message:C||"Aborted"})})}),h(s(g,f,(z=n?.getPendingMeta)==null?void 0:z.call(n,{requestId:g,arg:f},{getState:m,extra:y}))),[4,Promise.race([go,Promise.resolve(o(f,{dispatch:h,getState:m,extra:y,requestId:g,signal:b.signal,abort:E,rejectWithValue:function(re,Je){return new Qo(re,Je)},fulfillWithValue:function(re,Je){return new ni(re,Je)}})).then(function(re){if(re instanceof Qo)throw re;return re instanceof ni?a(re.payload,g,f,re.meta):a(re,g,f)})])];case 3:return H=se.sent(),[3,5];case 4:return Be=se.sent(),H=Be instanceof Qo?c(null,g,f,Be.payload,Be.meta):c(Be,g,f),[3,5];case 5:return te=n&&!n.dispatchConditionRejection&&c.match(H)&&H.meta.condition,te||h(H),[2,H]}})})})();return Object.assign(w,{abort:E,requestId:g,arg:f,unwrap:function(){return w.then(Ll)}})}}return Object.assign(p,{pending:s,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e})();function Ll(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Tl(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var di="listener",ui="completed",pi="cancelled",fy="task-"+pi,hy="task-"+ui,my=di+"-"+pi,yy=di+"-"+ui;var tn="listenerMiddleware";var gy=Ke(tn+"/add"),by=Ke(tn+"/removeAll"),xy=Ke(tn+"/remove");var ai,vy=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(ai||(ai=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Pl=function(e){return function(t){setTimeout(t,e)}},Sy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Pl(10);za();var kl=Tr(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)}}}),Fr=class extends kl(Object){};window.ftReduxStores||(window.ftReduxStores={});var fi=class e extends Fr{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=li({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=si({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let f=tr(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)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Pr;let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let u=c,p=s[u];return p?(...f)=>{let h=p(...f.map(a));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[u]:a(f)})}}}),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()}};var $r=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 Gr=x(T()),Nl="ft-app-info",Ut=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Ut.eventName="authentication-change";var sr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};sr.eventName="ui-locale-changed";var _l={session:(e,t)=>{(0,Gr.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>L.dispatchEvent(new Ut(t.payload)),0))}},L=Gr.FtReduxStore.get({name:Nl,reducers:_l,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var hi=x(T()),Wr=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},qy=(0,hi.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(L)}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=>$r.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Wr([(0,rn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Wr([(0,rn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Wr([No({store:L.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),Wr([No({store:L.name})],t.prototype,"uiLocale",void 0),t});var mi;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(mi||(mi={}));var yi;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(yi||(yi={}));var gi;(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"})(gi||(gi={}));var bi;(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"})(bi||(bi={}));var xi;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(xi||(xi={}));var vi;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(vi||(vi={}));var Si;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(Si||(Si={}));var Ci;(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"})(Ci||(Ci={}));var Oi;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(Oi||(Oi={}));var Ei;(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"})(Ei||(Ei={}));var Ai;(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"})(Ai||(Ai={}));var wi;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(wi||(wi={}));var Ri;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ri||(Ri={}));var Li;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Li||(Li={}));var Ti;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Ti||(Ti={}));var Pi;(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"})(Pi||(Pi={}));var ki;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(ki||(ki={}));var Ni;(function(e){e.ASC="ASC",e.DESC="DESC"})(Ni||(Ni={}));var _i;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(_i||(_i={}));var Ii;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ii||(Ii={}));var Di;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Di||(Di={}));var Mi;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Mi||(Mi={}));var Ui;(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"})(Ui||(Ui={}));var Bi;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Bi||(Bi={}));var Hi;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Hi||(Hi={}));var Fi;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Fi||(Fi={}));var $i;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})($i||($i={}));var G;(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"})(G||(G={}));var de;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(de||(de={}));var Gi;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(Gi||(Gi={}));var Wi;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(Wi||(Wi={}));var zi;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(zi||(zi={}));var ji;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.OTHER="OTHER"})(ji||(ji={}));var Vi;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Vi||(Vi={}));var Ki;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Ki||(Ki={}));var Zi;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Zi||(Zi={}));var qi;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(qi||(qi={}));var Yi;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(Yi||(Yi={}));var Xi;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Xi||(Xi={}));var Ji;(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"})(Ji||(Ji={}));var Qi;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Qi||(Qi={}));var Il={[G.PERSONAL_BOOK_SHARE_USER]:[G.PERSONAL_BOOK_USER],[G.HTML_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.PDF_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.KHUB_ADMIN]:[G.CONTENT_PUBLISHER],[G.ADMIN]:[G.KHUB_ADMIN,G.USERS_ADMIN,G.PORTAL_ADMIN,G.BEHAVIOR_DATA_USER],[G.GENERATIVE_AI_EXPORT_USER]:[G.GENERATIVE_AI_USER]};function es(e,t){return e===t||(Il[e]??[]).some(o=>es(o,t))}function ts(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=>es(n,t))}var Zr=x(T());var on=x(T());var it=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=L.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=L.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var Bt=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:it.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):it.await()}};var ae=class extends Bt{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 on.CacheRegistry,this.cache=t?a.commonCache:new on.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 zr=class extends ae{async listMySearches(){let{session:t}=L.getState();return ts(t,G.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var jr=class extends ae{async listMyBookmarks(){let t=L.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var Vr=class extends ae{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=L.getState().session;return!!t?.sessionAuthenticated}};var Kr=class extends ae{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=L.getState().session;return!!t?.sessionAuthenticated}};var Dl="ft-user-assets",Ml={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(de).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;an(e,o,[...nn(e,o),a]),rs(e,o,1,n),os(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;an(e,o,nn(e,o).map(a=>a.id===n.id?n:a)),os(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;an(e,o,nn(e,o).filter(s=>s.id!==a)),rs(e,o,-1,n)}},ns={[de.SEARCHES]:"savedSearches",[de.BOOKMARKS]:"bookmarks",[de.BOOKS]:void 0,[de.COLLECTIONS]:void 0},nn=(e,t)=>{var o;let n=ns[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},an=(e,t,o)=>{let n=ns[t];n&&(e[n]=o)},rs=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===de.BOOKMARKS&&n)){let s=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},os=(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)},X=Zr.FtReduxStore.get({name:Dl,reducers:Ml,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(de).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),sn=class{constructor(t=new Vr,o=new Kr){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new jr,this.savedSearchesService=new zr,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=L.getState();(0,Zr.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(),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 o=await this.assetCountsService.getUserAssetCount(t);o&&X.getState().assetCounts.allAsset[t]!==o.count&&X.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&X.getState().assetCounts.bookmarkByMap[t]!==o.count&&X.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(X.getState().assetCounts.bookmarkByMap).length!==0;t===de.BOOKMARKS&&o&&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 o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;X.actions.bookmarks(o)}}},Ul=new sn;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Ul);var cn=class{addCommand(t,o=!1){L.commands.add(t,o)}consumeCommand(t){return L.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new cn;var ue=x(T());var as,Ht=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Bl=Symbol("clearAfterUnitTest"),qr=class extends(0,ue.withEventBus)(ae){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[as]=()=>{this.defaultMessages={},this.cache=new ue.CacheRegistry,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=L.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,ue.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 ue.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 ue.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 Ht({loadedContexts:t})),this.dispatchEvent(new Ht({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Ht({loadedContexts:[t]})),this.dispatchEvent(new Ht({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,ue.delay)(0).then(()=>n()).catch(()=>null)))}};as=Bl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends qr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends qr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Ft=window.FluidTopicsI18nService,Yr=window.FluidTopicsCustomI18nService;var is=x(T()),ln=class{highlightHtml(t,o,n){(0,is.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new ln;var ss=x(T());var dn=class{isDate(t){var o,n,a,s;return(s=(a=((n=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1}format(t,o){var n,a,s,c;if(t==null)return"";try{return ss.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:L.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 dn;var cs=x(T());var cr=class{static get(t,o){var n,a;let s=L.getState(),{lang:c,region:d}=(a=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new cs.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${d}`)}};var un=class{urlToSearchRequest(t){return cr.get().parse(t)}searchRequestToUrl(t){return cr.get().serialize(t)}};window.FluidTopicsUrlService=new un;var De=x(T());var st=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};st.eventName="change";var pn=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))}},ls=new pn;var Xr=class e extends De.WithEventBus{static build(){return new e(window.history,ls,()=>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,window.location.href]),setTimeout(()=>this.dispatchEvent(new st(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[s,c,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[p,c,d]),this.setCurrentState(p,!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)}addHistoryChangeListener(t){this.addEventListener(st.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(st.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=Xr.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)});var ds=x(F());var us=ds.css`
|
|
161
|
-
`;var hs=x(
|
|
160
|
+
`}};oe.styles=[ca,la,da,ua,pa,fa,ha,ma,ya,ga,ba];xa([(0,Po.property)()],oe.prototype,"element",void 0);xa([(0,Po.property)()],oe.prototype,"variant",void 0);var Ca=x(T());var Sa={"ft-typography":oe};(0,Ca.customElements)(Sa);var rn=x(J());var Oa=x(J(),1);var No=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ea(e,t){return(0,Oa.property)({type:Object,converter:{fromAttribute:o=>{if(o==null)return tr(e);try{return JSON.parse(o)}catch{return tr(e)}},toAttribute:o=>JSON.stringify(o)},hasChanged:rr,...t??{}})}function Vc(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(!Lr(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(!Lr(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(!Lr(e[c],t[c]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function Lr(e,t){try{return Vc(e,t)}catch{return!1}}function rr(e,t){return!Lr(e,t)}function tr(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Tr(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 Aa=x(J(),1);var ko=e=>{let t=e??{};return(o,n)=>{var a;let s={hasChanged:rr,attribute:!1,...t};(0,Aa.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 Pr=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 rt=x(J(),1);var Nr=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 Ra=x($(),1);var kr=globalThis,Kc=kr.ShadowRoot&&(kr.ShadyCSS===void 0||kr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;var wa=(e,t)=>{if(Kc)e.adoptedStyleSheets=t.map((o=>o instanceof CSSStyleSheet?o:o.styleSheet));else for(let o of t){let n=document.createElement("style"),a=kr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}};var _r=class extends Ra.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 wa(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){No(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 La(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 Nt=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},ka,Ta=Symbol("constructorPrototype"),Pa=Symbol("constructorName"),_a=Symbol("exportpartsDebouncer"),Na=Symbol("dynamicDependenciesLoaded"),Pt=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Pt.eventName="exportparts-updated";var we=class extends _r{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ka]=new Nr(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[_a].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[Pa]=this.constructor.name,this[Ta]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Pa]&&Object.setPrototypeOf(this,this[Ta])}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[Na]||(o[Na]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Pt.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Pt.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 Pt)})}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=La(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=m=>m!=null&&m.trim().length>0,p=t.filter(u).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let f=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(s=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&s!==void 0?s:[],g=(d=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(C=>C.split(":")[1]))!==null&&d!==void 0?d:[],b=[...y,...g].filter(u).map(C=>C.trim());for(let C of b)f.add(C)}if(f.size===0){this.exportparts=void 0;return}let h=[...f.values()].flatMap(m=>p.map(y=>`${m}:${y}--${m}`));this.exportparts=[...this.part,...h].join(", ")}};ka=_a;Nt([(0,rt.property)()],we.prototype,"exportpartsPrefix",void 0);Nt([Ea([])],we.prototype,"exportpartsPrefixes",void 0);Nt([(0,rt.property)({reflect:!0})],we.prototype,"exportparts",void 0);Nt([(0,rt.property)()],we.prototype,"customStylesheet",void 0);Nt([(0,rt.property)()],we.prototype,"elementToFocus",void 0);Nt([(0,rt.state)()],we.prototype,"useAdoptedStyleSheets",void 0);function Ir(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var or=Symbol("internalReduxEventsUnsubscribers"),We=Symbol("internalStoresUnsubscribers"),ot=Symbol("internalStores"),Zc=Tr(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[ot].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ot].values()][0]}getStore(c){return c==null?this.getUnnamedStore():this[ot].get(c)}addStore(c,d){var u;d=(u=d??c.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(d),this[ot].set(d,c),this.subscribeToStore(d,c),this.updateFromStores()}removeStore(c){let d=typeof c=="string"?c:c.name;this.unsubscribeFromStore(d),this[ot].delete(d)}setupStores(){this.unsubscribeFromStores(),this[ot].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[We].has(c.store):this[We].size>0)&&(this[d]=c.selector(p.getState(),this))}})}subscribeToStore(c,d){var u;this[We].set(c,d.subscribe(()=>this.updateFromStores())),this[or].set(c,[]),Ir(d)&&d.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,f)=>{if(typeof this[f]=="function"&&(!p.store||d.name===p.store)){let h=m=>this[f](m);d.addEventListener(p.eventName,h),this[or].get(c).push(()=>d.removeEventListener(p.eventName,h))}})),this.onStoreAvailable(c)}unsubscribeFromStores(){this[We].forEach((c,d)=>this.unsubscribeFromStore(d))}unsubscribeFromStore(c){var d;this[We].has(c)&&this[We].get(c)(),this[We].delete(c),(d=this[or].get(c))===null||d===void 0||d.forEach(u=>u()),this[or].delete(c)}onStoreAvailable(c){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=We,o=ot,n=or,a.reduxProperties=new Map,a.reduxReactiveProperties=new Set,a.reduxEventListeners=new Map,a}),Ia=class extends Zc(we){};function le(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,s;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map((function(c){return"'"+c+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ie(e){return!!e&&!!e[D]}function xe(e){var t;return!!e&&((function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===rl})(e)||Array.isArray(e)||!!e[Fa]||!!(!((t=e.constructor)===null||t===void 0)&&t[Fa])||Fo(e)||Go(e))}function nt(e,t,o){o===void 0&&(o=!1),It(e)===0?(o?Object.keys:_t)(e).forEach((function(n){o&&typeof n=="symbol"||t(n,e[n],e)})):e.forEach((function(n,a){return t(a,n,e)}))}function It(e){var t=e[D];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Fo(e)?2:Go(e)?3:0}function kt(e,t){return It(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function qc(e,t){return It(e)===2?e.get(t):e[t]}function Ga(e,t,o){var n=It(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function Wa(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Fo(e){return el&&e instanceof Map}function Go(e){return tl&&e instanceof Set}function ze(e){return e.o||e.t}function Wo(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Va(e);delete t[D];for(var o=_t(t),n=0;n<o.length;n++){var a=o[n],s=t[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(t[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function zo(e,t){return t===void 0&&(t=!1),jo(e)||Ie(e)||!xe(e)||(It(e)>1&&(e.set=e.add=e.clear=e.delete=Yc),Object.freeze(e),t&&nt(e,(function(o,n){return zo(n,!0)}),!0)),e}function Yc(){le(2)}function jo(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Re(e){var t=$o[e];return t||le(18,e),t}function Xc(e,t){$o[e]||($o[e]=t)}function Uo(){return ar}function _o(e,t){t&&(Re("Patches"),e.u=[],e.s=[],e.v=t)}function Dr(e){Bo(e),e.p.forEach(Jc),e.p=null}function Bo(e){e===ar&&(ar=e.l)}function Da(e){return ar={p:[],l:ar,h:e,m:!0,_:0}}function Jc(e){var t=e[D];t.i===0||t.i===1?t.j():t.g=!0}function Io(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Re("ES5").S(t,e,n),n?(o[D].P&&(Dr(t),le(4)),xe(e)&&(e=Mr(t,e),t.l||Ur(t,e)),t.u&&Re("Patches").M(o[D].t,e,t.u,t.s)):e=Mr(t,o,[]),Dr(t),t.u&&t.v(t.u,t.s),e!==ja?e:void 0}function Mr(e,t,o){if(jo(t))return t;var n=t[D];if(!n)return nt(t,(function(d,u){return Ma(e,n,t,d,u,o)}),!0),t;if(n.A!==e)return t;if(!n.P)return Ur(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Wo(n.k):n.o,s=a,c=!1;n.i===3&&(s=new Set(a),a.clear(),c=!0),nt(s,(function(d,u){return Ma(e,n,a,d,u,o,c)})),Ur(e,a,!1),o&&e.u&&Re("Patches").N(n,o,e.u,e.s)}return n.o}function Ma(e,t,o,n,a,s,c){if(Ie(a)){var d=Mr(e,a,s&&t&&t.i!==3&&!kt(t.R,n)?s.concat(n):void 0);if(Ga(o,n,d),!Ie(d))return;e.m=!1}else c&&o.add(a);if(xe(a)&&!jo(a)){if(!e.h.D&&e._<1)return;Mr(e,a),t&&t.A.l||Ur(e,a)}}function Ur(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&zo(t,o)}function Do(e,t){var o=e[D];return(o?ze(o):e)[t]}function Ua(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function je(e){e.P||(e.P=!0,e.l&&je(e.l))}function Mo(e){e.o||(e.o=Wo(e.t))}function Ho(e,t,o){var n=Fo(t)?Re("MapSet").F(t,o):Go(t)?Re("MapSet").T(t,o):e.O?(function(a,s){var c=Array.isArray(a),d={i:c?1:0,A:s?s.A:Uo(),P:!1,I:!1,R:{},l:s,t:a,k:null,o:null,j:null,C:!1},u=d,p=ir;c&&(u=[d],p=nr);var f=Proxy.revocable(u,p),h=f.revoke,m=f.proxy;return d.k=m,d.j=h,m})(t,o):Re("ES5").J(t,o);return(o?o.A:Uo()).p.push(n),n}function Qc(e){return Ie(e)||le(22,e),(function t(o){if(!xe(o))return o;var n,a=o[D],s=It(o);if(a){if(!a.P&&(a.i<4||!Re("ES5").K(a)))return a.t;a.I=!0,n=Ba(o,s),a.I=!1}else n=Ba(o,s);return nt(n,(function(c,d){a&&qc(a.t,c)===d||Ga(n,c,t(d))})),s===3?new Set(n):n})(e)}function Ba(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Wo(e)}function za(){function e(c,d){var u=s[c];return u?u.enumerable=d:s[c]=u={configurable:!0,enumerable:d,get:function(){var p=this[D];return ir.get(p,c)},set:function(p){var f=this[D];ir.set(f,c,p)}},u}function t(c){for(var d=c.length-1;d>=0;d--){var u=c[d][D];if(!u.P)switch(u.i){case 5:n(u)&&je(u);break;case 4:o(u)&&je(u)}}}function o(c){for(var d=c.t,u=c.k,p=_t(u),f=p.length-1;f>=0;f--){var h=p[f];if(h!==D){var m=d[h];if(m===void 0&&!kt(d,h))return!0;var y=u[h],g=y&&y[D];if(g?g.t!==m:!Wa(y,m))return!0}}var b=!!d[D];return p.length!==_t(d).length+(b?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var u=Object.getOwnPropertyDescriptor(d,d.length-1);if(u&&!u.get)return!0;for(var p=0;p<d.length;p++)if(!d.hasOwnProperty(p))return!0;return!1}function a(c){c.g&&le(3,JSON.stringify(ze(c)))}var s={};Xc("ES5",{J:function(c,d){var u=Array.isArray(c),p=(function(h,m){if(h){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,e(g,!0));return y}var b=Va(m);delete b[D];for(var C=_t(b),O=0;O<C.length;O++){var E=C[O];b[E]=e(E,h||!!b[E].enumerable)}return Object.create(Object.getPrototypeOf(m),b)})(u,c),f={i:u?5:4,A:d?d.A:Uo(),P:!1,I:!1,R:{},l:d,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,D,{value:f,writable:!0}),p},S:function(c,d,u){u?Ie(d)&&d[D].A===c&&t(c.p):(c.u&&(function p(f){if(f&&typeof f=="object"){var h=f[D];if(h){var m=h.t,y=h.k,g=h.R,b=h.i;if(b===4)nt(y,(function(R){R!==D&&(m[R]!==void 0||kt(m,R)?g[R]||p(y[R]):(g[R]=!0,je(h)))})),nt(m,(function(R){y[R]!==void 0||kt(y,R)||(g[R]=!1,je(h))}));else if(b===5){if(n(h)&&(je(h),g.length=!0),y.length<m.length)for(var C=y.length;C<m.length;C++)g[C]=!1;else for(var O=m.length;O<y.length;O++)g[O]=!0;for(var E=Math.min(y.length,m.length),w=0;w<E;w++)y.hasOwnProperty(w)||(g[w]=!0),g[w]===void 0&&p(y[w])}}}})(c.p[0]),t(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var Ha,ar,Vo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",el=typeof Map<"u",tl=typeof Set<"u",$a=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ja=Vo?Symbol.for("immer-nothing"):((Ha={})["immer-nothing"]=!0,Ha),Fa=Vo?Symbol.for("immer-draftable"):"__$immer_draftable",D=Vo?Symbol.for("immer-state"):"__$immer_state";var rl=""+Object.prototype.constructor,_t=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Va=Object.getOwnPropertyDescriptors||function(e){var t={};return _t(e).forEach((function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)})),t},$o={},ir={get:function(e,t){if(t===D)return e;var o=ze(e);if(!kt(o,t))return(function(a,s,c){var d,u=Ua(s,c);return u?"value"in u?u.value:(d=u.get)===null||d===void 0?void 0:d.call(a.k):void 0})(e,o,t);var n=o[t];return e.I||!xe(n)?n:n===Do(e.t,t)?(Mo(e),e.o[t]=Ho(e.A.h,n,e)):n},has:function(e,t){return t in ze(e)},ownKeys:function(e){return Reflect.ownKeys(ze(e))},set:function(e,t,o){var n=Ua(ze(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Do(ze(e),t),s=a?.[D];if(s&&s.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(Wa(o,a)&&(o!==void 0||kt(e.t,t)))return!0;Mo(e),je(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Do(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Mo(e),je(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=ze(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){le(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){le(12)}},nr={};nt(ir,(function(e,t){nr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),nr.deleteProperty=function(e,t){return nr.set.call(this,e,t,void 0)},nr.set=function(e,t,o){return ir.set.call(this,e[0],t,o,e[0])};var ol=(function(){function e(o){var n=this;this.O=$a,this.D=!0,this.produce=function(a,s,c){if(typeof a=="function"&&typeof s!="function"){var d=s;s=a;var u=n;return function(b){var C=this;b===void 0&&(b=d);for(var O=arguments.length,E=Array(O>1?O-1:0),w=1;w<O;w++)E[w-1]=arguments[w];return u.produce(b,(function(R){var z;return(z=s).call.apply(z,[C,R].concat(E))}))}}var p;if(typeof s!="function"&&le(6),c!==void 0&&typeof c!="function"&&le(7),xe(a)){var f=Da(n),h=Ho(n,a,void 0),m=!0;try{p=s(h),m=!1}finally{m?Dr(f):Bo(f)}return typeof Promise<"u"&&p instanceof Promise?p.then((function(b){return _o(f,c),Io(b,f)}),(function(b){throw Dr(f),b})):(_o(f,c),Io(p,f))}if(!a||typeof a!="object"){if((p=s(a))===void 0&&(p=a),p===ja&&(p=void 0),n.D&&zo(p,!0),c){var y=[],g=[];Re("Patches").M(a,p,y,g),c(y,g)}return p}le(21,a)},this.produceWithPatches=function(a,s){if(typeof a=="function")return function(p){for(var f=arguments.length,h=Array(f>1?f-1:0),m=1;m<f;m++)h[m-1]=arguments[m];return n.produceWithPatches(p,(function(y){return a.apply(void 0,[y].concat(h))}))};var c,d,u=n.produce(a,s,(function(p,f){c=p,d=f}));return typeof Promise<"u"&&u instanceof Promise?u.then((function(p){return[p,c,d]})):[u,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){xe(o)||le(8),Ie(o)&&(o=Qc(o));var n=Da(this),a=Ho(this,o,void 0);return a[D].C=!0,Bo(n),a},t.finishDraft=function(o,n){var a=o&&o[D],s=a.A;return _o(s,n),Io(void 0,s)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!$a&&le(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var s=n[a];if(s.path.length===0&&s.op==="replace"){o=s.value;break}}a>-1&&(n=n.slice(a+1));var c=Re("Patches").$;return Ie(o)?c(o,n):this.produce(o,(function(d){return c(d,n)}))},e})(),ne=new ol,nl=ne.produce,Hm=ne.produceWithPatches.bind(ne),$m=ne.setAutoFreeze.bind(ne),Fm=ne.setUseProxies.bind(ne),Gm=ne.applyPatches.bind(ne),Wm=ne.createDraft.bind(ne),zm=ne.finishDraft.bind(ne),Br=nl;function at(e){"@babel/helpers - typeof";return at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(e)}function Ka(e,t){if(at(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(at(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Za(e){var t=Ka(e,"string");return at(t)=="symbol"?t:t+""}function qa(e,t,o){return(t=Za(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ya(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Ko(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?Ya(Object(o),!0).forEach(function(n){qa(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ya(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}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 Xa=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),Zo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Hr={INIT:"@@redux/INIT"+Zo(),REPLACE:"@@redux/REPLACE"+Zo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Zo()}};function al(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function qo(e,t,o){var n;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(qo)(e,t)}if(typeof e!="function")throw new Error(Z(2));var a=e,s=t,c=[],d=c,u=!1;function p(){d===c&&(d=c.slice())}function f(){if(u)throw new Error(Z(3));return s}function h(b){if(typeof b!="function")throw new Error(Z(4));if(u)throw new Error(Z(5));var C=!0;return p(),d.push(b),function(){if(C){if(u)throw new Error(Z(6));C=!1,p();var E=d.indexOf(b);d.splice(E,1),c=null}}}function m(b){if(!al(b))throw new Error(Z(7));if(typeof b.type>"u")throw new Error(Z(8));if(u)throw new Error(Z(9));try{u=!0,s=a(s,b)}finally{u=!1}for(var C=c=d,O=0;O<C.length;O++){var E=C[O];E()}return b}function y(b){if(typeof b!="function")throw new Error(Z(10));a=b,m({type:Hr.REPLACE})}function g(){var b,C=h;return b={subscribe:function(E){if(typeof E!="object"||E===null)throw new Error(Z(11));function w(){E.next&&E.next(f())}w();var R=C(w);return{unsubscribe:R}}},b[Xa]=function(){return this},b}return m({type:Hr.INIT}),n={dispatch:m,subscribe:h,getState:f,replaceReducer:y},n[Xa]=g,n}function il(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Hr.INIT});if(typeof n>"u")throw new Error(Z(12));if(typeof o(void 0,{type:Hr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Z(13))})}function Ja(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var s=Object.keys(o),c,d;try{il(o)}catch(u){d=u}return function(p,f){if(p===void 0&&(p={}),d)throw d;if(0)var h;for(var m=!1,y={},g=0;g<s.length;g++){var b=s[g],C=o[b],O=p[b],E=C(O,f);if(typeof E>"u"){var w=f&&f.type;throw new Error(Z(14))}y[b]=E,m=m||E!==O}return m=m||s.length!==Object.keys(p).length,m?y:p}}function Dt(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Qa(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),s=function(){throw new Error(Z(15))},c={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},d=t.map(function(u){return u(c)});return s=Dt.apply(void 0,d)(a.dispatch),Ko(Ko({},a),{},{dispatch:s})}}}function ei(e){var t=function(n){var a=n.dispatch,s=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,s,e):c(d)}}};return t}var ti=ei();ti.withExtraArgument=ei;var Yo=ti;var ii=(function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(n[s]=a[s])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}})(),sl=function(e,t){var o={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,a,s,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(p){return function(f){return u([p,f])}}function u(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(s=p[0]&2?a.return:p[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,p[1])).done)return s;switch(a=0,s&&(p=[p[0]&2,s.value]),p[0]){case 0:case 1:s=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(s=o.trys,!(s=s.length>0&&s[s.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!s||p[1]>s[0]&&p[1]<s[3])){o.label=p[1];break}if(p[0]===6&&o.label<s[1]){o.label=s[1],s=p;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(p);break}s[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(f){p=[6,f],a=0}finally{n=s=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Mt=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},cl=Object.defineProperty,ll=Object.defineProperties,dl=Object.getOwnPropertyDescriptors,ri=Object.getOwnPropertySymbols,ul=Object.prototype.hasOwnProperty,pl=Object.prototype.propertyIsEnumerable,oi=function(e,t,o){return t in e?cl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},Ve=function(e,t){for(var o in t||(t={}))ul.call(t,o)&&oi(e,o,t[o]);if(ri)for(var n=0,a=ri(t);n<a.length;n++){var o=a[n];pl.call(t,o)&&oi(e,o,t[o])}return e},Xo=function(e,t){return ll(e,dl(t))},fl=function(e,t,o){return new Promise(function(n,a){var s=function(u){try{d(o.next(u))}catch(p){a(p)}},c=function(u){try{d(o.throw(u))}catch(p){a(p)}},d=function(u){return u.done?n(u.value):Promise.resolve(u.value).then(s,c)};d((o=o.apply(e,t)).next())})};var hl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Dt:Dt.apply(null,arguments)},cy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function ml(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}function Ke(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var s=t.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return Ve(Ve({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}var yl=(function(e){ii(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Mt([void 0],o[0].concat(this)))):new(t.bind.apply(t,Mt([void 0],o.concat(this))))},t})(Array),gl=(function(e){ii(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Mt([void 0],o[0].concat(this)))):new(t.bind.apply(t,Mt([void 0],o.concat(this))))},t})(Array);function en(e){return xe(e)?Br(e,function(){}):e}function bl(e){return typeof e=="boolean"}function xl(){return function(t){return vl(t)}}function vl(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,s=e.serializableCheck,c=s===void 0?!0:s,d=e.actionCreatorCheck,u=d===void 0?!0:d,p=new yl;if(o&&(bl(o)?p.push(Yo):p.push(Yo.withExtraArgument(o.extraArgument))),0){if(a)var f;if(c)var h;if(u)var m}return p}var Jo=!0;function si(e){var t=xl(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,s=o.middleware,c=s===void 0?t():s,d=o.devTools,u=d===void 0?!0:d,p=o.preloadedState,f=p===void 0?void 0:p,h=o.enhancers,m=h===void 0?void 0:h,y;if(typeof a=="function")y=a;else if(ml(a))y=Ja(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=c;if(typeof g=="function"&&(g=g(t),!Jo&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Jo&&g.some(function(R){return typeof R!="function"}))throw new Error("each middleware provided to configureStore must be a function");var b=Qa.apply(void 0,g),C=Dt;u&&(C=hl(Ve({trace:!Jo},typeof u=="object"&&u)));var O=new gl(b),E=O;Array.isArray(m)?E=Mt([b],m):typeof m=="function"&&(E=m(O));var w=C.apply(void 0,E);return qo(y,f,w)}function ci(e){var t={},o=[],n,a={addCase:function(s,c){var d=typeof s=="string"?s:s.type;if(!d)throw new Error("`builder.addCase` cannot be called with an empty action type");if(d in t)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return t[d]=c,a},addMatcher:function(s,c){return o.push({matcher:s,reducer:c}),a},addDefaultCase:function(s){return n=s,a}};return e(a),[t,o,n]}function Sl(e){return typeof e=="function"}function Cl(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?ci(t):[t,o,n],s=a[0],c=a[1],d=a[2],u;if(Sl(e))u=function(){return en(e())};else{var p=en(e);u=function(){return p}}function f(h,m){h===void 0&&(h=u());var y=Mt([s[m.type]],c.filter(function(g){var b=g.matcher;return b(m)}).map(function(g){var b=g.reducer;return b}));return y.filter(function(g){return!!g}).length===0&&(y=[d]),y.reduce(function(g,b){if(b)if(Ie(g)){var C=g,O=b(C,m);return O===void 0?g:O}else{if(xe(g))return Br(g,function(E){return b(E,m)});var O=b(g,m);if(O===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return O}return g},h)}return f.getInitialState=u,f}function Ol(e,t){return e+"/"+t}function li(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:en(e.initialState),n=e.reducers||{},a=Object.keys(n),s={},c={},d={};a.forEach(function(f){var h=n[f],m=Ol(t,f),y,g;"reducer"in h?(y=h.reducer,g=h.prepare):y=h,s[f]=y,c[m]=y,d[f]=g?Ke(m,g):Ke(m)});function u(){var f=typeof e.extraReducers=="function"?ci(e.extraReducers):[e.extraReducers],h=f[0],m=h===void 0?{}:h,y=f[1],g=y===void 0?[]:y,b=f[2],C=b===void 0?void 0:b,O=Ve(Ve({},m),c);return Cl(o,function(E){for(var w in O)E.addCase(w,O[w]);for(var R=0,z=g;R<z.length;R++){var H=z[R];E.addMatcher(H.matcher,H.reducer)}C&&E.addDefaultCase(C)})}var p;return{name:t,reducer:function(f,h){return p||(p=u()),p(f,h)},actions:d,caseReducers:s,getInitialState:function(){return p||(p=u()),p.getInitialState()}}}var El="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Al=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=El[Math.random()*64|0];return t},wl=["name","message","stack","code"],Qo=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),ni=(function(){function e(t,o){this.payload=t,this.meta=o}return e})(),Rl=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=wl;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},py=(function(){function e(t,o,n){var a=Ke(t+"/fulfilled",function(f,h,m,y){return{payload:f,meta:Xo(Ve({},y||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),s=Ke(t+"/pending",function(f,h,m){return{payload:void 0,meta:Xo(Ve({},m||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),c=Ke(t+"/rejected",function(f,h,m,y,g){return{payload:y,error:(n&&n.serializeError||Rl)(f||"Rejected"),meta:Xo(Ve({},g||{}),{arg:m,requestId:h,rejectedWithValue:!!y,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),d=!1,u=typeof AbortController<"u"?AbortController:(function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f})();function p(f){return function(h,m,y){var g=n?.idGenerator?n.idGenerator(f):Al(),b=new u,C,O=!1;function E(R){C=R,b.abort()}var w=(function(){return fl(this,null,function(){var R,z,H,Ue,go,Be,te;return sl(this,function(se){switch(se.label){case 0:return se.trys.push([0,4,,5]),Ue=(R=n?.condition)==null?void 0:R.call(n,f,{getState:m,extra:y}),Tl(Ue)?[4,Ue]:[3,2];case 1:Ue=se.sent(),se.label=2;case 2:if(Ue===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return O=!0,go=new Promise(function(re,Je){return b.signal.addEventListener("abort",function(){return Je({name:"AbortError",message:C||"Aborted"})})}),h(s(g,f,(z=n?.getPendingMeta)==null?void 0:z.call(n,{requestId:g,arg:f},{getState:m,extra:y}))),[4,Promise.race([go,Promise.resolve(o(f,{dispatch:h,getState:m,extra:y,requestId:g,signal:b.signal,abort:E,rejectWithValue:function(re,Je){return new Qo(re,Je)},fulfillWithValue:function(re,Je){return new ni(re,Je)}})).then(function(re){if(re instanceof Qo)throw re;return re instanceof ni?a(re.payload,g,f,re.meta):a(re,g,f)})])];case 3:return H=se.sent(),[3,5];case 4:return Be=se.sent(),H=Be instanceof Qo?c(null,g,f,Be.payload,Be.meta):c(Be,g,f),[3,5];case 5:return te=n&&!n.dispatchConditionRejection&&c.match(H)&&H.meta.condition,te||h(H),[2,H]}})})})();return Object.assign(w,{abort:E,requestId:g,arg:f,unwrap:function(){return w.then(Ll)}})}}return Object.assign(p,{pending:s,rejected:c,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e})();function Ll(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Tl(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var di="listener",ui="completed",pi="cancelled",fy="task-"+pi,hy="task-"+ui,my=di+"-"+pi,yy=di+"-"+ui;var tn="listenerMiddleware";var gy=Ke(tn+"/add"),by=Ke(tn+"/removeAll"),xy=Ke(tn+"/remove");var ai,vy=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(ai||(ai=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Pl=function(e){return function(t){setTimeout(t,e)}},Sy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Pl(10);za();var Nl=Tr(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)}}}),$r=class extends Nl(Object){};window.ftReduxStores||(window.ftReduxStores={});var fi=class e extends $r{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=li({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=si({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let f=tr(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)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Pr;let a=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,c,d)=>{let u=c,p=s[u];return p?(...f)=>{let h=p(...f.map(a));return this.reduxStore.dispatch(h),h}:f=>{this.setState({[u]:a(f)})}}}),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()}};var Fr=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 Gr=x(T()),kl="ft-app-info",Ut=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};Ut.eventName="authentication-change";var sr=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:t})}};sr.eventName="ui-locale-changed";var _l={session:(e,t)=>{(0,Gr.deepEqual)(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>L.dispatchEvent(new Ut(t.payload)),0))}},L=Gr.FtReduxStore.get({name:kl,reducers:_l,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,searchLanguageSetsUiLanguage:!1,uiLanguageSetsSearchLanguage:!1,uiLanguageSetsReaderLanguage:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}});var hi=x(T()),Wr=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},qy=(0,hi.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(L)}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=>Fr.format(d,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return Wr([(0,rn.property)({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Wr([(0,rn.property)({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Wr([ko({store:L.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),Wr([ko({store:L.name})],t.prototype,"uiLocale",void 0),t});var mi;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(mi||(mi={}));var yi;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(yi||(yi={}));var gi;(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"})(gi||(gi={}));var bi;(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"})(bi||(bi={}));var xi;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(xi||(xi={}));var vi;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(vi||(vi={}));var Si;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(Si||(Si={}));var Ci;(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"})(Ci||(Ci={}));var Oi;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(Oi||(Oi={}));var Ei;(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"})(Ei||(Ei={}));var Ai;(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"})(Ai||(Ai={}));var wi;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(wi||(wi={}));var Ri;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ri||(Ri={}));var Li;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Li||(Li={}));var Ti;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Ti||(Ti={}));var Pi;(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"})(Pi||(Pi={}));var Ni;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Ni||(Ni={}));var ki;(function(e){e.ASC="ASC",e.DESC="DESC"})(ki||(ki={}));var _i;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(_i||(_i={}));var Ii;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ii||(Ii={}));var Di;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Di||(Di={}));var Mi;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Mi||(Mi={}));var Ui;(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"})(Ui||(Ui={}));var Bi;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Bi||(Bi={}));var Hi;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Hi||(Hi={}));var $i;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})($i||($i={}));var Fi;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Fi||(Fi={}));var G;(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"})(G||(G={}));var de;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(de||(de={}));var Gi;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(Gi||(Gi={}));var Wi;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(Wi||(Wi={}));var zi;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(zi||(zi={}));var ji;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SUMMARY="SUMMARY",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(ji||(ji={}));var Vi;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Vi||(Vi={}));var Ki;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Ki||(Ki={}));var Zi;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Zi||(Zi={}));var qi;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(qi||(qi={}));var Yi;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(Yi||(Yi={}));var Xi;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Xi||(Xi={}));var Ji;(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"})(Ji||(Ji={}));var Qi;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Qi||(Qi={}));var Il={[G.PERSONAL_BOOK_SHARE_USER]:[G.PERSONAL_BOOK_USER],[G.HTML_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.PDF_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.KHUB_ADMIN]:[G.CONTENT_PUBLISHER],[G.ADMIN]:[G.KHUB_ADMIN,G.USERS_ADMIN,G.PORTAL_ADMIN,G.BEHAVIOR_DATA_USER],[G.GENERATIVE_AI_EXPORT_USER]:[G.GENERATIVE_AI_USER]};function es(e,t){return e===t||(Il[e]??[]).some(o=>es(o,t))}function ts(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=>es(n,t))}var Zr=x(T());var on=x(T());var it=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=L.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=L.subscribe(()=>{n=e.get(t),n&&(a(),o(n))})}})}};var Bt=class{constructor(t){this.overrideApi=t}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:it.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):it.await()}};var ae=class extends Bt{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 on.CacheRegistry,this.cache=t?a.commonCache:new on.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 zr=class extends ae{async listMySearches(){let{session:t}=L.getState();return ts(t,G.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),300*1e3):[]}};var jr=class extends ae{async listMyBookmarks(){let t=L.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),300*1e3):[]}};var Vr=class extends ae{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=L.getState().session;return!!t?.sessionAuthenticated}};var Kr=class extends ae{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=L.getState().session;return!!t?.sessionAuthenticated}};var Dl="ft-user-assets",Ml={setAssetCount:(e,t)=>{let{userAssetType:o,count:n}=t.payload.assetCount;e.assetCounts.allAsset[o]=n},clearAssetCount:e=>{Object.values(de).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;an(e,o,[...nn(e,o),a]),rs(e,o,1,n),os(e,a)},editAsset:(e,t)=>{let{assetType:o,asset:n}=t.payload;an(e,o,nn(e,o).map(a=>a.id===n.id?n:a)),os(e,n)},removeAsset:(e,t)=>{let{assetType:o,mapId:n,assetId:a}=t.payload;an(e,o,nn(e,o).filter(s=>s.id!==a)),rs(e,o,-1,n)}},ns={[de.SEARCHES]:"savedSearches",[de.BOOKMARKS]:"bookmarks",[de.BOOKS]:void 0,[de.COLLECTIONS]:void 0},nn=(e,t)=>{var o;let n=ns[t];return n?(o=e[n])!==null&&o!==void 0?o:[]:[]},an=(e,t,o)=>{let n=ns[t];n&&(e[n]=o)},rs=(e,t,o,n)=>{let a=e.assetCounts.allAsset[t];if(a!==void 0&&(e.assetCounts.allAsset[t]=Math.max(0,a+o),t===de.BOOKMARKS&&n)){let s=e.assetCounts.bookmarkByMap[n];e.assetCounts.bookmarkByMap[n]=Math.max(0,s+o)}},os=(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)},X=Zr.FtReduxStore.get({name:Dl,reducers:Ml,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(de).map(e=>[e,void 0])),bookmarkByMap:{}},assetLabels:[]}}),sn=class{constructor(t=new Vr,o=new Kr){this.assetCountsService=t,this.assetLabelsService=o,this.currentSession=L.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new jr,this.savedSearchesService=new zr,L.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=L.getState();(0,Zr.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(),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 o=await this.assetCountsService.getUserAssetCount(t);o&&X.getState().assetCounts.allAsset[t]!==o.count&&X.actions.setAssetCount({assetCount:o})}async loadBookmarkByMapId(t){let o=await this.assetCountsService.getUserBookmarkCountByMap(t);o&&X.getState().assetCounts.bookmarkByMap[t]!==o.count&&X.actions.setBookmarkCountByMap({count:o.count,mapId:t})}async reloadAssetCount(t){this.assetCountsService.clearCache();let o=Object.keys(X.getState().assetCounts.bookmarkByMap).length!==0;t===de.BOOKMARKS&&o&&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 o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;X.actions.bookmarks(o)}}},Ul=new sn;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Ul);var cn=class{addCommand(t,o=!1){L.commands.add(t,o)}consumeCommand(t){return L.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new cn;var ue=x(T());var as,Ht=class extends CustomEvent{constructor(t){super("ft-i18n-context-loaded",{detail:t})}},Bl=Symbol("clearAfterUnitTest"),qr=class extends(0,ue.withEventBus)(ae){constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[as]=()=>{this.defaultMessages={},this.cache=new ue.CacheRegistry,this.listeners={}},this.currentUiLocale=L.getState().uiLocale,L.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=L.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,ue.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 ue.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 ue.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 Ht({loadedContexts:t})),this.dispatchEvent(new Ht({loadedContexts:t})),await Promise.all(t.map(o=>this.notify(o,!1)))}async notify(t,o=!0){o&&(document.body.dispatchEvent(new Ht({loadedContexts:[t]})),this.dispatchEvent(new Ht({loadedContexts:[t]}))),this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(n=>(0,ue.delay)(0).then(()=>n()).catch(()=>null)))}};as=Bl;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends qr{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends qr{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var $t=window.FluidTopicsI18nService,Yr=window.FluidTopicsCustomI18nService;var is=x(T()),ln=class{highlightHtml(t,o,n){(0,is.highlightHtml)(t,o,n)}};window.FluidTopicsHighlightHtmlService=new ln;var ss=x(T());var dn=class{isDate(t){var o,n,a,s;return(s=(a=((n=(o=L.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(d=>d.key===t))===null||a===void 0?void 0:a.date)!==null&&s!==void 0?s:!1}format(t,o){var n,a,s,c;if(t==null)return"";try{return ss.DateFormatter.format(t,(n=o?.locale)!==null&&n!==void 0?n:L.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 dn;var cs=x(T());var cr=class{static get(t,o){var n,a;let s=L.getState(),{lang:c,region:d}=(a=(n=s.defaultLocales)===null||n===void 0?void 0:n.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new cs.SearchPlaceConverter(s.baseUrl,t??20,s.searchInAllLanguagesAllowed,o??`${c}-${d}`)}};var un=class{urlToSearchRequest(t){return cr.get().parse(t)}searchRequestToUrl(t){return cr.get().serialize(t)}};window.FluidTopicsUrlService=new un;var De=x(T());var st=class e extends CustomEvent{constructor(t){super(e.eventName,{detail:{currentItem:t}})}};st.eventName="change";var pn=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))}},ls=new pn;var Xr=class e extends De.WithEventBus{static build(){return new e(window.history,ls,()=>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,window.location.href]),setTimeout(()=>this.dispatchEvent(new st(this.currentItem())),0)}installProxies(){let t=o=>(n,a,[s,c,d])=>{let u=o(),p={...u===this.currentIndex?this.currentState:void 0,...s,index:u,href:typeof d=="string"?d:(d??this.windowLocation()).href};n.apply(a,[p,c,d]),this.setCurrentState(p,!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)}addHistoryChangeListener(t){this.addEventListener(st.eventName,t)}removeHistoryChangeListener(t){this.removeEventListener(st.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=Xr.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)});var ds=x($());var us=ds.css`
|
|
161
|
+
`;var hs=x($()),ie=x(J()),dt=x(T());var ct=x(T());function ps(e,t){let{authenticationRequired:o,session:n}=L.getState();return o&&!n?.sessionAuthenticated?Promise.resolve(t):e()}var Jr=class extends Bt{async updateUiLocale(t){return(await this.awaitApi).updateUiLocale(t)}};var fn=class e extends ct.FtStateManager{static build(t){return new e(L,t)}constructor(t,o){super(),this.store=t,this.cache=new ct.CacheRegistry,this.withManualResources=!0,this.localesConfiguration=null,this.userLocaleService=new Jr,this.cleanSessionDebouncer=new ct.Debouncer,this.reloadDebouncer=new ct.Debouncer(500),this.apiProvider=o??(()=>it.get())}setWithManualResources(t){this.withManualResources=t,this.updateIfNeeded()}async initService(){this.store.addEventListener(Ut.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.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 o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},o.idleTimeoutInMillis),o});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 o=await this.cache.get("availableContentLocales",()=>ps(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((t=o.contentLocales)!==null&&t!==void 0?t:[])}reloadConfiguration(){var t;(t=this.cache)===null||t===void 0||t.clear("availableContentLocales"),typeof this.updateAvailableContentLocales=="function"&&this.updateAvailableContentLocales()}setBaseUrl(t){this.store.actions.baseUrl(t),window.fluidTopicsBaseUrl=t}setApiIntegrationIdentifier(t){this.store.actions.apiIntegrationIdentifier(t)}setApiIntegrationAppVersion(t){this.store.actions.apiIntegrationAppVersion(t)}setUiLocale(t){this.store.actions.uiLocale(t)}setLocalesConfiguration(t){var o,n,a,s,c;this.localesConfiguration=t,this.store.actions.defaultLocales(this.localesConfiguration.defaultLocales),this.store.actions.availableUiLocales((o=this.localesConfiguration.availableUiLocales)!==null&&o!==void 0?o:[]),this.store.actions.searchInAllLanguagesAllowed((n=this.localesConfiguration.allLanguagesAllowed)!==null&&n!==void 0?n:!1),this.store.actions.searchLanguageSetsUiLanguage((a=this.localesConfiguration.searchLanguageSetsUiLanguage)!==null&&a!==void 0?a:!1),this.store.actions.uiLanguageSetsSearchLanguage((s=this.localesConfiguration.uiLanguageSetsSearchLanguage)!==null&&s!==void 0?s:!1),this.store.actions.uiLanguageSetsReaderLanguage((c=this.localesConfiguration.uiLanguageSetsReaderLanguage)!==null&&c!==void 0?c:!1),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(t){this.store.actions.availableContentLocales(t),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(t){this.userLocaleService.updateUiLocale({uiLocale:t}).then(o=>{o.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new sr(o)))}).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)}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)}},fs=fn.build();var lt=class extends Event{constructor(t,o,n,a){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=o,this.callback=n,this.subscribe=a??!1}};var lr=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=t=>{let o=this.pendingContextRequests.get(t.context);if(o===void 0)return;this.pendingContextRequests.delete(t.context);let{requests:n}=o;for(let{elementRef:a,callbackRef:s}of n){let c=a.deref(),d=s.deref();c===void 0||d===void 0||c.dispatchEvent(new lt(t.context,c,d,!0))}},this.onContextRequest=t=>{if(t.subscribe!==!0)return;let o=t.contextTarget??t.composedPath()[0],n=t.callback,a=this.pendingContextRequests.get(t.context);a===void 0&&this.pendingContextRequests.set(t.context,a={callbacks:new WeakMap,requests:[]});let s=a.callbacks.get(o);s===void 0&&a.callbacks.set(o,s=new WeakSet),s.has(n)||(s.add(n),a.requests.push({elementRef:new WeakRef(o),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 q=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},U=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.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=fs,this.contextRoot=new lr}render(){return hs.html`
|
|
162
162
|
<slot></slot>
|
|
163
|
-
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var o;super.update(t),t.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),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("session")&&this.stateManager.setSession(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n
|
|
164
|
-
`;var no=x(
|
|
163
|
+
`}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.contextRoot.detach(document.body)}update(t){var o;super.update(t),t.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),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("session")&&this.stateManager.setSession(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>$t.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")&&((o=this.stateManager)===null||o===void 0||o.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};U.elementDefinitions={};U.styles=us;q([(0,ie.property)()],U.prototype,"baseUrl",void 0);q([(0,ie.property)()],U.prototype,"apiIntegrationIdentifier",void 0);q([(0,ie.property)()],U.prototype,"apiIntegrationAppVersion",void 0);q([(0,ie.property)()],U.prototype,"uiLocale",void 0);q([(0,dt.jsonProperty)(null)],U.prototype,"availableUiLocales",void 0);q([(0,dt.jsonProperty)(null)],U.prototype,"metadataConfiguration",void 0);q([(0,ie.property)({type:Boolean})],U.prototype,"editorMode",void 0);q([(0,ie.property)({type:Boolean})],U.prototype,"noCustom",void 0);q([(0,ie.property)({type:Boolean})],U.prototype,"openExternalDocumentInNewTab",void 0);q([(0,ie.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],U.prototype,"noCustomComponent",void 0);q([(0,ie.property)({type:Boolean})],U.prototype,"withManualResources",void 0);q([(0,ie.property)({type:Boolean})],U.prototype,"navigatorOnline",void 0);q([(0,ie.property)({type:Boolean})],U.prototype,"forcedOffline",void 0);q([(0,ie.property)({type:Boolean})],U.prototype,"authenticationRequired",void 0);q([(0,dt.jsonProperty)([])],U.prototype,"messageContexts",void 0);q([(0,dt.jsonProperty)(void 0)],U.prototype,"session",void 0);var ys=x(T());var ms={"ft-app-context":U};(0,ys.customElements)(ms);var Qr=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?Yr:$t}constructor(t,o=!1){this.name=t,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let s=a;return c=>({context:this.name,key:s,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...s)=>this.service.resolveMessage(this.name,a,...s)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a}),this.attributes=new Proxy({},{get:(n,a)=>()=>({context:this.name,key:a,message:this.service.resolveRawMessage(this.name,a)})})}};var Gt=x(T());var gs=x(J());var hn=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[o,n]=t.split(".");return{context:o,key:n,custom:o!=="officialContext",message:""}}return{message:t}}}toAttribute(t){if(t!=null)return JSON.stringify(t)}isI18nKey(t){return t.match(/^[\w-]+\.[\w-]+$/)}},Ft=new hn;var Fl=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},ur=Symbol("i18nAttributes"),bs=Symbol("i18nListAttributes"),xs=Symbol("i18nProperties"),eo=Symbol("i18nContexts"),dr=Symbol("i18nUnsubs"),oo=(0,Gt.applyMixinOnce)(Symbol("withI18n"),function(e){var t,o;class n extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map,this[o]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?Yr:$t}i18n(s){let{context:c,key:d,message:u}=s,{custom:p,args:f,argsProvider:h}=s;if(c&&d){this.hasI18nContext(c)||this.addI18nContext(c,void 0,p);let m=f??(h?h(this):[]);return this.getI18nService(p).resolveMessage(c,d,...m)}return u}async awaitI18n(s){let{context:c,custom:d}=s;return c&&await this.getI18nService(d).prepareContext(c),this.i18n(s)}customI18n(s,c){if(Ft.isI18nKey(s)){let[d,u]=s.split(".");return this.i18n({custom:!0,context:d,key:u,...c})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((c,d,u)=>s.has(d)||typeof c.argsProvider=="function"),this.updateI18nProperties(c=>typeof c.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((c,d,u)=>{var p;return((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(c=>c.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var c,d;let u=this,p=(f,h,m)=>m?.context&&m.key&&s(f,h,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...f})}:m;(c=this[ur])===null||c===void 0||c.forEach((f,h)=>u[h]=p(f,h,u[h])),(d=this[bs])===null||d===void 0||d.forEach((f,h)=>{var m;return u[h]=(m=u[h])===null||m===void 0?void 0:m.map(y=>p(f,h,y))})}updateI18nProperties(s){var c;(c=this[xs])===null||c===void 0||c.forEach((d,u)=>{s(d,u)&&(this[u]=this.i18n(d))})}addI18nMessages(s,c,d){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,c,d)}addI18nContext(s,c,d){let u=(typeof s=="string"?s:s.name).toLowerCase();d=typeof s=="string"?d:s.custom,this[eo].set(u,{isCustomContext:d}),this[dr].has(u)||this[dr].set(u,this.getI18nService(d).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(d).prepareContext(u,c)}hasI18nContext(s){return this[eo].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[eo].forEach((s,c)=>this.addI18nContext(c,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[dr].forEach(s=>s()),this[dr].clear()}}return t=eo,o=dr,Fl([(0,gs.property)({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),to=class extends oo(Gt.FtLitElement){},ro=class extends oo(Gt.FtLitElementRedux){};var vs=x($());var Ss=vs.css`
|
|
164
|
+
`;var no=x($()),ao=x(J()),io=x(T());var pr=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},ve=class extends ro{constructor(){super(),this.editorMode=!1,this.addStore(L)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":no.nothing:no.html`
|
|
165
165
|
<span class="ft-i18n">
|
|
166
166
|
${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
|
|
167
167
|
</span>
|
|
168
|
-
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ve.elementDefinitions={};ve.styles=Ss;pr([(0,io.redux)()],ve.prototype,"editorMode",void 0);pr([(0,ao.property)()],ve.prototype,"context",void 0);pr([(0,ao.property)()],ve.prototype,"key",void 0);pr([(0,io.jsonProperty)([])],ve.prototype,"args",void 0);pr([(0,ao.property)()],ve.prototype,"defaultMessage",void 0);var Os=x(T());var Cs={"ft-i18n":ve};(0,Os.customElements)(Cs);var ye=x(T());var
|
|
168
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};ve.elementDefinitions={};ve.styles=Ss;pr([(0,io.redux)()],ve.prototype,"editorMode",void 0);pr([(0,ao.property)()],ve.prototype,"context",void 0);pr([(0,ao.property)()],ve.prototype,"key",void 0);pr([(0,io.jsonProperty)([])],ve.prototype,"args",void 0);pr([(0,ao.property)()],ve.prototype,"defaultMessage",void 0);var Os=x(T());var Cs={"ft-i18n":ve};(0,Os.customElements)(Cs);var ye=x(T());var Ns=x($()),K=x(J()),ks=x(Or()),fr=x(T());var Ts=x($()),W=x(T()),Es=W.FtCssVariableFactory.extend("--ft-ripple-color","",W.designSystemVariables.colorContent),Le={color:Es,backgroundColor:W.FtCssVariableFactory.extend("--ft-ripple-background-color","",Es),opacityContentOnSurfacePressed:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:W.FtCssVariableFactory.external(W.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:W.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},As=W.FtCssVariableFactory.extend("--ft-ripple-color","",W.designSystemVariables.colorPrimary),ws={color:As,backgroundColor:W.FtCssVariableFactory.extend("--ft-ripple-background-color","",As)},Rs=W.FtCssVariableFactory.extend("--ft-ripple-color","",W.designSystemVariables.colorSecondary),Ls={color:Rs,backgroundColor:W.FtCssVariableFactory.extend("--ft-ripple-background-color","",Rs)},Ps=Ts.css`
|
|
169
169
|
:host {
|
|
170
170
|
display: contents;
|
|
171
171
|
}
|
|
@@ -277,18 +277,18 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
277
277
|
opacity: ${Le.opacityContentOnSurfacePressed};
|
|
278
278
|
transform: translate(-50%, -50%) scale(1);
|
|
279
279
|
}
|
|
280
|
-
`;var Q=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},B=class extends fr.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 fr.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 fr.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:a,y:s}=this.getCoordinates(t),c=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(s!=null?s-c.y:c.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
|
|
280
|
+
`;var Q=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},B=class extends fr.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 fr.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 fr.Debouncer(10),this.moveRipple=t=>{var o,n;let{x:a,y:s}=this.getCoordinates(t),c=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-c.x:c.width/2),this.originY=Math.round(s!=null?s-c.y:c.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 Ns.html`
|
|
281
281
|
<style>
|
|
282
282
|
.ft-ripple .ft-ripple--effect {
|
|
283
283
|
left: ${this.originX}px;
|
|
284
284
|
top: ${this.originY}px;
|
|
285
285
|
}
|
|
286
286
|
</style>
|
|
287
|
-
<div class="${(0,
|
|
287
|
+
<div class="${(0,ks.classMap)(t)}">
|
|
288
288
|
<div class="ft-ripple--background"></div>
|
|
289
289
|
<div class="ft-ripple--effect"></div>
|
|
290
290
|
</div>
|
|
291
|
-
`}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 o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o: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 o=(...d)=>u=>{d.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),s=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",s,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",a,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",s,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,s;return o.x!=null?{x:a,y:s}=o:n.touches!=null&&(a=n.touches[0].clientX,s=n.touches[0].clientY),{x:a,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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};B.elementDefinitions={};B.styles=Ps;Q([(0,K.property)({type:Boolean})],B.prototype,"primary",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"secondary",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"unbounded",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"activated",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"selected",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"disabled",void 0);Q([(0,K.state)()],B.prototype,"hovered",void 0);Q([(0,K.state)()],B.prototype,"focused",void 0);Q([(0,K.state)()],B.prototype,"pressed",void 0);Q([(0,K.state)()],B.prototype,"rippling",void 0);Q([(0,K.state)()],B.prototype,"originX",void 0);Q([(0,K.state)()],B.prototype,"originY",void 0);Q([(0,K.query)(".ft-ripple")],B.prototype,"ripple",void 0);Q([(0,K.query)(".ft-ripple--effect")],B.prototype,"rippleEffect",void 0);var Is=x(T());var _s={"ft-ripple":B};(0,Is.customElements)(_s);var hc=x(
|
|
291
|
+
`}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 o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o: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 o=(...d)=>u=>{d.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),s=d=>{["Enter"," "].includes(d.key)&&o("keyup")(d)},c={passive:!0};t.addEventListener("mouseover",this.startHover,c),t.addEventListener("mousemove",this.moveRipple,c),t.addEventListener("mouseleave",this.endHover,c),t.addEventListener("mousedown",n,c),t.addEventListener("touchstart",a,c),t.addEventListener("touchmove",this.moveRipple,c),t.addEventListener("keydown",s,c),t.addEventListener("focus",this.startFocus,c),t.addEventListener("blur",this.endFocus,c),t.addEventListener("focusin",this.startFocus,c),t.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,c),t.removeEventListener("mousemove",this.moveRipple,c),t.removeEventListener("mouseleave",this.endHover,c),t.removeEventListener("mousedown",n,c),t.removeEventListener("touchstart",a,c),t.removeEventListener("touchmove",this.moveRipple,c),t.removeEventListener("keydown",s,c),t.removeEventListener("focus",this.startFocus,c),t.removeEventListener("blur",this.endFocus,c),t.removeEventListener("focusin",this.startFocus,c),t.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,a,s;return o.x!=null?{x:a,y:s}=o:n.touches!=null&&(a=n.touches[0].clientX,s=n.touches[0].clientY),{x:a,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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};B.elementDefinitions={};B.styles=Ps;Q([(0,K.property)({type:Boolean})],B.prototype,"primary",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"secondary",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"unbounded",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"activated",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"selected",void 0);Q([(0,K.property)({type:Boolean})],B.prototype,"disabled",void 0);Q([(0,K.state)()],B.prototype,"hovered",void 0);Q([(0,K.state)()],B.prototype,"focused",void 0);Q([(0,K.state)()],B.prototype,"pressed",void 0);Q([(0,K.state)()],B.prototype,"rippling",void 0);Q([(0,K.state)()],B.prototype,"originX",void 0);Q([(0,K.state)()],B.prototype,"originY",void 0);Q([(0,K.query)(".ft-ripple")],B.prototype,"ripple",void 0);Q([(0,K.query)(".ft-ripple--effect")],B.prototype,"rippleEffect",void 0);var Is=x(T());var _s={"ft-ripple":B};(0,Is.customElements)(_s);var hc=x($()),me=x(J()),he=x(T());var Ds=x($()),Ze=x(T()),hr={distance:Ze.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ze.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ze.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),borderRadiusS:Ze.FtCssVariableFactory.extend("--ft-tooltip-border-radius","",Ze.designSystemVariables.borderRadiusS),maxWidth:Ze.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},Ms=Ds.css`
|
|
292
292
|
.ft-tooltip--container {
|
|
293
293
|
display: block;
|
|
294
294
|
}
|
|
@@ -319,7 +319,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
319
319
|
position: relative;
|
|
320
320
|
word-break: break-word;
|
|
321
321
|
}
|
|
322
|
-
`;var Bs=["top","right","bottom","left"],Us=["start","end"],yn=Bs.reduce((e,t)=>e.concat(t,t+"-"+Us[0],t+"-"+Us[1]),[]),mr=Math.min,qe=Math.max,yr=Math.round;var Se=e=>({x:e,y:e}),Gl={left:"right",right:"left",bottom:"top",top:"bottom"};function gn(e,t,o){return qe(e,mr(t,o))}function so(e,t){return typeof e=="function"?e(t):e}function Wt(e){return e.split("-")[0]}function Ye(e){return e.split("-")[1]}function bn(e){return e==="x"?"y":"x"}function xn(e){return e==="y"?"height":"width"}function co(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function vn(e){return bn(co(e))}function Hs(e,t,o){o===void 0&&(o=!1);let n=Ye(e),a=vn(e),s=xn(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=mn(c)),[c,mn(c)]}function Fs(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function mn(e){let t=Wt(e);return Gl[t]+e.slice(t.length)}function Wl(e){return{top:0,right:0,bottom:0,left:0,...e}}function $s(e){return typeof e!="number"?Wl(e):{top:e,right:e,bottom:e,left:e}}function ut(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 Gs(e,t,o){let{reference:n,floating:a}=e,s=co(t),c=vn(t),d=xn(c),u=Wt(t),p=s==="y",f=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,y;switch(u){case"top":y={x:f,y:n.y-a.height};break;case"bottom":y={x:f,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:h};break;case"left":y={x:n.x-a.width,y:h};break;default:y={x:n.x,y:n.y}}switch(Ye(t)){case"start":y[c]-=m*(o&&p?-1:1);break;case"end":y[c]+=m*(o&&p?-1:1);break}return y}async function Ws(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:m=!1,padding:y=0}=so(t,e),g=$s(y),C=d[m?h==="floating"?"reference":"floating":h],O=ut(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(C)))==null||o?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:p,rootBoundary:f,strategy:u})),E=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),R=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},z=ut(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:E,offsetParent:w,strategy:u}):E);return{top:(O.top-z.top+g.top)/R.y,bottom:(z.bottom-O.bottom+g.bottom)/R.y,left:(O.left-z.left+g.left)/R.x,right:(z.right-O.right+g.right)/R.x}}var zl=50,zs=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:c}=o,d=c.detectOverflow?c:{...c,detectOverflow:Ws},u=await(c.isRTL==null?void 0:c.isRTL(t)),p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:h}=Gs(p,n,u),m=n,y=0,g={};for(let b=0;b<s.length;b++){let C=s[b];if(!C)continue;let{name:O,fn:E}=C,{x:w,y:R,data:z,reset:H}=await E({x:f,y:h,initialPlacement:n,placement:m,strategy:a,middlewareData:g,rects:p,platform:d,elements:{reference:e,floating:t}});f=w??f,h=R??h,g[O]={...g[O],...z},H&&y<zl&&(y++,typeof H=="object"&&(H.placement&&(m=H.placement),H.rects&&(p=H.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):H.rects),{x:f,y:h}=Gs(p,m,u)),b=-1)}return{x:f,y:h,placement:m,strategy:a,middlewareData:g}};function jl(e,t,o){return(e?[...o.filter(a=>Ye(a)===e),...o.filter(a=>Ye(a)!==e)]:o.filter(a=>Wt(a)===a)).filter(a=>e?Ye(a)===e||(t?Fs(a)!==a:!1):!0)}var js=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:m=yn,autoAlignment:y=!0,...g}=so(e,t),b=h!==void 0||m===yn?jl(h||null,y,m):m,C=await u.detectOverflow(t,g),O=((o=c.autoPlacement)==null?void 0:o.index)||0,E=b[O];if(E==null)return{};let w=Hs(E,s,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(d!==E)return{reset:{placement:b[0]}};let R=[C[Wt(E)],C[w[0]],C[w[1]]],z=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:E,overflows:R}],H=b[O+1];if(H)return{data:{index:O+1,overflows:z},reset:{placement:H}};let Ue=z.map(te=>{let se=Ye(te.placement);return[te.placement,se&&f?te.overflows.slice(0,2).reduce((re,Je)=>re+Je,0):te.overflows[0],te.overflows]}).sort((te,se)=>te[1]-se[1]),Be=((a=Ue.filter(te=>te[2].slice(0,Ye(te[0])?2:3).every(se=>se<=0))[0])==null?void 0:a[0])||Ue[0][0];return Be!==d?{data:{index:O+1,overflows:z},reset:{placement:Be}}:{}}}};var Vs=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:O=>{let{x:E,y:w}=O;return{x:E,y:w}}},...p}=so(e,t),f={x:o,y:n},h=await s.detectOverflow(t,p),m=co(Wt(a)),y=bn(m),g=f[y],b=f[m];if(c){let O=y==="y"?"top":"left",E=y==="y"?"bottom":"right",w=g+h[O],R=g-h[E];g=gn(w,g,R)}if(d){let O=m==="y"?"top":"left",E=m==="y"?"bottom":"right",w=b+h[O],R=b-h[E];b=gn(w,b,R)}let C=u.fn({...t,[y]:g,[m]:b});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[y]:c,[m]:d}}}}}};function uo(){return typeof window<"u"}function ft(e){return Zs(e)?(e.nodeName||"").toLowerCase():"#document"}function ee(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Te(e){var t;return(t=(Zs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Zs(e){return uo()?e instanceof Node||e instanceof ee(e).Node:!1}function pe(e){return uo()?e instanceof Element||e instanceof ee(e).Element:!1}function Pe(e){return uo()?e instanceof HTMLElement||e instanceof ee(e).HTMLElement:!1}function Ks(e){return!uo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ee(e).ShadowRoot}function zt(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=fe(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&a!=="inline"&&a!=="contents"}function qs(e){return/^(table|td|th)$/.test(ft(e))}function gr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Vl=/transform|translate|scale|rotate|perspective|filter/,Kl=/paint|layout|strict|content/,pt=e=>!!e&&e!=="none",Sn;function jt(e){let t=pe(e)?fe(e):e;return pt(t.transform)||pt(t.translate)||pt(t.scale)||pt(t.rotate)||pt(t.perspective)||!po()&&(pt(t.backdropFilter)||pt(t.filter))||Vl.test(t.willChange||"")||Kl.test(t.contain||"")}function Ys(e){let t=Me(e);for(;Pe(t)&&!ht(t);){if(jt(t))return t;if(gr(t))return null;t=Me(t)}return null}function po(){return Sn==null&&(Sn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Sn}function ht(e){return/^(html|body|#document)$/.test(ft(e))}function fe(e){return ee(e).getComputedStyle(e)}function br(e){return pe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Me(e){if(ft(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ks(e)&&e.host||Te(e);return Ks(t)?t.host:t}function Xs(e){let t=Me(e);return ht(t)?e.ownerDocument?e.ownerDocument.body:e.body:Pe(t)&&zt(t)?t:Xs(t)}function lo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=Xs(e),s=a===((n=e.ownerDocument)==null?void 0:n.body),c=ee(a);if(s){let d=fo(c);return t.concat(c,c.visualViewport||[],zt(a)?a:[],d&&o?lo(d):[])}else return t.concat(a,lo(a,[],o))}function fo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function tc(e){let t=fe(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Pe(e),s=a?e.offsetWidth:o,c=a?e.offsetHeight:n,d=yr(o)!==s||yr(n)!==c;return d&&(o=s,n=c),{width:o,height:n,$:d}}function rc(e){return pe(e)?e:e.contextElement}function Vt(e){let t=rc(e);if(!Pe(t))return Se(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:s}=tc(t),c=(s?yr(o.width):o.width)/n,d=(s?yr(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var Zl=Se(0);function oc(e){let t=ee(e);return!po()||!t.visualViewport?Zl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ql(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ee(e)?!1:t}function xr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),s=rc(e),c=Se(1);t&&(n?pe(n)&&(c=Vt(n)):c=Vt(e));let d=ql(s,o,n)?oc(s):Se(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){let m=ee(s),y=n&&pe(n)?ee(n):n,g=m,b=fo(g);for(;b&&n&&y!==g;){let C=Vt(b),O=b.getBoundingClientRect(),E=fe(b),w=O.left+(b.clientLeft+parseFloat(E.paddingLeft))*C.x,R=O.top+(b.clientTop+parseFloat(E.paddingTop))*C.y;u*=C.x,p*=C.y,f*=C.x,h*=C.y,u+=w,p+=R,g=ee(b),b=fo(g)}}return ut({width:f,height:h,x:u,y:p})}function ho(e,t){let o=br(e).scrollLeft;return t?t.left+o:xr(Te(e)).left+o}function nc(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-ho(e,o),a=o.top+t.scrollTop;return{x:n,y:a}}function Yl(e){let{elements:t,rect:o,offsetParent:n,strategy:a}=e,s=a==="fixed",c=Te(n),d=t?gr(t.floating):!1;if(n===c||d&&s)return o;let u={scrollLeft:0,scrollTop:0},p=Se(1),f=Se(0),h=Pe(n);if((h||!h&&!s)&&((ft(n)!=="body"||zt(c))&&(u=br(n)),h)){let y=xr(n);p=Vt(n),f.x=y.x+n.clientLeft,f.y=y.y+n.clientTop}let m=c&&!h&&!s?nc(c,u):Se(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+f.x+m.x,y:o.y*p.y-u.scrollTop*p.y+f.y+m.y}}function Xl(e){return Array.from(e.getClientRects())}function Jl(e){let t=Te(e),o=br(e),n=e.ownerDocument.body,a=qe(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=qe(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+ho(e),d=-o.scrollTop;return fe(n).direction==="rtl"&&(c+=qe(t.clientWidth,n.clientWidth)-a),{width:a,height:s,x:c,y:d}}var Js=25;function Ql(e,t){let o=ee(e),n=Te(e),a=o.visualViewport,s=n.clientWidth,c=n.clientHeight,d=0,u=0;if(a){s=a.width,c=a.height;let f=po();(!f||f&&t==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}let p=ho(n);if(p<=0){let f=n.ownerDocument,h=f.body,m=getComputedStyle(h),y=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,g=Math.abs(n.clientWidth-h.clientWidth-y);g<=Js&&(s-=g)}else p<=Js&&(s+=p);return{width:s,height:c,x:d,y:u}}function ed(e,t){let o=xr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,s=Pe(e)?Vt(e):Se(1),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 Qs(e,t,o){let n;if(t==="viewport")n=Ql(e,o);else if(t==="document")n=Jl(Te(e));else if(pe(t))n=ed(t,o);else{let a=oc(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return ut(n)}function ac(e,t){let o=Me(e);return o===t||!pe(o)||ht(o)?!1:fe(o).position==="fixed"||ac(o,t)}function td(e,t){let o=t.get(e);if(o)return o;let n=lo(e,[],!1).filter(d=>pe(d)&&ft(d)!=="body"),a=null,s=fe(e).position==="fixed",c=s?Me(e):e;for(;pe(c)&&!ht(c);){let d=fe(c),u=jt(c);!u&&d.position==="fixed"&&(a=null),(s?!u&&!a:!u&&d.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||zt(c)&&!u&&ac(e,c))?n=n.filter(f=>f!==c):a=d,c=Me(c)}return t.set(e,n),n}function rd(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?gr(t)?[]:td(t,this._c):[].concat(o),n],d=Qs(t,c[0],a),u=d.top,p=d.right,f=d.bottom,h=d.left;for(let m=1;m<c.length;m++){let y=Qs(t,c[m],a);u=qe(y.top,u),p=mr(y.right,p),f=mr(y.bottom,f),h=qe(y.left,h)}return{width:p-h,height:f-u,x:h,y:u}}function od(e){let{width:t,height:o}=tc(e);return{width:t,height:o}}function nd(e,t,o){let n=Pe(t),a=Te(t),s=o==="fixed",c=xr(e,!0,s,t),d={scrollLeft:0,scrollTop:0},u=Se(0);function p(){u.x=ho(a)}if(n||!n&&!s)if((ft(t)!=="body"||zt(a))&&(d=br(t)),n){let y=xr(t,!0,s,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}else a&&p();s&&!n&&a&&p();let f=a&&!n&&!s?nc(a,d):Se(0),h=c.left+d.scrollLeft-u.x-f.x,m=c.top+d.scrollTop-u.y-f.y;return{x:h,y:m,width:c.width,height:c.height}}function Cn(e){return fe(e).position==="static"}function ec(e,t){if(!Pe(e)||fe(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Te(e)===o&&(o=o.ownerDocument.body),o}function ic(e,t){let o=ee(e);if(gr(e))return o;if(!Pe(e)){let a=Me(e);for(;a&&!ht(a);){if(pe(a)&&!Cn(a))return a;a=Me(a)}return o}let n=ec(e,t);for(;n&&qs(n)&&Cn(n);)n=ec(n,t);return n&&ht(n)&&Cn(n)&&!jt(n)?o:n||Ys(e)||o}var ad=async function(e){let t=this.getOffsetParent||ic,o=this.getDimensions,n=await o(e.floating);return{reference:nd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function id(e){return fe(e).direction==="rtl"}var mo={convertOffsetParentRelativeRectToViewportRelativeRect:Yl,getDocumentElement:Te,getClippingRect:rd,getOffsetParent:ic,getElementRects:ad,getClientRects:Xl,getDimensions:od,getScale:Vt,isElement:pe,isRTL:id};var sc=js,cc=Vs;var lc=(e,t,o)=>{let n=new Map,a={platform:mo,...o},s={...a.platform,_c:n};return zs(e,t,{...a,platform:s})};function dc(e){return sd(e)}function On(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function sd(e){for(let t=e;t;t=On(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=On(e);t;t=On(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||jt(o)||t.tagName==="BODY"))return t}return null}async function uc(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},lc(e,t,{strategy:n.strategy,platform:{...mo,getOffsetParent:a=>mo.getOffsetParent(a,dc)},middleware:[cc({crossAxis:!0}),sc({allowedPlacements:[n.placement]})]})}var pc=x(T());var En=class{fromAttribute(t){if(!t)return[];try{let o=JSON.parse(t);return Array.isArray(o)?o.map(n=>typeof n=="string"?$t.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},cd=new En;var fc=(e,t)=>(o,n)=>{var a;o.constructor.createProperty(n,{type:Object,hasChanged:pc.hasChanged,converter:$t,...t}),o[ur]=(a=o[ur])!==null&&a!==void 0?a:new Map,o[ur].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},j=class extends to{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.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 hc.html`
|
|
322
|
+
`;var Bs=["top","right","bottom","left"],Us=["start","end"],yn=Bs.reduce((e,t)=>e.concat(t,t+"-"+Us[0],t+"-"+Us[1]),[]),mr=Math.min,qe=Math.max,yr=Math.round;var Se=e=>({x:e,y:e}),Gl={left:"right",right:"left",bottom:"top",top:"bottom"};function gn(e,t,o){return qe(e,mr(t,o))}function so(e,t){return typeof e=="function"?e(t):e}function Wt(e){return e.split("-")[0]}function Ye(e){return e.split("-")[1]}function bn(e){return e==="x"?"y":"x"}function xn(e){return e==="y"?"height":"width"}function co(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function vn(e){return bn(co(e))}function Hs(e,t,o){o===void 0&&(o=!1);let n=Ye(e),a=vn(e),s=xn(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(c=mn(c)),[c,mn(c)]}function $s(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function mn(e){let t=Wt(e);return Gl[t]+e.slice(t.length)}function Wl(e){return{top:0,right:0,bottom:0,left:0,...e}}function Fs(e){return typeof e!="number"?Wl(e):{top:e,right:e,bottom:e,left:e}}function ut(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 Gs(e,t,o){let{reference:n,floating:a}=e,s=co(t),c=vn(t),d=xn(c),u=Wt(t),p=s==="y",f=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,y;switch(u){case"top":y={x:f,y:n.y-a.height};break;case"bottom":y={x:f,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:h};break;case"left":y={x:n.x-a.width,y:h};break;default:y={x:n.x,y:n.y}}switch(Ye(t)){case"start":y[c]-=m*(o&&p?-1:1);break;case"end":y[c]+=m*(o&&p?-1:1);break}return y}async function Ws(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:m=!1,padding:y=0}=so(t,e),g=Fs(y),C=d[m?h==="floating"?"reference":"floating":h],O=ut(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(C)))==null||o?C:C.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(d.floating)),boundary:p,rootBoundary:f,strategy:u})),E=h==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d.floating)),R=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},z=ut(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:E,offsetParent:w,strategy:u}):E);return{top:(O.top-z.top+g.top)/R.y,bottom:(z.bottom-O.bottom+g.bottom)/R.y,left:(O.left-z.left+g.left)/R.x,right:(z.right-O.right+g.right)/R.x}}var zl=50,zs=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:c}=o,d=c.detectOverflow?c:{...c,detectOverflow:Ws},u=await(c.isRTL==null?void 0:c.isRTL(t)),p=await c.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:h}=Gs(p,n,u),m=n,y=0,g={};for(let b=0;b<s.length;b++){let C=s[b];if(!C)continue;let{name:O,fn:E}=C,{x:w,y:R,data:z,reset:H}=await E({x:f,y:h,initialPlacement:n,placement:m,strategy:a,middlewareData:g,rects:p,platform:d,elements:{reference:e,floating:t}});f=w??f,h=R??h,g[O]={...g[O],...z},H&&y<zl&&(y++,typeof H=="object"&&(H.placement&&(m=H.placement),H.rects&&(p=H.rects===!0?await c.getElementRects({reference:e,floating:t,strategy:a}):H.rects),{x:f,y:h}=Gs(p,m,u)),b=-1)}return{x:f,y:h,placement:m,strategy:a,middlewareData:g}};function jl(e,t,o){return(e?[...o.filter(a=>Ye(a)===e),...o.filter(a=>Ye(a)!==e)]:o.filter(a=>Wt(a)===a)).filter(a=>e?Ye(a)===e||(t?$s(a)!==a:!1):!0)}var js=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:m=yn,autoAlignment:y=!0,...g}=so(e,t),b=h!==void 0||m===yn?jl(h||null,y,m):m,C=await u.detectOverflow(t,g),O=((o=c.autoPlacement)==null?void 0:o.index)||0,E=b[O];if(E==null)return{};let w=Hs(E,s,await(u.isRTL==null?void 0:u.isRTL(p.floating)));if(d!==E)return{reset:{placement:b[0]}};let R=[C[Wt(E)],C[w[0]],C[w[1]]],z=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:E,overflows:R}],H=b[O+1];if(H)return{data:{index:O+1,overflows:z},reset:{placement:H}};let Ue=z.map(te=>{let se=Ye(te.placement);return[te.placement,se&&f?te.overflows.slice(0,2).reduce((re,Je)=>re+Je,0):te.overflows[0],te.overflows]}).sort((te,se)=>te[1]-se[1]),Be=((a=Ue.filter(te=>te[2].slice(0,Ye(te[0])?2:3).every(se=>se<=0))[0])==null?void 0:a[0])||Ue[0][0];return Be!==d?{data:{index:O+1,overflows:z},reset:{placement:Be}}:{}}}};var Vs=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:O=>{let{x:E,y:w}=O;return{x:E,y:w}}},...p}=so(e,t),f={x:o,y:n},h=await s.detectOverflow(t,p),m=co(Wt(a)),y=bn(m),g=f[y],b=f[m];if(c){let O=y==="y"?"top":"left",E=y==="y"?"bottom":"right",w=g+h[O],R=g-h[E];g=gn(w,g,R)}if(d){let O=m==="y"?"top":"left",E=m==="y"?"bottom":"right",w=b+h[O],R=b-h[E];b=gn(w,b,R)}let C=u.fn({...t,[y]:g,[m]:b});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[y]:c,[m]:d}}}}}};function uo(){return typeof window<"u"}function ft(e){return Zs(e)?(e.nodeName||"").toLowerCase():"#document"}function ee(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Te(e){var t;return(t=(Zs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Zs(e){return uo()?e instanceof Node||e instanceof ee(e).Node:!1}function pe(e){return uo()?e instanceof Element||e instanceof ee(e).Element:!1}function Pe(e){return uo()?e instanceof HTMLElement||e instanceof ee(e).HTMLElement:!1}function Ks(e){return!uo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ee(e).ShadowRoot}function zt(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=fe(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&a!=="inline"&&a!=="contents"}function qs(e){return/^(table|td|th)$/.test(ft(e))}function gr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Vl=/transform|translate|scale|rotate|perspective|filter/,Kl=/paint|layout|strict|content/,pt=e=>!!e&&e!=="none",Sn;function jt(e){let t=pe(e)?fe(e):e;return pt(t.transform)||pt(t.translate)||pt(t.scale)||pt(t.rotate)||pt(t.perspective)||!po()&&(pt(t.backdropFilter)||pt(t.filter))||Vl.test(t.willChange||"")||Kl.test(t.contain||"")}function Ys(e){let t=Me(e);for(;Pe(t)&&!ht(t);){if(jt(t))return t;if(gr(t))return null;t=Me(t)}return null}function po(){return Sn==null&&(Sn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Sn}function ht(e){return/^(html|body|#document)$/.test(ft(e))}function fe(e){return ee(e).getComputedStyle(e)}function br(e){return pe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Me(e){if(ft(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ks(e)&&e.host||Te(e);return Ks(t)?t.host:t}function Xs(e){let t=Me(e);return ht(t)?e.ownerDocument?e.ownerDocument.body:e.body:Pe(t)&&zt(t)?t:Xs(t)}function lo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=Xs(e),s=a===((n=e.ownerDocument)==null?void 0:n.body),c=ee(a);if(s){let d=fo(c);return t.concat(c,c.visualViewport||[],zt(a)?a:[],d&&o?lo(d):[])}else return t.concat(a,lo(a,[],o))}function fo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function tc(e){let t=fe(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Pe(e),s=a?e.offsetWidth:o,c=a?e.offsetHeight:n,d=yr(o)!==s||yr(n)!==c;return d&&(o=s,n=c),{width:o,height:n,$:d}}function rc(e){return pe(e)?e:e.contextElement}function Vt(e){let t=rc(e);if(!Pe(t))return Se(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:s}=tc(t),c=(s?yr(o.width):o.width)/n,d=(s?yr(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var Zl=Se(0);function oc(e){let t=ee(e);return!po()||!t.visualViewport?Zl:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ql(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ee(e)?!1:t}function xr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),s=rc(e),c=Se(1);t&&(n?pe(n)&&(c=Vt(n)):c=Vt(e));let d=ql(s,o,n)?oc(s):Se(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){let m=ee(s),y=n&&pe(n)?ee(n):n,g=m,b=fo(g);for(;b&&n&&y!==g;){let C=Vt(b),O=b.getBoundingClientRect(),E=fe(b),w=O.left+(b.clientLeft+parseFloat(E.paddingLeft))*C.x,R=O.top+(b.clientTop+parseFloat(E.paddingTop))*C.y;u*=C.x,p*=C.y,f*=C.x,h*=C.y,u+=w,p+=R,g=ee(b),b=fo(g)}}return ut({width:f,height:h,x:u,y:p})}function ho(e,t){let o=br(e).scrollLeft;return t?t.left+o:xr(Te(e)).left+o}function nc(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-ho(e,o),a=o.top+t.scrollTop;return{x:n,y:a}}function Yl(e){let{elements:t,rect:o,offsetParent:n,strategy:a}=e,s=a==="fixed",c=Te(n),d=t?gr(t.floating):!1;if(n===c||d&&s)return o;let u={scrollLeft:0,scrollTop:0},p=Se(1),f=Se(0),h=Pe(n);if((h||!h&&!s)&&((ft(n)!=="body"||zt(c))&&(u=br(n)),h)){let y=xr(n);p=Vt(n),f.x=y.x+n.clientLeft,f.y=y.y+n.clientTop}let m=c&&!h&&!s?nc(c,u):Se(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+f.x+m.x,y:o.y*p.y-u.scrollTop*p.y+f.y+m.y}}function Xl(e){return Array.from(e.getClientRects())}function Jl(e){let t=Te(e),o=br(e),n=e.ownerDocument.body,a=qe(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=qe(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+ho(e),d=-o.scrollTop;return fe(n).direction==="rtl"&&(c+=qe(t.clientWidth,n.clientWidth)-a),{width:a,height:s,x:c,y:d}}var Js=25;function Ql(e,t){let o=ee(e),n=Te(e),a=o.visualViewport,s=n.clientWidth,c=n.clientHeight,d=0,u=0;if(a){s=a.width,c=a.height;let f=po();(!f||f&&t==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}let p=ho(n);if(p<=0){let f=n.ownerDocument,h=f.body,m=getComputedStyle(h),y=f.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,g=Math.abs(n.clientWidth-h.clientWidth-y);g<=Js&&(s-=g)}else p<=Js&&(s+=p);return{width:s,height:c,x:d,y:u}}function ed(e,t){let o=xr(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,s=Pe(e)?Vt(e):Se(1),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 Qs(e,t,o){let n;if(t==="viewport")n=Ql(e,o);else if(t==="document")n=Jl(Te(e));else if(pe(t))n=ed(t,o);else{let a=oc(e);n={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return ut(n)}function ac(e,t){let o=Me(e);return o===t||!pe(o)||ht(o)?!1:fe(o).position==="fixed"||ac(o,t)}function td(e,t){let o=t.get(e);if(o)return o;let n=lo(e,[],!1).filter(d=>pe(d)&&ft(d)!=="body"),a=null,s=fe(e).position==="fixed",c=s?Me(e):e;for(;pe(c)&&!ht(c);){let d=fe(c),u=jt(c);!u&&d.position==="fixed"&&(a=null),(s?!u&&!a:!u&&d.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||zt(c)&&!u&&ac(e,c))?n=n.filter(f=>f!==c):a=d,c=Me(c)}return t.set(e,n),n}function rd(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,c=[...o==="clippingAncestors"?gr(t)?[]:td(t,this._c):[].concat(o),n],d=Qs(t,c[0],a),u=d.top,p=d.right,f=d.bottom,h=d.left;for(let m=1;m<c.length;m++){let y=Qs(t,c[m],a);u=qe(y.top,u),p=mr(y.right,p),f=mr(y.bottom,f),h=qe(y.left,h)}return{width:p-h,height:f-u,x:h,y:u}}function od(e){let{width:t,height:o}=tc(e);return{width:t,height:o}}function nd(e,t,o){let n=Pe(t),a=Te(t),s=o==="fixed",c=xr(e,!0,s,t),d={scrollLeft:0,scrollTop:0},u=Se(0);function p(){u.x=ho(a)}if(n||!n&&!s)if((ft(t)!=="body"||zt(a))&&(d=br(t)),n){let y=xr(t,!0,s,t);u.x=y.x+t.clientLeft,u.y=y.y+t.clientTop}else a&&p();s&&!n&&a&&p();let f=a&&!n&&!s?nc(a,d):Se(0),h=c.left+d.scrollLeft-u.x-f.x,m=c.top+d.scrollTop-u.y-f.y;return{x:h,y:m,width:c.width,height:c.height}}function Cn(e){return fe(e).position==="static"}function ec(e,t){if(!Pe(e)||fe(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Te(e)===o&&(o=o.ownerDocument.body),o}function ic(e,t){let o=ee(e);if(gr(e))return o;if(!Pe(e)){let a=Me(e);for(;a&&!ht(a);){if(pe(a)&&!Cn(a))return a;a=Me(a)}return o}let n=ec(e,t);for(;n&&qs(n)&&Cn(n);)n=ec(n,t);return n&&ht(n)&&Cn(n)&&!jt(n)?o:n||Ys(e)||o}var ad=async function(e){let t=this.getOffsetParent||ic,o=this.getDimensions,n=await o(e.floating);return{reference:nd(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function id(e){return fe(e).direction==="rtl"}var mo={convertOffsetParentRelativeRectToViewportRelativeRect:Yl,getDocumentElement:Te,getClippingRect:rd,getOffsetParent:ic,getElementRects:ad,getClientRects:Xl,getDimensions:od,getScale:Vt,isElement:pe,isRTL:id};var sc=js,cc=Vs;var lc=(e,t,o)=>{let n=new Map,a={platform:mo,...o},s={...a.platform,_c:n};return zs(e,t,{...a,platform:s})};function dc(e){return sd(e)}function On(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function sd(e){for(let t=e;t;t=On(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=On(e);t;t=On(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||jt(o)||t.tagName==="BODY"))return t}return null}async function uc(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},lc(e,t,{strategy:n.strategy,platform:{...mo,getOffsetParent:a=>mo.getOffsetParent(a,dc)},middleware:[cc({crossAxis:!0}),sc({allowedPlacements:[n.placement]})]})}var pc=x(T());var En=class{fromAttribute(t){if(!t)return[];try{let o=JSON.parse(t);return Array.isArray(o)?o.map(n=>typeof n=="string"?Ft.fromAttribute(n):n):[]}catch{return[]}}toAttribute(t){if(t!=null)return JSON.stringify(t)}},cd=new En;var fc=(e,t)=>(o,n)=>{var a;o.constructor.createProperty(n,{type:Object,hasChanged:pc.hasChanged,converter:Ft,...t}),o[ur]=(a=o[ur])!==null&&a!==void 0?a:new Map,o[ur].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},j=class extends to{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.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 hc.html`
|
|
323
323
|
<div part="container"
|
|
324
324
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
|
|
325
325
|
<slot part="slot"></slot>
|
|
@@ -334,7 +334,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
334
334
|
</div>
|
|
335
335
|
</div>
|
|
336
336
|
</div>
|
|
337
|
-
`}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 o,n;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(o=this.tooltip)===null||o===void 0||o.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&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,o){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(o),this.text=a,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(o=>o.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&&uc(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${o}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${he.designSystemVariables.transitionDuration}, left ${he.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,he.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};j.elementDefinitions={"ft-typography":oe};j.styles=Ms;Ce([fc()],j.prototype,"text",void 0);Ce([(0,me.property)({type:Boolean})],j.prototype,"manual",void 0);Ce([(0,me.property)({type:Boolean})],j.prototype,"inline",void 0);Ce([(0,he.numberProperty)()],j.prototype,"delay",void 0);Ce([(0,me.property)()],j.prototype,"position",void 0);Ce([(0,he.jsonProperty)([])],j.prototype,"ignoreMatchingElements",void 0);Ce([(0,me.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);Ce([(0,me.query)(".ft-tooltip--container")],j.prototype,"container",void 0);Ce([(0,me.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);Ce([(0,me.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);Ce([(0,me.state)()],j.prototype,"visible",void 0);var yc=x(T());var mc={"ft-tooltip":j};(0,yc.customElements)(mc);var gc=x(
|
|
337
|
+
`}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 o,n;t.has("visible")&&(this.visible?(this.resetTooltipContent(),(o=this.tooltip)===null||o===void 0||o.showPopover()):(n=this.tooltip)===null||n===void 0||n.hidePopover()),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&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,o){let n=this.manual;this.manual=!0;let a=this.text;this.text={message:t},await this.show(o),this.text=a,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(o=>o.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&&uc(this.slottedElement,this.tooltip,{placement:this.position,strategy:"fixed"}).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.transform=`translate(${t}px,${o}px)`)}),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition=`top ${he.designSystemVariables.transitionDuration}, left ${he.designSystemVariables.transitionDuration}`,this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}isIgnored(t){return this.manual||(0,he.eventPathContainsMatchingElement)(t,this.ignoreMatchingElements,this.eventsTarget)}};j.elementDefinitions={"ft-typography":oe};j.styles=Ms;Ce([fc()],j.prototype,"text",void 0);Ce([(0,me.property)({type:Boolean})],j.prototype,"manual",void 0);Ce([(0,me.property)({type:Boolean})],j.prototype,"inline",void 0);Ce([(0,he.numberProperty)()],j.prototype,"delay",void 0);Ce([(0,me.property)()],j.prototype,"position",void 0);Ce([(0,he.jsonProperty)([])],j.prototype,"ignoreMatchingElements",void 0);Ce([(0,me.queryAssignedNodes)()],j.prototype,"slotNodes",void 0);Ce([(0,me.query)(".ft-tooltip--container")],j.prototype,"container",void 0);Ce([(0,me.query)(".ft-tooltip")],j.prototype,"tooltip",void 0);Ce([(0,me.query)(".ft-tooltip--content")],j.prototype,"tooltipContent",void 0);Ce([(0,me.state)()],j.prototype,"visible",void 0);var yc=x(T());var mc={"ft-tooltip":j};(0,yc.customElements)(mc);var gc=x($()),vr=x(T()),mt={color:vr.FtCssVariableFactory.extend("--ft-loader-color","",vr.designSystemVariables.colorPrimary),size:vr.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},bc=gc.css`
|
|
338
338
|
:host {
|
|
339
339
|
line-height: 0;
|
|
340
340
|
}
|
|
@@ -403,14 +403,14 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
403
403
|
transform: translate(calc(0.35 * ${mt.size}), 0);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
`;var xc=x(
|
|
406
|
+
`;var xc=x($()),vc=x(T());var yt=class extends vc.FtLitElement{render(){return xc.html`
|
|
407
407
|
<div class="ft-loader">
|
|
408
408
|
<div></div>
|
|
409
409
|
<div></div>
|
|
410
410
|
<div></div>
|
|
411
411
|
<div></div>
|
|
412
412
|
</div>
|
|
413
|
-
`}};yt.styles=bc;var Cc=x(T());var Sc={"ft-loader":yt};(0,Cc.customElements)(Sc);var Xe=x(
|
|
413
|
+
`}};yt.styles=bc;var Cc=x(T());var Sc={"ft-loader":yt};(0,Cc.customElements)(Sc);var Xe=x($()),wn=x(Or()),I=x(J());var Sr=e=>e??F;var Ac=x($()),P=x(T());var Oc=P.FtCssVariableFactory.extend("--ft-button-color","",P.designSystemVariables.colorPrimary),V={backgroundColor:P.FtCssVariableFactory.extend("--ft-button-background-color","",P.designSystemVariables.colorSurface),borderRadius:P.FtCssVariableFactory.extend("--ft-button-border-radius","",P.designSystemVariables.borderRadiusL),color:Oc,fontSize:P.FtCssVariableFactory.extend("--ft-button-font-size","",Ae.fontSize),iconSize:P.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:P.FtCssVariableFactory.extend("--ft-button-ripple-color","",Oc),verticalPadding:P.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:P.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:P.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:P.FtCssVariableFactory.external(P.designSystemVariables.colorOpacityDisabled,"Design system")},Ec=P.FtCssVariableFactory.extend("--ft-button-primary-color","",P.FtCssVariableFactory.extend("--ft-button-color","",P.designSystemVariables.colorOnPrimary)),An={backgroundColor:P.FtCssVariableFactory.extend("--ft-button-primary-background-color","",P.FtCssVariableFactory.extend("--ft-button-background-color","",P.designSystemVariables.colorPrimary)),color:Ec,rippleColor:P.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Ec)},Ne={borderRadius:P.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",P.FtCssVariableFactory.extend("--ft-button-border-radius","",P.designSystemVariables.borderRadiusM)),verticalPadding:P.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:P.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:P.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},wc=Ac.css`
|
|
414
414
|
:host {
|
|
415
415
|
display: inline-block;
|
|
416
416
|
max-width: 100%;
|
|
@@ -469,13 +469,13 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
469
469
|
}
|
|
470
470
|
|
|
471
471
|
.ft-button.ft-button--dense {
|
|
472
|
-
padding: ${
|
|
473
|
-
border-radius: ${
|
|
474
|
-
gap: ${
|
|
472
|
+
padding: ${Ne.verticalPadding} ${Ne.horizontalPadding};
|
|
473
|
+
border-radius: ${Ne.borderRadius};
|
|
474
|
+
gap: ${Ne.iconPadding};
|
|
475
475
|
}
|
|
476
476
|
|
|
477
477
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
478
|
-
padding: calc(${
|
|
478
|
+
padding: calc(${Ne.verticalPadding} - 1px) calc(${Ne.horizontalPadding} - 1px);
|
|
479
479
|
}
|
|
480
480
|
|
|
481
481
|
.ft-button:not([disabled]):hover {
|
|
@@ -487,7 +487,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
487
487
|
}
|
|
488
488
|
|
|
489
489
|
.ft-button--round.ft-button--dense {
|
|
490
|
-
border-radius: calc(var(--button-internal-line-height) / 2 + ${
|
|
490
|
+
border-radius: calc(var(--button-internal-line-height) / 2 + ${Ne.verticalPadding});
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
.ft-button[disabled] {
|
|
@@ -517,7 +517,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
517
517
|
}
|
|
518
518
|
|
|
519
519
|
.ft-button--dense .ft-button--label {
|
|
520
|
-
margin: 0 ${
|
|
520
|
+
margin: 0 ${Ne.iconPadding};
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
.ft-button--label[hidden] {
|
|
@@ -535,8 +535,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
538
|
-
margin: 0 calc(${
|
|
539
|
-
padding: 0 ${
|
|
538
|
+
margin: 0 calc(${Ne.horizontalPadding} * -1);
|
|
539
|
+
padding: 0 ${Ne.verticalPadding};
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
.ft-button:not(.ft-button--trailing-icon) [part="label"] {
|
|
@@ -547,7 +547,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
547
547
|
${(0,P.setVariable)(mt.size,V.iconSize)};
|
|
548
548
|
${(0,P.setVariable)(mt.color,"var(--button-internal-color)")};
|
|
549
549
|
}
|
|
550
|
-
`;var M=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},
|
|
550
|
+
`;var M=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},N=class extends(0,ye.toFtFormComponent)(ye.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-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.label="",this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let a=Xe.html`
|
|
551
551
|
<ft-ripple part="ripple"
|
|
552
552
|
?disabled=${this.isDisabled()}
|
|
553
553
|
?activated=${this.activated}
|
|
@@ -589,7 +589,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
589
589
|
<ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
|
|
590
590
|
`:Xe.html`
|
|
591
591
|
<slot part="icon" name="icon"></slot>
|
|
592
|
-
`}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,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,ye.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};
|
|
592
|
+
`}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,o){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(t,o)}setTooltipManual(t){this.tooltip&&(this.tooltip.manual=t)}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.getTextContent()}getTextContent(){return(0,ye.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.getTextContent().length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};N.elementDefinitions={"ft-ripple":B,"ft-tooltip":j,"ft-icon":Y,"ft-loader":yt,"ft-typography":oe};N.styles=[ye.safariEllipsisFix,wc,ye.noTextSelect];M([(0,I.property)({type:Boolean})],N.prototype,"primary",void 0);M([(0,I.property)({type:Boolean})],N.prototype,"outlined",void 0);M([(0,I.property)({type:Boolean})],N.prototype,"dense",void 0);M([(0,I.property)({type:Boolean})],N.prototype,"round",void 0);M([(0,I.property)({type:Boolean})],N.prototype,"disabled",void 0);M([(0,I.property)()],N.prototype,"icon",void 0);M([(0,I.property)()],N.prototype,"iconVariant",void 0);M([(0,I.property)({type:Boolean})],N.prototype,"trailingIcon",void 0);M([(0,I.property)()],N.prototype,"label",void 0);M([(0,I.property)()],N.prototype,"type",void 0);M([(0,I.property)()],N.prototype,"href",void 0);M([(0,I.property)()],N.prototype,"target",void 0);M([(0,I.property)({type:Boolean})],N.prototype,"loading",void 0);M([(0,I.property)({attribute:"aria-label"})],N.prototype,"ariaLabel",void 0);M([(0,I.property)()],N.prototype,"ariaHasPopup",void 0);M([(0,I.property)({attribute:"aria-pressed"})],N.prototype,"ariaPressed",void 0);M([(0,I.property)()],N.prototype,"tooltipPosition",void 0);M([(0,I.property)({type:Boolean})],N.prototype,"hideTooltip",void 0);M([(0,I.property)({type:Boolean})],N.prototype,"forceTooltip",void 0);M([(0,I.property)({type:Boolean})],N.prototype,"activated",void 0);M([(0,I.query)(".ft-button")],N.prototype,"button",void 0);M([(0,I.query)(".ft-button--label slot")],N.prototype,"slottedContent",void 0);M([(0,I.query)("[part=tooltip]")],N.prototype,"tooltip",void 0);var Lc=x(T());var Rc={"ft-button":N};(0,Lc.customElements)(Rc);var Tc=x($()),k=x(T()),_={shadow:k.FtCssVariableFactory.extend("--ft-modal-shadow","",k.designSystemVariables.elevation03),borderRadius:k.FtCssVariableFactory.extend("--ft-modal-border-radius","",k.designSystemVariables.borderRadiusM),height:k.FtCssVariableFactory.create("--ft-modal-height","","SIZE","fit-content"),width:k.FtCssVariableFactory.create("--ft-modal-width","","SIZE","800px"),headerPadding:k.FtCssVariableFactory.create("--ft-modal-header-padding","","SIZE","8px 16px"),headerGap:k.FtCssVariableFactory.create("--ft-modal-header-gap","","SIZE","8px"),headerBorderColor:k.FtCssVariableFactory.extend("--ft-modal-header-border-color","",k.designSystemVariables.colorOutline),headerBorderWidth:k.FtCssVariableFactory.create("--ft-modal-header-border-width","","SIZE","1px"),headerBackgroundColor:k.FtCssVariableFactory.extend("--ft-modal-header-background-color","",k.designSystemVariables.colorSurface),headerColor:k.FtCssVariableFactory.extend("--ft-modal-header-color","",k.designSystemVariables.colorOnSurfaceHigh),headerIconColor:k.FtCssVariableFactory.extend("--ft-modal-header-icon-color","",k.designSystemVariables.colorOnSurfaceHigh),contentPadding:k.FtCssVariableFactory.create("--ft-modal-content-padding","","SIZE","16px"),contentGap:k.FtCssVariableFactory.create("--ft-modal-content-gap","","SIZE","16px"),contentBackgroundColor:k.FtCssVariableFactory.extend("--ft-modal-content-background-color","",k.designSystemVariables.colorSurface),contentColor:k.FtCssVariableFactory.extend("--ft-modal-content-color","",k.designSystemVariables.colorOnSurfaceMedium),actionsGap:k.FtCssVariableFactory.create("--ft-modal-action-gap","","SIZE","8px"),overlayBackgroundColor:k.FtCssVariableFactory.create("--ft-modal-overlay-background-color","","COLOR","rgb(10, 10, 13)"),overlayOpacity:k.FtCssVariableFactory.create("--ft-modal-overlay-opacity","","NUMBER","0.4"),closingButtonColor:k.FtCssVariableFactory.extend("--ft-modal-closing-button-color","",k.designSystemVariables.colorOnSurfaceMedium),contentOverflow:k.FtCssVariableFactory.create("--ft-modal-content-overflow","","UNKNOWN","visible")},Pc=Tc.css`
|
|
593
593
|
|
|
594
594
|
@keyframes fade-in {
|
|
595
595
|
0% {
|
|
@@ -710,8 +710,8 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
-
`;function Rn(e,t,o){return e?t(e):o?.(e)}var Ln=Qr.build("ftModal"),
|
|
714
|
-
<div class="${(0,
|
|
713
|
+
`;function Rn(e,t,o){return e?t(e):o?.(e)}var Ln=Qr.build("ftModal"),Nc={closeModal:"Close modal"};var Cr=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},Tn=class extends Event{constructor(){super("close")}},Pn=class extends Event{constructor(){super("open")}},Oe=class extends oo(yo.FtdsBase){constructor(){super(),this.buttonLabel="",this.heading="",this.size=Er.small,this.intersectionObserver=new IntersectionObserver(()=>{this.dialog&&!this.dialog.checkVisibility()&&this.close()}),this.addI18nContext(Ln,Nc)}render(){return Kt.html`
|
|
714
|
+
<div class="${(0,kc.classMap)({"ft-modal":!0})}" part="container">
|
|
715
715
|
<slot @click=${this.onTriggerClick} name="trigger">
|
|
716
716
|
<ft-button part="button" icon="${Sr(this.buttonIcon)}" label="${this.buttonLabel}" ariaHasPopup="dialog">
|
|
717
717
|
${Rn(this.buttonIcon,()=>Kt.nothing,()=>this.buttonLabel)}
|
|
@@ -747,7 +747,7 @@ Also for action icons.`,i.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
|
|
|
747
747
|
tertiary
|
|
748
748
|
label="${Ln.messages.closeModal()}"
|
|
749
749
|
tooltipPosition="left"
|
|
750
|
-
@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 Pn))}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 Tn)}onOverlayClick(){this.close()}onEscapePressed(t){t.key==="Escape"&&this.close()}};Oe.elementDefinitions={"ft-button":
|
|
750
|
+
@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 Pn))}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 Tn)}onOverlayClick(){this.close()}onEscapePressed(t){t.key==="Escape"&&this.close()}};Oe.elementDefinitions={"ft-button":N,"ft-typography":oe,"ft-icon":Y};Oe.styles=Pc;Cr([(0,gt.property)()],Oe.prototype,"buttonLabel",void 0);Cr([(0,gt.property)()],Oe.prototype,"buttonIcon",void 0);Cr([(0,gt.property)()],Oe.prototype,"heading",void 0);Cr([(0,gt.property)()],Oe.prototype,"icon",void 0);Cr([(0,gt.query)("dialog")],Oe.prototype,"dialog",void 0);var _c={"ft-modal":Oe};(0,Ic.customElements)(_c);})();
|
|
751
751
|
/*! Bundled license information:
|
|
752
752
|
|
|
753
753
|
lit-html/lit-html.js:
|