@fluid-topics/ft-floating-menu 1.1.41 → 1.1.42

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,85 +12,135 @@
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,o=window.customElements.define,e=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||[]);h(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 p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);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 y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!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)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.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(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.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(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.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,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);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 o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=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,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(hn){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)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,r=window.customElements,i=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,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);u(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=o.call(r,t);f||(f=p(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),d(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,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 r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.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),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=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 r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},u=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),l=t;try{new e.elementClass}catch(t){h(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)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(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 r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r 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 r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(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=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Kl){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const e=globalThis,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(i&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,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 o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
20
+ */const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=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(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=i.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&i.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),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:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let N=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,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}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,o=[...f(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.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,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}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){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:u}=Object,h=globalThis,d=h.trustedTypes,y=d?d.emptyScript:"",g=h.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?y: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"),h.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=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.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(b("elementProperties")))return;const t=u(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...f(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,r)=>{if(o)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of r){const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,t.appendChild(r)}})(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),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(r?i: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[b("elementProperties")]=new Map,O[b("finalized")]=new Map,g?.({ReactiveElement:O}),(h.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 S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
31
+ const w=globalThis,S=w.trustedTypes,N=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,R=`<${$}>`,k=document,I=()=>k.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,W=t=>U(t)||"function"==typeof t?.[Symbol.iterator],F="[ \t\n\f\r]",A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,_=/>/g,B=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),z=/'/g,K=/"/g,M=/^(?:script|style|textarea|title)$/i,P=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),D=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),H=new WeakMap,T=k.createTreeWalker(k,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=A;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===A?"!--"===l[1]?a=j:void 0!==l[1]?a=_:void 0!==l[2]?(M.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=B):void 0!==l[3]&&(a=B):a===B?">"===l[0]?(a=i??A,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?B:'"'===l[3]?K:z):a===K||a===z?a=B:a===j||a===_?a=A:(a=B,i=void 0);const p=a===B&&t[e+1].startsWith("/>")?" ":"";n+=a===A?o+R:c>=0?(r.push(s),o.slice(0,c)+C+o.slice(c)+E+p):o+E+(-2===c?e:p)}return[G(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let q=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=V(e,o);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(C)){const e=f[a++],o=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?tt:"?"===r[1]?et:"@"===r[1]?ot:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(M.test(i.tagName)){const t=i.textContent.split(E),e=t.length-1;if(e>0){i.textContent=S?S.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],I()),T.nextNode(),l.push({type:2,index:++n});i.append(t[e],I())}}}else if(8===i.nodeType)if(i.data===$)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)l.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const o=k.createElement("template");return o.innerHTML=t,o}};function Y(t,e,o=t,r){if(e===D)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=L(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=Y(t,i._$AS(t,e.values),i,r)),e}let J=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??k).importNode(e,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new X(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new rt(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=T.nextNode(),n++)}return T.currentNode=k,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),L(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==D&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):W(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Z&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(k.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(G(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new J(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new q(t)),e}T(e){U(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(I()),this.k(I()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Z}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==D,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=Y(this,r[o+a],e,a),s===D&&(s=this._$AH[a]),n||=!L(s)||s!==this._$AH[a],s===Z?t=Z:t!==Z&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Z?void 0:t}},et=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Z)}},ot=class extends Q{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??Z)===D)return;const o=this._$AH,r=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==Z&&(o===Z||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const it={j:C,P:E,A:$,C:1,M:V,L:J,R:W,V:Y,D:X,I:Q,H:et,N:ot,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
32
+ /**
33
+ * @license
34
+ * Copyright 2019 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */
37
+ const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lt=Symbol(),ct=new WeakMap;let ft=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==lt)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(st&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ct.set(e,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,lt),ut=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>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[r+1]),t[0]);return new ft(o,t,lt)},ht=(t,e)=>{if(st)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=at.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}},dt=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return pt(e)})(t):t
32
38
  /**
33
39
  * @license
34
40
  * Copyright 2017 Google LLC
35
41
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function $(t){return C({...t,state:!0,attribute:!1})}
42
+ */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Nt=Ot.reactiveElementPolyfillSupport,Ct=(t,e)=>t,Et={toAttribute(t,e){switch(e){case Boolean:t=t?St: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}},$t=(t,e)=>!yt(t,e),Rt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let kt=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=Rt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Rt}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){const t=this.properties,e=[...mt(t),...vt(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(dt(t))}else void 0!==t&&e.push(dt(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 ht(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),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:Et).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??$t)(r?i: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){}};kt.elementStyles=[],kt.shadowRootOptions={mode:"open"},kt[Ct("elementProperties")]=new Map,kt[Ct("finalized")]=new Map,Nt?.({ReactiveElement:kt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
37
43
  /**
38
44
  * @license
39
45
  * Copyright 2017 Google LLC
40
46
  * SPDX-License-Identifier: BSD-3-Clause
41
- */function E(t){return(o,e)=>{const i="function"==typeof o?o:o[e];Object.assign(i,t)}}
47
+ */
48
+ const It=globalThis,Lt=It.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",Ft=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Ft,jt=`<${At}>`,_t=document,Bt=()=>_t.createComment(""),zt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Kt=Array.isArray,Mt=t=>Kt(t)||"function"==typeof t?.[Symbol.iterator],Pt="[ \t\n\f\r]",Dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Pt}(?:([^\\s"'>=/]+)(${Pt}*=${Pt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ee=new WeakMap,oe=_t.createTreeWalker(_t,129);function re(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(e):e}const ie=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Dt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===Dt?"!--"===l[1]?a=Zt:void 0!==l[1]?a=Ht:void 0!==l[2]?(qt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Tt):void 0!==l[3]&&(a=Tt):a===Tt?">"===l[0]?(a=i??Dt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Tt:'"'===l[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Zt||a===Ht?a=Dt:(a=Tt,i=void 0);const p=a===Tt&&t[e+1].startsWith("/>")?" ":"";n+=a===Dt?o+jt:c>=0?(r.push(s),o.slice(0,c)+Wt+o.slice(c)+Ft+p):o+Ft+(-2===c?e:p)}return[re(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class ne{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ie(t,e);if(this.el=ne.createElement(l,o),oe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oe.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Wt)){const e=c[n++],o=r.getAttribute(t).split(Ft),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?fe:"?"===a[1]?pe:"@"===a[1]?ue:ce}),r.removeAttribute(t)}else t.startsWith(Ft)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(Ft),e=t.length-1;if(e>0){r.textContent=Lt?Lt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Bt()),oe.nextNode(),s.push({type:2,index:++i});r.append(t[e],Bt())}}}else if(8===r.nodeType)if(r.data===At)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Ft,t+1));)s.push({type:7,index:i}),t+=Ft.length-1}i++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function ae(t,e,o=t,r){if(e===Qt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=zt(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=ae(t,i._$AS(t,e.values),i,r)),e}let se=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??_t).importNode(e,!0);oe.currentNode=r;let i=oe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new le(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new he(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=oe.nextNode(),n++)}return oe.currentNode=_t,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},le=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ae(this,t,e),zt(t)?t===te||null==t||""===t?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Mt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==te&&zt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ne.createElement(re(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new se(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ee.get(t.strings);return void 0===e&&ee.set(t.strings,e=new ne(t)),e}T(e){Kt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(Bt()),this.k(Bt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=te}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=ae(this,t,e,0),n=!zt(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ae(this,r[o+a],e,a),s===Qt&&(s=this._$AH[a]),n||=!zt(s)||s!==this._$AH[a],s===te?t=te:t!==te&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fe=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},pe=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},ue=class extends ce{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ae(this,t,e,0)??te)===Qt)return;const o=this._$AH,r=t===te&&o!==te||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==te&&(o===te||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},he=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}};const de={j:Wt,P:Ft,A:At,C:1,M:ie,L:se,R:Mt,V:ae,D:le,I:ce,H:pe,N:ue,U:fe,B:he},ye=It.litHtmlPolyfillSupport;ye?.(ne,le),(It.litHtmlVersions??=[]).push("3.1.0");const ge=(t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new le(e.insertBefore(Bt(),t),t,void 0,o??{})}return i._$AI(t),i
42
49
  /**
43
50
  * @license
44
51
  * Copyright 2017 Google LLC
45
52
  * SPDX-License-Identifier: BSD-3-Clause
46
- */const R=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
53
+ */};let be=class extends kt{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=ge(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be});(globalThis.litElementVersions??=[]).push("4.0.2");var ve=Object.freeze({__proto__:null,CSSResult:ft,LitElement:be,ReactiveElement:kt,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:de,adoptStyles:ht,css:ut,defaultConverter:Et,getCompatibleStyle:dt,html:Jt,isServer:!1,noChange:Qt,notEqual:$t,nothing:te,render:ge,supportsAdoptingStyleSheets:st,svg:Xt,unsafeCSS:pt});
47
54
  /**
48
55
  * @license
49
56
  * Copyright 2017 Google LLC
50
57
  * SPDX-License-Identifier: BSD-3-Clause
51
- */;function U(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return R(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return R(0,0,{get(){return n(this)}})}}
58
+ */const xe={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},Oe=(t=xe,e,o)=>{const{kind:r,metadata:i}=o;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};
52
59
  /**
53
60
  * @license
54
- * Copyright 2021 Google LLC
61
+ * Copyright 2017 Google LLC
55
62
  * SPDX-License-Identifier: BSD-3-Clause
56
- */function k(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!k(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!k(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!k(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const I=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function W(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!k(t,o),...null!=o?o:{}})}
63
+ */function we(t){return(e,o)=>"object"==typeof o?Oe(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
57
64
  /**
58
65
  * @license
59
66
  * Copyright 2017 Google LLC
60
67
  * SPDX-License-Identifier: BSD-3-Clause
61
- */const L=globalThis,K=L.trustedTypes,z=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,D="?"+Z,A=`<${D}>`,B=document,M=()=>B.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,Y=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,et=B.createTreeWalker(B,129);function it(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(o):o}let rt=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=((t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=T;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?J:V):a===J||a===V?a=Y:a===_||a===G?a=T:(a=Y,r=void 0);const f=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===T?e+A:c>=0?(i.push(s),e.slice(0,c)+F+e.slice(c)+Z+f):e+Z+(-2===c?o:f)}return[it(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]})(o,e);if(this.el=t.createElement(c,i),et.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=et.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(F)){const o=p[a++],e=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?lt:"?"===i[1]?ct:"@"===i[1]?pt:st}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(Z),o=t.length-1;if(o>0){r.textContent=K?K.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),et.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===D)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function nt(t,o,e=t,i){if(o===Q)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=P(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=nt(t,r._$AS(t,o.values),r,i)),o}let at=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=nt(this,t,o),P(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>H(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=rt.createElement(it(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??B).importNode(o,!0);et.currentNode=i;let r=et.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new at(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new ft(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=et.nextNode(),n++)}return et.currentNode=B,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new rt(t)),o}T(o){H(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},st=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=tt}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=nt(this,t,o,0),n=!P(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=nt(this,i[e+a],o,a),s===Q&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lt=class extends st{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ct=class extends st{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},pt=class extends st{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=nt(this,t,o,0)??tt)===Q)return;const e=this._$AH,i=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==tt&&(e===tt||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ft=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){nt(this,t)}};const ht=L.litHtmlPolyfillSupport;ht?.(rt,at),(L.litHtmlVersions??=[]).push("3.1.0");
68
+ */}function Se(t){return we({...t,state:!0,attribute:!1})}
62
69
  /**
63
70
  * @license
64
- * Copyright 2019 Google LLC
71
+ * Copyright 2017 Google LLC
65
72
  * SPDX-License-Identifier: BSD-3-Clause
66
- */
67
- const dt=globalThis,ut=dt.ShadowRoot&&(void 0===dt.ShadyCSS||dt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),gt=new WeakMap;let bt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==yt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(ut&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=gt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&gt.set(o,t))}return t}toString(){return this.cssText}};const mt=t=>new bt("string"==typeof t?t:t+"",void 0,yt),xt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(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.")})(e)+t[i+1]),t[0]);return new bt(e,t,yt)},vt=ut?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return mt(o)})(t):t
73
+ */function Ne(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}}
68
74
  /**
69
75
  * @license
70
76
  * Copyright 2017 Google LLC
71
77
  * SPDX-License-Identifier: BSD-3-Clause
72
- */,{is:Ot,defineProperty:Nt,getOwnPropertyDescriptor:St,getOwnPropertyNames:wt,getOwnPropertySymbols:Ct,getPrototypeOf:$t}=Object,Et=globalThis,Rt=Et.trustedTypes,Ut=Rt?Rt.emptyScript:"",kt=Et.reactiveElementPolyfillSupport,It=(t,o)=>t,Wt={toAttribute(t,o){switch(o){case Boolean:t=t?Ut:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Lt=(t,o)=>!Ot(t,o),Kt={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Lt};Symbol.metadata??=Symbol("metadata"),Et.litPropertyMetadata??=new WeakMap;class zt 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,o=Kt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&Nt(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=St(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Kt}static _$Ei(){if(this.hasOwnProperty(It("elementProperties")))return;const t=$t(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){const t=this.properties,o=[...wt(t),...Ct(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(vt(t))}else void 0!==t&&o.push(vt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(ut)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=dt.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}})(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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:Wt).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Wt;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Lt)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.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,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}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){}}zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[It("elementProperties")]=new Map,zt[It("finalized")]=new Map,kt?.({ReactiveElement:zt}),(Et.reactiveElementVersions??=[]).push("2.0.2");
78
+ */const Ce=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
73
79
  /**
74
80
  * @license
75
81
  * Copyright 2017 Google LLC
76
82
  * SPDX-License-Identifier: BSD-3-Clause
77
- */
78
- const Ft=globalThis,Zt=Ft.trustedTypes,Dt=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,At="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,Mt="?"+Bt,Pt=`<${Mt}>`,Ht=document,jt=()=>Ht.createComment(""),Tt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,Gt="[ \t\n\f\r]",Yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Jt=/>/g,qt=RegExp(`>|${Gt}(?:([^\\s"'>=/]+)(${Gt}*=${Gt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,Qt=/"/g,to=/^(?:script|style|textarea|title)$/i,oo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),eo=Symbol.for("lit-noChange"),io=Symbol.for("lit-nothing"),ro=new WeakMap,no=Ht.createTreeWalker(Ht,129);function ao(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Dt?Dt.createHTML(o):o}const so=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=Yt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===Yt?"!--"===l[1]?a=Vt:void 0!==l[1]?a=Jt:void 0!==l[2]?(to.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=qt):void 0!==l[3]&&(a=qt):a===qt?">"===l[0]?(a=r??Yt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?qt:'"'===l[3]?Qt:Xt):a===Qt||a===Xt?a=qt:a===Vt||a===Jt?a=Yt:(a=qt,r=void 0);const f=a===qt&&t[o+1].startsWith("/>")?" ":"";n+=a===Yt?e+Pt:c>=0?(i.push(s),e.slice(0,c)+At+e.slice(c)+Bt+f):e+Bt+(-2===c?o:f)}return[ao(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class lo{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=so(t,o);if(this.el=lo.createElement(l,e),no.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=no.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(At)){const o=c[n++],e=i.getAttribute(t).split(Bt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?ho:"?"===a[1]?uo:"@"===a[1]?yo:fo}),i.removeAttribute(t)}else t.startsWith(Bt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(to.test(i.tagName)){const t=i.textContent.split(Bt),o=t.length-1;if(o>0){i.textContent=Zt?Zt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],jt()),no.nextNode(),s.push({type:2,index:++r});i.append(t[o],jt())}}}else if(8===i.nodeType)if(i.data===Mt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Bt,t+1));)s.push({type:7,index:r}),t+=Bt.length-1}r++}}static createElement(t,o){const e=Ht.createElement("template");return e.innerHTML=t,e}}function co(t,o,e=t,i){if(o===eo)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Tt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=co(t,r._$AS(t,o.values),r,i)),o}class po{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=io,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=co(this,t,o),Tt(t)?t===io||null==t||""===t?(this._$AH!==io&&this._$AR(),this._$AH=io):t!==this._$AH&&t!==eo&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_t(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==io&&Tt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ht.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=lo.createElement(ao(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Ht).importNode(o,!0);no.currentNode=i;let r=no.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new po(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new go(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=no.nextNode(),n++)}return no.currentNode=Ht,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ro.get(t.strings);return void 0===o&&ro.set(t.strings,o=new lo(t)),o}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new po(this.k(jt()),this.k(jt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class fo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=io,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=io}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=co(this,t,o,0),n=!Tt(t)||t!==this._$AH&&t!==eo,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=co(this,i[e+a],o,a),s===eo&&(s=this._$AH[a]),n||=!Tt(s)||s!==this._$AH[a],s===io?t=io:t!==io&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===io?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ho extends fo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===io?void 0:t}}class uo extends fo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==io)}}class yo extends fo{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=co(this,t,o,0)??io)===eo)return;const e=this._$AH,i=t===io&&e!==io||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==io&&(e===io||i);i&&this.element.removeEventListener(this.name,this,e),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class go{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){co(this,t)}}const bo=Ft.litHtmlPolyfillSupport;bo?.(lo,po),(Ft.litHtmlVersions??=[]).push("3.1.0");
83
+ */;function Ee(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Ce(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 Ce(0,0,{get(){return n(this)}})}}
79
84
  /**
80
85
  * @license
81
86
  * Copyright 2017 Google LLC
82
87
  * SPDX-License-Identifier: BSD-3-Clause
88
+ */let $e;
89
+ /**
90
+ * @license
91
+ * Copyright 2021 Google LLC
92
+ * SPDX-License-Identifier: BSD-3-Clause
83
93
  */
84
- class mo extends zt{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new po(o.insertBefore(jt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return eo}}mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const xo=globalThis.litElementPolyfillSupport;xo?.({LitElement:mo}),(globalThis.litElementVersions??=[]).push("4.0.2");const vo=t=>"string"==typeof t?mt(t):t;class Oo{static create(t,o,e,i){const r=t=>vo(null!=t?t:i),n=xt`var(${vo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>xt`var(${vo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=xt`var(${vo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>xt`var(${vo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):vo(null!=o?o:t.lastResortDefaultValue()),i=xt`var(${vo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>xt`var(${vo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function No(t,o){return vo(`${t.name}: ${o}`)}const So={colorWhite:Oo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Oo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Oo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Oo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Oo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Oo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Oo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Oo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Oo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Oo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Oo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Oo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Oo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Oo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Oo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Oo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Oo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Oo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Oo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Oo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Oo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Oo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Oo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Oo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Oo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Oo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Oo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Oo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Oo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Oo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Oo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Oo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Oo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Oo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Oo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Oo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Oo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Oo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Oo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Oo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Oo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Oo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Oo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Oo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Oo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Oo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Oo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Oo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Oo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Oo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Oo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Oo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Oo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Oo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Oo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Oo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Oo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Oo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Oo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Oo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Oo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Oo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Oo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Oo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Oo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Oo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Oo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Oo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Oo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Oo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Oo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Oo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Oo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Oo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Oo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Oo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Oo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Oo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Oo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Oo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Oo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Oo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Oo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Oo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Oo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Oo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Oo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Oo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Oo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Oo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Oo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Oo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Oo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Oo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Oo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Oo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Oo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Oo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Oo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Oo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Oo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Oo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Oo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Oo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Oo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Oo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Oo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Oo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Oo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Oo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Oo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Oo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Oo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Oo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Oo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Oo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Oo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Oo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Oo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Oo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Oo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Oo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Oo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Oo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Oo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Oo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Oo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Oo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Oo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Oo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Oo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Oo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Oo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Oo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Oo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Oo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Oo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Oo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Oo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Oo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Oo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Oo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Oo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Oo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Oo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Oo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Oo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Oo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Oo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Oo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Oo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Oo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Oo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Oo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Oo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Oo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Oo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Oo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Oo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Oo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Oo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Oo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Oo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Oo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Oo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Oo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Oo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Oo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Oo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Oo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Oo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Oo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Oo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Oo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Oo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Oo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Oo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Oo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Oo.create("--ft-opacity-0","","NUMBER","0"),opacity8:Oo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Oo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Oo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Oo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Oo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Oo.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:Oo.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:Oo.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:Oo.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:Oo.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:Oo.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:Oo.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:Oo.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:Oo.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wo={display:{fontFamily:Oo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Oo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Oo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Oo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Oo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Oo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Oo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Oo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Oo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Oo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Oo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Oo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Oo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Oo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Oo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Oo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Oo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Oo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Oo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Oo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Oo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Oo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Oo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Oo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Oo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Oo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Oo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Oo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Oo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Oo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Oo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Oo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Oo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Oo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Oo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Oo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Oo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Oo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Oo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Oo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Oo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Oo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Oo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Oo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Oo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Oo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Oo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Oo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Oo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Oo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Oo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Oo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Oo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Co={backgroundActionPrimary:Oo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",So.colorBrand0),backgroundErrorPrimary:Oo.extend("--ft-background-error-primary","Used as background of error components.",So.colorRed0),backgroundErrorSubtle:Oo.extend("--ft-background-error-subtle","Used as background of subtle error components.",So.colorRed10),backgroundInfoPrimary:Oo.extend("--ft-background-info-primary","Used as background of information components.",So.colorCyan200),backgroundInfoSubtle:Oo.extend("--ft-background-info-subtle","Used as background of subtle information components.",So.colorCyan10),backgroundWarningPrimary:Oo.extend("--ft-background-warning-primary","Used as background of warning components.",So.colorOrange300),backgroundWarningSubtle:Oo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",So.colorOrange10),backgroundSuccessPrimary:Oo.extend("--ft-background-success-primary","Used as background of success components.",So.colorGreen200),backgroundSuccessSubtle:Oo.extend("--ft-background-success-subtle","Used as background of subtle success components.",So.colorGreen10),backgroundGlobalSurface:Oo.extend("--ft-background-global-surface","Used as app background.",So.colorWhite),backgroundGlobalOnSurface:Oo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",So.colorGray10),backgroundGlobalOnSurfaceDark:Oo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",So.colorGray30),contentActionPrimary:Oo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",So.colorBrand0),contentWarningPrimary:Oo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",So.colorOrange300),contentWarningIconOnly:Oo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",So.colorOrange0),contentErrorPrimary:Oo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",So.colorRed0),contentErrorIconOnly:Oo.extend("--ft-content-error-icon-only","Used on error status icons alone",So.colorRed0),contentInfoPrimary:Oo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",So.colorCyan200),contentInfoIconOnly:Oo.extend("--ft-content-info-icon-only","Used on info status icons alone",So.colorCyan0),contentSuccessPrimary:Oo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",So.colorGreen200),contentSuccessIconOnly:Oo.extend("--ft-content-success-icon-only","Used on success status icons alone",So.colorGreen0),contentGlobalPrimary:Oo.extend("--ft-content-global-primary","Used for main content on the page.",So.colorGray500),contentGlobalSecondary:Oo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",So.colorGray200),contentGlobalSubtle:Oo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",So.colorGray0),contentGlobalOnColor:Oo.extend("--ft-content-global-on-color","Used for content on a dominant color.",So.colorWhite),borderActionPrimary:Oo.extend("--ft-border-action-primary","Used as border for primary action components.",So.colorBrand0),borderActionFocusRing:Oo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",So.colorCyan0),borderWarningPrimary:Oo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",So.colorOrange300),borderWarningSubtle:Oo.extend("--ft-border-warning-subtle","Used as border for warning components.",So.colorOrange30),borderSuccessPrimary:Oo.extend("--ft-border-success-primary","Used as border for success buttons.",So.colorGreen200),borderSuccessSubtle:Oo.extend("--ft-border-success-subtle","Used as border for success components.",So.colorGreen30),borderErrorPrimary:Oo.extend("--ft-border-error-primary","Used as border for text fields in error states.",So.colorRed0),borderErrorSubtle:Oo.extend("--ft-border-error-subtle","Used as border for error components.",So.colorRed30),borderInfoPrimary:Oo.extend("--ft-border-info-primary","Used as border for buttons in info color.",So.colorCyan200),borderInfoSubtle:Oo.extend("--ft-border-info-subtle","Used as border for information components.",So.colorCyan30),borderGlobalPrimary:Oo.extend("--ft-border-global-primary","Used as border for element like input.",So.colorGray50),borderGlobalSubtle:Oo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",So.colorGray30),borderInputPrimary:Oo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",So.colorGray80)},$o={largeHeight:Oo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Oo.extend("--ft-button-large-horizontal-padding","",So.spacing4),largeGap:Oo.extend("--ft-button-large-gap","",So.spacing2),largeBorderRadius:Oo.extend("--ft-button-large-border-radius","",So.borderRadiusS),largeIconSize:Oo.extend("--ft-button-large-icon-size","",So.iconSize3),largeBorderWidth:Oo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Oo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Oo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Oo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Oo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Oo.extend("--ft-button-small-horizontal-padding","",So.spacing3),smallGap:Oo.extend("--ft-button-small-gap","",So.spacing2),smallBorderRadius:Oo.extend("--ft-button-small-border-radius","",So.borderRadiusS),smallIconSize:Oo.extend("--ft-button-small-icon-size","",So.iconSize2),smallBorderWidth:Oo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Oo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Oo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Oo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Oo.extend("--ft-button-primary-background-color","",Co.backgroundActionPrimary),primaryColor:Oo.extend("--ft-button-primary-color","",Co.contentGlobalOnColor),primaryIconColor:Oo.extend("--ft-button-primary-icon-color","",Co.contentGlobalOnColor),primaryStateLayerColor:Oo.extend("--ft-button-primary-state-layer-color","",Co.contentGlobalOnColor),primaryStateLayerOpacityHover:Oo.extend("--ft-button-primary-state-layer-opacity-hover","",So.opacity16),primaryStateLayerOpacityFocus:Oo.extend("--ft-button-primary-state-layer-opacity-focus","",So.opacity16),primaryStateLayerOpacityActive:Oo.extend("--ft-button-primary-state-layer-opacity-active","",So.opacity24),primaryComponentOpacityDisabled:Oo.extend("--ft-button-primary-component-opacity-disabled","",So.opacity40),focusFocusRingColor:Oo.extend("--ft-button-focus-focus-ring-color","",Co.borderActionFocusRing),tertiaryBackgroundColor:Oo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Oo.extend("--ft-button-tertiary-color","",Co.contentActionPrimary),tertiaryIconColor:Oo.extend("--ft-button-tertiary-icon-color","",Co.contentActionPrimary),tertiaryStateLayerColor:Oo.extend("--ft-button-tertiary-state-layer-color","",Co.contentActionPrimary),tertiaryStateLayerOpacityHover:Oo.extend("--ft-button-tertiary-state-layer-opacity-hover","",So.opacity8),tertiaryStateLayerOpacityFocus:Oo.extend("--ft-button-tertiary-state-layer-opacity-focus","",So.opacity8),tertiaryStateLayerOpacityActive:Oo.extend("--ft-button-tertiary-state-layer-opacity-active","",So.opacity16),tertiaryComponentOpacityDisabled:Oo.extend("--ft-button-tertiary-component-opacity-disabled","",So.opacity40),secondaryBackgroundColor:Oo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Oo.extend("--ft-button-secondary-color","",Co.contentActionPrimary),secondaryIconColor:Oo.extend("--ft-button-secondary-icon-color","",Co.contentActionPrimary),secondaryStateLayerColor:Oo.extend("--ft-button-secondary-state-layer-color","",Co.contentActionPrimary),secondaryStateLayerOpacityHover:Oo.extend("--ft-button-secondary-state-layer-opacity-hover","",So.opacity8),secondaryStateLayerOpacityFocus:Oo.extend("--ft-button-secondary-state-layer-opacity-focus","",So.opacity8),secondaryStateLayerOpacityActive:Oo.extend("--ft-button-secondary-state-layer-opacity-active","",So.opacity16),secondaryComponentOpacityDisabled:Oo.extend("--ft-button-secondary-component-opacity-disabled","",So.opacity40),secondaryBorderColor:Oo.extend("--ft-button-secondary-border-color","",Co.borderActionPrimary),neutralBackgroundColor:Oo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Oo.extend("--ft-button-neutral-icon-color","",Co.contentGlobalSecondary),neutralColor:Oo.extend("--ft-button-neutral-color","",Co.contentGlobalSecondary),neutralStateLayerColor:Oo.extend("--ft-button-neutral-state-layer-color","",Co.contentGlobalSecondary),neutralStateLayerOpacityHover:Oo.extend("--ft-button-neutral-state-layer-opacity-hover","",So.opacity8),neutralStateLayerOpacityFocus:Oo.extend("--ft-button-neutral-state-layer-opacity-focus","",So.opacity8),neutralStateLayerOpacityActive:Oo.extend("--ft-button-neutral-state-layer-opacity-active","",So.opacity16),neutralComponentOpacityDisabled:Oo.extend("--ft-button-neutral-component-opacity-disabled","",So.opacity40)};Oo.extend("--ft-floating-menu-horizontal-padding","",So.spacing4),Oo.extend("--ft-floating-menu-vertical-padding","",So.spacing4),Oo.extend("--ft-floating-menu-off-icon-color","",Co.contentGlobalPrimary),Oo.extend("--ft-floating-menu-off-color","",Co.contentGlobalPrimary),Oo.extend("--ft-floating-menu-on-color","",Co.contentActionPrimary),Oo.extend("--ft-floating-menu-on-icon-color","",Co.contentActionPrimary),Oo.extend("--ft-floating-menu-on-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-floating-menu-gap","",So.spacing3),Oo.extend("--ft-floating-menu-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Oo.extend("--ft-floating-menu-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-floating-menu-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-floating-menu-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-floating-menu-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-floating-menu-icon-size","",So.iconSize3),Oo.extend("--ft-floating-menu-background-color","",Co.backgroundGlobalOnSurface),Oo.extend("--ft-tabs-top-left-border-radius","",So.borderRadiusS),Oo.extend("--ft-tabs-top-right-border-radius","",So.borderRadiusS),Oo.extend("--ft-tabs-label-horizontal-padding","",So.spacing4),Oo.extend("--ft-tabs-label-vertical-padding","",So.spacing3),Oo.extend("--ft-tabs-label-gap","",So.spacing1),Oo.extend("--ft-tabs-icon-horizontal-padding","",So.spacing1),Oo.extend("--ft-tabs-icon-vertical-padding","",So.spacing4),Oo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-tabs-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.extend("--ft-tabs-off-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-tabs-off-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-tabs-off-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-tabs-off-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-tabs-off-color","",Co.contentGlobalSubtle),Oo.extend("--ft-tabs-off-state-layer-color","",Co.contentGlobalSubtle),Oo.extend("--ft-tabs-on-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-tabs-on-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-tabs-on-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-tabs-on-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-tabs-on-color","",Co.contentActionPrimary),Oo.extend("--ft-tabs-on-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-collapsible-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-collapsible-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-collapsible-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-collapsible-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-collapsible-horizontal-padding","",So.spacing4),Oo.extend("--ft-collapsible-vertical-padding","",So.spacing3),Oo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Oo.extend("--ft-collapsible-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.extend("--ft-collapsible-color","",Co.contentGlobalPrimary),Oo.extend("--ft-collapsible-state-layer-color","",Co.contentGlobalPrimary),Oo.extend("--ft-collapsible-background-color","",Co.backgroundGlobalOnSurface),Oo.extend("--ft-collapsible-border-color","",Co.borderGlobalSubtle),Oo.extend("--ft-collapsible-icon-size","",So.iconSize3),Oo.extend("--ft-switch-group-horizontal-padding","",So.spacing1),Oo.extend("--ft-switch-group-vertical-padding","",So.spacing1),Oo.extend("--ft-switch-group-gap","",So.spacing1),Oo.extend("--ft-switch-group-background-color","",Co.backgroundGlobalSurface),Oo.extend("--ft-switch-group-border-color","",Co.borderGlobalSubtle),Oo.create("--ft-switch-group-border-radius","","SIZE","6px"),Oo.extend("--ft-switch-label-horizontal-padding","",So.spacing2),Oo.extend("--ft-switch-label-vertical-padding","",So.spacing1),Oo.extend("--ft-switch-icon-horizontal-padding","",So.spacing1),Oo.extend("--ft-switch-icon-vertical-padding","",So.spacing1),Oo.create("--ft-switch-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-switch-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.extend("--ft-switch-option-border-radius","",So.borderRadiusS),Oo.extend("--ft-switch-off-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-switch-off-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-switch-off-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-switch-off-color","",Co.contentGlobalSubtle),Oo.extend("--ft-switch-off-state-layer-color","",Co.contentGlobalSubtle),Oo.extend("--ft-switch-on-state-layer-opacity-hover","",So.opacity8),Oo.extend("--ft-switch-on-state-layer-opacity-focus","",So.opacity8),Oo.extend("--ft-switch-on-state-layer-opacity-active","",So.opacity16),Oo.extend("--ft-switch-on-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-switch-on-color","",Co.contentActionPrimary),Oo.extend("--ft-switch-on-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-chart-1-light","for area color charts",So.colorBrand40),Oo.extend("--ft-chart-1-base","for line charts",So.colorBrand0),Oo.extend("--ft-chart-2-light","for area color charts",So.colorYellow60),Oo.extend("--ft-chart-2-base","for line charts",So.colorYellow100),Oo.extend("--ft-chart-3-light","",So.colorUltramarine40),Oo.extend("--ft-chart-3-base","",So.colorUltramarine70),Oo.extend("--ft-chart-4-light","",So.colorCyan50),Oo.extend("--ft-chart-4-base","",So.colorCyan100),Oo.extend("--ft-chart-5-light","",So.colorRed40),Oo.extend("--ft-chart-5-base","",So.colorRed60),Oo.extend("--ft-chart-6-light","",So.colorGreen40),Oo.extend("--ft-chart-6-base","",So.colorGreen70),Oo.extend("--ft-chart-7-light","",So.colorOrange70),Oo.extend("--ft-chart-7-base","",So.colorOrange100),Oo.extend("--ft-chart-8-light","",So.colorAvocado70),Oo.extend("--ft-chart-8-base","",So.colorAvocado200),Oo.extend("--ft-chart-9-light","",So.colorBrown50),Oo.extend("--ft-chart-9-base","",So.colorBrown200),Oo.extend("--ft-chart-10-light","",So.colorGray50),Oo.extend("--ft-chart-10-base","",So.colorGray80),Oo.extend("--ft-chart-monochrome-10","",So.colorBrand10),Oo.extend("--ft-chart-monochrome-20","",So.colorBrand20),Oo.extend("--ft-chart-monochrome-30","",So.colorBrand40),Oo.extend("--ft-chart-monochrome-40","",So.colorBrand60),Oo.extend("--ft-chart-monochrome-50","",So.colorBrand0),Oo.extend("--ft-chart-monochrome-60","",So.colorBrand200),Oo.extend("--ft-chip-large-horizontal-padding","",So.spacing4),Oo.extend("--ft-chip-large-vertical-padding","",So.spacing2),Oo.extend("--ft-chip-large-gap","",So.spacing1),Oo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-large-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-large-border-width","","SIZE","1px"),Oo.extend("--ft-chip-large-icon-size","",So.iconSize3),Oo.extend("--ft-chip-medium-horizontal-padding","",So.spacing3),Oo.extend("--ft-chip-medium-vertical-padding","",So.spacing1),Oo.extend("--ft-chip-medium-gap","",So.spacing1),Oo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-medium-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-medium-border-width","","SIZE","1px"),Oo.extend("--ft-chip-medium-icon-size","",So.iconSize2),Oo.extend("--ft-chip-small-horizontal-padding","",So.spacing2),Oo.extend("--ft-chip-small-vertical-padding","",So.spacing05),Oo.extend("--ft-chip-small-gap","",So.spacing1),Oo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Oo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-chip-small-border-radius","",So.borderRadiusPill),Oo.create("--ft-chip-small-border-width","","SIZE","1px"),Oo.extend("--ft-chip-small-icon-size","",So.iconSize1),Oo.extend("--ft-chip-neutral-background-color","",Co.backgroundGlobalOnSurface),Oo.extend("--ft-chip-neutral-color","",Co.contentGlobalPrimary),Oo.extend("--ft-chip-neutral-border-color","",Co.borderGlobalSubtle),Oo.extend("--ft-chip-info-background-color","",Co.backgroundInfoSubtle),Oo.extend("--ft-chip-info-color","",Co.contentInfoPrimary),Oo.extend("--ft-chip-info-border-color","",Co.borderInfoSubtle),Oo.extend("--ft-chip-success-background-color","",Co.backgroundSuccessSubtle),Oo.extend("--ft-chip-success-color","",Co.contentSuccessPrimary),Oo.extend("--ft-chip-success-border-color","",Co.borderSuccessSubtle),Oo.extend("--ft-chip-warning-background-color","",Co.backgroundWarningSubtle),Oo.extend("--ft-chip-warning-color","",Co.contentWarningPrimary),Oo.extend("--ft-chip-warning-border-color","",Co.borderWarningSubtle),Oo.extend("--ft-chip-error-background-color","",Co.backgroundErrorSubtle),Oo.extend("--ft-chip-error-color","",Co.contentErrorPrimary),Oo.extend("--ft-chip-error-border-color","",Co.borderErrorSubtle),Oo.create("--ft-notice-border-width","","SIZE","1px"),Oo.extend("--ft-notice-horizontal-padding","",So.spacing2),Oo.extend("--ft-notice-vertical-padding","",So.spacing1),Oo.extend("--ft-notice-border-radius","",So.borderRadiusS),Oo.extend("--ft-notice-gap","",So.spacing2),Oo.extend("--ft-notice-icon-size","",So.iconSize3),Oo.extend("--ft-notice-info-background-color","",Co.backgroundInfoSubtle),Oo.extend("--ft-notice-info-border-color","",Co.borderInfoSubtle),Oo.extend("--ft-notice-info-color","",Co.contentInfoPrimary),Oo.extend("--ft-notice-warning-background-color","",Co.backgroundWarningSubtle),Oo.extend("--ft-notice-warning-border-color","",Co.borderWarningSubtle),Oo.extend("--ft-notice-warning-color","",Co.contentWarningPrimary),Oo.extend("--ft-checkbox-label-color","",Co.contentGlobalPrimary),Oo.extend("--ft-checkbox-checked-background-color","",Co.contentActionPrimary),Oo.extend("--ft-checkbox-checked-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-checkbox-checked-color","",Co.contentGlobalOnColor),Oo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-checkbox-checked-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-checkbox-checked-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-checkbox-unchecked-border-color","",So.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-color","",So.colorGray80),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-checkbox-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-checkbox-gap","",So.spacing3),Oo.extend("--ft-toggle-off-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-toggle-off-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-toggle-off-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-toggle-off-background-color","",Co.contentGlobalSubtle),Oo.extend("--ft-toggle-off-icon-color","",Co.contentGlobalSubtle),Oo.extend("--ft-toggle-off-state-layer-color","",Co.contentGlobalSubtle),Oo.extend("--ft-toggle-on-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-toggle-on-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-toggle-on-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-toggle-on-background-color","",Co.contentActionPrimary),Oo.extend("--ft-toggle-on-icon-color","",Co.contentActionPrimary),Oo.extend("--ft-toggle-on-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-toggle-label-color","",Co.contentGlobalPrimary),Oo.extend("--ft-toggle-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.extend("--ft-toggle-gap","",So.spacing3),Oo.extend("--ft-radio-label-color","",Co.contentGlobalPrimary),Oo.extend("--ft-radio-selected-color","",Co.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-color","",Co.contentActionPrimary),Oo.extend("--ft-radio-selected-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-radio-selected-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-radio-selected-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-radio-unselected-state-layer-color","",So.colorGray80),Oo.extend("--ft-radio-unselected-state-layer-opacity-hover","",So.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-focus","",So.opacity16),Oo.extend("--ft-radio-unselected-state-layer-opacity-active","",So.opacity24),Oo.extend("--ft-radio-unselected-component-opacity-disabled","",So.opacity40),Oo.extend("--ft-radio-focus-focus-ring-color","",Co.borderActionFocusRing),Oo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Oo.create("--ft-radio-focus-outline-width","","SIZE","2px"),Oo.extend("--ft-radio-gap","",So.spacing3),Oo.extend("--ft-notification-icon-size","",So.iconSize4),Oo.extend("--ft-notification-horizontal-padding","",So.spacing4),Oo.extend("--ft-notification-vertical-padding","",So.spacing4),Oo.extend("--ft-notification-info-background-color","",Co.backgroundInfoSubtle),Oo.extend("--ft-notification-info-color","",Co.contentInfoPrimary),Oo.extend("--ft-notification-info-border-color","",Co.borderInfoSubtle),Oo.extend("--ft-notification-success-background-color","",Co.backgroundSuccessSubtle),Oo.extend("--ft-notification-success-color","",Co.contentSuccessPrimary),Oo.extend("--ft-notification-success-border-color","",Co.borderSuccessSubtle),Oo.extend("--ft-notification-warning-background-color","",Co.backgroundWarningSubtle),Oo.extend("--ft-notification-warning-color","",Co.contentWarningPrimary),Oo.extend("--ft-notification-warning-border-color","",Co.borderWarningSubtle),Oo.extend("--ft-notification-error-background-color","",Co.backgroundErrorSubtle),Oo.extend("--ft-notification-error-color","",Co.contentErrorPrimary),Oo.extend("--ft-notification-error-border-color","",Co.borderErrorSubtle),Oo.extend("--ft-notification-border-radius","",So.borderRadiusPill),Oo.create("--ft-notification-border-width","","SIZE","1px"),Oo.extend("--ft-notification-gap-leading","",So.spacing2),Oo.extend("--ft-notification-gap-trailing","",So.spacing8),Oo.extend("--ft-tooltip-horizontal-padding","",So.spacing2),Oo.extend("--ft-tooltip-vertical-padding","",So.spacing2),Oo.extend("--ft-tooltip-border-radius","",So.borderRadiusS),Oo.extend("--ft-tooltip-label","",Co.contentGlobalOnColor),Oo.extend("--ft-tooltip-background","",Co.contentGlobalPrimary),Oo.extend("--ft-tooltip-background-opacity","",So.opacity80),Oo.extend("--ft-tooltip-shadow","",So.shadowElevation03);const Eo={colorPrimary:Oo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Oo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Oo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Oo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Oo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Oo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Oo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Oo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Oo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Oo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Oo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Oo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Oo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Oo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Oo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Oo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Oo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Oo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Oo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Oo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Oo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Oo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Oo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Oo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Oo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Oo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Oo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Oo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Oo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Oo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Oo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Oo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Oo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Oo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Oo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Oo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Oo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Oo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Oo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Oo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Oo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Oo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Oo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Oo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.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:Oo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Oo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Oo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Oo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Oo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Oo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Oo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Oo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ro=["start","end"],Uo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Ro[0],o+"-"+Ro[1])),[]),ko=Math.min,Io=Math.max,Wo=Math.round,Lo=t=>({x:t,y:t}),Ko={left:"right",right:"left",bottom:"top",top:"bottom"},zo={start:"end",end:"start"};function Fo(t,o,e){return Io(t,ko(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function Do(t){return t.split("-")[0]}function Ao(t){return t.split("-")[1]}function Bo(t){return"x"===t?"y":"x"}function Mo(t){return"y"===t?"height":"width"}function Po(t){return["top","bottom"].includes(Do(t))?"y":"x"}function Ho(t){return Bo(Po(t))}function jo(t){return t.replace(/left|right|bottom|top/g,(t=>Ko[t]))}function To(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function _o(t,o,e){let{reference:i,floating:r}=t;const n=Po(o),a=Ho(o),s=Mo(a),l=Do(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Ao(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Go(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Zo(o,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),y=s[h?"floating"===f?"reference":"floating":f],g=To(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=To(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function Yo(t,o,e){return(t?[...e.filter((o=>Ao(o)===t)),...e.filter((o=>Ao(o)!==t))]:e.filter((t=>Do(t)===t))).filter((e=>!t||(Ao(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>zo[t]))}(e)!==e)))}const Vo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Uo,autoAlignment:d=!0,...u}=Zo(t,o),y=void 0!==f||h===Uo?Yo(f||null,d,h):h,g=await Go(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Ao(t),r=Ho(t),n=Mo(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=jo(a)),[a,jo(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Do(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Ao(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Ao(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Jo(t){return Qo(t)?(t.nodeName||"").toLowerCase():"#document"}function qo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Xo(t){var o;return null==(o=(Qo(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Qo(t){return t instanceof Node||t instanceof qo(t).Node}function te(t){return t instanceof Element||t instanceof qo(t).Element}function oe(t){return t instanceof HTMLElement||t instanceof qo(t).HTMLElement}function ee(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof qo(t).ShadowRoot)}function ie(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=le(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function re(t){return["table","td","th"].includes(Jo(t))}function ne(t){const o=ae(),e=le(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ae(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function se(t){return["html","body","#document"].includes(Jo(t))}function le(t){return qo(t).getComputedStyle(t)}function ce(t){return te(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pe(t){if("html"===Jo(t))return t;const o=t.assignedSlot||t.parentNode||ee(t)&&t.host||Xo(t);return ee(o)?o.host:o}function fe(t){const o=pe(t);return se(o)?t.ownerDocument?t.ownerDocument.body:t.body:oe(o)&&ie(o)?o:fe(o)}function he(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=fe(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=qo(r);return n?o.concat(a,a.visualViewport||[],ie(r)?r:[],a.frameElement&&e?he(a.frameElement):[]):o.concat(r,he(r,[],e))}function de(t){const o=le(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=oe(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=Wo(e)!==n||Wo(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function ue(t){return te(t)?t:t.contextElement}function ye(t){const o=ue(t);if(!oe(o))return Lo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=de(o);let a=(n?Wo(e.width):e.width)/i,s=(n?Wo(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ge=Lo(0);function be(t){const o=qo(t);return ae()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ge}function me(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=ue(t);let a=Lo(1);o&&(i?te(i)&&(a=ye(i)):a=ye(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==qo(t))&&o}(n,e,i)?be(n):Lo(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=qo(n),o=i&&te(i)?qo(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=ye(e),o=e.getBoundingClientRect(),i=le(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=qo(e).frameElement}}return To({width:p,height:f,x:l,y:c})}function xe(t){return me(Xo(t)).left+ce(t).scrollLeft}function ve(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=qo(t),i=Xo(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=ae();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=Xo(t),e=ce(t),i=t.ownerDocument.body,r=Io(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Io(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+xe(t);const s=-e.scrollTop;return"rtl"===le(i).direction&&(a+=Io(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Xo(t));else if(te(o))i=function(t,o){const e=me(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=oe(t)?ye(t):Lo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=be(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return To(i)}function Oe(t,o){const e=pe(t);return!(e===o||!te(e)||se(e))&&("fixed"===le(e).position||Oe(e,o))}function Ne(t,o,e){const i=oe(o),r=Xo(o),n="fixed"===e,a=me(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Lo(0);if(i||!i&&!n)if(("body"!==Jo(o)||ie(r))&&(s=ce(o)),i){const t=me(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=xe(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Se(t,o){return oe(t)&&"fixed"!==le(t).position?o?o(t):t.offsetParent:null}function we(t,o){const e=qo(t);if(!oe(t))return e;let i=Se(t,o);for(;i&&re(i)&&"static"===le(i).position;)i=Se(i,o);return i&&("html"===Jo(i)||"body"===Jo(i)&&"static"===le(i).position&&!ne(i))?e:i||function(t){let o=pe(t);for(;oe(o)&&!se(o);){if(ne(o))return o;o=pe(o)}return null}(t)||e}const Ce={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=oe(e),n=Xo(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Lo(1);const l=Lo(0);if((r||!r&&"fixed"!==i)&&(("body"!==Jo(e)||ie(n))&&(a=ce(e)),oe(e))){const t=me(e);s=ye(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Xo,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=he(t,[],!1).filter((t=>te(t)&&"body"!==Jo(t))),r=null;const n="fixed"===le(t).position;let a=n?pe(t):t;for(;te(a)&&!se(a);){const o=le(a),e=ne(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||ie(a)&&!e&&Oe(t,a))?i=i.filter((t=>t!==a)):r=o,a=pe(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=ve(o,e,r);return t.top=Io(i.top,t.top),t.right=ko(i.right,t.right),t.bottom=ko(i.bottom,t.bottom),t.left=Io(i.left,t.left),t}),ve(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:we,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||we,n=this.getDimensions;return{reference:Ne(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return de(t)},getScale:ye,isElement:te,isRTL:function(t){return"rtl"===le(t).direction}},$e=(t,o,e)=>{const i=new Map,r={platform:Ce,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=_o(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=_o(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function Ee(t){return function(t){for(let o=t;o;o=Re(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Re(t);o;o=Re(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Re(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Ue(t,o,e){return $e(t,o,{platform:{...Ce,getOffsetParent:t=>Ce.getOffsetParent(t,Ee)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Zo(i,t),c={x:o,y:e},p=await Go(t,l),f=Po(Do(r)),h=Bo(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Fo(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Fo(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Vo({allowedPlacements:[e]})]});var i}
94
+ function Re(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===i?o:o.filter((t=>t.matches(i)))}})}}
95
+ /**
96
+ * @license
97
+ * Copyright 2017 Google LLC
98
+ * SPDX-License-Identifier: BSD-3-Clause
99
+ */function ke(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}var Ie=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:Ne,property:we,query:Ee,queryAll:function(t){return(e,o)=>Ce(0,0,{get(){return(this.renderRoot??($e??=document.createDocumentFragment())).querySelectorAll(t)}})
100
+ /**
101
+ * @license
102
+ * Copyright 2017 Google LLC
103
+ * SPDX-License-Identifier: BSD-3-Clause
104
+ */},queryAssignedElements:Re,queryAssignedNodes:ke,queryAsync:function(t){return(e,o)=>Ce(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Oe,state:Se});
105
+ /**
106
+ * @license
107
+ * Copyright 2017 Google LLC
108
+ * SPDX-License-Identifier: BSD-3-Clause
109
+ */const Le=1,Ue=2,We=t=>(...e)=>({_$litDirective$:t,values:e});let Fe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
110
+ /**
111
+ * @license
112
+ * Copyright 2020 Google LLC
113
+ * SPDX-License-Identifier: BSD-3-Clause
114
+ */const{D:Ae}=it,je=()=>document.createComment(""),_e=(t,e,o)=>{const r=t._$AA.parentNode,i=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(je(),i),n=r.insertBefore(je(),i);o=new Ae(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==i||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,i),t=e}}}return o},Be=(t,e,o=t)=>(t._$AI(e,o),t),ze={},Ke=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Me=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},Pe=We(class extends Fe{constructor(t){if(super(t),t.type!==Ue)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const i=[],n=[];let a=0;for(const e of t)i[a]=r?r(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,u=i.length-1,h=0,d=n.length-1;for(;p<=u&&h<=d;)if(null===i[p])p++;else if(null===i[u])u--;else if(s[p]===a[h])l[h]=Be(i[p],n[h]),p++,h++;else if(s[u]===a[d])l[d]=Be(i[u],n[d]),u--,d--;else if(s[p]===a[d])l[d]=Be(i[p],n[d]),_e(t,l[d+1],i[p]),p++,d--;else if(s[u]===a[h])l[h]=Be(i[u],n[h]),_e(t,i[p],i[u]),u--,h++;else if(void 0===c&&(c=Me(a,h,d),f=Me(s,p,u)),c.has(s[p]))if(c.has(s[u])){const e=f.get(a[h]),o=void 0!==e?i[e]:null;if(null===o){const e=_e(t,i[p]);Be(e,n[h]),l[h]=e}else l[h]=Be(o,n[h]),_e(t,i[p],o),i[e]=null;h++}else Ke(i[u]),u--;else Ke(i[p]),p++;for(;h<=d;){const e=_e(t,l[d+1]);Be(e,n[h]),l[h++]=e}for(;p<=u;){const t=i[p++];null!==t&&Ke(t)}return this.dt=a,((t,e=ze)=>{t._$AH=e})(t,l),D}});
115
+ /**
116
+ * @license
117
+ * Copyright 2017 Google LLC
118
+ * SPDX-License-Identifier: BSD-3-Clause
119
+ */var De=Object.freeze({__proto__:null,repeat:Pe});
120
+ /**
121
+ * @license
122
+ * Copyright 2018 Google LLC
123
+ * SPDX-License-Identifier: BSD-3-Clause
124
+ */const Ze=We(class extends Fe{constructor(t){if(super(t),t.type!==Le||"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 r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return D}});var He=Object.freeze({__proto__:null,classMap:Ze});
125
+ /**
126
+ * @license
127
+ * Copyright 2018 Google LLC
128
+ * SPDX-License-Identifier: BSD-3-Clause
129
+ */const Te="important",Ge=" !"+Te,Ve=We(class extends Fe{constructor(t){if(super(t),t.type!==Le||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const r=t[o];return null==r?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const r=e[t];if(null!=r){this.ut.add(t);const e="string"==typeof r&&r.endsWith(Ge);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?Te:""):o[t]=r}}return D}});var qe=Object.freeze({__proto__:null,styleMap:Ve});
130
+ /**
131
+ * @license
132
+ * Copyright 2017 Google LLC
133
+ * SPDX-License-Identifier: BSD-3-Clause
134
+ */let Ye=class extends Fe{constructor(t){if(super(t),this.et=Z,t.type!==Ue)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.vt=void 0,this.et=t;if(t===D)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:[]}}};Ye.directiveName="unsafeHTML",Ye.resultType=1;const Je=We(Ye);var Xe=Object.freeze({__proto__:null,UnsafeHTMLDirective:Ye,unsafeHTML:Je});class Qe extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class to extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new Qe("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new Qe("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const eo=t=>new to(((e,o)=>t.then(e).catch(o)));var oo=Object.freeze({__proto__:null,CancelablePromise:to,CanceledPromiseError:Qe,cancelable:eo});var ro=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof to&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=eo(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class io{constructor(t,e,o,r){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=r}static extractResultMetadata(t){var e,o;return(null!==(o=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==o?o:null==t?void 0:t.topic).metadata.map((t=>io.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e){let o=io.extractResultMetadata(this.selectedResult).find((e=>e.key===t));const r=this.allResults.flatMap((e=>io.extractResultMetadata(e).filter((e=>e.key===t)))).filter((t=>!(t.key===(null==o?void 0:o.key)&&t.value===(null==o?void 0:o.value)))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return r.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,r)=>this.compareMetadata(o.metadata.value,r.metadata.value,t,e)))}compareMetadata(t,e,o,r){let i=this.metadataDescriptors.find((t=>o==t.key)),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,r,{numeric:!0});return a?-1*o:o}return 0}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>io.extractResultMetadata(o).find((o=>o.key===t&&o.value===e))));let r,i=io.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,n);if(e>a&&(a=e,r=t,e===n.length))break}return r}countMatchingMetadata(t,e){return io.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var no=Object.freeze({__proto__:null,ClusteringHelper:io});class ao{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 r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var so=Object.freeze({__proto__:null,Debouncer:ao});const lo=t=>new Promise((e=>setTimeout(e,t)));async function co(t,e=10,o=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!o||i-r<o);)await lo(e),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function fo(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,r)=>e+o+":"+r)),new Date(t)}function po(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,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!po(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!po(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[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=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!po(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}function uo(t,e,o=window.document.body){if(e.length>0){const r=t.composedPath();for(let t of r){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1}var ho=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?fo(o):o}},deepEqual:po,delay:lo,eventPathContainsMatchingElement:uo,flatDeep:function t(e,o){return e.flatMap((e=>[e,...t(o(e),o)]))},last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:fo,waitFor:co,waitUntil:async function(t,e=10,o=2e4){await co((async()=>await t()||void 0),e,o)}});const yo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function go(t,e){const o=()=>JSON.parse(JSON.stringify(t));return we({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)=>!po(t,e),...null!=e?e:{}})}function bo(t){return!isNaN(parseFloat(t))}var mo=Object.freeze({__proto__:null,customElement:yo,isNumber:bo,jsonProperty:go,optionalNumberProperty:function(t){return we({type:Object,converter:{fromAttribute:t=>{if(null!=t)return bo(t)?+t:void 0},toAttribute:t=>""+t},...null!=t?t:{}})}});const vo=t=>"string"==typeof t?pt(t):t;class xo{static create(t,e,o,r){const i=t=>vo(null!=t?t:r),n=ut`var(${vo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ut`var(${vo(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=ut`var(${vo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ut`var(${vo(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):vo(null!=e?e:t.lastResortDefaultValue()),r=ut`var(${vo(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>ut`var(${vo(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Oo(t,e){return vo(`${t.name}: ${e}`)}const wo={colorWhite:xo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xo.create("--ft-opacity-0","","NUMBER","0"),opacity8:xo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:xo.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:xo.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:xo.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:xo.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:xo.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:xo.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:xo.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:xo.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:xo.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},So={fontFamily:xo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-display-textCase","","UNKNOWN","none")},No={fontFamily:xo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:xo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Co={fontFamily:xo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:xo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Eo={fontFamily:xo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:xo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},$o={fontFamily:xo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ro={fontFamily:xo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ko={fontFamily:xo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Io={fontFamily:xo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Lo={fontFamily:xo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Uo={fontFamily:xo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Wo={fontFamily:xo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Fo={fontFamily:xo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ao={fontFamily:xo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},jo={fontFamily:xo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},_o={fontFamily:xo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Bo={fontFamily:xo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},zo={fontFamily:xo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ko={fontFamily:xo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Mo={fontFamily:xo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Po={fontFamily:xo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Do={fontFamily:xo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Zo={fontFamily:xo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:xo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:xo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},To={fontFamily:xo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:xo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Go={fontFamily:xo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:xo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Vo={display:So,"title-1":No,"title-2":Co,"title-3":Eo,"body-1-regular":$o,"body-1-medium":Ro,"body-1-semibold":ko,"body-2-regular":Io,"body-2-medium":Lo,"body-2-semibold":Uo,"label-1-medium":Wo,"label-1-semibold":Fo,"label-1-bold":Ao,"label-2-medium":jo,"label-2-semibold":_o,"label-2-bold":Bo,"caption-1-medium":zo,"caption-1-semibold":Ko,"caption-1-bold":Mo,"caption-2-medium":Po,"caption-2-semibold":Do,"caption-2-bold":Zo,"caption-3-medium":Ho,"caption-3-semibold":To,"caption-3-bold":Go},qo={backgroundActionPrimary:xo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",wo.colorBrand0),backgroundErrorPrimary:xo.extend("--ft-background-error-primary","Used as background of error components.",wo.colorRed0),backgroundErrorSubtle:xo.extend("--ft-background-error-subtle","Used as background of subtle error components.",wo.colorRed10),backgroundInfoPrimary:xo.extend("--ft-background-info-primary","Used as background of information components.",wo.colorCyan200),backgroundInfoSubtle:xo.extend("--ft-background-info-subtle","Used as background of subtle information components.",wo.colorCyan10),backgroundWarningPrimary:xo.extend("--ft-background-warning-primary","Used as background of warning components.",wo.colorOrange300),backgroundWarningSubtle:xo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",wo.colorOrange10),backgroundSuccessPrimary:xo.extend("--ft-background-success-primary","Used as background of success components.",wo.colorGreen200),backgroundSuccessSubtle:xo.extend("--ft-background-success-subtle","Used as background of subtle success components.",wo.colorGreen10),backgroundGlobalSurface:xo.extend("--ft-background-global-surface","Used as app background.",wo.colorWhite),backgroundGlobalOnSurface:xo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",wo.colorGray10),backgroundGlobalOnSurfaceDark:xo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",wo.colorGray30),contentActionPrimary:xo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",wo.colorBrand0),contentWarningPrimary:xo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",wo.colorOrange300),contentWarningIconOnly:xo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",wo.colorOrange0),contentErrorPrimary:xo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",wo.colorRed0),contentErrorIconOnly:xo.extend("--ft-content-error-icon-only","Used on error status icons alone",wo.colorRed0),contentInfoPrimary:xo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",wo.colorCyan200),contentInfoIconOnly:xo.extend("--ft-content-info-icon-only","Used on info status icons alone",wo.colorCyan0),contentSuccessPrimary:xo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",wo.colorGreen200),contentSuccessIconOnly:xo.extend("--ft-content-success-icon-only","Used on success status icons alone",wo.colorGreen0),contentGlobalPrimary:xo.extend("--ft-content-global-primary","Used for main content on the page.",wo.colorGray500),contentGlobalSecondary:xo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",wo.colorGray200),contentGlobalSubtle:xo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",wo.colorGray0),contentGlobalOnColor:xo.extend("--ft-content-global-on-color","Used for content on a dominant color.",wo.colorWhite),borderActionPrimary:xo.extend("--ft-border-action-primary","Used as border for primary action components.",wo.colorBrand0),borderActionFocusRing:xo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",wo.colorCyan0),borderWarningPrimary:xo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",wo.colorOrange300),borderWarningSubtle:xo.extend("--ft-border-warning-subtle","Used as border for warning components.",wo.colorOrange30),borderSuccessPrimary:xo.extend("--ft-border-success-primary","Used as border for success buttons.",wo.colorGreen200),borderSuccessSubtle:xo.extend("--ft-border-success-subtle","Used as border for success components.",wo.colorGreen30),borderErrorPrimary:xo.extend("--ft-border-error-primary","Used as border for text fields in error states.",wo.colorRed0),borderErrorSubtle:xo.extend("--ft-border-error-subtle","Used as border for error components.",wo.colorRed30),borderInfoPrimary:xo.extend("--ft-border-info-primary","Used as border for buttons in info color.",wo.colorCyan200),borderInfoSubtle:xo.extend("--ft-border-info-subtle","Used as border for information components.",wo.colorCyan30),borderGlobalPrimary:xo.extend("--ft-border-global-primary","Used as border for element like input.",wo.colorGray50),borderGlobalSubtle:xo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",wo.colorGray30),borderInputPrimary:xo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",wo.colorGray80)},Yo={largeHeight:xo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xo.extend("--ft-button-large-horizontal-padding","",wo.spacing4),largeGap:xo.extend("--ft-button-large-gap","",wo.spacing2),largeBorderRadius:xo.extend("--ft-button-large-border-radius","",wo.borderRadiusS),largeIconSize:xo.extend("--ft-button-large-icon-size","",wo.iconSize3),largeBorderWidth:xo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xo.extend("--ft-button-small-horizontal-padding","",wo.spacing3),smallGap:xo.extend("--ft-button-small-gap","",wo.spacing2),smallBorderRadius:xo.extend("--ft-button-small-border-radius","",wo.borderRadiusS),smallIconSize:xo.extend("--ft-button-small-icon-size","",wo.iconSize2),smallBorderWidth:xo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xo.extend("--ft-button-primary-background-color","",qo.backgroundActionPrimary),primaryColor:xo.extend("--ft-button-primary-color","",qo.contentGlobalOnColor),primaryIconColor:xo.extend("--ft-button-primary-icon-color","",qo.contentGlobalOnColor),primaryStateLayerColor:xo.extend("--ft-button-primary-state-layer-color","",qo.contentGlobalOnColor),primaryStateLayerOpacityHover:xo.extend("--ft-button-primary-state-layer-opacity-hover","",wo.opacity16),primaryStateLayerOpacityFocus:xo.extend("--ft-button-primary-state-layer-opacity-focus","",wo.opacity16),primaryStateLayerOpacityActive:xo.extend("--ft-button-primary-state-layer-opacity-active","",wo.opacity24),primaryComponentOpacityDisabled:xo.extend("--ft-button-primary-component-opacity-disabled","",wo.opacity40),focusFocusRingColor:xo.extend("--ft-button-focus-focus-ring-color","",qo.borderActionFocusRing),tertiaryBackgroundColor:xo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xo.extend("--ft-button-tertiary-color","",qo.contentActionPrimary),tertiaryIconColor:xo.extend("--ft-button-tertiary-icon-color","",qo.contentActionPrimary),tertiaryStateLayerColor:xo.extend("--ft-button-tertiary-state-layer-color","",qo.contentActionPrimary),tertiaryStateLayerOpacityHover:xo.extend("--ft-button-tertiary-state-layer-opacity-hover","",wo.opacity8),tertiaryStateLayerOpacityFocus:xo.extend("--ft-button-tertiary-state-layer-opacity-focus","",wo.opacity8),tertiaryStateLayerOpacityActive:xo.extend("--ft-button-tertiary-state-layer-opacity-active","",wo.opacity16),tertiaryComponentOpacityDisabled:xo.extend("--ft-button-tertiary-component-opacity-disabled","",wo.opacity40),secondaryBackgroundColor:xo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xo.extend("--ft-button-secondary-color","",qo.contentActionPrimary),secondaryIconColor:xo.extend("--ft-button-secondary-icon-color","",qo.contentActionPrimary),secondaryStateLayerColor:xo.extend("--ft-button-secondary-state-layer-color","",qo.contentActionPrimary),secondaryStateLayerOpacityHover:xo.extend("--ft-button-secondary-state-layer-opacity-hover","",wo.opacity8),secondaryStateLayerOpacityFocus:xo.extend("--ft-button-secondary-state-layer-opacity-focus","",wo.opacity8),secondaryStateLayerOpacityActive:xo.extend("--ft-button-secondary-state-layer-opacity-active","",wo.opacity16),secondaryComponentOpacityDisabled:xo.extend("--ft-button-secondary-component-opacity-disabled","",wo.opacity40),secondaryBorderColor:xo.extend("--ft-button-secondary-border-color","",qo.borderActionPrimary),neutralBackgroundColor:xo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xo.extend("--ft-button-neutral-icon-color","",qo.contentGlobalSecondary),neutralColor:xo.extend("--ft-button-neutral-color","",qo.contentGlobalSecondary),neutralStateLayerColor:xo.extend("--ft-button-neutral-state-layer-color","",qo.contentGlobalSecondary),neutralStateLayerOpacityHover:xo.extend("--ft-button-neutral-state-layer-opacity-hover","",wo.opacity8),neutralStateLayerOpacityFocus:xo.extend("--ft-button-neutral-state-layer-opacity-focus","",wo.opacity8),neutralStateLayerOpacityActive:xo.extend("--ft-button-neutral-state-layer-opacity-active","",wo.opacity16),neutralComponentOpacityDisabled:xo.extend("--ft-button-neutral-component-opacity-disabled","",wo.opacity40)},Jo={horizontalPadding:xo.extend("--ft-floating-menu-horizontal-padding","",wo.spacing4),verticalPadding:xo.extend("--ft-floating-menu-vertical-padding","",wo.spacing4),offIconColor:xo.extend("--ft-floating-menu-off-icon-color","",qo.contentGlobalPrimary),offColor:xo.extend("--ft-floating-menu-off-color","",qo.contentGlobalPrimary),onColor:xo.extend("--ft-floating-menu-on-color","",qo.contentActionPrimary),onIconColor:xo.extend("--ft-floating-menu-on-icon-color","",qo.contentActionPrimary),onStateLayerColor:xo.extend("--ft-floating-menu-on-state-layer-color","",qo.contentActionPrimary),gap:xo.extend("--ft-floating-menu-gap","",wo.spacing3),focusFocusRingColor:xo.extend("--ft-floating-menu-focus-focus-ring-color","",qo.borderActionFocusRing),focusOutlineWidth:xo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),stateLayerOpacityHover:xo.extend("--ft-floating-menu-state-layer-opacity-hover","",wo.opacity8),stateLayerOpacityActive:xo.extend("--ft-floating-menu-state-layer-opacity-active","",wo.opacity16),stateLayerOpacityFocus:xo.extend("--ft-floating-menu-state-layer-opacity-focus","",wo.opacity8),componentOpacityDisabled:xo.extend("--ft-floating-menu-component-opacity-disabled","",wo.opacity40),iconSize:xo.extend("--ft-floating-menu-icon-size","",wo.iconSize3),backgroundColor:xo.extend("--ft-floating-menu-background-color","",qo.backgroundGlobalOnSurface)},Xo={topLeftBorderRadius:xo.extend("--ft-tabs-top-left-border-radius","",wo.borderRadiusS),topRightBorderRadius:xo.extend("--ft-tabs-top-right-border-radius","",wo.borderRadiusS),labelHorizontalPadding:xo.extend("--ft-tabs-label-horizontal-padding","",wo.spacing4),labelVerticalPadding:xo.extend("--ft-tabs-label-vertical-padding","",wo.spacing3),labelGap:xo.extend("--ft-tabs-label-gap","",wo.spacing1),iconHorizontalPadding:xo.extend("--ft-tabs-icon-horizontal-padding","",wo.spacing1),iconVerticalPadding:xo.extend("--ft-tabs-icon-vertical-padding","",wo.spacing4),focusOutlineWidth:xo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:xo.extend("--ft-tabs-focus-focus-ring-color","",qo.borderActionFocusRing),offStateLayerOpacityHover:xo.extend("--ft-tabs-off-state-layer-opacity-hover","",wo.opacity8),offStateLayerOpacityFocus:xo.extend("--ft-tabs-off-state-layer-opacity-focus","",wo.opacity8),offStateLayerOpacityActive:xo.extend("--ft-tabs-off-state-layer-opacity-active","",wo.opacity16),offComponentOpacityDisabled:xo.extend("--ft-tabs-off-component-opacity-disabled","",wo.opacity40),offColor:xo.extend("--ft-tabs-off-color","",qo.contentGlobalSubtle),offStateLayerColor:xo.extend("--ft-tabs-off-state-layer-color","",qo.contentGlobalSubtle),onStateLayerOpacityHover:xo.extend("--ft-tabs-on-state-layer-opacity-hover","",wo.opacity8),onStateLayerOpacityFocus:xo.extend("--ft-tabs-on-state-layer-opacity-focus","",wo.opacity8),onStateLayerOpacityActive:xo.extend("--ft-tabs-on-state-layer-opacity-active","",wo.opacity16),onComponentOpacityDisabled:xo.extend("--ft-tabs-on-component-opacity-disabled","",wo.opacity40),onColor:xo.extend("--ft-tabs-on-color","",qo.contentActionPrimary),onStateLayerColor:xo.extend("--ft-tabs-on-state-layer-color","",qo.contentActionPrimary)},Qo={stateLayerOpacityHover:xo.extend("--ft-collapsible-state-layer-opacity-hover","",wo.opacity8),stateLayerOpacityFocus:xo.extend("--ft-collapsible-state-layer-opacity-focus","",wo.opacity8),stateLayerOpacityActive:xo.extend("--ft-collapsible-state-layer-opacity-active","",wo.opacity16),componentOpacityDisabled:xo.extend("--ft-collapsible-component-opacity-disabled","",wo.opacity40),horizontalPadding:xo.extend("--ft-collapsible-horizontal-padding","",wo.spacing4),verticalPadding:xo.extend("--ft-collapsible-vertical-padding","",wo.spacing3),focusOutlineWidth:xo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:xo.extend("--ft-collapsible-focus-focus-ring-color","",qo.borderActionFocusRing),color:xo.extend("--ft-collapsible-color","",qo.contentGlobalPrimary),stateLayerColor:xo.extend("--ft-collapsible-state-layer-color","",qo.contentGlobalPrimary),backgroundColor:xo.extend("--ft-collapsible-background-color","",qo.backgroundGlobalOnSurface),borderColor:xo.extend("--ft-collapsible-border-color","",qo.borderGlobalSubtle),iconSize:xo.extend("--ft-collapsible-icon-size","",wo.iconSize3)},tr={groupHorizontalPadding:xo.extend("--ft-switch-group-horizontal-padding","",wo.spacing1),groupVerticalPadding:xo.extend("--ft-switch-group-vertical-padding","",wo.spacing1),groupGap:xo.extend("--ft-switch-group-gap","",wo.spacing1),groupBackgroundColor:xo.extend("--ft-switch-group-background-color","",qo.backgroundGlobalSurface),groupBorderColor:xo.extend("--ft-switch-group-border-color","",qo.borderGlobalSubtle),groupBorderRadius:xo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:xo.extend("--ft-switch-label-horizontal-padding","",wo.spacing2),labelVerticalPadding:xo.extend("--ft-switch-label-vertical-padding","",wo.spacing1),iconHorizontalPadding:xo.extend("--ft-switch-icon-horizontal-padding","",wo.spacing1),iconVerticalPadding:xo.extend("--ft-switch-icon-vertical-padding","",wo.spacing1),focusOutlineWidth:xo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:xo.extend("--ft-switch-focus-focus-ring-color","",qo.borderActionFocusRing),optionBorderRadius:xo.extend("--ft-switch-option-border-radius","",wo.borderRadiusS),offStateLayerOpacityHover:xo.extend("--ft-switch-off-state-layer-opacity-hover","",wo.opacity8),offStateLayerOpacityFocus:xo.extend("--ft-switch-off-state-layer-opacity-focus","",wo.opacity8),offStateLayerOpacityActive:xo.extend("--ft-switch-off-state-layer-opacity-active","",wo.opacity16),offComponentOpacityDisabled:xo.extend("--ft-switch-off-component-opacity-disabled","",wo.opacity40),offColor:xo.extend("--ft-switch-off-color","",qo.contentGlobalSubtle),offStateLayerColor:xo.extend("--ft-switch-off-state-layer-color","",qo.contentGlobalSubtle),onStateLayerOpacityHover:xo.extend("--ft-switch-on-state-layer-opacity-hover","",wo.opacity8),onStateLayerOpacityFocus:xo.extend("--ft-switch-on-state-layer-opacity-focus","",wo.opacity8),onStateLayerOpacityActive:xo.extend("--ft-switch-on-state-layer-opacity-active","",wo.opacity16),onComponentOpacityDisabled:xo.extend("--ft-switch-on-component-opacity-disabled","",wo.opacity40),onColor:xo.extend("--ft-switch-on-color","",qo.contentActionPrimary),onStateLayerColor:xo.extend("--ft-switch-on-state-layer-color","",qo.contentActionPrimary)},er={color1Light:xo.extend("--ft-chart-1-light","for area color charts",wo.colorBrand40),color1Base:xo.extend("--ft-chart-1-base","for line charts",wo.colorBrand0),color2Light:xo.extend("--ft-chart-2-light","for area color charts",wo.colorYellow60),color2Base:xo.extend("--ft-chart-2-base","for line charts",wo.colorYellow100),color3Light:xo.extend("--ft-chart-3-light","",wo.colorUltramarine40),color3Base:xo.extend("--ft-chart-3-base","",wo.colorUltramarine70),color4Light:xo.extend("--ft-chart-4-light","",wo.colorCyan50),color4Base:xo.extend("--ft-chart-4-base","",wo.colorCyan100),color5Light:xo.extend("--ft-chart-5-light","",wo.colorRed40),color5Base:xo.extend("--ft-chart-5-base","",wo.colorRed60),color6Light:xo.extend("--ft-chart-6-light","",wo.colorGreen40),color6Base:xo.extend("--ft-chart-6-base","",wo.colorGreen70),color7Light:xo.extend("--ft-chart-7-light","",wo.colorOrange70),color7Base:xo.extend("--ft-chart-7-base","",wo.colorOrange100),color8Light:xo.extend("--ft-chart-8-light","",wo.colorAvocado70),color8Base:xo.extend("--ft-chart-8-base","",wo.colorAvocado200),color9Light:xo.extend("--ft-chart-9-light","",wo.colorBrown50),color9Base:xo.extend("--ft-chart-9-base","",wo.colorBrown200),color10Light:xo.extend("--ft-chart-10-light","",wo.colorGray50),color10Base:xo.extend("--ft-chart-10-base","",wo.colorGray80),monochrome10:xo.extend("--ft-chart-monochrome-10","",wo.colorBrand10),monochrome20:xo.extend("--ft-chart-monochrome-20","",wo.colorBrand20),monochrome30:xo.extend("--ft-chart-monochrome-30","",wo.colorBrand40),monochrome40:xo.extend("--ft-chart-monochrome-40","",wo.colorBrand60),monochrome50:xo.extend("--ft-chart-monochrome-50","",wo.colorBrand0),monochrome60:xo.extend("--ft-chart-monochrome-60","",wo.colorBrand200)},or={largeHorizontalPadding:xo.extend("--ft-chip-large-horizontal-padding","",wo.spacing4),largeVerticalPadding:xo.extend("--ft-chip-large-vertical-padding","",wo.spacing2),largeGap:xo.extend("--ft-chip-large-gap","",wo.spacing1),largeFocusOutlineOffset:xo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:xo.extend("--ft-chip-large-border-radius","",wo.borderRadiusPill),largeBorderWidth:xo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:xo.extend("--ft-chip-large-icon-size","",wo.iconSize3),mediumHorizontalPadding:xo.extend("--ft-chip-medium-horizontal-padding","",wo.spacing3),mediumVerticalPadding:xo.extend("--ft-chip-medium-vertical-padding","",wo.spacing1),mediumGap:xo.extend("--ft-chip-medium-gap","",wo.spacing1),mediumFocusOutlineOffset:xo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:xo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:xo.extend("--ft-chip-medium-border-radius","",wo.borderRadiusPill),mediumBorderWidth:xo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:xo.extend("--ft-chip-medium-icon-size","",wo.iconSize2),smallHorizontalPadding:xo.extend("--ft-chip-small-horizontal-padding","",wo.spacing2),smallVerticalPadding:xo.extend("--ft-chip-small-vertical-padding","",wo.spacing05),smallGap:xo.extend("--ft-chip-small-gap","",wo.spacing1),smallFocusOutlineOffset:xo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:xo.extend("--ft-chip-small-border-radius","",wo.borderRadiusPill),smallBorderWidth:xo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:xo.extend("--ft-chip-small-icon-size","",wo.iconSize1),neutralBackgroundColor:xo.extend("--ft-chip-neutral-background-color","",qo.backgroundGlobalOnSurface),neutralColor:xo.extend("--ft-chip-neutral-color","",qo.contentGlobalPrimary),neutralBorderColor:xo.extend("--ft-chip-neutral-border-color","",qo.borderGlobalSubtle),infoBackgroundColor:xo.extend("--ft-chip-info-background-color","",qo.backgroundInfoSubtle),infoColor:xo.extend("--ft-chip-info-color","",qo.contentInfoPrimary),infoBorderColor:xo.extend("--ft-chip-info-border-color","",qo.borderInfoSubtle),successBackgroundColor:xo.extend("--ft-chip-success-background-color","",qo.backgroundSuccessSubtle),successColor:xo.extend("--ft-chip-success-color","",qo.contentSuccessPrimary),successBorderColor:xo.extend("--ft-chip-success-border-color","",qo.borderSuccessSubtle),warningBackgroundColor:xo.extend("--ft-chip-warning-background-color","",qo.backgroundWarningSubtle),warningColor:xo.extend("--ft-chip-warning-color","",qo.contentWarningPrimary),warningBorderColor:xo.extend("--ft-chip-warning-border-color","",qo.borderWarningSubtle),errorBackgroundColor:xo.extend("--ft-chip-error-background-color","",qo.backgroundErrorSubtle),errorColor:xo.extend("--ft-chip-error-color","",qo.contentErrorPrimary),errorBorderColor:xo.extend("--ft-chip-error-border-color","",qo.borderErrorSubtle)},rr={borderWidth:xo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:xo.extend("--ft-notice-horizontal-padding","",wo.spacing2),verticalPadding:xo.extend("--ft-notice-vertical-padding","",wo.spacing1),borderRadius:xo.extend("--ft-notice-border-radius","",wo.borderRadiusS),gap:xo.extend("--ft-notice-gap","",wo.spacing2),iconSize:xo.extend("--ft-notice-icon-size","",wo.iconSize3),infoBackgroundColor:xo.extend("--ft-notice-info-background-color","",qo.backgroundInfoSubtle),infoBorderColor:xo.extend("--ft-notice-info-border-color","",qo.borderInfoSubtle),infoColor:xo.extend("--ft-notice-info-color","",qo.contentInfoPrimary),warningBackgroundColor:xo.extend("--ft-notice-warning-background-color","",qo.backgroundWarningSubtle),warningBorderColor:xo.extend("--ft-notice-warning-border-color","",qo.borderWarningSubtle),warningColor:xo.extend("--ft-notice-warning-color","",qo.contentWarningPrimary)},ir={labelColor:xo.extend("--ft-checkbox-label-color","",qo.contentGlobalPrimary),checkedBackgroundColor:xo.extend("--ft-checkbox-checked-background-color","",qo.contentActionPrimary),checkedStateLayerColor:xo.extend("--ft-checkbox-checked-state-layer-color","",qo.contentActionPrimary),checkedColor:xo.extend("--ft-checkbox-checked-color","",qo.contentGlobalOnColor),checkedStateLayerOpacityHover:xo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",wo.opacity16),checkedStateLayerOpacityFocus:xo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",wo.opacity16),checkedStateLayerOpacityActive:xo.extend("--ft-checkbox-checked-state-layer-opacity-active","",wo.opacity24),checkedComponentOpacityDisabled:xo.extend("--ft-checkbox-checked-component-opacity-disabled","",wo.opacity40),uncheckedBorderColor:xo.extend("--ft-checkbox-unchecked-border-color","",wo.colorGray80),uncheckedStateLayerColor:xo.extend("--ft-checkbox-unchecked-state-layer-color","",wo.colorGray80),uncheckedStateLayerOpacityHover:xo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",wo.opacity16),uncheckedStateLayerOpacityFocus:xo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",wo.opacity16),uncheckedStateLayerOpacityActive:xo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",wo.opacity24),uncheckedComponentOpacityDisabled:xo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",wo.opacity40),focusFocusRingColor:xo.extend("--ft-checkbox-focus-focus-ring-color","",qo.borderActionFocusRing),focusOutlineOffset:xo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:xo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:xo.extend("--ft-checkbox-gap","",wo.spacing3)},nr={offStateLayerOpacityHover:xo.extend("--ft-toggle-off-state-layer-opacity-hover","",wo.opacity16),offStateLayerOpacityFocus:xo.extend("--ft-toggle-off-state-layer-opacity-focus","",wo.opacity16),offStateLayerOpacityActive:xo.extend("--ft-toggle-off-state-layer-opacity-active","",wo.opacity24),offComponentOpacityDisabled:xo.extend("--ft-toggle-off-component-opacity-disabled","",wo.opacity40),offBackgroundColor:xo.extend("--ft-toggle-off-background-color","",qo.contentGlobalSubtle),offIconColor:xo.extend("--ft-toggle-off-icon-color","",qo.contentGlobalSubtle),offStateLayerColor:xo.extend("--ft-toggle-off-state-layer-color","",qo.contentGlobalSubtle),onStateLayerOpacityHover:xo.extend("--ft-toggle-on-state-layer-opacity-hover","",wo.opacity16),onStateLayerOpacityFocus:xo.extend("--ft-toggle-on-state-layer-opacity-focus","",wo.opacity16),onStateLayerOpacityActive:xo.extend("--ft-toggle-on-state-layer-opacity-active","",wo.opacity24),onComponentOpacityDisabled:xo.extend("--ft-toggle-on-component-opacity-disabled","",wo.opacity40),onBackgroundColor:xo.extend("--ft-toggle-on-background-color","",qo.contentActionPrimary),onIconColor:xo.extend("--ft-toggle-on-icon-color","",qo.contentActionPrimary),onStateLayerColor:xo.extend("--ft-toggle-on-state-layer-color","",qo.contentActionPrimary),labelColor:xo.extend("--ft-toggle-label-color","",qo.contentGlobalPrimary),focusFocusRingColor:xo.extend("--ft-toggle-focus-focus-ring-color","",qo.borderActionFocusRing),gap:xo.extend("--ft-toggle-gap","",wo.spacing3)},ar={labelColor:xo.extend("--ft-radio-label-color","",qo.contentGlobalPrimary),selectedColor:xo.extend("--ft-radio-selected-color","",qo.contentActionPrimary),selectedStateLayerColor:xo.extend("--ft-radio-selected-state-layer-color","",qo.contentActionPrimary),selectedStateLayerOpacityHover:xo.extend("--ft-radio-selected-state-layer-opacity-hover","",wo.opacity16),selectedStateLayerOpacityFocus:xo.extend("--ft-radio-selected-state-layer-opacity-focus","",wo.opacity16),selectedStateLayerOpacityActive:xo.extend("--ft-radio-selected-state-layer-opacity-active","",wo.opacity24),selectedComponentOpacityDisabled:xo.extend("--ft-radio-selected-component-opacity-disabled","",wo.opacity40),unselectedStateLayerColor:xo.extend("--ft-radio-unselected-state-layer-color","",wo.colorGray80),unselectedStateLayerOpacityHover:xo.extend("--ft-radio-unselected-state-layer-opacity-hover","",wo.opacity16),unselectedStateLayerOpacityFocus:xo.extend("--ft-radio-unselected-state-layer-opacity-focus","",wo.opacity16),unselectedStateLayerOpacityActive:xo.extend("--ft-radio-unselected-state-layer-opacity-active","",wo.opacity24),unselectedComponentOpacityDisabled:xo.extend("--ft-radio-unselected-component-opacity-disabled","",wo.opacity40),focusFocusRingColor:xo.extend("--ft-radio-focus-focus-ring-color","",qo.borderActionFocusRing),focusOutlineOffset:xo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:xo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:xo.extend("--ft-radio-gap","",wo.spacing3)},sr={iconSize:xo.extend("--ft-notification-icon-size","",wo.iconSize4),horizontalPadding:xo.extend("--ft-notification-horizontal-padding","",wo.spacing4),verticalPadding:xo.extend("--ft-notification-vertical-padding","",wo.spacing4),infoBackgroundColor:xo.extend("--ft-notification-info-background-color","",qo.backgroundInfoSubtle),infoColor:xo.extend("--ft-notification-info-color","",qo.contentInfoPrimary),infoBorderColor:xo.extend("--ft-notification-info-border-color","",qo.borderInfoSubtle),successBackgroundColor:xo.extend("--ft-notification-success-background-color","",qo.backgroundSuccessSubtle),successColor:xo.extend("--ft-notification-success-color","",qo.contentSuccessPrimary),successBorderColor:xo.extend("--ft-notification-success-border-color","",qo.borderSuccessSubtle),warningBackgroundColor:xo.extend("--ft-notification-warning-background-color","",qo.backgroundWarningSubtle),warningColor:xo.extend("--ft-notification-warning-color","",qo.contentWarningPrimary),warningBorderColor:xo.extend("--ft-notification-warning-border-color","",qo.borderWarningSubtle),errorBackgroundColor:xo.extend("--ft-notification-error-background-color","",qo.backgroundErrorSubtle),errorColor:xo.extend("--ft-notification-error-color","",qo.contentErrorPrimary),errorBorderColor:xo.extend("--ft-notification-error-border-color","",qo.borderErrorSubtle),borderRadius:xo.extend("--ft-notification-border-radius","",wo.borderRadiusPill),borderWidth:xo.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:xo.extend("--ft-notification-gap-leading","",wo.spacing2),gapTrailing:xo.extend("--ft-notification-gap-trailing","",wo.spacing8)},lr={horizontalPadding:xo.extend("--ft-tooltip-horizontal-padding","",wo.spacing2),verticalPadding:xo.extend("--ft-tooltip-vertical-padding","",wo.spacing2),borderRadius:xo.extend("--ft-tooltip-border-radius","",wo.borderRadiusS),label:xo.extend("--ft-tooltip-label","",qo.contentGlobalOnColor),background:xo.extend("--ft-tooltip-background","",qo.contentGlobalPrimary),backgroundOpacity:xo.extend("--ft-tooltip-background-opacity","",wo.opacity80),shadow:xo.extend("--ft-tooltip-shadow","",wo.shadowElevation03)};var cr=Object.freeze({__proto__:null,FtCssVariableFactory:xo,button:Yo,chart:er,checkbox:ir,chip:or,collapsible:Qo,floatingMenu:Jo,foundation:wo,notice:rr,notification:sr,radio:ar,semantic:qo,setVariable:Oo,switch_:tr,tabs:Xo,toggle:nr,tooltip:lr,typographies:Vo,typographyBody1Medium:Ro,typographyBody1Regular:$o,typographyBody1Semibold:ko,typographyBody2Medium:Lo,typographyBody2Regular:Io,typographyBody2Semibold:Uo,typographyCaption1Bold:Mo,typographyCaption1Medium:zo,typographyCaption1Semibold:Ko,typographyCaption2Bold:Zo,typographyCaption2Medium:Po,typographyCaption2Semibold:Do,typographyCaption3Bold:Go,typographyCaption3Medium:Ho,typographyCaption3Semibold:To,typographyDisplay:So,typographyLabel1Bold:Ao,typographyLabel1Medium:Wo,typographyLabel1Semibold:Fo,typographyLabel2Bold:Bo,typographyLabel2Medium:jo,typographyLabel2Semibold:_o,typographyTitle1:No,typographyTitle2:Co,typographyTitle3:Eo,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2","caption-3"]});const fr={colorPrimary:xo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xo.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:xo.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:xo.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:xo.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:xo.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:xo.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:xo.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:xo.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:xo.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:xo.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:xo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var pr=Object.freeze({__proto__:null,designSystemVariables:fr});class ur extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class hr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class dr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var yr=Object.freeze({__proto__:null,FtNotificationEvent:ur,PostResizeEvent:dr,PreResizeEvent:hr});const gr=["start","end"],br=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+gr[0],e+"-"+gr[1])),[]),mr=Math.min,vr=Math.max,xr=Math.round,Or=t=>({x:t,y:t}),wr={left:"right",right:"left",bottom:"top",top:"bottom"},Sr={start:"end",end:"start"};function Nr(t,e,o){return vr(t,mr(e,o))}function Cr(t,e){return"function"==typeof t?t(e):t}function Er(t){return t.split("-")[0]}function $r(t){return t.split("-")[1]}function Rr(t){return"x"===t?"y":"x"}function kr(t){return"y"===t?"height":"width"}function Ir(t){return["top","bottom"].includes(Er(t))?"y":"x"}function Lr(t){return Rr(Ir(t))}function Ur(t){return t.replace(/left|right|bottom|top/g,(t=>wr[t]))}function Wr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Fr(t,e,o){let{reference:r,floating:i}=t;const n=Ir(e),a=Lr(e),s=kr(a),l=Er(e),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,u=r[s]/2-i[s]/2;let h;switch(l){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch($r(e)){case"start":h[a]-=u*(o&&c?-1:1);break;case"end":h[a]+=u*(o&&c?-1:1)}return h}async function Ar(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:u=!1,padding:h=0}=Cr(e,t),d=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}}(h),y=s[u?"floating"===p?"reference":"floating":p],g=Wr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}: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=Wr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function jr(t,e,o){return(t?[...o.filter((e=>$r(e)===t)),...o.filter((e=>$r(e)!==t))]:o.filter((t=>Er(t)===t))).filter((o=>!t||($r(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,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:u=br,autoAlignment:h=!0,...d}=Cr(t,e),y=void 0!==p||u===br?jr(p||null,h,u):u,g=await Ar(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=$r(t),i=Lr(t),n=kr(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ur(a)),[a,Ur(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Er(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=$r(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,$r(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Br(t){return Mr(t)?(t.nodeName||"").toLowerCase():"#document"}function zr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Kr(t){var e;return null==(e=(Mr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Mr(t){return t instanceof Node||t instanceof zr(t).Node}function Pr(t){return t instanceof Element||t instanceof zr(t).Element}function Dr(t){return t instanceof HTMLElement||t instanceof zr(t).HTMLElement}function Zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof zr(t).ShadowRoot)}function Hr(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=Yr(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Tr(t){return["table","td","th"].includes(Br(t))}function Gr(t){const e=Vr(),o=Yr(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 Vr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function qr(t){return["html","body","#document"].includes(Br(t))}function Yr(t){return zr(t).getComputedStyle(t)}function Jr(t){return Pr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xr(t){if("html"===Br(t))return t;const e=t.assignedSlot||t.parentNode||Zr(t)&&t.host||Kr(t);return Zr(e)?e.host:e}function Qr(t){const e=Xr(t);return qr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Dr(e)&&Hr(e)?e:Qr(e)}function ti(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Qr(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=zr(i);return n?e.concat(a,a.visualViewport||[],Hr(i)?i:[],a.frameElement&&o?ti(a.frameElement):[]):e.concat(i,ti(i,[],o))}function ei(t){const e=Yr(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Dr(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=xr(o)!==n||xr(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function oi(t){return Pr(t)?t:t.contextElement}function ri(t){const e=oi(t);if(!Dr(e))return Or(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=ei(e);let a=(n?xr(o.width):o.width)/r,s=(n?xr(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ii=Or(0);function ni(t){const e=zr(t);return Vr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ii}function ai(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=oi(t);let a=Or(1);e&&(r?Pr(r)&&(a=ri(r)):a=ri(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==zr(t))&&e}(n,o,r)?ni(n):Or(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=zr(n),e=r&&Pr(r)?zr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=ri(o),e=o.getBoundingClientRect(),r=Yr(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,o=zr(o).frameElement}}return Wr({width:f,height:p,x:l,y:c})}function si(t){return ai(Kr(t)).left+Jr(t).scrollLeft}function li(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=zr(t),r=Kr(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Vr();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=Kr(t),o=Jr(t),r=t.ownerDocument.body,i=vr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=vr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+si(t);const s=-o.scrollTop;return"rtl"===Yr(r).direction&&(a+=vr(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Kr(t));else if(Pr(e))r=function(t,e){const o=ai(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Dr(t)?ri(t):Or(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=ni(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Wr(r)}function ci(t,e){const o=Xr(t);return!(o===e||!Pr(o)||qr(o))&&("fixed"===Yr(o).position||ci(o,e))}function fi(t,e,o){const r=Dr(e),i=Kr(e),n="fixed"===o,a=ai(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Or(0);if(r||!r&&!n)if(("body"!==Br(e)||Hr(i))&&(s=Jr(e)),r){const t=ai(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=si(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function pi(t,e){return Dr(t)&&"fixed"!==Yr(t).position?e?e(t):t.offsetParent:null}function ui(t,e){const o=zr(t);if(!Dr(t))return o;let r=pi(t,e);for(;r&&Tr(r)&&"static"===Yr(r).position;)r=pi(r,e);return r&&("html"===Br(r)||"body"===Br(r)&&"static"===Yr(r).position&&!Gr(r))?o:r||function(t){let e=Xr(t);for(;Dr(e)&&!qr(e);){if(Gr(e))return e;e=Xr(e)}return null}(t)||o}const hi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Dr(o),n=Kr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Or(1);const l=Or(0);if((i||!i&&"fixed"!==r)&&(("body"!==Br(o)||Hr(n))&&(a=Jr(o)),Dr(o))){const t=ai(o);s=ri(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:Kr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=ti(t,[],!1).filter((t=>Pr(t)&&"body"!==Br(t))),i=null;const n="fixed"===Yr(t).position;let a=n?Xr(t):t;for(;Pr(a)&&!qr(a);){const e=Yr(a),o=Gr(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Hr(a)&&!o&&ci(t,a))?r=r.filter((t=>t!==a)):i=e,a=Xr(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=li(e,o,i);return t.top=vr(r.top,t.top),t.right=mr(r.right,t.right),t.bottom=mr(r.bottom,t.bottom),t.left=vr(r.left,t.left),t}),li(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ui,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||ui,n=this.getDimensions;return{reference:fi(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ei(t)},getScale:ri,isElement:Pr,isRTL:function(t){return"rtl"===Yr(t).direction}},di=(t,e,o)=>{const r=new Map,i={platform:hi,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="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:i}),{x:f,y:p}=Fr(c,r,l),u=r,h={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:u,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(u=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=Fr(c,u,l))),o=-1)}return{x:f,y:p,placement:u,strategy:i,middlewareData:h}})(t,e,{...i,platform:n})};function yi(t){return function(t){for(let e=t;e;e=gi(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=gi(t);e;e=gi(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function gi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function bi(t,e,o){return di(t,e,{platform:{...hi,getOffsetParent:t=>hi.getOffsetParent(t,yi)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Cr(r,t),c={x:e,y:o},f=await Ar(t,l),p=Ir(Er(i)),u=Rr(p);let h=c[u],d=c[p];if(n){const t="y"===u?"bottom":"right";h=Nr(h+f["y"===u?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";d=Nr(d+f["y"===p?"top":"left"],d,d-f[t])}const y=s.fn({...t,[u]:h,[p]:d});return{...y,data:{x:y.x-e,y:y.y-o}}}}),_r({allowedPlacements:[o]})]});var r}var mi=Object.freeze({__proto__:null,computeOffsetPosition:bi});
85
135
  /**
86
136
  * @license
87
137
  * Copyright 2019 Google LLC
88
138
  * SPDX-License-Identifier: BSD-3-Clause
89
- */const ke=window,Ie=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class We extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ie?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=ke.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Le,Ke=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const ze=Symbol("constructorPrototype"),Fe=Symbol("constructorName"),Ze=Symbol("exportpartsDebouncer");class De extends We{constructor(){super(),this[Le]=new o(5),this[Fe]=this.constructor.name,this[ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fe]&&Object.setPrototypeOf(this,this[ze])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.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(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Ze].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=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(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Le=Ze,Ke([C()],De.prototype,"exportpartsPrefix",void 0),Ke([W([])],De.prototype,"exportpartsPrefixes",void 0),Ke([C()],De.prototype,"customStylesheet",void 0);const Ae=Oo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");xt`
139
+ */const vi=window,xi=vi.ShadowRoot&&(void 0===vi.ShadyCSS||vi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Oi extends be{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)=>{xi?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=vi.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var wi,Si=Object.freeze({__proto__:null,ScopedRegistryLitElement:Oi}),Ni=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ci=Symbol("constructorPrototype"),Ei=Symbol("constructorName"),$i=Symbol("exportpartsDebouncer");class Ri extends Oi{constructor(){super(),this[wi]=new ao(5),this[Ei]=this.constructor.name,this[Ci]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ei]&&Object.setPrototypeOf(this,this[Ci])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).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(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[$i].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,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!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],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 f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}wi=$i,Ni([we()],Ri.prototype,"exportpartsPrefix",void 0),Ni([go([])],Ri.prototype,"exportpartsPrefixes",void 0),Ni([we()],Ri.prototype,"customStylesheet",void 0);var ki=Object.freeze({__proto__:null,FtLitElement:Ri}),Ii=Object.freeze({__proto__:null});class Li{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Li.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Li(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,l=[],c=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,l)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(l,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Ui=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Li(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Li.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,l=(o>n.end?n.end:o)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=l),t.nodes[o].end-=l)})),o-=l,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,i.value);l&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,l)),(t=>{l++,o++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Li.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},Wi=xo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Fi=ut`
90
140
  .highlight-html-match {
91
- background: ${Ae};
141
+ background: ${Wi};
92
142
  }
93
- `;const Be=xt`
143
+ `,Ai={className:"highlight-html-match"};var ji=Object.freeze({__proto__:null,highlightHtml:function(t,e){var o;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=e?e:"")){const r=new Ui(t);if(r.unmark(Ai),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...Ai,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Ai,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:Wi,highlightHtmlStyles:Fi});const _i=ut`
94
144
  .ft-no-text-select {
95
145
  -webkit-touch-callout: none;
96
146
  -webkit-user-select: none;
@@ -99,7 +149,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
99
149
  -ms-user-select: none;
100
150
  user-select: none;
101
151
  }
102
- `;xt`
152
+ `,Bi=ut`
103
153
  .ft-word-wrap {
104
154
  white-space: normal;
105
155
  word-wrap: break-word;
@@ -111,7 +161,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
111
161
  -webkit-hyphens: auto;
112
162
  hyphens: auto
113
163
  }
114
- `;const Me=xt`
164
+ `,zi=ut`
115
165
  .ft-safari-ellipsis-fix {
116
166
  margin-right: 0;
117
167
 
@@ -122,9 +172,9 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
122
172
  display: inline-block;
123
173
  width: 0;
124
174
  }
125
- `;function Pe(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var He,je,Te;const _e=Symbol("internalReduxEventsUnsubscribers"),Ge=Symbol("internalStoresUnsubscribers"),Ye=Symbol("internalStores");class Ve extends De{constructor(){super(...arguments),this[He]=new Map,this[je]=new Map,this[Te]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ye].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ye].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ye].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Pe(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Ye].delete(o)}setupStore(t,o){this[Ye].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ye].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Ge].has(t.store):this[Ge].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Ge].set(t,o.subscribe((()=>this.updateFromStores()))),Pe(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[_e].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ge].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[_e].forEach((t=>t())),this[_e]=[]}unsubscribeFromStore(t){this[Ge].has(t)&&this[Ge].get(t)(),this[Ge].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}He=Ge,je=Ye,Te=_e,Ve.reduxProperties=new Map,Ve.reduxReactiveProperties=new Set,Ve.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Je=Symbol("elementInternals");var qe,Xe,Qe;const ti=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Qe=null===(Xe=null===(qe=window.safari)||void 0===qe?void 0:qe.pushNotification)||void 0===Xe?void 0:Xe.toString())&&void 0!==Qe?Qe:""),oi={zIndex:Oo.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:Oo.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:Oo.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:Oo.extend("--ft-floating-menu-text-color","",Eo.colorOnSurfaceHigh),colorSurface:Oo.external(Eo.colorSurface,"Design system"),menuElevation:Oo.external(Eo.elevation02,"Design system"),borderRadiusS:Oo.external(Eo.borderRadiusS,"Design system")},ei=xt`
175
+ `;var Ki=Object.freeze({__proto__:null,noTextSelect:_i,safariEllipsisFix:zi,wordWrap:Bi}),Mi=Object.freeze({__proto__:null});var Pi=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}});class Di{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Zi(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Hi,Ti,Gi;const Vi=Symbol("internalReduxEventsUnsubscribers"),qi=Symbol("internalStoresUnsubscribers"),Yi=Symbol("internalStores");class Ji extends Ri{constructor(){super(...arguments),this[Hi]=new Map,this[Ti]=new Map,this[Gi]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Yi].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Yi].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Yi].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Zi(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Yi].delete(e)}setupStore(t,e){this[Yi].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Yi].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[qi].has(t.store):this[qi].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qi].set(t,e.subscribe((()=>this.updateFromStores()))),Zi(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Vi].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qi].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Vi].forEach((t=>t())),this[Vi]=[]}unsubscribeFromStore(t){this[qi].has(t)&&this[qi].get(t)(),this[qi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Xi(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Qi(t){return!!t&&!!t[Kn]}function tn(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Mn}(t)||Array.isArray(t)||!!t[zn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[zn])||sn(t)||ln(t))}function en(t,e,o){void 0===o&&(o=!1),0===on(t)?(o?Object.keys:Pn)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function on(t){var e=t[Kn];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:sn(t)?2:ln(t)?3:0}function rn(t,e){return 2===on(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function nn(t,e,o){var r=on(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function an(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function sn(t){return An&&t instanceof Map}function ln(t){return jn&&t instanceof Set}function cn(t){return t.o||t.t}function fn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Dn(t);delete e[Kn];for(var o=Pn(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function pn(t,e){return void 0===e&&(e=!1),hn(t)||Qi(t)||!tn(t)||(on(t)>1&&(t.set=t.add=t.clear=t.delete=un),Object.freeze(t),e&&en(t,(function(t,e){return pn(e,!0)}),!0)),t}function un(){Xi(2)}function hn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function dn(t){var e=Zn[t];return e||Xi(18,t),e}function yn(){return Wn}function gn(t,e){e&&(dn("Patches"),t.u=[],t.s=[],t.v=e)}function bn(t){mn(t),t.p.forEach(xn),t.p=null}function mn(t){t===Wn&&(Wn=t.l)}function vn(t){return Wn={p:[],l:Wn,h:t,m:!0,_:0}}function xn(t){var e=t[Kn];0===e.i||1===e.i?e.j():e.g=!0}function On(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||dn("ES5").S(e,t,r),r?(o[Kn].P&&(bn(e),Xi(4)),tn(t)&&(t=wn(e,t),e.l||Nn(e,t)),e.u&&dn("Patches").M(o[Kn].t,t,e.u,e.s)):t=wn(e,o,[]),bn(e),e.u&&e.v(e.u,e.s),t!==Bn?t:void 0}function wn(t,e,o){if(hn(e))return e;var r=e[Kn];if(!r)return en(e,(function(i,n){return Sn(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Nn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=fn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),en(n,(function(e,n){return Sn(t,r,i,e,n,o,a)})),Nn(t,i,!1),o&&t.u&&dn("Patches").N(r,o,t.u,t.s)}return r.o}function Sn(t,e,o,r,i,n,a){if(Qi(i)){var s=wn(t,i,n&&e&&3!==e.i&&!rn(e.R,r)?n.concat(r):void 0);if(nn(o,r,s),!Qi(s))return;t.m=!1}else a&&o.add(i);if(tn(i)&&!hn(i)){if(!t.h.D&&t._<1)return;wn(t,i),e&&e.A.l||Nn(t,i)}}function Nn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&pn(e,o)}function Cn(t,e){var o=t[Kn];return(o?cn(o):t)[e]}function En(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function $n(t){t.P||(t.P=!0,t.l&&$n(t.l))}function Rn(t){t.o||(t.o=fn(t.t))}function kn(t,e,o){var r=sn(e)?dn("MapSet").F(e,o):ln(e)?dn("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:yn(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Hn;o&&(i=[r],n=Tn);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(e,o):dn("ES5").J(e,o);return(o?o.A:yn()).p.push(r),r}function In(t){return Qi(t)||Xi(22,t),function t(e){if(!tn(e))return e;var o,r=e[Kn],i=on(e);if(r){if(!r.P&&(r.i<4||!dn("ES5").K(r)))return r.t;r.I=!0,o=Ln(e,i),r.I=!1}else o=Ln(e,i);return en(o,(function(e,i){r&&function(t,e){return 2===on(t)?t.get(e):t[e]}(r.t,e)===i||nn(o,e,t(i))})),3===i?new Set(o):o}(t)}function Ln(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return fn(t)}Hi=qi,Ti=Yi,Gi=Vi,Ji.reduxProperties=new Map,Ji.reduxReactiveProperties=new Set,Ji.reduxEventListeners=new Map;var Un,Wn,Fn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),An="undefined"!=typeof Map,jn="undefined"!=typeof Set,_n="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Bn=Fn?Symbol.for("immer-nothing"):((Un={})["immer-nothing"]=!0,Un),zn=Fn?Symbol.for("immer-draftable"):"__$immer_draftable",Kn=Fn?Symbol.for("immer-state"):"__$immer_state",Mn=""+Object.prototype.constructor,Pn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Dn=Object.getOwnPropertyDescriptors||function(t){var e={};return Pn(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Zn={},Hn={get:function(t,e){if(e===Kn)return t;var o=cn(t);if(!rn(o,e))return function(t,e,o){var r,i=En(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!tn(r)?r:r===Cn(t.t,e)?(Rn(t),t.o[e]=kn(t.A.h,r,t)):r},has:function(t,e){return e in cn(t)},ownKeys:function(t){return Reflect.ownKeys(cn(t))},set:function(t,e,o){var r=En(cn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Cn(cn(t),e),n=null==i?void 0:i[Kn];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(an(o,i)&&(void 0!==o||rn(t.t,e)))return!0;Rn(t),$n(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Cn(t.t,e)||e in t.t?(t.R[e]=!1,Rn(t),$n(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=cn(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Xi(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Xi(12)}},Tn={};en(Hn,(function(t,e){Tn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Tn.deleteProperty=function(t,e){return Tn.set.call(this,t,e,void 0)},Tn.set=function(t,e,o){return Hn.set.call(this,t[0],e,o,t[0])};var Gn=function(){function t(t){var e=this;this.O=_n,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Xi(6),void 0!==r&&"function"!=typeof r&&Xi(7),tn(t)){var s=vn(e),l=kn(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?bn(s):mn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return gn(s,r),On(t,s)}),(function(t){throw bn(s),t})):(gn(s,r),On(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Bn&&(a=void 0),e.D&&pn(a,!0),r){var f=[],p=[];dn("Patches").M(t,a,f,p),r(f,p)}return a}Xi(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){tn(t)||Xi(8),Qi(t)&&(t=In(t));var e=vn(this),o=kn(this,t,void 0);return o[Kn].C=!0,mn(e),o},e.finishDraft=function(t,e){var o=(t&&t[Kn]).A;return gn(o,e),On(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!_n&&Xi(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=dn("Patches").$;return Qi(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),Vn=new Gn,qn=Vn.produce;function Yn(t){return Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yn(t)}function Jn(t){var e=function(t,e){if("object"!==Yn(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Yn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Yn(e)?e:String(e)}function Xn(t,e,o){return(e=Jn(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Qn(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function ta(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Qn(Object(o),!0).forEach((function(e){Xn(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Qn(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ea(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}Vn.produceWithPatches.bind(Vn),Vn.setAutoFreeze.bind(Vn),Vn.setUseProxies.bind(Vn),Vn.applyPatches.bind(Vn),Vn.createDraft.bind(Vn),Vn.finishDraft.bind(Vn);var oa="function"==typeof Symbol&&Symbol.observable||"@@observable",ra=function(){return Math.random().toString(36).substring(7).split("").join(".")},ia={INIT:"@@redux/INIT"+ra(),REPLACE:"@@redux/REPLACE"+ra(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ra()}};function na(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ea(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ea(1));return o(na)(t,e)}if("function"!=typeof t)throw new Error(ea(2));var i=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(ea(3));return n}function p(t){if("function"!=typeof t)throw new Error(ea(4));if(l)throw new Error(ea(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(ea(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ea(7));if(void 0===t.type)throw new Error(ea(8));if(l)throw new Error(ea(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return u({type:ia.INIT}),(r={dispatch:u,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ea(10));i=t,u({type:ia.REPLACE})}})[oa]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ea(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[oa]=function(){return this},t},r}function aa(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ia.INIT}))throw new Error(ea(12));if(void 0===o(void 0,{type:ia.PROBE_UNKNOWN_ACTION()}))throw new Error(ea(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],p=c(f,e);if(void 0===p)throw e&&e.type,new Error(ea(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function sa(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function la(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(ea(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=sa.apply(void 0,n)(o.dispatch),ta(ta({},o),{},{dispatch:r})}}}function ca(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var fa=ca();fa.withExtraArgument=ca;var pa,ua=fa,ha=(pa=function(t,e){return pa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},pa(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}pa(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),da=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ya=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},ga=Object.defineProperty,ba=Object.defineProperties,ma=Object.getOwnPropertyDescriptors,va=Object.getOwnPropertySymbols,xa=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable,wa=function(t,e,o){return e in t?ga(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Sa=function(t,e){for(var o in e||(e={}))xa.call(e,o)&&wa(t,o,e[o]);if(va)for(var r=0,i=va(e);r<i.length;r++){o=i[r];Oa.call(e,o)&&wa(t,o,e[o])}return t},Na=function(t,e){return ba(t,ma(e))},Ca="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?sa:sa.apply(null,arguments)};var Ea=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ha(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ya([void 0],t[0].concat(this)))):new(e.bind.apply(e,ya([void 0],t.concat(this))))},e}(Array),$a=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return ha(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ya([void 0],t[0].concat(this)))):new(e.bind.apply(e,ya([void 0],t.concat(this))))},e}(Array);function Ra(t){return tn(t)?qn(t,(function(){})):t}function ka(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Ea;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(ua.withExtraArgument(o.extraArgument)):r.push(ua));return r}(t)}}function Ia(t){var e,o=ka(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,u=r.enhancers,h=void 0===u?void 0:u;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=aa(n)}var d=s;"function"==typeof d&&(d=d(o));var y=la.apply(void 0,d),g=sa;c&&(g=Ca(Sa({trace:!1},"object"==typeof c&&c)));var b=new $a(y),m=b;return Array.isArray(h)?m=ya([y],h):"function"==typeof h&&(m=h(b)),na(e,p,g.apply(void 0,m))}function La(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Sa(Sa({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ua(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Wa(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Ra(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Ua(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=Sa(Sa({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ua(e):[e,o,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ra(t())};else{var c=Ra(t);i=function(){return c}}function f(t,e){void 0===t&&(t=i());var o=ya([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var r;if(Qi(t))return void 0===(r=o(t,e))?t:r;if(tn(t))return qn(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,r,n=i[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=r?La(c,r):La(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Fa=["name","message","stack","code"],Aa=function(t,e){this.payload=t,this.meta=e},ja=function(t,e){this.payload=t,this.meta=e},_a=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Fa;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Ba(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=La(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Na(Sa({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=La(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Na(Sa({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=La(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||_a)(t||"Rejected"),meta:Na(Sa({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,p=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),u=new a;function h(t){f=t,u.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return da(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return u.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:u.signal,abort:h,rejectWithValue:function(t,e){return new Aa(t,e)},fulfillWithValue:function(t,e){return new ja(t,e)}})).then((function(e){if(e instanceof Aa)throw e;return e instanceof ja?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Aa?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:h,requestId:p,arg:t,unwrap:function(){return d.then(Ba)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var za="listenerMiddleware";La(za+"/add"),La(za+"/removeAll"),La(za+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Kn];return Hn.get(e,t)},set:function(e){var o=this[Kn];Hn.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Kn];if(!i.P)switch(i.i){case 5:r(i)&&$n(i);break;case 4:o(i)&&$n(i)}}}function o(t){for(var e=t.t,o=t.k,r=Pn(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Kn){var a=e[n];if(void 0===a&&!rn(e,n))return!0;var s=o[n],l=s&&s[Kn];if(l?l.t!==a:!an(s,a))return!0}}var c=!!e[Kn];return r.length!==Pn(e).length+(c?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Zn[t]||(Zn[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Dn(o);delete n[Kn];for(var a=Pn(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:yn(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Kn,{value:n,writable:!0}),i},S:function(t,o,i){i?Qi(o)&&o[Kn].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Kn];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)en(n,(function(e){e!==Kn&&(void 0!==i[e]||rn(i,e)?a[e]||t(n[e]):(a[e]=!0,$n(o)))})),en(i,(function(t){void 0!==n[t]||rn(n,t)||(a[t]=!1,$n(o))}));else if(5===s){if(r(o)&&($n(o),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ka{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Zi(i))return i;if(null==r)return;const n=Wa({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ia({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Ka(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Di,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ma=Object.freeze({__proto__:null,FtCommandQueue:Di,FtLitElementRedux:Ji,FtReduxStore:Ka,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Zi(e)&&e.clear()},isFtReduxStore:Zi,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!po(t,e),attribute:!1,...e};we(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}},reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var Pa=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o;const r=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("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Da=Symbol("elementInternals");function Za(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Da].form}constructor(...t){super(t),this[Da]=this.attachInternals(),this[Da].role=e}setFormValue(t){this[Da].setFormValue(t)}}}var Ha,Ta,Ga,Va,qa=Object.freeze({__proto__:null,toFtFormComponent:Za});const Ya=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ga=null===(Ta=null===(Ha=window.safari)||void 0===Ha?void 0:Ha.pushNotification)||void 0===Ta?void 0:Ta.toString())&&void 0!==Ga?Ga:""),Ja="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Va=window.ftGlobals)&&void 0!==Va?Va:{lit:ve,litDecorators:Ie,litRepeat:De,litClassMap:He,litStyleMap:qe,litUnsafeHTML:Xe,wcUtils:{...ro,...oo,...no,...so,...mo,...pr,...yr,...mi,...cr,...ki,...Ii,...ho,...ji,...Ki,...Mi,...Pi,...Ma,...Si,...Pa,...qa,isSafari:Ya,isTouchScreen:Ja}};const Xa={zIndex:xo.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:xo.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:xo.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:xo.extend("--ft-floating-menu-text-color","",fr.colorOnSurfaceHigh),colorSurface:xo.external(fr.colorSurface,"Design system"),menuElevation:xo.external(fr.elevation02,"Design system"),borderRadiusS:xo.external(fr.borderRadiusS,"Design system")},Qa=ut`
126
176
  .ft-floating-menu {
127
- color: ${oi.textColor};
177
+ color: ${Xa.textColor};
128
178
  display: contents;
129
179
  }
130
180
 
@@ -141,19 +191,19 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
141
191
  display: none;
142
192
  position: relative;
143
193
  overflow: auto;
144
- max-width: ${oi.maxWidth};
145
- max-height: ${oi.maxHeight};
146
- box-shadow: ${oi.menuElevation};
147
- background-color: ${oi.colorSurface};
148
- border-radius: ${oi.borderRadiusS};
149
- color: ${oi.textColor};
150
- z-index: ${oi.zIndex};
194
+ max-width: ${Xa.maxWidth};
195
+ max-height: ${Xa.maxHeight};
196
+ box-shadow: ${Xa.menuElevation};
197
+ background-color: ${Xa.colorSurface};
198
+ border-radius: ${Xa.borderRadiusS};
199
+ color: ${Xa.textColor};
200
+ z-index: ${Xa.zIndex};
151
201
  }
152
202
 
153
203
  .ft-floating-menu--open .ft-floating-menu--options {
154
204
  display: block;
155
205
  }
156
- `,ii=Oo.extend("--ft-ripple-color","",Eo.colorContent),ri={color:ii,backgroundColor:Oo.extend("--ft-ripple-background-color","",ii),opacityContentOnSurfacePressed:Oo.external(Eo.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Oo.external(Eo.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Oo.external(Eo.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Oo.external(Eo.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Oo.create("--ft-ripple-border-radius","","SIZE","0px")},ni=Oo.extend("--ft-ripple-color","",Eo.colorPrimary),ai=ni,si=Oo.extend("--ft-ripple-background-color","",ni),li=Oo.extend("--ft-ripple-color","",Eo.colorSecondary),ci=li,pi=Oo.extend("--ft-ripple-background-color","",li),fi=xt`
206
+ `,ts=xo.extend("--ft-ripple-color","",fr.colorContent),es={color:ts,backgroundColor:xo.extend("--ft-ripple-background-color","",ts),opacityContentOnSurfacePressed:xo.external(fr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xo.external(fr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xo.external(fr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xo.external(fr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xo.create("--ft-ripple-border-radius","","SIZE","0px")},os=xo.extend("--ft-ripple-color","",fr.colorPrimary),rs=os,is=xo.extend("--ft-ripple-background-color","",os),ns=xo.extend("--ft-ripple-color","",fr.colorSecondary),as=ns,ss=xo.extend("--ft-ripple-background-color","",ns),ls=ut`
157
207
  :host {
158
208
  display: contents;
159
209
  }
@@ -166,7 +216,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
166
216
 
167
217
  .ft-ripple:not(.ft-ripple--unbounded) {
168
218
  overflow: hidden;
169
- border-radius: ${ri.borderRadius};
219
+ border-radius: ${es.borderRadius};
170
220
  }
171
221
 
172
222
  .ft-ripple .ft-ripple--background,
@@ -200,27 +250,27 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
200
250
  }
201
251
 
202
252
  .ft-ripple .ft-ripple--background {
203
- background-color: ${ri.backgroundColor};
253
+ background-color: ${es.backgroundColor};
204
254
  }
205
255
 
206
256
  .ft-ripple .ft-ripple--effect {
207
- background-color: ${ri.color};
257
+ background-color: ${es.color};
208
258
  }
209
259
 
210
260
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
211
- background-color: ${pi};
261
+ background-color: ${ss};
212
262
  }
213
263
 
214
264
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
215
- background-color: ${ci};
265
+ background-color: ${as};
216
266
  }
217
267
 
218
268
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
219
- background-color: ${si};
269
+ background-color: ${is};
220
270
  }
221
271
 
222
272
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
223
- background-color: ${ai};
273
+ background-color: ${rs};
224
274
  }
225
275
 
226
276
  .ft-ripple .ft-ripple--background {
@@ -250,126 +300,126 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
250
300
  }
251
301
 
252
302
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
253
- opacity: ${ri.opacityContentOnSurfaceHover};
303
+ opacity: ${es.opacityContentOnSurfaceHover};
254
304
  }
255
305
 
256
306
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
257
- opacity: ${ri.opacityContentOnSurfaceSelected};
307
+ opacity: ${es.opacityContentOnSurfaceSelected};
258
308
  }
259
309
 
260
310
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
261
- opacity: ${ri.opacityContentOnSurfaceFocused};
311
+ opacity: ${es.opacityContentOnSurfaceFocused};
262
312
  }
263
313
 
264
314
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
265
- opacity: ${ri.opacityContentOnSurfacePressed};
315
+ opacity: ${es.opacityContentOnSurfacePressed};
266
316
  transform: translate(-50%, -50%) scale(1);
267
317
  }
268
- `;const hi=Oo.extend("--ft-typography-font-family","",Eo.titleFont),di=Oo.extend("--ft-typography-font-family","",Eo.contentFont),ui={fontFamily:di,fontSize:Oo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Oo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Oo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Oo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Oo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},yi=Oo.extend("--ft-typography-title-font-family","",hi),gi=Oo.extend("--ft-typography-title-font-size","",ui.fontSize,"20px"),bi=Oo.extend("--ft-typography-title-font-weight","",ui.fontWeight,"normal"),mi=Oo.extend("--ft-typography-title-letter-spacing","",ui.letterSpacing,"0.15px"),xi=Oo.extend("--ft-typography-title-line-height","",ui.lineHeight,"1.2"),vi=Oo.extend("--ft-typography-title-text-transform","",ui.textTransform,"inherit"),Oi=Oo.extend("--ft-typography-title-dense-font-family","",hi),Ni=Oo.extend("--ft-typography-title-dense-font-size","",ui.fontSize,"14px"),Si=Oo.extend("--ft-typography-title-dense-font-weight","",ui.fontWeight,"normal"),wi=Oo.extend("--ft-typography-title-dense-letter-spacing","",ui.letterSpacing,"0.105px"),Ci=Oo.extend("--ft-typography-title-dense-line-height","",ui.lineHeight,"1.7"),$i=Oo.extend("--ft-typography-title-dense-text-transform","",ui.textTransform,"inherit"),Ei=Oo.extend("--ft-typography-subtitle1-font-family","",di),Ri=Oo.extend("--ft-typography-subtitle1-font-size","",ui.fontSize,"16px"),Ui=Oo.extend("--ft-typography-subtitle1-font-weight","",ui.fontWeight,"600"),ki=Oo.extend("--ft-typography-subtitle1-letter-spacing","",ui.letterSpacing,"0.144px"),Ii=Oo.extend("--ft-typography-subtitle1-line-height","",ui.lineHeight,"1.5"),Wi=Oo.extend("--ft-typography-subtitle1-text-transform","",ui.textTransform,"inherit"),Li=Oo.extend("--ft-typography-subtitle2-font-family","",di),Ki=Oo.extend("--ft-typography-subtitle2-font-size","",ui.fontSize,"14px"),zi=Oo.extend("--ft-typography-subtitle2-font-weight","",ui.fontWeight,"normal"),Fi=Oo.extend("--ft-typography-subtitle2-letter-spacing","",ui.letterSpacing,"0.098px"),Zi=Oo.extend("--ft-typography-subtitle2-line-height","",ui.lineHeight,"1.7"),Di=Oo.extend("--ft-typography-subtitle2-text-transform","",ui.textTransform,"inherit"),Ai=Oo.extend("--ft-typography-body1-font-family","",di),Bi=Oo.extend("--ft-typography-body1-font-size","",ui.fontSize,"16px"),Mi=Oo.extend("--ft-typography-body1-font-weight","",ui.fontWeight,"normal"),Pi=Oo.extend("--ft-typography-body1-letter-spacing","",ui.letterSpacing,"0.496px"),Hi=Oo.extend("--ft-typography-body1-line-height","",ui.lineHeight,"1.5"),ji=Oo.extend("--ft-typography-body1-text-transform","",ui.textTransform,"inherit"),Ti=Oo.extend("--ft-typography-body2-font-family","",di),_i=Oo.extend("--ft-typography-body2-font-size","",ui.fontSize,"14px"),Gi=Oo.extend("--ft-typography-body2-font-weight","",ui.fontWeight,"normal"),Yi=Oo.extend("--ft-typography-body2-letter-spacing","",ui.letterSpacing,"0.252px"),Vi=Oo.extend("--ft-typography-body2-line-height","",ui.lineHeight,"1.4"),Ji=Oo.extend("--ft-typography-body2-text-transform","",ui.textTransform,"inherit"),qi=Oo.extend("--ft-typography-caption-font-family","",di),Xi=Oo.extend("--ft-typography-caption-font-size","",ui.fontSize,"12px"),Qi=Oo.extend("--ft-typography-caption-font-weight","",ui.fontWeight,"normal"),tr=Oo.extend("--ft-typography-caption-letter-spacing","",ui.letterSpacing,"0.396px"),or=Oo.extend("--ft-typography-caption-line-height","",ui.lineHeight,"1.33"),er=Oo.extend("--ft-typography-caption-text-transform","",ui.textTransform,"inherit"),ir=Oo.extend("--ft-typography-breadcrumb-font-family","",di),rr=Oo.extend("--ft-typography-breadcrumb-font-size","",ui.fontSize,"10px"),nr=Oo.extend("--ft-typography-breadcrumb-font-weight","",ui.fontWeight,"normal"),ar=Oo.extend("--ft-typography-breadcrumb-letter-spacing","",ui.letterSpacing,"0.33px"),sr=Oo.extend("--ft-typography-breadcrumb-line-height","",ui.lineHeight,"1.6"),lr=Oo.extend("--ft-typography-breadcrumb-text-transform","",ui.textTransform,"inherit"),cr=Oo.extend("--ft-typography-overline-font-family","",di),pr=Oo.extend("--ft-typography-overline-font-size","",ui.fontSize,"10px"),fr=Oo.extend("--ft-typography-overline-font-weight","",ui.fontWeight,"normal"),hr=Oo.extend("--ft-typography-overline-letter-spacing","",ui.letterSpacing,"1.5px"),dr=Oo.extend("--ft-typography-overline-line-height","",ui.lineHeight,"1.6"),ur=Oo.extend("--ft-typography-overline-text-transform","",ui.textTransform,"uppercase"),yr={fontFamily:Oo.extend("--ft-typography-button-font-family","",di),fontSize:Oo.extend("--ft-typography-button-font-size","",ui.fontSize,"14px"),fontWeight:Oo.extend("--ft-typography-button-font-weight","",ui.fontWeight,"600"),letterSpacing:Oo.extend("--ft-typography-button-letter-spacing","",ui.letterSpacing,"1.246px"),lineHeight:Oo.extend("--ft-typography-button-line-height","",ui.lineHeight,"1.15"),textTransform:Oo.extend("--ft-typography-button-text-transform","",ui.textTransform,"uppercase")},gr=xt`
318
+ `;const cs=xo.extend("--ft-typography-font-family","",fr.titleFont),fs=xo.extend("--ft-typography-font-family","",fr.contentFont),ps={fontFamily:fs,fontSize:xo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},us=xo.extend("--ft-typography-title-font-family","",cs),hs=xo.extend("--ft-typography-title-font-size","",ps.fontSize,"20px"),ds=xo.extend("--ft-typography-title-font-weight","",ps.fontWeight,"normal"),ys=xo.extend("--ft-typography-title-letter-spacing","",ps.letterSpacing,"0.15px"),gs=xo.extend("--ft-typography-title-line-height","",ps.lineHeight,"1.2"),bs=xo.extend("--ft-typography-title-text-transform","",ps.textTransform,"inherit"),ms=xo.extend("--ft-typography-title-dense-font-family","",cs),vs=xo.extend("--ft-typography-title-dense-font-size","",ps.fontSize,"14px"),xs=xo.extend("--ft-typography-title-dense-font-weight","",ps.fontWeight,"normal"),Os=xo.extend("--ft-typography-title-dense-letter-spacing","",ps.letterSpacing,"0.105px"),ws=xo.extend("--ft-typography-title-dense-line-height","",ps.lineHeight,"1.7"),Ss=xo.extend("--ft-typography-title-dense-text-transform","",ps.textTransform,"inherit"),Ns=xo.extend("--ft-typography-subtitle1-font-family","",fs),Cs=xo.extend("--ft-typography-subtitle1-font-size","",ps.fontSize,"16px"),Es=xo.extend("--ft-typography-subtitle1-font-weight","",ps.fontWeight,"600"),$s=xo.extend("--ft-typography-subtitle1-letter-spacing","",ps.letterSpacing,"0.144px"),Rs=xo.extend("--ft-typography-subtitle1-line-height","",ps.lineHeight,"1.5"),ks=xo.extend("--ft-typography-subtitle1-text-transform","",ps.textTransform,"inherit"),Is=xo.extend("--ft-typography-subtitle2-font-family","",fs),Ls=xo.extend("--ft-typography-subtitle2-font-size","",ps.fontSize,"14px"),Us=xo.extend("--ft-typography-subtitle2-font-weight","",ps.fontWeight,"normal"),Ws=xo.extend("--ft-typography-subtitle2-letter-spacing","",ps.letterSpacing,"0.098px"),Fs=xo.extend("--ft-typography-subtitle2-line-height","",ps.lineHeight,"1.7"),As=xo.extend("--ft-typography-subtitle2-text-transform","",ps.textTransform,"inherit"),js=xo.extend("--ft-typography-body1-font-family","",fs),_s=xo.extend("--ft-typography-body1-font-size","",ps.fontSize,"16px"),Bs=xo.extend("--ft-typography-body1-font-weight","",ps.fontWeight,"normal"),zs=xo.extend("--ft-typography-body1-letter-spacing","",ps.letterSpacing,"0.496px"),Ks=xo.extend("--ft-typography-body1-line-height","",ps.lineHeight,"1.5"),Ms=xo.extend("--ft-typography-body1-text-transform","",ps.textTransform,"inherit"),Ps=xo.extend("--ft-typography-body2-font-family","",fs),Ds=xo.extend("--ft-typography-body2-font-size","",ps.fontSize,"14px"),Zs=xo.extend("--ft-typography-body2-font-weight","",ps.fontWeight,"normal"),Hs=xo.extend("--ft-typography-body2-letter-spacing","",ps.letterSpacing,"0.252px"),Ts=xo.extend("--ft-typography-body2-line-height","",ps.lineHeight,"1.4"),Gs=xo.extend("--ft-typography-body2-text-transform","",ps.textTransform,"inherit"),Vs=xo.extend("--ft-typography-caption-font-family","",fs),qs=xo.extend("--ft-typography-caption-font-size","",ps.fontSize,"12px"),Ys=xo.extend("--ft-typography-caption-font-weight","",ps.fontWeight,"normal"),Js=xo.extend("--ft-typography-caption-letter-spacing","",ps.letterSpacing,"0.396px"),Xs=xo.extend("--ft-typography-caption-line-height","",ps.lineHeight,"1.33"),Qs=xo.extend("--ft-typography-caption-text-transform","",ps.textTransform,"inherit"),tl=xo.extend("--ft-typography-breadcrumb-font-family","",fs),el=xo.extend("--ft-typography-breadcrumb-font-size","",ps.fontSize,"10px"),ol=xo.extend("--ft-typography-breadcrumb-font-weight","",ps.fontWeight,"normal"),rl=xo.extend("--ft-typography-breadcrumb-letter-spacing","",ps.letterSpacing,"0.33px"),il=xo.extend("--ft-typography-breadcrumb-line-height","",ps.lineHeight,"1.6"),nl=xo.extend("--ft-typography-breadcrumb-text-transform","",ps.textTransform,"inherit"),al=xo.extend("--ft-typography-overline-font-family","",fs),sl=xo.extend("--ft-typography-overline-font-size","",ps.fontSize,"10px"),ll=xo.extend("--ft-typography-overline-font-weight","",ps.fontWeight,"normal"),cl=xo.extend("--ft-typography-overline-letter-spacing","",ps.letterSpacing,"1.5px"),fl=xo.extend("--ft-typography-overline-line-height","",ps.lineHeight,"1.6"),pl=xo.extend("--ft-typography-overline-text-transform","",ps.textTransform,"uppercase"),ul={fontFamily:xo.extend("--ft-typography-button-font-family","",fs),fontSize:xo.extend("--ft-typography-button-font-size","",ps.fontSize,"14px"),fontWeight:xo.extend("--ft-typography-button-font-weight","",ps.fontWeight,"600"),letterSpacing:xo.extend("--ft-typography-button-letter-spacing","",ps.letterSpacing,"1.246px"),lineHeight:xo.extend("--ft-typography-button-line-height","",ps.lineHeight,"1.15"),textTransform:xo.extend("--ft-typography-button-text-transform","",ps.textTransform,"uppercase")},hl=ut`
269
319
  .ft-typography--title {
270
- font-family: ${yi};
271
- font-size: ${gi};
272
- font-weight: ${bi};
273
- letter-spacing: ${mi};
274
- line-height: ${xi};
275
- text-transform: ${vi};
276
- }
277
- `,br=xt`
320
+ font-family: ${us};
321
+ font-size: ${hs};
322
+ font-weight: ${ds};
323
+ letter-spacing: ${ys};
324
+ line-height: ${gs};
325
+ text-transform: ${bs};
326
+ }
327
+ `,dl=ut`
278
328
  .ft-typography--title-dense {
279
- font-family: ${Oi};
280
- font-size: ${Ni};
281
- font-weight: ${Si};
282
- letter-spacing: ${wi};
283
- line-height: ${Ci};
284
- text-transform: ${$i};
285
- }
286
- `,mr=xt`
329
+ font-family: ${ms};
330
+ font-size: ${vs};
331
+ font-weight: ${xs};
332
+ letter-spacing: ${Os};
333
+ line-height: ${ws};
334
+ text-transform: ${Ss};
335
+ }
336
+ `,yl=ut`
287
337
  .ft-typography--subtitle1 {
288
- font-family: ${Ei};
289
- font-size: ${Ri};
290
- font-weight: ${Ui};
291
- letter-spacing: ${ki};
292
- line-height: ${Ii};
293
- text-transform: ${Wi};
294
- }
295
- `,xr=xt`
338
+ font-family: ${Ns};
339
+ font-size: ${Cs};
340
+ font-weight: ${Es};
341
+ letter-spacing: ${$s};
342
+ line-height: ${Rs};
343
+ text-transform: ${ks};
344
+ }
345
+ `,gl=ut`
296
346
  .ft-typography--subtitle2 {
297
- font-family: ${Li};
298
- font-size: ${Ki};
299
- font-weight: ${zi};
300
- letter-spacing: ${Fi};
301
- line-height: ${Zi};
302
- text-transform: ${Di};
347
+ font-family: ${Is};
348
+ font-size: ${Ls};
349
+ font-weight: ${Us};
350
+ letter-spacing: ${Ws};
351
+ line-height: ${Fs};
352
+ text-transform: ${As};
303
353
  }
304
354
 
305
- `,vr=xt`
355
+ `,bl=ut`
306
356
  .ft-typography--body1 {
307
- font-family: ${Ai};
308
- font-size: ${Bi};
309
- font-weight: ${Mi};
310
- letter-spacing: ${Pi};
311
- line-height: ${Hi};
312
- text-transform: ${ji};
313
- }
314
- `,Or=xt`
357
+ font-family: ${js};
358
+ font-size: ${_s};
359
+ font-weight: ${Bs};
360
+ letter-spacing: ${zs};
361
+ line-height: ${Ks};
362
+ text-transform: ${Ms};
363
+ }
364
+ `,ml=ut`
315
365
  .ft-typography--body2 {
316
- font-family: ${Ti};
317
- font-size: ${_i};
318
- font-weight: ${Gi};
319
- letter-spacing: ${Yi};
320
- line-height: ${Vi};
321
- text-transform: ${Ji};
322
- }
323
- `,Nr=xt`
366
+ font-family: ${Ps};
367
+ font-size: ${Ds};
368
+ font-weight: ${Zs};
369
+ letter-spacing: ${Hs};
370
+ line-height: ${Ts};
371
+ text-transform: ${Gs};
372
+ }
373
+ `,vl=ut`
324
374
  .ft-typography--caption {
325
- font-family: ${qi};
326
- font-size: ${Xi};
327
- font-weight: ${Qi};
328
- letter-spacing: ${tr};
329
- line-height: ${or};
330
- text-transform: ${er};
331
- }
332
- `,Sr=xt`
375
+ font-family: ${Vs};
376
+ font-size: ${qs};
377
+ font-weight: ${Ys};
378
+ letter-spacing: ${Js};
379
+ line-height: ${Xs};
380
+ text-transform: ${Qs};
381
+ }
382
+ `,xl=ut`
333
383
  .ft-typography--breadcrumb {
334
- font-family: ${ir};
335
- font-size: ${rr};
336
- font-weight: ${nr};
337
- letter-spacing: ${ar};
338
- line-height: ${sr};
339
- text-transform: ${lr};
340
- }
341
- `,wr=xt`
384
+ font-family: ${tl};
385
+ font-size: ${el};
386
+ font-weight: ${ol};
387
+ letter-spacing: ${rl};
388
+ line-height: ${il};
389
+ text-transform: ${nl};
390
+ }
391
+ `,Ol=ut`
342
392
  .ft-typography--overline {
343
- font-family: ${cr};
344
- font-size: ${pr};
345
- font-weight: ${fr};
346
- letter-spacing: ${hr};
347
- line-height: ${dr};
348
- text-transform: ${ur};
349
- }
350
- `,Cr=xt`
393
+ font-family: ${al};
394
+ font-size: ${sl};
395
+ font-weight: ${ll};
396
+ letter-spacing: ${cl};
397
+ line-height: ${fl};
398
+ text-transform: ${pl};
399
+ }
400
+ `,wl=ut`
351
401
  .ft-typography--button {
352
- font-family: ${yr.fontFamily};
353
- font-size: ${yr.fontSize};
354
- font-weight: ${yr.fontWeight};
355
- letter-spacing: ${yr.letterSpacing};
356
- line-height: ${yr.lineHeight};
357
- text-transform: ${yr.textTransform};
358
- }
359
- `,$r=xt`
402
+ font-family: ${ul.fontFamily};
403
+ font-size: ${ul.fontSize};
404
+ font-weight: ${ul.fontWeight};
405
+ letter-spacing: ${ul.letterSpacing};
406
+ line-height: ${ul.lineHeight};
407
+ text-transform: ${ul.textTransform};
408
+ }
409
+ `,Sl=ut`
360
410
  .ft-typography {
361
411
  vertical-align: inherit;
362
412
  }
363
- `,Er=[Object.keys(wo).map((t=>function(t){const o=wo[t];return xt`
364
- .ft-typography--${mt(t)} {
365
- font-family: ${o.fontFamily};
366
- font-size: ${o.fontSize};
367
- font-weight: ${o.fontWeight};
368
- letter-spacing: ${o.letterSpacing};
369
- line-height: ${o.lineHeight};
370
- text-transform: ${o.textCase};
413
+ `,Nl=[Object.keys(Vo).map((t=>function(t){const e=Vo[t];return ut`
414
+ .ft-typography--${pt(t)} {
415
+ font-family: ${e.fontFamily};
416
+ font-size: ${e.fontSize};
417
+ font-weight: ${e.fontWeight};
418
+ letter-spacing: ${e.letterSpacing};
419
+ line-height: ${e.lineHeight};
420
+ text-transform: ${e.textCase};
371
421
  }
372
- `}(t)))],Rr={color:Oo.extend("--ft-loader-color","",Eo.colorPrimary),size:Oo.create("--ft-loader-size","","SIZE","80px")},Ur=xt`
422
+ `}(t)))],Cl={color:xo.extend("--ft-loader-color","",fr.colorPrimary),size:xo.create("--ft-loader-size","","SIZE","80px")},El=ut`
373
423
  :host {
374
424
  line-height: 0;
375
425
  }
@@ -378,8 +428,8 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
378
428
  display: inline-block;
379
429
  position: relative;
380
430
 
381
- width: ${Rr.size};
382
- height: ${Rr.size};
431
+ width: ${Cl.size};
432
+ height: ${Cl.size};
383
433
  }
384
434
 
385
435
  .ft-loader div {
@@ -388,7 +438,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
388
438
  width: 25%;
389
439
  height: 25%;
390
440
  border-radius: 50%;
391
- background: ${Rr.color};
441
+ background: ${Cl.color};
392
442
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
393
443
  }
394
444
 
@@ -435,10 +485,10 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
435
485
  transform: translate(0, 0);
436
486
  }
437
487
  100% {
438
- transform: translate(calc(0.35 * ${Rr.size}), 0);
488
+ transform: translate(calc(0.35 * ${Cl.size}), 0);
439
489
  }
440
490
  }
441
- `,kr={size:Oo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Oo.extend("--ft-icon-fluid-topics-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Oo.extend("--ft-icon-file-format-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Oo.extend("--ft-icon-material-font-family","",Oo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Oo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ir=xt`
491
+ `,$l={size:xo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xo.extend("--ft-icon-fluid-topics-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xo.extend("--ft-icon-file-format-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xo.extend("--ft-icon-material-font-family","",xo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Rl=ut`
442
492
  :host, i.ft-icon {
443
493
  display: inline-flex;
444
494
  align-items: center;
@@ -447,14 +497,14 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
447
497
  }
448
498
 
449
499
  :host {
450
- width: ${kr.size};
451
- height: ${kr.size};
500
+ width: ${$l.size};
501
+ height: ${$l.size};
452
502
  }
453
503
 
454
504
  i.ft-icon {
455
505
  width: 100%;
456
506
  height: 100%;
457
- font-size: ${kr.size};
507
+ font-size: ${$l.size};
458
508
  line-height: 1;
459
509
  font-weight: normal;
460
510
  text-transform: none;
@@ -465,28 +515,28 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
465
515
  text-rendering: auto;
466
516
  -webkit-font-smoothing: antialiased;
467
517
  -moz-osx-font-smoothing: grayscale;
468
- vertical-align: ${kr.verticalAlign};
518
+ vertical-align: ${$l.verticalAlign};
469
519
  }
470
520
 
471
521
  i.ft-icon.ft-icon--fluid-topics {
472
- font-family: ${kr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
522
+ font-family: ${$l.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
473
523
 
474
524
  /* Ugly fix because font is broken */
475
- font-size: calc(0.75 * ${kr.size});
476
- line-height: ${kr.size};
525
+ font-size: calc(0.75 * ${$l.size});
526
+ line-height: ${$l.size};
477
527
  position: relative;
478
528
  top: -4%;
479
529
  justify-content: center;
480
530
  }
481
531
 
482
532
  .ft-icon--file-format {
483
- font-family: ${kr.fileFormatFontFamily}, ft-mime, sans-serif;
533
+ font-family: ${$l.fileFormatFontFamily}, ft-mime, sans-serif;
484
534
  }
485
535
 
486
536
  .ft-icon--material {
487
- font-family: ${kr.materialFontFamily}, "Material Icons", sans-serif;
537
+ font-family: ${$l.materialFontFamily}, "Material Icons", sans-serif;
488
538
  }
489
- `,Wr=Oo.extend("--ft-button-color","",Eo.colorPrimary),Lr={backgroundColor:Oo.extend("--ft-button-background-color","",Eo.colorSurface),borderRadius:Oo.extend("--ft-button-border-radius","",Eo.borderRadiusL),color:Wr,fontSize:Oo.extend("--ft-button-font-size","",yr.fontSize),iconSize:Oo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Oo.extend("--ft-button-ripple-color","",Wr),verticalPadding:Oo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Oo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Oo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Oo.external(Eo.colorOpacityDisabled,"Design system")},Kr=Oo.extend("--ft-button-primary-color","",Oo.extend("--ft-button-color","",Eo.colorOnPrimary)),zr={backgroundColor:Oo.extend("--ft-button-primary-background-color","",Oo.extend("--ft-button-background-color","",Eo.colorPrimary)),color:Kr,rippleColor:Oo.extend("--ft-button-primary-ripple-color","",Kr)},Fr=Oo.extend("--ft-button-dense-border-radius","",Oo.extend("--ft-button-border-radius","",Eo.borderRadiusM)),Zr=Oo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Dr=Oo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ar=Oo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Br=[xt`
539
+ `,kl=xo.extend("--ft-button-color","",fr.colorPrimary),Il={backgroundColor:xo.extend("--ft-button-background-color","",fr.colorSurface),borderRadius:xo.extend("--ft-button-border-radius","",fr.borderRadiusL),color:kl,fontSize:xo.extend("--ft-button-font-size","",ul.fontSize),iconSize:xo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xo.extend("--ft-button-ripple-color","",kl),verticalPadding:xo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xo.external(fr.colorOpacityDisabled,"Design system")},Ll=xo.extend("--ft-button-primary-color","",xo.extend("--ft-button-color","",fr.colorOnPrimary)),Ul={backgroundColor:xo.extend("--ft-button-primary-background-color","",xo.extend("--ft-button-background-color","",fr.colorPrimary)),color:Ll,rippleColor:xo.extend("--ft-button-primary-ripple-color","",Ll)},Wl=xo.extend("--ft-button-dense-border-radius","",xo.extend("--ft-button-border-radius","",fr.borderRadiusM)),Fl=xo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Al=xo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),jl=xo.create("--ft-button-dense-icon-padding","","SIZE","4px"),_l=[ut`
490
540
  :host {
491
541
  display: inline-block;
492
542
  max-width: 100%;
@@ -497,7 +547,7 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
497
547
  box-shadow: 0px 0px 0px transparent;
498
548
  border: 0px solid transparent;
499
549
  text-shadow: 0px 0px 0px transparent;
500
- font-size: ${Lr.fontSize};
550
+ font-size: ${Il.fontSize};
501
551
  }
502
552
 
503
553
  button:hover {
@@ -526,31 +576,31 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
526
576
  border: none;
527
577
  pointer-events: auto;
528
578
 
529
- --ft-button-internal-line-height: max(calc(${Lr.fontSize} + 2px), ${Lr.iconSize});
530
- --ft-button-internal-color: ${Lr.color};
531
- ${No(kr.size,Lr.iconSize)};
532
- ${No(ri.color,Lr.rippleColor)};
579
+ --ft-button-internal-line-height: max(calc(${Il.fontSize} + 2px), ${Il.iconSize});
580
+ --ft-button-internal-color: ${Il.color};
581
+ ${Oo($l.size,Il.iconSize)};
582
+ ${Oo(es.color,Il.rippleColor)};
533
583
 
534
- border-radius: ${Lr.borderRadius};
535
- padding: ${Lr.verticalPadding} ${Lr.horizontalPadding};
536
- background-color: ${Lr.backgroundColor};
584
+ border-radius: ${Il.borderRadius};
585
+ padding: ${Il.verticalPadding} ${Il.horizontalPadding};
586
+ background-color: ${Il.backgroundColor};
537
587
  color: var(--ft-button-internal-color);
538
588
  -webkit-mask-image: radial-gradient(white, black);
539
589
  }
540
590
 
541
591
  .ft-button.ft-button--outlined {
542
592
  border: 1px solid var(--ft-button-internal-color);
543
- padding: calc(${Lr.verticalPadding} - 1px) calc(${Lr.horizontalPadding} - 1px);
593
+ padding: calc(${Il.verticalPadding} - 1px) calc(${Il.horizontalPadding} - 1px);
544
594
  }
545
595
 
546
596
  .ft-button.ft-button--dense {
547
- padding: ${Zr} ${Dr};
548
- border-radius: ${Fr};
549
- gap: ${Ar};
597
+ padding: ${Fl} ${Al};
598
+ border-radius: ${Wl};
599
+ gap: ${jl};
550
600
  }
551
601
 
552
602
  .ft-button.ft-button--dense.ft-button--outlined {
553
- padding: calc(${Zr} - 1px) calc(${Dr} - 1px);
603
+ padding: calc(${Fl} - 1px) calc(${Al} - 1px);
554
604
  }
555
605
 
556
606
  .ft-button:not([disabled]):hover {
@@ -558,22 +608,22 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
558
608
  }
559
609
 
560
610
  .ft-button--round {
561
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Lr.verticalPadding});
611
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Il.verticalPadding});
562
612
  }
563
613
 
564
614
  .ft-button--round.ft-button--dense {
565
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Zr});
615
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Fl});
566
616
  }
567
617
 
568
618
  .ft-button[disabled] {
569
619
  filter: grayscale(1);
570
- opacity: ${Lr.opacityDisabled};
620
+ opacity: ${Il.opacityDisabled};
571
621
  }
572
622
 
573
623
  .ft-button.ft-button--primary {
574
- background-color: ${zr.backgroundColor};
575
- --ft-button-internal-color: ${zr.color};
576
- ${No(ri.color,zr.rippleColor)};
624
+ background-color: ${Ul.backgroundColor};
625
+ --ft-button-internal-color: ${Ul.color};
626
+ ${Oo(es.color,Ul.rippleColor)};
577
627
  }
578
628
 
579
629
  .ft-button:focus {
@@ -586,13 +636,13 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
586
636
  white-space: nowrap;
587
637
  text-overflow: ellipsis;
588
638
  display: block;
589
- margin: 0 ${Lr.iconPadding};
590
- ${No(yr.fontSize,"1em")};
591
- ${No(yr.lineHeight,"var(--ft-button-internal-line-height)")};
639
+ margin: 0 ${Il.iconPadding};
640
+ ${Oo(ul.fontSize,"1em")};
641
+ ${Oo(ul.lineHeight,"var(--ft-button-internal-line-height)")};
592
642
  }
593
643
 
594
644
  .ft-button--dense .ft-button--label {
595
- margin: 0 ${Ar};
645
+ margin: 0 ${jl};
596
646
  }
597
647
 
598
648
  .ft-button--label[hidden] {
@@ -605,13 +655,13 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
605
655
  }
606
656
 
607
657
  .ft-button--label[hidden] + ft-icon {
608
- margin: 0 calc(${Lr.horizontalPadding} * -1);
609
- padding: 0 ${Lr.verticalPadding};
658
+ margin: 0 calc(${Il.horizontalPadding} * -1);
659
+ padding: 0 ${Il.verticalPadding};
610
660
  }
611
661
 
612
662
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
613
- margin: 0 calc(${Dr} * -1);
614
- padding: 0 ${Zr};
663
+ margin: 0 calc(${Al} * -1);
664
+ padding: 0 ${Fl};
615
665
  }
616
666
 
617
667
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -620,39 +670,34 @@ class mo extends zt{constructor(){super(...arguments),this.renderOptions={host:t
620
670
  }
621
671
 
622
672
  ft-loader {
623
- ${No(Rr.size,Lr.iconSize)};
624
- ${No(Rr.color,"var(--ft-button-internal-color)")};
673
+ ${Oo(Cl.size,Il.iconSize)};
674
+ ${Oo(Cl.color,"var(--ft-button-internal-color)")};
625
675
  }
626
- `,Be],Mr=1,Pr=2,Hr=t=>(...o)=>({_$litDirective$:t,values:o});let jr=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
627
- /**
628
- * @license
629
- * Copyright 2018 Google LLC
630
- * SPDX-License-Identifier: BSD-3-Clause
631
- */const Tr=Hr(class extends jr{constructor(t){if(super(t),t.type!==Mr||"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((o=>t[o])).join(" ")+" "}update(t,[o]){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 o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return Q}});var _r=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Gr extends De{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 o(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 o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{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 oo`
676
+ `,_i];var Bl=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class zl extends Ri{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 ao(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 ao(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=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!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-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 Jt`
632
677
  <style>
633
678
  .ft-ripple .ft-ripple--effect {
634
679
  left: ${this.originX}px;
635
680
  top: ${this.originY}px;
636
681
  }
637
682
  </style>
638
- <div class="${Tr(t)}">
683
+ <div class="${Ze(t)}">
639
684
  <div class="ft-ripple--background"></div>
640
685
  <div class="ft-ripple--effect"></div>
641
686
  </div>
642
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}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 o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Gr.elementDefinitions={},Gr.styles=fi,_r([C({type:Boolean})],Gr.prototype,"primary",void 0),_r([C({type:Boolean})],Gr.prototype,"secondary",void 0),_r([C({type:Boolean})],Gr.prototype,"unbounded",void 0),_r([C({type:Boolean})],Gr.prototype,"activated",void 0),_r([C({type:Boolean})],Gr.prototype,"selected",void 0),_r([C({type:Boolean})],Gr.prototype,"disabled",void 0),_r([$()],Gr.prototype,"hovered",void 0),_r([$()],Gr.prototype,"focused",void 0),_r([$()],Gr.prototype,"pressed",void 0),_r([$()],Gr.prototype,"rippling",void 0),_r([$()],Gr.prototype,"originX",void 0),_r([$()],Gr.prototype,"originY",void 0),_r([U(".ft-ripple")],Gr.prototype,"ripple",void 0),_r([U(".ft-ripple--effect")],Gr.prototype,"rippleEffect",void 0),I("ft-ripple")(Gr);
687
+ `}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"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}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()}}zl.elementDefinitions={},zl.styles=ls,Bl([we({type:Boolean})],zl.prototype,"primary",void 0),Bl([we({type:Boolean})],zl.prototype,"secondary",void 0),Bl([we({type:Boolean})],zl.prototype,"unbounded",void 0),Bl([we({type:Boolean})],zl.prototype,"activated",void 0),Bl([we({type:Boolean})],zl.prototype,"selected",void 0),Bl([we({type:Boolean})],zl.prototype,"disabled",void 0),Bl([Se()],zl.prototype,"hovered",void 0),Bl([Se()],zl.prototype,"focused",void 0),Bl([Se()],zl.prototype,"pressed",void 0),Bl([Se()],zl.prototype,"rippling",void 0),Bl([Se()],zl.prototype,"originX",void 0),Bl([Se()],zl.prototype,"originY",void 0),Bl([Ee(".ft-ripple")],zl.prototype,"ripple",void 0),Bl([Ee(".ft-ripple--effect")],zl.prototype,"rippleEffect",void 0),yo("ft-ripple")(zl);
643
688
  /**
644
689
  * @license
645
690
  * Copyright 2020 Google LLC
646
691
  * SPDX-License-Identifier: BSD-3-Clause
647
692
  */
648
- const Yr=Symbol.for(""),Vr=t=>{if(t?.r===Yr)return t?._$litStatic$},Jr=t=>({_$litStatic$:t,r:Yr}),qr=new Map,Xr=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=Vr(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=qr.get(t))&&(a.raw=a,qr.set(t,o=a)),e=s}return t(o,...e)})(X);var Qr;!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"}(Qr||(Qr={}));var tn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class on extends De{constructor(){super(...arguments),this.variant=Qr.body1}render(){return this.element?Xr`
649
- <${Jr(this.element)}
693
+ const Kl=Symbol.for(""),Ml=t=>{if(t?.r===Kl)return t?._$litStatic$},Pl=t=>({_$litStatic$:t,r:Kl}),Dl=new Map,Zl=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(n=o[c],i=Ml(n));)l+=i+e[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Dl.get(t))&&(a.raw=a,Dl.set(t,e=a)),o=s}return t(e,...o)})(P);var Hl;!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"}(Hl||(Hl={}));var Tl=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Gl extends Ri{constructor(){super(...arguments),this.variant=Hl.body1}render(){return this.element?Zl`
694
+ <${Pl(this.element)}
650
695
  class="ft-typography ft-typography--${this.variant}">
651
696
  <slot></slot>
652
- </${Jr(this.element)}>
653
- `:Xr`
697
+ </${Pl(this.element)}>
698
+ `:Zl`
654
699
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
655
- `}}on.styles=[gr,br,mr,xr,vr,Or,Nr,Sr,wr,Cr,$r,...Er],tn([C()],on.prototype,"element",void 0),tn([C()],on.prototype,"variant",void 0),I("ft-typography")(on);const en=Oo.create("--ft-tooltip-distance","","SIZE","4px"),rn=Oo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),nn=Oo.create("--ft-tooltip-background-color","","COLOR","#666666"),an=Oo.create("--ft-tooltip-z-index","","NUMBER","100"),sn=Oo.external(Eo.borderRadiusS,"Design system"),ln=Oo.create("--ft-tooltip-max-width","","SIZE","150px"),cn=xt`
700
+ `}}Gl.styles=[hl,dl,yl,gl,bl,ml,vl,xl,Ol,wl,Sl,...Nl],Tl([we()],Gl.prototype,"element",void 0),Tl([we()],Gl.prototype,"variant",void 0),yo("ft-typography")(Gl);const Vl=xo.create("--ft-tooltip-distance","","SIZE","4px"),ql=xo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Yl=xo.create("--ft-tooltip-background-color","","COLOR","#666666"),Jl=xo.create("--ft-tooltip-z-index","","NUMBER","100"),Xl=xo.external(fr.borderRadiusS,"Design system"),Ql=xo.create("--ft-tooltip-max-width","","SIZE","150px"),tc=ut`
656
701
  .ft-tooltip--container {
657
702
  display: block;
658
703
  }
@@ -667,21 +712,21 @@ const Yr=Symbol.for(""),Vr=t=>{if(t?.r===Yr)return t?._$litStatic$},Jr=t=>({_$li
667
712
  box-sizing: border-box;
668
713
  overflow: hidden;
669
714
  width: max-content;
670
- max-width: ${ln};
715
+ max-width: ${Ql};
671
716
  text-align: center;
672
- padding: ${en};
673
- z-index: ${an};
717
+ padding: ${Vl};
718
+ z-index: ${Jl};
674
719
  }
675
720
 
676
721
  .ft-tooltip--content {
677
722
  padding: 4px 8px;
678
- border-radius: ${sn};
679
- background-color: ${nn};
680
- color: ${rn};
723
+ border-radius: ${Xl};
724
+ background-color: ${Yl};
725
+ color: ${ql};
681
726
  position: relative;
682
727
  word-break: break-word;
683
728
  }
684
- `;var pn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fn extends De{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 o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return oo`
729
+ `;var ec,oc,rc,ic=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class nc extends Ri{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 ao,this.revealDebouncer=new ao}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
685
730
  <div part="container"
686
731
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
687
732
  @mouseenter=${this.onHover}
@@ -699,54 +744,42 @@ const Yr=Symbol.for(""),Vr=t=>{if(t?.r===Yr)return t?._$litStatic$},Jr=t=>({_$li
699
744
  </div>
700
745
  </div>
701
746
  </div>
702
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Ue(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}fn.elementDefinitions={"ft-typography":on},fn.styles=cn,pn([C()],fn.prototype,"text",void 0),pn([C({type:Boolean})],fn.prototype,"manual",void 0),pn([C({type:Boolean})],fn.prototype,"inline",void 0),pn([C({type:Number})],fn.prototype,"delay",void 0),pn([C()],fn.prototype,"position",void 0),pn([
703
- /**
704
- * @license
705
- * Copyright 2017 Google LLC
706
- * SPDX-License-Identifier: BSD-3-Clause
707
- */
708
- function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],fn.prototype,"slotNodes",void 0),pn([U(".ft-tooltip--container")],fn.prototype,"container",void 0),pn([U(".ft-tooltip")],fn.prototype,"tooltip",void 0),pn([U(".ft-tooltip--content")],fn.prototype,"tooltipContent",void 0),pn([$()],fn.prototype,"visible",void 0),pn([E({passive:!0})],fn.prototype,"onTouch",null),pn([E({passive:!0})],fn.prototype,"onHover",null),pn([E({passive:!0})],fn.prototype,"onOut",null),pn([E({passive:!0})],fn.prototype,"onClick",null),I("ft-tooltip")(fn);
709
- /**
710
- * @license
711
- * Copyright 2017 Google LLC
712
- * SPDX-License-Identifier: BSD-3-Clause
713
- */
714
- class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}hn.directiveName="unsafeHTML",hn.resultType=1;const dn=Hr(hn);var un,yn,gn;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(un||(un={})),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;"}(yn||(yn={})),new Map([...["abw"].map((t=>[t,yn.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,yn.AUDIO])),...["avi"].map((t=>[t,yn.AVI])),...["chm","xhs"].map((t=>[t,yn.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,yn.CODE])),...["csv"].map((t=>[t,yn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,yn.DITA])),...["epub"].map((t=>[t,yn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,yn.EXCEL])),...["flac"].map((t=>[t,yn.FLAC])),...["gif"].map((t=>[t,yn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,yn.GZIP])),...["html","htm","xhtml"].map((t=>[t,yn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,yn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,yn.JPEG])),...["json"].map((t=>[t,yn.JSON])),...["m4a","m4p"].map((t=>[t,yn.M4A])),...["mov","qt"].map((t=>[t,yn.MOV])),...["mp3"].map((t=>[t,yn.MP3])),...["mp4","m4v"].map((t=>[t,yn.MP4])),...["ogg","oga"].map((t=>[t,yn.OGG])),...["pdf","ps"].map((t=>[t,yn.PDF])),...["png"].map((t=>[t,yn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,yn.POWERPOINT])),...["rar"].map((t=>[t,yn.RAR])),...["stp"].map((t=>[t,yn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,yn.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,yn.VIDEO])),...["wav"].map((t=>[t,yn.WAV])),...["wma"].map((t=>[t,yn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,yn.WORD])),...["xml","xsl","rdf"].map((t=>[t,yn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,yn.YAML])),...["zip"].map((t=>[t,yn.ZIP]))]),yn.ABW,yn.AUDIO,yn.AVI,yn.CHM,yn.CODE,yn.CSV,yn.DITA,yn.EPUB,yn.EXCEL,yn.FLAC,yn.GIF,yn.GZIP,yn.HTML,yn.IMAGE,yn.JPEG,yn.JSON,yn.M4A,yn.MOV,yn.MP3,yn.MP4,yn.OGG,yn.PDF,yn.PNG,yn.POWERPOINT,yn.RAR,yn.STP,yn.TEXT,yn.UNKNOWN,yn.VIDEO,yn.WAV,yn.WMA,yn.WORD,yn.XML,yn.YAML,yn.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(gn||(gn={}));var bn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class mn extends De{constructor(){super(...arguments),this.resolvedIcon=io}render(){const t=this.variant&&Object.values(gn).includes(this.variant)?this.variant:gn.fluid_topics,o=t!==gn.material||!!this.value;return oo`
747
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",bi(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}nc.elementDefinitions={"ft-typography":Gl},nc.styles=tc,ic([we()],nc.prototype,"text",void 0),ic([we({type:Boolean})],nc.prototype,"manual",void 0),ic([we({type:Boolean})],nc.prototype,"inline",void 0),ic([we({type:Number})],nc.prototype,"delay",void 0),ic([we()],nc.prototype,"position",void 0),ic([ke()],nc.prototype,"slotNodes",void 0),ic([Ee(".ft-tooltip--container")],nc.prototype,"container",void 0),ic([Ee(".ft-tooltip")],nc.prototype,"tooltip",void 0),ic([Ee(".ft-tooltip--content")],nc.prototype,"tooltipContent",void 0),ic([Se()],nc.prototype,"visible",void 0),ic([Ne({passive:!0})],nc.prototype,"onTouch",null),ic([Ne({passive:!0})],nc.prototype,"onHover",null),ic([Ne({passive:!0})],nc.prototype,"onOut",null),ic([Ne({passive:!0})],nc.prototype,"onClick",null),yo("ft-tooltip")(nc),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(ec||(ec={})),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;"}(oc||(oc={})),new Map([...["abw"].map((t=>[t,oc.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,oc.AUDIO])),...["avi"].map((t=>[t,oc.AVI])),...["chm","xhs"].map((t=>[t,oc.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,oc.CODE])),...["csv"].map((t=>[t,oc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,oc.DITA])),...["epub"].map((t=>[t,oc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,oc.EXCEL])),...["flac"].map((t=>[t,oc.FLAC])),...["gif"].map((t=>[t,oc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,oc.GZIP])),...["html","htm","xhtml"].map((t=>[t,oc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,oc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,oc.JPEG])),...["json"].map((t=>[t,oc.JSON])),...["m4a","m4p"].map((t=>[t,oc.M4A])),...["mov","qt"].map((t=>[t,oc.MOV])),...["mp3"].map((t=>[t,oc.MP3])),...["mp4","m4v"].map((t=>[t,oc.MP4])),...["ogg","oga"].map((t=>[t,oc.OGG])),...["pdf","ps"].map((t=>[t,oc.PDF])),...["png"].map((t=>[t,oc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,oc.POWERPOINT])),...["rar"].map((t=>[t,oc.RAR])),...["stp"].map((t=>[t,oc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,oc.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,oc.VIDEO])),...["wav"].map((t=>[t,oc.WAV])),...["wma"].map((t=>[t,oc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,oc.WORD])),...["xml","xsl","rdf"].map((t=>[t,oc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,oc.YAML])),...["zip"].map((t=>[t,oc.ZIP]))]),oc.ABW,oc.AUDIO,oc.AVI,oc.CHM,oc.CODE,oc.CSV,oc.DITA,oc.EPUB,oc.EXCEL,oc.FLAC,oc.GIF,oc.GZIP,oc.HTML,oc.IMAGE,oc.JPEG,oc.JSON,oc.M4A,oc.MOV,oc.MP3,oc.MP4,oc.OGG,oc.PDF,oc.PNG,oc.POWERPOINT,oc.RAR,oc.STP,oc.TEXT,oc.UNKNOWN,oc.VIDEO,oc.WAV,oc.WMA,oc.WORD,oc.XML,oc.YAML,oc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(rc||(rc={}));var ac=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sc extends Ri{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(rc).includes(this.variant)?this.variant:rc.fluid_topics,e=t!==rc.material||!!this.value;return Jt`
715
748
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
716
- ${dn(this.resolvedIcon)}
717
- <slot ?hidden=${o}></slot>
749
+ ${Je(this.resolvedIcon)}
750
+ <slot ?hidden=${e}></slot>
718
751
  </i>
719
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case gn.file_format:this.resolvedIcon=null!==(t=yn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case gn.material:this.resolvedIcon=this.value||io;break;default:this.resolvedIcon=null!==(o=un[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}mn.elementDefinitions={},mn.styles=Ir,bn([C()],mn.prototype,"variant",void 0),bn([C()],mn.prototype,"value",void 0),bn([$()],mn.prototype,"resolvedIcon",void 0),bn([U("slot")],mn.prototype,"slottedContent",void 0),I("ft-icon")(mn);class xn extends De{render(){return oo`
752
+ `}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 rc.file_format:this.resolvedIcon=null!==(t=oc[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case rc.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=ec[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}sc.elementDefinitions={},sc.styles=Rl,ac([we()],sc.prototype,"variant",void 0),ac([we()],sc.prototype,"value",void 0),ac([Se()],sc.prototype,"resolvedIcon",void 0),ac([Ee("slot")],sc.prototype,"slottedContent",void 0),yo("ft-icon")(sc);class lc extends Ri{render(){return Jt`
720
753
  <div class="ft-loader">
721
754
  <div></div>
722
755
  <div></div>
723
756
  <div></div>
724
757
  <div></div>
725
758
  </div>
726
- `}}xn.styles=Ur,I("ft-loader")(xn);var vn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class On extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Je].form}constructor(...t){super(t),this[Je]=this.attachInternals(),this[Je].role=o}setFormValue(t){this[Je].setFormValue(t)}}}(De,"button")){constructor(){super(),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.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(oo`
759
+ `}}lc.styles=El,yo("ft-loader")(lc);var cc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fc extends(Za(Ri,"button")){constructor(){super(),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.addEventListener("click",(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(Jt`
727
760
  <button part="button"
728
- class="${Tr(this.buttonClasses)}"
761
+ class="${Ze(this.buttonClasses)}"
729
762
  aria-label="${this.getLabel()}"
730
763
  ?disabled=${this.isDisabled()}>
731
764
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
732
765
  <ft-typography part="label"
733
766
  variant=${this.typographyVariant}
734
767
  element="span"
735
- class="ft-button--label ${ti?"ft-safari-ellipsis-fix":""}"
768
+ class="ft-button--label ${Ya?"ft-safari-ellipsis-fix":""}"
736
769
  ?hidden=${!this.hasTextContent()}>
737
770
  <slot @slotchange=${this.onSlotchange}></slot>
738
771
  </ft-typography>
739
772
  ${this.resolveIcon()}
740
773
  </button>
741
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?oo`
774
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Jt`
742
775
  <ft-tooltip part="tooltip"
743
776
  text="${this.getLabel()}"
744
777
  position="${this.tooltipPosition}">
745
778
  ${t}
746
779
  </ft-tooltip>
747
- `:t}resolveIcon(){return this.loading?oo`
748
- <ft-loader part="loader icon"></ft-loader> `:this.icon?oo`
749
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:io}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}}On.elementDefinitions={"ft-ripple":Gr,"ft-tooltip":fn,"ft-typography":on,"ft-icon":mn,"ft-loader":xn},vn([C({type:String,reflect:!0})],On.prototype,"role",void 0),vn([C()],On.prototype,"type",void 0),vn([C({type:Boolean})],On.prototype,"disabled",void 0),vn([C()],On.prototype,"label",void 0),vn([C()],On.prototype,"icon",void 0),vn([C()],On.prototype,"iconVariant",void 0),vn([C({type:Boolean})],On.prototype,"trailingIcon",void 0),vn([C({type:Boolean})],On.prototype,"loading",void 0),vn([C()],On.prototype,"tooltipPosition",void 0),vn([C({type:Boolean})],On.prototype,"hideTooltip",void 0),vn([C({type:Boolean})],On.prototype,"forceTooltip",void 0),vn([U(".ft-button")],On.prototype,"button",void 0),vn([U(".ft-button--label slot")],On.prototype,"slottedContent",void 0);var Nn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Sn extends On{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"}}Sn.styles=[Me,Br],Nn([C({type:Boolean})],Sn.prototype,"primary",void 0),Nn([C({type:Boolean})],Sn.prototype,"outlined",void 0),Nn([C({type:Boolean})],Sn.prototype,"dense",void 0),Nn([C({type:Boolean})],Sn.prototype,"round",void 0);const wn=[xt`
780
+ `:t}resolveIcon(){return this.loading?Jt`
781
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
782
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:te}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}}fc.elementDefinitions={"ft-ripple":zl,"ft-tooltip":nc,"ft-typography":Gl,"ft-icon":sc,"ft-loader":lc},cc([we({type:String,reflect:!0})],fc.prototype,"role",void 0),cc([we()],fc.prototype,"type",void 0),cc([we({type:Boolean})],fc.prototype,"disabled",void 0),cc([we()],fc.prototype,"label",void 0),cc([we()],fc.prototype,"icon",void 0),cc([we()],fc.prototype,"iconVariant",void 0),cc([we({type:Boolean})],fc.prototype,"trailingIcon",void 0),cc([we({type:Boolean})],fc.prototype,"loading",void 0),cc([we()],fc.prototype,"tooltipPosition",void 0),cc([we({type:Boolean})],fc.prototype,"hideTooltip",void 0),cc([we({type:Boolean})],fc.prototype,"forceTooltip",void 0),cc([Ee(".ft-button")],fc.prototype,"button",void 0),cc([Ee(".ft-button--label slot")],fc.prototype,"slottedContent",void 0);var pc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class uc extends fc{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"}}uc.styles=[zi,_l],pc([we({type:Boolean})],uc.prototype,"primary",void 0),pc([we({type:Boolean})],uc.prototype,"outlined",void 0),pc([we({type:Boolean})],uc.prototype,"dense",void 0),pc([we({type:Boolean})],uc.prototype,"round",void 0);const hc=[ut`
750
783
  :host {
751
784
  display: inline-block;
752
785
  max-width: 100%;
@@ -796,7 +829,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
796
829
  }
797
830
 
798
831
  .ft-button:focus-visible {
799
- outline-color: ${$o.focusFocusRingColor};
832
+ outline-color: ${Yo.focusFocusRingColor};
800
833
  outline-style: solid;
801
834
  }
802
835
 
@@ -825,146 +858,146 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
825
858
  /** Primary styles **/
826
859
 
827
860
  .ft-button--primary {
828
- ${No(Rr.color,$o.primaryIconColor)};
861
+ ${Oo(Cl.color,Yo.primaryIconColor)};
829
862
 
830
- ${No(ri.color,$o.primaryStateLayerColor)};
831
- ${No(ri.opacityContentOnSurfaceHover,$o.primaryStateLayerOpacityHover)};
832
- ${No(ri.opacityContentOnSurfaceFocused,$o.primaryStateLayerOpacityFocus)};
833
- ${No(ri.opacityContentOnSurfaceSelected,$o.primaryStateLayerOpacityActive)};
834
- ${No(ri.opacityContentOnSurfacePressed,$o.primaryStateLayerOpacityActive)};
863
+ ${Oo(es.color,Yo.primaryStateLayerColor)};
864
+ ${Oo(es.opacityContentOnSurfaceHover,Yo.primaryStateLayerOpacityHover)};
865
+ ${Oo(es.opacityContentOnSurfaceFocused,Yo.primaryStateLayerOpacityFocus)};
866
+ ${Oo(es.opacityContentOnSurfaceSelected,Yo.primaryStateLayerOpacityActive)};
867
+ ${Oo(es.opacityContentOnSurfacePressed,Yo.primaryStateLayerOpacityActive)};
835
868
 
836
- background-color: ${$o.primaryBackgroundColor};
837
- color: ${$o.primaryColor};
869
+ background-color: ${Yo.primaryBackgroundColor};
870
+ color: ${Yo.primaryColor};
838
871
  border-style: none;
839
872
  }
840
873
 
841
874
  .ft-button--primary[disabled] {
842
- opacity: ${$o.primaryComponentOpacityDisabled};
875
+ opacity: ${Yo.primaryComponentOpacityDisabled};
843
876
  }
844
877
 
845
878
  .ft-button--primary ft-icon {
846
- color: ${$o.primaryIconColor};
879
+ color: ${Yo.primaryIconColor};
847
880
  }
848
881
 
849
882
  /** Secondary styles **/
850
883
 
851
884
  .ft-button--secondary {
852
- ${No(Rr.color,$o.secondaryIconColor)};
885
+ ${Oo(Cl.color,Yo.secondaryIconColor)};
853
886
 
854
- ${No(ri.color,$o.secondaryStateLayerColor)};
855
- ${No(ri.opacityContentOnSurfaceHover,$o.secondaryStateLayerOpacityHover)};
856
- ${No(ri.opacityContentOnSurfaceFocused,$o.secondaryStateLayerOpacityFocus)};
857
- ${No(ri.opacityContentOnSurfaceSelected,$o.secondaryStateLayerOpacityActive)};
858
- ${No(ri.opacityContentOnSurfacePressed,$o.secondaryStateLayerOpacityActive)};
887
+ ${Oo(es.color,Yo.secondaryStateLayerColor)};
888
+ ${Oo(es.opacityContentOnSurfaceHover,Yo.secondaryStateLayerOpacityHover)};
889
+ ${Oo(es.opacityContentOnSurfaceFocused,Yo.secondaryStateLayerOpacityFocus)};
890
+ ${Oo(es.opacityContentOnSurfaceSelected,Yo.secondaryStateLayerOpacityActive)};
891
+ ${Oo(es.opacityContentOnSurfacePressed,Yo.secondaryStateLayerOpacityActive)};
859
892
 
860
- background-color: ${$o.secondaryBackgroundColor};
861
- color: ${$o.secondaryColor};
862
- border-color: ${$o.secondaryBorderColor};
893
+ background-color: ${Yo.secondaryBackgroundColor};
894
+ color: ${Yo.secondaryColor};
895
+ border-color: ${Yo.secondaryBorderColor};
863
896
  border-style: solid;
864
897
  }
865
898
 
866
899
  .ft-button--secondary[disabled] {
867
- opacity: ${$o.secondaryComponentOpacityDisabled};
900
+ opacity: ${Yo.secondaryComponentOpacityDisabled};
868
901
  }
869
902
 
870
903
  .ft-button--secondary ft-icon {
871
- color: ${$o.secondaryIconColor};
904
+ color: ${Yo.secondaryIconColor};
872
905
  }
873
906
 
874
907
  /** Tertiary styles **/
875
908
 
876
909
  .ft-button--tertiary {
877
- ${No(Rr.color,$o.tertiaryIconColor)};
910
+ ${Oo(Cl.color,Yo.tertiaryIconColor)};
878
911
 
879
- ${No(ri.color,$o.tertiaryStateLayerColor)};
880
- ${No(ri.opacityContentOnSurfaceHover,$o.tertiaryStateLayerOpacityHover)};
881
- ${No(ri.opacityContentOnSurfaceFocused,$o.tertiaryStateLayerOpacityFocus)};
882
- ${No(ri.opacityContentOnSurfaceSelected,$o.tertiaryStateLayerOpacityActive)};
883
- ${No(ri.opacityContentOnSurfacePressed,$o.tertiaryStateLayerOpacityActive)};
912
+ ${Oo(es.color,Yo.tertiaryStateLayerColor)};
913
+ ${Oo(es.opacityContentOnSurfaceHover,Yo.tertiaryStateLayerOpacityHover)};
914
+ ${Oo(es.opacityContentOnSurfaceFocused,Yo.tertiaryStateLayerOpacityFocus)};
915
+ ${Oo(es.opacityContentOnSurfaceSelected,Yo.tertiaryStateLayerOpacityActive)};
916
+ ${Oo(es.opacityContentOnSurfacePressed,Yo.tertiaryStateLayerOpacityActive)};
884
917
 
885
- background-color: ${$o.tertiaryBackgroundColor};
886
- color: ${$o.tertiaryColor};
918
+ background-color: ${Yo.tertiaryBackgroundColor};
919
+ color: ${Yo.tertiaryColor};
887
920
  border-style: none;
888
921
  }
889
922
 
890
923
  .ft-button--tertiary[disabled] {
891
- opacity: ${$o.tertiaryComponentOpacityDisabled};
924
+ opacity: ${Yo.tertiaryComponentOpacityDisabled};
892
925
  }
893
926
 
894
927
  .ft-button--tertiary ft-icon {
895
- color: ${$o.tertiaryIconColor};
928
+ color: ${Yo.tertiaryIconColor};
896
929
  }
897
930
 
898
931
  /** Neutral styles **/
899
932
 
900
933
  .ft-button--neutral {
901
- ${No(Rr.color,$o.neutralIconColor)};
934
+ ${Oo(Cl.color,Yo.neutralIconColor)};
902
935
 
903
- ${No(ri.backgroundColor,$o.neutralStateLayerColor)};
904
- ${No(ri.opacityContentOnSurfaceHover,$o.neutralStateLayerOpacityHover)};
905
- ${No(ri.opacityContentOnSurfaceFocused,$o.neutralStateLayerOpacityFocus)};
906
- ${No(ri.opacityContentOnSurfaceSelected,$o.neutralStateLayerOpacityActive)};
907
- ${No(ri.opacityContentOnSurfacePressed,$o.neutralStateLayerOpacityActive)};
936
+ ${Oo(es.backgroundColor,Yo.neutralStateLayerColor)};
937
+ ${Oo(es.opacityContentOnSurfaceHover,Yo.neutralStateLayerOpacityHover)};
938
+ ${Oo(es.opacityContentOnSurfaceFocused,Yo.neutralStateLayerOpacityFocus)};
939
+ ${Oo(es.opacityContentOnSurfaceSelected,Yo.neutralStateLayerOpacityActive)};
940
+ ${Oo(es.opacityContentOnSurfacePressed,Yo.neutralStateLayerOpacityActive)};
908
941
 
909
- background-color: ${$o.neutralBackgroundColor};
910
- color: ${$o.neutralColor};
942
+ background-color: ${Yo.neutralBackgroundColor};
943
+ color: ${Yo.neutralColor};
911
944
  border-style: none;
912
945
  }
913
946
 
914
947
  .ft-button--neutral[disabled] {
915
- opacity: ${$o.neutralComponentOpacityDisabled};
948
+ opacity: ${Yo.neutralComponentOpacityDisabled};
916
949
  }
917
950
 
918
951
  .ft-button--neutral ft-icon {
919
- color: ${$o.neutralIconColor};
952
+ color: ${Yo.neutralIconColor};
920
953
  }
921
954
 
922
955
  /** Large styles **/
923
956
 
924
957
  .ft-button--large {
925
- ${No(kr.size,$o.largeIconSize)};
926
- ${No(Rr.size,$o.largeIconSize)};
927
-
928
- height: ${$o.largeHeight};
929
- padding: 0 ${$o.largeHorizontalPadding};
930
- gap: ${$o.largeGap};
931
- border-radius: ${$o.largeBorderRadius};
932
- border-width: ${$o.largeBorderWidth};
958
+ ${Oo($l.size,Yo.largeIconSize)};
959
+ ${Oo(Cl.size,Yo.largeIconSize)};
960
+
961
+ height: ${Yo.largeHeight};
962
+ padding: 0 ${Yo.largeHorizontalPadding};
963
+ gap: ${Yo.largeGap};
964
+ border-radius: ${Yo.largeBorderRadius};
965
+ border-width: ${Yo.largeBorderWidth};
933
966
  }
934
967
 
935
968
  .ft-button--large:focus-visible {
936
- outline-width: ${$o.largeFocusOutlineWidth};
937
- outline-offset: ${$o.largeFocusOutlineOffset};
969
+ outline-width: ${Yo.largeFocusOutlineWidth};
970
+ outline-offset: ${Yo.largeFocusOutlineOffset};
938
971
  }
939
972
 
940
973
  .ft-button--large.ft-button--icon-only {
941
- width: ${$o.largeIconOnlyWidth};
974
+ width: ${Yo.largeIconOnlyWidth};
942
975
  padding: unset;
943
976
  }
944
977
 
945
978
  /** Small styles **/
946
979
 
947
980
  .ft-button--small {
948
- ${No(kr.size,$o.smallIconSize)};
949
- ${No(Rr.size,$o.smallIconSize)};
950
-
951
- height: ${$o.smallHeight};
952
- padding: 0 ${$o.smallHorizontalPadding};
953
- gap: ${$o.smallGap};
954
- border-radius: ${$o.smallBorderRadius};
955
- border-width: ${$o.smallBorderWidth};
981
+ ${Oo($l.size,Yo.smallIconSize)};
982
+ ${Oo(Cl.size,Yo.smallIconSize)};
983
+
984
+ height: ${Yo.smallHeight};
985
+ padding: 0 ${Yo.smallHorizontalPadding};
986
+ gap: ${Yo.smallGap};
987
+ border-radius: ${Yo.smallBorderRadius};
988
+ border-width: ${Yo.smallBorderWidth};
956
989
  }
957
990
 
958
991
  .ft-button--small:focus-visible {
959
- outline-width: ${$o.smallFocusOutlineWidth};
960
- outline-offset: ${$o.smallFocusOutlineOffset};
992
+ outline-width: ${Yo.smallFocusOutlineWidth};
993
+ outline-offset: ${Yo.smallFocusOutlineOffset};
961
994
  }
962
995
 
963
996
  .ft-button--small.ft-button--icon-only {
964
- width: ${$o.smallIconOnlyWidth};
997
+ width: ${Yo.smallIconOnlyWidth};
965
998
  padding: unset;
966
999
  }
967
- `,Be];var Cn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class $n extends On{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?Qr.caption1medium:Qr.body2medium}}$n.styles=[Me,wn],Cn([C({type:Boolean})],$n.prototype,"primary",void 0),Cn([C({type:Boolean})],$n.prototype,"secondary",void 0),Cn([C({type:Boolean})],$n.prototype,"tertiary",void 0),Cn([C({type:Boolean})],$n.prototype,"neutral",void 0),Cn([C({type:Boolean})],$n.prototype,"small",void 0),I("ft-button")(Sn),I("ftds-button")($n);const En={iconColor:Oo.extend("--ft-floating-menu-icon-color","",Eo.colorOnSurfaceMedium)},Rn=xt`
1000
+ `,_i];var dc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yc extends fc{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?Hl.caption1medium:Hl.body2medium}}yc.styles=[zi,hc],dc([we({type:Boolean})],yc.prototype,"primary",void 0),dc([we({type:Boolean})],yc.prototype,"secondary",void 0),dc([we({type:Boolean})],yc.prototype,"tertiary",void 0),dc([we({type:Boolean})],yc.prototype,"neutral",void 0),dc([we({type:Boolean})],yc.prototype,"small",void 0),yo("ft-button")(uc),yo("ftds-button")(yc);const gc={iconColor:xo.extend("--ft-floating-menu-icon-color","",fr.colorOnSurfaceMedium)},bc=ut`
968
1001
  .ft-floating-menu-item {
969
1002
  cursor: pointer;
970
1003
  display: flex;
@@ -979,7 +1012,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
979
1012
  }
980
1013
 
981
1014
  .ft-floating-menu-item ft-icon {
982
- color: ${En.iconColor};
1015
+ color: ${gc.iconColor};
983
1016
  margin-left: 0;
984
1017
  flex-shrink: 0;
985
1018
  flex-grow: 0;
@@ -994,21 +1027,21 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
994
1027
  word-break: break-word;
995
1028
  hyphens: auto;
996
1029
  }
997
- `;var Un=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class kn extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class In extends De{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return oo`
1030
+ `;var mc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class vc extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class xc extends Ri{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return Jt`
998
1031
  <div class="ft-floating-menu-item"
999
1032
  tabindex=${this.notFocusable?"-1":"0"}
1000
1033
  @keydown=${t=>this.onKeyDown(t)}
1001
1034
  @click=${this.onClick}>
1002
1035
  <ft-ripple></ft-ripple>
1003
- ${this.icon?oo`
1036
+ ${this.icon?Jt`
1004
1037
  <ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1005
- `:io}
1038
+ `:te}
1006
1039
  <ft-typography variant="body2">
1007
1040
  <slot></slot>
1008
1041
  </ft-typography>
1009
1042
  </div>
1010
- `}onClick(t){this.dispatchEvent(new kn(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new kn(this.value)))}}In.elementDefinitions={"ft-icon":mn,"ft-ripple":Gr,"ft-typography":on},In.styles=Rn,Un([C()],In.prototype,"iconVariant",void 0),Un([C()],In.prototype,"icon",void 0),Un([C()],In.prototype,"value",void 0),Un([C({type:Boolean})],In.prototype,"notFocusable",void 0);var Wn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ln extends De{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=gn.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return oo`
1011
- <div part="container" class="${Tr(t)}">
1043
+ `}onClick(t){this.dispatchEvent(new vc(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new vc(this.value)))}}xc.elementDefinitions={"ft-icon":sc,"ft-ripple":zl,"ft-typography":Gl},xc.styles=bc,mc([we()],xc.prototype,"iconVariant",void 0),mc([we()],xc.prototype,"icon",void 0),mc([we()],xc.prototype,"value",void 0),mc([we({type:Boolean})],xc.prototype,"notFocusable",void 0);var Oc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wc extends Ri{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=rc.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return Jt`
1044
+ <div part="container" class="${Ze(t)}">
1012
1045
  <slot name="toggle"
1013
1046
  part="toggle"
1014
1047
  @click=${this.toggleMenu}>
@@ -1042,7 +1075,7 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
1042
1075
  </div>
1043
1076
  </div>
1044
1077
  </div>
1045
- `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){(function(t,o,e=window.document.body){if(o.length>0){const i=t.composedPath();for(let t of i){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1})(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Ue(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}Ln.elementDefinitions={"ft-floating-menu-item":In},Wn([$()],Ln.prototype,"menuOpen",void 0),Wn([$()],Ln.prototype,"forceMenuOpen",void 0),Wn([U(".ft-floating-menu")],Ln.prototype,"container",void 0),Wn([U(".ft-floating-menu--wrapper")],Ln.prototype,"menuWrapper",void 0),Wn([U("#actions-button")],Ln.prototype,"actionButton",void 0),Wn([function(t){return(o,e)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(n),e=o?.assignedElements(t)??[];return void 0===r?e:e.filter((t=>t.matches(r)))}})}}({slot:"toggle"})],Ln.prototype,"customToggle",void 0),Wn([C({type:Boolean})],Ln.prototype,"primary",void 0),Wn([C({type:Boolean})],Ln.prototype,"secondary",void 0),Wn([C({type:Boolean})],Ln.prototype,"tertiary",void 0),Wn([C({type:Boolean})],Ln.prototype,"neutral",void 0),Wn([C({type:Boolean})],Ln.prototype,"small",void 0),Wn([C()],Ln.prototype,"label",void 0),Wn([C()],Ln.prototype,"tooltipPosition",void 0),Wn([C()],Ln.prototype,"iconVariant",void 0),Wn([C()],Ln.prototype,"icon",void 0),Wn([C()],Ln.prototype,"text",void 0),Wn([C()],Ln.prototype,"horizontalAlignment",void 0),Wn([C()],Ln.prototype,"verticalAlignment",void 0),Wn([C({type:Boolean})],Ln.prototype,"disabled",void 0),Wn([W([])],Ln.prototype,"closeMenuMatchers",void 0);class Kn extends Ln{}Kn.elementDefinitions={"ft-or-ftds-button":Sn},Kn.styles=ei;class zn extends Ln{}zn.elementDefinitions={"ft-or-ftds-button":$n},zn.styles=ei;const Fn={color:Oo.extend("--ft-floating-menu-label-color","",Eo.colorOnSurfaceMedium)},Zn=xt`
1078
+ `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){uo(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:e,y:o}=await bi(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${e}px`,this.menuWrapper.style.top=`${o}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}wc.elementDefinitions={"ft-floating-menu-item":xc},Oc([Se()],wc.prototype,"menuOpen",void 0),Oc([Se()],wc.prototype,"forceMenuOpen",void 0),Oc([Ee(".ft-floating-menu")],wc.prototype,"container",void 0),Oc([Ee(".ft-floating-menu--wrapper")],wc.prototype,"menuWrapper",void 0),Oc([Ee("#actions-button")],wc.prototype,"actionButton",void 0),Oc([Re({slot:"toggle"})],wc.prototype,"customToggle",void 0),Oc([we({type:Boolean})],wc.prototype,"primary",void 0),Oc([we({type:Boolean})],wc.prototype,"secondary",void 0),Oc([we({type:Boolean})],wc.prototype,"tertiary",void 0),Oc([we({type:Boolean})],wc.prototype,"neutral",void 0),Oc([we({type:Boolean})],wc.prototype,"small",void 0),Oc([we()],wc.prototype,"label",void 0),Oc([we()],wc.prototype,"tooltipPosition",void 0),Oc([we()],wc.prototype,"iconVariant",void 0),Oc([we()],wc.prototype,"icon",void 0),Oc([we()],wc.prototype,"text",void 0),Oc([we()],wc.prototype,"horizontalAlignment",void 0),Oc([we()],wc.prototype,"verticalAlignment",void 0),Oc([we({type:Boolean})],wc.prototype,"disabled",void 0),Oc([go([])],wc.prototype,"closeMenuMatchers",void 0);class Sc extends wc{}Sc.elementDefinitions={"ft-or-ftds-button":uc},Sc.styles=Qa;class Nc extends wc{}Nc.elementDefinitions={"ft-or-ftds-button":yc},Nc.styles=Qa;const Cc={color:xo.extend("--ft-floating-menu-label-color","",fr.colorOnSurfaceMedium)},Ec=ut`
1046
1079
  .ft-floating-menu-label {
1047
1080
  padding: 4px 8px;
1048
1081
  }
@@ -1053,12 +1086,12 @@ class hn extends jr{constructor(t){if(super(t),this.et=tt,t.type!==Pr)throw Erro
1053
1086
  width: max-content;
1054
1087
  text-overflow: ellipsis;
1055
1088
  overflow: hidden;
1056
- color: ${Fn.color}
1089
+ color: ${Cc.color}
1057
1090
  }
1058
- `;class Dn extends De{render(){return oo`
1091
+ `;class $c extends Ri{render(){return Jt`
1059
1092
  <div class="ft-floating-menu-label">
1060
1093
  <ft-typography variant="caption">
1061
1094
  <slot></slot>
1062
1095
  </ft-typography>
1063
1096
  </div>
1064
- `}}Dn.elementDefinitions={"ft-typography":on},Dn.styles=Zn,I("ft-floating-menu")(Kn),I("ftds-floating-menu")(zn),I("ft-floating-menu-item")(In),I("ft-floating-menu-label")(Dn),t.FtFloatingMenu=Kn,t.FtFloatingMenuCssVariables=oi,t.FtFloatingMenuItem=In,t.FtFloatingMenuItemCssVariables=En,t.FtFloatingMenuItemSelect=kn,t.FtFloatingMenuLabel=Dn,t.FtFloatingMenuLabelCssVariables=Fn,t.FtdsFloatingMenu=zn,t.itemStyles=Rn,t.labelStyles=Zn,t.styles=ei}({});
1097
+ `}}$c.elementDefinitions={"ft-typography":Gl},$c.styles=Ec,yo("ft-floating-menu")(Sc),yo("ftds-floating-menu")(Nc),yo("ft-floating-menu-item")(xc),yo("ft-floating-menu-label")($c),t.FtFloatingMenu=Sc,t.FtFloatingMenuCssVariables=Xa,t.FtFloatingMenuItem=xc,t.FtFloatingMenuItemCssVariables=gc,t.FtFloatingMenuItemSelect=vc,t.FtFloatingMenuLabel=$c,t.FtFloatingMenuLabelCssVariables=Cc,t.FtdsFloatingMenu=Nc,t.itemStyles=bc,t.labelStyles=Ec,t.styles=Qa}({});