@fluid-topics/ft-search-bar 1.1.2 → 1.1.4

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.
@@ -12,43 +12,43 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=o.call(i,t);h||(h=p(t),e.call(i,t,h)),this===window.customElements&&(a.set(r,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=h(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const y=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(or){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);f(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let h=o.call(i,t);h||(h=p(t),e.call(i,t,h)),this===window.customElements&&(a.set(r,c),c.standInClass=h);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const b=this._whenDefinedPromises.get(t);return void 0!==b&&(b.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,h=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=h(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},f=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},b=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=b.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const y=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};y(ShadowRoot,"createElement",document),y(ShadowRoot,"importNode",document),y(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(en){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const o=globalThis,i=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(i&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&n.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return a(e)})(t):t
20
+ */const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),r=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:l,defineProperty:c,getOwnPropertyDescriptor:h,getOwnPropertyNames:p,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,u=globalThis,b=u.trustedTypes,g=b?b.emptyScript:"",y=u.reactiveElementPolyfillSupport,m=(t,e)=>t,v={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},x=(t,e)=>!l(t,e),$={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:x};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let O=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=$){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=h(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...p(t),...f(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(s(t))}else void 0!==t&&e.push(s(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=o.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:v).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:v;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??x)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[m("elementProperties")]=new Map,O[m("finalized")]=new Map,y?.({ReactiveElement:O}),(u.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:h,getOwnPropertySymbols:p,getPrototypeOf:f}=Object,d=globalThis,u=d.trustedTypes,b=u?u.emptyScript:"",g=d.reactiveElementPolyfillSupport,y=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?b:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!s(t,e),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),d.litPropertyMetadata??=new WeakMap;let $=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&l(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(y("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(y("properties"))){const t=this.properties,e=[...h(t),...p(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{if(o)t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of i){const i=document.createElement("style"),r=e.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=o.cssText,t.appendChild(i)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[y("elementProperties")]=new Map,$[y("finalized")]=new Map,g?.({ReactiveElement:$}),(d.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const w={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:x},S=(t=w,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function k(t){return(e,o)=>"object"==typeof o?S(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
31
+ const w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},O=(t=w,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function S(t){return(e,o)=>"object"==typeof o?O(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2017 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function N(t){return k({...t,state:!0,attribute:!1})}
36
+ */}function k(t){return S({...t,state:!0,attribute:!1})}
37
37
  /**
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const C=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
41
+ */const N=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */;function E(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return C(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return C(0,0,{get(){return n(this)}})}}
46
+ */;function C(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return N(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return N(0,0,{get(){return n(this)}})}}
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */let R;function I(t,e){return t.flatMap((t=>[t,...I(e(t),e)]))}function U(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!U(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!U(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const L=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function z(t,e){const o=()=>JSON.parse(JSON.stringify(t));return k({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!U(t,e),...null!=e?e:{}})}
51
+ */let E;class R{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function I(t,e){return t.flatMap((t=>[t,...I(e(t),e)]))}function L(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!L(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!L(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!L(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const U=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function z(t,e){const o=()=>JSON.parse(JSON.stringify(t));return S({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!L(t,e),...null!=e?e:{}})}
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
@@ -59,12 +59,12 @@ const w={attribute:!0,type:String,converter:v,reflect:!1,hasChanged:x},S=(t=w,e,
59
59
  * Copyright 2019 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
61
  */
62
- const mt=globalThis,vt=mt.ShadowRoot&&(void 0===mt.ShadyCSS||mt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),$t=new WeakMap;let Ot=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==xt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(vt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=$t.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&$t.set(e,t))}return t}toString(){return this.cssText}};const wt=t=>new Ot("string"==typeof t?t:t+"",void 0,xt),St=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new Ot(o,t,xt)},kt=vt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return wt(e)})(t):t
62
+ const mt=globalThis,vt=mt.ShadowRoot&&(void 0===mt.ShadyCSS||mt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),$t=new WeakMap;let wt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==xt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(vt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=$t.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&$t.set(e,t))}return t}toString(){return this.cssText}};const Ot=t=>new wt("string"==typeof t?t:t+"",void 0,xt),St=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new wt(o,t,xt)},kt=vt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Ot(e)})(t):t
63
63
  /**
64
64
  * @license
65
65
  * Copyright 2017 Google LLC
66
66
  * SPDX-License-Identifier: BSD-3-Clause
67
- */,{is:Nt,defineProperty:Ct,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Rt,getOwnPropertySymbols:It,getPrototypeOf:Ut}=Object,Lt=globalThis,zt=Lt.trustedTypes,Wt=zt?zt.emptyScript:"",Bt=Lt.reactiveElementPolyfillSupport,Ft=(t,e)=>t,Dt={toAttribute(t,e){switch(e){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Kt=(t,e)=>!Nt(t,e),Zt={attribute:!0,type:String,converter:Dt,reflect:!1,hasChanged:Kt};Symbol.metadata??=Symbol("metadata"),Lt.litPropertyMetadata??=new WeakMap;class Mt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Ct(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Et(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Zt}static _$Ei(){if(this.hasOwnProperty(Ft("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ft("properties"))){const t=this.properties,e=[...Rt(t),...It(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(kt(t))}else void 0!==t&&e.push(kt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(vt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=mt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Dt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Dt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Kt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[Ft("elementProperties")]=new Map,Mt[Ft("finalized")]=new Map,Bt?.({ReactiveElement:Mt}),(Lt.reactiveElementVersions??=[]).push("2.0.2");
67
+ */,{is:Nt,defineProperty:Ct,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Rt,getOwnPropertySymbols:It,getPrototypeOf:Lt}=Object,Ut=globalThis,zt=Ut.trustedTypes,Wt=zt?zt.emptyScript:"",Bt=Ut.reactiveElementPolyfillSupport,Ft=(t,e)=>t,Dt={toAttribute(t,e){switch(e){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Kt=(t,e)=>!Nt(t,e),Zt={attribute:!0,type:String,converter:Dt,reflect:!1,hasChanged:Kt};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;class Mt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Ct(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Et(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Zt}static _$Ei(){if(this.hasOwnProperty(Ft("elementProperties")))return;const t=Lt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ft("properties"))){const t=this.properties,e=[...Rt(t),...It(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(kt(t))}else void 0!==t&&e.push(kt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(vt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=mt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Dt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Dt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Kt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[Ft("elementProperties")]=new Map,Mt[Ft("finalized")]=new Map,Bt?.({ReactiveElement:Mt}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
68
68
  /**
69
69
  * @license
70
70
  * Copyright 2017 Google LLC
@@ -76,12 +76,12 @@ const At=globalThis,Pt=At.trustedTypes,jt=Pt?Pt.createPolicy("lit-html",{createH
76
76
  * Copyright 2017 Google LLC
77
77
  * SPDX-License-Identifier: BSD-3-Clause
78
78
  */
79
- let Oe=class extends Mt{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 be(e.insertBefore(qt(),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 se}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const we=globalThis.litElementPolyfillSupport;we?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?wt(t):t;class ke{static create(t,e,o,i){const r=t=>Se(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(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=St`var(${Se(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=>St`var(${Se(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):Se(null!=e?e:t.lastResortDefaultValue()),i=St`var(${Se(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=>St`var(${Se(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ne(t,e){return Se(`${t.name}: ${e}`)}const Ce={colorWhite:ke.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ke.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ke.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ke.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ke.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ke.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ke.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ke.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ke.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ke.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ke.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ke.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ke.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ke.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ke.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ke.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ke.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ke.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ke.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ke.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ke.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ke.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ke.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ke.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ke.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ke.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ke.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ke.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ke.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ke.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ke.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ke.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ke.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ke.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ke.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ke.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ke.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ke.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ke.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ke.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ke.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ke.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ke.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ke.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ke.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ke.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ke.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ke.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ke.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ke.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ke.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ke.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ke.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ke.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ke.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ke.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ke.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ke.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ke.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ke.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ke.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ke.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ke.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ke.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ke.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ke.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ke.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ke.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ke.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ke.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ke.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ke.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ke.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ke.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ke.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ke.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ke.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ke.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ke.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ke.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ke.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ke.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ke.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ke.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ke.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ke.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ke.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ke.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ke.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ke.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ke.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ke.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ke.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ke.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ke.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ke.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ke.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ke.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ke.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ke.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ke.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ke.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ke.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ke.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ke.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ke.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ke.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ke.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ke.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ke.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ke.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ke.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ke.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ke.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ke.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ke.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ke.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ke.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ke.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ke.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ke.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ke.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ke.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ke.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ke.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ke.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ke.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ke.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ke.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ke.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ke.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ke.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ke.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ke.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ke.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ke.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ke.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ke.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ke.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ke.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ke.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ke.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ke.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ke.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ke.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ke.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ke.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ke.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ke.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ke.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ke.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ke.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ke.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ke.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ke.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ke.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ke.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ke.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ke.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ke.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ke.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ke.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ke.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ke.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ke.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ke.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ke.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ke.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ke.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ke.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ke.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ke.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ke.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ke.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ke.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ke.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ke.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ke.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ke.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ke.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ke.create("--ft-opacity-0","","NUMBER","0"),opacity8:ke.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ke.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ke.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ke.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ke.create("--ft-opacity-80","","NUMBER","0.8")},Ee={display:{fontFamily:ke.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ke.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ke.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ke.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ke.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ke.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:ke.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ke.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ke.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ke.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:ke.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ke.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ke.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ke.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:ke.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ke.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ke.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ke.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ke.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ke.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ke.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ke.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ke.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ke.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ke.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ke.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ke.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ke.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ke.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ke.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ke.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ke.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ke.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ke.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ke.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ke.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ke.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ke.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ke.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ke.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ke.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ke.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ke.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ke.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ke.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ke.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Re={backgroundActionPrimary:ke.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ce.colorBrand0),backgroundErrorPrimary:ke.extend("--ft-background-error-primary","Used as background of error components.",Ce.colorRed0),backgroundErrorSubtle:ke.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ce.colorRed10),backgroundInfoPrimary:ke.extend("--ft-background-info-primary","Used as background of information components.",Ce.colorCyan200),backgroundInfoSubtle:ke.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ce.colorCyan10),backgroundWarningPrimary:ke.extend("--ft-background-warning-primary","Used as background of warning components.",Ce.colorOrange300),backgroundWarningSubtle:ke.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ce.colorOrange10),backgroundSuccessPrimary:ke.extend("--ft-background-success-primary","Used as background of success components.",Ce.colorGreen200),backgroundSuccessSubtle:ke.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ce.colorGreen10),backgroundGlobalSurface:ke.extend("--ft-background-global-surface","Used as app background.",Ce.colorWhite),backgroundGlobalOnSurface:ke.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ce.colorGray10),backgroundGlobalOnSurfaceDark:ke.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ce.colorGray30),contentActionPrimary:ke.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ce.colorBrand0),contentWarningPrimary:ke.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ce.colorOrange300),contentWarningIconOnly:ke.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ce.colorOrange0),contentErrorPrimary:ke.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ce.colorRed0),contentErrorIconOnly:ke.extend("--ft-content-error-icon-only","Used on error status icons alone",Ce.colorRed0),contentInfoPrimary:ke.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ce.colorCyan200),contentInfoIconOnly:ke.extend("--ft-content-info-icon-only","Used on info status icons alone",Ce.colorCyan0),contentSuccessIconOnly:ke.extend("--ft-content-success-icon-only","Used on success status icons alone",Ce.colorGreen0),contentSuccessPrimary:ke.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ce.colorGreen200),contentGlobalPrimary:ke.extend("--ft-content-global-primary","Used for main content on the page.",Ce.colorGray500),contentGlobalSecondary:ke.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ce.colorGray200),contentGlobalSubtle:ke.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ce.colorGray0),contentGlobalOnColor:ke.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ce.colorWhite),borderActionPrimary:ke.extend("--ft-border-action-primary","Used as border for primary action components.",Ce.colorBrand0),borderActionFocusRing:ke.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ce.colorCyan0),borderWarningPrimary:ke.extend("--ft-border-warning-primary","Used as border for warning components.",Ce.colorOrange30),borderSuccessPrimary:ke.extend("--ft-border-success-primary","Used as border for success components.",Ce.colorGreen30),borderErrorPrimary:ke.extend("--ft-border-error-primary","Used as border for error components.",Ce.colorRed30),borderInfoPrimary:ke.extend("--ft-border-info-primary","Used as border for information components.",Ce.colorCyan30),borderGlobalSubtle:ke.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ce.colorGray30),borderGlobalPrimary:ke.extend("--ft-border-global-primary","Used as border for element like input.",Ce.colorGray50),borderInputPrimary:ke.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ce.colorGray80)},Ie={largeHeight:ke.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ke.extend("--ft-button-large-horizontal-padding","",Ce.spacing4),largeGap:ke.extend("--ft-button-large-gap","",Ce.spacing2),largeBorderRadius:ke.extend("--ft-button-large-border-radius","",Ce.borderRadiusS),largeIconSize:ke.extend("--ft-button-large-icon-size","",Ce.iconSize3),largeBorderWidth:ke.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ke.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ke.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ke.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ke.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ke.extend("--ft-button-small-horizontal-padding","",Ce.spacing3),smallGap:ke.extend("--ft-button-small-gap","",Ce.spacing2),smallBorderRadius:ke.extend("--ft-button-small-border-radius","",Ce.borderRadiusS),smallIconSize:ke.extend("--ft-button-small-icon-size","",Ce.iconSize2),smallBorderWidth:ke.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ke.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ke.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ke.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ke.extend("--ft-button-primary-background-color","",Re.backgroundActionPrimary),primaryColor:ke.extend("--ft-button-primary-color","",Re.contentGlobalOnColor),primaryIconColor:ke.extend("--ft-button-primary-icon-color","",Re.contentGlobalOnColor),primaryStateLayerColor:ke.extend("--ft-button-primary-state-layer-color","",Re.contentGlobalOnColor),primaryStateLayerOpacityHover:ke.extend("--ft-button-primary-state-layer-opacity-hover","",Ce.opacity16),primaryStateLayerOpacityFocus:ke.extend("--ft-button-primary-state-layer-opacity-focus","",Ce.opacity16),primaryStateLayerOpacityActive:ke.extend("--ft-button-primary-state-layer-opacity-active","",Ce.opacity24),primaryComponentOpacityDisabled:ke.extend("--ft-button-primary-component-opacity-disabled","",Ce.opacity40),focusFocusRingColor:ke.extend("--ft-button-focus-focus-ring-color","",Re.borderActionFocusRing),tertiaryBackgroundColor:ke.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ke.extend("--ft-button-tertiary-color","",Re.contentActionPrimary),tertiaryIconColor:ke.extend("--ft-button-tertiary-icon-color","",Re.contentActionPrimary),tertiaryStateLayerColor:ke.extend("--ft-button-tertiary-state-layer-color","",Re.contentActionPrimary),tertiaryStateLayerOpacityHover:ke.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ce.opacity8),tertiaryStateLayerOpacityFocus:ke.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ce.opacity8),tertiaryStateLayerOpacityActive:ke.extend("--ft-button-tertiary-state-layer-opacity-active","",Ce.opacity16),tertiaryComponentOpacityDisabled:ke.extend("--ft-button-tertiary-component-opacity-disabled","",Ce.opacity40),secondaryBackgroundColor:ke.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ke.extend("--ft-button-secondary-color","",Re.contentActionPrimary),secondaryIconColor:ke.extend("--ft-button-secondary-icon-color","",Re.contentActionPrimary),secondaryStateLayerColor:ke.extend("--ft-button-secondary-state-layer-color","",Re.contentActionPrimary),secondaryStateLayerOpacityHover:ke.extend("--ft-button-secondary-state-layer-opacity-hover","",Ce.opacity8),secondaryStateLayerOpacityFocus:ke.extend("--ft-button-secondary-state-layer-opacity-focus","",Ce.opacity8),secondaryStateLayerOpacityActive:ke.extend("--ft-button-secondary-state-layer-opacity-active","",Ce.opacity16),secondaryComponentOpacityDisabled:ke.extend("--ft-button-secondary-component-opacity-disabled","",Ce.opacity40),secondaryBorderColor:ke.extend("--ft-button-secondary-border-color","",Re.borderActionPrimary),neutralBackgroundColor:ke.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ke.extend("--ft-button-neutral-icon-color","",Re.contentGlobalSecondary),neutralColor:ke.extend("--ft-button-neutral-color","",Re.contentGlobalSecondary),neutralStateLayerColor:ke.extend("--ft-button-neutral-state-layer-color","",Re.contentGlobalSecondary),neutralStateLayerOpacityHover:ke.extend("--ft-button-neutral-state-layer-opacity-hover","",Ce.opacity8),neutralStateLayerOpacityFocus:ke.extend("--ft-button-neutral-state-layer-opacity-focus","",Ce.opacity8),neutralStateLayerOpacityActive:ke.extend("--ft-button-neutral-state-layer-opacity-active","",Ce.opacity16),neutralComponentOpacityDisabled:ke.extend("--ft-button-neutral-component-opacity-disabled","",Ce.opacity40)};ke.extend("--ft-tabs-top-left-border-radius","",Ce.borderRadiusS),ke.extend("--ft-tabs-top-right-border-radius","",Ce.borderRadiusS),ke.extend("--ft-tabs-label-horizontal-padding","",Ce.spacing4),ke.extend("--ft-tabs-label-vertical-padding","",Ce.spacing3),ke.extend("--ft-tabs-label-gap","",Ce.spacing1),ke.extend("--ft-switch-group-horizontal-padding","",Ce.spacing1),ke.extend("--ft-switch-group-vertical-padding","",Ce.spacing1),ke.extend("--ft-switch-group-gap","",Ce.spacing1),ke.extend("--ft-switch-group-background-color","",Re.backgroundGlobalSurface),ke.extend("--ft-switch-group-border-color","",Re.borderGlobalSubtle),ke.create("--ft-switch-group-border-radius","","SIZE","6px"),ke.extend("--ft-switch-label-horizontal-padding","",Ce.spacing2),ke.extend("--ft-switch-label-vertical-padding","",Ce.spacing1),ke.extend("--ft-switch-icon-horizontal-padding","",Ce.spacing1),ke.extend("--ft-switch-icon-vertical-padding","",Ce.spacing1),ke.create("--ft-switch-focus-outline-width","","SIZE","2px"),ke.extend("--ft-switch-focus-focus-ring-color","",Re.borderActionFocusRing),ke.extend("--ft-switch-option-border-radius","",Ce.borderRadiusS),ke.extend("--ft-switch-off-state-layer-opacity-hover","",Ce.opacity8),ke.extend("--ft-switch-off-state-layer-opacity-focus","",Ce.opacity8),ke.extend("--ft-switch-off-state-layer-opacity-active","",Ce.opacity16),ke.extend("--ft-switch-off-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-switch-off-color","",Re.contentGlobalSubtle),ke.extend("--ft-switch-off-state-layer-color","",Re.contentGlobalSubtle),ke.extend("--ft-chart-1-light","for area color charts",Ce.colorBrand40),ke.extend("--ft-chart-1-base","for line charts",Ce.colorBrand0),ke.extend("--ft-chart-2-light","for area color charts",Ce.colorYellow60),ke.extend("--ft-chart-2-base","for line charts",Ce.colorYellow100),ke.extend("--ft-chart-3-light","",Ce.colorUltramarine40),ke.extend("--ft-chart-3-base","",Ce.colorUltramarine70),ke.extend("--ft-chart-4-light","",Ce.colorCyan50),ke.extend("--ft-chart-4-base","",Ce.colorCyan100),ke.extend("--ft-chart-5-light","",Ce.colorRed40),ke.extend("--ft-chart-5-base","",Ce.colorRed60),ke.extend("--ft-chart-6-light","",Ce.colorGreen40),ke.extend("--ft-chart-6-base","",Ce.colorGreen70),ke.extend("--ft-chart-7-light","",Ce.colorOrange70),ke.extend("--ft-chart-7-base","",Ce.colorOrange100),ke.extend("--ft-chart-8-light","",Ce.colorAvocado70),ke.extend("--ft-chart-8-base","",Ce.colorAvocado200),ke.extend("--ft-chart-9-light","",Ce.colorBrown50),ke.extend("--ft-chart-9-base","",Ce.colorBrown200),ke.extend("--ft-chart-10-light","",Ce.colorGray50),ke.extend("--ft-chart-10-base","",Ce.colorGray80),ke.extend("--ft-chart-monochrome-10","",Ce.colorBrand10),ke.extend("--ft-chart-monochrome-20","",Ce.colorBrand20),ke.extend("--ft-chart-monochrome-30","",Ce.colorBrand40),ke.extend("--ft-chart-monochrome-40","",Ce.colorBrand60),ke.extend("--ft-chart-monochrome-50","",Ce.colorBrand0),ke.extend("--ft-chart-monochrome-60","",Ce.colorBrand200),ke.extend("--ft-chip-large-horizontal-padding","",Ce.spacing4),ke.extend("--ft-chip-large-vertical-padding","",Ce.spacing2),ke.extend("--ft-chip-large-gap","",Ce.spacing1),ke.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ke.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ke.extend("--ft-chip-large-border-radius","",Ce.borderRadiusPill),ke.create("--ft-chip-large-border-width","","SIZE","1px"),ke.extend("--ft-chip-large-icon-size","",Ce.iconSize3),ke.extend("--ft-chip-medium-horizontal-padding","",Ce.spacing3),ke.extend("--ft-chip-medium-vertical-padding","",Ce.spacing1),ke.extend("--ft-chip-medium-gap","",Ce.spacing1),ke.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ke.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ke.extend("--ft-chip-medium-border-radius","",Ce.borderRadiusPill),ke.create("--ft-chip-medium-border-width","","SIZE","1px"),ke.extend("--ft-chip-medium-icon-size","",Ce.iconSize2),ke.extend("--ft-chip-small-horizontal-padding","",Ce.spacing2),ke.extend("--ft-chip-small-vertical-padding","",Ce.spacing05),ke.extend("--ft-chip-small-gap","",Ce.spacing1),ke.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ke.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ke.extend("--ft-chip-small-border-radius","",Ce.borderRadiusPill),ke.create("--ft-chip-small-border-width","","SIZE","1px"),ke.extend("--ft-chip-small-icon-size","",Ce.iconSize1),ke.extend("--ft-chip-neutral-background-color","",Re.backgroundGlobalOnSurface),ke.extend("--ft-chip-neutral-color","",Re.contentGlobalPrimary),ke.extend("--ft-chip-neutral-border-color","",Re.borderGlobalSubtle),ke.extend("--ft-chip-info-background-color","",Re.backgroundInfoSubtle),ke.extend("--ft-chip-info-color","",Re.contentInfoPrimary),ke.extend("--ft-chip-info-border-color","",Re.borderInfoPrimary),ke.extend("--ft-chip-success-background-color","",Re.backgroundSuccessSubtle),ke.extend("--ft-chip-success-color","",Re.contentSuccessPrimary),ke.extend("--ft-chip-success-border-color","",Re.borderSuccessPrimary),ke.extend("--ft-chip-warning-background-color","",Re.backgroundWarningSubtle),ke.extend("--ft-chip-warning-color","",Re.contentWarningPrimary),ke.extend("--ft-chip-warning-border-color","",Re.borderWarningPrimary),ke.extend("--ft-chip-error-background-color","",Re.backgroundErrorSubtle),ke.extend("--ft-chip-error-color","",Re.contentErrorPrimary),ke.extend("--ft-chip-error-border-color","",Re.borderErrorPrimary),ke.create("--ft-notice-border-width","","SIZE","1px"),ke.extend("--ft-notice-horizontal-padding","",Ce.spacing2),ke.extend("--ft-notice-vertical-padding","",Ce.spacing1),ke.extend("--ft-notice-border-radius","",Ce.borderRadiusS),ke.extend("--ft-notice-gap","",Ce.spacing2),ke.extend("--ft-notice-icon-size","",Ce.iconSize3),ke.extend("--ft-notice-info-background-color","",Re.backgroundInfoSubtle),ke.extend("--ft-notice-info-border-color","",Re.borderInfoPrimary),ke.extend("--ft-notice-info-color","",Re.contentInfoPrimary),ke.extend("--ft-notice-warning-background-color","",Re.backgroundWarningSubtle),ke.extend("--ft-notice-warning-border-color","",Re.borderWarningPrimary),ke.extend("--ft-notice-warning-color","",Re.contentWarningPrimary),ke.extend("--ft-checkbox-label-color","",Re.contentGlobalPrimary),ke.extend("--ft-checkbox-checked-background-color","",Re.contentActionPrimary),ke.extend("--ft-checkbox-checked-state-layer-color","",Re.contentActionPrimary),ke.extend("--ft-checkbox-checked-color","",Re.contentGlobalOnColor),ke.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-checkbox-checked-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-checkbox-unchecked-border-color","",Ce.colorGray80),ke.extend("--ft-checkbox-unchecked-state-layer-color","",Ce.colorGray80),ke.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-checkbox-focus-focus-ring-color","",Re.borderActionFocusRing),ke.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ke.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ke.extend("--ft-checkbox-gap","",Ce.spacing3),ke.extend("--ft-toggle-off-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-toggle-off-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-toggle-off-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-toggle-off-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-toggle-off-background-color","",Re.contentGlobalSubtle),ke.extend("--ft-toggle-off-icon-color","",Re.contentGlobalSubtle),ke.extend("--ft-toggle-off-state-layer-color","",Re.contentGlobalSubtle),ke.extend("--ft-toggle-on-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-toggle-on-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-toggle-on-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-toggle-on-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-toggle-on-background-color","",Re.contentActionPrimary),ke.extend("--ft-toggle-on-icon-color","",Re.contentActionPrimary),ke.extend("--ft-toggle-on-state-layer-color","",Re.contentActionPrimary),ke.extend("--ft-toggle-label-color","",Re.contentGlobalPrimary),ke.extend("--ft-toggle-focus-focus-ring-color","",Re.borderActionFocusRing),ke.extend("--ft-toggle-gap","",Ce.spacing3),ke.extend("--ft-radio-label-color","",Re.contentGlobalPrimary),ke.extend("--ft-radio-selected-color","",Re.contentActionPrimary),ke.extend("--ft-radio-selected-state-layer-color","",Re.contentActionPrimary),ke.extend("--ft-radio-selected-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-radio-selected-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-radio-selected-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-radio-selected-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-radio-unselected-state-layer-color","",Ce.colorGray80),ke.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-radio-unselected-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-radio-unselected-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-radio-focus-focus-ring-color","",Re.borderActionFocusRing),ke.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ke.create("--ft-radio-focus-outline-width","","SIZE","2px"),ke.extend("--ft-radio-gap","",Ce.spacing3),ke.extend("--ft-notification-icon-size","",Ce.iconSize4),ke.extend("--ft-notification-horizontal-padding","",Ce.spacing4),ke.extend("--ft-notification-vertical-padding","",Ce.spacing4),ke.extend("--ft-notification-info-background-color","",Re.backgroundInfoSubtle),ke.extend("--ft-notification-info-color","",Re.contentInfoPrimary),ke.extend("--ft-notification-info-border-color","",Re.borderInfoPrimary),ke.extend("--ft-notification-success-background-color","",Re.backgroundSuccessSubtle),ke.extend("--ft-notification-success-color","",Re.contentSuccessPrimary),ke.extend("--ft-notification-success-border-color","",Re.borderSuccessPrimary),ke.extend("--ft-notification-warning-background-color","",Re.backgroundWarningSubtle),ke.extend("--ft-notification-warning-color","",Re.contentWarningPrimary),ke.extend("--ft-notification-warning-border-color","",Re.borderWarningPrimary),ke.extend("--ft-notification-error-background-color","",Re.backgroundErrorSubtle),ke.extend("--ft-notification-error-color","",Re.contentErrorPrimary),ke.extend("--ft-notification-error-border-color","",Re.borderErrorPrimary),ke.extend("--ft-notification-border-radius","",Ce.borderRadiusPill),ke.create("--ft-notification-border-width","","SIZE","1px"),ke.extend("--ft-notification-gap-leading","",Ce.spacing2),ke.extend("--ft-notification-gap-trailing","",Ce.spacing8);const Ue={colorPrimary:ke.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ke.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ke.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ke.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ke.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ke.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ke.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ke.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ke.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ke.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ke.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ke.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ke.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ke.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ke.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ke.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ke.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ke.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ke.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ke.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ke.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ke.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ke.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ke.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ke.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ke.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ke.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ke.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ke.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ke.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ke.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ke.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ke.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ke.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ke.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ke.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ke.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ke.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ke.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ke.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ke.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ke.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ke.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ke.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ke.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:ke.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:ke.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:ke.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:ke.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:ke.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:ke.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:ke.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:ke.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:ke.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:ke.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ke.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ke.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ke.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ke.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ke.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ke.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ke.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Le=window,ze=Le.ShadowRoot&&(void 0===Le.ShadyCSS||Le.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
79
+ let we=class extends Mt{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 be(e.insertBefore(qt(),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 se}};we._$litElement$=!0,we.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:we});const Oe=globalThis.litElementPolyfillSupport;Oe?.({LitElement:we}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?Ot(t):t;class ke{static create(t,e,o,i){const r=t=>Se(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(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=St`var(${Se(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=>St`var(${Se(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):Se(null!=e?e:t.lastResortDefaultValue()),i=St`var(${Se(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=>St`var(${Se(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ne(t,e){return Se(`${t.name}: ${e}`)}const Ce={colorWhite:ke.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ke.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ke.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ke.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ke.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ke.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ke.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ke.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ke.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ke.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ke.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ke.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ke.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ke.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ke.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ke.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ke.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ke.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ke.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ke.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ke.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ke.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ke.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ke.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ke.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ke.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ke.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ke.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ke.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ke.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ke.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ke.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ke.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ke.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ke.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ke.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ke.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ke.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ke.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ke.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ke.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ke.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ke.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ke.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ke.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ke.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ke.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ke.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ke.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ke.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ke.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ke.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ke.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ke.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ke.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ke.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ke.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ke.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ke.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ke.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ke.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ke.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ke.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ke.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ke.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ke.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ke.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ke.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ke.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ke.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ke.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ke.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ke.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ke.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ke.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ke.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ke.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ke.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ke.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ke.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ke.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ke.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ke.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ke.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ke.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ke.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ke.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ke.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ke.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ke.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ke.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ke.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ke.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ke.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ke.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ke.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ke.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ke.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ke.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ke.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ke.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ke.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ke.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ke.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ke.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ke.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ke.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ke.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ke.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ke.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ke.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ke.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ke.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ke.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ke.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ke.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ke.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ke.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ke.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ke.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ke.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ke.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ke.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ke.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ke.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ke.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ke.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ke.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ke.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ke.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ke.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ke.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ke.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ke.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ke.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ke.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ke.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ke.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ke.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ke.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ke.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ke.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ke.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ke.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ke.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ke.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ke.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ke.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ke.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ke.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ke.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ke.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ke.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ke.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ke.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ke.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ke.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ke.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ke.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ke.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ke.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ke.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ke.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ke.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ke.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ke.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ke.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ke.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ke.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ke.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ke.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ke.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ke.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ke.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ke.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ke.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ke.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ke.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ke.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ke.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ke.create("--ft-opacity-0","","NUMBER","0"),opacity8:ke.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ke.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ke.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ke.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ke.create("--ft-opacity-80","","NUMBER","0.8")},Ee={display:{fontFamily:ke.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ke.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ke.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ke.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ke.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ke.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:ke.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ke.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ke.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ke.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:ke.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ke.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ke.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ke.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:ke.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ke.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ke.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ke.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ke.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ke.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ke.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ke.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ke.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ke.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ke.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ke.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ke.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ke.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ke.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ke.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ke.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ke.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ke.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ke.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ke.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ke.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ke.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ke.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ke.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ke.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ke.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ke.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ke.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ke.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ke.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ke.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ke.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ke.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ke.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ke.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ke.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ke.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ke.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ke.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ke.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ke.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ke.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ke.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ke.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ke.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ke.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ke.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Re={backgroundActionPrimary:ke.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ce.colorBrand0),backgroundErrorPrimary:ke.extend("--ft-background-error-primary","Used as background of error components.",Ce.colorRed0),backgroundErrorSubtle:ke.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ce.colorRed10),backgroundInfoPrimary:ke.extend("--ft-background-info-primary","Used as background of information components.",Ce.colorCyan200),backgroundInfoSubtle:ke.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ce.colorCyan10),backgroundWarningPrimary:ke.extend("--ft-background-warning-primary","Used as background of warning components.",Ce.colorOrange300),backgroundWarningSubtle:ke.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ce.colorOrange10),backgroundSuccessPrimary:ke.extend("--ft-background-success-primary","Used as background of success components.",Ce.colorGreen200),backgroundSuccessSubtle:ke.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ce.colorGreen10),backgroundGlobalSurface:ke.extend("--ft-background-global-surface","Used as app background.",Ce.colorWhite),backgroundGlobalOnSurface:ke.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ce.colorGray10),backgroundGlobalOnSurfaceDark:ke.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ce.colorGray30),contentActionPrimary:ke.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ce.colorBrand0),contentWarningPrimary:ke.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ce.colorOrange300),contentWarningIconOnly:ke.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ce.colorOrange0),contentErrorPrimary:ke.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ce.colorRed0),contentErrorIconOnly:ke.extend("--ft-content-error-icon-only","Used on error status icons alone",Ce.colorRed0),contentInfoPrimary:ke.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ce.colorCyan200),contentInfoIconOnly:ke.extend("--ft-content-info-icon-only","Used on info status icons alone",Ce.colorCyan0),contentSuccessIconOnly:ke.extend("--ft-content-success-icon-only","Used on success status icons alone",Ce.colorGreen0),contentSuccessPrimary:ke.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ce.colorGreen200),contentGlobalPrimary:ke.extend("--ft-content-global-primary","Used for main content on the page.",Ce.colorGray500),contentGlobalSecondary:ke.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ce.colorGray200),contentGlobalSubtle:ke.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ce.colorGray0),contentGlobalOnColor:ke.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ce.colorWhite),borderActionPrimary:ke.extend("--ft-border-action-primary","Used as border for primary action components.",Ce.colorBrand0),borderActionFocusRing:ke.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ce.colorCyan0),borderWarningPrimary:ke.extend("--ft-border-warning-primary","Used as border for warning components.",Ce.colorOrange30),borderSuccessPrimary:ke.extend("--ft-border-success-primary","Used as border for success components.",Ce.colorGreen30),borderErrorPrimary:ke.extend("--ft-border-error-primary","Used as border for error components.",Ce.colorRed30),borderInfoPrimary:ke.extend("--ft-border-info-primary","Used as border for information components.",Ce.colorCyan30),borderGlobalSubtle:ke.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ce.colorGray30),borderGlobalPrimary:ke.extend("--ft-border-global-primary","Used as border for element like input.",Ce.colorGray50),borderInputPrimary:ke.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ce.colorGray80)},Ie={largeHeight:ke.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ke.extend("--ft-button-large-horizontal-padding","",Ce.spacing4),largeGap:ke.extend("--ft-button-large-gap","",Ce.spacing2),largeBorderRadius:ke.extend("--ft-button-large-border-radius","",Ce.borderRadiusS),largeIconSize:ke.extend("--ft-button-large-icon-size","",Ce.iconSize3),largeBorderWidth:ke.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ke.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ke.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ke.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ke.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ke.extend("--ft-button-small-horizontal-padding","",Ce.spacing3),smallGap:ke.extend("--ft-button-small-gap","",Ce.spacing2),smallBorderRadius:ke.extend("--ft-button-small-border-radius","",Ce.borderRadiusS),smallIconSize:ke.extend("--ft-button-small-icon-size","",Ce.iconSize2),smallBorderWidth:ke.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ke.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ke.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ke.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ke.extend("--ft-button-primary-background-color","",Re.backgroundActionPrimary),primaryColor:ke.extend("--ft-button-primary-color","",Re.contentGlobalOnColor),primaryIconColor:ke.extend("--ft-button-primary-icon-color","",Re.contentGlobalOnColor),primaryStateLayerColor:ke.extend("--ft-button-primary-state-layer-color","",Re.contentGlobalOnColor),primaryStateLayerOpacityHover:ke.extend("--ft-button-primary-state-layer-opacity-hover","",Ce.opacity16),primaryStateLayerOpacityFocus:ke.extend("--ft-button-primary-state-layer-opacity-focus","",Ce.opacity16),primaryStateLayerOpacityActive:ke.extend("--ft-button-primary-state-layer-opacity-active","",Ce.opacity24),primaryComponentOpacityDisabled:ke.extend("--ft-button-primary-component-opacity-disabled","",Ce.opacity40),focusFocusRingColor:ke.extend("--ft-button-focus-focus-ring-color","",Re.borderActionFocusRing),tertiaryBackgroundColor:ke.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ke.extend("--ft-button-tertiary-color","",Re.contentActionPrimary),tertiaryIconColor:ke.extend("--ft-button-tertiary-icon-color","",Re.contentActionPrimary),tertiaryStateLayerColor:ke.extend("--ft-button-tertiary-state-layer-color","",Re.contentActionPrimary),tertiaryStateLayerOpacityHover:ke.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ce.opacity8),tertiaryStateLayerOpacityFocus:ke.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ce.opacity8),tertiaryStateLayerOpacityActive:ke.extend("--ft-button-tertiary-state-layer-opacity-active","",Ce.opacity16),tertiaryComponentOpacityDisabled:ke.extend("--ft-button-tertiary-component-opacity-disabled","",Ce.opacity40),secondaryBackgroundColor:ke.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ke.extend("--ft-button-secondary-color","",Re.contentActionPrimary),secondaryIconColor:ke.extend("--ft-button-secondary-icon-color","",Re.contentActionPrimary),secondaryStateLayerColor:ke.extend("--ft-button-secondary-state-layer-color","",Re.contentActionPrimary),secondaryStateLayerOpacityHover:ke.extend("--ft-button-secondary-state-layer-opacity-hover","",Ce.opacity8),secondaryStateLayerOpacityFocus:ke.extend("--ft-button-secondary-state-layer-opacity-focus","",Ce.opacity8),secondaryStateLayerOpacityActive:ke.extend("--ft-button-secondary-state-layer-opacity-active","",Ce.opacity16),secondaryComponentOpacityDisabled:ke.extend("--ft-button-secondary-component-opacity-disabled","",Ce.opacity40),secondaryBorderColor:ke.extend("--ft-button-secondary-border-color","",Re.borderActionPrimary),neutralBackgroundColor:ke.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ke.extend("--ft-button-neutral-icon-color","",Re.contentGlobalSecondary),neutralColor:ke.extend("--ft-button-neutral-color","",Re.contentGlobalSecondary),neutralStateLayerColor:ke.extend("--ft-button-neutral-state-layer-color","",Re.contentGlobalSecondary),neutralStateLayerOpacityHover:ke.extend("--ft-button-neutral-state-layer-opacity-hover","",Ce.opacity8),neutralStateLayerOpacityFocus:ke.extend("--ft-button-neutral-state-layer-opacity-focus","",Ce.opacity8),neutralStateLayerOpacityActive:ke.extend("--ft-button-neutral-state-layer-opacity-active","",Ce.opacity16),neutralComponentOpacityDisabled:ke.extend("--ft-button-neutral-component-opacity-disabled","",Ce.opacity40)};ke.extend("--ft-tabs-top-left-border-radius","",Ce.borderRadiusS),ke.extend("--ft-tabs-top-right-border-radius","",Ce.borderRadiusS),ke.extend("--ft-tabs-label-horizontal-padding","",Ce.spacing4),ke.extend("--ft-tabs-label-vertical-padding","",Ce.spacing3),ke.extend("--ft-tabs-label-gap","",Ce.spacing1),ke.extend("--ft-switch-group-horizontal-padding","",Ce.spacing1),ke.extend("--ft-switch-group-vertical-padding","",Ce.spacing1),ke.extend("--ft-switch-group-gap","",Ce.spacing1),ke.extend("--ft-switch-group-background-color","",Re.backgroundGlobalSurface),ke.extend("--ft-switch-group-border-color","",Re.borderGlobalSubtle),ke.create("--ft-switch-group-border-radius","","SIZE","6px"),ke.extend("--ft-switch-label-horizontal-padding","",Ce.spacing2),ke.extend("--ft-switch-label-vertical-padding","",Ce.spacing1),ke.extend("--ft-switch-icon-horizontal-padding","",Ce.spacing1),ke.extend("--ft-switch-icon-vertical-padding","",Ce.spacing1),ke.create("--ft-switch-focus-outline-width","","SIZE","2px"),ke.extend("--ft-switch-focus-focus-ring-color","",Re.borderActionFocusRing),ke.extend("--ft-switch-option-border-radius","",Ce.borderRadiusS),ke.extend("--ft-switch-off-state-layer-opacity-hover","",Ce.opacity8),ke.extend("--ft-switch-off-state-layer-opacity-focus","",Ce.opacity8),ke.extend("--ft-switch-off-state-layer-opacity-active","",Ce.opacity16),ke.extend("--ft-switch-off-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-switch-off-color","",Re.contentGlobalSubtle),ke.extend("--ft-switch-off-state-layer-color","",Re.contentGlobalSubtle),ke.extend("--ft-chart-1-light","for area color charts",Ce.colorBrand40),ke.extend("--ft-chart-1-base","for line charts",Ce.colorBrand0),ke.extend("--ft-chart-2-light","for area color charts",Ce.colorYellow60),ke.extend("--ft-chart-2-base","for line charts",Ce.colorYellow100),ke.extend("--ft-chart-3-light","",Ce.colorUltramarine40),ke.extend("--ft-chart-3-base","",Ce.colorUltramarine70),ke.extend("--ft-chart-4-light","",Ce.colorCyan50),ke.extend("--ft-chart-4-base","",Ce.colorCyan100),ke.extend("--ft-chart-5-light","",Ce.colorRed40),ke.extend("--ft-chart-5-base","",Ce.colorRed60),ke.extend("--ft-chart-6-light","",Ce.colorGreen40),ke.extend("--ft-chart-6-base","",Ce.colorGreen70),ke.extend("--ft-chart-7-light","",Ce.colorOrange70),ke.extend("--ft-chart-7-base","",Ce.colorOrange100),ke.extend("--ft-chart-8-light","",Ce.colorAvocado70),ke.extend("--ft-chart-8-base","",Ce.colorAvocado200),ke.extend("--ft-chart-9-light","",Ce.colorBrown50),ke.extend("--ft-chart-9-base","",Ce.colorBrown200),ke.extend("--ft-chart-10-light","",Ce.colorGray50),ke.extend("--ft-chart-10-base","",Ce.colorGray80),ke.extend("--ft-chart-monochrome-10","",Ce.colorBrand10),ke.extend("--ft-chart-monochrome-20","",Ce.colorBrand20),ke.extend("--ft-chart-monochrome-30","",Ce.colorBrand40),ke.extend("--ft-chart-monochrome-40","",Ce.colorBrand60),ke.extend("--ft-chart-monochrome-50","",Ce.colorBrand0),ke.extend("--ft-chart-monochrome-60","",Ce.colorBrand200),ke.extend("--ft-chip-large-horizontal-padding","",Ce.spacing4),ke.extend("--ft-chip-large-vertical-padding","",Ce.spacing2),ke.extend("--ft-chip-large-gap","",Ce.spacing1),ke.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ke.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ke.extend("--ft-chip-large-border-radius","",Ce.borderRadiusPill),ke.create("--ft-chip-large-border-width","","SIZE","1px"),ke.extend("--ft-chip-large-icon-size","",Ce.iconSize3),ke.extend("--ft-chip-medium-horizontal-padding","",Ce.spacing3),ke.extend("--ft-chip-medium-vertical-padding","",Ce.spacing1),ke.extend("--ft-chip-medium-gap","",Ce.spacing1),ke.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ke.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ke.extend("--ft-chip-medium-border-radius","",Ce.borderRadiusPill),ke.create("--ft-chip-medium-border-width","","SIZE","1px"),ke.extend("--ft-chip-medium-icon-size","",Ce.iconSize2),ke.extend("--ft-chip-small-horizontal-padding","",Ce.spacing2),ke.extend("--ft-chip-small-vertical-padding","",Ce.spacing05),ke.extend("--ft-chip-small-gap","",Ce.spacing1),ke.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ke.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ke.extend("--ft-chip-small-border-radius","",Ce.borderRadiusPill),ke.create("--ft-chip-small-border-width","","SIZE","1px"),ke.extend("--ft-chip-small-icon-size","",Ce.iconSize1),ke.extend("--ft-chip-neutral-background-color","",Re.backgroundGlobalOnSurface),ke.extend("--ft-chip-neutral-color","",Re.contentGlobalPrimary),ke.extend("--ft-chip-neutral-border-color","",Re.borderGlobalSubtle),ke.extend("--ft-chip-info-background-color","",Re.backgroundInfoSubtle),ke.extend("--ft-chip-info-color","",Re.contentInfoPrimary),ke.extend("--ft-chip-info-border-color","",Re.borderInfoPrimary),ke.extend("--ft-chip-success-background-color","",Re.backgroundSuccessSubtle),ke.extend("--ft-chip-success-color","",Re.contentSuccessPrimary),ke.extend("--ft-chip-success-border-color","",Re.borderSuccessPrimary),ke.extend("--ft-chip-warning-background-color","",Re.backgroundWarningSubtle),ke.extend("--ft-chip-warning-color","",Re.contentWarningPrimary),ke.extend("--ft-chip-warning-border-color","",Re.borderWarningPrimary),ke.extend("--ft-chip-error-background-color","",Re.backgroundErrorSubtle),ke.extend("--ft-chip-error-color","",Re.contentErrorPrimary),ke.extend("--ft-chip-error-border-color","",Re.borderErrorPrimary),ke.create("--ft-notice-border-width","","SIZE","1px"),ke.extend("--ft-notice-horizontal-padding","",Ce.spacing2),ke.extend("--ft-notice-vertical-padding","",Ce.spacing1),ke.extend("--ft-notice-border-radius","",Ce.borderRadiusS),ke.extend("--ft-notice-gap","",Ce.spacing2),ke.extend("--ft-notice-icon-size","",Ce.iconSize3),ke.extend("--ft-notice-info-background-color","",Re.backgroundInfoSubtle),ke.extend("--ft-notice-info-border-color","",Re.borderInfoPrimary),ke.extend("--ft-notice-info-color","",Re.contentInfoPrimary),ke.extend("--ft-notice-warning-background-color","",Re.backgroundWarningSubtle),ke.extend("--ft-notice-warning-border-color","",Re.borderWarningPrimary),ke.extend("--ft-notice-warning-color","",Re.contentWarningPrimary),ke.extend("--ft-checkbox-label-color","",Re.contentGlobalPrimary),ke.extend("--ft-checkbox-checked-background-color","",Re.contentActionPrimary),ke.extend("--ft-checkbox-checked-state-layer-color","",Re.contentActionPrimary),ke.extend("--ft-checkbox-checked-color","",Re.contentGlobalOnColor),ke.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-checkbox-checked-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-checkbox-unchecked-border-color","",Ce.colorGray80),ke.extend("--ft-checkbox-unchecked-state-layer-color","",Ce.colorGray80),ke.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-checkbox-focus-focus-ring-color","",Re.borderActionFocusRing),ke.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ke.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ke.extend("--ft-checkbox-gap","",Ce.spacing3),ke.extend("--ft-toggle-off-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-toggle-off-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-toggle-off-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-toggle-off-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-toggle-off-background-color","",Re.contentGlobalSubtle),ke.extend("--ft-toggle-off-icon-color","",Re.contentGlobalSubtle),ke.extend("--ft-toggle-off-state-layer-color","",Re.contentGlobalSubtle),ke.extend("--ft-toggle-on-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-toggle-on-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-toggle-on-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-toggle-on-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-toggle-on-background-color","",Re.contentActionPrimary),ke.extend("--ft-toggle-on-icon-color","",Re.contentActionPrimary),ke.extend("--ft-toggle-on-state-layer-color","",Re.contentActionPrimary),ke.extend("--ft-toggle-label-color","",Re.contentGlobalPrimary),ke.extend("--ft-toggle-focus-focus-ring-color","",Re.borderActionFocusRing),ke.extend("--ft-toggle-gap","",Ce.spacing3),ke.extend("--ft-radio-label-color","",Re.contentGlobalPrimary),ke.extend("--ft-radio-selected-color","",Re.contentActionPrimary),ke.extend("--ft-radio-selected-state-layer-color","",Re.contentActionPrimary),ke.extend("--ft-radio-selected-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-radio-selected-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-radio-selected-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-radio-selected-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-radio-unselected-state-layer-color","",Ce.colorGray80),ke.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ce.opacity16),ke.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ce.opacity16),ke.extend("--ft-radio-unselected-state-layer-opacity-active","",Ce.opacity24),ke.extend("--ft-radio-unselected-component-opacity-disabled","",Ce.opacity40),ke.extend("--ft-radio-focus-focus-ring-color","",Re.borderActionFocusRing),ke.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ke.create("--ft-radio-focus-outline-width","","SIZE","2px"),ke.extend("--ft-radio-gap","",Ce.spacing3),ke.extend("--ft-notification-icon-size","",Ce.iconSize4),ke.extend("--ft-notification-horizontal-padding","",Ce.spacing4),ke.extend("--ft-notification-vertical-padding","",Ce.spacing4),ke.extend("--ft-notification-info-background-color","",Re.backgroundInfoSubtle),ke.extend("--ft-notification-info-color","",Re.contentInfoPrimary),ke.extend("--ft-notification-info-border-color","",Re.borderInfoPrimary),ke.extend("--ft-notification-success-background-color","",Re.backgroundSuccessSubtle),ke.extend("--ft-notification-success-color","",Re.contentSuccessPrimary),ke.extend("--ft-notification-success-border-color","",Re.borderSuccessPrimary),ke.extend("--ft-notification-warning-background-color","",Re.backgroundWarningSubtle),ke.extend("--ft-notification-warning-color","",Re.contentWarningPrimary),ke.extend("--ft-notification-warning-border-color","",Re.borderWarningPrimary),ke.extend("--ft-notification-error-background-color","",Re.backgroundErrorSubtle),ke.extend("--ft-notification-error-color","",Re.contentErrorPrimary),ke.extend("--ft-notification-error-border-color","",Re.borderErrorPrimary),ke.extend("--ft-notification-border-radius","",Ce.borderRadiusPill),ke.create("--ft-notification-border-width","","SIZE","1px"),ke.extend("--ft-notification-gap-leading","",Ce.spacing2),ke.extend("--ft-notification-gap-trailing","",Ce.spacing8);const Le={colorPrimary:ke.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ke.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ke.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ke.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ke.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ke.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ke.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ke.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ke.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ke.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ke.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ke.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ke.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ke.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ke.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ke.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ke.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ke.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ke.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ke.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ke.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ke.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ke.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ke.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ke.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ke.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ke.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ke.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ke.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ke.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ke.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ke.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ke.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ke.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ke.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ke.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ke.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ke.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ke.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ke.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ke.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ke.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ke.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ke.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ke.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:ke.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:ke.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:ke.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:ke.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:ke.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:ke.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:ke.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:ke.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:ke.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:ke.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ke.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ke.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ke.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ke.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ke.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ke.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ke.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,ze=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
80
80
  /**
81
81
  * @license
82
82
  * Copyright 2019 Google LLC
83
83
  * SPDX-License-Identifier: BSD-3-Clause
84
- */class We extends Oe{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)=>{ze?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Le.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Be,Fe=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 De=Symbol("constructorPrototype"),Ke=Symbol("constructorName"),Ze=Symbol("exportpartsDebouncer");class Me extends We{constructor(){super(),this[Be]=new e(5),this[Ke]=this.constructor.name,this[De]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ke]&&Object.setPrototypeOf(this,this[De])}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[Ze].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(", "))}}Be=Ze,Fe([k()],Me.prototype,"exportpartsPrefix",void 0),Fe([z([])],Me.prototype,"exportpartsPrefixes",void 0),Fe([k()],Me.prototype,"customStylesheet",void 0);const Ae=ke.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
84
+ */class We extends we{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)=>{ze?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ue.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Be,Fe=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 De=Symbol("constructorPrototype"),Ke=Symbol("constructorName"),Ze=Symbol("exportpartsDebouncer");class Me extends We{constructor(){super(),this[Be]=new R(5),this[Ke]=this.constructor.name,this[De]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ke]&&Object.setPrototypeOf(this,this[De])}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[Ze].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(", "))}}Be=Ze,Fe([S()],Me.prototype,"exportpartsPrefix",void 0),Fe([z([])],Me.prototype,"exportpartsPrefixes",void 0),Fe([S()],Me.prototype,"customStylesheet",void 0);const Ae=ke.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
85
85
  .highlight-html-match {
86
86
  background: ${Ae};
87
87
  }
@@ -151,17 +151,17 @@ let Oe=class extends Mt{constructor(){super(...arguments),this.renderOptions={ho
151
151
  .ft-size-watcher--local .ft-size-watcher--watcher {
152
152
  width: 100%;
153
153
  }
154
- `;var po=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 fo extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class uo extends Me{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=co.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new e}render(){return ae`
154
+ `;var po=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 fo extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class uo extends Me{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=co.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new R}render(){return ae`
155
155
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
156
156
  <div class="ft-size-watcher--watcher"></div>
157
157
  </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=co.S:this.size<976?this.category=co.M:this.size<1024?this.category=co.L:this.size<1440?this.category=co.XL:this.category=co.XXL,this.dispatchEvent(new fo(this.size,this.category)))}),this.debounceTimeout)}}uo.elementDefinitions={},uo.styles=ho,po([k({type:Number})],uo.prototype,"debounceTimeout",void 0),po([k({type:Boolean})],uo.prototype,"local",void 0),po([k({type:Number,reflect:!0})],uo.prototype,"size",void 0),po([k({type:String,reflect:!0})],uo.prototype,"category",void 0),po([E(".ft-size-watcher--watcher")],uo.prototype,"watcher",void 0),L("ft-size-watcher")(uo);
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=co.S:this.size<976?this.category=co.M:this.size<1024?this.category=co.L:this.size<1440?this.category=co.XL:this.category=co.XXL,this.dispatchEvent(new fo(this.size,this.category)))}),this.debounceTimeout)}}uo.elementDefinitions={},uo.styles=ho,po([S({type:Number})],uo.prototype,"debounceTimeout",void 0),po([S({type:Boolean})],uo.prototype,"local",void 0),po([S({type:Number,reflect:!0})],uo.prototype,"size",void 0),po([S({type:String,reflect:!0})],uo.prototype,"category",void 0),po([C(".ft-size-watcher--watcher")],uo.prototype,"watcher",void 0),U("ft-size-watcher")(uo);
159
159
  /**
160
160
  * @license
161
161
  * Copyright 2020 Google LLC
162
162
  * SPDX-License-Identifier: BSD-3-Clause
163
163
  */
164
- const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$litStatic$:t,r:bo}),mo=new Map,vo=(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=go(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=mo.get(t))&&(a.raw=a,mo.set(t,e=a)),o=s}return t(e,...o)})(tt);var xo;!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"}(xo||(xo={}));const $o=ke.extend("--ft-typography-font-family","",Ue.titleFont),Oo=ke.extend("--ft-typography-font-family","",Ue.contentFont),wo={fontFamily:Oo,fontSize:ke.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ke.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ke.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ke.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ke.create("--ft-typography-text-transform","","UNKNOWN","inherit")},So=ke.extend("--ft-typography-title-font-family","",$o),ko=ke.extend("--ft-typography-title-font-size","",wo.fontSize,"20px"),No=ke.extend("--ft-typography-title-font-weight","",wo.fontWeight,"normal"),Co=ke.extend("--ft-typography-title-letter-spacing","",wo.letterSpacing,"0.15px"),Eo=ke.extend("--ft-typography-title-line-height","",wo.lineHeight,"1.2"),Ro=ke.extend("--ft-typography-title-text-transform","",wo.textTransform,"inherit"),Io=ke.extend("--ft-typography-title-dense-font-family","",$o),Uo=ke.extend("--ft-typography-title-dense-font-size","",wo.fontSize,"14px"),Lo=ke.extend("--ft-typography-title-dense-font-weight","",wo.fontWeight,"normal"),zo=ke.extend("--ft-typography-title-dense-letter-spacing","",wo.letterSpacing,"0.105px"),Wo=ke.extend("--ft-typography-title-dense-line-height","",wo.lineHeight,"1.7"),Bo=ke.extend("--ft-typography-title-dense-text-transform","",wo.textTransform,"inherit"),Fo=ke.extend("--ft-typography-subtitle1-font-family","",Oo),Do=ke.extend("--ft-typography-subtitle1-font-size","",wo.fontSize,"16px"),Ko=ke.extend("--ft-typography-subtitle1-font-weight","",wo.fontWeight,"600"),Zo=ke.extend("--ft-typography-subtitle1-letter-spacing","",wo.letterSpacing,"0.144px"),Mo=ke.extend("--ft-typography-subtitle1-line-height","",wo.lineHeight,"1.5"),Ao=ke.extend("--ft-typography-subtitle1-text-transform","",wo.textTransform,"inherit"),Po=ke.extend("--ft-typography-subtitle2-font-family","",Oo),jo=ke.extend("--ft-typography-subtitle2-font-size","",wo.fontSize,"14px"),Ho=ke.extend("--ft-typography-subtitle2-font-weight","",wo.fontWeight,"normal"),To=ke.extend("--ft-typography-subtitle2-letter-spacing","",wo.letterSpacing,"0.098px"),_o=ke.extend("--ft-typography-subtitle2-line-height","",wo.lineHeight,"1.7"),Vo=ke.extend("--ft-typography-subtitle2-text-transform","",wo.textTransform,"inherit"),Go={fontFamily:ke.extend("--ft-typography-body1-font-family","",Oo),fontSize:ke.extend("--ft-typography-body1-font-size","",wo.fontSize,"16px"),fontWeight:ke.extend("--ft-typography-body1-font-weight","",wo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-body1-letter-spacing","",wo.letterSpacing,"0.496px"),lineHeight:ke.extend("--ft-typography-body1-line-height","",wo.lineHeight,"1.5"),textTransform:ke.extend("--ft-typography-body1-text-transform","",wo.textTransform,"inherit")},qo={fontFamily:ke.extend("--ft-typography-body2-font-family","",Oo),fontSize:ke.extend("--ft-typography-body2-font-size","",wo.fontSize,"14px"),fontWeight:ke.extend("--ft-typography-body2-font-weight","",wo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-body2-letter-spacing","",wo.letterSpacing,"0.252px"),lineHeight:ke.extend("--ft-typography-body2-line-height","",wo.lineHeight,"1.4"),textTransform:ke.extend("--ft-typography-body2-text-transform","",wo.textTransform,"inherit")},Yo={fontFamily:ke.extend("--ft-typography-caption-font-family","",Oo),fontSize:ke.extend("--ft-typography-caption-font-size","",wo.fontSize,"12px"),fontWeight:ke.extend("--ft-typography-caption-font-weight","",wo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-caption-letter-spacing","",wo.letterSpacing,"0.396px"),lineHeight:ke.extend("--ft-typography-caption-line-height","",wo.lineHeight,"1.33"),textTransform:ke.extend("--ft-typography-caption-text-transform","",wo.textTransform,"inherit")},Jo=ke.extend("--ft-typography-breadcrumb-font-family","",Oo),Xo=ke.extend("--ft-typography-breadcrumb-font-size","",wo.fontSize,"10px"),Qo=ke.extend("--ft-typography-breadcrumb-font-weight","",wo.fontWeight,"normal"),ti=ke.extend("--ft-typography-breadcrumb-letter-spacing","",wo.letterSpacing,"0.33px"),ei=ke.extend("--ft-typography-breadcrumb-line-height","",wo.lineHeight,"1.6"),oi=ke.extend("--ft-typography-breadcrumb-text-transform","",wo.textTransform,"inherit"),ii=ke.extend("--ft-typography-overline-font-family","",Oo),ri=ke.extend("--ft-typography-overline-font-size","",wo.fontSize,"10px"),ni=ke.extend("--ft-typography-overline-font-weight","",wo.fontWeight,"normal"),ai=ke.extend("--ft-typography-overline-letter-spacing","",wo.letterSpacing,"1.5px"),si=ke.extend("--ft-typography-overline-line-height","",wo.lineHeight,"1.6"),li=ke.extend("--ft-typography-overline-text-transform","",wo.textTransform,"uppercase"),ci={fontFamily:ke.extend("--ft-typography-button-font-family","",Oo),fontSize:ke.extend("--ft-typography-button-font-size","",wo.fontSize,"14px"),fontWeight:ke.extend("--ft-typography-button-font-weight","",wo.fontWeight,"600"),letterSpacing:ke.extend("--ft-typography-button-letter-spacing","",wo.letterSpacing,"1.246px"),lineHeight:ke.extend("--ft-typography-button-line-height","",wo.lineHeight,"1.15"),textTransform:ke.extend("--ft-typography-button-text-transform","",wo.textTransform,"uppercase")},hi=St`
164
+ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$litStatic$:t,r:bo}),mo=new Map,vo=(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=go(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=mo.get(t))&&(a.raw=a,mo.set(t,e=a)),o=s}return t(e,...o)})(tt);var xo;!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"}(xo||(xo={}));const $o=ke.extend("--ft-typography-font-family","",Le.titleFont),wo=ke.extend("--ft-typography-font-family","",Le.contentFont),Oo={fontFamily:wo,fontSize:ke.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ke.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ke.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ke.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ke.create("--ft-typography-text-transform","","UNKNOWN","inherit")},So=ke.extend("--ft-typography-title-font-family","",$o),ko=ke.extend("--ft-typography-title-font-size","",Oo.fontSize,"20px"),No=ke.extend("--ft-typography-title-font-weight","",Oo.fontWeight,"normal"),Co=ke.extend("--ft-typography-title-letter-spacing","",Oo.letterSpacing,"0.15px"),Eo=ke.extend("--ft-typography-title-line-height","",Oo.lineHeight,"1.2"),Ro=ke.extend("--ft-typography-title-text-transform","",Oo.textTransform,"inherit"),Io=ke.extend("--ft-typography-title-dense-font-family","",$o),Lo=ke.extend("--ft-typography-title-dense-font-size","",Oo.fontSize,"14px"),Uo=ke.extend("--ft-typography-title-dense-font-weight","",Oo.fontWeight,"normal"),zo=ke.extend("--ft-typography-title-dense-letter-spacing","",Oo.letterSpacing,"0.105px"),Wo=ke.extend("--ft-typography-title-dense-line-height","",Oo.lineHeight,"1.7"),Bo=ke.extend("--ft-typography-title-dense-text-transform","",Oo.textTransform,"inherit"),Fo=ke.extend("--ft-typography-subtitle1-font-family","",wo),Do=ke.extend("--ft-typography-subtitle1-font-size","",Oo.fontSize,"16px"),Ko=ke.extend("--ft-typography-subtitle1-font-weight","",Oo.fontWeight,"600"),Zo=ke.extend("--ft-typography-subtitle1-letter-spacing","",Oo.letterSpacing,"0.144px"),Mo=ke.extend("--ft-typography-subtitle1-line-height","",Oo.lineHeight,"1.5"),Ao=ke.extend("--ft-typography-subtitle1-text-transform","",Oo.textTransform,"inherit"),Po=ke.extend("--ft-typography-subtitle2-font-family","",wo),jo=ke.extend("--ft-typography-subtitle2-font-size","",Oo.fontSize,"14px"),Ho=ke.extend("--ft-typography-subtitle2-font-weight","",Oo.fontWeight,"normal"),To=ke.extend("--ft-typography-subtitle2-letter-spacing","",Oo.letterSpacing,"0.098px"),_o=ke.extend("--ft-typography-subtitle2-line-height","",Oo.lineHeight,"1.7"),Vo=ke.extend("--ft-typography-subtitle2-text-transform","",Oo.textTransform,"inherit"),Go={fontFamily:ke.extend("--ft-typography-body1-font-family","",wo),fontSize:ke.extend("--ft-typography-body1-font-size","",Oo.fontSize,"16px"),fontWeight:ke.extend("--ft-typography-body1-font-weight","",Oo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-body1-letter-spacing","",Oo.letterSpacing,"0.496px"),lineHeight:ke.extend("--ft-typography-body1-line-height","",Oo.lineHeight,"1.5"),textTransform:ke.extend("--ft-typography-body1-text-transform","",Oo.textTransform,"inherit")},qo={fontFamily:ke.extend("--ft-typography-body2-font-family","",wo),fontSize:ke.extend("--ft-typography-body2-font-size","",Oo.fontSize,"14px"),fontWeight:ke.extend("--ft-typography-body2-font-weight","",Oo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-body2-letter-spacing","",Oo.letterSpacing,"0.252px"),lineHeight:ke.extend("--ft-typography-body2-line-height","",Oo.lineHeight,"1.4"),textTransform:ke.extend("--ft-typography-body2-text-transform","",Oo.textTransform,"inherit")},Yo={fontFamily:ke.extend("--ft-typography-caption-font-family","",wo),fontSize:ke.extend("--ft-typography-caption-font-size","",Oo.fontSize,"12px"),fontWeight:ke.extend("--ft-typography-caption-font-weight","",Oo.fontWeight,"normal"),letterSpacing:ke.extend("--ft-typography-caption-letter-spacing","",Oo.letterSpacing,"0.396px"),lineHeight:ke.extend("--ft-typography-caption-line-height","",Oo.lineHeight,"1.33"),textTransform:ke.extend("--ft-typography-caption-text-transform","",Oo.textTransform,"inherit")},Jo=ke.extend("--ft-typography-breadcrumb-font-family","",wo),Xo=ke.extend("--ft-typography-breadcrumb-font-size","",Oo.fontSize,"10px"),Qo=ke.extend("--ft-typography-breadcrumb-font-weight","",Oo.fontWeight,"normal"),ti=ke.extend("--ft-typography-breadcrumb-letter-spacing","",Oo.letterSpacing,"0.33px"),ei=ke.extend("--ft-typography-breadcrumb-line-height","",Oo.lineHeight,"1.6"),oi=ke.extend("--ft-typography-breadcrumb-text-transform","",Oo.textTransform,"inherit"),ii=ke.extend("--ft-typography-overline-font-family","",wo),ri=ke.extend("--ft-typography-overline-font-size","",Oo.fontSize,"10px"),ni=ke.extend("--ft-typography-overline-font-weight","",Oo.fontWeight,"normal"),ai=ke.extend("--ft-typography-overline-letter-spacing","",Oo.letterSpacing,"1.5px"),si=ke.extend("--ft-typography-overline-line-height","",Oo.lineHeight,"1.6"),li=ke.extend("--ft-typography-overline-text-transform","",Oo.textTransform,"uppercase"),ci={fontFamily:ke.extend("--ft-typography-button-font-family","",wo),fontSize:ke.extend("--ft-typography-button-font-size","",Oo.fontSize,"14px"),fontWeight:ke.extend("--ft-typography-button-font-weight","",Oo.fontWeight,"600"),letterSpacing:ke.extend("--ft-typography-button-letter-spacing","",Oo.letterSpacing,"1.246px"),lineHeight:ke.extend("--ft-typography-button-line-height","",Oo.lineHeight,"1.15"),textTransform:ke.extend("--ft-typography-button-text-transform","",Oo.textTransform,"uppercase")},hi=St`
165
165
  .ft-typography--title {
166
166
  font-family: ${So};
167
167
  font-size: ${ko};
@@ -173,8 +173,8 @@ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$li
173
173
  `,pi=St`
174
174
  .ft-typography--title-dense {
175
175
  font-family: ${Io};
176
- font-size: ${Uo};
177
- font-weight: ${Lo};
176
+ font-size: ${Lo};
177
+ font-weight: ${Uo};
178
178
  letter-spacing: ${zo};
179
179
  line-height: ${Wo};
180
180
  text-transform: ${Bo};
@@ -257,7 +257,7 @@ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$li
257
257
  vertical-align: inherit;
258
258
  }
259
259
  `,$i=[Object.keys(Ee).map((t=>function(t){const e=Ee[t];return St`
260
- .ft-typography--${wt(t)} {
260
+ .ft-typography--${Ot(t)} {
261
261
  font-family: ${e.fontFamily};
262
262
  font-size: ${e.fontSize};
263
263
  font-weight: ${e.fontWeight};
@@ -265,14 +265,14 @@ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$li
265
265
  line-height: ${e.lineHeight};
266
266
  text-transform: ${e.textCase};
267
267
  }
268
- `}(t)))];var Oi=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 wi extends Me{constructor(){super(...arguments),this.variant=xo.body1}render(){return this.element?vo`
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 Oi extends Me{constructor(){super(...arguments),this.variant=xo.body1}render(){return this.element?vo`
269
269
  <${yo(this.element)}
270
270
  class="ft-typography ft-typography--${this.variant}">
271
271
  <slot></slot>
272
272
  </${yo(this.element)}>
273
273
  `:vo`
274
274
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
275
- `}}function Si(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ki(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>ki(e,t.selected))),value:t.value}}function Ni(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>ki(t,!1)))}}wi.styles=[hi,pi,fi,di,ui,bi,gi,yi,mi,vi,xi,...$i],Oi([k()],wi.prototype,"element",void 0),Oi([k()],wi.prototype,"variant",void 0),L("ft-typography")(wi);const Ci=ke.extend("--ft-ripple-color","",Ue.colorContent),Ei={color:Ci,backgroundColor:ke.extend("--ft-ripple-background-color","",Ci),opacityContentOnSurfacePressed:ke.external(Ue.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ke.external(Ue.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ke.external(Ue.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ke.external(Ue.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ke.create("--ft-ripple-border-radius","","SIZE","0px")},Ri=ke.extend("--ft-ripple-color","",Ue.colorPrimary),Ii=Ri,Ui=ke.extend("--ft-ripple-background-color","",Ri),Li=ke.extend("--ft-ripple-color","",Ue.colorSecondary),zi=Li,Wi=ke.extend("--ft-ripple-background-color","",Li),Bi=St`
275
+ `}}function Si(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ki(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map((e=>ki(e,t.selected))),value:t.value}}function Ni(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map((t=>ki(t,!1)))}}Oi.styles=[hi,pi,fi,di,ui,bi,gi,yi,mi,vi,xi,...$i],wi([S()],Oi.prototype,"element",void 0),wi([S()],Oi.prototype,"variant",void 0),U("ft-typography")(Oi);const Ci=ke.extend("--ft-ripple-color","",Le.colorContent),Ei={color:Ci,backgroundColor:ke.extend("--ft-ripple-background-color","",Ci),opacityContentOnSurfacePressed:ke.external(Le.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ke.external(Le.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ke.external(Le.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ke.external(Le.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ke.create("--ft-ripple-border-radius","","SIZE","0px")},Ri=ke.extend("--ft-ripple-color","",Le.colorPrimary),Ii=Ri,Li=ke.extend("--ft-ripple-background-color","",Ri),Ui=ke.extend("--ft-ripple-color","",Le.colorSecondary),zi=Ui,Wi=ke.extend("--ft-ripple-background-color","",Ui),Bi=St`
276
276
  :host {
277
277
  display: contents;
278
278
  }
@@ -335,7 +335,7 @@ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$li
335
335
  }
336
336
 
337
337
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
338
- background-color: ${Ui};
338
+ background-color: ${Li};
339
339
  }
340
340
 
341
341
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
@@ -384,7 +384,7 @@ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$li
384
384
  opacity: ${Ei.opacityContentOnSurfacePressed};
385
385
  transform: translate(-50%, -50%) scale(1);
386
386
  }
387
- `,Fi={color:ke.extend("--ft-loader-color","",Ue.colorPrimary),size:ke.create("--ft-loader-size","","SIZE","80px")},Di=St`
387
+ `,Fi={color:ke.extend("--ft-loader-color","",Le.colorPrimary),size:ke.create("--ft-loader-size","","SIZE","80px")},Di=St`
388
388
  :host {
389
389
  line-height: 0;
390
390
  }
@@ -501,7 +501,7 @@ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$li
501
501
  .ft-icon--material {
502
502
  font-family: ${Ki.materialFontFamily}, "Material Icons", sans-serif;
503
503
  }
504
- `,Mi=ke.extend("--ft-button-color","",Ue.colorPrimary),Ai={backgroundColor:ke.extend("--ft-button-background-color","",Ue.colorSurface),borderRadius:ke.extend("--ft-button-border-radius","",Ue.borderRadiusL),color:Mi,fontSize:ke.extend("--ft-button-font-size","",ci.fontSize),iconSize:ke.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ke.extend("--ft-button-ripple-color","",Mi),verticalPadding:ke.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ke.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ke.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ke.external(Ue.colorOpacityDisabled,"Design system")},Pi=ke.extend("--ft-button-primary-color","",ke.extend("--ft-button-color","",Ue.colorOnPrimary)),ji={backgroundColor:ke.extend("--ft-button-primary-background-color","",ke.extend("--ft-button-background-color","",Ue.colorPrimary)),color:Pi,rippleColor:ke.extend("--ft-button-primary-ripple-color","",Pi)},Hi=ke.extend("--ft-button-dense-border-radius","",ke.extend("--ft-button-border-radius","",Ue.borderRadiusM)),Ti=ke.create("--ft-button-dense-vertical-padding","","SIZE","2px"),_i=ke.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Vi=ke.create("--ft-button-dense-icon-padding","","SIZE","4px"),Gi=[St`
504
+ `,Mi=ke.extend("--ft-button-color","",Le.colorPrimary),Ai={backgroundColor:ke.extend("--ft-button-background-color","",Le.colorSurface),borderRadius:ke.extend("--ft-button-border-radius","",Le.borderRadiusL),color:Mi,fontSize:ke.extend("--ft-button-font-size","",ci.fontSize),iconSize:ke.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ke.extend("--ft-button-ripple-color","",Mi),verticalPadding:ke.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ke.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ke.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ke.external(Le.colorOpacityDisabled,"Design system")},Pi=ke.extend("--ft-button-primary-color","",ke.extend("--ft-button-color","",Le.colorOnPrimary)),ji={backgroundColor:ke.extend("--ft-button-primary-background-color","",ke.extend("--ft-button-background-color","",Le.colorPrimary)),color:Pi,rippleColor:ke.extend("--ft-button-primary-ripple-color","",Pi)},Hi=ke.extend("--ft-button-dense-border-radius","",ke.extend("--ft-button-border-radius","",Le.borderRadiusM)),Ti=ke.create("--ft-button-dense-vertical-padding","","SIZE","2px"),_i=ke.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Vi=ke.create("--ft-button-dense-icon-padding","","SIZE","4px"),Gi=[St`
505
505
  :host {
506
506
  display: inline-block;
507
507
  max-width: 100%;
@@ -638,7 +638,7 @@ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$li
638
638
  ${Ne(Fi.size,Ai.iconSize)};
639
639
  ${Ne(Fi.color,"var(--ft-button-internal-color)")};
640
640
  }
641
- `,Pe],qi=Qe(class extends to{constructor(t){if(super(t),t.type!==Je||"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 et}});var Yi=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 Ji extends Me{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 ae`
641
+ `,Pe],qi=Qe(class extends to{constructor(t){if(super(t),t.type!==Je||"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 et}});var Yi=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 Ji extends Me{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 R(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 R(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 ae`
642
642
  <style>
643
643
  .ft-ripple .ft-ripple--effect {
644
644
  left: ${this.originX}px;
@@ -649,7 +649,7 @@ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$li
649
649
  <div class="ft-ripple--background"></div>
650
650
  <div class="ft-ripple--effect"></div>
651
651
  </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)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),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()}}Ji.elementDefinitions={},Ji.styles=Bi,Yi([k({type:Boolean})],Ji.prototype,"primary",void 0),Yi([k({type:Boolean})],Ji.prototype,"secondary",void 0),Yi([k({type:Boolean})],Ji.prototype,"unbounded",void 0),Yi([k({type:Boolean})],Ji.prototype,"activated",void 0),Yi([k({type:Boolean})],Ji.prototype,"selected",void 0),Yi([k({type:Boolean})],Ji.prototype,"disabled",void 0),Yi([N()],Ji.prototype,"hovered",void 0),Yi([N()],Ji.prototype,"focused",void 0),Yi([N()],Ji.prototype,"pressed",void 0),Yi([N()],Ji.prototype,"rippling",void 0),Yi([N()],Ji.prototype,"originX",void 0),Yi([N()],Ji.prototype,"originY",void 0),Yi([E(".ft-ripple")],Ji.prototype,"ripple",void 0),Yi([E(".ft-ripple--effect")],Ji.prototype,"rippleEffect",void 0),L("ft-ripple")(Ji);const Xi={distance:ke.create("--ft-tooltip-distance","","SIZE","4px"),color:ke.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ke.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ke.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ke.external(Ue.borderRadiusS,"Design system"),maxWidth:ke.create("--ft-tooltip-max-width","","SIZE","150px")},Qi=St`
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)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),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()}}Ji.elementDefinitions={},Ji.styles=Bi,Yi([S({type:Boolean})],Ji.prototype,"primary",void 0),Yi([S({type:Boolean})],Ji.prototype,"secondary",void 0),Yi([S({type:Boolean})],Ji.prototype,"unbounded",void 0),Yi([S({type:Boolean})],Ji.prototype,"activated",void 0),Yi([S({type:Boolean})],Ji.prototype,"selected",void 0),Yi([S({type:Boolean})],Ji.prototype,"disabled",void 0),Yi([k()],Ji.prototype,"hovered",void 0),Yi([k()],Ji.prototype,"focused",void 0),Yi([k()],Ji.prototype,"pressed",void 0),Yi([k()],Ji.prototype,"rippling",void 0),Yi([k()],Ji.prototype,"originX",void 0),Yi([k()],Ji.prototype,"originY",void 0),Yi([C(".ft-ripple")],Ji.prototype,"ripple",void 0),Yi([C(".ft-ripple--effect")],Ji.prototype,"rippleEffect",void 0),U("ft-ripple")(Ji);const Xi={distance:ke.create("--ft-tooltip-distance","","SIZE","4px"),color:ke.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ke.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ke.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ke.external(Le.borderRadiusS,"Design system"),maxWidth:ke.create("--ft-tooltip-max-width","","SIZE","150px")},Qi=St`
653
653
  .ft-tooltip--container {
654
654
  display: block;
655
655
  }
@@ -678,7 +678,7 @@ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$li
678
678
  position: relative;
679
679
  word-break: break-word;
680
680
  }
681
- `;var tr=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 er extends Me{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 ae`
681
+ `,tr=["start","end"],er=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+tr[0],e+"-"+tr[1])),[]),or=Math.min,ir=Math.max,rr=Math.round,nr=t=>({x:t,y:t}),ar={left:"right",right:"left",bottom:"top",top:"bottom"},sr={start:"end",end:"start"};function lr(t,e,o){return ir(t,or(e,o))}function cr(t,e){return"function"==typeof t?t(e):t}function hr(t){return t.split("-")[0]}function pr(t){return t.split("-")[1]}function fr(t){return"x"===t?"y":"x"}function dr(t){return"y"===t?"height":"width"}function ur(t){return["top","bottom"].includes(hr(t))?"y":"x"}function br(t){return fr(ur(t))}function gr(t){return t.replace(/left|right|bottom|top/g,(t=>ar[t]))}function yr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function mr(t,e,o){let{reference:i,floating:r}=t;const n=ur(e),a=br(e),s=dr(a),l=hr(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(pr(e)){case"start":d[a]-=f*(o&&c?-1:1);break;case"end":d[a]+=f*(o&&c?-1:1)}return d}async function vr(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}=cr(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=yr(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=yr(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 xr(t,e,o){return(t?[...o.filter((e=>pr(e)===t)),...o.filter((e=>pr(e)!==t))]:o.filter((t=>hr(t)===t))).filter((o=>!t||(pr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>sr[t]))}(o)!==o)))}const $r=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=er,autoAlignment:d=!0,...u}=cr(t,e),b=void 0!==p||f===er?xr(p||null,d,f):f,g=await vr(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=pr(t),r=br(t),n=dr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=gr(a)),[a,gr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:b[0]}};const x=[g[hr(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=pr(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,pr(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 kr(t)?(t.nodeName||"").toLowerCase():"#document"}function Or(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Sr(t){var e;return null==(e=(kr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function kr(t){return t instanceof Node||t instanceof Or(t).Node}function Nr(t){return t instanceof Element||t instanceof Or(t).Element}function Cr(t){return t instanceof HTMLElement||t instanceof Or(t).HTMLElement}function Er(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Or(t).ShadowRoot)}function Rr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Wr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Ir(t){return["table","td","th"].includes(wr(t))}function Lr(t){const e=Ur(),o=Wr(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 Ur(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function zr(t){return["html","body","#document"].includes(wr(t))}function Wr(t){return Or(t).getComputedStyle(t)}function Br(t){return Nr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Fr(t){if("html"===wr(t))return t;const e=t.assignedSlot||t.parentNode||Er(t)&&t.host||Sr(t);return Er(e)?e.host:e}function Dr(t){const e=Fr(t);return zr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Cr(e)&&Rr(e)?e:Dr(e)}function Kr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Dr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Or(r);return n?e.concat(a,a.visualViewport||[],Rr(r)?r:[],a.frameElement&&o?Kr(a.frameElement):[]):e.concat(r,Kr(r,[],o))}function Zr(t){const e=Wr(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Cr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=rr(o)!==n||rr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Mr(t){return Nr(t)?t:t.contextElement}function Ar(t){const e=Mr(t);if(!Cr(e))return nr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Zr(e);let a=(n?rr(o.width):o.width)/i,s=(n?rr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Pr=nr(0);function jr(t){const e=Or(t);return Ur()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Pr}function Hr(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Mr(t);let a=nr(1);e&&(i?Nr(i)&&(a=Ar(i)):a=Ar(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Or(t))&&e}(n,o,i)?jr(n):nr(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=Or(n),e=i&&Nr(i)?Or(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Ar(o),e=o.getBoundingClientRect(),i=Wr(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=Or(o).frameElement}}return yr({width:h,height:p,x:l,y:c})}function Tr(t){return Hr(Sr(t)).left+Br(t).scrollLeft}function _r(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Or(t),i=Sr(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=Ur();(!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=Sr(t),o=Br(t),i=t.ownerDocument.body,r=ir(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=ir(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Tr(t);const s=-o.scrollTop;return"rtl"===Wr(i).direction&&(a+=ir(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Sr(t));else if(Nr(e))i=function(t,e){const o=Hr(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Cr(t)?Ar(t):nr(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=jr(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return yr(i)}function Vr(t,e){const o=Fr(t);return!(o===e||!Nr(o)||zr(o))&&("fixed"===Wr(o).position||Vr(o,e))}function Gr(t,e,o){const i=Cr(e),r=Sr(e),n="fixed"===o,a=Hr(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=nr(0);if(i||!i&&!n)if(("body"!==wr(e)||Rr(r))&&(s=Br(e)),i){const t=Hr(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Tr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function qr(t,e){return Cr(t)&&"fixed"!==Wr(t).position?e?e(t):t.offsetParent:null}function Yr(t,e){const o=Or(t);if(!Cr(t))return o;let i=qr(t,e);for(;i&&Ir(i)&&"static"===Wr(i).position;)i=qr(i,e);return i&&("html"===wr(i)||"body"===wr(i)&&"static"===Wr(i).position&&!Lr(i))?o:i||function(t){let e=Fr(t);for(;Cr(e)&&!zr(e);){if(Lr(e))return e;e=Fr(e)}return null}(t)||o}const Jr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Cr(o),n=Sr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=nr(1);const l=nr(0);if((r||!r&&"fixed"!==i)&&(("body"!==wr(o)||Rr(n))&&(a=Br(o)),Cr(o))){const t=Hr(o);s=Ar(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:Sr,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=Kr(t,[],!1).filter((t=>Nr(t)&&"body"!==wr(t))),r=null;const n="fixed"===Wr(t).position;let a=n?Fr(t):t;for(;Nr(a)&&!zr(a);){const e=Wr(a),o=Lr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Rr(a)&&!o&&Vr(t,a))?i=i.filter((t=>t!==a)):r=e,a=Fr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=_r(e,o,r);return t.top=ir(i.top,t.top),t.right=or(i.right,t.right),t.bottom=or(i.bottom,t.bottom),t.left=ir(i.left,t.left),t}),_r(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Yr,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Yr,n=this.getDimensions;return{reference:Gr(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 Zr(t)},getScale:Ar,isElement:Nr,isRTL:function(t){return"rtl"===Wr(t).direction}},Xr=(t,e,o)=>{const i=new Map,r={platform:Jr,...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}=mr(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}=mr(c,f,l))),o=-1)}return{x:h,y:p,placement:f,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};var Qr=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 tn extends Me{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 R,this.revealDebouncer=new R}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ae`
682
682
  <div part="container"
683
683
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
684
684
  @mouseenter=${this.onHover}
@@ -696,31 +696,31 @@ const bo=Symbol.for(""),go=t=>{if(t?.r===bo)return t?._$litStatic$},yo=t=>({_$li
696
696
  </div>
697
697
  </div>
698
698
  </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()}show(t){this.visible=!0,null!=t&&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();const t=this.slottedElement;if(this.tooltip&&t){const e=this.tooltip.offsetWidth,o=this.tooltip.offsetHeight,i=(t.offsetHeight-o)/2,r=(t.offsetWidth-e)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-o-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+r-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft-e-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+i-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,h=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,h))+"px";let p=-l.y,f=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(p,f))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Xi.maxWidth})`}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())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}er.elementDefinitions={"ft-typography":wi},er.styles=Qi,tr([k()],er.prototype,"text",void 0),tr([k({type:Boolean})],er.prototype,"manual",void 0),tr([k({type:Boolean})],er.prototype,"inline",void 0),tr([k({type:Number})],er.prototype,"delay",void 0),tr([k()],er.prototype,"position",void 0),tr([
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()}show(t){this.visible=!0,null!=t&&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="",Xr(this.slottedElement,this.tooltip,{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}=cr(t,e),c={x:o,y:i},h=await vr(e,l),p=ur(hr(r)),f=fr(p);let d=c[f],u=c[p];if(n){const t="y"===f?"bottom":"right";d=lr(d+h["y"===f?"top":"left"],d,d-h[t])}if(a){const t="y"===p?"bottom":"right";u=lr(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}}}}),$r({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())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}tn.elementDefinitions={"ft-typography":Oi},tn.styles=Qi,Qr([S()],tn.prototype,"text",void 0),Qr([S({type:Boolean})],tn.prototype,"manual",void 0),Qr([S({type:Boolean})],tn.prototype,"inline",void 0),Qr([S({type:Number})],tn.prototype,"delay",void 0),Qr([S()],tn.prototype,"position",void 0),Qr([
700
700
  /**
701
701
  * @license
702
702
  * Copyright 2017 Google LLC
703
703
  * SPDX-License-Identifier: BSD-3-Clause
704
704
  */
705
- function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],er.prototype,"slotNodes",void 0),tr([E(".ft-tooltip--container")],er.prototype,"container",void 0),tr([E(".ft-tooltip")],er.prototype,"tooltip",void 0),tr([E(".ft-tooltip--content")],er.prototype,"tooltipContent",void 0),tr([N()],er.prototype,"visible",void 0),L("ft-tooltip")(er);
705
+ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return N(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],tn.prototype,"slotNodes",void 0),Qr([C(".ft-tooltip--container")],tn.prototype,"container",void 0),Qr([C(".ft-tooltip")],tn.prototype,"tooltip",void 0),Qr([C(".ft-tooltip--content")],tn.prototype,"tooltipContent",void 0),Qr([k()],tn.prototype,"visible",void 0),U("ft-tooltip")(tn);
706
706
  /**
707
707
  * @license
708
708
  * Copyright 2017 Google LLC
709
709
  * SPDX-License-Identifier: BSD-3-Clause
710
710
  */
711
- class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===et)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:[]}}}or.directiveName="unsafeHTML",or.resultType=1;const ir=Qe(or);var rr,nr;!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;"}(rr||(rr={})),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;"}(nr||(nr={}));const ar=new Map([...["abw"].map((t=>[t,nr.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,nr.AUDIO])),...["avi"].map((t=>[t,nr.AVI])),...["chm","xhs"].map((t=>[t,nr.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,nr.CODE])),...["csv"].map((t=>[t,nr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,nr.DITA])),...["epub"].map((t=>[t,nr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,nr.EXCEL])),...["flac"].map((t=>[t,nr.FLAC])),...["gif"].map((t=>[t,nr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,nr.GZIP])),...["html","htm","xhtml"].map((t=>[t,nr.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,nr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,nr.JPEG])),...["json"].map((t=>[t,nr.JSON])),...["m4a","m4p"].map((t=>[t,nr.M4A])),...["mov","qt"].map((t=>[t,nr.MOV])),...["mp3"].map((t=>[t,nr.MP3])),...["mp4","m4v"].map((t=>[t,nr.MP4])),...["ogg","oga"].map((t=>[t,nr.OGG])),...["pdf","ps"].map((t=>[t,nr.PDF])),...["png"].map((t=>[t,nr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,nr.POWERPOINT])),...["rar"].map((t=>[t,nr.RAR])),...["stp"].map((t=>[t,nr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,nr.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,nr.VIDEO])),...["wav"].map((t=>[t,nr.WAV])),...["wma"].map((t=>[t,nr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,nr.WORD])),...["xml","xsl","rdf"].map((t=>[t,nr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,nr.YAML])),...["zip"].map((t=>[t,nr.ZIP]))]),sr=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 lr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(lr||(lr={}));var cr=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 hr extends Me{constructor(){super(...arguments),this.resolvedIcon=le}render(){const t=this.variant&&Object.values(lr).includes(this.variant)?this.variant:lr.fluid_topics,e=t!==lr.material||!!this.value;return ae`
711
+ class en extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===et)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:[]}}}en.directiveName="unsafeHTML",en.resultType=1;const on=Qe(en);var rn,nn;!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;"}(rn||(rn={})),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;"}(nn||(nn={}));const an=new Map([...["abw"].map((t=>[t,nn.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,nn.AUDIO])),...["avi"].map((t=>[t,nn.AVI])),...["chm","xhs"].map((t=>[t,nn.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,nn.CODE])),...["csv"].map((t=>[t,nn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,nn.DITA])),...["epub"].map((t=>[t,nn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,nn.EXCEL])),...["flac"].map((t=>[t,nn.FLAC])),...["gif"].map((t=>[t,nn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,nn.GZIP])),...["html","htm","xhtml"].map((t=>[t,nn.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,nn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,nn.JPEG])),...["json"].map((t=>[t,nn.JSON])),...["m4a","m4p"].map((t=>[t,nn.M4A])),...["mov","qt"].map((t=>[t,nn.MOV])),...["mp3"].map((t=>[t,nn.MP3])),...["mp4","m4v"].map((t=>[t,nn.MP4])),...["ogg","oga"].map((t=>[t,nn.OGG])),...["pdf","ps"].map((t=>[t,nn.PDF])),...["png"].map((t=>[t,nn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,nn.POWERPOINT])),...["rar"].map((t=>[t,nn.RAR])),...["stp"].map((t=>[t,nn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,nn.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,nn.VIDEO])),...["wav"].map((t=>[t,nn.WAV])),...["wma"].map((t=>[t,nn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,nn.WORD])),...["xml","xsl","rdf"].map((t=>[t,nn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,nn.YAML])),...["zip"].map((t=>[t,nn.ZIP]))]),sn=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 ln;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ln||(ln={}));var cn=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 hn extends Me{constructor(){super(...arguments),this.resolvedIcon=le}render(){const t=this.variant&&Object.values(ln).includes(this.variant)?this.variant:ln.fluid_topics,e=t!==ln.material||!!this.value;return ae`
712
712
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
713
- ${ir(this.resolvedIcon)}
713
+ ${on(this.resolvedIcon)}
714
714
  <slot ?hidden=${e}></slot>
715
715
  </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 lr.file_format:this.resolvedIcon=null!==(t=nr[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case lr.material:this.resolvedIcon=this.value||le;break;default:this.resolvedIcon=null!==(e=rr[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}hr.elementDefinitions={},hr.styles=Zi,cr([k()],hr.prototype,"variant",void 0),cr([k()],hr.prototype,"value",void 0),cr([N()],hr.prototype,"resolvedIcon",void 0),cr([E("slot")],hr.prototype,"slottedContent",void 0),L("ft-icon")(hr);class pr extends Me{render(){return ae`
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 ln.file_format:this.resolvedIcon=null!==(t=nn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ln.material:this.resolvedIcon=this.value||le;break;default:this.resolvedIcon=null!==(e=rn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}hn.elementDefinitions={},hn.styles=Zi,cn([S()],hn.prototype,"variant",void 0),cn([S()],hn.prototype,"value",void 0),cn([k()],hn.prototype,"resolvedIcon",void 0),cn([C("slot")],hn.prototype,"slottedContent",void 0),U("ft-icon")(hn);class pn extends Me{render(){return ae`
717
717
  <div class="ft-loader">
718
718
  <div></div>
719
719
  <div></div>
720
720
  <div></div>
721
721
  <div></div>
722
722
  </div>
723
- `}}pr.styles=Di,L("ft-loader")(pr);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 dr extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[_e].form}constructor(...t){super(t),this[_e]=this.attachInternals(),this[_e].role=e}setFormValue(t){this[_e].setFormValue(t)}}}(Me,"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(ae`
723
+ `}}pn.styles=Di,U("ft-loader")(pn);var fn=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 dn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[_e].form}constructor(...t){super(t),this[_e]=this.attachInternals(),this[_e].role=e}setFormValue(t){this[_e].setFormValue(t)}}}(Me,"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(ae`
724
724
  <button part="button"
725
725
  class="${qi(this.buttonClasses)}"
726
726
  aria-label="${this.getLabel()}"
@@ -743,7 +743,7 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
743
743
  </ft-tooltip>
744
744
  `:t}resolveIcon(){return this.loading?ae`
745
745
  <ft-loader part="loader icon"></ft-loader> `:this.icon?ae`
746
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:le}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}}dr.elementDefinitions={"ft-ripple":Ji,"ft-tooltip":er,"ft-typography":wi,"ft-icon":hr,"ft-loader":pr},fr([k({type:String,reflect:!0})],dr.prototype,"role",void 0),fr([k()],dr.prototype,"type",void 0),fr([k({type:Boolean})],dr.prototype,"disabled",void 0),fr([k()],dr.prototype,"label",void 0),fr([k()],dr.prototype,"icon",void 0),fr([k()],dr.prototype,"iconVariant",void 0),fr([k({type:Boolean})],dr.prototype,"trailingIcon",void 0),fr([k({type:Boolean})],dr.prototype,"loading",void 0),fr([k()],dr.prototype,"tooltipPosition",void 0),fr([k({type:Boolean})],dr.prototype,"hideTooltip",void 0),fr([k({type:Boolean})],dr.prototype,"forceTooltip",void 0),fr([E(".ft-button")],dr.prototype,"button",void 0),fr([E(".ft-button--label slot")],dr.prototype,"slottedContent",void 0);var ur=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 dr{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"}}br.styles=[He,Gi],ur([k({type:Boolean})],br.prototype,"primary",void 0),ur([k({type:Boolean})],br.prototype,"outlined",void 0),ur([k({type:Boolean})],br.prototype,"dense",void 0),ur([k({type:Boolean})],br.prototype,"round",void 0);const gr=[St`
746
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:le}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}}dn.elementDefinitions={"ft-ripple":Ji,"ft-tooltip":tn,"ft-typography":Oi,"ft-icon":hn,"ft-loader":pn},fn([S({type:String,reflect:!0})],dn.prototype,"role",void 0),fn([S()],dn.prototype,"type",void 0),fn([S({type:Boolean})],dn.prototype,"disabled",void 0),fn([S()],dn.prototype,"label",void 0),fn([S()],dn.prototype,"icon",void 0),fn([S()],dn.prototype,"iconVariant",void 0),fn([S({type:Boolean})],dn.prototype,"trailingIcon",void 0),fn([S({type:Boolean})],dn.prototype,"loading",void 0),fn([S()],dn.prototype,"tooltipPosition",void 0),fn([S({type:Boolean})],dn.prototype,"hideTooltip",void 0),fn([S({type:Boolean})],dn.prototype,"forceTooltip",void 0),fn([C(".ft-button")],dn.prototype,"button",void 0),fn([C(".ft-button--label slot")],dn.prototype,"slottedContent",void 0);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 dn{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"}}bn.styles=[He,Gi],un([S({type:Boolean})],bn.prototype,"primary",void 0),un([S({type:Boolean})],bn.prototype,"outlined",void 0),un([S({type:Boolean})],bn.prototype,"dense",void 0),un([S({type:Boolean})],bn.prototype,"round",void 0);const gn=[St`
747
747
  :host {
748
748
  display: inline-block;
749
749
  max-width: 100%;
@@ -961,14 +961,14 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
961
961
  width: ${Ie.smallIconOnlyWidth};
962
962
  padding: unset;
963
963
  }
964
- `,Pe];var yr=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 mr extends dr{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?xo.caption1medium:xo.body2medium}}mr.styles=[He,gr],yr([k({type:Boolean})],mr.prototype,"primary",void 0),yr([k({type:Boolean})],mr.prototype,"secondary",void 0),yr([k({type:Boolean})],mr.prototype,"tertiary",void 0),yr([k({type:Boolean})],mr.prototype,"neutral",void 0),yr([k({type:Boolean})],mr.prototype,"small",void 0),L("ft-button")(br),L("ftds-button")(mr);const vr=ke.extend("--ft-checkbox-text-color","",Ue.colorOnSurfaceHigh),xr=ke.external(Ue.colorPrimary,"Design system"),$r=ke.external(Ue.colorOnPrimary,"Design system"),Or=ke.extend("--ft-checkbox-border-color","",Ue.colorOnSurfaceMedium),wr=ke.external(Ue.colorOnSurfaceDisabled,"Design system"),Sr=St`
964
+ `,Pe];var yn=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 mn extends dn{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?xo.caption1medium:xo.body2medium}}mn.styles=[He,gn],yn([S({type:Boolean})],mn.prototype,"primary",void 0),yn([S({type:Boolean})],mn.prototype,"secondary",void 0),yn([S({type:Boolean})],mn.prototype,"tertiary",void 0),yn([S({type:Boolean})],mn.prototype,"neutral",void 0),yn([S({type:Boolean})],mn.prototype,"small",void 0),U("ft-button")(bn),U("ftds-button")(mn);const vn=ke.extend("--ft-checkbox-text-color","",Le.colorOnSurfaceHigh),xn=ke.external(Le.colorPrimary,"Design system"),$n=ke.external(Le.colorOnPrimary,"Design system"),wn=ke.extend("--ft-checkbox-border-color","",Le.colorOnSurfaceMedium),On=ke.external(Le.colorOnSurfaceDisabled,"Design system"),Sn=St`
965
965
  * {
966
966
  box-sizing: border-box;
967
967
  }
968
968
 
969
969
  .ft-checkbox {
970
970
  box-sizing: border-box;
971
- color: ${vr};
971
+ color: ${vn};
972
972
 
973
973
  display: inline-flex;
974
974
  align-items: center;
@@ -976,7 +976,7 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
976
976
  }
977
977
 
978
978
  .ft-checkbox--disabled {
979
- color: ${wr};
979
+ color: ${On};
980
980
  }
981
981
 
982
982
  input {
@@ -1000,26 +1000,26 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
1000
1000
 
1001
1001
  .ft-checkbox--box {
1002
1002
  display: flex;
1003
- border: 2px solid ${Or};
1003
+ border: 2px solid ${wn};
1004
1004
  border-radius: 2px;
1005
1005
 
1006
1006
  width: 18px;
1007
1007
  height: 18px;
1008
1008
 
1009
- color: ${$r};
1009
+ color: ${$n};
1010
1010
  }
1011
1011
 
1012
1012
 
1013
1013
  .ft-checkbox--checked .ft-checkbox--box,
1014
1014
  .ft-checkbox--indeterminate .ft-checkbox--box {
1015
- border-color: ${xr};
1016
- background-color: ${xr};
1015
+ border-color: ${xn};
1016
+ background-color: ${xn};
1017
1017
  }
1018
1018
 
1019
1019
  .ft-checkbox--disabled .ft-checkbox--box {
1020
- border-color: ${wr};
1020
+ border-color: ${On};
1021
1021
  background-color: transparent;
1022
- color: ${wr};
1022
+ color: ${On};
1023
1023
  }
1024
1024
 
1025
1025
  .ft-checkbox--checkmark {
@@ -1038,7 +1038,7 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
1038
1038
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1039
1039
  opacity: 1;
1040
1040
  }
1041
- `;var kr=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 Nr extends Me{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 ae`
1041
+ `;var kn=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 Nn extends Me{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 ae`
1042
1042
  <label class="${qi(t)}" for="checkbox-input">
1043
1043
  <div class="ft-checkbox--box-container">
1044
1044
  <ft-ripple
@@ -1064,14 +1064,14 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
1064
1064
  <slot></slot>
1065
1065
  </ft-typography>
1066
1066
  </label>
1067
- `}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)}}Nr.elementDefinitions={"ft-ripple":Ji,"ft-typography":wi},Nr.styles=Sr,kr([k()],Nr.prototype,"name",void 0),kr([k({type:Boolean,reflect:!0})],Nr.prototype,"checked",void 0),kr([k({type:Boolean})],Nr.prototype,"indeterminate",void 0),kr([k({type:Boolean})],Nr.prototype,"disabled",void 0),kr([E(".ft-checkbox")],Nr.prototype,"container",void 0),kr([E("ft-ripple")],Nr.prototype,"ripple",void 0),L("ft-checkbox")(Nr);const Cr=ke.extend("--ft-radio-text-color","",Ue.colorOnSurfaceHigh),Er=ke.external(Ue.colorPrimary,"Design system"),Rr=(ke.external(Ue.colorOnPrimary,"Design system"),ke.extend("--ft-radio-border-color","",Ue.colorOnSurfaceMedium)),Ir=ke.external(Ue.colorOnSurfaceDisabled,"Design system"),Ur=St`
1067
+ `}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)}}Nn.elementDefinitions={"ft-ripple":Ji,"ft-typography":Oi},Nn.styles=Sn,kn([S()],Nn.prototype,"name",void 0),kn([S({type:Boolean,reflect:!0})],Nn.prototype,"checked",void 0),kn([S({type:Boolean})],Nn.prototype,"indeterminate",void 0),kn([S({type:Boolean})],Nn.prototype,"disabled",void 0),kn([C(".ft-checkbox")],Nn.prototype,"container",void 0),kn([C("ft-ripple")],Nn.prototype,"ripple",void 0),U("ft-checkbox")(Nn);const Cn=ke.extend("--ft-radio-text-color","",Le.colorOnSurfaceHigh),En=ke.external(Le.colorPrimary,"Design system"),Rn=(ke.external(Le.colorOnPrimary,"Design system"),ke.extend("--ft-radio-border-color","",Le.colorOnSurfaceMedium)),In=ke.external(Le.colorOnSurfaceDisabled,"Design system"),Ln=St`
1068
1068
  * {
1069
1069
  box-sizing: border-box;
1070
1070
  }
1071
1071
 
1072
1072
  .ft-radio {
1073
1073
  box-sizing: border-box;
1074
- color: ${Cr};
1074
+ color: ${Cn};
1075
1075
 
1076
1076
  display: inline-flex;
1077
1077
  align-items: center;
@@ -1079,7 +1079,7 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
1079
1079
  }
1080
1080
 
1081
1081
  .ft-radio--disabled {
1082
- color: ${Ir};
1082
+ color: ${In};
1083
1083
  }
1084
1084
 
1085
1085
  input {
@@ -1102,7 +1102,7 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
1102
1102
  }
1103
1103
 
1104
1104
  .ft-radio--box {
1105
- border: 2px solid ${Rr};
1105
+ border: 2px solid ${Rn};
1106
1106
  border-radius: 50%;
1107
1107
 
1108
1108
  display: flex;
@@ -1115,7 +1115,7 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
1115
1115
 
1116
1116
  .ft-radio--box:after {
1117
1117
  content: " ";
1118
- background-color: ${Er};
1118
+ background-color: ${En};
1119
1119
 
1120
1120
  border-radius: 50%;
1121
1121
 
@@ -1127,7 +1127,7 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
1127
1127
  }
1128
1128
 
1129
1129
  .ft-radio--checked .ft-radio--box {
1130
- border-color: ${Er};
1130
+ border-color: ${En};
1131
1131
  }
1132
1132
 
1133
1133
 
@@ -1136,14 +1136,14 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
1136
1136
  }
1137
1137
 
1138
1138
  .ft-radio--disabled .ft-radio--box {
1139
- border-color: ${Ir};
1139
+ border-color: ${In};
1140
1140
  background-color: transparent;
1141
1141
  }
1142
1142
 
1143
1143
  .ft-radio--disabled .ft-radio--box:after {
1144
- background-color: ${Ir};
1144
+ background-color: ${In};
1145
1145
  }
1146
- `;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 zr extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Wr extends Me{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 ae`
1146
+ `;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 zn extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Wn extends Me{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 ae`
1147
1147
  <div class="${qi(t)}">
1148
1148
  <div class="ft-radio--box-container">
1149
1149
  <ft-ripple
@@ -1168,22 +1168,22 @@ class or extends to{constructor(t){if(super(t),this.et=ot,t.type!==Xe)throw Erro
1168
1168
  </ft-typography>
1169
1169
  </label>
1170
1170
  </div>
1171
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new zr(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 zr(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Wr.elementDefinitions={"ft-ripple":Ji,"ft-typography":wi},Wr.styles=Ur,Lr([k()],Wr.prototype,"value",void 0),Lr([k()],Wr.prototype,"name",void 0),Lr([k({type:Boolean,reflect:!0})],Wr.prototype,"checked",void 0),Lr([k({type:Boolean})],Wr.prototype,"disabled",void 0),Lr([E(".ft-radio")],Wr.prototype,"container",void 0),Lr([E("ft-ripple")],Wr.prototype,"ripple",void 0),Lr([E("input")],Wr.prototype,"input",void 0);const Br=St`
1171
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new zn(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 zn(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Wn.elementDefinitions={"ft-ripple":Ji,"ft-typography":Oi},Wn.styles=Ln,Un([S()],Wn.prototype,"value",void 0),Un([S()],Wn.prototype,"name",void 0),Un([S({type:Boolean,reflect:!0})],Wn.prototype,"checked",void 0),Un([S({type:Boolean})],Wn.prototype,"disabled",void 0),Un([C(".ft-radio")],Wn.prototype,"container",void 0),Un([C("ft-ripple")],Wn.prototype,"ripple",void 0),Un([C("input")],Wn.prototype,"input",void 0);const Bn=St`
1172
1172
  :host {
1173
1173
  display: contents;
1174
1174
  }
1175
- `;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 Dr extends Me{constructor(){super(...arguments),this.name=""}render(){return ae`
1175
+ `;var Fn=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 Dn extends Me{constructor(){super(...arguments),this.name=""}render(){return ae`
1176
1176
  <slot @slotchange=${this.onSlotChange}
1177
1177
  @change=${this.onChange}
1178
1178
  @keydown=${this.onKeyDown}
1179
1179
  ></slot>
1180
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Dr.elementDefinitions={},Dr.styles=Br,Fr([k()],Dr.prototype,"name",void 0),Fr([
1180
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Dn.elementDefinitions={},Dn.styles=Bn,Fn([S()],Dn.prototype,"name",void 0),Fn([
1181
1181
  /**
1182
1182
  * @license
1183
1183
  * Copyright 2021 Google LLC
1184
1184
  * SPDX-License-Identifier: BSD-3-Clause
1185
1185
  */
1186
- function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return C(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Dr.prototype,"radioButtons",void 0),L("ft-radio")(Wr),L("ft-radio-group")(Dr);const Kr={borderRadiusM:ke.external(Ue.borderRadiusM,"Design system"),colorOutline:ke.external(Ue.colorOutline,"Design system"),colorOnSurface:ke.external(Ue.colorOnSurface,"Design system"),colorOnSurfaceMedium:ke.external(Ue.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ke.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:ke.external(Ue.colorPrimary,"Design system"),colorOnPrimary:ke.external(Ue.colorOnPrimary,"Design system"),fontFamily:ke.external(qo.fontFamily,"Body2 typography"),fontSize:ke.external(qo.fontSize,"Body2 typography"),fontWeight:ke.external(qo.fontWeight,"Body2 typography"),letterSpacing:ke.external(qo.letterSpacing,"Body2 typography"),lineHeight:ke.external(qo.lineHeight,"Body2 typography"),textTransform:ke.external(qo.textTransform,"Body2 typography")},Zr=St`
1186
+ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return N(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Dn.prototype,"radioButtons",void 0),U("ft-radio")(Wn),U("ft-radio-group")(Dn);const Kn={borderRadiusM:ke.external(Le.borderRadiusM,"Design system"),colorOutline:ke.external(Le.colorOutline,"Design system"),colorOnSurface:ke.external(Le.colorOnSurface,"Design system"),colorOnSurfaceMedium:ke.external(Le.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ke.external(Le.colorOnSurfaceDisabled,"Design system"),colorPrimary:ke.external(Le.colorPrimary,"Design system"),colorOnPrimary:ke.external(Le.colorOnPrimary,"Design system"),fontFamily:ke.external(qo.fontFamily,"Body2 typography"),fontSize:ke.external(qo.fontSize,"Body2 typography"),fontWeight:ke.external(qo.fontWeight,"Body2 typography"),letterSpacing:ke.external(qo.letterSpacing,"Body2 typography"),lineHeight:ke.external(qo.lineHeight,"Body2 typography"),textTransform:ke.external(qo.textTransform,"Body2 typography")},Zn=St`
1187
1187
  .ft-filter-level--container {
1188
1188
  display: flex;
1189
1189
  flex-direction: column;
@@ -1197,14 +1197,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1197
1197
  flex-shrink: 0;
1198
1198
  text-decoration: none;
1199
1199
  position: relative;
1200
- border-radius: ${Kr.borderRadiusM};
1200
+ border-radius: ${Kn.borderRadiusM};
1201
1201
  overflow: hidden;
1202
1202
  display: flex;
1203
1203
  align-items: center;
1204
1204
  padding: 4px 4px;
1205
1205
  gap: 4px;
1206
1206
  cursor: pointer;
1207
- color: ${Kr.colorOnSurface};
1207
+ color: ${Kn.colorOnSurface};
1208
1208
  }
1209
1209
 
1210
1210
  .ft-filter-level--go-back:focus {
@@ -1233,7 +1233,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1233
1233
  }
1234
1234
 
1235
1235
  ft-button {
1236
- ${Ne(Ai.color,Kr.colorOnSurface)};
1236
+ ${Ne(Ai.color,Kn.colorOnSurface)};
1237
1237
  }
1238
1238
 
1239
1239
  ft-radio, ft-checkbox {
@@ -1247,9 +1247,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1247
1247
 
1248
1248
  .ft-filter-level--no-values {
1249
1249
  margin: 10px 0;
1250
- color: ${Kr.colorOnSurfaceMedium};
1250
+ color: ${Kn.colorOnSurfaceMedium};
1251
1251
  }
1252
- `;var Mr=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 Ar extends Me{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 ae`
1252
+ `;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 Me{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 ae`
1253
1253
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1254
1254
  ${null==this.parent?null:ae`
1255
1255
  <div tabindex="0"
@@ -1313,7 +1313,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1313
1313
  @change=${t=>t.stopPropagation()}>
1314
1314
  ${t.renderOption?t.renderOption:t.label}
1315
1315
  </ft-radio>
1316
- `}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}))}}Ar.elementDefinitions={"ft-button":br,"ft-ripple":Ji,"ft-typography":wi,"ft-checkbox":Nr,"ft-icon":hr,"ft-radio":Wr},Ar.styles=Zr,Mr([k({type:String})],Ar.prototype,"filterId",void 0),Mr([k({type:Object})],Ar.prototype,"parent",void 0),Mr([k({type:Array})],Ar.prototype,"options",void 0),Mr([k({type:Boolean})],Ar.prototype,"multivalued",void 0),Mr([k({type:Boolean})],Ar.prototype,"disabled",void 0),Mr([k({type:Boolean})],Ar.prototype,"hideSelectedOptions",void 0),Mr([k({type:Boolean})],Ar.prototype,"preventNavigation",void 0),Mr([k({type:String})],Ar.prototype,"filter",void 0),Mr([k({type:String})],Ar.prototype,"moreValuesButtonLabel",void 0),Mr([k({type:String})],Ar.prototype,"noValuesLabel",void 0),Mr([k({type:Number})],Ar.prototype,"displayedValuesLimit",void 0),Mr([E(".ft-filter-level--container")],Ar.prototype,"container",void 0),Mr([N()],Ar.prototype,"displayedPages",void 0);const Pr={buttonsColor:ke.extend("--ft-snap-scroll-buttons-color","",Ue.colorPrimary),buttonsZIndex:ke.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:ke.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:ke.external(Ue.colorSurface,"Design system")},jr=St`
1316
+ `}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}))}}An.elementDefinitions={"ft-button":bn,"ft-ripple":Ji,"ft-typography":Oi,"ft-checkbox":Nn,"ft-icon":hn,"ft-radio":Wn},An.styles=Zn,Mn([S({type:String})],An.prototype,"filterId",void 0),Mn([S({type:Object})],An.prototype,"parent",void 0),Mn([S({type:Array})],An.prototype,"options",void 0),Mn([S({type:Boolean})],An.prototype,"multivalued",void 0),Mn([S({type:Boolean})],An.prototype,"disabled",void 0),Mn([S({type:Boolean})],An.prototype,"hideSelectedOptions",void 0),Mn([S({type:Boolean})],An.prototype,"preventNavigation",void 0),Mn([S({type:String})],An.prototype,"filter",void 0),Mn([S({type:String})],An.prototype,"moreValuesButtonLabel",void 0),Mn([S({type:String})],An.prototype,"noValuesLabel",void 0),Mn([S({type:Number})],An.prototype,"displayedValuesLimit",void 0),Mn([C(".ft-filter-level--container")],An.prototype,"container",void 0),Mn([k()],An.prototype,"displayedPages",void 0);const Pn={buttonsColor:ke.extend("--ft-snap-scroll-buttons-color","",Le.colorPrimary),buttonsZIndex:ke.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:ke.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:ke.external(Le.colorSurface,"Design system")},jn=St`
1317
1317
  .ft-snap-scroll {
1318
1318
  box-sizing: border-box;
1319
1319
  position: relative;
@@ -1348,7 +1348,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1348
1348
  flex-wrap: nowrap;
1349
1349
  align-items: flex-start;
1350
1350
  justify-content: flex-start;
1351
- gap: ${Pr.gap};
1351
+ gap: ${Pn.gap};
1352
1352
  }
1353
1353
 
1354
1354
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1391,11 +1391,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1391
1391
  .ft-snap-scroll--next {
1392
1392
  position: absolute;
1393
1393
  display: flex;
1394
- z-index: ${Pr.buttonsZIndex};
1394
+ z-index: ${Pn.buttonsZIndex};
1395
1395
  opacity: 1;
1396
1396
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1397
1397
  ${Ne(Ai.backgroundColor,"transparent")};
1398
- ${Ne(Ai.color,Pr.buttonsColor)};
1398
+ ${Ne(Ai.color,Pn.buttonsColor)};
1399
1399
  }
1400
1400
 
1401
1401
  .ft-snap-scroll--previous[hidden],
@@ -1408,37 +1408,37 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1408
1408
  top: 0;
1409
1409
  left: -1px;
1410
1410
  bottom: 0;
1411
- background: linear-gradient(to right, ${Pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1411
+ background: linear-gradient(to right, ${Pn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1412
1412
  }
1413
1413
 
1414
1414
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1415
1415
  top: -1px;
1416
1416
  left: 0;
1417
1417
  right: 0;
1418
- background: linear-gradient(to bottom, ${Pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1418
+ background: linear-gradient(to bottom, ${Pn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1419
1419
  }
1420
1420
 
1421
1421
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1422
1422
  top: 0;
1423
1423
  right: -1px;
1424
1424
  bottom: 0;
1425
- background: linear-gradient(to left, ${Pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1425
+ background: linear-gradient(to left, ${Pn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1426
1426
  }
1427
1427
 
1428
1428
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1429
1429
  left: 0;
1430
1430
  right: 0;
1431
1431
  bottom: -1px;
1432
- background: linear-gradient(to top, ${Pr.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1432
+ background: linear-gradient(to top, ${Pn.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1433
1433
  }
1434
1434
 
1435
1435
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1436
1436
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1437
1437
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1438
1438
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1439
- background-color: ${Pr.colorSurface};
1439
+ background-color: ${Pn.colorSurface};
1440
1440
  }
1441
- `;var Hr=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 Tr extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class _r extends Me{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=qi({"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":Ye}),e=this.controls&&this.withScroll;return ae`
1441
+ `;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 Tn extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class _n extends Me{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 R(200),this.updateScrollDebouncer=new R(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=qi({"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":Ye}),e=this.controls&&this.withScroll;return ae`
1442
1442
  <div part="container" class="${t}">
1443
1443
  <ft-button
1444
1444
  class="ft-snap-scroll--previous"
@@ -1462,7 +1462,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1462
1462
  @click=${this.next}
1463
1463
  ></ft-button>
1464
1464
  </div>
1465
- `}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 Tr(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)}}_r.elementDefinitions={"ft-button":br},_r.styles=jr,Hr([k({type:Boolean})],_r.prototype,"horizontal",void 0),Hr([k({type:Boolean})],_r.prototype,"hideScrollbar",void 0),Hr([k({type:Boolean})],_r.prototype,"controls",void 0),Hr([k({type:Boolean})],_r.prototype,"limitSize",void 0),Hr([N()],_r.prototype,"elements",void 0),Hr([N()],_r.prototype,"currentElement",void 0),Hr([N()],_r.prototype,"withScroll",void 0),Hr([N()],_r.prototype,"startReached",void 0),Hr([N()],_r.prototype,"endReached",void 0),Hr([E(".ft-snap-scroll--content")],_r.prototype,"contentSlot",void 0),L("ft-snap-scroll")(_r);const Vr=ke.external(Ue.colorOutline,"Design system"),Gr=ke.external(Ue.colorOnSurface,"Design system"),qr=ke.external(Ue.colorOnSurfaceMedium,"Design system"),Yr=ke.external(Ue.colorPrimary,"Design system"),Jr=ke.external(Ue.colorSurface,"Design system"),Xr=ke.external(Ue.transitionDuration,"Design system"),Qr=ke.external(Ue.transitionTimingFunction,"Design system"),tn=[gi,St`
1465
+ `}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 Tn(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)}}_n.elementDefinitions={"ft-button":bn},_n.styles=jn,Hn([S({type:Boolean})],_n.prototype,"horizontal",void 0),Hn([S({type:Boolean})],_n.prototype,"hideScrollbar",void 0),Hn([S({type:Boolean})],_n.prototype,"controls",void 0),Hn([S({type:Boolean})],_n.prototype,"limitSize",void 0),Hn([k()],_n.prototype,"elements",void 0),Hn([k()],_n.prototype,"currentElement",void 0),Hn([k()],_n.prototype,"withScroll",void 0),Hn([k()],_n.prototype,"startReached",void 0),Hn([k()],_n.prototype,"endReached",void 0),Hn([C(".ft-snap-scroll--content")],_n.prototype,"contentSlot",void 0),U("ft-snap-scroll")(_n);const Vn=ke.external(Le.colorOutline,"Design system"),Gn=ke.external(Le.colorOnSurface,"Design system"),qn=ke.external(Le.colorOnSurfaceMedium,"Design system"),Yn=ke.external(Le.colorPrimary,"Design system"),Jn=ke.external(Le.colorSurface,"Design system"),Xn=ke.external(Le.transitionDuration,"Design system"),Qn=ke.external(Le.transitionTimingFunction,"Design system"),ta=[gi,St`
1466
1466
  :host {
1467
1467
  display: flex;
1468
1468
  max-height: 100%;
@@ -1475,7 +1475,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1475
1475
  flex-direction: column;
1476
1476
  max-height: 100%;
1477
1477
  max-width: 100%;
1478
- color: ${Gr};
1478
+ color: ${Gn};
1479
1479
  }
1480
1480
 
1481
1481
  .ft-filter--header {
@@ -1485,7 +1485,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1485
1485
  flex-shrink: 0;
1486
1486
  padding: 0 10px;
1487
1487
  margin-bottom: 8px;
1488
- ${Ne(wo.fontSize,"14px")};
1488
+ ${Ne(Oo.fontSize,"14px")};
1489
1489
  }
1490
1490
 
1491
1491
  .ft-filter--header ft-button {
@@ -1499,8 +1499,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1499
1499
  flex-shrink: 1;
1500
1500
  flex-grow: 1;
1501
1501
  word-break: break-word;
1502
- ${Ne(wo.lineHeight,"22px")};
1503
- ${Ne(wo.fontWeight,"bold")};
1502
+ ${Ne(Oo.lineHeight,"22px")};
1503
+ ${Ne(Oo.fontWeight,"bold")};
1504
1504
  }
1505
1505
 
1506
1506
  .ft-filter--filter {
@@ -1511,8 +1511,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1511
1511
  padding: 0 10px;
1512
1512
  overflow: hidden;
1513
1513
  height: 32px;
1514
- transition: height ${Xr} ${Qr},
1515
- margin ${Xr} ${Qr};
1514
+ transition: height ${Xn} ${Qn},
1515
+ margin ${Xn} ${Qn};
1516
1516
  transition-delay: 500ms;
1517
1517
  }
1518
1518
 
@@ -1525,15 +1525,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1525
1525
  display: block;
1526
1526
  width: 100%;
1527
1527
  border-radius: 4px;
1528
- border: 1px solid ${Vr};
1528
+ border: 1px solid ${Vn};
1529
1529
  padding: 4px;
1530
- background-color: ${Jr};
1531
- color: ${Gr};
1532
- outline-color: ${Yr};
1530
+ background-color: ${Jn};
1531
+ color: ${Gn};
1532
+ outline-color: ${Yn};
1533
1533
  }
1534
1534
 
1535
1535
  input::placeholder {
1536
- color: ${qr};
1536
+ color: ${qn};
1537
1537
  }
1538
1538
 
1539
1539
  input:placeholder-shown {
@@ -1549,7 +1549,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1549
1549
  }
1550
1550
 
1551
1551
  .ft-filter--separator {
1552
- border-top: 1px solid ${Vr};
1552
+ border-top: 1px solid ${Vn};
1553
1553
  margin: 4px 10px;
1554
1554
  }
1555
1555
 
@@ -1574,7 +1574,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1574
1574
  slot:not([name]) {
1575
1575
  display: none;
1576
1576
  }
1577
- `];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 on extends CustomEvent{constructor(t){super("change",{detail:t})}}class rn extends Me{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 I(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.flatOptions.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 ae`
1577
+ `];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 CustomEvent{constructor(t){super("change",{detail:t})}}class ia extends Me{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 R(300),this.changeDebouncer=new R(10),this.lastDispatchedValues=[]}get flatOptions(){return I(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.flatOptions.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 ae`
1578
1578
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1579
1579
  part="container">
1580
1580
  ${this.label||t?ae`
@@ -1646,17 +1646,17 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1646
1646
  .exportpartsPrefixes=${["values","available-values"]}
1647
1647
  noValuesLabel="${this.noValuesLabel}"
1648
1648
  ></ft-filter-level>
1649
- `}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;U(this.lastDispatchedValues,t)||(this.dispatchEvent(new on(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)}}rn.elementDefinitions={"ft-button":br,"ft-filter-level":Ar,"ft-snap-scroll":_r,"ft-typography":wi},rn.styles=tn,en([k({type:String})],rn.prototype,"id",void 0),en([k({type:String})],rn.prototype,"label",void 0),en([k({type:String})],rn.prototype,"filterPlaceHolder",void 0),en([k({type:String})],rn.prototype,"clearButtonLabel",void 0),en([k({type:String})],rn.prototype,"moreValuesButtonLabel",void 0),en([k({type:String})],rn.prototype,"noValuesLabel",void 0),en([z([])],rn.prototype,"options",void 0),en([k({type:Boolean})],rn.prototype,"multivalued",void 0),en([k({type:Boolean})],rn.prototype,"disabled",void 0),en([k({type:Boolean})],rn.prototype,"raiseSelectedOptions",void 0),en([k({type:Number})],rn.prototype,"displayedValuesLimit",void 0),en([k({type:Boolean})],rn.prototype,"hideClearButton",void 0),en([E(".ft-filter--slot")],rn.prototype,"slotElement",void 0),en([E(".ft-filter--container")],rn.prototype,"container",void 0),en([E(".ft-filter--values")],rn.prototype,"valuesContainer",void 0),en([E(".ft-filter--levels")],rn.prototype,"levelsContainer",void 0),en([N()],rn.prototype,"lastLevelHasHiddenvalues",void 0),en([E(".ft-filter--filter input")],rn.prototype,"filterInput",void 0),en([function(t){return(e,o)=>C(0,0,{get(){return(this.renderRoot??(R??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],rn.prototype,"levels",void 0),en([N()],rn.prototype,"withScroll",void 0),en([N()],rn.prototype,"filter",void 0),en([N()],rn.prototype,"slideIn",void 0),en([N()],rn.prototype,"slideOut",void 0);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 an extends Me{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ae`
1649
+ `}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;L(this.lastDispatchedValues,t)||(this.dispatchEvent(new oa(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)}}ia.elementDefinitions={"ft-button":bn,"ft-filter-level":An,"ft-snap-scroll":_n,"ft-typography":Oi},ia.styles=ta,ea([S({type:String})],ia.prototype,"id",void 0),ea([S({type:String})],ia.prototype,"label",void 0),ea([S({type:String})],ia.prototype,"filterPlaceHolder",void 0),ea([S({type:String})],ia.prototype,"clearButtonLabel",void 0),ea([S({type:String})],ia.prototype,"moreValuesButtonLabel",void 0),ea([S({type:String})],ia.prototype,"noValuesLabel",void 0),ea([z([])],ia.prototype,"options",void 0),ea([S({type:Boolean})],ia.prototype,"multivalued",void 0),ea([S({type:Boolean})],ia.prototype,"disabled",void 0),ea([S({type:Boolean})],ia.prototype,"raiseSelectedOptions",void 0),ea([S({type:Number})],ia.prototype,"displayedValuesLimit",void 0),ea([S({type:Boolean})],ia.prototype,"hideClearButton",void 0),ea([C(".ft-filter--slot")],ia.prototype,"slotElement",void 0),ea([C(".ft-filter--container")],ia.prototype,"container",void 0),ea([C(".ft-filter--values")],ia.prototype,"valuesContainer",void 0),ea([C(".ft-filter--levels")],ia.prototype,"levelsContainer",void 0),ea([k()],ia.prototype,"lastLevelHasHiddenvalues",void 0),ea([C(".ft-filter--filter input")],ia.prototype,"filterInput",void 0),ea([function(t){return(e,o)=>N(0,0,{get(){return(this.renderRoot??(E??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],ia.prototype,"levels",void 0),ea([k()],ia.prototype,"withScroll",void 0),ea([k()],ia.prototype,"filter",void 0),ea([k()],ia.prototype,"slideIn",void 0),ea([k()],ia.prototype,"slideOut",void 0);var ra=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 na extends Me{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ae`
1650
1650
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1651
- `}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}))}}an.elementDefinitions={},nn([k({type:String})],an.prototype,"label",void 0),nn([k({type:Object,converter:t=>t})],an.prototype,"value",void 0),nn([k({type:Boolean,reflect:!0})],an.prototype,"selected",void 0),nn([k({type:Object})],an.prototype,"subOptions",void 0),nn([z({})],an.prototype,"renderOption",void 0),nn([E(".ft-filter-option--slot")],an.prototype,"slotElement",void 0),L("ft-filter")(rn),L("ft-filter-option")(an);const sn=St`
1651
+ `}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}))}}na.elementDefinitions={},ra([S({type:String})],na.prototype,"label",void 0),ra([S({type:Object,converter:t=>t})],na.prototype,"value",void 0),ra([S({type:Boolean,reflect:!0})],na.prototype,"selected",void 0),ra([S({type:Object})],na.prototype,"subOptions",void 0),ra([z({})],na.prototype,"renderOption",void 0),ra([C(".ft-filter-option--slot")],na.prototype,"slotElement",void 0),U("ft-filter")(ia),U("ft-filter-option")(na);const aa=St`
1652
1652
  .ft-accordion {
1653
1653
  box-sizing: border-box;
1654
1654
  }
1655
- `;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 cn extends Me{constructor(){super(...arguments),this.multi=!1}render(){return ae`
1655
+ `;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 la extends Me{constructor(){super(...arguments),this.multi=!1}render(){return ae`
1656
1656
  <div class="ft-accordion">
1657
1657
  <slot @activated=${this.onChange}></slot>
1658
1658
  </div>
1659
- `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}cn.elementDefinitions={},cn.styles=sn,ln([k({type:Boolean})],cn.prototype,"multi",void 0),ln([E("slot")],cn.prototype,"content",void 0);const hn=ke.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),pn=ke.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),fn=ke.external(Ue.colorOutline,"Design system"),dn=St`
1659
+ `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach((e=>e.active=e===t.target))}}la.elementDefinitions={},la.styles=aa,sa([S({type:Boolean})],la.prototype,"multi",void 0),sa([C("slot")],la.prototype,"content",void 0);const ca=ke.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),ha=ke.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),pa=ke.external(Le.colorOutline,"Design system"),fa=St`
1660
1660
  .ft-accordion-item {
1661
1661
  display: flex;
1662
1662
  flex-direction: column;
@@ -1669,8 +1669,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1669
1669
  display: flex;
1670
1670
  align-items: center;
1671
1671
  cursor: pointer;
1672
- padding: ${pn} ${hn};
1673
- gap: calc(${hn} / 2);
1672
+ padding: ${ha} ${ca};
1673
+ gap: calc(${ca} / 2);
1674
1674
  outline: none;
1675
1675
  }
1676
1676
 
@@ -1695,13 +1695,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1695
1695
  .ft-accordion-item--active .ft-accordion-item--content {
1696
1696
  height: initial;
1697
1697
  overflow: visible;
1698
- padding: ${pn} ${hn};
1698
+ padding: ${ha} ${ca};
1699
1699
  }
1700
1700
 
1701
1701
  .ft-accordion-item--separator {
1702
- border-bottom: 1px solid ${fn};
1702
+ border-bottom: 1px solid ${pa};
1703
1703
  }
1704
- `;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 Me{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return ae`
1704
+ `;var da=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 ua extends Me{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return ae`
1705
1705
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
1706
1706
  <div class="ft-accordion-item--toggle"
1707
1707
  part="toggle"
@@ -1731,7 +1731,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1731
1731
  </div>
1732
1732
  <div class="ft-accordion-item--separator" part="separator"></div>
1733
1733
  </div>
1734
- `}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)}}bn.elementDefinitions={"ft-ripple":Ji,"ft-typography":wi,"ft-icon":hr},bn.styles=dn,un([k()],bn.prototype,"icon",void 0),un([k()],bn.prototype,"iconVariant",void 0),un([k()],bn.prototype,"label",void 0),un([k({type:Boolean,reflect:!0})],bn.prototype,"active",void 0),L("ft-accordion")(cn),L("ft-accordion-item")(bn);const gn=ke.extend("--ft-chip-color","",Ue.colorOnSurface),yn={backgroundColor:ke.extend("--ft-chip-background-color","",Ue.colorSurface),color:gn,fontSize:ke.extend("--ft-chip-font-size","",qo.fontSize),iconSize:ke.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:ke.extend("--ft-chip-ripple-color","",gn),horizontalPadding:ke.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:ke.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:ke.external(Ue.colorOutline,"Design system"),opacityDisabled:ke.external(Ue.colorOpacityDisabled,"Design system")},mn=ke.extend("--ft-chip-highlighted-color","",ke.extend("--ft-chip-color","",Ue.colorOnPrimary)),vn={backgroundColor:ke.extend("--ft-chip-highlighted-background-color","",ke.extend("--ft-chip-background-color","",Ue.colorPrimary)),color:mn,rippleColor:ke.extend("--ft-chip-highlighted-ripple-color","",mn)},xn=ke.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),$n=ke.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),On=[Pe,St`
1734
+ `}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)}}ua.elementDefinitions={"ft-ripple":Ji,"ft-typography":Oi,"ft-icon":hn},ua.styles=fa,da([S()],ua.prototype,"icon",void 0),da([S()],ua.prototype,"iconVariant",void 0),da([S()],ua.prototype,"label",void 0),da([S({type:Boolean,reflect:!0})],ua.prototype,"active",void 0),U("ft-accordion")(la),U("ft-accordion-item")(ua);const ba=ke.extend("--ft-chip-color","",Le.colorOnSurface),ga={backgroundColor:ke.extend("--ft-chip-background-color","",Le.colorSurface),color:ba,fontSize:ke.extend("--ft-chip-font-size","",qo.fontSize),iconSize:ke.create("--ft-chip-icon-size","","SIZE","18px"),rippleColor:ke.extend("--ft-chip-ripple-color","",ba),horizontalPadding:ke.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:ke.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:ke.external(Le.colorOutline,"Design system"),opacityDisabled:ke.external(Le.colorOpacityDisabled,"Design system")},ya=ke.extend("--ft-chip-highlighted-color","",ke.extend("--ft-chip-color","",Le.colorOnPrimary)),ma={backgroundColor:ke.extend("--ft-chip-highlighted-background-color","",ke.extend("--ft-chip-background-color","",Le.colorPrimary)),color:ya,rippleColor:ke.extend("--ft-chip-highlighted-ripple-color","",ya)},va=ke.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),xa=ke.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),$a=[Pe,St`
1735
1735
  :host {
1736
1736
  display: inline-block;
1737
1737
  max-width: 100%;
@@ -1747,20 +1747,20 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1747
1747
  box-sizing: border-box;
1748
1748
  pointer-events: auto;
1749
1749
 
1750
- --ft-chip-internal-font-size: ${yn.fontSize};
1750
+ --ft-chip-internal-font-size: ${ga.fontSize};
1751
1751
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
1752
- ${Ne(Ki.size,yn.iconSize)};
1753
- --ft-chip-internal-vertical-padding: ${yn.verticalPadding};
1754
- --ft-chip-internal-horizontal-padding: ${yn.horizontalPadding};
1752
+ ${Ne(Ki.size,ga.iconSize)};
1753
+ --ft-chip-internal-vertical-padding: ${ga.verticalPadding};
1754
+ --ft-chip-internal-horizontal-padding: ${ga.horizontalPadding};
1755
1755
  --ft-chip-internal-icon-padding: 3px;
1756
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${yn.iconSize});
1756
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${ga.iconSize});
1757
1757
 
1758
- border: 1px solid ${yn.colorOutline};
1759
- color: ${yn.color};
1760
- ${Ne(Ei.color,yn.rippleColor)};
1758
+ border: 1px solid ${ga.colorOutline};
1759
+ color: ${ga.color};
1760
+ ${Ne(Ei.color,ga.rippleColor)};
1761
1761
  border-radius: calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding));
1762
1762
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
1763
- background-color: ${yn.backgroundColor};
1763
+ background-color: ${ga.backgroundColor};
1764
1764
  line-height: var(--ft-chip-internal-content-height);
1765
1765
  }
1766
1766
 
@@ -1770,8 +1770,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1770
1770
 
1771
1771
  .ft-chip--dense {
1772
1772
  --ft-chip-internal-icon-padding: 3px;
1773
- --ft-chip-internal-vertical-padding: ${$n};
1774
- --ft-chip-internal-horizontal-padding: ${xn};
1773
+ --ft-chip-internal-vertical-padding: ${xa};
1774
+ --ft-chip-internal-horizontal-padding: ${va};
1775
1775
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1776
1776
  }
1777
1777
 
@@ -1783,15 +1783,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1783
1783
  cursor: default;
1784
1784
  pointer-events: none;
1785
1785
  filter: grayscale(1);
1786
- opacity: ${yn.opacityDisabled};
1786
+ opacity: ${ga.opacityDisabled};
1787
1787
  }
1788
1788
 
1789
1789
  .ft-chip--highlighted {
1790
1790
  border: none;
1791
1791
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1792
- background-color: ${vn.backgroundColor};
1793
- ${Ne(Ei.color,vn.rippleColor)};
1794
- color: ${vn.color};
1792
+ background-color: ${ma.backgroundColor};
1793
+ ${Ne(Ei.color,ma.rippleColor)};
1794
+ color: ${ma.color};
1795
1795
  }
1796
1796
 
1797
1797
  .ft-chip--clickable {
@@ -1821,7 +1821,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1821
1821
  }
1822
1822
 
1823
1823
  .ft-chip--icon-button {
1824
- ${Ne(Ai.iconSize,yn.iconSize)};
1824
+ ${Ne(Ai.iconSize,ga.iconSize)};
1825
1825
  ${Ne(Ai.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1826
1826
  ${Ne(Ai.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1827
1827
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
@@ -1868,7 +1868,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1868
1868
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1869
1869
  order: -1;
1870
1870
  }
1871
- `];var wn=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 CustomEvent{constructor(){super("icon-click")}}class kn extends Me{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":Ye};return ae`
1871
+ `];var wa=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 CustomEvent{constructor(){super("icon-click")}}class Sa extends Me{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":Ye};return ae`
1872
1872
  <div class="${qi(t)}"
1873
1873
  aria-label="${this.getLabel()}"
1874
1874
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -1891,25 +1891,25 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1891
1891
  <div class="ft-chip--icon-container ft-no-text-select">
1892
1892
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}"></ft-icon>
1893
1893
  </div>
1894
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Sn))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Sn))}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)}}kn.elementDefinitions={"ft-ripple":Ji,"ft-typography":wi,"ft-icon":hr,"ft-button":br},kn.styles=On,wn([k({type:Boolean})],kn.prototype,"highlighted",void 0),wn([k({type:Boolean})],kn.prototype,"removable",void 0),wn([k({type:Boolean})],kn.prototype,"disabled",void 0),wn([k({type:Boolean})],kn.prototype,"clickable",void 0),wn([k({type:Boolean})],kn.prototype,"iconClickable",void 0),wn([k({type:Boolean})],kn.prototype,"dense",void 0),wn([k({type:Boolean})],kn.prototype,"multiLine",void 0),wn([k()],kn.prototype,"label",void 0),wn([k()],kn.prototype,"iconLabel",void 0),wn([k()],kn.prototype,"icon",void 0),wn([k()],kn.prototype,"iconVariant",void 0),wn([k({type:Boolean})],kn.prototype,"trailingIcon",void 0),wn([E("ft-typography slot")],kn.prototype,"slottedContent",void 0),L("ft-chip")(kn);const Nn={fontSize:ke.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ke.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ke.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ke.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ke.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ke.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ke.extend("--ft-input-label-border-color","",Ue.colorOutline),textColor:ke.extend("--ft-input-label-text-color","",Ue.colorOnSurfaceMedium),disabledTextColor:ke.extend("--ft-input-label-disabled-text-color","",Ue.colorOnSurfaceDisabled),colorSurface:ke.external(Ue.colorSurface,"Design system"),borderRadiusS:ke.external(Ue.borderRadiusS,"Design system"),colorError:ke.external(Ue.colorError,"Design system")},Cn=St`
1894
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Oa))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Oa))}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)}}Sa.elementDefinitions={"ft-ripple":Ji,"ft-typography":Oi,"ft-icon":hn,"ft-button":bn},Sa.styles=$a,wa([S({type:Boolean})],Sa.prototype,"highlighted",void 0),wa([S({type:Boolean})],Sa.prototype,"removable",void 0),wa([S({type:Boolean})],Sa.prototype,"disabled",void 0),wa([S({type:Boolean})],Sa.prototype,"clickable",void 0),wa([S({type:Boolean})],Sa.prototype,"iconClickable",void 0),wa([S({type:Boolean})],Sa.prototype,"dense",void 0),wa([S({type:Boolean})],Sa.prototype,"multiLine",void 0),wa([S()],Sa.prototype,"label",void 0),wa([S()],Sa.prototype,"iconLabel",void 0),wa([S()],Sa.prototype,"icon",void 0),wa([S()],Sa.prototype,"iconVariant",void 0),wa([S({type:Boolean})],Sa.prototype,"trailingIcon",void 0),wa([C("ft-typography slot")],Sa.prototype,"slottedContent",void 0),U("ft-chip")(Sa);const ka={fontSize:ke.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ke.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ke.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ke.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ke.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ke.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ke.extend("--ft-input-label-border-color","",Le.colorOutline),textColor:ke.extend("--ft-input-label-text-color","",Le.colorOnSurfaceMedium),disabledTextColor:ke.extend("--ft-input-label-disabled-text-color","",Le.colorOnSurfaceDisabled),colorSurface:ke.external(Le.colorSurface,"Design system"),borderRadiusS:ke.external(Le.borderRadiusS,"Design system"),colorError:ke.external(Le.colorError,"Design system")},Na=St`
1895
1895
  .ft-input-label {
1896
1896
  position: absolute;
1897
1897
  inset: 0;
1898
1898
  display: flex;
1899
- background-color: ${Nn.colorSurface};
1900
- border-radius: ${Nn.borderRadiusS} ${Nn.borderRadiusS} 0 0;
1899
+ background-color: ${ka.colorSurface};
1900
+ border-radius: ${ka.borderRadiusS} ${ka.borderRadiusS} 0 0;
1901
1901
  }
1902
1902
 
1903
1903
  .ft-input-label--outlined {
1904
- border-radius: ${Nn.borderRadiusS};
1904
+ border-radius: ${ka.borderRadiusS};
1905
1905
  }
1906
1906
 
1907
1907
  .ft-input-label {
1908
- border-color: ${Nn.borderColor};
1908
+ border-color: ${ka.borderColor};
1909
1909
  }
1910
1910
 
1911
1911
  .ft-input-label.ft-input-label--in-error {
1912
- border-color: ${Nn.colorError}
1912
+ border-color: ${ka.colorError}
1913
1913
  }
1914
1914
 
1915
1915
  .ft-input-label:before,
@@ -1922,7 +1922,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1922
1922
  }
1923
1923
 
1924
1924
  .ft-input-label:before {
1925
- width: calc(${Nn.horizontalSpacing} - 4px);
1925
+ width: calc(${ka.horizontalSpacing} - 4px);
1926
1926
  flex-shrink: 0;
1927
1927
  }
1928
1928
 
@@ -1938,20 +1938,20 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1938
1938
  border-bottom-width: 1px;
1939
1939
  border-bottom-style: solid;
1940
1940
  border-color: inherit;
1941
- color: ${Nn.textColor};
1941
+ color: ${ka.textColor};
1942
1942
  transition: font-size 250ms, line-height 250ms, color 250ms;
1943
- max-width: calc(${Nn.labelMaxWidth} - 2 * (${Nn.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
1943
+ max-width: calc(${ka.labelMaxWidth} - 2 * (${ka.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
1944
1944
  text-overflow: ellipsis;
1945
- ${Ne(Yo.fontSize,Nn.fontSize)};
1946
- ${Ne(Yo.lineHeight,Nn.fontSize)};
1945
+ ${Ne(Yo.fontSize,ka.fontSize)};
1946
+ ${Ne(Yo.lineHeight,ka.fontSize)};
1947
1947
  }
1948
1948
 
1949
1949
  .ft-input-label--in-error .ft-input-label--text {
1950
- color: ${Nn.colorError}
1950
+ color: ${ka.colorError}
1951
1951
  }
1952
1952
 
1953
1953
  .ft-input-label--disabled .ft-input-label--text {
1954
- color: ${Nn.disabledTextColor};
1954
+ color: ${ka.disabledTextColor};
1955
1955
  }
1956
1956
 
1957
1957
  .ft-input-label--hidden-text {
@@ -1968,19 +1968,19 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1968
1968
  overflow: hidden;
1969
1969
  white-space: nowrap;
1970
1970
  text-overflow: ellipsis;
1971
- padding: ${Nn.verticalSpacing} 4px;
1972
- margin: calc(${Nn.verticalSpacing} * -1) 0;
1971
+ padding: ${ka.verticalSpacing} 4px;
1972
+ margin: calc(${ka.verticalSpacing} * -1) 0;
1973
1973
  max-width: 100%;
1974
1974
  box-sizing: border-box;
1975
1975
  }
1976
1976
 
1977
1977
  .ft-input-label--raised .ft-input-label--text {
1978
- ${Ne(Yo.fontSize,Nn.raisedFontSize)};
1979
- ${Ne(Yo.lineHeight,Nn.raisedFontSize)};
1978
+ ${Ne(Yo.fontSize,ka.raisedFontSize)};
1979
+ ${Ne(Yo.lineHeight,ka.raisedFontSize)};
1980
1980
  }
1981
1981
 
1982
1982
  .ft-input-label--raised .ft-input-label--floating-text {
1983
- top: ${Nn.verticalSpacing};
1983
+ top: ${ka.verticalSpacing};
1984
1984
  }
1985
1985
 
1986
1986
  .ft-input-label--outlined .ft-input-label--text,
@@ -1993,27 +1993,27 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1993
1993
  .ft-input-label--outlined:before {
1994
1994
  border-left-width: 1px;
1995
1995
  border-left-style: solid;
1996
- border-radius: ${Nn.borderRadiusS} 0 0 ${Nn.borderRadiusS};
1996
+ border-radius: ${ka.borderRadiusS} 0 0 ${ka.borderRadiusS};
1997
1997
  }
1998
1998
 
1999
1999
  .ft-input-label--outlined:after {
2000
2000
  border-right-width: 1px;
2001
2001
  border-right-style: solid;
2002
- border-radius: 0 ${Nn.borderRadiusS} ${Nn.borderRadiusS} 0;
2002
+ border-radius: 0 ${ka.borderRadiusS} ${ka.borderRadiusS} 0;
2003
2003
  }
2004
2004
 
2005
2005
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
2006
2006
  padding: 2px 4px;
2007
- z-index: ${Nn.raisedZIndex};
2008
- background-color: ${Nn.colorSurface};
2009
- border-radius: ${Nn.borderRadiusS};
2007
+ z-index: ${ka.raisedZIndex};
2008
+ background-color: ${ka.colorSurface};
2009
+ border-radius: ${ka.borderRadiusS};
2010
2010
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
2011
2011
  }
2012
2012
 
2013
2013
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2014
2014
  border-top: none;
2015
2015
  }
2016
- `;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 Me{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 ae`
2016
+ `;var Ca=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 Ea extends Me{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 ae`
2017
2017
  <div class="${qi(t)}">
2018
2018
  ${this.text?ae`
2019
2019
  <div class="ft-input-label--text ft-typography--caption">
@@ -2022,7 +2022,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2022
2022
  </div>
2023
2023
  `:null}
2024
2024
  </div>
2025
- `}}Rn.elementDefinitions={},Rn.styles=[gi,Cn],En([k({type:String})],Rn.prototype,"text",void 0),En([k({type:Boolean})],Rn.prototype,"raised",void 0),En([k({type:Boolean})],Rn.prototype,"outlined",void 0),En([k({type:Boolean})],Rn.prototype,"disabled",void 0),En([k({type:Boolean})],Rn.prototype,"error",void 0),L("ft-input-label")(Rn);const In={labelSize:ke.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:ke.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:ke.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:ke.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:ke.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:ke.extend("--ft-select-selected-option-color","",Ue.colorOnSurface),helperColor:ke.extend("--ft-select-helper-color","",Ue.colorOnSurfaceMedium),optionsColor:ke.extend("--ft-select-options-color","",Ue.colorOnSurface),optionsZIndex:ke.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:ke.external(Ue.colorSurface,"Design system"),colorOnSurfaceDisabled:ke.external(Ue.colorOnSurfaceDisabled,"Design system"),colorPrimary:ke.external(Ue.colorPrimary,"Design system"),borderRadiusS:ke.external(Ue.borderRadiusS,"Design system"),elevation02:ke.external(Ue.elevation02,"Design system"),colorError:ke.external(Ue.colorError,"Design system")},Un=St`
2025
+ `}}Ea.elementDefinitions={},Ea.styles=[gi,Na],Ca([S({type:String})],Ea.prototype,"text",void 0),Ca([S({type:Boolean})],Ea.prototype,"raised",void 0),Ca([S({type:Boolean})],Ea.prototype,"outlined",void 0),Ca([S({type:Boolean})],Ea.prototype,"disabled",void 0),Ca([S({type:Boolean})],Ea.prototype,"error",void 0),U("ft-input-label")(Ea);const Ra={labelSize:ke.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:ke.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:ke.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:ke.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:ke.create("--ft-select-options-height","","SIZE","unset"),selectedOptionColor:ke.extend("--ft-select-selected-option-color","",Le.colorOnSurface),helperColor:ke.extend("--ft-select-helper-color","",Le.colorOnSurfaceMedium),optionsColor:ke.extend("--ft-select-options-color","",Le.colorOnSurface),optionsZIndex:ke.create("--ft-select-options-z-index","","NUMBER","3"),colorSurface:ke.external(Le.colorSurface,"Design system"),colorOnSurfaceDisabled:ke.external(Le.colorOnSurfaceDisabled,"Design system"),colorPrimary:ke.external(Le.colorPrimary,"Design system"),borderRadiusS:ke.external(Le.borderRadiusS,"Design system"),elevation02:ke.external(Le.elevation02,"Design system"),colorError:ke.external(Le.colorError,"Design system")},Ia=St`
2026
2026
  *:focus {
2027
2027
  outline: none;
2028
2028
  }
@@ -2036,7 +2036,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2036
2036
  .ft-select--main-panel {
2037
2037
  position: relative;
2038
2038
  display: flex;
2039
- height: calc(4 * ${In.verticalSpacing} + ${In.labelSize} + ${In.selectedOptionSize});
2039
+ height: calc(4 * ${Ra.verticalSpacing} + ${Ra.labelSize} + ${Ra.selectedOptionSize});
2040
2040
  }
2041
2041
 
2042
2042
  .ft-select--input-panel {
@@ -2045,11 +2045,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2045
2045
  display: flex;
2046
2046
  align-items: center;
2047
2047
  overflow: hidden;
2048
- padding-left: ${In.horizontalSpacing};
2049
- padding-right: ${In.horizontalSpacing};
2048
+ padding-left: ${Ra.horizontalSpacing};
2049
+ padding-right: ${Ra.horizontalSpacing};
2050
2050
  gap: 8px;
2051
- color: ${In.selectedOptionColor};
2052
- ${Ne(Ei.color,In.selectedOptionColor)};
2051
+ color: ${Ra.selectedOptionColor};
2052
+ ${Ne(Ei.color,Ra.selectedOptionColor)};
2053
2053
  }
2054
2054
 
2055
2055
  .ft-select--input-panel,
@@ -2065,7 +2065,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2065
2065
 
2066
2066
  .ft-select--disabled .ft-select--input-panel,
2067
2067
  .ft-select--disabled .ft-select--option {
2068
- color: ${In.colorOnSurfaceDisabled};
2068
+ color: ${Ra.colorOnSurfaceDisabled};
2069
2069
  }
2070
2070
 
2071
2071
  .ft-select:not(.ft-select--disabled) .ft-select--input-panel,
@@ -2074,20 +2074,20 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2074
2074
  }
2075
2075
 
2076
2076
  ft-input-label {
2077
- ${Ne(Nn.fontSize,In.selectedOptionSize)};
2078
- ${Ne(Nn.raisedFontSize,In.labelSize)};
2079
- ${Ne(Nn.verticalSpacing,In.verticalSpacing)};
2080
- ${Ne(Nn.horizontalSpacing,In.horizontalSpacing)};
2081
- ${Ne(Nn.labelMaxWidth,`calc(100% - ${Ki.size} - 8px)`)};
2077
+ ${Ne(ka.fontSize,Ra.selectedOptionSize)};
2078
+ ${Ne(ka.raisedFontSize,Ra.labelSize)};
2079
+ ${Ne(ka.verticalSpacing,Ra.verticalSpacing)};
2080
+ ${Ne(ka.horizontalSpacing,Ra.horizontalSpacing)};
2081
+ ${Ne(ka.labelMaxWidth,`calc(100% - ${Ki.size} - 8px)`)};
2082
2082
  }
2083
2083
 
2084
2084
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
2085
- color: ${In.colorPrimary};
2085
+ color: ${Ra.colorPrimary};
2086
2086
  }
2087
2087
 
2088
2088
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
2089
- ${Ne(Nn.borderColor,In.colorPrimary)};
2090
- ${Ne(Nn.textColor,In.colorPrimary)};
2089
+ ${Ne(ka.borderColor,Ra.colorPrimary)};
2090
+ ${Ne(ka.textColor,Ra.colorPrimary)};
2091
2091
  }
2092
2092
 
2093
2093
  .ft-select--selected-option {
@@ -2097,12 +2097,12 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2097
2097
  overflow: hidden;
2098
2098
  white-space: nowrap;
2099
2099
  text-overflow: ellipsis;
2100
- ${Ne(Go.fontSize,In.selectedOptionSize)};
2101
- ${Ne(Go.lineHeight,In.selectedOptionSize)};
2100
+ ${Ne(Go.fontSize,Ra.selectedOptionSize)};
2101
+ ${Ne(Go.lineHeight,Ra.selectedOptionSize)};
2102
2102
  }
2103
2103
 
2104
2104
  .ft-select--in-error .ft-select--selected-option {
2105
- color: ${In.colorError};
2105
+ color: ${Ra.colorError};
2106
2106
  }
2107
2107
 
2108
2108
  ft-icon {
@@ -2114,16 +2114,16 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2114
2114
  }
2115
2115
 
2116
2116
  .ft-select--filled .ft-select--input-panel {
2117
- border-radius: ${In.borderRadiusS} ${In.borderRadiusS} 0 0;
2117
+ border-radius: ${Ra.borderRadiusS} ${Ra.borderRadiusS} 0 0;
2118
2118
  }
2119
2119
 
2120
2120
  .ft-select--filled:not(.ft-select--no-label) .ft-select--selected-option {
2121
2121
  align-self: stretch;
2122
- padding-top: calc(${In.labelSize} + 2 * ${In.verticalSpacing});
2122
+ padding-top: calc(${Ra.labelSize} + 2 * ${Ra.verticalSpacing});
2123
2123
  }
2124
2124
 
2125
2125
  .ft-select--outlined .ft-select--input-panel {
2126
- border-radius: ${In.borderRadiusS};
2126
+ border-radius: ${Ra.borderRadiusS};
2127
2127
  }
2128
2128
 
2129
2129
  .ft-select--options {
@@ -2132,10 +2132,10 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2132
2132
  top: 100%;
2133
2133
  left: 0;
2134
2134
  right: 0;
2135
- color: ${In.optionsColor};
2136
- background: ${In.colorSurface};
2137
- z-index: ${In.optionsZIndex};
2138
- box-shadow: ${In.elevation02};
2135
+ color: ${Ra.optionsColor};
2136
+ background: ${Ra.colorSurface};
2137
+ z-index: ${Ra.optionsZIndex};
2138
+ box-shadow: ${Ra.elevation02};
2139
2139
  }
2140
2140
 
2141
2141
  .ft-select--fixed .ft-select--options {
@@ -2146,13 +2146,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2146
2146
 
2147
2147
  .ft-select--options-displayed .ft-select--options {
2148
2148
  display: block;
2149
- max-height: ${In.optionsHeight};
2149
+ max-height: ${Ra.optionsHeight};
2150
2150
  overflow-y: auto;
2151
2151
  }
2152
2152
 
2153
2153
  .ft-select--option {
2154
2154
  position: relative;
2155
- padding: 4px ${In.horizontalSpacing};
2155
+ padding: 4px ${Ra.horizontalSpacing};
2156
2156
  min-height: 32px;
2157
2157
  display: flex;
2158
2158
  align-items: center;
@@ -2164,14 +2164,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2164
2164
  }
2165
2165
 
2166
2166
  .ft-select--helper-text {
2167
- padding: 0 ${In.horizontalSpacing};
2168
- color: ${In.helperColor};
2167
+ padding: 0 ${Ra.horizontalSpacing};
2168
+ color: ${Ra.helperColor};
2169
2169
  }
2170
2170
 
2171
2171
  .ft-select--in-error .ft-select--helper-text {
2172
- color: ${In.colorError};
2172
+ color: ${Ra.colorError};
2173
2173
  }
2174
- `;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 zn extends Me{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ae``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}zn.elementDefinitions={},Ln([k({type:String})],zn.prototype,"label",void 0),Ln([k({type:Object,converter:t=>t})],zn.prototype,"value",void 0),Ln([k({type:Boolean,reflect:!0})],zn.prototype,"selected",void 0);class Wn extends Me{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 ae`
2174
+ `;var La=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 Ua extends Me{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ae``}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Ua.elementDefinitions={},La([S({type:String})],Ua.prototype,"label",void 0),La([S({type:Object,converter:t=>t})],Ua.prototype,"value",void 0),La([S({type:Boolean,reflect:!0})],Ua.prototype,"selected",void 0);class za extends Me{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 ae`
2175
2175
  <div class="${qi(l)}" part="container">
2176
2176
  <div class="ft-select--main-panel" part="main-panel">
2177
2177
  <ft-input-label text="${this.label}"
@@ -2219,34 +2219,34 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2219
2219
  <ft-ripple ?primary=${e} ?activated=${e}></ft-ripple>
2220
2220
  <span>${t.label}</span>
2221
2221
  </div>
2222
- `}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(!U(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)}}Wn.elementDefinitions={"ft-input-label":Rn,"ft-typography":wi,"ft-ripple":Ji,"ft-icon":hr},Wn.styles=[bi,gi,Un],Ln([k({type:String})],Wn.prototype,"label",void 0),Ln([k({type:String})],Wn.prototype,"helper",void 0),Ln([k({type:Boolean})],Wn.prototype,"outlined",void 0),Ln([k({type:Boolean})],Wn.prototype,"disabled",void 0),Ln([k({type:Boolean})],Wn.prototype,"error",void 0),Ln([k({type:Boolean})],Wn.prototype,"fixedMenuPosition",void 0),Ln([k({type:Array})],Wn.prototype,"options",void 0),Ln([N()],Wn.prototype,"selectedOption",void 0),Ln([N()],Wn.prototype,"optionsDisplayed",void 0),Ln([N()],Wn.prototype,"focusOptions",void 0),Ln([E(".ft-select")],Wn.prototype,"container",void 0),Ln([E(".ft-select--options")],Wn.prototype,"optionsMenu",void 0),Ln([E(".ft-select--input-panel")],Wn.prototype,"mainPanel",void 0),Ln([E(".ft-select--option:first-child")],Wn.prototype,"firstOption",void 0),Ln([E(".ft-select--option:focus")],Wn.prototype,"focusedOption",void 0),Ln([E(".ft-select--option.ft-select--option-selected")],Wn.prototype,"selectedOptionElement",void 0),Ln([E(".ft-select--option:last-child")],Wn.prototype,"lastOption",void 0),Ln([E("slot")],Wn.prototype,"optionsSlot",void 0),L("ft-select")(Wn),L("ft-select-option")(zn);const Bn={display:ke.create("--ft-skeleton--display","","DISPLAY","block"),width:ke.create("--ft-skeleton--width","","SIZE","100%"),height:ke.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ke.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ke.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ke.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ke.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ke.external(Ue.borderRadiusM,"Design system")},Fn=St`
2222
+ `}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(!L(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)}}za.elementDefinitions={"ft-input-label":Ea,"ft-typography":Oi,"ft-ripple":Ji,"ft-icon":hn},za.styles=[bi,gi,Ia],La([S({type:String})],za.prototype,"label",void 0),La([S({type:String})],za.prototype,"helper",void 0),La([S({type:Boolean})],za.prototype,"outlined",void 0),La([S({type:Boolean})],za.prototype,"disabled",void 0),La([S({type:Boolean})],za.prototype,"error",void 0),La([S({type:Boolean})],za.prototype,"fixedMenuPosition",void 0),La([S({type:Array})],za.prototype,"options",void 0),La([k()],za.prototype,"selectedOption",void 0),La([k()],za.prototype,"optionsDisplayed",void 0),La([k()],za.prototype,"focusOptions",void 0),La([C(".ft-select")],za.prototype,"container",void 0),La([C(".ft-select--options")],za.prototype,"optionsMenu",void 0),La([C(".ft-select--input-panel")],za.prototype,"mainPanel",void 0),La([C(".ft-select--option:first-child")],za.prototype,"firstOption",void 0),La([C(".ft-select--option:focus")],za.prototype,"focusedOption",void 0),La([C(".ft-select--option.ft-select--option-selected")],za.prototype,"selectedOptionElement",void 0),La([C(".ft-select--option:last-child")],za.prototype,"lastOption",void 0),La([C("slot")],za.prototype,"optionsSlot",void 0),U("ft-select")(za),U("ft-select-option")(Ua);const Wa={display:ke.create("--ft-skeleton--display","","DISPLAY","block"),width:ke.create("--ft-skeleton--width","","SIZE","100%"),height:ke.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:ke.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:ke.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:ke.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:ke.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:ke.external(Le.borderRadiusM,"Design system")},Ba=St`
2223
2223
  :host {
2224
- width: ${Bn.width};
2225
- height: ${Bn.height};
2226
- display: ${Bn.display};
2224
+ width: ${Wa.width};
2225
+ height: ${Wa.height};
2226
+ display: ${Wa.display};
2227
2227
  overflow: hidden;
2228
- border-radius: ${Bn.borderRadiusM};
2228
+ border-radius: ${Wa.borderRadiusM};
2229
2229
  background: linear-gradient(
2230
2230
  90deg,
2231
2231
  transparent,
2232
- ${Bn.glareColor} calc(0.45 * ${Bn.glareWidth}),
2233
- ${Bn.glareColor} calc(0.55 * ${Bn.glareWidth}),
2234
- transparent ${Bn.glareWidth}
2235
- ), ${Bn.backgroundColor};
2232
+ ${Wa.glareColor} calc(0.45 * ${Wa.glareWidth}),
2233
+ ${Wa.glareColor} calc(0.55 * ${Wa.glareWidth}),
2234
+ transparent ${Wa.glareWidth}
2235
+ ), ${Wa.backgroundColor};
2236
2236
  background-repeat: repeat-y;
2237
2237
  background-size: 100vw 100vh;
2238
2238
  background-attachment: fixed;
2239
- background-position: calc(${Bn.glareWidth} * -1) 0;
2240
- animation: shine ${Bn.animationDuration} infinite;
2239
+ background-position: calc(${Wa.glareWidth} * -1) 0;
2240
+ animation: shine ${Wa.animationDuration} infinite;
2241
2241
  animation-timing-function: linear;
2242
2242
  }
2243
2243
 
2244
2244
  @keyframes shine {
2245
2245
  to {
2246
- background-position: calc(100vw + ${Bn.glareWidth}) 0, calc(${Bn.glareWidth} * -1) 0;
2246
+ background-position: calc(100vw + ${Wa.glareWidth}) 0, calc(${Wa.glareWidth} * -1) 0;
2247
2247
  }
2248
2248
  }
2249
- `,Dn={height:ke.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:ke.extend("--ft-search-bar-border-radius","",Ue.borderRadiusS),mobileOpenPosition:ke.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:ke.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:ke.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:ke.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:ke.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:ke.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:ke.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:ke.external(Ue.colorSurface,"Design system"),colorOnSurface:ke.external(Ue.colorOnSurface,"Design system"),colorOnSurfaceMedium:ke.external(Ue.colorOnSurfaceMedium,"Design system"),colorOutline:ke.external(Ue.colorOutline,"Design system"),colorPrimary:ke.external(Ue.colorPrimary,"Design system"),elevation02:ke.external(Ue.elevation02,"Design system"),buttonColor:ke.external(Ai.color,"Button"),buttonRippleColor:ke.external(Ai.rippleColor,"Button")},Kn=St`
2249
+ `,Fa={height:ke.create("--ft-search-bar-height","","SIZE","38px"),borderRadius:ke.extend("--ft-search-bar-border-radius","",Le.borderRadiusS),mobileOpenPosition:ke.create("--ft-search-bar-mobile-open-position","","POSITION","fixed"),mobileOpenTop:ke.create("--ft-search-bar-mobile-open-top","","SIZE","0"),mobileOpenBottom:ke.create("--ft-search-bar-mobile-open-bottom","","SIZE","0"),mobileOpenLeft:ke.create("--ft-search-bar-mobile-open-left","","SIZE","0"),mobileOpenRight:ke.create("--ft-search-bar-mobile-open-right","","SIZE","0"),desktopFiltersHeight:ke.create("--ft-search-bar-desktop-filters-height","","SIZE","350px"),floatingZIndex:ke.create("--ft-search-bar-floating-components-z-index","","NUMBER","3"),colorSurface:ke.external(Le.colorSurface,"Design system"),colorOnSurface:ke.external(Le.colorOnSurface,"Design system"),colorOnSurfaceMedium:ke.external(Le.colorOnSurfaceMedium,"Design system"),colorOutline:ke.external(Le.colorOutline,"Design system"),colorPrimary:ke.external(Le.colorPrimary,"Design system"),elevation02:ke.external(Le.elevation02,"Design system"),buttonColor:ke.external(Ai.color,"Button"),buttonRippleColor:ke.external(Ai.rippleColor,"Button")},Da=St`
2250
2250
  * {
2251
2251
  box-sizing: border-box;
2252
2252
  }
@@ -2255,7 +2255,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2255
2255
  display: flex;
2256
2256
  flex-direction: column;
2257
2257
  gap: 8px;
2258
- color: ${Dn.colorOnSurface};
2258
+ color: ${Fa.colorOnSurface};
2259
2259
  outline: none;
2260
2260
  }
2261
2261
 
@@ -2264,21 +2264,21 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2264
2264
  }
2265
2265
 
2266
2266
  .ft-search-bar--mobile-menu-open {
2267
- position: ${Dn.mobileOpenPosition};
2268
- top: ${Dn.mobileOpenTop};
2269
- bottom: ${Dn.mobileOpenBottom};
2270
- left: ${Dn.mobileOpenLeft};
2271
- right: ${Dn.mobileOpenRight};
2272
- z-index: ${Dn.floatingZIndex};
2267
+ position: ${Fa.mobileOpenPosition};
2268
+ top: ${Fa.mobileOpenTop};
2269
+ bottom: ${Fa.mobileOpenBottom};
2270
+ left: ${Fa.mobileOpenLeft};
2271
+ right: ${Fa.mobileOpenRight};
2272
+ z-index: ${Fa.floatingZIndex};
2273
2273
  padding: 16px;
2274
2274
  }
2275
2275
 
2276
2276
  .ft-search-bar--mobile-menu-open:not(.ft-search-bar--forced-open) {
2277
- background: ${Dn.colorSurface};
2277
+ background: ${Fa.colorSurface};
2278
2278
  }
2279
2279
 
2280
2280
  .ft-search-bar--mobile-menu-open.ft-search-bar--forced-open {
2281
- position: ${Dn.mobileOpenPosition.get("static")};
2281
+ position: ${Fa.mobileOpenPosition.get("static")};
2282
2282
  }
2283
2283
 
2284
2284
  .ft-search-bar {
@@ -2286,20 +2286,20 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2286
2286
  display: flex;
2287
2287
  flex-direction: row;
2288
2288
  align-items: center;
2289
- height: ${Dn.height};
2289
+ height: ${Fa.height};
2290
2290
 
2291
- background: ${Dn.colorSurface};
2292
- border: 1px solid ${Dn.colorOutline};
2293
- border-radius: ${Dn.borderRadius};
2291
+ background: ${Fa.colorSurface};
2292
+ border: 1px solid ${Fa.colorOutline};
2293
+ border-radius: ${Fa.borderRadius};
2294
2294
  }
2295
2295
 
2296
2296
  .ft-search-bar--skeleton {
2297
- ${Ne(Bn.height,Dn.height)};
2298
- ${Ne(Bn.borderRadiusM,Dn.borderRadius)};
2297
+ ${Ne(Wa.height,Fa.height)};
2298
+ ${Ne(Wa.borderRadiusM,Fa.borderRadius)};
2299
2299
  }
2300
2300
 
2301
2301
  .ft-search-bar--floating-panel-open .ft-search-bar {
2302
- border-radius: ${Dn.borderRadius} ${Dn.borderRadius} 0 0;
2302
+ border-radius: ${Fa.borderRadius} ${Fa.borderRadius} 0 0;
2303
2303
  }
2304
2304
 
2305
2305
  .ft-search-bar--input-container {
@@ -2317,7 +2317,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2317
2317
  align-self: stretch;
2318
2318
  display: grid;
2319
2319
  padding: 0 8px;
2320
- border-radius: ${Dn.borderRadius};
2320
+ border-radius: ${Fa.borderRadius};
2321
2321
  }
2322
2322
 
2323
2323
  .ft-search-bar--dense .ft-search-bar--input-outline {
@@ -2326,7 +2326,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2326
2326
  }
2327
2327
 
2328
2328
  .ft-search-bar--input-container:focus-within .ft-search-bar--input-outline {
2329
- outline: 2px solid ${Dn.colorPrimary};
2329
+ outline: 2px solid ${Fa.colorPrimary};
2330
2330
  }
2331
2331
 
2332
2332
  .ft-search-bar--input {
@@ -2334,12 +2334,12 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2334
2334
  flex-grow: 1;
2335
2335
  border: none;
2336
2336
  background-color: transparent;
2337
- color: ${Dn.colorOnSurface};
2337
+ color: ${Fa.colorOnSurface};
2338
2338
  outline: none;
2339
2339
  }
2340
2340
 
2341
2341
  .ft-search-bar--input::placeholder {
2342
- color: ${Dn.colorOnSurfaceMedium};
2342
+ color: ${Fa.colorOnSurfaceMedium};
2343
2343
  }
2344
2344
 
2345
2345
  .ft-search-bar--actions {
@@ -2349,7 +2349,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2349
2349
  align-items: center;
2350
2350
  height: 100%;
2351
2351
 
2352
- ${Ne(Xi.zIndex,`calc(${Dn.floatingZIndex} + 1)`)};
2352
+ ${Ne(Xi.zIndex,`calc(${Fa.floatingZIndex} + 1)`)};
2353
2353
  }
2354
2354
 
2355
2355
  .ft-search-bar > ft-button,
@@ -2359,8 +2359,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2359
2359
  }
2360
2360
 
2361
2361
  .ft-search-bar--left-action {
2362
- ${Ne(Ai.borderRadius,`calc(${Dn.borderRadius} - 1px) 0 0 calc(${Dn.borderRadius} - 1px)`)};
2363
- border-right: 1px solid ${Dn.colorOutline};
2362
+ ${Ne(Ai.borderRadius,`calc(${Fa.borderRadius} - 1px) 0 0 calc(${Fa.borderRadius} - 1px)`)};
2363
+ border-right: 1px solid ${Fa.colorOutline};
2364
2364
  height: 100%;
2365
2365
  }
2366
2366
 
@@ -2369,7 +2369,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2369
2369
  }
2370
2370
 
2371
2371
  .ft-search-bar--floating-panel-open .ft-search-bar--left-action {
2372
- ${Ne(Ai.borderRadius,`calc(${Dn.borderRadius} - 1px) 0 0 0`)};
2372
+ ${Ne(Ai.borderRadius,`calc(${Fa.borderRadius} - 1px) 0 0 0`)};
2373
2373
  }
2374
2374
 
2375
2375
  .ft-search-bar .ft-search-bar--launch-search,
@@ -2379,13 +2379,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2379
2379
 
2380
2380
  .ft-search-bar--separator {
2381
2381
  height: 20px;
2382
- border-right: 1px solid ${Dn.colorOutline};
2382
+ border-right: 1px solid ${Fa.colorOutline};
2383
2383
  }
2384
2384
 
2385
2385
  .ft-search-bar--left-action.ft-search-bar--content-locale {
2386
- ${Ne(Nn.borderColor,"transparent")};
2387
- ${Ne(Nn.borderRadiusS,`calc(${Dn.borderRadius} - 1px)`)};
2388
- ${Ne(In.selectedOptionColor,Dn.buttonColor)};
2386
+ ${Ne(ka.borderColor,"transparent")};
2387
+ ${Ne(ka.borderRadiusS,`calc(${Fa.borderRadius} - 1px)`)};
2388
+ ${Ne(Ra.selectedOptionColor,Fa.buttonColor)};
2389
2389
  }
2390
2390
 
2391
2391
  .ft-search-bar--left-action.ft-search-bar--content-locale,
@@ -2402,7 +2402,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2402
2402
  }
2403
2403
 
2404
2404
  .ft-search-bar--left-action.ft-search-bar--content-locale::part(selected-value) {
2405
- border-radius: calc(${Dn.borderRadius} - 1px) 0 0 calc(${Dn.borderRadius} - 1px);
2405
+ border-radius: calc(${Fa.borderRadius} - 1px) 0 0 calc(${Fa.borderRadius} - 1px);
2406
2406
  }
2407
2407
 
2408
2408
  [part="content-locale-selector"] {
@@ -2411,7 +2411,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2411
2411
  flex-direction: column;
2412
2412
  max-height: 100%;
2413
2413
  max-width: 100%;
2414
- color: ${Gr};
2414
+ color: ${Gn};
2415
2415
  }
2416
2416
 
2417
2417
  [part="content-locale-selector"] > ft-radio-group {
@@ -2429,7 +2429,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2429
2429
  flex-shrink: 0;
2430
2430
  padding: 0 10px;
2431
2431
  margin-bottom: 8px;
2432
- ${Ne(wo.fontSize,"14px")};
2432
+ ${Ne(Oo.fontSize,"14px")};
2433
2433
  }
2434
2434
 
2435
2435
  [part="content-locale-selector-label"] {
@@ -2437,18 +2437,18 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2437
2437
  flex-shrink: 1;
2438
2438
  flex-grow: 1;
2439
2439
  word-break: break-word;
2440
- ${Ne(wo.lineHeight,"22px")};
2441
- ${Ne(wo.fontWeight,"bold")};
2440
+ ${Ne(Oo.lineHeight,"22px")};
2441
+ ${Ne(Oo.fontWeight,"bold")};
2442
2442
  }
2443
2443
 
2444
- `,Zn=St`
2444
+ `,Ka=St`
2445
2445
  .ft-search-bar--presets {
2446
2446
  min-width: 200px;
2447
2447
  }
2448
2448
 
2449
2449
  .ft-search-bar--desktop-menu .ft-search-bar--presets {
2450
2450
  margin-right: auto;
2451
- ${Ne(In.optionsZIndex,"2")};
2451
+ ${Ne(Ra.optionsZIndex,"2")};
2452
2452
  }
2453
2453
 
2454
2454
  .ft-search-bar--desktop-menu {
@@ -2501,8 +2501,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2501
2501
 
2502
2502
  .ft-search-bar--desktop-menu .ft-search-bar--filters-container {
2503
2503
  display: block;
2504
- height: ${Dn.desktopFiltersHeight};
2505
- ${Ne(Pr.gap,"16px")};
2504
+ height: ${Fa.desktopFiltersHeight};
2505
+ ${Ne(Pn.gap,"16px")};
2506
2506
  }
2507
2507
 
2508
2508
  .ft-search-bar--desktop-menu ft-filter {
@@ -2517,15 +2517,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2517
2517
  }
2518
2518
 
2519
2519
  .ft-search-bar--desktop-menu [data-filters-count="2"] ft-filter {
2520
- max-width: calc(50% - ${Pr.gap} / 2);
2520
+ max-width: calc(50% - ${Pn.gap} / 2);
2521
2521
  }
2522
2522
 
2523
2523
  .ft-search-bar--desktop-menu [data-filters-count="3"] ft-filter {
2524
- max-width: max(250px, calc(33% - 2 * ${Pr.gap} / 3));
2524
+ max-width: max(250px, calc(33% - 2 * ${Pn.gap} / 3));
2525
2525
  }
2526
2526
 
2527
2527
  .ft-search-bar--desktop-menu [data-filters-count="4"] ft-filter {
2528
- max-width: max(250px, calc(25% - 3 * ${Pr.gap} / 4));
2528
+ max-width: max(250px, calc(25% - 3 * ${Pn.gap} / 4));
2529
2529
  }
2530
2530
 
2531
2531
  .ft-search-bar--hierarchical-filter {
@@ -2582,7 +2582,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2582
2582
  .ft-search-bar--filter-label-values {
2583
2583
  flex-grow: 0;
2584
2584
  flex-shrink: 1;
2585
- color: ${Dn.colorOnSurfaceMedium};
2585
+ color: ${Fa.colorOnSurfaceMedium};
2586
2586
  }
2587
2587
 
2588
2588
  ft-accordion-item::part(toggle) {
@@ -2602,8 +2602,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2602
2602
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
2603
2603
  margin: 0;
2604
2604
  }
2605
- `;class Mn extends Me{render(){return ae`
2606
- `}}Mn.elementDefinitions={},Mn.styles=Fn,L("ft-skeleton")(Mn);class An{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 ae`
2605
+ `;class Za extends Me{render(){return ae`
2606
+ `}}Za.elementDefinitions={},Za.styles=Ba,U("ft-skeleton")(Za);class Ma{constructor(t,e=300){this.searchBar=t,this.updateDebouncer=new R(e)}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 ae`
2607
2607
  <div class="ft-search-bar--suggestions ft-word-wrap ${e?"ft-search-bar--suggestions-not-empty":""}"
2608
2608
  part="suggestions-container"
2609
2609
  @keydown=${t=>this.onSuggestKeyDown(t)}>
@@ -2637,9 +2637,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2637
2637
  </a>
2638
2638
  `))}
2639
2639
  </div>
2640
- `}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(),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?lr.file_format:lr.fluid_topics;let o;switch(t.type){case"MAP":o="BOOK"===t.editorialType?rr.BOOK:rr.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=sr.get(t))&&void 0!==o?o:t)+"/").split("/");return null!==(n=null!==(r=null!==(i=ar.get(s))&&void 0!==i?i:ar.get(e))&&void 0!==r?r:ar.get(a))&&void 0!==n?n:nr.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":o=rr.TOPICS}return ae`
2640
+ `}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(),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?ln.file_format:ln.fluid_topics;let o;switch(t.type){case"MAP":o="BOOK"===t.editorialType?rn.BOOK:rn.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=sn.get(t))&&void 0!==o?o:t)+"/").split("/");return null!==(n=null!==(r=null!==(i=an.get(s))&&void 0!==i?i:an.get(e))&&void 0!==r?r:an.get(a))&&void 0!==n?n:nn.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":o=rn.TOPICS}return ae`
2641
2641
  <ft-icon .variant="${e}" .value="${o}" part="suggestion-icon"></ft-icon>
2642
- `}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()}}An.styles=[je,St`
2642
+ `}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()}}Ma.styles=[je,St`
2643
2643
  .ft-search-bar--mobile .ft-search-bar--suggestions {
2644
2644
  flex-grow: 1;
2645
2645
  flex-shrink: 1;
@@ -2648,7 +2648,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2648
2648
  }
2649
2649
 
2650
2650
  .ft-search-bar--mobile-menu-open .ft-search-bar--suggestions {
2651
- border-top: 1px solid ${Dn.colorOutline};
2651
+ border-top: 1px solid ${Fa.colorOutline};
2652
2652
  }
2653
2653
 
2654
2654
  .ft-search-bar--mobile-menu-open .ft-search-bar--suggestions {
@@ -2658,15 +2658,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2658
2658
  .ft-search-bar--floating-panel,
2659
2659
  .ft-search-bar--desktop .ft-search-bar--suggestions {
2660
2660
  position: absolute;
2661
- z-index: ${Dn.floatingZIndex};
2661
+ z-index: ${Fa.floatingZIndex};
2662
2662
  top: 100%;
2663
2663
  left: -1px;
2664
2664
  right: -1px;
2665
2665
  display: none;
2666
- background: ${Dn.colorSurface};
2667
- border: 1px solid ${Dn.colorOutline};
2668
- border-radius: 0 0 ${Dn.borderRadius} ${Dn.borderRadius};
2669
- box-shadow: ${Dn.elevation02};
2666
+ background: ${Fa.colorSurface};
2667
+ border: 1px solid ${Fa.colorOutline};
2668
+ border-radius: 0 0 ${Fa.borderRadius} ${Fa.borderRadius};
2669
+ box-shadow: ${Fa.elevation02};
2670
2670
  outline: none;
2671
2671
  }
2672
2672
 
@@ -2686,7 +2686,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2686
2686
  padding: 8px;
2687
2687
  gap: 8px;
2688
2688
  cursor: pointer;
2689
- color: ${Dn.colorOnSurface};
2689
+ color: ${Fa.colorOnSurface};
2690
2690
  min-height: 52px;
2691
2691
  }
2692
2692
 
@@ -2703,7 +2703,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2703
2703
  }
2704
2704
 
2705
2705
  .ft-search-bar--recent-search + .ft-search-bar--suggestion:not(.ft-search-bar--recent-search) {
2706
- border-top: 1px solid ${Dn.colorOutline};
2706
+ border-top: 1px solid ${Fa.colorOutline};
2707
2707
  }
2708
2708
 
2709
2709
  .ft-search-bar--suggestion ft-typography {
@@ -2711,7 +2711,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2711
2711
  flex-grow: 1;
2712
2712
  flex-shrink: 1;
2713
2713
  }
2714
- `];class Pn{constructor(t){this.searchBar=t}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return ae``;const t=this.searchBar.isMobile(),e=!t&&this.searchBar.dense||t&&this.searchBar.isMobileMenuOpen(),o=ae`
2714
+ `];class Aa{constructor(t){this.searchBar=t}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return ae``;const t=this.searchBar.isMobile(),e=!t&&this.searchBar.dense||t&&this.searchBar.isMobileMenuOpen(),o=ae`
2715
2715
  ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||t)?ae`
2716
2716
  <ft-chip part="selected-filters selected-filter-ft-locale"
2717
2717
  ?dense=${this.searchBar.dense&&!t}
@@ -2761,7 +2761,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2761
2761
  <div class="ft-search-bar--selected-filters" part="selected-filters-container">
2762
2762
  ${o}
2763
2763
  </div>
2764
- `}openMobileFilters(t){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=t)}getLocaleLabel(t){var e;return null!==(e=this.searchBar.availableContentLocales.filter((e=>{var o;return(null!==(o=e.lang)&&void 0!==o?o:"").toLowerCase()===(null!=t?t:"").toLowerCase()})).map((t=>t.label)).pop())&&void 0!==e?e:t}}Pn.styles=St`
2764
+ `}openMobileFilters(t){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=t)}getLocaleLabel(t){var e;return null!==(e=this.searchBar.availableContentLocales.filter((e=>{var o;return(null!==(o=e.lang)&&void 0!==o?o:"").toLowerCase()===(null!=t?t:"").toLowerCase()})).map((t=>t.label)).pop())&&void 0!==e?e:t}}Aa.styles=St`
2765
2765
  .ft-search-bar--selected-filters:not(ft-snap-scroll) {
2766
2766
  flex-shrink: 0;
2767
2767
  display: flex;
@@ -2772,7 +2772,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2772
2772
 
2773
2773
  ft-snap-scroll.ft-search-bar--selected-filters {
2774
2774
  overflow: hidden;
2775
- ${Ne(Pr.gap,"4px")};
2775
+ ${Ne(Pn.gap,"4px")};
2776
2776
  }
2777
2777
 
2778
2778
  ft-snap-scroll.ft-search-bar--selected-filters::part(content) {
@@ -2780,8 +2780,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2780
2780
  }
2781
2781
 
2782
2782
  .ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
2783
- ${Ne(yn.iconSize,"17px")};
2784
- ${Ne(yn.fontSize,"12px")};
2783
+ ${Ne(ga.iconSize,"17px")};
2784
+ ${Ne(ga.fontSize,"12px")};
2785
2785
  }
2786
2786
 
2787
2787
  .ft-search-bar--selected-filters * {
@@ -2791,7 +2791,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2791
2791
  .ft-search-bar--selected-filters ft-chip {
2792
2792
  flex-grow: 0;
2793
2793
  }
2794
- `;class jn{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new Pn(t),this.suggestManager=null!=o?o:new An(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 ae`
2794
+ `;class Pa{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new Aa(t),this.suggestManager=null!=o?o:new Ma(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 ae`
2795
2795
  <div class="${qi(t)}" part="container" tabindex="-1">
2796
2796
  <div class="ft-search-bar">
2797
2797
  <div class="ft-search-bar--input-container" part="input-container">
@@ -2840,9 +2840,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2840
2840
  @click=${()=>{var t;return this.searchBar.isMobileMenuOpen()?this.searchBar.launchSearch():null===(t=this.searchBar.input)||void 0===t?void 0:t.focus()}}
2841
2841
  ></ft-button>
2842
2842
  </div>
2843
- `}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}jn.styles=St`
2843
+ `}onSearchBarKeyUp(t){const e=t.composedPath()[0];this.searchBar.query=e.value,"Enter"===t.key&&this.searchBar.launchSearch()}}Pa.styles=St`
2844
2844
 
2845
- `;class Hn{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new Pn(t),this.suggestManager=null!=o?o:new An(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};return ae`
2845
+ `;class ja{constructor(t,e,o){this.searchBar=t,this.selectedFacetsManager=null!=e?e:new Aa(t),this.suggestManager=null!=o?o:new Ma(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};return ae`
2846
2846
  <div class="${qi(t)}" part="container" tabindex="-1">
2847
2847
  <div class="ft-search-bar" part="search-bar">
2848
2848
  ${this.renderSearchBarLeftAction()}
@@ -2909,9 +2909,9 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
2909
2909
  @click=${()=>this.searchBar.launchSearch()}
2910
2910
  ></ft-button>
2911
2911
  </div>
2912
- `}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()}}Hn.styles=St`
2912
+ `}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()}}ja.styles=St`
2913
2913
 
2914
- `;var Tn=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 _n={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 Vn extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class Gn extends CustomEvent{constructor(t){super("change",{detail:t})}}const qn=()=>{};class Yn extends Me{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 Te(_n,{}),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.searchFilters=[],this.sizeCategory=co.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.suggestManager=new An(this),this.selectedFacetsManager=new Pn(this),this.desktopSearchBarManager=new Hn(this),this.mobileSearchBarManager=new jn(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)))))}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===co.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()}focusInput(){this.input?this.input.focus():setTimeout((()=>this.focusInput()),50)}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return ae`
2914
+ `;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};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 Ta={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 _a extends CustomEvent{constructor(t){super("launch-search",{detail:t,bubbles:!0,composed:!0})}}class Va extends CustomEvent{constructor(t){super("change",{detail:t})}}const Ga=()=>{};class qa extends Me{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 Te(Ta,{}),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.searchFilters=[],this.sizeCategory=co.M,this.displayFacets=!1,this.mobileMenuOpen=!1,this.facets=[],this.facetsInitialized=!1,this.knownFacetLabels=new Map,this.query="",this.suggestions=[],this.recentSearches=[],this.suggestManager=new Ma(this),this.selectedFacetsManager=new Aa(this),this.desktopSearchBarManager=new ja(this),this.mobileSearchBarManager=new Pa(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new R(10),this.updateLocalesDebouncer=new R(10),this.facetsLoaded=!1,this.updateFacetsDebouncer=new R(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)))))}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===co.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()}focusInput(){this.input?this.input.focus():setTimeout((()=>this.focusInput()),50)}clear(){this.query="",this.searchFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return ae`
2915
2915
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
2916
2916
  ${this.renderSearchBar()}
2917
2917
  `}renderSearchBar(){return this.facetsInitialized&&this.availableContentLocalesInitialized?this.isMobile()?this.mobileSearchBarManager.render():this.desktopSearchBarManager.render():ae`
@@ -3047,11 +3047,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
3047
3047
  ></ft-filter>
3048
3048
  `}))}
3049
3049
  </ft-snap-scroll>
3050
- `:le}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 Te(_n,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=>Si(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 Gn(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(qn)),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 Vn(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}))}connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}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&&I(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=>I(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?le:ae`
3050
+ `:le}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 Te(Ta,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=>Si(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 Va(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(Ga)),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 _a(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}))}connectedCallback(){super.connectedCallback(),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer)}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&&I(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=>I(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?le:ae`
3051
3051
  <div class="ft-search-bar--floating-panel"
3052
3052
  id="ft-search-bar-floating-panel"
3053
3053
  @keyup=${this.onFloatingContainerKeyUp}
3054
3054
  part="floating-panel"
3055
3055
  tabindex="-1">
3056
3056
  ${this.renderDesktopMenu()}
3057
- </div>`}}Yn.elementDefinitions={"ft-accordion":cn,"ft-accordion-item":bn,"ft-button":br,"ft-chip":kn,"ft-filter":rn,"ft-filter-option":an,"ft-icon":hr,"ft-ripple":Ji,"ft-select":Wn,"ft-select-option":zn,"ft-size-watcher":uo,"ft-skeleton":Mn,"ft-snap-scroll":_r,"ft-tooltip":er,"ft-typography":wi,"ft-radio-group":Dr,"ft-radio":Wr},Yn.styles=[bi,Kn,Zn,Pn.styles,An.styles],Tn([k({type:Boolean})],Yn.prototype,"dense",void 0),Tn([k()],Yn.prototype,"mode",void 0),Tn([k({type:Boolean})],Yn.prototype,"forceMobileMenuOpen",void 0),Tn([k({type:Boolean})],Yn.prototype,"forceMenuOpen",void 0),Tn([k()],Yn.prototype,"baseUrl",void 0),Tn([k()],Yn.prototype,"apiIntegrationIdentifier",void 0),Tn([k()],Yn.prototype,"contentLocale",void 0),Tn([N()],Yn.prototype,"availableContentLocales",void 0),Tn([N()],Yn.prototype,"availableContentLocalesInitialized",void 0),Tn([k()],Yn.prototype,"uiLocale",void 0),Tn([z({})],Yn.prototype,"labels",void 0),Tn([z([])],Yn.prototype,"displayedFilters",void 0),Tn([z([])],Yn.prototype,"presets",void 0),Tn([k({type:String,reflect:!0})],Yn.prototype,"selectedPreset",void 0),Tn([z([])],Yn.prototype,"priors",void 0),Tn([k()],Yn.prototype,"searchRequestSerializer",void 0),Tn([N()],Yn.prototype,"searchFilters",void 0),Tn([N()],Yn.prototype,"sizeCategory",void 0),Tn([N()],Yn.prototype,"displayFacets",void 0),Tn([N()],Yn.prototype,"mobileMenuOpen",void 0),Tn([N()],Yn.prototype,"facets",void 0),Tn([N()],Yn.prototype,"facetsInitialized",void 0),Tn([E(".ft-search-bar--container")],Yn.prototype,"container",void 0),Tn([E(".ft-search-bar--filters-opener")],Yn.prototype,"filtersOpener",void 0),Tn([E(".ft-search-bar--floating-panel")],Yn.prototype,"floatingContainer",void 0),Tn([E("ft-snap-scroll.ft-search-bar--filters-container")],Yn.prototype,"scrollingFiltersContainer",void 0),Tn([E(".ft-search-bar--input")],Yn.prototype,"input",void 0),Tn([N()],Yn.prototype,"query",void 0),Tn([N()],Yn.prototype,"suggestions",void 0),Tn([N()],Yn.prototype,"recentSearches",void 0),Tn([N()],Yn.prototype,"scrollToFacet",void 0),Tn([N()],Yn.prototype,"api",void 0),Tn([N()],Yn.prototype,"facetsLoaded",void 0),L("ft-search-bar")(Yn),t.DEFAULT_LABELS=_n,t.FtSearchBar=Yn,t.FtSearchBarCssVariables=Dn,t.LaunchSearchEvent=Vn,t.SearchStateChangeEvent=Gn,t.facetsCss=Zn,t.searchBarCss=Kn}({});
3057
+ </div>`}}qa.elementDefinitions={"ft-accordion":la,"ft-accordion-item":ua,"ft-button":bn,"ft-chip":Sa,"ft-filter":ia,"ft-filter-option":na,"ft-icon":hn,"ft-ripple":Ji,"ft-select":za,"ft-select-option":Ua,"ft-size-watcher":uo,"ft-skeleton":Za,"ft-snap-scroll":_n,"ft-tooltip":tn,"ft-typography":Oi,"ft-radio-group":Dn,"ft-radio":Wn},qa.styles=[bi,Da,Ka,Aa.styles,Ma.styles],Ha([S({type:Boolean})],qa.prototype,"dense",void 0),Ha([S()],qa.prototype,"mode",void 0),Ha([S({type:Boolean})],qa.prototype,"forceMobileMenuOpen",void 0),Ha([S({type:Boolean})],qa.prototype,"forceMenuOpen",void 0),Ha([S()],qa.prototype,"baseUrl",void 0),Ha([S()],qa.prototype,"apiIntegrationIdentifier",void 0),Ha([S()],qa.prototype,"contentLocale",void 0),Ha([k()],qa.prototype,"availableContentLocales",void 0),Ha([k()],qa.prototype,"availableContentLocalesInitialized",void 0),Ha([S()],qa.prototype,"uiLocale",void 0),Ha([z({})],qa.prototype,"labels",void 0),Ha([z([])],qa.prototype,"displayedFilters",void 0),Ha([z([])],qa.prototype,"presets",void 0),Ha([S({type:String,reflect:!0})],qa.prototype,"selectedPreset",void 0),Ha([z([])],qa.prototype,"priors",void 0),Ha([S()],qa.prototype,"searchRequestSerializer",void 0),Ha([k()],qa.prototype,"searchFilters",void 0),Ha([k()],qa.prototype,"sizeCategory",void 0),Ha([k()],qa.prototype,"displayFacets",void 0),Ha([k()],qa.prototype,"mobileMenuOpen",void 0),Ha([k()],qa.prototype,"facets",void 0),Ha([k()],qa.prototype,"facetsInitialized",void 0),Ha([C(".ft-search-bar--container")],qa.prototype,"container",void 0),Ha([C(".ft-search-bar--filters-opener")],qa.prototype,"filtersOpener",void 0),Ha([C(".ft-search-bar--floating-panel")],qa.prototype,"floatingContainer",void 0),Ha([C("ft-snap-scroll.ft-search-bar--filters-container")],qa.prototype,"scrollingFiltersContainer",void 0),Ha([C(".ft-search-bar--input")],qa.prototype,"input",void 0),Ha([k()],qa.prototype,"query",void 0),Ha([k()],qa.prototype,"suggestions",void 0),Ha([k()],qa.prototype,"recentSearches",void 0),Ha([k()],qa.prototype,"scrollToFacet",void 0),Ha([k()],qa.prototype,"api",void 0),Ha([k()],qa.prototype,"facetsLoaded",void 0),U("ft-search-bar")(qa),t.DEFAULT_LABELS=Ta,t.FtSearchBar=qa,t.FtSearchBarCssVariables=Fa,t.LaunchSearchEvent=_a,t.SearchStateChangeEvent=Va,t.facetsCss=Ka,t.searchBarCss=Da}({});