@fluid-topics/ft-search-bar 1.1.21 → 1.1.23

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.
@@ -81,16 +81,17 @@ const Ht=globalThis,Tt=Ht.trustedTypes,_t=Tt?Tt.createPolicy("lit-html",{createH
81
81
  * Copyright 2017 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
83
  */
84
- let ke=class extends jt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new me(e.insertBefore(Xt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return he}};ke._$litElement$=!0,ke.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ke});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:ke}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ce=t=>"string"==typeof t?Nt(t):t;class Ee{static create(t,e,o,i){const r=t=>Ce(null!=t?t:i),n=Ct`var(${Ce(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Ct`var(${Ce(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=Ct`var(${Ce(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Ct`var(${Ce(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ce(null!=e?e:t.lastResortDefaultValue()),i=Ct`var(${Ce(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>Ct`var(${Ce(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Re(t,e){return Ce(`${t.name}: ${e}`)}const Ie={colorWhite:Ee.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ee.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ee.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ee.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ee.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ee.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ee.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ee.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ee.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ee.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ee.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ee.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ee.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ee.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ee.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ee.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ee.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ee.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ee.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ee.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ee.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ee.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ee.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ee.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ee.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ee.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ee.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ee.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ee.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ee.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ee.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ee.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ee.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ee.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ee.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ee.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ee.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ee.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ee.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ee.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ee.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ee.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ee.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ee.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ee.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ee.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ee.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ee.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ee.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ee.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ee.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ee.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ee.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ee.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ee.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ee.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ee.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ee.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ee.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ee.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ee.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ee.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ee.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ee.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ee.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ee.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ee.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ee.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ee.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ee.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ee.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ee.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ee.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ee.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ee.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ee.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ee.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ee.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ee.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ee.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ee.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ee.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ee.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ee.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ee.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ee.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ee.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ee.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ee.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ee.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ee.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ee.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ee.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ee.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ee.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ee.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ee.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ee.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ee.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ee.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ee.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ee.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ee.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ee.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ee.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ee.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ee.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ee.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ee.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ee.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ee.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ee.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ee.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ee.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ee.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ee.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ee.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ee.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ee.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ee.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ee.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ee.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ee.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ee.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ee.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ee.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ee.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ee.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ee.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ee.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ee.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ee.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ee.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ee.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ee.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ee.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ee.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ee.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ee.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ee.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ee.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ee.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ee.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ee.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ee.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ee.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ee.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ee.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ee.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ee.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ee.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ee.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ee.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ee.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ee.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ee.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ee.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ee.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ee.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ee.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ee.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ee.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ee.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ee.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ee.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ee.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ee.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ee.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ee.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ee.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ee.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ee.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ee.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ee.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ee.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ee.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ee.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ee.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ee.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ee.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ee.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ee.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ee.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ee.create("--ft-opacity-80","","NUMBER","0.8")},Le={display:{fontFamily:Ee.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ee.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ee.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ee.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ee.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ee.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ee.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ee.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ee.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ee.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ee.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ee.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ee.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ee.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ee.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ee.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ee.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ee.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ee.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ee.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ee.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ee.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ee.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ee.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ee.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ee.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ee.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ue={backgroundActionPrimary:Ee.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ie.colorBrand0),backgroundErrorPrimary:Ee.extend("--ft-background-error-primary","Used as background of error components.",Ie.colorRed0),backgroundErrorSubtle:Ee.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ie.colorRed10),backgroundInfoPrimary:Ee.extend("--ft-background-info-primary","Used as background of information components.",Ie.colorCyan200),backgroundInfoSubtle:Ee.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ie.colorCyan10),backgroundWarningPrimary:Ee.extend("--ft-background-warning-primary","Used as background of warning components.",Ie.colorOrange300),backgroundWarningSubtle:Ee.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ie.colorOrange10),backgroundSuccessPrimary:Ee.extend("--ft-background-success-primary","Used as background of success components.",Ie.colorGreen200),backgroundSuccessSubtle:Ee.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ie.colorGreen10),backgroundGlobalSurface:Ee.extend("--ft-background-global-surface","Used as app background.",Ie.colorWhite),backgroundGlobalOnSurface:Ee.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ie.colorGray10),backgroundGlobalOnSurfaceDark:Ee.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ie.colorGray30),contentActionPrimary:Ee.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ie.colorBrand0),contentWarningPrimary:Ee.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ie.colorOrange300),contentWarningIconOnly:Ee.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ie.colorOrange0),contentErrorPrimary:Ee.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ie.colorRed0),contentErrorIconOnly:Ee.extend("--ft-content-error-icon-only","Used on error status icons alone",Ie.colorRed0),contentInfoPrimary:Ee.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ie.colorCyan200),contentInfoIconOnly:Ee.extend("--ft-content-info-icon-only","Used on info status icons alone",Ie.colorCyan0),contentSuccessIconOnly:Ee.extend("--ft-content-success-icon-only","Used on success status icons alone",Ie.colorGreen0),contentSuccessPrimary:Ee.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ie.colorGreen200),contentGlobalPrimary:Ee.extend("--ft-content-global-primary","Used for main content on the page.",Ie.colorGray500),contentGlobalSecondary:Ee.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ie.colorGray200),contentGlobalSubtle:Ee.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ie.colorGray0),contentGlobalOnColor:Ee.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ie.colorWhite),borderActionPrimary:Ee.extend("--ft-border-action-primary","Used as border for primary action components.",Ie.colorBrand0),borderActionFocusRing:Ee.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ie.colorCyan0),borderWarningPrimary:Ee.extend("--ft-border-warning-primary","Used as border for warning components.",Ie.colorOrange30),borderSuccessPrimary:Ee.extend("--ft-border-success-primary","Used as border for success components.",Ie.colorGreen30),borderErrorPrimary:Ee.extend("--ft-border-error-primary","Used as border for error components.",Ie.colorRed30),borderInfoPrimary:Ee.extend("--ft-border-info-primary","Used as border for information components.",Ie.colorCyan30),borderGlobalSubtle:Ee.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ie.colorGray30),borderGlobalPrimary:Ee.extend("--ft-border-global-primary","Used as border for element like input.",Ie.colorGray50),borderInputPrimary:Ee.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ie.colorGray80)},ze={largeHeight:Ee.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ee.extend("--ft-button-large-horizontal-padding","",Ie.spacing4),largeGap:Ee.extend("--ft-button-large-gap","",Ie.spacing2),largeBorderRadius:Ee.extend("--ft-button-large-border-radius","",Ie.borderRadiusS),largeIconSize:Ee.extend("--ft-button-large-icon-size","",Ie.iconSize3),largeBorderWidth:Ee.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ee.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ee.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ee.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ee.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ee.extend("--ft-button-small-horizontal-padding","",Ie.spacing3),smallGap:Ee.extend("--ft-button-small-gap","",Ie.spacing2),smallBorderRadius:Ee.extend("--ft-button-small-border-radius","",Ie.borderRadiusS),smallIconSize:Ee.extend("--ft-button-small-icon-size","",Ie.iconSize2),smallBorderWidth:Ee.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ee.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ee.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ee.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ee.extend("--ft-button-primary-background-color","",Ue.backgroundActionPrimary),primaryColor:Ee.extend("--ft-button-primary-color","",Ue.contentGlobalOnColor),primaryIconColor:Ee.extend("--ft-button-primary-icon-color","",Ue.contentGlobalOnColor),primaryStateLayerColor:Ee.extend("--ft-button-primary-state-layer-color","",Ue.contentGlobalOnColor),primaryStateLayerOpacityHover:Ee.extend("--ft-button-primary-state-layer-opacity-hover","",Ie.opacity16),primaryStateLayerOpacityFocus:Ee.extend("--ft-button-primary-state-layer-opacity-focus","",Ie.opacity16),primaryStateLayerOpacityActive:Ee.extend("--ft-button-primary-state-layer-opacity-active","",Ie.opacity24),primaryComponentOpacityDisabled:Ee.extend("--ft-button-primary-component-opacity-disabled","",Ie.opacity40),focusFocusRingColor:Ee.extend("--ft-button-focus-focus-ring-color","",Ue.borderActionFocusRing),tertiaryBackgroundColor:Ee.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ee.extend("--ft-button-tertiary-color","",Ue.contentActionPrimary),tertiaryIconColor:Ee.extend("--ft-button-tertiary-icon-color","",Ue.contentActionPrimary),tertiaryStateLayerColor:Ee.extend("--ft-button-tertiary-state-layer-color","",Ue.contentActionPrimary),tertiaryStateLayerOpacityHover:Ee.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ie.opacity8),tertiaryStateLayerOpacityFocus:Ee.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ie.opacity8),tertiaryStateLayerOpacityActive:Ee.extend("--ft-button-tertiary-state-layer-opacity-active","",Ie.opacity16),tertiaryComponentOpacityDisabled:Ee.extend("--ft-button-tertiary-component-opacity-disabled","",Ie.opacity40),secondaryBackgroundColor:Ee.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ee.extend("--ft-button-secondary-color","",Ue.contentActionPrimary),secondaryIconColor:Ee.extend("--ft-button-secondary-icon-color","",Ue.contentActionPrimary),secondaryStateLayerColor:Ee.extend("--ft-button-secondary-state-layer-color","",Ue.contentActionPrimary),secondaryStateLayerOpacityHover:Ee.extend("--ft-button-secondary-state-layer-opacity-hover","",Ie.opacity8),secondaryStateLayerOpacityFocus:Ee.extend("--ft-button-secondary-state-layer-opacity-focus","",Ie.opacity8),secondaryStateLayerOpacityActive:Ee.extend("--ft-button-secondary-state-layer-opacity-active","",Ie.opacity16),secondaryComponentOpacityDisabled:Ee.extend("--ft-button-secondary-component-opacity-disabled","",Ie.opacity40),secondaryBorderColor:Ee.extend("--ft-button-secondary-border-color","",Ue.borderActionPrimary),neutralBackgroundColor:Ee.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ee.extend("--ft-button-neutral-icon-color","",Ue.contentGlobalSecondary),neutralColor:Ee.extend("--ft-button-neutral-color","",Ue.contentGlobalSecondary),neutralStateLayerColor:Ee.extend("--ft-button-neutral-state-layer-color","",Ue.contentGlobalSecondary),neutralStateLayerOpacityHover:Ee.extend("--ft-button-neutral-state-layer-opacity-hover","",Ie.opacity8),neutralStateLayerOpacityFocus:Ee.extend("--ft-button-neutral-state-layer-opacity-focus","",Ie.opacity8),neutralStateLayerOpacityActive:Ee.extend("--ft-button-neutral-state-layer-opacity-active","",Ie.opacity16),neutralComponentOpacityDisabled:Ee.extend("--ft-button-neutral-component-opacity-disabled","",Ie.opacity40)};Ee.extend("--ft-tabs-top-left-border-radius","",Ie.borderRadiusS),Ee.extend("--ft-tabs-top-right-border-radius","",Ie.borderRadiusS),Ee.extend("--ft-tabs-label-horizontal-padding","",Ie.spacing4),Ee.extend("--ft-tabs-label-vertical-padding","",Ie.spacing3),Ee.extend("--ft-tabs-label-gap","",Ie.spacing1),Ee.extend("--ft-switch-group-horizontal-padding","",Ie.spacing1),Ee.extend("--ft-switch-group-vertical-padding","",Ie.spacing1),Ee.extend("--ft-switch-group-gap","",Ie.spacing1),Ee.extend("--ft-switch-group-background-color","",Ue.backgroundGlobalSurface),Ee.extend("--ft-switch-group-border-color","",Ue.borderGlobalSubtle),Ee.create("--ft-switch-group-border-radius","","SIZE","6px"),Ee.extend("--ft-switch-label-horizontal-padding","",Ie.spacing2),Ee.extend("--ft-switch-label-vertical-padding","",Ie.spacing1),Ee.extend("--ft-switch-icon-horizontal-padding","",Ie.spacing1),Ee.extend("--ft-switch-icon-vertical-padding","",Ie.spacing1),Ee.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-switch-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.extend("--ft-switch-option-border-radius","",Ie.borderRadiusS),Ee.extend("--ft-switch-off-state-layer-opacity-hover","",Ie.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-focus","",Ie.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-active","",Ie.opacity16),Ee.extend("--ft-switch-off-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-switch-off-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-switch-off-state-layer-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-chart-1-light","for area color charts",Ie.colorBrand40),Ee.extend("--ft-chart-1-base","for line charts",Ie.colorBrand0),Ee.extend("--ft-chart-2-light","for area color charts",Ie.colorYellow60),Ee.extend("--ft-chart-2-base","for line charts",Ie.colorYellow100),Ee.extend("--ft-chart-3-light","",Ie.colorUltramarine40),Ee.extend("--ft-chart-3-base","",Ie.colorUltramarine70),Ee.extend("--ft-chart-4-light","",Ie.colorCyan50),Ee.extend("--ft-chart-4-base","",Ie.colorCyan100),Ee.extend("--ft-chart-5-light","",Ie.colorRed40),Ee.extend("--ft-chart-5-base","",Ie.colorRed60),Ee.extend("--ft-chart-6-light","",Ie.colorGreen40),Ee.extend("--ft-chart-6-base","",Ie.colorGreen70),Ee.extend("--ft-chart-7-light","",Ie.colorOrange70),Ee.extend("--ft-chart-7-base","",Ie.colorOrange100),Ee.extend("--ft-chart-8-light","",Ie.colorAvocado70),Ee.extend("--ft-chart-8-base","",Ie.colorAvocado200),Ee.extend("--ft-chart-9-light","",Ie.colorBrown50),Ee.extend("--ft-chart-9-base","",Ie.colorBrown200),Ee.extend("--ft-chart-10-light","",Ie.colorGray50),Ee.extend("--ft-chart-10-base","",Ie.colorGray80),Ee.extend("--ft-chart-monochrome-10","",Ie.colorBrand10),Ee.extend("--ft-chart-monochrome-20","",Ie.colorBrand20),Ee.extend("--ft-chart-monochrome-30","",Ie.colorBrand40),Ee.extend("--ft-chart-monochrome-40","",Ie.colorBrand60),Ee.extend("--ft-chart-monochrome-50","",Ie.colorBrand0),Ee.extend("--ft-chart-monochrome-60","",Ie.colorBrand200),Ee.extend("--ft-chip-large-horizontal-padding","",Ie.spacing4),Ee.extend("--ft-chip-large-vertical-padding","",Ie.spacing2),Ee.extend("--ft-chip-large-gap","",Ie.spacing1),Ee.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-large-border-radius","",Ie.borderRadiusPill),Ee.create("--ft-chip-large-border-width","","SIZE","1px"),Ee.extend("--ft-chip-large-icon-size","",Ie.iconSize3),Ee.extend("--ft-chip-medium-horizontal-padding","",Ie.spacing3),Ee.extend("--ft-chip-medium-vertical-padding","",Ie.spacing1),Ee.extend("--ft-chip-medium-gap","",Ie.spacing1),Ee.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-medium-border-radius","",Ie.borderRadiusPill),Ee.create("--ft-chip-medium-border-width","","SIZE","1px"),Ee.extend("--ft-chip-medium-icon-size","",Ie.iconSize2),Ee.extend("--ft-chip-small-horizontal-padding","",Ie.spacing2),Ee.extend("--ft-chip-small-vertical-padding","",Ie.spacing05),Ee.extend("--ft-chip-small-gap","",Ie.spacing1),Ee.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-small-border-radius","",Ie.borderRadiusPill),Ee.create("--ft-chip-small-border-width","","SIZE","1px"),Ee.extend("--ft-chip-small-icon-size","",Ie.iconSize1),Ee.extend("--ft-chip-neutral-background-color","",Ue.backgroundGlobalOnSurface),Ee.extend("--ft-chip-neutral-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-chip-neutral-border-color","",Ue.borderGlobalSubtle),Ee.extend("--ft-chip-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-chip-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-chip-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-chip-success-background-color","",Ue.backgroundSuccessSubtle),Ee.extend("--ft-chip-success-color","",Ue.contentSuccessPrimary),Ee.extend("--ft-chip-success-border-color","",Ue.borderSuccessPrimary),Ee.extend("--ft-chip-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-chip-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-chip-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-chip-error-background-color","",Ue.backgroundErrorSubtle),Ee.extend("--ft-chip-error-color","",Ue.contentErrorPrimary),Ee.extend("--ft-chip-error-border-color","",Ue.borderErrorPrimary),Ee.create("--ft-notice-border-width","","SIZE","1px"),Ee.extend("--ft-notice-horizontal-padding","",Ie.spacing2),Ee.extend("--ft-notice-vertical-padding","",Ie.spacing1),Ee.extend("--ft-notice-border-radius","",Ie.borderRadiusS),Ee.extend("--ft-notice-gap","",Ie.spacing2),Ee.extend("--ft-notice-icon-size","",Ie.iconSize3),Ee.extend("--ft-notice-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-notice-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-notice-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-notice-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-notice-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-notice-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-checkbox-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-checkbox-checked-background-color","",Ue.contentActionPrimary),Ee.extend("--ft-checkbox-checked-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-checkbox-checked-color","",Ue.contentGlobalOnColor),Ee.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-checkbox-checked-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-checkbox-unchecked-border-color","",Ie.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-color","",Ie.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-checkbox-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-checkbox-gap","",Ie.spacing3),Ee.extend("--ft-toggle-off-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-toggle-off-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-toggle-off-background-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-off-icon-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-off-state-layer-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-on-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-toggle-on-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-toggle-on-background-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-on-icon-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-on-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-toggle-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.extend("--ft-toggle-gap","",Ie.spacing3),Ee.extend("--ft-radio-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-radio-selected-color","",Ue.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-radio-selected-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-radio-unselected-state-layer-color","",Ie.colorGray80),Ee.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-radio-unselected-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-radio-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-radio-gap","",Ie.spacing3),Ee.extend("--ft-notification-icon-size","",Ie.iconSize4),Ee.extend("--ft-notification-horizontal-padding","",Ie.spacing4),Ee.extend("--ft-notification-vertical-padding","",Ie.spacing4),Ee.extend("--ft-notification-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-notification-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-notification-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-notification-success-background-color","",Ue.backgroundSuccessSubtle),Ee.extend("--ft-notification-success-color","",Ue.contentSuccessPrimary),Ee.extend("--ft-notification-success-border-color","",Ue.borderSuccessPrimary),Ee.extend("--ft-notification-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-notification-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-notification-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-notification-error-background-color","",Ue.backgroundErrorSubtle),Ee.extend("--ft-notification-error-color","",Ue.contentErrorPrimary),Ee.extend("--ft-notification-error-border-color","",Ue.borderErrorPrimary),Ee.extend("--ft-notification-border-radius","",Ie.borderRadiusPill),Ee.create("--ft-notification-border-width","","SIZE","1px"),Ee.extend("--ft-notification-gap-leading","",Ie.spacing2),Ee.extend("--ft-notification-gap-trailing","",Ie.spacing8);const We={colorPrimary:Ee.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ee.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ee.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ee.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ee.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ee.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ee.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ee.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ee.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ee.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ee.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ee.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ee.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ee.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ee.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ee.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ee.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ee.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ee.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ee.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ee.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ee.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ee.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ee.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ee.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ee.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ee.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ee.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ee.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ee.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ee.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ee.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ee.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ee.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ee.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ee.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ee.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ee.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ee.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ee.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ee.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ee.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ee.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ee.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ee.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Ee.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:Ee.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:Ee.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:Ee.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:Ee.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:Ee.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:Ee.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:Ee.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:Ee.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:Ee.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ee.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ee.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ee.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ee.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ee.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Fe=window,Be=Fe.ShadowRoot&&(void 0===Fe.ShadyCSS||Fe.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
84
+ let ke=class extends jt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new me(e.insertBefore(Xt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return he}};ke._$litElement$=!0,ke.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ke});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:ke}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ce=t=>"string"==typeof t?Nt(t):t;class Ee{static create(t,e,o,i){const r=t=>Ce(null!=t?t:i),n=Ct`var(${Ce(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Ct`var(${Ce(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=Ct`var(${Ce(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Ct`var(${Ce(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ce(null!=e?e:t.lastResortDefaultValue()),i=Ct`var(${Ce(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>Ct`var(${Ce(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Re(t,e){return Ce(`${t.name}: ${e}`)}const Ie={colorWhite:Ee.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ee.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ee.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ee.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ee.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ee.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ee.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ee.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ee.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ee.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ee.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ee.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ee.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ee.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ee.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ee.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ee.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ee.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ee.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ee.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ee.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ee.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ee.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ee.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ee.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ee.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ee.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ee.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ee.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ee.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ee.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ee.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ee.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ee.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ee.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ee.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ee.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ee.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ee.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ee.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ee.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ee.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ee.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ee.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ee.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ee.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ee.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ee.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ee.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ee.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ee.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ee.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ee.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ee.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ee.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ee.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ee.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ee.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ee.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ee.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ee.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ee.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ee.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ee.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ee.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ee.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ee.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ee.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ee.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ee.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ee.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ee.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ee.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ee.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ee.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ee.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ee.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ee.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ee.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ee.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ee.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ee.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ee.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ee.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ee.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ee.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ee.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ee.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ee.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ee.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ee.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ee.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ee.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ee.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ee.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ee.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ee.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ee.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ee.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ee.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ee.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ee.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ee.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ee.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ee.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ee.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ee.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ee.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ee.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ee.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ee.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ee.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ee.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ee.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ee.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ee.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ee.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ee.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ee.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ee.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ee.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ee.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ee.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ee.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ee.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ee.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ee.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ee.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ee.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ee.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ee.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ee.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ee.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ee.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ee.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ee.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ee.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ee.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ee.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ee.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ee.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ee.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ee.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ee.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ee.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ee.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ee.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ee.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ee.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ee.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ee.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ee.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ee.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ee.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ee.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ee.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ee.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ee.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ee.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ee.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ee.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ee.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ee.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ee.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ee.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ee.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ee.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ee.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ee.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ee.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ee.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ee.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ee.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ee.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ee.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ee.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ee.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ee.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ee.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ee.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ee.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ee.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ee.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ee.create("--ft-opacity-80","","NUMBER","0.8")},Le={display:{fontFamily:Ee.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ee.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ee.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ee.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ee.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ee.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ee.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ee.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ee.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ee.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ee.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ee.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ee.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ee.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ee.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ee.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ee.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ee.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ee.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ee.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ee.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ee.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ee.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ee.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ee.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ee.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ee.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ee.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ee.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ee.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ee.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ee.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ee.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ee.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ee.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ee.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ee.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ee.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ee.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ee.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ee.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ee.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ee.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ee.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ee.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ee.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ee.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ee.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ee.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ue={backgroundActionPrimary:Ee.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ie.colorBrand0),backgroundErrorPrimary:Ee.extend("--ft-background-error-primary","Used as background of error components.",Ie.colorRed0),backgroundErrorSubtle:Ee.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ie.colorRed10),backgroundInfoPrimary:Ee.extend("--ft-background-info-primary","Used as background of information components.",Ie.colorCyan200),backgroundInfoSubtle:Ee.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ie.colorCyan10),backgroundWarningPrimary:Ee.extend("--ft-background-warning-primary","Used as background of warning components.",Ie.colorOrange300),backgroundWarningSubtle:Ee.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ie.colorOrange10),backgroundSuccessPrimary:Ee.extend("--ft-background-success-primary","Used as background of success components.",Ie.colorGreen200),backgroundSuccessSubtle:Ee.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ie.colorGreen10),backgroundGlobalSurface:Ee.extend("--ft-background-global-surface","Used as app background.",Ie.colorWhite),backgroundGlobalOnSurface:Ee.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ie.colorGray10),backgroundGlobalOnSurfaceDark:Ee.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ie.colorGray30),contentActionPrimary:Ee.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ie.colorBrand0),contentWarningPrimary:Ee.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ie.colorOrange300),contentWarningIconOnly:Ee.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ie.colorOrange0),contentErrorPrimary:Ee.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ie.colorRed0),contentErrorIconOnly:Ee.extend("--ft-content-error-icon-only","Used on error status icons alone",Ie.colorRed0),contentInfoPrimary:Ee.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ie.colorCyan200),contentInfoIconOnly:Ee.extend("--ft-content-info-icon-only","Used on info status icons alone",Ie.colorCyan0),contentSuccessIconOnly:Ee.extend("--ft-content-success-icon-only","Used on success status icons alone",Ie.colorGreen0),contentSuccessPrimary:Ee.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ie.colorGreen200),contentGlobalPrimary:Ee.extend("--ft-content-global-primary","Used for main content on the page.",Ie.colorGray500),contentGlobalSecondary:Ee.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ie.colorGray200),contentGlobalSubtle:Ee.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ie.colorGray0),contentGlobalOnColor:Ee.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ie.colorWhite),borderActionPrimary:Ee.extend("--ft-border-action-primary","Used as border for primary action components.",Ie.colorBrand0),borderActionFocusRing:Ee.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ie.colorCyan0),borderWarningPrimary:Ee.extend("--ft-border-warning-primary","Used as border for warning components.",Ie.colorOrange30),borderSuccessPrimary:Ee.extend("--ft-border-success-primary","Used as border for success components.",Ie.colorGreen30),borderErrorPrimary:Ee.extend("--ft-border-error-primary","Used as border for error components.",Ie.colorRed30),borderInfoPrimary:Ee.extend("--ft-border-info-primary","Used as border for information components.",Ie.colorCyan30),borderGlobalSubtle:Ee.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ie.colorGray30),borderGlobalPrimary:Ee.extend("--ft-border-global-primary","Used as border for element like input.",Ie.colorGray50),borderInputPrimary:Ee.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ie.colorGray80)},ze={largeHeight:Ee.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ee.extend("--ft-button-large-horizontal-padding","",Ie.spacing4),largeGap:Ee.extend("--ft-button-large-gap","",Ie.spacing2),largeBorderRadius:Ee.extend("--ft-button-large-border-radius","",Ie.borderRadiusS),largeIconSize:Ee.extend("--ft-button-large-icon-size","",Ie.iconSize3),largeBorderWidth:Ee.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ee.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ee.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ee.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ee.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ee.extend("--ft-button-small-horizontal-padding","",Ie.spacing3),smallGap:Ee.extend("--ft-button-small-gap","",Ie.spacing2),smallBorderRadius:Ee.extend("--ft-button-small-border-radius","",Ie.borderRadiusS),smallIconSize:Ee.extend("--ft-button-small-icon-size","",Ie.iconSize2),smallBorderWidth:Ee.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ee.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ee.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ee.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ee.extend("--ft-button-primary-background-color","",Ue.backgroundActionPrimary),primaryColor:Ee.extend("--ft-button-primary-color","",Ue.contentGlobalOnColor),primaryIconColor:Ee.extend("--ft-button-primary-icon-color","",Ue.contentGlobalOnColor),primaryStateLayerColor:Ee.extend("--ft-button-primary-state-layer-color","",Ue.contentGlobalOnColor),primaryStateLayerOpacityHover:Ee.extend("--ft-button-primary-state-layer-opacity-hover","",Ie.opacity16),primaryStateLayerOpacityFocus:Ee.extend("--ft-button-primary-state-layer-opacity-focus","",Ie.opacity16),primaryStateLayerOpacityActive:Ee.extend("--ft-button-primary-state-layer-opacity-active","",Ie.opacity24),primaryComponentOpacityDisabled:Ee.extend("--ft-button-primary-component-opacity-disabled","",Ie.opacity40),focusFocusRingColor:Ee.extend("--ft-button-focus-focus-ring-color","",Ue.borderActionFocusRing),tertiaryBackgroundColor:Ee.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ee.extend("--ft-button-tertiary-color","",Ue.contentActionPrimary),tertiaryIconColor:Ee.extend("--ft-button-tertiary-icon-color","",Ue.contentActionPrimary),tertiaryStateLayerColor:Ee.extend("--ft-button-tertiary-state-layer-color","",Ue.contentActionPrimary),tertiaryStateLayerOpacityHover:Ee.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ie.opacity8),tertiaryStateLayerOpacityFocus:Ee.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ie.opacity8),tertiaryStateLayerOpacityActive:Ee.extend("--ft-button-tertiary-state-layer-opacity-active","",Ie.opacity16),tertiaryComponentOpacityDisabled:Ee.extend("--ft-button-tertiary-component-opacity-disabled","",Ie.opacity40),secondaryBackgroundColor:Ee.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ee.extend("--ft-button-secondary-color","",Ue.contentActionPrimary),secondaryIconColor:Ee.extend("--ft-button-secondary-icon-color","",Ue.contentActionPrimary),secondaryStateLayerColor:Ee.extend("--ft-button-secondary-state-layer-color","",Ue.contentActionPrimary),secondaryStateLayerOpacityHover:Ee.extend("--ft-button-secondary-state-layer-opacity-hover","",Ie.opacity8),secondaryStateLayerOpacityFocus:Ee.extend("--ft-button-secondary-state-layer-opacity-focus","",Ie.opacity8),secondaryStateLayerOpacityActive:Ee.extend("--ft-button-secondary-state-layer-opacity-active","",Ie.opacity16),secondaryComponentOpacityDisabled:Ee.extend("--ft-button-secondary-component-opacity-disabled","",Ie.opacity40),secondaryBorderColor:Ee.extend("--ft-button-secondary-border-color","",Ue.borderActionPrimary),neutralBackgroundColor:Ee.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ee.extend("--ft-button-neutral-icon-color","",Ue.contentGlobalSecondary),neutralColor:Ee.extend("--ft-button-neutral-color","",Ue.contentGlobalSecondary),neutralStateLayerColor:Ee.extend("--ft-button-neutral-state-layer-color","",Ue.contentGlobalSecondary),neutralStateLayerOpacityHover:Ee.extend("--ft-button-neutral-state-layer-opacity-hover","",Ie.opacity8),neutralStateLayerOpacityFocus:Ee.extend("--ft-button-neutral-state-layer-opacity-focus","",Ie.opacity8),neutralStateLayerOpacityActive:Ee.extend("--ft-button-neutral-state-layer-opacity-active","",Ie.opacity16),neutralComponentOpacityDisabled:Ee.extend("--ft-button-neutral-component-opacity-disabled","",Ie.opacity40)};Ee.extend("--ft-tabs-top-left-border-radius","",Ie.borderRadiusS),Ee.extend("--ft-tabs-top-right-border-radius","",Ie.borderRadiusS),Ee.extend("--ft-tabs-label-horizontal-padding","",Ie.spacing4),Ee.extend("--ft-tabs-label-vertical-padding","",Ie.spacing3),Ee.extend("--ft-tabs-label-gap","",Ie.spacing1),Ee.extend("--ft-switch-group-horizontal-padding","",Ie.spacing1),Ee.extend("--ft-switch-group-vertical-padding","",Ie.spacing1),Ee.extend("--ft-switch-group-gap","",Ie.spacing1),Ee.extend("--ft-switch-group-background-color","",Ue.backgroundGlobalSurface),Ee.extend("--ft-switch-group-border-color","",Ue.borderGlobalSubtle),Ee.create("--ft-switch-group-border-radius","","SIZE","6px"),Ee.extend("--ft-switch-label-horizontal-padding","",Ie.spacing2),Ee.extend("--ft-switch-label-vertical-padding","",Ie.spacing1),Ee.extend("--ft-switch-icon-horizontal-padding","",Ie.spacing1),Ee.extend("--ft-switch-icon-vertical-padding","",Ie.spacing1),Ee.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-switch-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.extend("--ft-switch-option-border-radius","",Ie.borderRadiusS),Ee.extend("--ft-switch-off-state-layer-opacity-hover","",Ie.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-focus","",Ie.opacity8),Ee.extend("--ft-switch-off-state-layer-opacity-active","",Ie.opacity16),Ee.extend("--ft-switch-off-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-switch-off-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-switch-off-state-layer-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-chart-1-light","for area color charts",Ie.colorBrand40),Ee.extend("--ft-chart-1-base","for line charts",Ie.colorBrand0),Ee.extend("--ft-chart-2-light","for area color charts",Ie.colorYellow60),Ee.extend("--ft-chart-2-base","for line charts",Ie.colorYellow100),Ee.extend("--ft-chart-3-light","",Ie.colorUltramarine40),Ee.extend("--ft-chart-3-base","",Ie.colorUltramarine70),Ee.extend("--ft-chart-4-light","",Ie.colorCyan50),Ee.extend("--ft-chart-4-base","",Ie.colorCyan100),Ee.extend("--ft-chart-5-light","",Ie.colorRed40),Ee.extend("--ft-chart-5-base","",Ie.colorRed60),Ee.extend("--ft-chart-6-light","",Ie.colorGreen40),Ee.extend("--ft-chart-6-base","",Ie.colorGreen70),Ee.extend("--ft-chart-7-light","",Ie.colorOrange70),Ee.extend("--ft-chart-7-base","",Ie.colorOrange100),Ee.extend("--ft-chart-8-light","",Ie.colorAvocado70),Ee.extend("--ft-chart-8-base","",Ie.colorAvocado200),Ee.extend("--ft-chart-9-light","",Ie.colorBrown50),Ee.extend("--ft-chart-9-base","",Ie.colorBrown200),Ee.extend("--ft-chart-10-light","",Ie.colorGray50),Ee.extend("--ft-chart-10-base","",Ie.colorGray80),Ee.extend("--ft-chart-monochrome-10","",Ie.colorBrand10),Ee.extend("--ft-chart-monochrome-20","",Ie.colorBrand20),Ee.extend("--ft-chart-monochrome-30","",Ie.colorBrand40),Ee.extend("--ft-chart-monochrome-40","",Ie.colorBrand60),Ee.extend("--ft-chart-monochrome-50","",Ie.colorBrand0),Ee.extend("--ft-chart-monochrome-60","",Ie.colorBrand200),Ee.extend("--ft-chip-large-horizontal-padding","",Ie.spacing4),Ee.extend("--ft-chip-large-vertical-padding","",Ie.spacing2),Ee.extend("--ft-chip-large-gap","",Ie.spacing1),Ee.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-large-border-radius","",Ie.borderRadiusPill),Ee.create("--ft-chip-large-border-width","","SIZE","1px"),Ee.extend("--ft-chip-large-icon-size","",Ie.iconSize3),Ee.extend("--ft-chip-medium-horizontal-padding","",Ie.spacing3),Ee.extend("--ft-chip-medium-vertical-padding","",Ie.spacing1),Ee.extend("--ft-chip-medium-gap","",Ie.spacing1),Ee.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-medium-border-radius","",Ie.borderRadiusPill),Ee.create("--ft-chip-medium-border-width","","SIZE","1px"),Ee.extend("--ft-chip-medium-icon-size","",Ie.iconSize2),Ee.extend("--ft-chip-small-horizontal-padding","",Ie.spacing2),Ee.extend("--ft-chip-small-vertical-padding","",Ie.spacing05),Ee.extend("--ft-chip-small-gap","",Ie.spacing1),Ee.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ee.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-chip-small-border-radius","",Ie.borderRadiusPill),Ee.create("--ft-chip-small-border-width","","SIZE","1px"),Ee.extend("--ft-chip-small-icon-size","",Ie.iconSize1),Ee.extend("--ft-chip-neutral-background-color","",Ue.backgroundGlobalOnSurface),Ee.extend("--ft-chip-neutral-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-chip-neutral-border-color","",Ue.borderGlobalSubtle),Ee.extend("--ft-chip-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-chip-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-chip-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-chip-success-background-color","",Ue.backgroundSuccessSubtle),Ee.extend("--ft-chip-success-color","",Ue.contentSuccessPrimary),Ee.extend("--ft-chip-success-border-color","",Ue.borderSuccessPrimary),Ee.extend("--ft-chip-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-chip-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-chip-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-chip-error-background-color","",Ue.backgroundErrorSubtle),Ee.extend("--ft-chip-error-color","",Ue.contentErrorPrimary),Ee.extend("--ft-chip-error-border-color","",Ue.borderErrorPrimary),Ee.create("--ft-notice-border-width","","SIZE","1px"),Ee.extend("--ft-notice-horizontal-padding","",Ie.spacing2),Ee.extend("--ft-notice-vertical-padding","",Ie.spacing1),Ee.extend("--ft-notice-border-radius","",Ie.borderRadiusS),Ee.extend("--ft-notice-gap","",Ie.spacing2),Ee.extend("--ft-notice-icon-size","",Ie.iconSize3),Ee.extend("--ft-notice-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-notice-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-notice-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-notice-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-notice-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-notice-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-checkbox-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-checkbox-checked-background-color","",Ue.contentActionPrimary),Ee.extend("--ft-checkbox-checked-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-checkbox-checked-color","",Ue.contentGlobalOnColor),Ee.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-checkbox-checked-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-checkbox-unchecked-border-color","",Ie.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-color","",Ie.colorGray80),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-checkbox-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-checkbox-gap","",Ie.spacing3),Ee.extend("--ft-toggle-off-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-toggle-off-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-toggle-off-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-toggle-off-background-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-off-icon-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-off-state-layer-color","",Ue.contentGlobalSubtle),Ee.extend("--ft-toggle-on-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-toggle-on-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-toggle-on-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-toggle-on-background-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-on-icon-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-on-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-toggle-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-toggle-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.extend("--ft-toggle-gap","",Ie.spacing3),Ee.extend("--ft-radio-label-color","",Ue.contentGlobalPrimary),Ee.extend("--ft-radio-selected-color","",Ue.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-color","",Ue.contentActionPrimary),Ee.extend("--ft-radio-selected-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-radio-selected-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-radio-selected-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-radio-unselected-state-layer-color","",Ie.colorGray80),Ee.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ie.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ie.opacity16),Ee.extend("--ft-radio-unselected-state-layer-opacity-active","",Ie.opacity24),Ee.extend("--ft-radio-unselected-component-opacity-disabled","",Ie.opacity40),Ee.extend("--ft-radio-focus-focus-ring-color","",Ue.borderActionFocusRing),Ee.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ee.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ee.extend("--ft-radio-gap","",Ie.spacing3),Ee.extend("--ft-notification-icon-size","",Ie.iconSize4),Ee.extend("--ft-notification-horizontal-padding","",Ie.spacing4),Ee.extend("--ft-notification-vertical-padding","",Ie.spacing4),Ee.extend("--ft-notification-info-background-color","",Ue.backgroundInfoSubtle),Ee.extend("--ft-notification-info-color","",Ue.contentInfoPrimary),Ee.extend("--ft-notification-info-border-color","",Ue.borderInfoPrimary),Ee.extend("--ft-notification-success-background-color","",Ue.backgroundSuccessSubtle),Ee.extend("--ft-notification-success-color","",Ue.contentSuccessPrimary),Ee.extend("--ft-notification-success-border-color","",Ue.borderSuccessPrimary),Ee.extend("--ft-notification-warning-background-color","",Ue.backgroundWarningSubtle),Ee.extend("--ft-notification-warning-color","",Ue.contentWarningPrimary),Ee.extend("--ft-notification-warning-border-color","",Ue.borderWarningPrimary),Ee.extend("--ft-notification-error-background-color","",Ue.backgroundErrorSubtle),Ee.extend("--ft-notification-error-color","",Ue.contentErrorPrimary),Ee.extend("--ft-notification-error-border-color","",Ue.borderErrorPrimary),Ee.extend("--ft-notification-border-radius","",Ie.borderRadiusPill),Ee.create("--ft-notification-border-width","","SIZE","1px"),Ee.extend("--ft-notification-gap-leading","",Ie.spacing2),Ee.extend("--ft-notification-gap-trailing","",Ie.spacing8);const We={colorPrimary:Ee.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ee.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ee.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ee.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ee.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ee.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ee.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ee.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ee.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ee.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ee.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ee.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ee.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ee.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ee.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ee.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ee.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ee.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ee.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ee.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ee.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ee.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ee.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ee.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ee.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ee.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ee.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ee.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ee.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ee.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ee.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ee.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ee.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ee.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ee.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ee.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ee.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ee.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ee.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ee.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ee.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ee.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ee.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ee.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ee.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Ee.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:Ee.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:Ee.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:Ee.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:Ee.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:Ee.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:Ee.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:Ee.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:Ee.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:Ee.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ee.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ee.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ee.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ee.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ee.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ee.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ee.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Fe=["start","end"],Be=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Fe[0],e+"-"+Fe[1])),[]),De=Math.min,Ke=Math.max,Ze=Math.round,Me=t=>({x:t,y:t}),Ae={left:"right",right:"left",bottom:"top",top:"bottom"},Pe={start:"end",end:"start"};function je(t,e,o){return Ke(t,De(e,o))}function He(t,e){return"function"==typeof t?t(e):t}function Te(t){return t.split("-")[0]}function _e(t){return t.split("-")[1]}function Ve(t){return"x"===t?"y":"x"}function Ge(t){return"y"===t?"height":"width"}function qe(t){return["top","bottom"].includes(Te(t))?"y":"x"}function Ye(t){return Ve(qe(t))}function Je(t){return t.replace(/left|right|bottom|top/g,(t=>Ae[t]))}function Xe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Qe(t,e,o){let{reference:i,floating:r}=t;const n=qe(e),a=Ye(e),s=Ge(a),l=Te(e),c="y"===n,h=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,f=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:h,y:i.y-r.height};break;case"bottom":d={x:h,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(_e(e)){case"start":d[a]-=f*(o&&c?-1:1);break;case"end":d[a]+=f*(o&&c?-1:1)}return d}async function to(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:f=!1,padding:d=0}=He(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),b=s[f?"floating"===p?"reference":"floating":p],g=Xe(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(b)))||o?b:b.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:h,strategy:l})),y="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Xe(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:l}):y);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function eo(t,e,o){return(t?[...o.filter((e=>_e(e)===t)),...o.filter((e=>_e(e)!==t))]:o.filter((t=>Te(t)===t))).filter((o=>!t||(_e(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Pe[t]))}(o)!==o)))}const oo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:f=Be,autoAlignment:d=!0,...u}=He(t,e),b=void 0!==p||f===Be?eo(p||null,d,f):f,g=await to(e,u),y=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=b[y];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=_e(t),r=Ye(t),n=Ge(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Je(a)),[a,Je(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:b[0]}};const x=[g[Te(m)],g[v[0]],g[v[1]]],$=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=b[y+1];if(w)return{data:{index:y+1,overflows:$},reset:{placement:w}};const O=$.map((t=>{const e=_e(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=O.filter((t=>t[2].slice(0,_e(t[0])?2:3).every((t=>t<=0)))),k=(null==(r=S[0])?void 0:r[0])||O[0][0];return k!==s?{data:{index:y+1,overflows:$},reset:{placement:k}}:{}}}};function io(t){return ao(t)?(t.nodeName||"").toLowerCase():"#document"}function ro(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function no(t){var e;return null==(e=(ao(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function ao(t){return t instanceof Node||t instanceof ro(t).Node}function so(t){return t instanceof Element||t instanceof ro(t).Element}function lo(t){return t instanceof HTMLElement||t instanceof ro(t).HTMLElement}function co(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ro(t).ShadowRoot)}function ho(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=go(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function po(t){return["table","td","th"].includes(io(t))}function fo(t){const e=uo(),o=go(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function uo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function bo(t){return["html","body","#document"].includes(io(t))}function go(t){return ro(t).getComputedStyle(t)}function yo(t){return so(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function mo(t){if("html"===io(t))return t;const e=t.assignedSlot||t.parentNode||co(t)&&t.host||no(t);return co(e)?e.host:e}function vo(t){const e=mo(t);return bo(e)?t.ownerDocument?t.ownerDocument.body:t.body:lo(e)&&ho(e)?e:vo(e)}function xo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=vo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ro(r);return n?e.concat(a,a.visualViewport||[],ho(r)?r:[],a.frameElement&&o?xo(a.frameElement):[]):e.concat(r,xo(r,[],o))}function $o(t){const e=go(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=lo(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Ze(o)!==n||Ze(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function wo(t){return so(t)?t:t.contextElement}function Oo(t){const e=wo(t);if(!lo(e))return Me(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=$o(e);let a=(n?Ze(o.width):o.width)/i,s=(n?Ze(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const So=Me(0);function ko(t){const e=ro(t);return uo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:So}function No(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=wo(t);let a=Me(1);e&&(i?so(i)&&(a=Oo(i)):a=Oo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==ro(t))&&e}(n,o,i)?ko(n):Me(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,h=r.width/a.x,p=r.height/a.y;if(n){const t=ro(n),e=i&&so(i)?ro(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Oo(o),e=o.getBoundingClientRect(),i=go(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,p*=t.y,l+=r,c+=n,o=ro(o).frameElement}}return Xe({width:h,height:p,x:l,y:c})}function Co(t){return No(no(t)).left+yo(t).scrollLeft}function Eo(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=ro(t),i=no(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=uo();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=no(t),o=yo(t),i=t.ownerDocument.body,r=Ke(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ke(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Co(t);const s=-o.scrollTop;return"rtl"===go(i).direction&&(a+=Ke(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(no(t));else if(so(e))i=function(t,e){const o=No(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=lo(t)?Oo(t):Me(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=ko(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Xe(i)}function Ro(t,e){const o=mo(t);return!(o===e||!so(o)||bo(o))&&("fixed"===go(o).position||Ro(o,e))}function Io(t,e,o){const i=lo(e),r=no(e),n="fixed"===o,a=No(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Me(0);if(i||!i&&!n)if(("body"!==io(e)||ho(r))&&(s=yo(e)),i){const t=No(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Co(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Lo(t,e){return lo(t)&&"fixed"!==go(t).position?e?e(t):t.offsetParent:null}function Uo(t,e){const o=ro(t);if(!lo(t))return o;let i=Lo(t,e);for(;i&&po(i)&&"static"===go(i).position;)i=Lo(i,e);return i&&("html"===io(i)||"body"===io(i)&&"static"===go(i).position&&!fo(i))?o:i||function(t){let e=mo(t);for(;lo(e)&&!bo(e);){if(fo(e))return e;e=mo(e)}return null}(t)||o}const zo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=lo(o),n=no(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Me(1);const l=Me(0);if((r||!r&&"fixed"!==i)&&(("body"!==io(o)||ho(n))&&(a=yo(o)),lo(o))){const t=No(o);s=Oo(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:no,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=xo(t,[],!1).filter((t=>so(t)&&"body"!==io(t))),r=null;const n="fixed"===go(t).position;let a=n?mo(t):t;for(;so(a)&&!bo(a);){const e=go(a),o=fo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ho(a)&&!o&&Ro(t,a))?i=i.filter((t=>t!==a)):r=e,a=mo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Eo(e,o,r);return t.top=Ke(i.top,t.top),t.right=De(i.right,t.right),t.bottom=De(i.bottom,t.bottom),t.left=Ke(i.left,t.left),t}),Eo(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Uo,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Uo,n=this.getDimensions;return{reference:Io(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return $o(t)},getScale:Oo,isElement:so,isRTL:function(t){return"rtl"===go(t).direction}},Wo=(t,e,o)=>{const i=new Map,r={platform:zo,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:p}=Qe(c,i,l),f=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:b}=s[o],{x:g,y,data:m,reset:v}=await b({x:h,y:p,initialPlacement:i,placement:f,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});h=null!=g?g:h,p=null!=y?y:p,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:h,y:p}=Qe(c,f,l))),o=-1)}return{x:h,y:p,placement:f,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Fo(t){return function(t){for(let e=t;e;e=Bo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Bo(t);e;e=Bo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Bo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2019 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
- */class De extends ke{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Be?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Fe.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ke,Ze=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Me=Symbol("constructorPrototype"),Ae=Symbol("constructorName"),Pe=Symbol("exportpartsDebouncer");class je extends De{constructor(){super(),this[Ke]=new e(5),this[Ae]=this.constructor.name,this[Me]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ae]&&Object.setPrototypeOf(this,this[Me])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Pe].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Ke=Pe,Ze([k()],je.prototype,"exportpartsPrefix",void 0),Ze([B([])],je.prototype,"exportpartsPrefixes",void 0),Ze([k()],je.prototype,"customStylesheet",void 0);const He=Ee.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Ct`
89
+ */
90
+ const Do=window,Ko=Do.ShadowRoot&&(void 0===Do.ShadyCSS||Do.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Zo extends ke{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ko?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Do.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Mo,Ao=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Po=Symbol("constructorPrototype"),jo=Symbol("constructorName"),Ho=Symbol("exportpartsDebouncer");class To extends Zo{constructor(){super(),this[Mo]=new e(5),this[jo]=this.constructor.name,this[Po]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[jo]&&Object.setPrototypeOf(this,this[Po])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ho].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Mo=Ho,Ao([k()],To.prototype,"exportpartsPrefix",void 0),Ao([B([])],To.prototype,"exportpartsPrefixes",void 0),Ao([k()],To.prototype,"customStylesheet",void 0);const _o=Ee.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Ct`
90
91
  .highlight-html-match {
91
- background: ${He};
92
+ background: ${_o};
92
93
  }
93
- `;const Te=Ct`
94
+ `;const Vo=Ct`
94
95
  .ft-no-text-select {
95
96
  -webkit-touch-callout: none;
96
97
  -webkit-user-select: none;
@@ -99,7 +100,7 @@ let ke=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
99
100
  -ms-user-select: none;
100
101
  user-select: none;
101
102
  }
102
- `,_e=Ct`
103
+ `,Go=Ct`
103
104
  .ft-word-wrap {
104
105
  white-space: normal;
105
106
  word-wrap: break-word;
@@ -111,7 +112,7 @@ let ke=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
111
112
  -webkit-hyphens: auto;
112
113
  hyphens: auto
113
114
  }
114
- `,Ve=Ct`
115
+ `,qo=Ct`
115
116
  .ft-safari-ellipsis-fix {
116
117
  margin-right: 0;
117
118
 
@@ -122,17 +123,17 @@ let ke=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
122
123
  display: inline-block;
123
124
  width: 0;
124
125
  }
125
- `;class Ge{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}function qe(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Ye,Je,Xe;const Qe=Symbol("internalReduxEventsUnsubscribers"),to=Symbol("internalStoresUnsubscribers"),eo=Symbol("internalStores");class oo extends je{constructor(){super(...arguments),this[Ye]=new Map,this[Je]=new Map,this[Xe]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[eo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[eo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[eo].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:qe(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[eo].delete(e)}setupStore(t,e){this[eo].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[eo].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[to].has(t.store):this[to].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[to].set(t,e.subscribe((()=>this.updateFromStores()))),qe(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[Qe].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[to].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Qe].forEach((t=>t())),this[Qe]=[]}unsubscribeFromStore(t){this[to].has(t)&&this[to].get(t)(),this[to].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Ye=to,Je=eo,Xe=Qe,oo.reduxProperties=new Map,oo.reduxReactiveProperties=new Set,oo.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const io=Symbol("elementInternals");var ro,no,ao;const so=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ao=null===(no=null===(ro=window.safari)||void 0===ro?void 0:ro.pushNotification)||void 0===no?void 0:no.toString())&&void 0!==ao?ao:""),lo="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,co=1,ho=2,po=t=>(...e)=>({_$litDirective$:t,values:e});let fo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
126
+ `;class Yo{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}function Jo(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Xo,Qo,ti;const ei=Symbol("internalReduxEventsUnsubscribers"),oi=Symbol("internalStoresUnsubscribers"),ii=Symbol("internalStores");class ri extends To{constructor(){super(...arguments),this[Xo]=new Map,this[Qo]=new Map,this[ti]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[ii].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ii].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ii].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Jo(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[ii].delete(e)}setupStore(t,e){this[ii].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ii].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[oi].has(t.store):this[oi].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[oi].set(t,e.subscribe((()=>this.updateFromStores()))),Jo(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[ei].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[oi].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[ei].forEach((t=>t())),this[ei]=[]}unsubscribeFromStore(t){this[oi].has(t)&&this[oi].get(t)(),this[oi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Xo=oi,Qo=ii,ti=ei,ri.reduxProperties=new Map,ri.reduxReactiveProperties=new Set,ri.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const ni=Symbol("elementInternals");var ai,si,li;const ci=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(li=null===(si=null===(ai=window.safari)||void 0===ai?void 0:ai.pushNotification)||void 0===si?void 0:si.toString())&&void 0!==li?li:""),hi="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0,pi=1,fi=2,di=t=>(...e)=>({_$litDirective$:t,values:e});let ui=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
126
127
  /**
127
128
  * @license
128
129
  * Copyright 2020 Google LLC
129
130
  * SPDX-License-Identifier: BSD-3-Clause
130
- */const{D:uo}=vt,bo=()=>document.createComment(""),go=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(bo(),r),n=i.insertBefore(bo(),r);o=new uo(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},yo=(t,e,o=t)=>(t._$AI(e,o),t),mo={},vo=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},xo=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},$o=po(class extends fo{constructor(t){if(super(t),t.type!==ho)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,h,p=0,f=r.length-1,d=0,u=n.length-1;for(;p<=f&&d<=u;)if(null===r[p])p++;else if(null===r[f])f--;else if(s[p]===a[d])l[d]=yo(r[p],n[d]),p++,d++;else if(s[f]===a[u])l[u]=yo(r[f],n[u]),f--,u--;else if(s[p]===a[u])l[u]=yo(r[p],n[u]),go(t,l[u+1],r[p]),p++,u--;else if(s[f]===a[d])l[d]=yo(r[f],n[d]),go(t,r[p],r[f]),f--,d++;else if(void 0===c&&(c=xo(a,d,u),h=xo(s,p,f)),c.has(s[p]))if(c.has(s[f])){const e=h.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=go(t,r[p]);yo(e,n[d]),l[d]=e}else l[d]=yo(o,n[d]),go(t,r[p],o),r[e]=null;d++}else vo(r[f]),f--;else vo(r[p]),p++;for(;d<=u;){const e=go(t,l[u+1]);yo(e,n[d]),l[d++]=e}for(;p<=f;){const t=r[p++];null!==t&&vo(t)}return this.dt=a,((t,e=mo)=>{t._$AH=e})(t,l),rt}});
131
+ */const{D:bi}=vt,gi=()=>document.createComment(""),yi=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(gi(),r),n=i.insertBefore(gi(),r);o=new bi(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},mi=(t,e,o=t)=>(t._$AI(e,o),t),vi={},xi=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},$i=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},wi=di(class extends ui{constructor(t){if(super(t),t.type!==fi)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,h,p=0,f=r.length-1,d=0,u=n.length-1;for(;p<=f&&d<=u;)if(null===r[p])p++;else if(null===r[f])f--;else if(s[p]===a[d])l[d]=mi(r[p],n[d]),p++,d++;else if(s[f]===a[u])l[u]=mi(r[f],n[u]),f--,u--;else if(s[p]===a[u])l[u]=mi(r[p],n[u]),yi(t,l[u+1],r[p]),p++,u--;else if(s[f]===a[d])l[d]=mi(r[f],n[d]),yi(t,r[p],r[f]),f--,d++;else if(void 0===c&&(c=$i(a,d,u),h=$i(s,p,f)),c.has(s[p]))if(c.has(s[f])){const e=h.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=yi(t,r[p]);mi(e,n[d]),l[d]=e}else l[d]=mi(o,n[d]),yi(t,r[p],o),r[e]=null;d++}else xi(r[f]),f--;else xi(r[p]),p++;for(;d<=u;){const e=yi(t,l[u+1]);mi(e,n[d]),l[d++]=e}for(;p<=f;){const t=r[p++];null!==t&&xi(t)}return this.dt=a,((t,e=vi)=>{t._$AH=e})(t,l),rt}});
131
132
  /**
132
133
  * @license
133
134
  * Copyright 2017 Google LLC
134
135
  * SPDX-License-Identifier: BSD-3-Clause
135
- */var wo;!function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(wo||(wo={}));const Oo=Ct`
136
+ */var Oi;!function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Oi||(Oi={}));const Si=Ct`
136
137
  .ft-size-watcher--pixel {
137
138
  width: 0;
138
139
  height: 0;
@@ -151,112 +152,112 @@ let ke=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
151
152
  .ft-size-watcher--local .ft-size-watcher--watcher {
152
153
  width: 100%;
153
154
  }
154
- `;var So=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ko extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class No extends je{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=wo.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return ce`
155
+ `;var ki=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ni extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class Ci extends To{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Oi.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return ce`
155
156
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
156
157
  <div class="ft-size-watcher--watcher"></div>
157
158
  </div>
158
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=wo.S:this.size<976?this.category=wo.M:this.size<1024?this.category=wo.L:this.size<1440?this.category=wo.XL:this.category=wo.XXL,this.dispatchEvent(new ko(this.size,this.category)))}),this.debounceTimeout)}}No.elementDefinitions={},No.styles=Oo,So([k({type:Number})],No.prototype,"debounceTimeout",void 0),So([k({type:Boolean})],No.prototype,"local",void 0),So([k({type:Number,reflect:!0})],No.prototype,"size",void 0),So([k({type:String,reflect:!0})],No.prototype,"category",void 0),So([R(".ft-size-watcher--watcher")],No.prototype,"watcher",void 0),F("ft-size-watcher")(No);
159
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Oi.S:this.size<976?this.category=Oi.M:this.size<1024?this.category=Oi.L:this.size<1440?this.category=Oi.XL:this.category=Oi.XXL,this.dispatchEvent(new Ni(this.size,this.category)))}),this.debounceTimeout)}}Ci.elementDefinitions={},Ci.styles=Si,ki([k({type:Number})],Ci.prototype,"debounceTimeout",void 0),ki([k({type:Boolean})],Ci.prototype,"local",void 0),ki([k({type:Number,reflect:!0})],Ci.prototype,"size",void 0),ki([k({type:String,reflect:!0})],Ci.prototype,"category",void 0),ki([R(".ft-size-watcher--watcher")],Ci.prototype,"watcher",void 0),F("ft-size-watcher")(Ci);
159
160
  /**
160
161
  * @license
161
162
  * Copyright 2020 Google LLC
162
163
  * SPDX-License-Identifier: BSD-3-Clause
163
164
  */
164
- const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$litStatic$:t,r:Co}),Io=new Map,Lo=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Eo(n));)l+=r+e[++c],h=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),h){const t=a.join("$$lit$$");void 0===(e=Io.get(t))&&(a.raw=a,Io.set(t,e=a)),o=s}return t(e,...o)})(it);var Uo;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Uo||(Uo={}));const zo=Ee.extend("--ft-typography-font-family","",We.titleFont),Wo=Ee.extend("--ft-typography-font-family","",We.contentFont),Fo={fontFamily:Wo,fontSize:Ee.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ee.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ee.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ee.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ee.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Bo=Ee.extend("--ft-typography-title-font-family","",zo),Do=Ee.extend("--ft-typography-title-font-size","",Fo.fontSize,"20px"),Ko=Ee.extend("--ft-typography-title-font-weight","",Fo.fontWeight,"normal"),Zo=Ee.extend("--ft-typography-title-letter-spacing","",Fo.letterSpacing,"0.15px"),Mo=Ee.extend("--ft-typography-title-line-height","",Fo.lineHeight,"1.2"),Ao=Ee.extend("--ft-typography-title-text-transform","",Fo.textTransform,"inherit"),Po=Ee.extend("--ft-typography-title-dense-font-family","",zo),jo=Ee.extend("--ft-typography-title-dense-font-size","",Fo.fontSize,"14px"),Ho=Ee.extend("--ft-typography-title-dense-font-weight","",Fo.fontWeight,"normal"),To=Ee.extend("--ft-typography-title-dense-letter-spacing","",Fo.letterSpacing,"0.105px"),_o=Ee.extend("--ft-typography-title-dense-line-height","",Fo.lineHeight,"1.7"),Vo=Ee.extend("--ft-typography-title-dense-text-transform","",Fo.textTransform,"inherit"),Go=Ee.extend("--ft-typography-subtitle1-font-family","",Wo),qo=Ee.extend("--ft-typography-subtitle1-font-size","",Fo.fontSize,"16px"),Yo=Ee.extend("--ft-typography-subtitle1-font-weight","",Fo.fontWeight,"600"),Jo=Ee.extend("--ft-typography-subtitle1-letter-spacing","",Fo.letterSpacing,"0.144px"),Xo=Ee.extend("--ft-typography-subtitle1-line-height","",Fo.lineHeight,"1.5"),Qo=Ee.extend("--ft-typography-subtitle1-text-transform","",Fo.textTransform,"inherit"),ti=Ee.extend("--ft-typography-subtitle2-font-family","",Wo),ei=Ee.extend("--ft-typography-subtitle2-font-size","",Fo.fontSize,"14px"),oi=Ee.extend("--ft-typography-subtitle2-font-weight","",Fo.fontWeight,"normal"),ii=Ee.extend("--ft-typography-subtitle2-letter-spacing","",Fo.letterSpacing,"0.098px"),ri=Ee.extend("--ft-typography-subtitle2-line-height","",Fo.lineHeight,"1.7"),ni=Ee.extend("--ft-typography-subtitle2-text-transform","",Fo.textTransform,"inherit"),ai={fontFamily:Ee.extend("--ft-typography-body1-font-family","",Wo),fontSize:Ee.extend("--ft-typography-body1-font-size","",Fo.fontSize,"16px"),fontWeight:Ee.extend("--ft-typography-body1-font-weight","",Fo.fontWeight,"normal"),letterSpacing:Ee.extend("--ft-typography-body1-letter-spacing","",Fo.letterSpacing,"0.496px"),lineHeight:Ee.extend("--ft-typography-body1-line-height","",Fo.lineHeight,"1.5"),textTransform:Ee.extend("--ft-typography-body1-text-transform","",Fo.textTransform,"inherit")},si={fontFamily:Ee.extend("--ft-typography-body2-font-family","",Wo),fontSize:Ee.extend("--ft-typography-body2-font-size","",Fo.fontSize,"14px"),fontWeight:Ee.extend("--ft-typography-body2-font-weight","",Fo.fontWeight,"normal"),letterSpacing:Ee.extend("--ft-typography-body2-letter-spacing","",Fo.letterSpacing,"0.252px"),lineHeight:Ee.extend("--ft-typography-body2-line-height","",Fo.lineHeight,"1.4"),textTransform:Ee.extend("--ft-typography-body2-text-transform","",Fo.textTransform,"inherit")},li={fontFamily:Ee.extend("--ft-typography-caption-font-family","",Wo),fontSize:Ee.extend("--ft-typography-caption-font-size","",Fo.fontSize,"12px"),fontWeight:Ee.extend("--ft-typography-caption-font-weight","",Fo.fontWeight,"normal"),letterSpacing:Ee.extend("--ft-typography-caption-letter-spacing","",Fo.letterSpacing,"0.396px"),lineHeight:Ee.extend("--ft-typography-caption-line-height","",Fo.lineHeight,"1.33"),textTransform:Ee.extend("--ft-typography-caption-text-transform","",Fo.textTransform,"inherit")},ci=Ee.extend("--ft-typography-breadcrumb-font-family","",Wo),hi=Ee.extend("--ft-typography-breadcrumb-font-size","",Fo.fontSize,"10px"),pi=Ee.extend("--ft-typography-breadcrumb-font-weight","",Fo.fontWeight,"normal"),fi=Ee.extend("--ft-typography-breadcrumb-letter-spacing","",Fo.letterSpacing,"0.33px"),di=Ee.extend("--ft-typography-breadcrumb-line-height","",Fo.lineHeight,"1.6"),ui=Ee.extend("--ft-typography-breadcrumb-text-transform","",Fo.textTransform,"inherit"),bi=Ee.extend("--ft-typography-overline-font-family","",Wo),gi=Ee.extend("--ft-typography-overline-font-size","",Fo.fontSize,"10px"),yi=Ee.extend("--ft-typography-overline-font-weight","",Fo.fontWeight,"normal"),mi=Ee.extend("--ft-typography-overline-letter-spacing","",Fo.letterSpacing,"1.5px"),vi=Ee.extend("--ft-typography-overline-line-height","",Fo.lineHeight,"1.6"),xi=Ee.extend("--ft-typography-overline-text-transform","",Fo.textTransform,"uppercase"),$i={fontFamily:Ee.extend("--ft-typography-button-font-family","",Wo),fontSize:Ee.extend("--ft-typography-button-font-size","",Fo.fontSize,"14px"),fontWeight:Ee.extend("--ft-typography-button-font-weight","",Fo.fontWeight,"600"),letterSpacing:Ee.extend("--ft-typography-button-letter-spacing","",Fo.letterSpacing,"1.246px"),lineHeight:Ee.extend("--ft-typography-button-line-height","",Fo.lineHeight,"1.15"),textTransform:Ee.extend("--ft-typography-button-text-transform","",Fo.textTransform,"uppercase")},wi=Ct`
165
+ const Ei=Symbol.for(""),Ri=t=>{if(t?.r===Ei)return t?._$litStatic$},Ii=t=>({_$litStatic$:t,r:Ei}),Li=new Map,Ui=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Ri(n));)l+=r+e[++c],h=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),h){const t=a.join("$$lit$$");void 0===(e=Li.get(t))&&(a.raw=a,Li.set(t,e=a)),o=s}return t(e,...o)})(it);var zi;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(zi||(zi={}));const Wi=Ee.extend("--ft-typography-font-family","",We.titleFont),Fi=Ee.extend("--ft-typography-font-family","",We.contentFont),Bi={fontFamily:Fi,fontSize:Ee.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ee.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ee.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ee.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ee.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Di=Ee.extend("--ft-typography-title-font-family","",Wi),Ki=Ee.extend("--ft-typography-title-font-size","",Bi.fontSize,"20px"),Zi=Ee.extend("--ft-typography-title-font-weight","",Bi.fontWeight,"normal"),Mi=Ee.extend("--ft-typography-title-letter-spacing","",Bi.letterSpacing,"0.15px"),Ai=Ee.extend("--ft-typography-title-line-height","",Bi.lineHeight,"1.2"),Pi=Ee.extend("--ft-typography-title-text-transform","",Bi.textTransform,"inherit"),ji=Ee.extend("--ft-typography-title-dense-font-family","",Wi),Hi=Ee.extend("--ft-typography-title-dense-font-size","",Bi.fontSize,"14px"),Ti=Ee.extend("--ft-typography-title-dense-font-weight","",Bi.fontWeight,"normal"),_i=Ee.extend("--ft-typography-title-dense-letter-spacing","",Bi.letterSpacing,"0.105px"),Vi=Ee.extend("--ft-typography-title-dense-line-height","",Bi.lineHeight,"1.7"),Gi=Ee.extend("--ft-typography-title-dense-text-transform","",Bi.textTransform,"inherit"),qi=Ee.extend("--ft-typography-subtitle1-font-family","",Fi),Yi=Ee.extend("--ft-typography-subtitle1-font-size","",Bi.fontSize,"16px"),Ji=Ee.extend("--ft-typography-subtitle1-font-weight","",Bi.fontWeight,"600"),Xi=Ee.extend("--ft-typography-subtitle1-letter-spacing","",Bi.letterSpacing,"0.144px"),Qi=Ee.extend("--ft-typography-subtitle1-line-height","",Bi.lineHeight,"1.5"),tr=Ee.extend("--ft-typography-subtitle1-text-transform","",Bi.textTransform,"inherit"),er=Ee.extend("--ft-typography-subtitle2-font-family","",Fi),or=Ee.extend("--ft-typography-subtitle2-font-size","",Bi.fontSize,"14px"),ir=Ee.extend("--ft-typography-subtitle2-font-weight","",Bi.fontWeight,"normal"),rr=Ee.extend("--ft-typography-subtitle2-letter-spacing","",Bi.letterSpacing,"0.098px"),nr=Ee.extend("--ft-typography-subtitle2-line-height","",Bi.lineHeight,"1.7"),ar=Ee.extend("--ft-typography-subtitle2-text-transform","",Bi.textTransform,"inherit"),sr={fontFamily:Ee.extend("--ft-typography-body1-font-family","",Fi),fontSize:Ee.extend("--ft-typography-body1-font-size","",Bi.fontSize,"16px"),fontWeight:Ee.extend("--ft-typography-body1-font-weight","",Bi.fontWeight,"normal"),letterSpacing:Ee.extend("--ft-typography-body1-letter-spacing","",Bi.letterSpacing,"0.496px"),lineHeight:Ee.extend("--ft-typography-body1-line-height","",Bi.lineHeight,"1.5"),textTransform:Ee.extend("--ft-typography-body1-text-transform","",Bi.textTransform,"inherit")},lr={fontFamily:Ee.extend("--ft-typography-body2-font-family","",Fi),fontSize:Ee.extend("--ft-typography-body2-font-size","",Bi.fontSize,"14px"),fontWeight:Ee.extend("--ft-typography-body2-font-weight","",Bi.fontWeight,"normal"),letterSpacing:Ee.extend("--ft-typography-body2-letter-spacing","",Bi.letterSpacing,"0.252px"),lineHeight:Ee.extend("--ft-typography-body2-line-height","",Bi.lineHeight,"1.4"),textTransform:Ee.extend("--ft-typography-body2-text-transform","",Bi.textTransform,"inherit")},cr={fontFamily:Ee.extend("--ft-typography-caption-font-family","",Fi),fontSize:Ee.extend("--ft-typography-caption-font-size","",Bi.fontSize,"12px"),fontWeight:Ee.extend("--ft-typography-caption-font-weight","",Bi.fontWeight,"normal"),letterSpacing:Ee.extend("--ft-typography-caption-letter-spacing","",Bi.letterSpacing,"0.396px"),lineHeight:Ee.extend("--ft-typography-caption-line-height","",Bi.lineHeight,"1.33"),textTransform:Ee.extend("--ft-typography-caption-text-transform","",Bi.textTransform,"inherit")},hr=Ee.extend("--ft-typography-breadcrumb-font-family","",Fi),pr=Ee.extend("--ft-typography-breadcrumb-font-size","",Bi.fontSize,"10px"),fr=Ee.extend("--ft-typography-breadcrumb-font-weight","",Bi.fontWeight,"normal"),dr=Ee.extend("--ft-typography-breadcrumb-letter-spacing","",Bi.letterSpacing,"0.33px"),ur=Ee.extend("--ft-typography-breadcrumb-line-height","",Bi.lineHeight,"1.6"),br=Ee.extend("--ft-typography-breadcrumb-text-transform","",Bi.textTransform,"inherit"),gr=Ee.extend("--ft-typography-overline-font-family","",Fi),yr=Ee.extend("--ft-typography-overline-font-size","",Bi.fontSize,"10px"),mr=Ee.extend("--ft-typography-overline-font-weight","",Bi.fontWeight,"normal"),vr=Ee.extend("--ft-typography-overline-letter-spacing","",Bi.letterSpacing,"1.5px"),xr=Ee.extend("--ft-typography-overline-line-height","",Bi.lineHeight,"1.6"),$r=Ee.extend("--ft-typography-overline-text-transform","",Bi.textTransform,"uppercase"),wr={fontFamily:Ee.extend("--ft-typography-button-font-family","",Fi),fontSize:Ee.extend("--ft-typography-button-font-size","",Bi.fontSize,"14px"),fontWeight:Ee.extend("--ft-typography-button-font-weight","",Bi.fontWeight,"600"),letterSpacing:Ee.extend("--ft-typography-button-letter-spacing","",Bi.letterSpacing,"1.246px"),lineHeight:Ee.extend("--ft-typography-button-line-height","",Bi.lineHeight,"1.15"),textTransform:Ee.extend("--ft-typography-button-text-transform","",Bi.textTransform,"uppercase")},Or=Ct`
165
166
  .ft-typography--title {
166
- font-family: ${Bo};
167
- font-size: ${Do};
168
- font-weight: ${Ko};
169
- letter-spacing: ${Zo};
170
- line-height: ${Mo};
171
- text-transform: ${Ao};
172
- }
173
- `,Oi=Ct`
167
+ font-family: ${Di};
168
+ font-size: ${Ki};
169
+ font-weight: ${Zi};
170
+ letter-spacing: ${Mi};
171
+ line-height: ${Ai};
172
+ text-transform: ${Pi};
173
+ }
174
+ `,Sr=Ct`
174
175
  .ft-typography--title-dense {
175
- font-family: ${Po};
176
- font-size: ${jo};
177
- font-weight: ${Ho};
178
- letter-spacing: ${To};
179
- line-height: ${_o};
180
- text-transform: ${Vo};
181
- }
182
- `,Si=Ct`
176
+ font-family: ${ji};
177
+ font-size: ${Hi};
178
+ font-weight: ${Ti};
179
+ letter-spacing: ${_i};
180
+ line-height: ${Vi};
181
+ text-transform: ${Gi};
182
+ }
183
+ `,kr=Ct`
183
184
  .ft-typography--subtitle1 {
184
- font-family: ${Go};
185
- font-size: ${qo};
186
- font-weight: ${Yo};
187
- letter-spacing: ${Jo};
188
- line-height: ${Xo};
189
- text-transform: ${Qo};
190
- }
191
- `,ki=Ct`
185
+ font-family: ${qi};
186
+ font-size: ${Yi};
187
+ font-weight: ${Ji};
188
+ letter-spacing: ${Xi};
189
+ line-height: ${Qi};
190
+ text-transform: ${tr};
191
+ }
192
+ `,Nr=Ct`
192
193
  .ft-typography--subtitle2 {
193
- font-family: ${ti};
194
- font-size: ${ei};
195
- font-weight: ${oi};
196
- letter-spacing: ${ii};
197
- line-height: ${ri};
198
- text-transform: ${ni};
194
+ font-family: ${er};
195
+ font-size: ${or};
196
+ font-weight: ${ir};
197
+ letter-spacing: ${rr};
198
+ line-height: ${nr};
199
+ text-transform: ${ar};
199
200
  }
200
201
 
201
- `,Ni=Ct`
202
+ `,Cr=Ct`
202
203
  .ft-typography--body1 {
203
- font-family: ${ai.fontFamily};
204
- font-size: ${ai.fontSize};
205
- font-weight: ${ai.fontWeight};
206
- letter-spacing: ${ai.letterSpacing};
207
- line-height: ${ai.lineHeight};
208
- text-transform: ${ai.textTransform};
209
- }
210
- `,Ci=Ct`
204
+ font-family: ${sr.fontFamily};
205
+ font-size: ${sr.fontSize};
206
+ font-weight: ${sr.fontWeight};
207
+ letter-spacing: ${sr.letterSpacing};
208
+ line-height: ${sr.lineHeight};
209
+ text-transform: ${sr.textTransform};
210
+ }
211
+ `,Er=Ct`
211
212
  .ft-typography--body2 {
212
- font-family: ${si.fontFamily};
213
- font-size: ${si.fontSize};
214
- font-weight: ${si.fontWeight};
215
- letter-spacing: ${si.letterSpacing};
216
- line-height: ${si.lineHeight};
217
- text-transform: ${si.textTransform};
218
- }
219
- `,Ei=Ct`
213
+ font-family: ${lr.fontFamily};
214
+ font-size: ${lr.fontSize};
215
+ font-weight: ${lr.fontWeight};
216
+ letter-spacing: ${lr.letterSpacing};
217
+ line-height: ${lr.lineHeight};
218
+ text-transform: ${lr.textTransform};
219
+ }
220
+ `,Rr=Ct`
220
221
  .ft-typography--caption {
221
- font-family: ${li.fontFamily};
222
- font-size: ${li.fontSize};
223
- font-weight: ${li.fontWeight};
224
- letter-spacing: ${li.letterSpacing};
225
- line-height: ${li.lineHeight};
226
- text-transform: ${li.textTransform};
227
- }
228
- `,Ri=Ct`
222
+ font-family: ${cr.fontFamily};
223
+ font-size: ${cr.fontSize};
224
+ font-weight: ${cr.fontWeight};
225
+ letter-spacing: ${cr.letterSpacing};
226
+ line-height: ${cr.lineHeight};
227
+ text-transform: ${cr.textTransform};
228
+ }
229
+ `,Ir=Ct`
229
230
  .ft-typography--breadcrumb {
230
- font-family: ${ci};
231
- font-size: ${hi};
232
- font-weight: ${pi};
233
- letter-spacing: ${fi};
234
- line-height: ${di};
235
- text-transform: ${ui};
236
- }
237
- `,Ii=Ct`
231
+ font-family: ${hr};
232
+ font-size: ${pr};
233
+ font-weight: ${fr};
234
+ letter-spacing: ${dr};
235
+ line-height: ${ur};
236
+ text-transform: ${br};
237
+ }
238
+ `,Lr=Ct`
238
239
  .ft-typography--overline {
239
- font-family: ${bi};
240
- font-size: ${gi};
241
- font-weight: ${yi};
242
- letter-spacing: ${mi};
243
- line-height: ${vi};
244
- text-transform: ${xi};
245
- }
246
- `,Li=Ct`
240
+ font-family: ${gr};
241
+ font-size: ${yr};
242
+ font-weight: ${mr};
243
+ letter-spacing: ${vr};
244
+ line-height: ${xr};
245
+ text-transform: ${$r};
246
+ }
247
+ `,Ur=Ct`
247
248
  .ft-typography--button {
248
- font-family: ${$i.fontFamily};
249
- font-size: ${$i.fontSize};
250
- font-weight: ${$i.fontWeight};
251
- letter-spacing: ${$i.letterSpacing};
252
- line-height: ${$i.lineHeight};
253
- text-transform: ${$i.textTransform};
254
- }
255
- `,Ui=Ct`
249
+ font-family: ${wr.fontFamily};
250
+ font-size: ${wr.fontSize};
251
+ font-weight: ${wr.fontWeight};
252
+ letter-spacing: ${wr.letterSpacing};
253
+ line-height: ${wr.lineHeight};
254
+ text-transform: ${wr.textTransform};
255
+ }
256
+ `,zr=Ct`
256
257
  .ft-typography {
257
258
  vertical-align: inherit;
258
259
  }
259
- `,zi=[Object.keys(Le).map((t=>function(t){const e=Le[t];return Ct`
260
+ `,Wr=[Object.keys(Le).map((t=>function(t){const e=Le[t];return Ct`
260
261
  .ft-typography--${Nt(t)} {
261
262
  font-family: ${e.fontFamily};
262
263
  font-size: ${e.fontSize};
@@ -265,14 +266,14 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
265
266
  line-height: ${e.lineHeight};
266
267
  text-transform: ${e.textCase};
267
268
  }
268
- `}(t)))];var Wi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fi extends je{constructor(){super(...arguments),this.variant=Uo.body1}render(){return this.element?Lo`
269
- <${Ro(this.element)}
269
+ `}(t)))];var Fr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Br extends To{constructor(){super(...arguments),this.variant=zi.body1}render(){return this.element?Ui`
270
+ <${Ii(this.element)}
270
271
  class="ft-typography ft-typography--${this.variant}">
271
272
  <slot></slot>
272
- </${Ro(this.element)}>
273
- `:Lo`
273
+ </${Ii(this.element)}>
274
+ `:Ui`
274
275
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
275
- `}}function Bi(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Di(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>Di(e,t.selected))),value:t.value}}function Ki(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>Di(t,!1)))}}Fi.styles=[wi,Oi,Si,ki,Ni,Ci,Ei,Ri,Ii,Li,Ui,...zi],Wi([k()],Fi.prototype,"element",void 0),Wi([k()],Fi.prototype,"variant",void 0),F("ft-typography")(Fi);const Zi=Ee.extend("--ft-ripple-color","",We.colorContent),Mi={color:Zi,backgroundColor:Ee.extend("--ft-ripple-background-color","",Zi),opacityContentOnSurfacePressed:Ee.external(We.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ee.external(We.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ee.external(We.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ee.external(We.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ee.create("--ft-ripple-border-radius","","SIZE","0px")},Ai=Ee.extend("--ft-ripple-color","",We.colorPrimary),Pi=Ai,ji=Ee.extend("--ft-ripple-background-color","",Ai),Hi=Ee.extend("--ft-ripple-color","",We.colorSecondary),Ti=Hi,_i=Ee.extend("--ft-ripple-background-color","",Hi),Vi=Ct`
276
+ `}}function Dr(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Kr(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>Kr(e,t.selected))),value:t.value}}function Zr(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>Kr(t,!1)))}}Br.styles=[Or,Sr,kr,Nr,Cr,Er,Rr,Ir,Lr,Ur,zr,...Wr],Fr([k()],Br.prototype,"element",void 0),Fr([k()],Br.prototype,"variant",void 0),F("ft-typography")(Br);const Mr=Ee.extend("--ft-ripple-color","",We.colorContent),Ar={color:Mr,backgroundColor:Ee.extend("--ft-ripple-background-color","",Mr),opacityContentOnSurfacePressed:Ee.external(We.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ee.external(We.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ee.external(We.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ee.external(We.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ee.create("--ft-ripple-border-radius","","SIZE","0px")},Pr=Ee.extend("--ft-ripple-color","",We.colorPrimary),jr=Pr,Hr=Ee.extend("--ft-ripple-background-color","",Pr),Tr=Ee.extend("--ft-ripple-color","",We.colorSecondary),_r=Tr,Vr=Ee.extend("--ft-ripple-background-color","",Tr),Gr=Ct`
276
277
  :host {
277
278
  display: contents;
278
279
  }
@@ -285,7 +286,7 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
285
286
 
286
287
  .ft-ripple:not(.ft-ripple--unbounded) {
287
288
  overflow: hidden;
288
- border-radius: ${Mi.borderRadius};
289
+ border-radius: ${Ar.borderRadius};
289
290
  }
290
291
 
291
292
  .ft-ripple .ft-ripple--background,
@@ -319,27 +320,27 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
319
320
  }
320
321
 
321
322
  .ft-ripple .ft-ripple--background {
322
- background-color: ${Mi.backgroundColor};
323
+ background-color: ${Ar.backgroundColor};
323
324
  }
324
325
 
325
326
  .ft-ripple .ft-ripple--effect {
326
- background-color: ${Mi.color};
327
+ background-color: ${Ar.color};
327
328
  }
328
329
 
329
330
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
330
- background-color: ${_i};
331
+ background-color: ${Vr};
331
332
  }
332
333
 
333
334
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
334
- background-color: ${Ti};
335
+ background-color: ${_r};
335
336
  }
336
337
 
337
338
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
338
- background-color: ${ji};
339
+ background-color: ${Hr};
339
340
  }
340
341
 
341
342
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
342
- background-color: ${Pi};
343
+ background-color: ${jr};
343
344
  }
344
345
 
345
346
  .ft-ripple .ft-ripple--background {
@@ -369,22 +370,22 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
369
370
  }
370
371
 
371
372
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
372
- opacity: ${Mi.opacityContentOnSurfaceHover};
373
+ opacity: ${Ar.opacityContentOnSurfaceHover};
373
374
  }
374
375
 
375
376
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
376
- opacity: ${Mi.opacityContentOnSurfaceSelected};
377
+ opacity: ${Ar.opacityContentOnSurfaceSelected};
377
378
  }
378
379
 
379
380
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
380
- opacity: ${Mi.opacityContentOnSurfaceFocused};
381
+ opacity: ${Ar.opacityContentOnSurfaceFocused};
381
382
  }
382
383
 
383
384
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
384
- opacity: ${Mi.opacityContentOnSurfacePressed};
385
+ opacity: ${Ar.opacityContentOnSurfacePressed};
385
386
  transform: translate(-50%, -50%) scale(1);
386
387
  }
387
- `,Gi={color:Ee.extend("--ft-loader-color","",We.colorPrimary),size:Ee.create("--ft-loader-size","","SIZE","80px")},qi=Ct`
388
+ `,qr={color:Ee.extend("--ft-loader-color","",We.colorPrimary),size:Ee.create("--ft-loader-size","","SIZE","80px")},Yr=Ct`
388
389
  :host {
389
390
  line-height: 0;
390
391
  }
@@ -393,8 +394,8 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
393
394
  display: inline-block;
394
395
  position: relative;
395
396
 
396
- width: ${Gi.size};
397
- height: ${Gi.size};
397
+ width: ${qr.size};
398
+ height: ${qr.size};
398
399
  }
399
400
 
400
401
  .ft-loader div {
@@ -403,7 +404,7 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
403
404
  width: 25%;
404
405
  height: 25%;
405
406
  border-radius: 50%;
406
- background: ${Gi.color};
407
+ background: ${qr.color};
407
408
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
408
409
  }
409
410
 
@@ -450,10 +451,10 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
450
451
  transform: translate(0, 0);
451
452
  }
452
453
  100% {
453
- transform: translate(calc(0.35 * ${Gi.size}), 0);
454
+ transform: translate(calc(0.35 * ${qr.size}), 0);
454
455
  }
455
456
  }
456
- `,Yi={size:Ee.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ee.extend("--ft-icon-fluid-topics-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ee.extend("--ft-icon-file-format-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ee.extend("--ft-icon-material-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ee.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ji=Ct`
457
+ `,Jr={size:Ee.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ee.extend("--ft-icon-fluid-topics-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ee.extend("--ft-icon-file-format-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ee.extend("--ft-icon-material-font-family","",Ee.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ee.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Xr=Ct`
457
458
  :host, i.ft-icon {
458
459
  display: inline-flex;
459
460
  align-items: center;
@@ -462,14 +463,14 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
462
463
  }
463
464
 
464
465
  :host {
465
- width: ${Yi.size};
466
- height: ${Yi.size};
466
+ width: ${Jr.size};
467
+ height: ${Jr.size};
467
468
  }
468
469
 
469
470
  i.ft-icon {
470
471
  width: 100%;
471
472
  height: 100%;
472
- font-size: ${Yi.size};
473
+ font-size: ${Jr.size};
473
474
  line-height: 1;
474
475
  font-weight: normal;
475
476
  text-transform: none;
@@ -480,28 +481,28 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
480
481
  text-rendering: auto;
481
482
  -webkit-font-smoothing: antialiased;
482
483
  -moz-osx-font-smoothing: grayscale;
483
- vertical-align: ${Yi.verticalAlign};
484
+ vertical-align: ${Jr.verticalAlign};
484
485
  }
485
486
 
486
487
  i.ft-icon.ft-icon--fluid-topics {
487
- font-family: ${Yi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
488
+ font-family: ${Jr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
488
489
 
489
490
  /* Ugly fix because font is broken */
490
- font-size: calc(0.75 * ${Yi.size});
491
- line-height: ${Yi.size};
491
+ font-size: calc(0.75 * ${Jr.size});
492
+ line-height: ${Jr.size};
492
493
  position: relative;
493
494
  top: -4%;
494
495
  justify-content: center;
495
496
  }
496
497
 
497
498
  .ft-icon--file-format {
498
- font-family: ${Yi.fileFormatFontFamily}, ft-mime, sans-serif;
499
+ font-family: ${Jr.fileFormatFontFamily}, ft-mime, sans-serif;
499
500
  }
500
501
 
501
502
  .ft-icon--material {
502
- font-family: ${Yi.materialFontFamily}, "Material Icons", sans-serif;
503
+ font-family: ${Jr.materialFontFamily}, "Material Icons", sans-serif;
503
504
  }
504
- `,Xi=Ee.extend("--ft-button-color","",We.colorPrimary),Qi={backgroundColor:Ee.extend("--ft-button-background-color","",We.colorSurface),borderRadius:Ee.extend("--ft-button-border-radius","",We.borderRadiusL),color:Xi,fontSize:Ee.extend("--ft-button-font-size","",$i.fontSize),iconSize:Ee.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ee.extend("--ft-button-ripple-color","",Xi),verticalPadding:Ee.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ee.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ee.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ee.external(We.colorOpacityDisabled,"Design system")},tr=Ee.extend("--ft-button-primary-color","",Ee.extend("--ft-button-color","",We.colorOnPrimary)),er={backgroundColor:Ee.extend("--ft-button-primary-background-color","",Ee.extend("--ft-button-background-color","",We.colorPrimary)),color:tr,rippleColor:Ee.extend("--ft-button-primary-ripple-color","",tr)},or=Ee.extend("--ft-button-dense-border-radius","",Ee.extend("--ft-button-border-radius","",We.borderRadiusM)),ir=Ee.create("--ft-button-dense-vertical-padding","","SIZE","2px"),rr=Ee.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),nr=Ee.create("--ft-button-dense-icon-padding","","SIZE","4px"),ar=[Ct`
505
+ `,Qr=Ee.extend("--ft-button-color","",We.colorPrimary),tn={backgroundColor:Ee.extend("--ft-button-background-color","",We.colorSurface),borderRadius:Ee.extend("--ft-button-border-radius","",We.borderRadiusL),color:Qr,fontSize:Ee.extend("--ft-button-font-size","",wr.fontSize),iconSize:Ee.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ee.extend("--ft-button-ripple-color","",Qr),verticalPadding:Ee.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ee.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ee.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ee.external(We.colorOpacityDisabled,"Design system")},en=Ee.extend("--ft-button-primary-color","",Ee.extend("--ft-button-color","",We.colorOnPrimary)),on={backgroundColor:Ee.extend("--ft-button-primary-background-color","",Ee.extend("--ft-button-background-color","",We.colorPrimary)),color:en,rippleColor:Ee.extend("--ft-button-primary-ripple-color","",en)},rn=Ee.extend("--ft-button-dense-border-radius","",Ee.extend("--ft-button-border-radius","",We.borderRadiusM)),nn=Ee.create("--ft-button-dense-vertical-padding","","SIZE","2px"),an=Ee.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),sn=Ee.create("--ft-button-dense-icon-padding","","SIZE","4px"),ln=[Ct`
505
506
  :host {
506
507
  display: inline-block;
507
508
  max-width: 100%;
@@ -512,7 +513,7 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
512
513
  box-shadow: 0px 0px 0px transparent;
513
514
  border: 0px solid transparent;
514
515
  text-shadow: 0px 0px 0px transparent;
515
- font-size: ${Qi.fontSize};
516
+ font-size: ${tn.fontSize};
516
517
  }
517
518
 
518
519
  button:hover {
@@ -541,31 +542,31 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
541
542
  border: none;
542
543
  pointer-events: auto;
543
544
 
544
- --ft-button-internal-line-height: max(calc(${Qi.fontSize} + 2px), ${Qi.iconSize});
545
- --ft-button-internal-color: ${Qi.color};
546
- ${Re(Yi.size,Qi.iconSize)};
547
- ${Re(Mi.color,Qi.rippleColor)};
545
+ --ft-button-internal-line-height: max(calc(${tn.fontSize} + 2px), ${tn.iconSize});
546
+ --ft-button-internal-color: ${tn.color};
547
+ ${Re(Jr.size,tn.iconSize)};
548
+ ${Re(Ar.color,tn.rippleColor)};
548
549
 
549
- border-radius: ${Qi.borderRadius};
550
- padding: ${Qi.verticalPadding} ${Qi.horizontalPadding};
551
- background-color: ${Qi.backgroundColor};
550
+ border-radius: ${tn.borderRadius};
551
+ padding: ${tn.verticalPadding} ${tn.horizontalPadding};
552
+ background-color: ${tn.backgroundColor};
552
553
  color: var(--ft-button-internal-color);
553
554
  -webkit-mask-image: radial-gradient(white, black);
554
555
  }
555
556
 
556
557
  .ft-button.ft-button--outlined {
557
558
  border: 1px solid var(--ft-button-internal-color);
558
- padding: calc(${Qi.verticalPadding} - 1px) calc(${Qi.horizontalPadding} - 1px);
559
+ padding: calc(${tn.verticalPadding} - 1px) calc(${tn.horizontalPadding} - 1px);
559
560
  }
560
561
 
561
562
  .ft-button.ft-button--dense {
562
- padding: ${ir} ${rr};
563
- border-radius: ${or};
564
- gap: ${nr};
563
+ padding: ${nn} ${an};
564
+ border-radius: ${rn};
565
+ gap: ${sn};
565
566
  }
566
567
 
567
568
  .ft-button.ft-button--dense.ft-button--outlined {
568
- padding: calc(${ir} - 1px) calc(${rr} - 1px);
569
+ padding: calc(${nn} - 1px) calc(${an} - 1px);
569
570
  }
570
571
 
571
572
  .ft-button:not([disabled]):hover {
@@ -573,22 +574,22 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
573
574
  }
574
575
 
575
576
  .ft-button--round {
576
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Qi.verticalPadding});
577
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${tn.verticalPadding});
577
578
  }
578
579
 
579
580
  .ft-button--round.ft-button--dense {
580
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${ir});
581
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${nn});
581
582
  }
582
583
 
583
584
  .ft-button[disabled] {
584
585
  filter: grayscale(1);
585
- opacity: ${Qi.opacityDisabled};
586
+ opacity: ${tn.opacityDisabled};
586
587
  }
587
588
 
588
589
  .ft-button.ft-button--primary {
589
- background-color: ${er.backgroundColor};
590
- --ft-button-internal-color: ${er.color};
591
- ${Re(Mi.color,er.rippleColor)};
590
+ background-color: ${on.backgroundColor};
591
+ --ft-button-internal-color: ${on.color};
592
+ ${Re(Ar.color,on.rippleColor)};
592
593
  }
593
594
 
594
595
  .ft-button:focus {
@@ -601,13 +602,13 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
601
602
  white-space: nowrap;
602
603
  text-overflow: ellipsis;
603
604
  display: block;
604
- margin: 0 ${Qi.iconPadding};
605
- ${Re($i.fontSize,"1em")};
606
- ${Re($i.lineHeight,"var(--ft-button-internal-line-height)")};
605
+ margin: 0 ${tn.iconPadding};
606
+ ${Re(wr.fontSize,"1em")};
607
+ ${Re(wr.lineHeight,"var(--ft-button-internal-line-height)")};
607
608
  }
608
609
 
609
610
  .ft-button--dense .ft-button--label {
610
- margin: 0 ${nr};
611
+ margin: 0 ${sn};
611
612
  }
612
613
 
613
614
  .ft-button--label[hidden] {
@@ -620,13 +621,13 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
620
621
  }
621
622
 
622
623
  .ft-button--label[hidden] + ft-icon {
623
- margin: 0 calc(${Qi.horizontalPadding} * -1);
624
- padding: 0 ${Qi.verticalPadding};
624
+ margin: 0 calc(${tn.horizontalPadding} * -1);
625
+ padding: 0 ${tn.verticalPadding};
625
626
  }
626
627
 
627
628
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
628
- margin: 0 calc(${rr} * -1);
629
- padding: 0 ${ir};
629
+ margin: 0 calc(${an} * -1);
630
+ padding: 0 ${nn};
630
631
  }
631
632
 
632
633
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -635,21 +636,21 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
635
636
  }
636
637
 
637
638
  ft-loader {
638
- ${Re(Gi.size,Qi.iconSize)};
639
- ${Re(Gi.color,"var(--ft-button-internal-color)")};
639
+ ${Re(qr.size,tn.iconSize)};
640
+ ${Re(qr.color,"var(--ft-button-internal-color)")};
640
641
  }
641
- `,Te],sr=po(class extends fo{constructor(t){if(super(t),t.type!==co||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return rt}});var lr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class cr extends je{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 e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.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(null==t?void 0: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 ce`
642
+ `,Vo],cn=di(class extends ui{constructor(t){if(super(t),t.type!==pi||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return rt}});var hn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class pn extends To{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 e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.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(null==t?void 0: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 ce`
642
643
  <style>
643
644
  .ft-ripple .ft-ripple--effect {
644
645
  left: ${this.originX}px;
645
646
  top: ${this.originY}px;
646
647
  }
647
648
  </style>
648
- <div class="${sr(t)}">
649
+ <div class="${cn(t)}">
649
650
  <div class="ft-ripple--background"></div>
650
651
  <div class="ft-ripple--effect"></div>
651
652
  </div>
652
- `}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 e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}cr.elementDefinitions={},cr.styles=Vi,lr([k({type:Boolean})],cr.prototype,"primary",void 0),lr([k({type:Boolean})],cr.prototype,"secondary",void 0),lr([k({type:Boolean})],cr.prototype,"unbounded",void 0),lr([k({type:Boolean})],cr.prototype,"activated",void 0),lr([k({type:Boolean})],cr.prototype,"selected",void 0),lr([k({type:Boolean})],cr.prototype,"disabled",void 0),lr([N()],cr.prototype,"hovered",void 0),lr([N()],cr.prototype,"focused",void 0),lr([N()],cr.prototype,"pressed",void 0),lr([N()],cr.prototype,"rippling",void 0),lr([N()],cr.prototype,"originX",void 0),lr([N()],cr.prototype,"originY",void 0),lr([R(".ft-ripple")],cr.prototype,"ripple",void 0),lr([R(".ft-ripple--effect")],cr.prototype,"rippleEffect",void 0),F("ft-ripple")(cr);const hr={distance:Ee.create("--ft-tooltip-distance","","SIZE","4px"),color:Ee.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ee.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ee.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ee.external(We.borderRadiusS,"Design system"),maxWidth:Ee.create("--ft-tooltip-max-width","","SIZE","150px")},pr=Ct`
653
+ `}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 e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}pn.elementDefinitions={},pn.styles=Gr,hn([k({type:Boolean})],pn.prototype,"primary",void 0),hn([k({type:Boolean})],pn.prototype,"secondary",void 0),hn([k({type:Boolean})],pn.prototype,"unbounded",void 0),hn([k({type:Boolean})],pn.prototype,"activated",void 0),hn([k({type:Boolean})],pn.prototype,"selected",void 0),hn([k({type:Boolean})],pn.prototype,"disabled",void 0),hn([N()],pn.prototype,"hovered",void 0),hn([N()],pn.prototype,"focused",void 0),hn([N()],pn.prototype,"pressed",void 0),hn([N()],pn.prototype,"rippling",void 0),hn([N()],pn.prototype,"originX",void 0),hn([N()],pn.prototype,"originY",void 0),hn([R(".ft-ripple")],pn.prototype,"ripple",void 0),hn([R(".ft-ripple--effect")],pn.prototype,"rippleEffect",void 0),F("ft-ripple")(pn);const fn={distance:Ee.create("--ft-tooltip-distance","","SIZE","4px"),color:Ee.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ee.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ee.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ee.external(We.borderRadiusS,"Design system"),maxWidth:Ee.create("--ft-tooltip-max-width","","SIZE","150px")},dn=Ct`
653
654
  .ft-tooltip--container {
654
655
  display: block;
655
656
  }
@@ -664,21 +665,21 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
664
665
  box-sizing: border-box;
665
666
  overflow: hidden;
666
667
  width: max-content;
667
- max-width: ${hr.maxWidth};
668
+ max-width: ${fn.maxWidth};
668
669
  text-align: center;
669
- padding: ${hr.distance};
670
- z-index: ${hr.zIndex};
670
+ padding: ${fn.distance};
671
+ z-index: ${fn.zIndex};
671
672
  }
672
673
 
673
674
  .ft-tooltip--content {
674
675
  padding: 4px 8px;
675
- border-radius: ${hr.borderRadiusS};
676
- background-color: ${hr.backgroundColor};
677
- color: ${hr.color};
676
+ border-radius: ${fn.borderRadiusS};
677
+ background-color: ${fn.backgroundColor};
678
+ color: ${fn.color};
678
679
  position: relative;
679
680
  word-break: break-word;
680
681
  }
681
- `,fr=["start","end"],dr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+fr[0],e+"-"+fr[1])),[]),ur=Math.min,br=Math.max,gr=Math.round,yr=t=>({x:t,y:t}),mr={left:"right",right:"left",bottom:"top",top:"bottom"},vr={start:"end",end:"start"};function xr(t,e,o){return br(t,ur(e,o))}function $r(t,e){return"function"==typeof t?t(e):t}function wr(t){return t.split("-")[0]}function Or(t){return t.split("-")[1]}function Sr(t){return"x"===t?"y":"x"}function kr(t){return"y"===t?"height":"width"}function Nr(t){return["top","bottom"].includes(wr(t))?"y":"x"}function Cr(t){return Sr(Nr(t))}function Er(t){return t.replace(/left|right|bottom|top/g,(t=>mr[t]))}function Rr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ir(t,e,o){let{reference:i,floating:r}=t;const n=Nr(e),a=Cr(e),s=kr(a),l=wr(e),c="y"===n,h=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,f=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:h,y:i.y-r.height};break;case"bottom":d={x:h,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(Or(e)){case"start":d[a]-=f*(o&&c?-1:1);break;case"end":d[a]+=f*(o&&c?-1:1)}return d}async function Lr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:f=!1,padding:d=0}=$r(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),b=s[f?"floating"===p?"reference":"floating":p],g=Rr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(b)))||o?b:b.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:h,strategy:l})),y="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Rr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:m,strategy:l}):y);return{top:(g.top-x.top+u.top)/v.y,bottom:(x.bottom-g.bottom+u.bottom)/v.y,left:(g.left-x.left+u.left)/v.x,right:(x.right-g.right+u.right)/v.x}}function Ur(t,e,o){return(t?[...o.filter((e=>Or(e)===t)),...o.filter((e=>Or(e)!==t))]:o.filter((t=>wr(t)===t))).filter((o=>!t||(Or(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>vr[t]))}(o)!==o)))}const zr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:f=dr,autoAlignment:d=!0,...u}=$r(t,e),b=void 0!==p||f===dr?Ur(p||null,d,f):f,g=await Lr(e,u),y=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=b[y];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=Or(t),r=Cr(t),n=kr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Er(a)),[a,Er(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:b[0]}};const x=[g[wr(m)],g[v[0]],g[v[1]]],$=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=b[y+1];if(w)return{data:{index:y+1,overflows:$},reset:{placement:w}};const O=$.map((t=>{const e=Or(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),S=O.filter((t=>t[2].slice(0,Or(t[0])?2:3).every((t=>t<=0)))),k=(null==(r=S[0])?void 0:r[0])||O[0][0];return k!==s?{data:{index:y+1,overflows:$},reset:{placement:k}}:{}}}};function Wr(t){return Dr(t)?(t.nodeName||"").toLowerCase():"#document"}function Fr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Br(t){var e;return null==(e=(Dr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Dr(t){return t instanceof Node||t instanceof Fr(t).Node}function Kr(t){return t instanceof Element||t instanceof Fr(t).Element}function Zr(t){return t instanceof HTMLElement||t instanceof Fr(t).HTMLElement}function Mr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Fr(t).ShadowRoot)}function Ar(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=_r(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Pr(t){return["table","td","th"].includes(Wr(t))}function jr(t){const e=Hr(),o=_r(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Hr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Tr(t){return["html","body","#document"].includes(Wr(t))}function _r(t){return Fr(t).getComputedStyle(t)}function Vr(t){return Kr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Gr(t){if("html"===Wr(t))return t;const e=t.assignedSlot||t.parentNode||Mr(t)&&t.host||Br(t);return Mr(e)?e.host:e}function qr(t){const e=Gr(t);return Tr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Zr(e)&&Ar(e)?e:qr(e)}function Yr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=qr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Fr(r);return n?e.concat(a,a.visualViewport||[],Ar(r)?r:[],a.frameElement&&o?Yr(a.frameElement):[]):e.concat(r,Yr(r,[],o))}function Jr(t){const e=_r(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Zr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=gr(o)!==n||gr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Xr(t){return Kr(t)?t:t.contextElement}function Qr(t){const e=Xr(t);if(!Zr(e))return yr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Jr(e);let a=(n?gr(o.width):o.width)/i,s=(n?gr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const tn=yr(0);function en(t){const e=Fr(t);return Hr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:tn}function on(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Xr(t);let a=yr(1);e&&(i?Kr(i)&&(a=Qr(i)):a=Qr(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Fr(t))&&e}(n,o,i)?en(n):yr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,h=r.width/a.x,p=r.height/a.y;if(n){const t=Fr(n),e=i&&Kr(i)?Fr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Qr(o),e=o.getBoundingClientRect(),i=_r(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,h*=t.x,p*=t.y,l+=r,c+=n,o=Fr(o).frameElement}}return Rr({width:h,height:p,x:l,y:c})}function rn(t){return on(Br(t)).left+Vr(t).scrollLeft}function nn(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Fr(t),i=Br(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Hr();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=Br(t),o=Vr(t),i=t.ownerDocument.body,r=br(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=br(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+rn(t);const s=-o.scrollTop;return"rtl"===_r(i).direction&&(a+=br(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Br(t));else if(Kr(e))i=function(t,e){const o=on(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Zr(t)?Qr(t):yr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=en(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Rr(i)}function an(t,e){const o=Gr(t);return!(o===e||!Kr(o)||Tr(o))&&("fixed"===_r(o).position||an(o,e))}function sn(t,e,o){const i=Zr(e),r=Br(e),n="fixed"===o,a=on(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=yr(0);if(i||!i&&!n)if(("body"!==Wr(e)||Ar(r))&&(s=Vr(e)),i){const t=on(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=rn(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ln(t,e){return Zr(t)&&"fixed"!==_r(t).position?e?e(t):t.offsetParent:null}function cn(t,e){const o=Fr(t);if(!Zr(t))return o;let i=ln(t,e);for(;i&&Pr(i)&&"static"===_r(i).position;)i=ln(i,e);return i&&("html"===Wr(i)||"body"===Wr(i)&&"static"===_r(i).position&&!jr(i))?o:i||function(t){let e=Gr(t);for(;Zr(e)&&!Tr(e);){if(jr(e))return e;e=Gr(e)}return null}(t)||o}const hn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Zr(o),n=Br(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=yr(1);const l=yr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Wr(o)||Ar(n))&&(a=Vr(o)),Zr(o))){const t=on(o);s=Qr(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Br,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Yr(t,[],!1).filter((t=>Kr(t)&&"body"!==Wr(t))),r=null;const n="fixed"===_r(t).position;let a=n?Gr(t):t;for(;Kr(a)&&!Tr(a);){const e=_r(a),o=jr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Ar(a)&&!o&&an(t,a))?i=i.filter((t=>t!==a)):r=e,a=Gr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=nn(e,o,r);return t.top=br(i.top,t.top),t.right=ur(i.right,t.right),t.bottom=ur(i.bottom,t.bottom),t.left=br(i.left,t.left),t}),nn(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:cn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||cn,n=this.getDimensions;return{reference:sn(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Jr(t)},getScale:Qr,isElement:Kr,isRTL:function(t){return"rtl"===_r(t).direction}},pn=(t,e,o)=>{const i=new Map,r={platform:hn,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:h,y:p}=Ir(c,i,l),f=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:b}=s[o],{x:g,y,data:m,reset:v}=await b({x:h,y:p,initialPlacement:i,placement:f,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});h=null!=g?g:h,p=null!=y?y:p,d={...d,[n]:{...d[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(f=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:h,y:p}=Ir(c,f,l))),o=-1)}return{x:h,y:p,placement:f,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function fn(t){return function(t){for(let e=t;e;e=dn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=dn(t);e;e=dn(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function dn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var un=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bn extends je{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ce`
682
+ `;var un=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bn extends To{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ce`
682
683
  <div part="container"
683
684
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
684
685
  @mouseenter=${this.onHover}
@@ -696,7 +697,7 @@ const Co=Symbol.for(""),Eo=t=>{if(t?.r===Co)return t?._$litStatic$},Ro=t=>({_$li
696
697
  </div>
697
698
  </div>
698
699
  </div>
699
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const 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"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",pn(this.slottedElement,this.tooltip,{platform:{...hn,getOffsetParent:t=>hn.getOffsetParent(t,fn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=$r(t,e),c={x:o,y:i},h=await Lr(e,l),p=Nr(wr(r)),f=Sr(p);let d=c[f],u=c[p];if(n){const t="y"===f?"bottom":"right";d=xr(d+h["y"===f?"top":"left"],d,d-h[t])}if(a){const t="y"===p?"bottom":"right";u=xr(u+h["y"===p?"top":"left"],u,u-h[t])}const b=s.fn({...e,[f]:d,[p]:u});return{...b,data:{x:b.x-o,y:b.y-i}}}}),zr({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}bn.elementDefinitions={"ft-typography":Fi},bn.styles=pr,un([k()],bn.prototype,"text",void 0),un([k({type:Boolean})],bn.prototype,"manual",void 0),un([k({type:Boolean})],bn.prototype,"inline",void 0),un([k({type:Number})],bn.prototype,"delay",void 0),un([k()],bn.prototype,"position",void 0),un([
700
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const 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"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Wo(t,e,{platform:{...zo,getOffsetParent:t=>zo.getOffsetParent(t,Fo)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=He(i,t),c={x:e,y:o},h=await to(t,l),p=qe(Te(r)),f=Ve(p);let d=c[f],u=c[p];if(n){const t="y"===f?"bottom":"right";d=je(d+h["y"===f?"top":"left"],d,d-h[t])}if(a){const t="y"===p?"bottom":"right";u=je(u+h["y"===p?"top":"left"],u,u-h[t])}const b=s.fn({...t,[f]:d,[p]:u});return{...b,data:{x:b.x-e,y:b.y-o}}}}),oo({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}bn.elementDefinitions={"ft-typography":Br},bn.styles=dn,un([k()],bn.prototype,"text",void 0),un([k({type:Boolean})],bn.prototype,"manual",void 0),un([k({type:Boolean})],bn.prototype,"inline",void 0),un([k({type:Number})],bn.prototype,"delay",void 0),un([k()],bn.prototype,"position",void 0),un([
700
701
  /**
701
702
  * @license
702
703
  * Copyright 2017 Google LLC
@@ -708,28 +709,28 @@ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([n
708
709
  * Copyright 2017 Google LLC
709
710
  * SPDX-License-Identifier: BSD-3-Clause
710
711
  */
711
- class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===nt||null==t)return this.vt=void 0,this.et=t;if(t===rt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}gn.directiveName="unsafeHTML",gn.resultType=1;const yn=po(gn);var mn,vn;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(mn||(mn={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(vn||(vn={}));const xn=new Map([...["abw"].map((t=>[t,vn.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,vn.AUDIO])),...["avi"].map((t=>[t,vn.AVI])),...["chm","xhs"].map((t=>[t,vn.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,vn.CODE])),...["csv"].map((t=>[t,vn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,vn.DITA])),...["epub"].map((t=>[t,vn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,vn.EXCEL])),...["flac"].map((t=>[t,vn.FLAC])),...["gif"].map((t=>[t,vn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,vn.GZIP])),...["html","htm","xhtml"].map((t=>[t,vn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,vn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,vn.JPEG])),...["json"].map((t=>[t,vn.JSON])),...["m4a","m4p"].map((t=>[t,vn.M4A])),...["mov","qt"].map((t=>[t,vn.MOV])),...["mp3"].map((t=>[t,vn.MP3])),...["mp4","m4v"].map((t=>[t,vn.MP4])),...["ogg","oga"].map((t=>[t,vn.OGG])),...["pdf","ps"].map((t=>[t,vn.PDF])),...["png"].map((t=>[t,vn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,vn.POWERPOINT])),...["rar"].map((t=>[t,vn.RAR])),...["stp"].map((t=>[t,vn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,vn.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,vn.VIDEO])),...["wav"].map((t=>[t,vn.WAV])),...["wma"].map((t=>[t,vn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,vn.WORD])),...["xml","xsl","rdf"].map((t=>[t,vn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,vn.YAML])),...["zip"].map((t=>[t,vn.ZIP]))]),$n=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var wn;vn.ABW,vn.AUDIO,vn.AVI,vn.CHM,vn.CODE,vn.CSV,vn.DITA,vn.EPUB,vn.EXCEL,vn.FLAC,vn.GIF,vn.GZIP,vn.HTML,vn.IMAGE,vn.JPEG,vn.JSON,vn.M4A,vn.MOV,vn.MP3,vn.MP4,vn.OGG,vn.PDF,vn.PNG,vn.POWERPOINT,vn.RAR,vn.STP,vn.TEXT,vn.UNKNOWN,vn.VIDEO,vn.WAV,vn.WMA,vn.WORD,vn.XML,vn.YAML,vn.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(wn||(wn={}));var On=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Sn extends je{constructor(){super(...arguments),this.resolvedIcon=pe}render(){const t=this.variant&&Object.values(wn).includes(this.variant)?this.variant:wn.fluid_topics,e=t!==wn.material||!!this.value;return ce`
712
+ class gn extends ui{constructor(t){if(super(t),this.et=nt,t.type!==fi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===nt||null==t)return this.vt=void 0,this.et=t;if(t===rt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}gn.directiveName="unsafeHTML",gn.resultType=1;const yn=di(gn);var mn,vn;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(mn||(mn={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(vn||(vn={}));const xn=new Map([...["abw"].map((t=>[t,vn.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,vn.AUDIO])),...["avi"].map((t=>[t,vn.AVI])),...["chm","xhs"].map((t=>[t,vn.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,vn.CODE])),...["csv"].map((t=>[t,vn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,vn.DITA])),...["epub"].map((t=>[t,vn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,vn.EXCEL])),...["flac"].map((t=>[t,vn.FLAC])),...["gif"].map((t=>[t,vn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,vn.GZIP])),...["html","htm","xhtml"].map((t=>[t,vn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,vn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,vn.JPEG])),...["json"].map((t=>[t,vn.JSON])),...["m4a","m4p"].map((t=>[t,vn.M4A])),...["mov","qt"].map((t=>[t,vn.MOV])),...["mp3"].map((t=>[t,vn.MP3])),...["mp4","m4v"].map((t=>[t,vn.MP4])),...["ogg","oga"].map((t=>[t,vn.OGG])),...["pdf","ps"].map((t=>[t,vn.PDF])),...["png"].map((t=>[t,vn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,vn.POWERPOINT])),...["rar"].map((t=>[t,vn.RAR])),...["stp"].map((t=>[t,vn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,vn.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,vn.VIDEO])),...["wav"].map((t=>[t,vn.WAV])),...["wma"].map((t=>[t,vn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,vn.WORD])),...["xml","xsl","rdf"].map((t=>[t,vn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,vn.YAML])),...["zip"].map((t=>[t,vn.ZIP]))]),$n=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var wn;vn.ABW,vn.AUDIO,vn.AVI,vn.CHM,vn.CODE,vn.CSV,vn.DITA,vn.EPUB,vn.EXCEL,vn.FLAC,vn.GIF,vn.GZIP,vn.HTML,vn.IMAGE,vn.JPEG,vn.JSON,vn.M4A,vn.MOV,vn.MP3,vn.MP4,vn.OGG,vn.PDF,vn.PNG,vn.POWERPOINT,vn.RAR,vn.STP,vn.TEXT,vn.UNKNOWN,vn.VIDEO,vn.WAV,vn.WMA,vn.WORD,vn.XML,vn.YAML,vn.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(wn||(wn={}));var On=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Sn extends To{constructor(){super(...arguments),this.resolvedIcon=pe}render(){const t=this.variant&&Object.values(wn).includes(this.variant)?this.variant:wn.fluid_topics,e=t!==wn.material||!!this.value;return ce`
712
713
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
713
714
  ${yn(this.resolvedIcon)}
714
715
  <slot ?hidden=${e}></slot>
715
716
  </i>
716
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case wn.file_format:this.resolvedIcon=null!==(t=vn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case wn.material:this.resolvedIcon=this.value||pe;break;default:this.resolvedIcon=null!==(e=mn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Sn.elementDefinitions={},Sn.styles=Ji,On([k()],Sn.prototype,"variant",void 0),On([k()],Sn.prototype,"value",void 0),On([N()],Sn.prototype,"resolvedIcon",void 0),On([R("slot")],Sn.prototype,"slottedContent",void 0),F("ft-icon")(Sn);class kn extends je{render(){return ce`
717
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case wn.file_format:this.resolvedIcon=null!==(t=vn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case wn.material:this.resolvedIcon=this.value||pe;break;default:this.resolvedIcon=null!==(e=mn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Sn.elementDefinitions={},Sn.styles=Xr,On([k()],Sn.prototype,"variant",void 0),On([k()],Sn.prototype,"value",void 0),On([N()],Sn.prototype,"resolvedIcon",void 0),On([R("slot")],Sn.prototype,"slottedContent",void 0),F("ft-icon")(Sn);class kn extends To{render(){return ce`
717
718
  <div class="ft-loader">
718
719
  <div></div>
719
720
  <div></div>
720
721
  <div></div>
721
722
  <div></div>
722
723
  </div>
723
- `}}kn.styles=qi,F("ft-loader")(kn);var Nn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[io].form}constructor(...t){super(t),this[io]=this.attachInternals(),this[io].role=e}setFormValue(t){this[io].setFormValue(t)}}}(je,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ce`
724
+ `}}kn.styles=Yr,F("ft-loader")(kn);var Nn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[ni].form}constructor(...t){super(t),this[ni]=this.attachInternals(),this[ni].role=e}setFormValue(t){this[ni].setFormValue(t)}}}(To,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ce`
724
725
  <button part="button"
725
- class="${sr(this.buttonClasses)}"
726
+ class="${cn(this.buttonClasses)}"
726
727
  aria-label="${this.getLabel()}"
727
728
  ?disabled=${this.isDisabled()}>
728
729
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
729
730
  <ft-typography part="label"
730
731
  variant=${this.typographyVariant}
731
732
  element="span"
732
- class="ft-button--label ${so?"ft-safari-ellipsis-fix":""}"
733
+ class="ft-button--label ${ci?"ft-safari-ellipsis-fix":""}"
733
734
  ?hidden=${!this.hasTextContent()}>
734
735
  <slot @slotchange=${this.onSlotchange}></slot>
735
736
  </ft-typography>
@@ -743,7 +744,7 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
743
744
  </ft-tooltip>
744
745
  `:t}resolveIcon(){return this.loading?ce`
745
746
  <ft-loader part="loader icon"></ft-loader> `:this.icon?ce`
746
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:pe}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Cn.elementDefinitions={"ft-ripple":cr,"ft-tooltip":bn,"ft-typography":Fi,"ft-icon":Sn,"ft-loader":kn},Nn([k({type:String,reflect:!0})],Cn.prototype,"role",void 0),Nn([k()],Cn.prototype,"type",void 0),Nn([k({type:Boolean})],Cn.prototype,"disabled",void 0),Nn([k()],Cn.prototype,"label",void 0),Nn([k()],Cn.prototype,"icon",void 0),Nn([k()],Cn.prototype,"iconVariant",void 0),Nn([k({type:Boolean})],Cn.prototype,"trailingIcon",void 0),Nn([k({type:Boolean})],Cn.prototype,"loading",void 0),Nn([k()],Cn.prototype,"tooltipPosition",void 0),Nn([k({type:Boolean})],Cn.prototype,"hideTooltip",void 0),Nn([k({type:Boolean})],Cn.prototype,"forceTooltip",void 0),Nn([R(".ft-button")],Cn.prototype,"button",void 0),Nn([R(".ft-button--label slot")],Cn.prototype,"slottedContent",void 0);var En=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Rn extends Cn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Rn.styles=[Ve,ar],En([k({type:Boolean})],Rn.prototype,"primary",void 0),En([k({type:Boolean})],Rn.prototype,"outlined",void 0),En([k({type:Boolean})],Rn.prototype,"dense",void 0),En([k({type:Boolean})],Rn.prototype,"round",void 0);const In=[Ct`
747
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:pe}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Cn.elementDefinitions={"ft-ripple":pn,"ft-tooltip":bn,"ft-typography":Br,"ft-icon":Sn,"ft-loader":kn},Nn([k({type:String,reflect:!0})],Cn.prototype,"role",void 0),Nn([k()],Cn.prototype,"type",void 0),Nn([k({type:Boolean})],Cn.prototype,"disabled",void 0),Nn([k()],Cn.prototype,"label",void 0),Nn([k()],Cn.prototype,"icon",void 0),Nn([k()],Cn.prototype,"iconVariant",void 0),Nn([k({type:Boolean})],Cn.prototype,"trailingIcon",void 0),Nn([k({type:Boolean})],Cn.prototype,"loading",void 0),Nn([k()],Cn.prototype,"tooltipPosition",void 0),Nn([k({type:Boolean})],Cn.prototype,"hideTooltip",void 0),Nn([k({type:Boolean})],Cn.prototype,"forceTooltip",void 0),Nn([R(".ft-button")],Cn.prototype,"button",void 0),Nn([R(".ft-button--label slot")],Cn.prototype,"slottedContent",void 0);var En=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Rn extends Cn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Rn.styles=[qo,ln],En([k({type:Boolean})],Rn.prototype,"primary",void 0),En([k({type:Boolean})],Rn.prototype,"outlined",void 0),En([k({type:Boolean})],Rn.prototype,"dense",void 0),En([k({type:Boolean})],Rn.prototype,"round",void 0);const In=[Ct`
747
748
  :host {
748
749
  display: inline-block;
749
750
  max-width: 100%;
@@ -822,13 +823,13 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
822
823
  /** Primary styles **/
823
824
 
824
825
  .ft-button--primary {
825
- ${Re(Gi.color,ze.primaryIconColor)};
826
+ ${Re(qr.color,ze.primaryIconColor)};
826
827
 
827
- ${Re(Mi.color,ze.primaryStateLayerColor)};
828
- ${Re(Mi.opacityContentOnSurfaceHover,ze.primaryStateLayerOpacityHover)};
829
- ${Re(Mi.opacityContentOnSurfaceFocused,ze.primaryStateLayerOpacityFocus)};
830
- ${Re(Mi.opacityContentOnSurfaceSelected,ze.primaryStateLayerOpacityActive)};
831
- ${Re(Mi.opacityContentOnSurfacePressed,ze.primaryStateLayerOpacityActive)};
828
+ ${Re(Ar.color,ze.primaryStateLayerColor)};
829
+ ${Re(Ar.opacityContentOnSurfaceHover,ze.primaryStateLayerOpacityHover)};
830
+ ${Re(Ar.opacityContentOnSurfaceFocused,ze.primaryStateLayerOpacityFocus)};
831
+ ${Re(Ar.opacityContentOnSurfaceSelected,ze.primaryStateLayerOpacityActive)};
832
+ ${Re(Ar.opacityContentOnSurfacePressed,ze.primaryStateLayerOpacityActive)};
832
833
 
833
834
  background-color: ${ze.primaryBackgroundColor};
834
835
  color: ${ze.primaryColor};
@@ -846,13 +847,13 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
846
847
  /** Secondary styles **/
847
848
 
848
849
  .ft-button--secondary {
849
- ${Re(Gi.color,ze.secondaryIconColor)};
850
+ ${Re(qr.color,ze.secondaryIconColor)};
850
851
 
851
- ${Re(Mi.color,ze.secondaryStateLayerColor)};
852
- ${Re(Mi.opacityContentOnSurfaceHover,ze.secondaryStateLayerOpacityHover)};
853
- ${Re(Mi.opacityContentOnSurfaceFocused,ze.secondaryStateLayerOpacityFocus)};
854
- ${Re(Mi.opacityContentOnSurfaceSelected,ze.secondaryStateLayerOpacityActive)};
855
- ${Re(Mi.opacityContentOnSurfacePressed,ze.secondaryStateLayerOpacityActive)};
852
+ ${Re(Ar.color,ze.secondaryStateLayerColor)};
853
+ ${Re(Ar.opacityContentOnSurfaceHover,ze.secondaryStateLayerOpacityHover)};
854
+ ${Re(Ar.opacityContentOnSurfaceFocused,ze.secondaryStateLayerOpacityFocus)};
855
+ ${Re(Ar.opacityContentOnSurfaceSelected,ze.secondaryStateLayerOpacityActive)};
856
+ ${Re(Ar.opacityContentOnSurfacePressed,ze.secondaryStateLayerOpacityActive)};
856
857
 
857
858
  background-color: ${ze.secondaryBackgroundColor};
858
859
  color: ${ze.secondaryColor};
@@ -871,13 +872,13 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
871
872
  /** Tertiary styles **/
872
873
 
873
874
  .ft-button--tertiary {
874
- ${Re(Gi.color,ze.tertiaryIconColor)};
875
+ ${Re(qr.color,ze.tertiaryIconColor)};
875
876
 
876
- ${Re(Mi.color,ze.tertiaryStateLayerColor)};
877
- ${Re(Mi.opacityContentOnSurfaceHover,ze.tertiaryStateLayerOpacityHover)};
878
- ${Re(Mi.opacityContentOnSurfaceFocused,ze.tertiaryStateLayerOpacityFocus)};
879
- ${Re(Mi.opacityContentOnSurfaceSelected,ze.tertiaryStateLayerOpacityActive)};
880
- ${Re(Mi.opacityContentOnSurfacePressed,ze.tertiaryStateLayerOpacityActive)};
877
+ ${Re(Ar.color,ze.tertiaryStateLayerColor)};
878
+ ${Re(Ar.opacityContentOnSurfaceHover,ze.tertiaryStateLayerOpacityHover)};
879
+ ${Re(Ar.opacityContentOnSurfaceFocused,ze.tertiaryStateLayerOpacityFocus)};
880
+ ${Re(Ar.opacityContentOnSurfaceSelected,ze.tertiaryStateLayerOpacityActive)};
881
+ ${Re(Ar.opacityContentOnSurfacePressed,ze.tertiaryStateLayerOpacityActive)};
881
882
 
882
883
  background-color: ${ze.tertiaryBackgroundColor};
883
884
  color: ${ze.tertiaryColor};
@@ -895,13 +896,13 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
895
896
  /** Neutral styles **/
896
897
 
897
898
  .ft-button--neutral {
898
- ${Re(Gi.color,ze.neutralIconColor)};
899
+ ${Re(qr.color,ze.neutralIconColor)};
899
900
 
900
- ${Re(Mi.backgroundColor,ze.neutralStateLayerColor)};
901
- ${Re(Mi.opacityContentOnSurfaceHover,ze.neutralStateLayerOpacityHover)};
902
- ${Re(Mi.opacityContentOnSurfaceFocused,ze.neutralStateLayerOpacityFocus)};
903
- ${Re(Mi.opacityContentOnSurfaceSelected,ze.neutralStateLayerOpacityActive)};
904
- ${Re(Mi.opacityContentOnSurfacePressed,ze.neutralStateLayerOpacityActive)};
901
+ ${Re(Ar.backgroundColor,ze.neutralStateLayerColor)};
902
+ ${Re(Ar.opacityContentOnSurfaceHover,ze.neutralStateLayerOpacityHover)};
903
+ ${Re(Ar.opacityContentOnSurfaceFocused,ze.neutralStateLayerOpacityFocus)};
904
+ ${Re(Ar.opacityContentOnSurfaceSelected,ze.neutralStateLayerOpacityActive)};
905
+ ${Re(Ar.opacityContentOnSurfacePressed,ze.neutralStateLayerOpacityActive)};
905
906
 
906
907
  background-color: ${ze.neutralBackgroundColor};
907
908
  color: ${ze.neutralColor};
@@ -919,8 +920,8 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
919
920
  /** Large styles **/
920
921
 
921
922
  .ft-button--large {
922
- ${Re(Yi.size,ze.largeIconSize)};
923
- ${Re(Gi.size,ze.largeIconSize)};
923
+ ${Re(Jr.size,ze.largeIconSize)};
924
+ ${Re(qr.size,ze.largeIconSize)};
924
925
 
925
926
  height: ${ze.largeHeight};
926
927
  padding: 0 ${ze.largeHorizontalPadding};
@@ -942,8 +943,8 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
942
943
  /** Small styles **/
943
944
 
944
945
  .ft-button--small {
945
- ${Re(Yi.size,ze.smallIconSize)};
946
- ${Re(Gi.size,ze.smallIconSize)};
946
+ ${Re(Jr.size,ze.smallIconSize)};
947
+ ${Re(qr.size,ze.smallIconSize)};
947
948
 
948
949
  height: ${ze.smallHeight};
949
950
  padding: 0 ${ze.smallHorizontalPadding};
@@ -961,7 +962,7 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
961
962
  width: ${ze.smallIconOnlyWidth};
962
963
  padding: unset;
963
964
  }
964
- `,Te];var Ln=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Un extends Cn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Uo.caption1medium:Uo.body2medium}}Un.styles=[Ve,In],Ln([k({type:Boolean})],Un.prototype,"primary",void 0),Ln([k({type:Boolean})],Un.prototype,"secondary",void 0),Ln([k({type:Boolean})],Un.prototype,"tertiary",void 0),Ln([k({type:Boolean})],Un.prototype,"neutral",void 0),Ln([k({type:Boolean})],Un.prototype,"small",void 0),F("ft-button")(Rn),F("ftds-button")(Un);const zn=Ee.extend("--ft-checkbox-text-color","",We.colorOnSurfaceHigh),Wn=Ee.extend("--ft-checkbox-font-size","",Fo.fontSize),Fn=Ee.external(We.colorPrimary,"Design system"),Bn=Ee.external(We.colorOnPrimary,"Design system"),Dn=Ee.extend("--ft-checkbox-border-color","",We.colorOnSurfaceMedium),Kn=Ee.external(We.colorOnSurfaceDisabled,"Design system"),Zn=Ct`
965
+ `,Vo];var Ln=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Un extends Cn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?zi.caption1medium:zi.body2medium}}Un.styles=[qo,In],Ln([k({type:Boolean})],Un.prototype,"primary",void 0),Ln([k({type:Boolean})],Un.prototype,"secondary",void 0),Ln([k({type:Boolean})],Un.prototype,"tertiary",void 0),Ln([k({type:Boolean})],Un.prototype,"neutral",void 0),Ln([k({type:Boolean})],Un.prototype,"small",void 0),F("ft-button")(Rn),F("ftds-button")(Un);const zn=Ee.extend("--ft-checkbox-text-color","",We.colorOnSurfaceHigh),Wn=Ee.extend("--ft-checkbox-font-size","",Bi.fontSize),Fn=Ee.external(We.colorPrimary,"Design system"),Bn=Ee.external(We.colorOnPrimary,"Design system"),Dn=Ee.extend("--ft-checkbox-border-color","",We.colorOnSurfaceMedium),Kn=Ee.external(We.colorOnSurfaceDisabled,"Design system"),Zn=Ct`
965
966
  * {
966
967
  box-sizing: border-box;
967
968
  }
@@ -1039,8 +1040,8 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
1039
1040
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1040
1041
  opacity: 1;
1041
1042
  }
1042
- `;var Mn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class An extends je{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return ce`
1043
- <label class="${sr(t)}" for="checkbox-input">
1043
+ `;var Mn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class An extends To{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return ce`
1044
+ <label class="${cn(t)}" for="checkbox-input">
1044
1045
  <div class="ft-checkbox--box-container">
1045
1046
  <ft-ripple
1046
1047
  ?disabled=${this.disabled}
@@ -1065,7 +1066,7 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
1065
1066
  <slot></slot>
1066
1067
  </ft-typography>
1067
1068
  </label>
1068
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}An.elementDefinitions={"ft-ripple":cr,"ft-typography":Fi},An.styles=Zn,Mn([k()],An.prototype,"name",void 0),Mn([k({type:Boolean,reflect:!0})],An.prototype,"checked",void 0),Mn([k({type:Boolean})],An.prototype,"indeterminate",void 0),Mn([k({type:Boolean})],An.prototype,"disabled",void 0),Mn([R(".ft-checkbox")],An.prototype,"container",void 0),Mn([R("ft-ripple")],An.prototype,"ripple",void 0),F("ft-checkbox")(An);const Pn=Ee.extend("--ft-radio-text-color","",We.colorOnSurfaceHigh),jn=Ee.external(We.colorPrimary,"Design system"),Hn=(Ee.external(We.colorOnPrimary,"Design system"),Ee.extend("--ft-radio-border-color","",We.colorOnSurfaceMedium)),Tn=Ee.external(We.colorOnSurfaceDisabled,"Design system"),_n=Ct`
1069
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}An.elementDefinitions={"ft-ripple":pn,"ft-typography":Br},An.styles=Zn,Mn([k()],An.prototype,"name",void 0),Mn([k({type:Boolean,reflect:!0})],An.prototype,"checked",void 0),Mn([k({type:Boolean})],An.prototype,"indeterminate",void 0),Mn([k({type:Boolean})],An.prototype,"disabled",void 0),Mn([R(".ft-checkbox")],An.prototype,"container",void 0),Mn([R("ft-ripple")],An.prototype,"ripple",void 0),F("ft-checkbox")(An);const Pn=Ee.extend("--ft-radio-text-color","",We.colorOnSurfaceHigh),jn=Ee.external(We.colorPrimary,"Design system"),Hn=(Ee.external(We.colorOnPrimary,"Design system"),Ee.extend("--ft-radio-border-color","",We.colorOnSurfaceMedium)),Tn=Ee.external(We.colorOnSurfaceDisabled,"Design system"),_n=Ct`
1069
1070
  * {
1070
1071
  box-sizing: border-box;
1071
1072
  }
@@ -1144,8 +1145,8 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
1144
1145
  .ft-radio--disabled .ft-radio--box:after {
1145
1146
  background-color: ${Tn};
1146
1147
  }
1147
- `;var Vn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Gn extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class qn extends je{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return ce`
1148
- <div class="${sr(t)}">
1148
+ `;var Vn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Gn extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class qn extends To{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return ce`
1149
+ <div class="${cn(t)}">
1149
1150
  <div class="ft-radio--box-container">
1150
1151
  <ft-ripple
1151
1152
  ?disabled=${this.disabled}
@@ -1169,11 +1170,11 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
1169
1170
  </ft-typography>
1170
1171
  </label>
1171
1172
  </div>
1172
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Gn(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Gn(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}qn.elementDefinitions={"ft-ripple":cr,"ft-typography":Fi},qn.styles=_n,Vn([k()],qn.prototype,"value",void 0),Vn([k()],qn.prototype,"name",void 0),Vn([k({type:Boolean,reflect:!0})],qn.prototype,"checked",void 0),Vn([k({type:Boolean})],qn.prototype,"disabled",void 0),Vn([R(".ft-radio")],qn.prototype,"container",void 0),Vn([R("ft-ripple")],qn.prototype,"ripple",void 0),Vn([R("input")],qn.prototype,"input",void 0);const Yn=Ct`
1173
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Gn(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Gn(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}qn.elementDefinitions={"ft-ripple":pn,"ft-typography":Br},qn.styles=_n,Vn([k()],qn.prototype,"value",void 0),Vn([k()],qn.prototype,"name",void 0),Vn([k({type:Boolean,reflect:!0})],qn.prototype,"checked",void 0),Vn([k({type:Boolean})],qn.prototype,"disabled",void 0),Vn([R(".ft-radio")],qn.prototype,"container",void 0),Vn([R("ft-ripple")],qn.prototype,"ripple",void 0),Vn([R("input")],qn.prototype,"input",void 0);const Yn=Ct`
1173
1174
  :host {
1174
1175
  display: contents;
1175
1176
  }
1176
- `;var Jn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xn extends je{constructor(){super(...arguments),this.name=""}render(){return ce`
1177
+ `;var Jn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xn extends To{constructor(){super(...arguments),this.name=""}render(){return ce`
1177
1178
  <slot @slotchange=${this.onSlotChange}
1178
1179
  @change=${this.onChange}
1179
1180
  @keydown=${this.onKeyDown}
@@ -1184,7 +1185,7 @@ class gn extends fo{constructor(t){if(super(t),this.et=nt,t.type!==ho)throw Erro
1184
1185
  * Copyright 2021 Google LLC
1185
1186
  * SPDX-License-Identifier: BSD-3-Clause
1186
1187
  */
1187
- function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Xn.prototype,"radioButtons",void 0),F("ft-radio")(qn),F("ft-radio-group")(Xn);const Qn={borderRadiusM:Ee.external(We.borderRadiusM,"Design system"),colorOutline:Ee.external(We.colorOutline,"Design system"),colorOnSurface:Ee.external(We.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ee.external(We.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ee.external(We.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ee.external(We.colorPrimary,"Design system"),colorOnPrimary:Ee.external(We.colorOnPrimary,"Design system"),fontFamily:Ee.external(si.fontFamily,"Body2 typography"),fontSize:Ee.external(si.fontSize,"Body2 typography"),fontWeight:Ee.external(si.fontWeight,"Body2 typography"),letterSpacing:Ee.external(si.letterSpacing,"Body2 typography"),lineHeight:Ee.external(si.lineHeight,"Body2 typography"),textTransform:Ee.external(si.textTransform,"Body2 typography")},ta=Ct`
1188
+ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Xn.prototype,"radioButtons",void 0),F("ft-radio")(qn),F("ft-radio-group")(Xn);const Qn={borderRadiusM:Ee.external(We.borderRadiusM,"Design system"),colorOutline:Ee.external(We.colorOutline,"Design system"),colorOnSurface:Ee.external(We.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ee.external(We.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ee.external(We.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ee.external(We.colorPrimary,"Design system"),colorOnPrimary:Ee.external(We.colorOnPrimary,"Design system"),fontFamily:Ee.external(lr.fontFamily,"Body2 typography"),fontSize:Ee.external(lr.fontSize,"Body2 typography"),fontWeight:Ee.external(lr.fontWeight,"Body2 typography"),letterSpacing:Ee.external(lr.letterSpacing,"Body2 typography"),lineHeight:Ee.external(lr.lineHeight,"Body2 typography"),textTransform:Ee.external(lr.textTransform,"Body2 typography")},ta=Ct`
1188
1189
  .ft-filter-level--container {
1189
1190
  display: flex;
1190
1191
  flex-direction: column;
@@ -1234,7 +1235,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1234
1235
  }
1235
1236
 
1236
1237
  ft-button {
1237
- ${Re(Qi.color,Qn.colorOnSurface)};
1238
+ ${Re(tn.color,Qn.colorOnSurface)};
1238
1239
  }
1239
1240
 
1240
1241
  ft-radio, ft-checkbox {
@@ -1250,7 +1251,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1250
1251
  margin: 10px 0;
1251
1252
  color: ${Qn.colorOnSurfaceMedium};
1252
1253
  }
1253
- `;var ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oa extends je{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return ce`
1254
+ `;var ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oa extends To{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return ce`
1254
1255
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1255
1256
  ${null==this.parent?null:ce`
1256
1257
  <div tabindex="0"
@@ -1269,7 +1270,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1269
1270
  ${this.noValuesLabel}
1270
1271
  </ft-typography>
1271
1272
  `:pe}
1272
- ${$o(e,(t=>t.value),(t=>{var e;return ce`
1273
+ ${wi(e,(t=>t.value),(t=>{var e;return ce`
1273
1274
  <div class="ft-filter-level--option" part="options">
1274
1275
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1275
1276
  ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?pe:ce`
@@ -1314,7 +1315,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1314
1315
  @change=${t=>t.stopPropagation()}>
1315
1316
  ${t.renderOption?t.renderOption:t.label}
1316
1317
  </ft-radio>
1317
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}oa.elementDefinitions={"ft-button":Rn,"ft-ripple":cr,"ft-typography":Fi,"ft-checkbox":An,"ft-icon":Sn,"ft-radio":qn},oa.styles=ta,ea([k({type:String})],oa.prototype,"filterId",void 0),ea([k({type:Object})],oa.prototype,"parent",void 0),ea([k({type:Array})],oa.prototype,"options",void 0),ea([k({type:Boolean})],oa.prototype,"multivalued",void 0),ea([k({type:Boolean})],oa.prototype,"disabled",void 0),ea([k({type:Boolean})],oa.prototype,"hideSelectedOptions",void 0),ea([k({type:Boolean})],oa.prototype,"preventNavigation",void 0),ea([k({type:String})],oa.prototype,"filter",void 0),ea([k({type:String})],oa.prototype,"moreValuesButtonLabel",void 0),ea([k({type:String})],oa.prototype,"noValuesLabel",void 0),ea([k({type:Number})],oa.prototype,"displayedValuesLimit",void 0),ea([R(".ft-filter-level--container")],oa.prototype,"container",void 0),ea([N()],oa.prototype,"displayedPages",void 0);const ia={buttonsColor:Ee.extend("--ft-snap-scroll-buttons-color","",We.colorPrimary),buttonsZIndex:Ee.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ee.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ee.external(We.colorSurface,"Design system")},ra=Ct`
1318
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}oa.elementDefinitions={"ft-button":Rn,"ft-ripple":pn,"ft-typography":Br,"ft-checkbox":An,"ft-icon":Sn,"ft-radio":qn},oa.styles=ta,ea([k({type:String})],oa.prototype,"filterId",void 0),ea([k({type:Object})],oa.prototype,"parent",void 0),ea([k({type:Array})],oa.prototype,"options",void 0),ea([k({type:Boolean})],oa.prototype,"multivalued",void 0),ea([k({type:Boolean})],oa.prototype,"disabled",void 0),ea([k({type:Boolean})],oa.prototype,"hideSelectedOptions",void 0),ea([k({type:Boolean})],oa.prototype,"preventNavigation",void 0),ea([k({type:String})],oa.prototype,"filter",void 0),ea([k({type:String})],oa.prototype,"moreValuesButtonLabel",void 0),ea([k({type:String})],oa.prototype,"noValuesLabel",void 0),ea([k({type:Number})],oa.prototype,"displayedValuesLimit",void 0),ea([R(".ft-filter-level--container")],oa.prototype,"container",void 0),ea([N()],oa.prototype,"displayedPages",void 0);const ia={buttonsColor:Ee.extend("--ft-snap-scroll-buttons-color","",We.colorPrimary),buttonsZIndex:Ee.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ee.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ee.external(We.colorSurface,"Design system")},ra=Ct`
1318
1319
  .ft-snap-scroll {
1319
1320
  box-sizing: border-box;
1320
1321
  position: relative;
@@ -1395,8 +1396,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1395
1396
  z-index: ${ia.buttonsZIndex};
1396
1397
  opacity: 1;
1397
1398
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1398
- ${Re(Qi.backgroundColor,"transparent")};
1399
- ${Re(Qi.color,ia.buttonsColor)};
1399
+ ${Re(tn.backgroundColor,"transparent")};
1400
+ ${Re(tn.color,ia.buttonsColor)};
1400
1401
  }
1401
1402
 
1402
1403
  .ft-snap-scroll--previous[hidden],
@@ -1439,7 +1440,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1439
1440
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1440
1441
  background-color: ${ia.colorSurface};
1441
1442
  }
1442
- `;var na=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class aa extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class sa extends je{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new e(200),this.updateScrollDebouncer=new e(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=sr({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":so}),e=this.controls&&this.withScroll;return ce`
1443
+ `;var na=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class aa extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class sa extends To{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new e(200),this.updateScrollDebouncer=new e(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=cn({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ci}),e=this.controls&&this.withScroll;return ce`
1443
1444
  <div part="container" class="${t}">
1444
1445
  <ft-button
1445
1446
  class="ft-snap-scroll--previous"
@@ -1463,7 +1464,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1463
1464
  @click=${this.next}
1464
1465
  ></ft-button>
1465
1466
  </div>
1466
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new aa(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}sa.elementDefinitions={"ft-button":Rn},sa.styles=ra,na([k({type:Boolean})],sa.prototype,"horizontal",void 0),na([k({type:Boolean})],sa.prototype,"hideScrollbar",void 0),na([k({type:Boolean})],sa.prototype,"controls",void 0),na([k({type:Boolean})],sa.prototype,"limitSize",void 0),na([N()],sa.prototype,"elements",void 0),na([N()],sa.prototype,"currentElement",void 0),na([N()],sa.prototype,"withScroll",void 0),na([N()],sa.prototype,"startReached",void 0),na([N()],sa.prototype,"endReached",void 0),na([R(".ft-snap-scroll--content")],sa.prototype,"contentSlot",void 0),F("ft-snap-scroll")(sa);const la=Ee.external(We.colorOutline,"Design system"),ca=Ee.external(We.colorOnSurface,"Design system"),ha=Ee.external(We.colorOnSurfaceMedium,"Design system"),pa=Ee.external(We.colorPrimary,"Design system"),fa=Ee.external(We.colorSurface,"Design system"),da=Ee.external(We.transitionDuration,"Design system"),ua=Ee.external(We.transitionTimingFunction,"Design system"),ba=Ee.extend("--ft-filter-label-color","",We.colorOnSurface),ga=Ee.extend("--ft-filter-label-font-size","",Fo.fontSize,"14px"),ya=[Ei,Ct`
1467
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new aa(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}sa.elementDefinitions={"ft-button":Rn},sa.styles=ra,na([k({type:Boolean})],sa.prototype,"horizontal",void 0),na([k({type:Boolean})],sa.prototype,"hideScrollbar",void 0),na([k({type:Boolean})],sa.prototype,"controls",void 0),na([k({type:Boolean})],sa.prototype,"limitSize",void 0),na([N()],sa.prototype,"elements",void 0),na([N()],sa.prototype,"currentElement",void 0),na([N()],sa.prototype,"withScroll",void 0),na([N()],sa.prototype,"startReached",void 0),na([N()],sa.prototype,"endReached",void 0),na([R(".ft-snap-scroll--content")],sa.prototype,"contentSlot",void 0),F("ft-snap-scroll")(sa);const la=Ee.external(We.colorOutline,"Design system"),ca=Ee.external(We.colorOnSurface,"Design system"),ha=Ee.external(We.colorOnSurfaceMedium,"Design system"),pa=Ee.external(We.colorPrimary,"Design system"),fa=Ee.external(We.colorSurface,"Design system"),da=Ee.external(We.transitionDuration,"Design system"),ua=Ee.external(We.transitionTimingFunction,"Design system"),ba=Ee.extend("--ft-filter-label-color","",We.colorOnSurface),ga=Ee.extend("--ft-filter-label-font-size","",Bi.fontSize,"16px"),ya=[Rr,Ct`
1467
1468
  :host {
1468
1469
  display: flex;
1469
1470
  max-height: 100%;
@@ -1490,7 +1491,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1490
1491
  .ft-filter--header ft-button {
1491
1492
  flex-shrink: 0;
1492
1493
  margin-left: auto;
1493
- ${Re(Qi.iconSize,"18px")};
1494
+ ${Re(tn.iconSize,"18px")};
1494
1495
  }
1495
1496
 
1496
1497
  .ft-filter--label {
@@ -1500,8 +1501,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1500
1501
  word-break: break-word;
1501
1502
  color: ${ba};
1502
1503
  font-size: ${ga};
1503
- ${Re(Fo.lineHeight,"22px")};
1504
- ${Re(Fo.fontWeight,"bold")};
1504
+ ${Re(Bi.lineHeight,"22px")};
1505
+ ${Re(Bi.fontWeight,"bold")};
1505
1506
  }
1506
1507
 
1507
1508
  .ft-filter--filter {
@@ -1575,7 +1576,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1575
1576
  slot:not([name]) {
1576
1577
  display: none;
1577
1578
  }
1578
- `];var ma=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class va extends CustomEvent{constructor(t){super("change",{detail:t})}}class xa extends je{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10),this.lastDispatchedValues=[]}get flatOptions(){return z(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return z(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return ce`
1579
+ `];var ma=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class va extends CustomEvent{constructor(t){super("change",{detail:t})}}class xa extends To{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new e(300),this.changeDebouncer=new e(10),this.lastDispatchedValues=[]}get flatOptions(){return z(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return z(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return ce`
1579
1580
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1580
1581
  part="container">
1581
1582
  ${this.label||t?ce`
@@ -1647,13 +1648,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1647
1648
  .exportpartsPrefixes=${["values","available-values"]}
1648
1649
  noValuesLabel="${this.noValuesLabel}"
1649
1650
  ></ft-filter-level>
1650
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;W(this.lastDispatchedValues,t)||(this.dispatchEvent(new va(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}xa.elementDefinitions={"ft-button":Rn,"ft-filter-level":oa,"ft-snap-scroll":sa,"ft-typography":Fi},xa.styles=ya,ma([k({type:String})],xa.prototype,"id",void 0),ma([k({type:String})],xa.prototype,"label",void 0),ma([k({type:String})],xa.prototype,"filterPlaceHolder",void 0),ma([k({type:String})],xa.prototype,"clearButtonLabel",void 0),ma([k({type:String})],xa.prototype,"moreValuesButtonLabel",void 0),ma([k({type:String})],xa.prototype,"noValuesLabel",void 0),ma([B([])],xa.prototype,"options",void 0),ma([k({type:Boolean})],xa.prototype,"multivalued",void 0),ma([k({type:Boolean})],xa.prototype,"disabled",void 0),ma([k({type:Boolean})],xa.prototype,"raiseSelectedOptions",void 0),ma([k({type:Number})],xa.prototype,"displayedValuesLimit",void 0),ma([k({type:Boolean})],xa.prototype,"hideClearButton",void 0),ma([R(".ft-filter--slot")],xa.prototype,"slotElement",void 0),ma([R(".ft-filter--container")],xa.prototype,"container",void 0),ma([R(".ft-filter--values")],xa.prototype,"valuesContainer",void 0),ma([R(".ft-filter--levels")],xa.prototype,"levelsContainer",void 0),ma([N()],xa.prototype,"lastLevelHasHiddenvalues",void 0),ma([R(".ft-filter--filter input")],xa.prototype,"filterInput",void 0),ma([function(t){return(e,o)=>E(0,0,{get(){return(this.renderRoot??(I??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],xa.prototype,"levels",void 0),ma([N()],xa.prototype,"withScroll",void 0),ma([N()],xa.prototype,"filter",void 0),ma([N()],xa.prototype,"slideIn",void 0),ma([N()],xa.prototype,"slideOut",void 0);var $a=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wa extends je{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ce`
1651
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;W(this.lastDispatchedValues,t)||(this.dispatchEvent(new va(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}xa.elementDefinitions={"ft-button":Rn,"ft-filter-level":oa,"ft-snap-scroll":sa,"ft-typography":Br},xa.styles=ya,ma([k({type:String})],xa.prototype,"id",void 0),ma([k({type:String})],xa.prototype,"label",void 0),ma([k({type:String})],xa.prototype,"filterPlaceHolder",void 0),ma([k({type:String})],xa.prototype,"clearButtonLabel",void 0),ma([k({type:String})],xa.prototype,"moreValuesButtonLabel",void 0),ma([k({type:String})],xa.prototype,"noValuesLabel",void 0),ma([B([])],xa.prototype,"options",void 0),ma([k({type:Boolean})],xa.prototype,"multivalued",void 0),ma([k({type:Boolean})],xa.prototype,"disabled",void 0),ma([k({type:Boolean})],xa.prototype,"raiseSelectedOptions",void 0),ma([k({type:Number})],xa.prototype,"displayedValuesLimit",void 0),ma([k({type:Boolean})],xa.prototype,"hideClearButton",void 0),ma([R(".ft-filter--slot")],xa.prototype,"slotElement",void 0),ma([R(".ft-filter--container")],xa.prototype,"container",void 0),ma([R(".ft-filter--values")],xa.prototype,"valuesContainer",void 0),ma([R(".ft-filter--levels")],xa.prototype,"levelsContainer",void 0),ma([N()],xa.prototype,"lastLevelHasHiddenvalues",void 0),ma([R(".ft-filter--filter input")],xa.prototype,"filterInput",void 0),ma([function(t){return(e,o)=>E(0,0,{get(){return(this.renderRoot??(I??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],xa.prototype,"levels",void 0),ma([N()],xa.prototype,"withScroll",void 0),ma([N()],xa.prototype,"filter",void 0),ma([N()],xa.prototype,"slideIn",void 0),ma([N()],xa.prototype,"slideOut",void 0);var $a=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wa extends To{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ce`
1651
1652
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1652
1653
  `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}wa.elementDefinitions={},$a([k({type:String})],wa.prototype,"label",void 0),$a([k({type:Object,converter:t=>t})],wa.prototype,"value",void 0),$a([k({type:Boolean,reflect:!0})],wa.prototype,"selected",void 0),$a([k({type:Object})],wa.prototype,"subOptions",void 0),$a([B({})],wa.prototype,"renderOption",void 0),$a([R(".ft-filter-option--slot")],wa.prototype,"slotElement",void 0),F("ft-filter")(xa),F("ft-filter-option")(wa);const Oa=Ct`
1653
1654
  .ft-accordion {
1654
1655
  box-sizing: border-box;
1655
1656
  }
1656
- `;var Sa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ka extends je{constructor(){super(...arguments),this.multi=!1}render(){return ce`
1657
+ `;var Sa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ka extends To{constructor(){super(...arguments),this.multi=!1}render(){return ce`
1657
1658
  <div class="ft-accordion">
1658
1659
  <slot @activated=${this.onChange}></slot>
1659
1660
  </div>
@@ -1702,7 +1703,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1702
1703
  .ft-accordion-item--separator {
1703
1704
  border-bottom: 1px solid ${Ea};
1704
1705
  }
1705
- `;var Ia=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class La extends je{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return ce`
1706
+ `;var Ia=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class La extends To{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return ce`
1706
1707
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1707
1708
  <div class="ft-accordion-item--toggle"
1708
1709
  part="toggle"
@@ -1732,7 +1733,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1732
1733
  </div>
1733
1734
  <div class="ft-accordion-item--separator" part="separator"></div>
1734
1735
  </div>
1735
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}La.elementDefinitions={"ft-ripple":cr,"ft-typography":Fi,"ft-icon":Sn},La.styles=Ra,Ia([k()],La.prototype,"icon",void 0),Ia([k()],La.prototype,"iconVariant",void 0),Ia([k()],La.prototype,"label",void 0),Ia([k({type:Boolean,reflect:!0})],La.prototype,"active",void 0),F("ft-accordion")(ka),F("ft-accordion-item")(La);const Ua=Ee.extend("--ft-chip-color","",We.colorOnSurface),za={backgroundColor:Ee.extend("--ft-chip-background-color","",We.colorSurface),color:Ua,fontSize:Ee.extend("--ft-chip-font-size","",si.fontSize),iconSize:Ee.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Ee.extend("--ft-chip-ripple-color","",Ua),horizontalPadding:Ee.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Ee.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Ee.external(We.colorOutline,"Design system"),opacityDisabled:Ee.external(We.colorOpacityDisabled,"Design system")},Wa=Ee.extend("--ft-chip-highlighted-color","",Ee.extend("--ft-chip-color","",We.colorOnPrimary)),Fa={backgroundColor:Ee.extend("--ft-chip-highlighted-background-color","",Ee.extend("--ft-chip-background-color","",We.colorPrimary)),color:Wa,rippleColor:Ee.extend("--ft-chip-highlighted-ripple-color","",Wa)},Ba=Ee.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Da=Ee.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Ka=[Te,Ct`
1736
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.active=!this.active)}}La.elementDefinitions={"ft-ripple":pn,"ft-typography":Br,"ft-icon":Sn},La.styles=Ra,Ia([k()],La.prototype,"icon",void 0),Ia([k()],La.prototype,"iconVariant",void 0),Ia([k()],La.prototype,"label",void 0),Ia([k({type:Boolean,reflect:!0})],La.prototype,"active",void 0),F("ft-accordion")(ka),F("ft-accordion-item")(La);const Ua=Ee.extend("--ft-chip-color","",We.colorOnSurface),za={backgroundColor:Ee.extend("--ft-chip-background-color","",We.colorSurface),color:Ua,fontSize:Ee.extend("--ft-chip-font-size","",lr.fontSize),iconSize:Ee.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:Ee.extend("--ft-chip-ripple-color","",Ua),horizontalPadding:Ee.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:Ee.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:Ee.external(We.colorOutline,"Design system"),opacityDisabled:Ee.external(We.colorOpacityDisabled,"Design system")},Wa=Ee.extend("--ft-chip-highlighted-color","",Ee.extend("--ft-chip-color","",We.colorOnPrimary)),Fa={backgroundColor:Ee.extend("--ft-chip-highlighted-background-color","",Ee.extend("--ft-chip-background-color","",We.colorPrimary)),color:Wa,rippleColor:Ee.extend("--ft-chip-highlighted-ripple-color","",Wa)},Ba=Ee.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Da=Ee.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Ka=[Vo,Ct`
1736
1737
  :host {
1737
1738
  display: inline-block;
1738
1739
  max-width: 100%;
@@ -1750,7 +1751,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1750
1751
 
1751
1752
  --ft-chip-internal-font-size: ${za.fontSize};
1752
1753
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
1753
- ${Re(Yi.size,za.iconSize)};
1754
+ ${Re(Jr.size,za.iconSize)};
1754
1755
  --ft-chip-internal-vertical-padding: ${za.verticalPadding};
1755
1756
  --ft-chip-internal-horizontal-padding: ${za.horizontalPadding};
1756
1757
  --ft-chip-internal-icon-padding: 3px;
@@ -1758,7 +1759,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1758
1759
 
1759
1760
  border: 1px solid ${za.colorOutline};
1760
1761
  color: ${za.color};
1761
- ${Re(Mi.color,za.rippleColor)};
1762
+ ${Re(Ar.color,za.rippleColor)};
1762
1763
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
1763
1764
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
1764
1765
  background-color: ${za.backgroundColor};
@@ -1791,7 +1792,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1791
1792
  border: none;
1792
1793
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1793
1794
  background-color: ${Fa.backgroundColor};
1794
- ${Re(Mi.color,Fa.rippleColor)};
1795
+ ${Re(Ar.color,Fa.rippleColor)};
1795
1796
  color: ${Fa.color};
1796
1797
  }
1797
1798
 
@@ -1822,9 +1823,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1822
1823
  }
1823
1824
 
1824
1825
  .ft-chip--icon-button {
1825
- ${Re(Qi.iconSize,za.iconSize)};
1826
- ${Re(Qi.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1827
- ${Re(Qi.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1826
+ ${Re(tn.iconSize,za.iconSize)};
1827
+ ${Re(tn.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1828
+ ${Re(tn.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1828
1829
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1829
1830
  }
1830
1831
 
@@ -1832,8 +1833,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1832
1833
  vertical-align: bottom;
1833
1834
  display: block;
1834
1835
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1835
- ${Re(si.fontSize,"var(--ft-chip-internal-font-size)")};
1836
- ${Re(si.lineHeight,"var(--ft-chip-internal-content-height)")};
1836
+ ${Re(lr.fontSize,"var(--ft-chip-internal-font-size)")};
1837
+ ${Re(lr.lineHeight,"var(--ft-chip-internal-content-height)")};
1837
1838
  }
1838
1839
 
1839
1840
  .ft-chip--safari-fix .ft-chip--label {
@@ -1869,8 +1870,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1869
1870
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1870
1871
  order: -1;
1871
1872
  }
1872
- `];var Za=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ma extends CustomEvent{constructor(){super("icon-click")}}class Aa extends je{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":so};return ce`
1873
- <div class="${sr(t)}"
1873
+ `];var Za=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ma extends CustomEvent{constructor(){super("icon-click")}}class Aa extends To{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":ci};return ce`
1874
+ <div class="${cn(t)}"
1874
1875
  aria-label="${this.getLabel()}"
1875
1876
  tabindex="${this.interactionsOnChip?0:-1}"
1876
1877
  @keyup=${this.onKeyUp}>
@@ -1892,7 +1893,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1892
1893
  <div class="ft-chip--icon-container ft-no-text-select">
1893
1894
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1894
1895
  </div>
1895
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ma))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ma))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Aa.elementDefinitions={"ft-ripple":cr,"ft-typography":Fi,"ft-icon":Sn,"ft-button":Rn},Aa.styles=Ka,Za([k({type:Boolean})],Aa.prototype,"highlighted",void 0),Za([k({type:Boolean})],Aa.prototype,"removable",void 0),Za([k({type:Boolean})],Aa.prototype,"disabled",void 0),Za([k({type:Boolean})],Aa.prototype,"clickable",void 0),Za([k({type:Boolean})],Aa.prototype,"iconClickable",void 0),Za([k({type:Boolean})],Aa.prototype,"dense",void 0),Za([k({type:Boolean})],Aa.prototype,"multiLine",void 0),Za([k()],Aa.prototype,"label",void 0),Za([k()],Aa.prototype,"iconLabel",void 0),Za([k()],Aa.prototype,"icon",void 0),Za([k()],Aa.prototype,"iconVariant",void 0),Za([k({type:Boolean})],Aa.prototype,"trailingIcon",void 0),Za([R("ft-typography slot")],Aa.prototype,"slottedContent",void 0),F("ft-chip")(Aa);const Pa={fontSize:Ee.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Ee.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Ee.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Ee.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ee.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Ee.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Ee.extend("--ft-input-label-border-color","",We.colorOutline),textColor:Ee.extend("--ft-input-label-text-color","",We.colorOnSurfaceMedium),disabledTextColor:Ee.extend("--ft-input-label-disabled-text-color","",We.colorOnSurfaceDisabled),colorSurface:Ee.external(We.colorSurface,"Design system"),borderRadiusS:Ee.external(We.borderRadiusS,"Design system"),colorError:Ee.external(We.colorError,"Design system")},ja=Ct`
1896
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ma))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ma))}getLabel(){return this.label||this.textContent}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Aa.elementDefinitions={"ft-ripple":pn,"ft-typography":Br,"ft-icon":Sn,"ft-button":Rn},Aa.styles=Ka,Za([k({type:Boolean})],Aa.prototype,"highlighted",void 0),Za([k({type:Boolean})],Aa.prototype,"removable",void 0),Za([k({type:Boolean})],Aa.prototype,"disabled",void 0),Za([k({type:Boolean})],Aa.prototype,"clickable",void 0),Za([k({type:Boolean})],Aa.prototype,"iconClickable",void 0),Za([k({type:Boolean})],Aa.prototype,"dense",void 0),Za([k({type:Boolean})],Aa.prototype,"multiLine",void 0),Za([k()],Aa.prototype,"label",void 0),Za([k()],Aa.prototype,"iconLabel",void 0),Za([k()],Aa.prototype,"icon",void 0),Za([k()],Aa.prototype,"iconVariant",void 0),Za([k({type:Boolean})],Aa.prototype,"trailingIcon",void 0),Za([R("ft-typography slot")],Aa.prototype,"slottedContent",void 0),F("ft-chip")(Aa);const Pa={fontSize:Ee.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Ee.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Ee.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Ee.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ee.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Ee.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Ee.extend("--ft-input-label-border-color","",We.colorOutline),textColor:Ee.extend("--ft-input-label-text-color","",We.colorOnSurfaceMedium),disabledTextColor:Ee.extend("--ft-input-label-disabled-text-color","",We.colorOnSurfaceDisabled),colorSurface:Ee.external(We.colorSurface,"Design system"),borderRadiusS:Ee.external(We.borderRadiusS,"Design system"),colorError:Ee.external(We.colorError,"Design system")},ja=Ct`
1896
1897
  .ft-input-label {
1897
1898
  position: absolute;
1898
1899
  inset: 0;
@@ -1943,8 +1944,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1943
1944
  transition: font-size 250ms, line-height 250ms, color 250ms;
1944
1945
  max-width: calc(${Pa.labelMaxWidth} - 2 * (${Pa.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
1945
1946
  text-overflow: ellipsis;
1946
- ${Re(li.fontSize,Pa.fontSize)};
1947
- ${Re(li.lineHeight,Pa.fontSize)};
1947
+ ${Re(cr.fontSize,Pa.fontSize)};
1948
+ ${Re(cr.lineHeight,Pa.fontSize)};
1948
1949
  }
1949
1950
 
1950
1951
  .ft-input-label--in-error .ft-input-label--text {
@@ -1976,8 +1977,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1976
1977
  }
1977
1978
 
1978
1979
  .ft-input-label--raised .ft-input-label--text {
1979
- ${Re(li.fontSize,Pa.raisedFontSize)};
1980
- ${Re(li.lineHeight,Pa.raisedFontSize)};
1980
+ ${Re(cr.fontSize,Pa.raisedFontSize)};
1981
+ ${Re(cr.lineHeight,Pa.raisedFontSize)};
1981
1982
  }
1982
1983
 
1983
1984
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -2014,8 +2015,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2014
2015
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2015
2016
  border-top: none;
2016
2017
  }
2017
- `;var Ha=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ta extends je{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return ce`
2018
- <div class="${sr(t)}">
2018
+ `;var Ha=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ta extends To{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return ce`
2019
+ <div class="${cn(t)}">
2019
2020
  ${this.text?ce`
2020
2021
  <div class="ft-input-label--text ft-typography--caption">
2021
2022
  <span class="ft-input-label--floating-text">${this.text}</span>
@@ -2023,7 +2024,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2023
2024
  </div>
2024
2025
  `:null}
2025
2026
  </div>
2026
- `}}Ta.elementDefinitions={},Ta.styles=[Ei,ja],Ha([k({type:String})],Ta.prototype,"text",void 0),Ha([k({type:Boolean})],Ta.prototype,"raised",void 0),Ha([k({type:Boolean})],Ta.prototype,"outlined",void 0),Ha([k({type:Boolean})],Ta.prototype,"disabled",void 0),Ha([k({type:Boolean})],Ta.prototype,"error",void 0),F("ft-input-label")(Ta);const _a={labelSize:Ee.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:Ee.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:Ee.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ee.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:Ee.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:Ee.extend("--ft-select-selected-option-color","",We.colorOnSurface),helperColor:Ee.extend("--ft-select-helper-color","",We.colorOnSurfaceMedium),optionsColor:Ee.extend("--ft-select-options-color","",We.colorOnSurface),optionsZIndex:Ee.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:Ee.external(We.colorSurface,"Design system"),colorOnSurfaceDisabled:Ee.external(We.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ee.external(We.colorPrimary,"Design system"),borderRadiusS:Ee.external(We.borderRadiusS,"Design system"),elevation02:Ee.external(We.elevation02,"Design system"),colorError:Ee.external(We.colorError,"Design system")},Va=Ct`
2027
+ `}}Ta.elementDefinitions={},Ta.styles=[Rr,ja],Ha([k({type:String})],Ta.prototype,"text",void 0),Ha([k({type:Boolean})],Ta.prototype,"raised",void 0),Ha([k({type:Boolean})],Ta.prototype,"outlined",void 0),Ha([k({type:Boolean})],Ta.prototype,"disabled",void 0),Ha([k({type:Boolean})],Ta.prototype,"error",void 0),F("ft-input-label")(Ta);const _a={labelSize:Ee.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:Ee.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:Ee.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ee.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:Ee.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:Ee.extend("--ft-select-selected-option-color","",We.colorOnSurface),helperColor:Ee.extend("--ft-select-helper-color","",We.colorOnSurfaceMedium),optionsColor:Ee.extend("--ft-select-options-color","",We.colorOnSurface),optionsZIndex:Ee.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:Ee.external(We.colorSurface,"Design system"),colorOnSurfaceDisabled:Ee.external(We.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ee.external(We.colorPrimary,"Design system"),borderRadiusS:Ee.external(We.borderRadiusS,"Design system"),elevation02:Ee.external(We.elevation02,"Design system"),colorError:Ee.external(We.colorError,"Design system")},Va=Ct`
2027
2028
  *:focus {
2028
2029
  outline: none;
2029
2030
  }
@@ -2050,13 +2051,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2050
2051
  padding-right: ${_a.horizontalSpacing};
2051
2052
  gap: 8px;
2052
2053
  color: ${_a.selectedOptionColor};
2053
- ${Re(Mi.color,_a.selectedOptionColor)};
2054
+ ${Re(Ar.color,_a.selectedOptionColor)};
2054
2055
  }
2055
2056
 
2056
2057
  .ft-select--input-panel,
2057
2058
  .ft-select--option {
2058
- ${Re(Mi.opacityContentOnSurfaceHover,"0.08")};
2059
- ${Re(Mi.opacityContentOnSurfacePressed,"0.04")};
2059
+ ${Re(Ar.opacityContentOnSurfaceHover,"0.08")};
2060
+ ${Re(Ar.opacityContentOnSurfacePressed,"0.04")};
2060
2061
  }
2061
2062
 
2062
2063
  .ft-select--input-panel > *:not(ft-ripple),
@@ -2079,7 +2080,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2079
2080
  ${Re(Pa.raisedFontSize,_a.labelSize)};
2080
2081
  ${Re(Pa.verticalSpacing,_a.verticalSpacing)};
2081
2082
  ${Re(Pa.horizontalSpacing,_a.horizontalSpacing)};
2082
- ${Re(Pa.labelMaxWidth,`calc(100% - ${Yi.size} - 8px)`)};
2083
+ ${Re(Pa.labelMaxWidth,`calc(100% - ${Jr.size} - 8px)`)};
2083
2084
  }
2084
2085
 
2085
2086
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
@@ -2098,8 +2099,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2098
2099
  overflow: hidden;
2099
2100
  white-space: nowrap;
2100
2101
  text-overflow: ellipsis;
2101
- ${Re(ai.fontSize,_a.selectedOptionSize)};
2102
- ${Re(ai.lineHeight,_a.selectedOptionSize)};
2102
+ ${Re(sr.fontSize,_a.selectedOptionSize)};
2103
+ ${Re(sr.lineHeight,_a.selectedOptionSize)};
2103
2104
  }
2104
2105
 
2105
2106
  .ft-select--in-error .ft-select--selected-option {
@@ -2172,8 +2173,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2172
2173
  .ft-select--in-error .ft-select--helper-text {
2173
2174
  color: ${_a.colorError};
2174
2175
  }
2175
- `;var Ga=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qa extends je{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ce``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}qa.elementDefinitions={},Ga([k({type:String})],qa.prototype,"label",void 0),Ga([k({type:Object,converter:t=>t})],qa.prototype,"value",void 0),Ga([k({type:Boolean,reflect:!0})],qa.prototype,"selected",void 0);class Ya extends je{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ce`
2176
- <div class="${sr(l)}" part="container">
2176
+ `;var Ga=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qa extends To{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ce``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}qa.elementDefinitions={},Ga([k({type:String})],qa.prototype,"label",void 0),Ga([k({type:Object,converter:t=>t})],qa.prototype,"value",void 0),Ga([k({type:Boolean,reflect:!0})],qa.prototype,"selected",void 0);class Ya extends To{constructor(){super(...arguments),this.label="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}render(){var t,e,o,i,r;let n=this.hasOptionsMenuOpen,a=this.disabled||!this.hasOptions;const s=null!=(null===(t=this.selectedOption)||void 0===t?void 0:t.value)||(null!==(o=null===(e=this.selectedOption)||void 0===e?void 0:e.label)&&void 0!==o?o:"").length>0,l={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":a,"ft-select--options-displayed":n,"ft-select--has-option-selected":s,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ce`
2177
+ <div class="${cn(l)}" part="container">
2177
2178
  <div class="ft-select--main-panel" part="main-panel">
2178
2179
  <ft-input-label text="${this.label}"
2179
2180
  part="label"
@@ -2200,7 +2201,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2200
2201
  part="options"
2201
2202
  @keydown=${this.onOptionsKeyDown}
2202
2203
  innerrole="listbox">
2203
- ${$o(this.options,(t=>t.value),(t=>this.renderOption(t)))}
2204
+ ${wi(this.options,(t=>t.value),(t=>this.renderOption(t)))}
2204
2205
  </div>
2205
2206
  </div>
2206
2207
  ${this.helper?ce`
@@ -2211,7 +2212,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2211
2212
  @option-change=${this.updateOptionsFromSlot}
2212
2213
  ></slot>
2213
2214
  `}renderOption(t){let e=this.selectedOption===t;return ce`
2214
- <div class="${sr({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
2215
+ <div class="${cn({"ft-select--option":!0,"ft-select--option-selected":e,"ft-typography--body2":!0})}"
2215
2216
  part="option"
2216
2217
  tabindex="0"
2217
2218
  data-value="${t.value}"
@@ -2220,7 +2221,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2220
2221
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
2221
2222
  <span>${t.label}</span>
2222
2223
  </div>
2223
- `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!W(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Ya.elementDefinitions={"ft-input-label":Ta,"ft-typography":Fi,"ft-ripple":cr,"ft-icon":Sn},Ya.styles=[Ci,Ei,Va],Ga([k({type:String})],Ya.prototype,"label",void 0),Ga([k({type:String})],Ya.prototype,"helper",void 0),Ga([k({type:Boolean})],Ya.prototype,"outlined",void 0),Ga([k({type:Boolean})],Ya.prototype,"disabled",void 0),Ga([k({type:Boolean})],Ya.prototype,"error",void 0),Ga([k({type:Boolean})],Ya.prototype,"fixedMenuPosition",void 0),Ga([k({type:Array})],Ya.prototype,"options",void 0),Ga([N()],Ya.prototype,"selectedOption",void 0),Ga([N()],Ya.prototype,"optionsDisplayed",void 0),Ga([N()],Ya.prototype,"focusOptions",void 0),Ga([R(".ft-select")],Ya.prototype,"container",void 0),Ga([R(".ft-select--options")],Ya.prototype,"optionsMenu",void 0),Ga([R(".ft-select--input-panel")],Ya.prototype,"mainPanel",void 0),Ga([R(".ft-select--option:first-child")],Ya.prototype,"firstOption",void 0),Ga([R(".ft-select--option:focus")],Ya.prototype,"focusedOption",void 0),Ga([R(".ft-select--option.ft-select--option-selected")],Ya.prototype,"selectedOptionElement",void 0),Ga([R(".ft-select--option:last-child")],Ya.prototype,"lastOption",void 0),Ga([R("slot")],Ya.prototype,"optionsSlot",void 0),F("ft-select")(Ya),F("ft-select-option")(qa);const Ja={display:Ee.create("--ft-skeleton--display","","DISPLAY","block"),width:Ee.create("--ft-skeleton--width","","SIZE","100%"),height:Ee.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Ee.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Ee.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Ee.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Ee.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Ee.external(We.borderRadiusM,"Design system")},Xa=Ct`
2224
+ `}update(t){super.update(t),t.has("options")&&(this.selectedOption=this.options.filter((t=>t.selected))[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1),t.has("optionsDisplayed")&&this.fixedMenuPosition&&this.hasOptionsMenuOpen&&this.positionOptionsMenu()}positionOptionsMenu(){this.optionsMenu.style.top=this.mainPanel.getBoundingClientRect().top+this.mainPanel.getBoundingClientRect().height+"px",this.optionsMenu.style.left=this.mainPanel.getBoundingClientRect().left+"px",this.optionsMenu.style.width=this.mainPanel.getBoundingClientRect().width+"px"}contentAvailableCallback(t){var e,o;super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&(null===(o=null!==(e=this.selectedOptionElement)&&void 0!==e?e:this.firstOption)||void 0===o||o.focus(),this.focusOptions=!1)}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var e;t.stopPropagation();let o=null===(e=this.optionsSlot)||void 0===e?void 0:e.assignedElements().map((t=>t));o&&o.length>0&&(this.options=o)}onMainPanelKeyDown(t){switch(t.key){case" ":t.preventDefault(),t.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0}}onOptionsKeyDown(t){var e,o,i,r,n;let a;switch(t.key){case"Escape":this.optionsDisplayed=!1,null===(e=this.mainPanel)||void 0===e||e.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),a=null!==(i=null===(o=this.focusedOption)||void 0===o?void 0:o.previousElementSibling)&&void 0!==i?i:this.lastOption;break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),a=null!==(n=null===(r=this.focusedOption)||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.firstOption}null==a||a.focus()}onOptionKeyDown(t,e){var o;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),t.stopPropagation(),this.selectOption(e),this.optionsDisplayed=!1,null===(o=this.mainPanel)||void 0===o||o.focus())}selectOption(t){var e,o;if(!W(null===(e=this.selectedOption)||void 0===e?void 0:e.value,t.value)){this.selectedOption=t;for(let e of this.options)e.selected=e===t;this.dispatchEvent(new CustomEvent("change",{detail:null===(o=this.selectedOption)||void 0===o?void 0:o.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}}Ya.elementDefinitions={"ft-input-label":Ta,"ft-typography":Br,"ft-ripple":pn,"ft-icon":Sn},Ya.styles=[Er,Rr,Va],Ga([k({type:String})],Ya.prototype,"label",void 0),Ga([k({type:String})],Ya.prototype,"helper",void 0),Ga([k({type:Boolean})],Ya.prototype,"outlined",void 0),Ga([k({type:Boolean})],Ya.prototype,"disabled",void 0),Ga([k({type:Boolean})],Ya.prototype,"error",void 0),Ga([k({type:Boolean})],Ya.prototype,"fixedMenuPosition",void 0),Ga([k({type:Array})],Ya.prototype,"options",void 0),Ga([N()],Ya.prototype,"selectedOption",void 0),Ga([N()],Ya.prototype,"optionsDisplayed",void 0),Ga([N()],Ya.prototype,"focusOptions",void 0),Ga([R(".ft-select")],Ya.prototype,"container",void 0),Ga([R(".ft-select--options")],Ya.prototype,"optionsMenu",void 0),Ga([R(".ft-select--input-panel")],Ya.prototype,"mainPanel",void 0),Ga([R(".ft-select--option:first-child")],Ya.prototype,"firstOption",void 0),Ga([R(".ft-select--option:focus")],Ya.prototype,"focusedOption",void 0),Ga([R(".ft-select--option.ft-select--option-selected")],Ya.prototype,"selectedOptionElement",void 0),Ga([R(".ft-select--option:last-child")],Ya.prototype,"lastOption",void 0),Ga([R("slot")],Ya.prototype,"optionsSlot",void 0),F("ft-select")(Ya),F("ft-select-option")(qa);const Ja={display:Ee.create("--ft-skeleton--display","","DISPLAY","block"),width:Ee.create("--ft-skeleton--width","","SIZE","100%"),height:Ee.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:Ee.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:Ee.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:Ee.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:Ee.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:Ee.external(We.borderRadiusM,"Design system")},Xa=Ct`
2224
2225
  :host {
2225
2226
  width: ${Ja.width};
2226
2227
  height: ${Ja.height};
@@ -2247,7 +2248,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2247
2248
  background-position: calc(100vw + ${Ja.glareWidth}) 0, calc(${Ja.glareWidth} * -1) 0;
2248
2249
  }
2249
2250
  }
2250
- `,Qa={height:Ee.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:Ee.extend("--ft-search-bar-border-radius","",We.borderRadiusS),mobileOpenPosition:Ee.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:Ee.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:Ee.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:Ee.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:Ee.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:Ee.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:Ee.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:Ee.external(We.colorSurface,"Design system"),colorOnSurface:Ee.external(We.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ee.external(We.colorOnSurfaceMedium,"Design system"),colorOutline:Ee.external(We.colorOutline,"Design system"),colorPrimary:Ee.external(We.colorPrimary,"Design system"),elevation02:Ee.external(We.elevation02,"Design system"),buttonColor:Ee.external(Qi.color,"Button"),buttonRippleColor:Ee.external(Qi.rippleColor,"Button")},ts=Ct`
2251
+ `,Qa={height:Ee.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:Ee.extend("--ft-search-bar-border-radius","",We.borderRadiusS),mobileOpenPosition:Ee.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:Ee.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:Ee.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:Ee.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:Ee.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:Ee.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:Ee.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:Ee.external(We.colorSurface,"Design system"),colorOnSurface:Ee.external(We.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ee.external(We.colorOnSurfaceMedium,"Design system"),colorOutline:Ee.external(We.colorOutline,"Design system"),colorPrimary:Ee.external(We.colorPrimary,"Design system"),elevation02:Ee.external(We.elevation02,"Design system"),buttonColor:Ee.external(tn.color,"Button"),buttonRippleColor:Ee.external(tn.rippleColor,"Button")},ts=Ct`
2251
2252
  * {
2252
2253
  box-sizing: border-box;
2253
2254
  }
@@ -2350,17 +2351,17 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2350
2351
  align-items: center;
2351
2352
  height: 100%;
2352
2353
 
2353
- ${Re(hr.zIndex,`calc(${Qa.floatingZIndex} + 1)`)};
2354
+ ${Re(fn.zIndex,`calc(${Qa.floatingZIndex} + 1)`)};
2354
2355
  }
2355
2356
 
2356
2357
  .ft-search-bar > ft-button,
2357
2358
  .ft-search-bar--actions ft-button {
2358
2359
  flex-shrink: 0;
2359
- ${Re(Qi.backgroundColor,"transparent")};
2360
+ ${Re(tn.backgroundColor,"transparent")};
2360
2361
  }
2361
2362
 
2362
2363
  .ft-search-bar--left-action {
2363
- ${Re(Qi.borderRadius,`calc(${Qa.borderRadius} - 1px) 0 0 calc(${Qa.borderRadius} - 1px)`)};
2364
+ ${Re(tn.borderRadius,`calc(${Qa.borderRadius} - 1px) 0 0 calc(${Qa.borderRadius} - 1px)`)};
2364
2365
  border-right: 1px solid ${Qa.colorOutline};
2365
2366
  height: 100%;
2366
2367
  }
@@ -2370,7 +2371,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2370
2371
  }
2371
2372
 
2372
2373
  .ft-search-bar--floating-panel-open .ft-search-bar--left-action {
2373
- ${Re(Qi.borderRadius,`calc(${Qa.borderRadius} - 1px) 0 0 0`)};
2374
+ ${Re(tn.borderRadius,`calc(${Qa.borderRadius} - 1px) 0 0 0`)};
2374
2375
  }
2375
2376
 
2376
2377
  .ft-search-bar .ft-search-bar--launch-search,
@@ -2430,7 +2431,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2430
2431
  flex-shrink: 0;
2431
2432
  padding: 0 10px;
2432
2433
  margin-bottom: 8px;
2433
- ${Re(Fo.fontSize,"14px")};
2434
+ ${Re(Bi.fontSize,"14px")};
2434
2435
  }
2435
2436
 
2436
2437
  [part="content-locale-selector-label"] {
@@ -2438,8 +2439,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2438
2439
  flex-shrink: 1;
2439
2440
  flex-grow: 1;
2440
2441
  word-break: break-word;
2441
- ${Re(Fo.lineHeight,"22px")};
2442
- ${Re(Fo.fontWeight,"bold")};
2442
+ ${Re(Bi.lineHeight,"22px")};
2443
+ ${Re(Bi.fontWeight,"bold")};
2443
2444
  }
2444
2445
 
2445
2446
  `,es=Ct`
@@ -2603,12 +2604,12 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2603
2604
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
2604
2605
  margin: 0;
2605
2606
  }
2606
- `;class os extends je{render(){return ce`
2607
+ `;class os extends To{render(){return ce`
2607
2608
  `}}os.elementDefinitions={},os.styles=Xa,F("ft-skeleton")(os);class is{constructor(t,o=300){this.searchBar=t,this.updateDebouncer=new e(o)}render(){const t=this.searchBar.recentSearches.filter((t=>t.toLowerCase().includes(this.searchBar.query.toLowerCase()))),e=this.searchBar.suggestions.length>0||t.length>0;return ce`
2608
2609
  <div class="ft-search-bar--suggestions ft-word-wrap ${e?"ft-search-bar--suggestions-not-empty":""}"
2609
2610
  part="suggestions-container"
2610
2611
  @keydown=${t=>this.onSuggestKeyDown(t)}>
2611
- ${$o(t.slice(0,5),(t=>t),(t=>ce`
2612
+ ${wi(t.slice(0,5),(t=>t),(t=>ce`
2612
2613
  <a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:t})}"
2613
2614
  part="suggestions"
2614
2615
  class="ft-search-bar--suggestion ft-search-bar--recent-search"
@@ -2626,7 +2627,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2626
2627
  @click=${e=>this.removeRecentSearch(e,t)}></ft-button>
2627
2628
  </a>
2628
2629
  `))}
2629
- ${$o(this.searchBar.suggestions,(t=>t.value),(t=>ce`
2630
+ ${wi(this.searchBar.suggestions,(t=>t.value),(t=>ce`
2630
2631
  <a href="${this.searchBar.searchRequestSerializer({...this.searchBar.request,query:t.value})}"
2631
2632
  part="suggestions"
2632
2633
  class="ft-search-bar--suggestion"
@@ -2640,7 +2641,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2640
2641
  </div>
2641
2642
  `}update(){return new Promise(((t,e)=>{this.updateDebouncer.run((async()=>{this.searchBar.suggestions=this.searchBar.api&&this.searchBar.query.length>2?await this.searchBar.api.getSuggestions(this.searchBar.suggestRequest).then((t=>t.suggestions)).catch((()=>[])):[],t()}))}))}onSuggestKeyDown(t){var e,o,i,r,n,a;switch(t.key){case"ArrowUp":null===(i=null!==(o=null===(e=this.getFocusedSuggestionElement())||void 0===e?void 0:e.previousElementSibling)&&void 0!==o?o:this.getLastSuggestionElement())||void 0===i||i.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(a=null!==(n=null===(r=this.getFocusedSuggestionElement())||void 0===r?void 0:r.nextElementSibling)&&void 0!==n?n:this.getFirstSuggestionElement())||void 0===a||a.focus(),t.preventDefault(),t.stopPropagation()}}onSuggestKeyUp(t,e){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,e)}onSuggestClick(t,e){t.ctrlKey||t.metaKey||this.onSuggestSelected(t,e)}onSuggestSelected(t,e){t.preventDefault(),t.stopPropagation(),this.searchBar.setQuery(e),this.searchBar.launchSearch()}removeRecentSearch(t,e){var o,i;t.preventDefault(),t.stopPropagation();let r=t.target.closest(".ft-search-bar--suggestion");const n=null!==(i=null!==(o=null==r?void 0:r.previousElementSibling)&&void 0!==o?o:null==r?void 0:r.nextElementSibling)&&void 0!==i?i:this.searchBar.input;null==n||n.focus(),this.searchBar.recentSearches=this.searchBar.recentSearches.filter((t=>t.toLowerCase()!==e.toLowerCase())),this.searchBar.saveRecentSearches()}getIcon(t){const e="DOCUMENT"===t.type?wn.file_format:wn.fluid_topics;let o;switch(t.type){case"MAP":o="BOOK"===t.editorialType?mn.BOOK:mn.ARTICLE;break;case"DOCUMENT":o=function(t,e){var o,i,r,n;t=(null!=t?t:"").toLowerCase(),e=(null!=e?e:"").toLowerCase();const[a,s]=((null!==(o=$n.get(t))&&void 0!==o?o:t)+"/").split("/");return null!==(n=null!==(r=null!==(i=xn.get(s))&&void 0!==i?i:xn.get(e))&&void 0!==r?r:xn.get(a))&&void 0!==n?n:vn.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":o=mn.TOPICS}return ce`
2642
2643
  <ft-icon .variant="${e}" .value="${o}" part="suggestion-icon"></ft-icon>
2643
- `}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let t=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}}is.styles=[_e,Ct`
2644
+ `}getFocusedSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion:focus-within")}getLastSuggestionElement(){let t=this.searchBar.querySelectorAll(".ft-search-bar--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.searchBar.querySelector(".ft-search-bar--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}}is.styles=[Go,Ct`
2644
2645
  .ft-search-bar--mobile .ft-search-bar--suggestions {
2645
2646
  flex-grow: 1;
2646
2647
  flex-shrink: 1;
@@ -2723,7 +2724,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2723
2724
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
2724
2725
  </ft-chip>
2725
2726
  `:null}
2726
- ${$o(this.searchBar.facets,(t=>t.key),(o=>{const i=function(t){return z(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}(o);return $o(i,(r=>{let n=o.label+": "+function(t){return Bi(t).split("|").join(" > ")}(r);const a=o.key.replace(":","-"),s=ce`
2727
+ ${wi(this.searchBar.facets,(t=>t.key),(o=>{const i=function(t){return z(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}(o);return wi(i,(r=>{let n=o.label+": "+function(t){return Dr(t).split("|").join(" > ")}(r);const a=o.key.replace(":","-"),s=ce`
2727
2728
  <ft-chip
2728
2729
  part="selected-filters selected-filter-${a}"
2729
2730
  ?dense=${this.searchBar.dense&&!t}
@@ -2736,7 +2737,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2736
2737
  @icon-click=${()=>this.searchBar.setFilter(o.key,i.filter((t=>t!==r)))}
2737
2738
  data-key="${o.key}"
2738
2739
  data-value="${r}">
2739
- ${function(t){return Bi(t).split("|").pop()}(r)}
2740
+ ${function(t){return Dr(t).split("|").pop()}(r)}
2740
2741
  </ft-chip>
2741
2742
  `;return e?s:ce`
2742
2743
  <ft-tooltip inline text="${n}">
@@ -2793,7 +2794,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2793
2794
  flex-grow: 0;
2794
2795
  }
2795
2796
  `;class ns{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new rs(t),this.suggestManager=null!=o?o:new is(t)}render(){const t={"ft-search-bar--container":!0,"ft-search-bar--mobile":!0,"ft-search-bar--mobile-menu-open":this.searchBar.isMobileMenuOpen(),"ft-search-bar--forced-open":this.searchBar.forceMobileMenuOpen};return ce`
2796
- <div class="${sr(t)}" part="container" tabindex="-1">
2797
+ <div class="${cn(t)}" part="container" tabindex="-1">
2797
2798
  <div class="ft-search-bar">
2798
2799
  <div class="ft-search-bar--input-container" part="input-container">
2799
2800
  <div class="ft-search-bar--input-outline" part="input-outline">
@@ -2844,7 +2845,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2844
2845
  `}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}ns.styles=Ct`
2845
2846
 
2846
2847
  `;class as{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new rs(t),this.suggestManager=null!=o?o:new is(t)}render(){const t={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen,"ft-search-bar--react-to-focus":this.searchBar.reactToFocus};return ce`
2847
- <div class="${sr(t)}" part="container" tabindex="-1">
2848
+ <div class="${cn(t)}" part="container" tabindex="-1">
2848
2849
  <div class="ft-search-bar" part="search-bar">
2849
2850
  ${this.renderSearchBarLeftAction()}
2850
2851
  <div class="ft-search-bar--input-container" part="input-container" tabindex="-1">
@@ -2882,7 +2883,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2882
2883
  part="content-locale select-ft-locale"
2883
2884
  .exportpartsPrefixes=${["content-locale","select-ft-locale"]}
2884
2885
  @change=${t=>this.searchBar.contentLocale=null==t.detail?void 0:t.detail}>
2885
- ${$o(this.searchBar.availableContentLocales,(t=>t.lang),(t=>ce`
2886
+ ${wi(this.searchBar.availableContentLocales,(t=>t.lang),(t=>ce`
2886
2887
  <ft-select-option .value=${t.lang}
2887
2888
  label="${t.label}"
2888
2889
  ?selected=${t.lang===this.searchBar.contentLocale}>
@@ -2912,7 +2913,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2912
2913
  </div>
2913
2914
  `}onSearchBarKeyDown(t){var e;switch(t.key){case"Escape":this.searchBar.mobileMenuOpen=!1,null===(e=this.searchBar.input)||void 0===e||e.blur();break;case"ArrowDown":t.stopPropagation(),t.preventDefault(),this.suggestManager.focusFirstSuggestion()}}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}as.styles=Ct`
2914
2915
 
2915
- `;var ss=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const ls={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class cs extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class hs extends CustomEvent{constructor(t){super("change",{detail:t})}}const ps=()=>{};class fs extends je{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Ge(ls,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=wo.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new is(this),this.selectedFacetsManager=new rs(this),this.desktopSearchBarManager=new as(this),this.mobileSearchBarManager=new ns(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new e(10),this.updateLocalesDebouncer=new e(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===wo.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(){await U((()=>this.input),50),this.input.focus()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return ce`
2916
+ `;var ss=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};null==window.fluidtopics&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");const ls={filtersButton:"Filters",inputPlaceHolder:"Search",filterInputPlaceHolder:"Filter {0}",clearInputButton:"Clear",clearFilterButton:"Clear",displayMoreFilterValuesButton:"More",noFilterValuesAvailable:"No values available",searchButton:"Search",clearFilters:"Clear filters",contentLocaleSelector:"Lang",presetsSelector:"Quick filters",removeRecentSearch:"Remove",back:"Back"};class cs extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class hs extends CustomEvent{constructor(t){super("change",{detail:t})}}const ps=()=>{};class fs extends To{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new Yo(ls,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=t=>function(t,e){var o;const i=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");i.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${i.toString()}`).href}(this.baseUrl,t),this.focusOnDisplay=!1,this.searchFilters=[],this.sizeCategory=Oi.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.reactToFocus=!0,this.suggestManager=new is(this),this.selectedFacetsManager=new rs(this),this.desktopSearchBarManager=new as(this),this.mobileSearchBarManager=new ns(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new e(10),this.updateLocalesDebouncer=new e(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new e(500),this.closeFloatingContainer=t=>{this.isMobile()||(this.displayFacets=this.displayFacets&&t.composedPath().some((t=>t===this.floatingContainer)))},this.compareFilters=(t,e)=>t.key===e.key&&t.negative==e.negative&&t.values.length===e.values.length&&t.values.every((t=>e.values.includes(t))),this.compareRequests=(t,e)=>(null==t.contentLocale||null==e.contentLocale||t.contentLocale===e.contentLocale)&&t.filters.length===e.filters.length&&t.filters.every((t=>e.filters.some((e=>this.compareFilters(t,e))))),this.enableFocusReactionCallback=()=>this.enableFocusReaction()}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,filters:this.searchFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){const t=this.searchFilters.filter((t=>t.values.length>0&&!this.displayedFilters.includes(t.key))).map((t=>({id:t.key})));return[...this.displayedFilters.map((t=>({id:t}))),...t]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,filters:this.searchFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===Oi.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return null!=this.presets&&this.presets.length>0}get hasPriors(){return null!=this.priors&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var t;null===(t=this.container)||void 0===t||t.focus()}async focusInput(){await U((()=>this.input),50),this.input.focus()}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return ce`
2916
2917
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2917
2918
  ${this.renderSearchBar()}
2918
2919
  `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():ce`
@@ -2937,7 +2938,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2937
2938
  </div>
2938
2939
  </ft-accordion-item>
2939
2940
  `:null}
2940
- ${$o(this.facets,(t=>t.key),(t=>{const e=Ki(t),o=t.key.replace(":","-"),i=function(t){return z(t.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).filter((t=>t.selected)).map((t=>t.label))}(e);return t.rootNodes.length>0?ce`
2941
+ ${wi(this.facets,(t=>t.key),(t=>{const e=Zr(t),o=t.key.replace(":","-"),i=function(t){return z(t.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).filter((t=>t.selected)).map((t=>t.label))}(e);return t.rootNodes.length>0?ce`
2941
2942
  <ft-accordion-item data-facet-key="${t.key}">
2942
2943
  <div class="ft-search-bar--filter-label" slot="toggle">
2943
2944
  <ft-typography variant="button">${t.label}</ft-typography>
@@ -2967,7 +2968,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2967
2968
  `}getContentLocaleRadioGroup(){var t;return ce`
2968
2969
  <ft-radio-group
2969
2970
  @change=${t=>{this.contentLocale="all"===t.detail?void 0:t.detail,this.clearFilters()}}>
2970
- ${$o(null!==(t=this.availableContentLocales)&&void 0!==t?t:[],(t=>t.lang),(t=>{var e;return ce`
2971
+ ${wi(null!==(t=this.availableContentLocales)&&void 0!==t?t:[],(t=>t.lang),(t=>{var e;return ce`
2971
2972
  <ft-radio value="${null!==(e=t.lang)&&void 0!==e?e:"all"}"
2972
2973
  ?checked=${t.lang==this.contentLocale}>
2973
2974
  ${t.label}
@@ -2997,7 +2998,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2997
2998
  label="${this.labelResolver.resolve("presetsSelector")}"
2998
2999
  outlined
2999
3000
  @change=${t=>this.selectedPreset=t.detail}>
3000
- ${$o(null!==(t=this.presets)&&void 0!==t?t:[],(t=>t.name),(t=>ce`
3001
+ ${wi(null!==(t=this.presets)&&void 0!==t?t:[],(t=>t.name),(t=>ce`
3001
3002
  <ft-select-option value="${t.name}"
3002
3003
  label="${t.name}"
3003
3004
  ?selected=${t.name===this.selectedPreset}>
@@ -3029,7 +3030,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
3029
3030
  ${this.getContentLocaleRadioGroup()}
3030
3031
  </div>
3031
3032
  `:pe}
3032
- ${$o(this.facets,(t=>t.key),(t=>{const e=Ki(t),o=e.options.some((t=>{var e,o;return(null!==(o=null===(e=t.subOptions)||void 0===e?void 0:e.length)&&void 0!==o?o:0)>0})),i=t.key.replace(":","-");return ce`
3033
+ ${wi(this.facets,(t=>t.key),(t=>{const e=Zr(t),o=e.options.some((t=>{var e,o;return(null!==(o=null===(e=t.subOptions)||void 0===e?void 0:e.length)&&void 0!==o?o:0)>0})),i=t.key.replace(":","-");return ce`
3033
3034
  <ft-filter
3034
3035
  class="${o?"ft-search-bar--hierarchical-filter":""}"
3035
3036
  part="filters filter filter-${i}"
@@ -3048,11 +3049,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
3048
3049
  ></ft-filter>
3049
3050
  `}))}
3050
3051
  </ft-snap-scroll>
3051
- `:pe}async firstUpdated(t){super.firstUpdated(t),this.initApi(),window.addEventListener("storage",(t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()}))}update(t){var e,o,i,r,n;if(t.has("labels")&&(this.labelResolver=new Ge(ls,this.labels)),t.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(t),(t.has("availableContentLocales")||t.has("contentLocale"))&&this.availableContentLocales.length>0){const o=t=>this.availableContentLocales.some((e=>e.lang==t));o(this.contentLocale)||(this.contentLocale=t.has("contentLocale")&&o(t.get("contentLocale"))?t.get("contentLocale"):null===(e=this.availableContentLocales[0])||void 0===e?void 0:e.lang)}if(t.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),t.has("presets")&&(null!==(o=this.presets)&&void 0!==o?o:[]).forEach((t=>t.filters.forEach((t=>t.values=t.values.map((t=>Bi(t))))))),t.has("presets")||t.has("selectedPreset")){const t=(null!==(i=this.presets)&&void 0!==i?i:[]).find((t=>t.name===this.selectedPreset));t&&!this.compareRequests(this.request,t)&&this.setFiltersFromPreset(t)}t.has("contentLocale")&&null!=this.contentLocale&&(this.knownFacetLabels=new Map),["contentLocale","searchFilters"].some((e=>t.has(e)))&&(this.selectedPreset=null===(n=(null!==(r=this.presets)&&void 0!==r?r:[]).find((t=>this.compareRequests(t,this.request))))||void 0===n?void 0:n.name),["baseUrl","apiIntegrationIdentifier"].some((e=>t.has(e)))&&(this.api=void 0,this.initApi()),t.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","searchFilters","displayedFilters"].some((e=>t.has(e)))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some((e=>t.has(e)))&&this.suggestManager.update(),["query","uiLocale","contentLocale","searchFilters"].some((e=>t.has(e)))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run((()=>this.dispatchEvent(new hs(this.request))))}initSearchData(){this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run((()=>{var t;null===(t=this.api)||void 0===t||t.getAvailableSearchLocales().then((t=>t.contentLocales)).catch((()=>[])).then((t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0}))})),this.updateFacetsDebouncer.run((()=>{this.retrieveFacetsFromSearch().then((()=>{this.facetsLoaded=!0,this.facetsInitialized=!0}))}),this.facetsInitialized?500:10)}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run((async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0}),this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(t){var e,o,i;if(super.contentAvailableCallback(t),t.has("displayFacets")&&this.displayFacets&&(null===(e=this.floatingContainer)||void 0===e||e.focus()),null!=this.scrollToFacet&&this.facetsLoaded){null===(o=this.scrollingFiltersContainer)||void 0===o||o.scrollIndexIntoView(this.facets.findIndex((t=>t.key===this.scrollToFacet)));const t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);t&&(t.active=!0),this.scrollToFacet=void 0}}initApi(){null==this.api&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout((()=>this.initApi()),10))}async retrieveFacetsFromSearch(){var t;const e=new Map;await(null===(t=this.api)||void 0===t?void 0:t.search({...this.request,query:""}).then((t=>t.facets.forEach((t=>{this.knownFacetLabels.set(t.key,t.label),e.set(t.key,t)})))).catch(ps)),this.facets=[];for(let t of this.facetsRequest)e.has(t.id)?this.facets.push(e.get(t.id)):this.knownFacetLabels.has(t.id)&&this.facets.push({key:t.id,label:this.knownFacetLabels.get(t.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(t){var e;"Escape"===t.key&&(this.displayFacets=!1,null===(e=this.filtersOpener)||void 0===e||e.focus())}setQuery(t){this.input&&(this.input.value=t),this.query=t}launchSearch(){if(this.query){let t=this.recentSearches.filter((t=>t.toLowerCase()!==this.query.toLowerCase())).filter(((t,e)=>e<20));this.recentSearches=[this.query,...t],this.saveRecentSearches()}this.dispatchEvent(new cs(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var t;this.recentSearches=JSON.parse(null!==(t=window.localStorage.getItem(this.recentSearchesStorageKey))&&void 0!==t?t:"[]")}saveRecentSearches(){const t=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,t),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:t,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!lo&&(this.reactToFocus=!1,await this.focusInput(),this.enableFocusReactionOnAnyUserInteraction())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}updateSize(t){this.sizeCategory=t.detail.category}setFilter(t,e){let o=this.searchFilters.filter((e=>e.key!==t));this.facets.forEach((o=>{o.key===t&&z(o.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=e.includes(t.value)))})),e.length&&o.push({key:t,negative:!1,values:e}),this.searchFilters=o,this.scrollToFacet=t}setFiltersFromPreset(t){null!=t&&(null!=t.contentLocale&&(this.contentLocale=t.contentLocale),this.searchFilters=t.filters)}clearFilters(){this.facets.forEach((t=>z(t.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=!1)))),this.searchFilters=[];const t=this.facets[0];this.scrollToFacet=null==t?void 0:t.key}querySelector(t){return this.shadowRoot.querySelector(t)}querySelectorAll(t){return this.shadowRoot.querySelectorAll(t)}renderDesktopFloatingMenu(){return this.forceMenuOpen?pe:ce`
3052
+ `:pe}async firstUpdated(t){super.firstUpdated(t),this.initApi(),window.addEventListener("storage",(t=>{t.key===this.recentSearchesStorageKey&&this.initRecentSearches()}))}update(t){var e,o,i,r,n;if(t.has("labels")&&(this.labelResolver=new Yo(ls,this.labels)),t.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(t),(t.has("availableContentLocales")||t.has("contentLocale"))&&this.availableContentLocales.length>0){const o=t=>this.availableContentLocales.some((e=>e.lang==t));o(this.contentLocale)||(this.contentLocale=t.has("contentLocale")&&o(t.get("contentLocale"))?t.get("contentLocale"):null===(e=this.availableContentLocales[0])||void 0===e?void 0:e.lang)}if(t.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),t.has("presets")&&(null!==(o=this.presets)&&void 0!==o?o:[]).forEach((t=>t.filters.forEach((t=>t.values=t.values.map((t=>Dr(t))))))),t.has("presets")||t.has("selectedPreset")){const t=(null!==(i=this.presets)&&void 0!==i?i:[]).find((t=>t.name===this.selectedPreset));t&&!this.compareRequests(this.request,t)&&this.setFiltersFromPreset(t)}t.has("contentLocale")&&null!=this.contentLocale&&(this.knownFacetLabels=new Map),["contentLocale","searchFilters"].some((e=>t.has(e)))&&(this.selectedPreset=null===(n=(null!==(r=this.presets)&&void 0!==r?r:[]).find((t=>this.compareRequests(t,this.request))))||void 0===n?void 0:n.name),["baseUrl","apiIntegrationIdentifier"].some((e=>t.has(e)))&&(this.api=void 0,this.initApi()),t.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","searchFilters","displayedFilters"].some((e=>t.has(e)))&&this.updateFacets(),["query","uiLocale","contentLocale","searchFilters","displayedFilters","api"].some((e=>t.has(e)))&&this.suggestManager.update(),["query","uiLocale","contentLocale","searchFilters"].some((e=>t.has(e)))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run((()=>this.dispatchEvent(new hs(this.request))))}initSearchData(){this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run((()=>{var t;null===(t=this.api)||void 0===t||t.getAvailableSearchLocales().then((t=>t.contentLocales)).catch((()=>[])).then((t=>{this.availableContentLocales=t,this.availableContentLocalesInitialized=!0}))})),this.updateFacetsDebouncer.run((()=>{this.retrieveFacetsFromSearch().then((()=>{this.facetsLoaded=!0,this.facetsInitialized=!0}))}),this.facetsInitialized?500:10)}updateFacets(){this.api&&(this.facetsRequest.length>0?(this.facetsLoaded=!1,this.updateFacetsDebouncer.run((async()=>{await this.retrieveFacetsFromSearch(),this.facetsLoaded=!0,this.facetsInitialized=!0}),this.facetsInitialized?500:10)):this.facets=[])}contentAvailableCallback(t){var e,o,i;if(super.contentAvailableCallback(t),t.has("displayFacets")&&this.displayFacets&&(null===(e=this.floatingContainer)||void 0===e||e.focus()),null!=this.scrollToFacet&&this.facetsLoaded){null===(o=this.scrollingFiltersContainer)||void 0===o||o.scrollIndexIntoView(this.facets.findIndex((t=>t.key===this.scrollToFacet)));const t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`ft-accordion-item[data-facet-key="${this.scrollToFacet}"]`);t&&(t.active=!0),this.scrollToFacet=void 0}}initApi(){null==this.api&&(this.api=window.fluidtopics?new window.fluidtopics.FluidTopicsApi(this.baseUrl,this.apiIntegrationIdentifier,!0):void 0,setTimeout((()=>this.initApi()),10))}async retrieveFacetsFromSearch(){var t;const e=new Map;await(null===(t=this.api)||void 0===t?void 0:t.search({...this.request,query:""}).then((t=>t.facets.forEach((t=>{this.knownFacetLabels.set(t.key,t.label),e.set(t.key,t)})))).catch(ps)),this.facets=[];for(let t of this.facetsRequest)e.has(t.id)?this.facets.push(e.get(t.id)):this.knownFacetLabels.has(t.id)&&this.facets.push({key:t.id,label:this.knownFacetLabels.get(t.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(t){var e;"Escape"===t.key&&(this.displayFacets=!1,null===(e=this.filtersOpener)||void 0===e||e.focus())}setQuery(t){this.input&&(this.input.value=t),this.query=t}launchSearch(){if(this.query){let t=this.recentSearches.filter((t=>t.toLowerCase()!==this.query.toLowerCase())).filter(((t,e)=>e<20));this.recentSearches=[this.query,...t],this.saveRecentSearches()}this.dispatchEvent(new cs(this.request)),this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var t;this.recentSearches=JSON.parse(null!==(t=window.localStorage.getItem(this.recentSearchesStorageKey))&&void 0!==t?t:"[]")}saveRecentSearches(){const t=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,t),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:t,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!hi&&(this.reactToFocus=!1,await this.focusInput(),this.enableFocusReactionOnAnyUserInteraction())}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}updateSize(t){this.sizeCategory=t.detail.category}setFilter(t,e){let o=this.searchFilters.filter((e=>e.key!==t));this.facets.forEach((o=>{o.key===t&&z(o.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=e.includes(t.value)))})),e.length&&o.push({key:t,negative:!1,values:e}),this.searchFilters=o,this.scrollToFacet=t}setFiltersFromPreset(t){null!=t&&(null!=t.contentLocale&&(this.contentLocale=t.contentLocale),this.searchFilters=t.filters)}clearFilters(){this.facets.forEach((t=>z(t.rootNodes,(t=>t.childNodes)).forEach((t=>t.selected=!1)))),this.searchFilters=[];const t=this.facets[0];this.scrollToFacet=null==t?void 0:t.key}querySelector(t){return this.shadowRoot.querySelector(t)}querySelectorAll(t){return this.shadowRoot.querySelectorAll(t)}renderDesktopFloatingMenu(){return this.forceMenuOpen?pe:ce`
3052
3053
  <div class="ft-search-bar--floating-panel"
3053
3054
  id="ft-search-bar-floating-panel"
3054
3055
  @keyup=${this.onFloatingContainerKeyUp}
3055
3056
  part="floating-panel"
3056
3057
  tabindex="-1">
3057
3058
  ${this.renderDesktopMenu()}
3058
- </div>`}enableFocusReactionOnAnyUserInteraction(){var t,e,o;null===(t=this.container)||void 0===t||t.addEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.addEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){var t,e,o;this.reactToFocus=!0,null===(t=this.container)||void 0===t||t.removeEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.removeEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.removeEventListener("keyup",this.enableFocusReactionCallback)}}fs.elementDefinitions={"ft-accordion":ka,"ft-accordion-item":La,"ft-button":Rn,"ft-chip":Aa,"ft-filter":xa,"ft-filter-option":wa,"ft-icon":Sn,"ft-ripple":cr,"ft-select":Ya,"ft-select-option":qa,"ft-size-watcher":No,"ft-skeleton":os,"ft-snap-scroll":sa,"ft-tooltip":bn,"ft-typography":Fi,"ft-radio-group":Xn,"ft-radio":qn},fs.styles=[Ci,ts,es,rs.styles,is.styles],ss([k({type:Boolean})],fs.prototype,"dense",void 0),ss([k()],fs.prototype,"mode",void 0),ss([k({type:Boolean})],fs.prototype,"forceMobileMenuOpen",void 0),ss([k({type:Boolean})],fs.prototype,"forceMenuOpen",void 0),ss([k()],fs.prototype,"baseUrl",void 0),ss([k()],fs.prototype,"apiIntegrationIdentifier",void 0),ss([k()],fs.prototype,"contentLocale",void 0),ss([N()],fs.prototype,"availableContentLocales",void 0),ss([N()],fs.prototype,"availableContentLocalesInitialized",void 0),ss([k()],fs.prototype,"uiLocale",void 0),ss([B({})],fs.prototype,"labels",void 0),ss([B([])],fs.prototype,"displayedFilters",void 0),ss([B([])],fs.prototype,"presets",void 0),ss([k({type:String,reflect:!0})],fs.prototype,"selectedPreset",void 0),ss([B([])],fs.prototype,"priors",void 0),ss([k()],fs.prototype,"searchRequestSerializer",void 0),ss([k({type:Boolean})],fs.prototype,"focusOnDisplay",void 0),ss([N()],fs.prototype,"searchFilters",void 0),ss([N()],fs.prototype,"sizeCategory",void 0),ss([N()],fs.prototype,"displayFacets",void 0),ss([N()],fs.prototype,"mobileMenuOpen",void 0),ss([N()],fs.prototype,"facets",void 0),ss([N()],fs.prototype,"facetsInitialized",void 0),ss([R(".ft-search-bar--container")],fs.prototype,"container",void 0),ss([R(".ft-search-bar--filters-opener")],fs.prototype,"filtersOpener",void 0),ss([R(".ft-search-bar--floating-panel")],fs.prototype,"floatingContainer",void 0),ss([R("ft-snap-scroll.ft-search-bar--filters-container")],fs.prototype,"scrollingFiltersContainer",void 0),ss([R(".ft-search-bar--input")],fs.prototype,"input",void 0),ss([N()],fs.prototype,"query",void 0),ss([N()],fs.prototype,"suggestions",void 0),ss([N()],fs.prototype,"recentSearches",void 0),ss([N()],fs.prototype,"scrollToFacet",void 0),ss([N()],fs.prototype,"api",void 0),ss([N()],fs.prototype,"reactToFocus",void 0),ss([N()],fs.prototype,"facetsLoaded",void 0),F("ft-search-bar")(fs),t.DEFAULT_LABELS=ls,t.FtSearchBar=fs,t.FtSearchBarCssVariables=Qa,t.LaunchSearchEvent=cs,t.SearchStateChangeEvent=hs,t.facetsCss=es,t.searchBarCss=ts}({});
3059
+ </div>`}enableFocusReactionOnAnyUserInteraction(){var t,e,o;null===(t=this.container)||void 0===t||t.addEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.addEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.addEventListener("keyup",this.enableFocusReactionCallback)}enableFocusReaction(){var t,e,o;this.reactToFocus=!0,null===(t=this.container)||void 0===t||t.removeEventListener("blur",this.enableFocusReactionCallback),null===(e=this.container)||void 0===e||e.removeEventListener("click",this.enableFocusReactionCallback),null===(o=this.container)||void 0===o||o.removeEventListener("keyup",this.enableFocusReactionCallback)}}fs.elementDefinitions={"ft-accordion":ka,"ft-accordion-item":La,"ft-button":Rn,"ft-chip":Aa,"ft-filter":xa,"ft-filter-option":wa,"ft-icon":Sn,"ft-ripple":pn,"ft-select":Ya,"ft-select-option":qa,"ft-size-watcher":Ci,"ft-skeleton":os,"ft-snap-scroll":sa,"ft-tooltip":bn,"ft-typography":Br,"ft-radio-group":Xn,"ft-radio":qn},fs.styles=[Er,ts,es,rs.styles,is.styles],ss([k({type:Boolean})],fs.prototype,"dense",void 0),ss([k()],fs.prototype,"mode",void 0),ss([k({type:Boolean})],fs.prototype,"forceMobileMenuOpen",void 0),ss([k({type:Boolean})],fs.prototype,"forceMenuOpen",void 0),ss([k()],fs.prototype,"baseUrl",void 0),ss([k()],fs.prototype,"apiIntegrationIdentifier",void 0),ss([k()],fs.prototype,"contentLocale",void 0),ss([N()],fs.prototype,"availableContentLocales",void 0),ss([N()],fs.prototype,"availableContentLocalesInitialized",void 0),ss([k()],fs.prototype,"uiLocale",void 0),ss([B({})],fs.prototype,"labels",void 0),ss([B([])],fs.prototype,"displayedFilters",void 0),ss([B([])],fs.prototype,"presets",void 0),ss([k({type:String,reflect:!0})],fs.prototype,"selectedPreset",void 0),ss([B([])],fs.prototype,"priors",void 0),ss([k()],fs.prototype,"searchRequestSerializer",void 0),ss([k({type:Boolean})],fs.prototype,"focusOnDisplay",void 0),ss([N()],fs.prototype,"searchFilters",void 0),ss([N()],fs.prototype,"sizeCategory",void 0),ss([N()],fs.prototype,"displayFacets",void 0),ss([N()],fs.prototype,"mobileMenuOpen",void 0),ss([N()],fs.prototype,"facets",void 0),ss([N()],fs.prototype,"facetsInitialized",void 0),ss([R(".ft-search-bar--container")],fs.prototype,"container",void 0),ss([R(".ft-search-bar--filters-opener")],fs.prototype,"filtersOpener",void 0),ss([R(".ft-search-bar--floating-panel")],fs.prototype,"floatingContainer",void 0),ss([R("ft-snap-scroll.ft-search-bar--filters-container")],fs.prototype,"scrollingFiltersContainer",void 0),ss([R(".ft-search-bar--input")],fs.prototype,"input",void 0),ss([N()],fs.prototype,"query",void 0),ss([N()],fs.prototype,"suggestions",void 0),ss([N()],fs.prototype,"recentSearches",void 0),ss([N()],fs.prototype,"scrollToFacet",void 0),ss([N()],fs.prototype,"api",void 0),ss([N()],fs.prototype,"reactToFocus",void 0),ss([N()],fs.prototype,"facetsLoaded",void 0),F("ft-search-bar")(fs),t.DEFAULT_LABELS=ls,t.FtSearchBar=fs,t.FtSearchBarCssVariables=Qa,t.LaunchSearchEvent=cs,t.SearchStateChangeEvent=hs,t.facetsCss=es,t.searchBarCss=ts}({});