@fluid-topics/ft-search-type 1.1.36 → 1.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);p(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 f=o.call(i,t);f||(f=h(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(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 e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,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},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?d(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(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 i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};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 i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(ds){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,i)=>t((t=>{this.isCanceled?i(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?i(new e("Promise has been canceled",void 0,t)):i(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const i=t=>new o(((e,o)=>t.then(e).catch(o)));class r{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 o&&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=i(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 n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);p(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 f=o.call(i,t);f||(f=h(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(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 e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,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},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(o)||window.customElements,r=i._getDefinition(e);return r?d(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},p=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){u(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 i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};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 i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(us){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,i)=>t((t=>{this.isCanceled?i(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?i(new e("Promise has been canceled",void 0,t)):i(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const i=t=>new o(((e,o)=>t.then(e).catch(o)));class r{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 o&&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=i(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 n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -48,50 +48,50 @@ const $={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:N},k=(t=$,e,
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */;function W(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return L(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 L(0,0,{get(){return n(this)}})}}
51
+ */;function A(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return L(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 L(0,0,{get(){return n(this)}})}}
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */let A;const D=t=>new Promise((e=>setTimeout(e,t)));function F(t,e){return t.flatMap((t=>[t,...F(e(t),e)]))}function j(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!j(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!j(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!j(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const z=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function P(t,e){const o=()=>JSON.parse(JSON.stringify(t));return R({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)=>!j(t,e),...null!=e?e:{}})}
56
+ */let W;function D(t,e){return t.flatMap((t=>[t,...D(e(t),e)]))}function F(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!F(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!F(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!F(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const j=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function z(t,e){const o=()=>JSON.parse(JSON.stringify(t));return R({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)=>!F(t,e),...null!=e?e:{}})}
57
57
  /**
58
58
  * @license
59
59
  * Copyright 2017 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
- */const K=globalThis,B=K.trustedTypes,T=B?B.createPolicy("lit-html",{createHTML:t=>t}):void 0,M="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,_="?"+Z,H=`<${_}>`,G=document,V=()=>G.createComment(""),q=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Y=Array.isArray,X=t=>Y(t)||"function"==typeof t?.[Symbol.iterator],J="[ \t\n\f\r]",Q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,tt=/-->/g,et=/>/g,ot=RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),it=/'/g,rt=/"/g,nt=/^(?:script|style|textarea|title)$/i,at=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),st=Symbol.for("lit-noChange"),lt=Symbol.for("lit-nothing"),ct=new WeakMap,ft=G.createTreeWalker(G,129);function ht(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==T?T.createHTML(e):e}const pt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Q;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===Q?"!--"===l[1]?a=tt:void 0!==l[1]?a=et:void 0!==l[2]?(nt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=ot):void 0!==l[3]&&(a=ot):a===ot?">"===l[0]?(a=r??Q,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?ot:'"'===l[3]?rt:it):a===rt||a===it?a=ot:a===tt||a===et?a=Q:(a=ot,r=void 0);const h=a===ot&&t[e+1].startsWith("/>")?" ":"";n+=a===Q?o+H:c>=0?(i.push(s),o.slice(0,c)+M+o.slice(c)+Z+h):o+Z+(-2===c?e:h)}return[ht(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let ut=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=pt(e,o);if(this.el=t.createElement(c,i),ft.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ft.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(M)){const e=f[a++],o=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?mt:"?"===i[1]?vt:"@"===i[1]?xt:bt}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(nt.test(r.tagName)){const t=r.textContent.split(Z),e=t.length-1;if(e>0){r.textContent=B?B.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],V()),ft.nextNode(),l.push({type:2,index:++n});r.append(t[e],V())}}}else if(8===r.nodeType)if(r.data===_)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,e){const o=G.createElement("template");return o.innerHTML=t,o}};function dt(t,e,o=t,i){if(e===st)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=q(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=dt(t,r._$AS(t,e.values),r,i)),e}let yt=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,i=(t?.creationScope??G).importNode(e,!0);ft.currentNode=i;let r=ft.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new gt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new Ot(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ft.nextNode(),n++)}return ft.currentNode=G,i}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++}},gt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=lt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.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=dt(this,t,e),q(t)?t===lt||null==t||""===t?(this._$AH!==lt&&this._$AR(),this._$AH=lt):t!==this._$AH&&t!==st&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):X(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!==lt&&q(this._$AH)?this._$AA.nextSibling.data=t:this.$(G.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ut.createElement(ht(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new yt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ct.get(t.strings);return void 0===e&&ct.set(t.strings,e=new ut(t)),e}T(e){Y(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(V()),this.k(V()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$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))}},bt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=lt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=lt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=dt(this,t,e,0),n=!q(t)||t!==this._$AH&&t!==st,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=dt(this,i[o+a],e,a),s===st&&(s=this._$AH[a]),n||=!q(s)||s!==this._$AH[a],s===lt?t=lt:t!==lt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===lt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},mt=class extends bt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===lt?void 0:t}},vt=class extends bt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==lt)}},xt=class extends bt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=dt(this,t,e,0)??lt)===st)return;const o=this._$AH,i=t===lt&&o!==lt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==lt&&(o===lt||i);i&&this.element.removeEventListener(this.name,this,o),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)}},Ot=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){dt(this,t)}};const wt={j:M,P:Z,A:_,C:1,M:pt,L:yt,R:X,V:dt,D:gt,I:bt,H:vt,N:xt,U:mt,B:Ot},St=K.litHtmlPolyfillSupport;St?.(ut,gt),(K.litHtmlVersions??=[]).push("3.1.0");
61
+ */const P=globalThis,K=P.trustedTypes,B=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,M="$lit$",T=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+T,_=`<${Z}>`,H=document,G=()=>H.createComment(""),V=t=>null===t||"object"!=typeof t&&"function"!=typeof t,q=Array.isArray,Y=t=>q(t)||"function"==typeof t?.[Symbol.iterator],X="[ \t\n\f\r]",J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Q=/-->/g,tt=/>/g,et=RegExp(`>|${X}(?:([^\\s"'>=/]+)(${X}*=${X}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ot=/'/g,it=/"/g,rt=/^(?:script|style|textarea|title)$/i,nt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),at=Symbol.for("lit-noChange"),st=Symbol.for("lit-nothing"),lt=new WeakMap,ct=H.createTreeWalker(H,129);function ft(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==B?B.createHTML(e):e}const ht=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=J;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===J?"!--"===l[1]?a=Q:void 0!==l[1]?a=tt:void 0!==l[2]?(rt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=et):void 0!==l[3]&&(a=et):a===et?">"===l[0]?(a=r??J,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?et:'"'===l[3]?it:ot):a===it||a===ot?a=et:a===Q||a===tt?a=J:(a=et,r=void 0);const h=a===et&&t[e+1].startsWith("/>")?" ":"";n+=a===J?o+_:c>=0?(i.push(s),o.slice(0,c)+M+o.slice(c)+T+h):o+T+(-2===c?e:h)}return[ft(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let pt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=ht(e,o);if(this.el=t.createElement(c,i),ct.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ct.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(M)){const e=f[a++],o=r.getAttribute(t).split(T),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?bt:"?"===i[1]?mt:"@"===i[1]?vt:gt}),r.removeAttribute(t)}else t.startsWith(T)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(rt.test(r.tagName)){const t=r.textContent.split(T),e=t.length-1;if(e>0){r.textContent=K?K.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],G()),ct.nextNode(),l.push({type:2,index:++n});r.append(t[e],G())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(T,t+1));)l.push({type:7,index:n}),t+=T.length-1}n++}}static createElement(t,e){const o=H.createElement("template");return o.innerHTML=t,o}};function ut(t,e,o=t,i){if(e===at)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=V(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=ut(t,r._$AS(t,e.values),r,i)),e}let dt=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,i=(t?.creationScope??H).importNode(e,!0);ct.currentNode=i;let r=ct.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new yt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new xt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ct.nextNode(),n++)}return ct.currentNode=H,i}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++}},yt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=st,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.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=ut(this,t,e),V(t)?t===st||null==t||""===t?(this._$AH!==st&&this._$AR(),this._$AH=st):t!==this._$AH&&t!==at&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Y(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!==st&&V(this._$AH)?this._$AA.nextSibling.data=t:this.$(H.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=pt.createElement(ft(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new dt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=lt.get(t.strings);return void 0===e&&lt.set(t.strings,e=new pt(t)),e}T(e){q(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(G()),this.k(G()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$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))}},gt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=st,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=st}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ut(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==at,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ut(this,i[o+a],e,a),s===at&&(s=this._$AH[a]),n||=!V(s)||s!==this._$AH[a],s===st?t=st:t!==st&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===st?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},bt=class extends gt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===st?void 0:t}},mt=class extends gt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==st)}},vt=class extends gt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ut(this,t,e,0)??st)===at)return;const o=this._$AH,i=t===st&&o!==st||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==st&&(o===st||i);i&&this.element.removeEventListener(this.name,this,o),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)}},xt=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){ut(this,t)}};const Ot={j:M,P:T,A:Z,C:1,M:ht,L:dt,R:Y,V:ut,D:yt,I:gt,H:mt,N:vt,U:bt,B:xt},wt=P.litHtmlPolyfillSupport;wt?.(pt,yt),(P.litHtmlVersions??=[]).push("3.1.0");
62
62
  /**
63
63
  * @license
64
64
  * Copyright 2019 Google LLC
65
65
  * SPDX-License-Identifier: BSD-3-Clause
66
66
  */
67
- const Nt=globalThis,Ct=Nt.ShadowRoot&&(void 0===Nt.ShadyCSS||Nt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Et=Symbol(),$t=new WeakMap;let kt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==Et)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(Ct&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=$t.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&$t.set(e,t))}return t}toString(){return this.cssText}};const Rt=t=>new kt("string"==typeof t?t:t+"",void 0,Et),It=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new kt(o,t,Et)},Ut=Ct?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Rt(e)})(t):t
67
+ const St=globalThis,Nt=St.ShadowRoot&&(void 0===St.ShadyCSS||St.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ct=Symbol(),Et=new WeakMap;let $t=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==Ct)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(Nt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=Et.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Et.set(e,t))}return t}toString(){return this.cssText}};const kt=t=>new $t("string"==typeof t?t:t+"",void 0,Ct),Rt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new $t(o,t,Ct)},It=Nt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return kt(e)})(t):t
68
68
  /**
69
69
  * @license
70
70
  * Copyright 2017 Google LLC
71
71
  * SPDX-License-Identifier: BSD-3-Clause
72
- */,{is:Lt,defineProperty:Wt,getOwnPropertyDescriptor:At,getOwnPropertyNames:Dt,getOwnPropertySymbols:Ft,getPrototypeOf:jt}=Object,zt=globalThis,Pt=zt.trustedTypes,Kt=Pt?Pt.emptyScript:"",Bt=zt.reactiveElementPolyfillSupport,Tt=(t,e)=>t,Mt={toAttribute(t,e){switch(e){case Boolean:t=t?Kt: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}},Zt=(t,e)=>!Lt(t,e),_t={attribute:!0,type:String,converter:Mt,reflect:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),zt.litPropertyMetadata??=new WeakMap;let Ht=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=_t){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Wt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=At(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??_t}static _$Ei(){if(this.hasOwnProperty(Tt("elementProperties")))return;const t=jt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Tt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Tt("properties"))){const t=this.properties,e=[...Dt(t),...Ft(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(Ut(t))}else void 0!==t&&e.push(Ut(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(Ct)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=Nt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Mt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Mt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Zt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Ht.elementStyles=[],Ht.shadowRootOptions={mode:"open"},Ht[Tt("elementProperties")]=new Map,Ht[Tt("finalized")]=new Map,Bt?.({ReactiveElement:Ht}),(zt.reactiveElementVersions??=[]).push("2.0.2");
72
+ */,{is:Ut,defineProperty:Lt,getOwnPropertyDescriptor:At,getOwnPropertyNames:Wt,getOwnPropertySymbols:Dt,getPrototypeOf:Ft}=Object,jt=globalThis,zt=jt.trustedTypes,Pt=zt?zt.emptyScript:"",Kt=jt.reactiveElementPolyfillSupport,Bt=(t,e)=>t,Mt={toAttribute(t,e){switch(e){case Boolean:t=t?Pt: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}},Tt=(t,e)=>!Ut(t,e),Zt={attribute:!0,type:String,converter:Mt,reflect:!1,hasChanged:Tt};Symbol.metadata??=Symbol("metadata"),jt.litPropertyMetadata??=new WeakMap;let _t=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=Zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Lt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=At(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Zt}static _$Ei(){if(this.hasOwnProperty(Bt("elementProperties")))return;const t=Ft(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Bt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Bt("properties"))){const t=this.properties,e=[...Wt(t),...Dt(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(It(t))}else void 0!==t&&e.push(It(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(Nt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=St.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Mt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Mt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Tt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};_t.elementStyles=[],_t.shadowRootOptions={mode:"open"},_t[Bt("elementProperties")]=new Map,_t[Bt("finalized")]=new Map,Kt?.({ReactiveElement:_t}),(jt.reactiveElementVersions??=[]).push("2.0.2");
73
73
  /**
74
74
  * @license
75
75
  * Copyright 2017 Google LLC
76
76
  * SPDX-License-Identifier: BSD-3-Clause
77
77
  */
78
- const Gt=globalThis,Vt=Gt.trustedTypes,qt=Vt?Vt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Yt="$lit$",Xt=`lit$${(Math.random()+"").slice(9)}$`,Jt="?"+Xt,Qt=`<${Jt}>`,te=document,ee=()=>te.createComment(""),oe=t=>null===t||"object"!=typeof t&&"function"!=typeof t,ie=Array.isArray,re="[ \t\n\f\r]",ne=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ae=/-->/g,se=/>/g,le=RegExp(`>|${re}(?:([^\\s"'>=/]+)(${re}*=${re}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ce=/'/g,fe=/"/g,he=/^(?:script|style|textarea|title)$/i,pe=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ue=Symbol.for("lit-noChange"),de=Symbol.for("lit-nothing"),ye=new WeakMap,ge=te.createTreeWalker(te,129);function be(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==qt?qt.createHTML(e):e}class me{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=ne;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===ne?"!--"===l[1]?a=ae:void 0!==l[1]?a=se:void 0!==l[2]?(he.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=le):void 0!==l[3]&&(a=le):a===le?">"===l[0]?(a=r??ne,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?le:'"'===l[3]?fe:ce):a===fe||a===ce?a=le:a===ae||a===se?a=ne:(a=le,r=void 0);const h=a===le&&t[e+1].startsWith("/>")?" ":"";n+=a===ne?o+Qt:c>=0?(i.push(s),o.slice(0,c)+Yt+o.slice(c)+Xt+h):o+Xt+(-2===c?e:h)}return[be(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(t,e);if(this.el=me.createElement(l,o),ge.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ge.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Yt)){const e=c[n++],o=i.getAttribute(t).split(Xt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?we:"?"===a[1]?Se:"@"===a[1]?Ne:Oe}),i.removeAttribute(t)}else t.startsWith(Xt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(he.test(i.tagName)){const t=i.textContent.split(Xt),e=t.length-1;if(e>0){i.textContent=Vt?Vt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],ee()),ge.nextNode(),s.push({type:2,index:++r});i.append(t[e],ee())}}}else if(8===i.nodeType)if(i.data===Jt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Xt,t+1));)s.push({type:7,index:r}),t+=Xt.length-1}r++}}static createElement(t,e){const o=te.createElement("template");return o.innerHTML=t,o}}function ve(t,e,o=t,i){if(e===ue)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=oe(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=ve(t,r._$AS(t,e.values),r,i)),e}let xe=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=de,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.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=ve(this,t,e),oe(t)?t===de||null==t||""===t?(this._$AH!==de&&this._$AR(),this._$AH=de):t!==this._$AH&&t!==ue&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>ie(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!==de&&oe(this._$AH)?this._$AA.nextSibling.data=t:this.$(te.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=me.createElement(be(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new 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,i=(t?.creationScope??te).importNode(e,!0);ge.currentNode=i;let r=ge.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new xe(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new Ce(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ge.nextNode(),n++)}return ge.currentNode=te,i}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++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ye.get(t.strings);return void 0===e&&ye.set(t.strings,e=new me(t)),e}T(e){ie(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(ee()),this.k(ee()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$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))}},Oe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=de,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=de}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ve(this,t,e,0),n=!oe(t)||t!==this._$AH&&t!==ue,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ve(this,i[o+a],e,a),s===ue&&(s=this._$AH[a]),n||=!oe(s)||s!==this._$AH[a],s===de?t=de:t!==de&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===de?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},we=class extends Oe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===de?void 0:t}},Se=class extends Oe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==de)}},Ne=class extends Oe{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ve(this,t,e,0)??de)===ue)return;const o=this._$AH,i=t===de&&o!==de||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==de&&(o===de||i);i&&this.element.removeEventListener(this.name,this,o),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)}},Ce=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){ve(this,t)}};const Ee=Gt.litHtmlPolyfillSupport;Ee?.(me,xe),(Gt.litHtmlVersions??=[]).push("3.1.0");
78
+ const Ht=globalThis,Gt=Ht.trustedTypes,Vt=Gt?Gt.createPolicy("lit-html",{createHTML:t=>t}):void 0,qt="$lit$",Yt=`lit$${(Math.random()+"").slice(9)}$`,Xt="?"+Yt,Jt=`<${Xt}>`,Qt=document,te=()=>Qt.createComment(""),ee=t=>null===t||"object"!=typeof t&&"function"!=typeof t,oe=Array.isArray,ie="[ \t\n\f\r]",re=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ne=/-->/g,ae=/>/g,se=RegExp(`>|${ie}(?:([^\\s"'>=/]+)(${ie}*=${ie}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),le=/'/g,ce=/"/g,fe=/^(?:script|style|textarea|title)$/i,he=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),pe=Symbol.for("lit-noChange"),ue=Symbol.for("lit-nothing"),de=new WeakMap,ye=Qt.createTreeWalker(Qt,129);function ge(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Vt?Vt.createHTML(e):e}class be{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=re;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===re?"!--"===l[1]?a=ne:void 0!==l[1]?a=ae:void 0!==l[2]?(fe.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=se):void 0!==l[3]&&(a=se):a===se?">"===l[0]?(a=r??re,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?se:'"'===l[3]?ce:le):a===ce||a===le?a=se:a===ne||a===ae?a=re:(a=se,r=void 0);const h=a===se&&t[e+1].startsWith("/>")?" ":"";n+=a===re?o+Jt:c>=0?(i.push(s),o.slice(0,c)+qt+o.slice(c)+Yt+h):o+Yt+(-2===c?e:h)}return[ge(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(t,e);if(this.el=be.createElement(l,o),ye.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ye.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(qt)){const e=c[n++],o=i.getAttribute(t).split(Yt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?Oe:"?"===a[1]?we:"@"===a[1]?Se:xe}),i.removeAttribute(t)}else t.startsWith(Yt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(fe.test(i.tagName)){const t=i.textContent.split(Yt),e=t.length-1;if(e>0){i.textContent=Gt?Gt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],te()),ye.nextNode(),s.push({type:2,index:++r});i.append(t[e],te())}}}else if(8===i.nodeType)if(i.data===Xt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Yt,t+1));)s.push({type:7,index:r}),t+=Yt.length-1}r++}}static createElement(t,e){const o=Qt.createElement("template");return o.innerHTML=t,o}}function me(t,e,o=t,i){if(e===pe)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=ee(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=me(t,r._$AS(t,e.values),r,i)),e}let ve=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ue,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.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=me(this,t,e),ee(t)?t===ue||null==t||""===t?(this._$AH!==ue&&this._$AR(),this._$AH=ue):t!==this._$AH&&t!==pe&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>oe(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!==ue&&ee(this._$AH)?this._$AA.nextSibling.data=t:this.$(Qt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=be.createElement(ge(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new 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,i=(t?.creationScope??Qt).importNode(e,!0);ye.currentNode=i;let r=ye.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ve(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new Ne(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ye.nextNode(),n++)}return ye.currentNode=Qt,i}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++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=de.get(t.strings);return void 0===e&&de.set(t.strings,e=new be(t)),e}T(e){oe(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(te()),this.k(te()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$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))}},xe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ue,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ue}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=me(this,t,e,0),n=!ee(t)||t!==this._$AH&&t!==pe,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=me(this,i[o+a],e,a),s===pe&&(s=this._$AH[a]),n||=!ee(s)||s!==this._$AH[a],s===ue?t=ue:t!==ue&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ue?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Oe=class extends xe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ue?void 0:t}},we=class extends xe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ue)}},Se=class extends xe{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=me(this,t,e,0)??ue)===pe)return;const o=this._$AH,i=t===ue&&o!==ue||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ue&&(o===ue||i);i&&this.element.removeEventListener(this.name,this,o),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)}},Ne=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){me(this,t)}};const Ce=Ht.litHtmlPolyfillSupport;Ce?.(be,ve),(Ht.litHtmlVersions??=[]).push("3.1.0");
79
79
  /**
80
80
  * @license
81
81
  * Copyright 2017 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
83
  */
84
- let $e=class extends Ht{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new xe(e.insertBefore(ee(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ue}};$e._$litElement$=!0,$e.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:$e});const ke=globalThis.litElementPolyfillSupport;ke?.({LitElement:$e}),(globalThis.litElementVersions??=[]).push("4.0.2");const Re=t=>"string"==typeof t?Rt(t):t;class Ie{static create(t,e,o,i){const r=t=>Re(null!=t?t:i),n=It`var(${Re(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>It`var(${Re(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=It`var(${Re(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>It`var(${Re(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Re(null!=e?e:t.lastResortDefaultValue()),i=It`var(${Re(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>It`var(${Re(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ue(t,e){return Re(`${t.name}: ${e}`)}const Le={colorWhite:Ie.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ie.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ie.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ie.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ie.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ie.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ie.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ie.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ie.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ie.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ie.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ie.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ie.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ie.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ie.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ie.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ie.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ie.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ie.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ie.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ie.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ie.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ie.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ie.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ie.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ie.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ie.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ie.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ie.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ie.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ie.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ie.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ie.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ie.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ie.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ie.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ie.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ie.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ie.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ie.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ie.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ie.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ie.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ie.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ie.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ie.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ie.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ie.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ie.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ie.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ie.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ie.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ie.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ie.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ie.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ie.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ie.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ie.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ie.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ie.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ie.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ie.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ie.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ie.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ie.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ie.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ie.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ie.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ie.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ie.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ie.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ie.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ie.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ie.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ie.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ie.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ie.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ie.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ie.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ie.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ie.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ie.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ie.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ie.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ie.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ie.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ie.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ie.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ie.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ie.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ie.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ie.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ie.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ie.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ie.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ie.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ie.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ie.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ie.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ie.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ie.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ie.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ie.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ie.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ie.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ie.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ie.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ie.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ie.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ie.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ie.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ie.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ie.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ie.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ie.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ie.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ie.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ie.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ie.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ie.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ie.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ie.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ie.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ie.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ie.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ie.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ie.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ie.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ie.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ie.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ie.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ie.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ie.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ie.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ie.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ie.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ie.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ie.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ie.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ie.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ie.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ie.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ie.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ie.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ie.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ie.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ie.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ie.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ie.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ie.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ie.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ie.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ie.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ie.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ie.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ie.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ie.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ie.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ie.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ie.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ie.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ie.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ie.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ie.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ie.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ie.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ie.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ie.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ie.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ie.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ie.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ie.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ie.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ie.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ie.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ie.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ie.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ie.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ie.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ie.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ie.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ie.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ie.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ie.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ie.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ie.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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)")},We={display:{fontFamily:Ie.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ie.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ie.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Ie.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ie.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Ie.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ie.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ie.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ie.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Ie.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ie.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ie.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ie.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ie.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ie.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ie.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ie.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ie.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ie.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ie.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ie.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ie.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ie.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ie.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ie.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ie.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ie.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ie.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ie.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ie.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ie.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ie.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ie.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ie.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ie.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ie.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ie.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ie.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ie.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ie.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ie.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Ie.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ie.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Ie.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Ie.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ie.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Ie.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Ie.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ie.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ie.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Ie.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Ie.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Ie.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ie.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ie.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ie.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Ae={backgroundActionPrimary:Ie.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Le.colorBrand0),backgroundErrorPrimary:Ie.extend("--ft-background-error-primary","Used as background of error components.",Le.colorRed0),backgroundErrorSubtle:Ie.extend("--ft-background-error-subtle","Used as background of subtle error components.",Le.colorRed10),backgroundInfoPrimary:Ie.extend("--ft-background-info-primary","Used as background of information components.",Le.colorCyan200),backgroundInfoSubtle:Ie.extend("--ft-background-info-subtle","Used as background of subtle information components.",Le.colorCyan10),backgroundWarningPrimary:Ie.extend("--ft-background-warning-primary","Used as background of warning components.",Le.colorOrange300),backgroundWarningSubtle:Ie.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Le.colorOrange10),backgroundSuccessPrimary:Ie.extend("--ft-background-success-primary","Used as background of success components.",Le.colorGreen200),backgroundSuccessSubtle:Ie.extend("--ft-background-success-subtle","Used as background of subtle success components.",Le.colorGreen10),backgroundGlobalSurface:Ie.extend("--ft-background-global-surface","Used as app background.",Le.colorWhite),backgroundGlobalOnSurface:Ie.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Le.colorGray10),backgroundGlobalOnSurfaceDark:Ie.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Le.colorGray30),contentActionPrimary:Ie.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Le.colorBrand0),contentWarningPrimary:Ie.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Le.colorOrange300),contentWarningIconOnly:Ie.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Le.colorOrange0),contentErrorPrimary:Ie.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Le.colorRed0),contentErrorIconOnly:Ie.extend("--ft-content-error-icon-only","Used on error status icons alone",Le.colorRed0),contentInfoPrimary:Ie.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Le.colorCyan200),contentInfoIconOnly:Ie.extend("--ft-content-info-icon-only","Used on info status icons alone",Le.colorCyan0),contentSuccessPrimary:Ie.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Le.colorGreen200),contentSuccessIconOnly:Ie.extend("--ft-content-success-icon-only","Used on success status icons alone",Le.colorGreen0),contentGlobalPrimary:Ie.extend("--ft-content-global-primary","Used for main content on the page.",Le.colorGray500),contentGlobalSecondary:Ie.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Le.colorGray200),contentGlobalSubtle:Ie.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Le.colorGray0),contentGlobalOnColor:Ie.extend("--ft-content-global-on-color","Used for content on a dominant color.",Le.colorWhite),borderActionPrimary:Ie.extend("--ft-border-action-primary","Used as border for primary action components.",Le.colorBrand0),borderActionFocusRing:Ie.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Le.colorCyan0),borderWarningPrimary:Ie.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Le.colorOrange300),borderWarningSubtle:Ie.extend("--ft-border-warning-subtle","Used as border for warning components.",Le.colorOrange30),borderSuccessPrimary:Ie.extend("--ft-border-success-primary","Used as border for success buttons.",Le.colorGreen200),borderSuccessSubtle:Ie.extend("--ft-border-success-subtle","Used as border for success components.",Le.colorGreen30),borderErrorPrimary:Ie.extend("--ft-border-error-primary","Used as border for text fields in error states.",Le.colorRed0),borderErrorSubtle:Ie.extend("--ft-border-error-subtle","Used as border for error components.",Le.colorRed30),borderInfoPrimary:Ie.extend("--ft-border-info-primary","Used as border for buttons in info color.",Le.colorCyan200),borderInfoSubtle:Ie.extend("--ft-border-info-subtle","Used as border for information components.",Le.colorCyan30),borderGlobalPrimary:Ie.extend("--ft-border-global-primary","Used as border for element like input.",Le.colorGray50),borderGlobalSubtle:Ie.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Le.colorGray30),borderInputPrimary:Ie.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Le.colorGray80)},De={largeHeight:Ie.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ie.extend("--ft-button-large-horizontal-padding","",Le.spacing4),largeGap:Ie.extend("--ft-button-large-gap","",Le.spacing2),largeBorderRadius:Ie.extend("--ft-button-large-border-radius","",Le.borderRadiusS),largeIconSize:Ie.extend("--ft-button-large-icon-size","",Le.iconSize3),largeBorderWidth:Ie.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ie.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ie.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ie.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ie.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ie.extend("--ft-button-small-horizontal-padding","",Le.spacing3),smallGap:Ie.extend("--ft-button-small-gap","",Le.spacing2),smallBorderRadius:Ie.extend("--ft-button-small-border-radius","",Le.borderRadiusS),smallIconSize:Ie.extend("--ft-button-small-icon-size","",Le.iconSize2),smallBorderWidth:Ie.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ie.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ie.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ie.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ie.extend("--ft-button-primary-background-color","",Ae.backgroundActionPrimary),primaryColor:Ie.extend("--ft-button-primary-color","",Ae.contentGlobalOnColor),primaryIconColor:Ie.extend("--ft-button-primary-icon-color","",Ae.contentGlobalOnColor),primaryStateLayerColor:Ie.extend("--ft-button-primary-state-layer-color","",Ae.contentGlobalOnColor),primaryStateLayerOpacityHover:Ie.extend("--ft-button-primary-state-layer-opacity-hover","",Le.opacity16),primaryStateLayerOpacityFocus:Ie.extend("--ft-button-primary-state-layer-opacity-focus","",Le.opacity16),primaryStateLayerOpacityActive:Ie.extend("--ft-button-primary-state-layer-opacity-active","",Le.opacity24),primaryComponentOpacityDisabled:Ie.extend("--ft-button-primary-component-opacity-disabled","",Le.opacity40),focusFocusRingColor:Ie.extend("--ft-button-focus-focus-ring-color","",Ae.borderActionFocusRing),tertiaryBackgroundColor:Ie.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ie.extend("--ft-button-tertiary-color","",Ae.contentActionPrimary),tertiaryIconColor:Ie.extend("--ft-button-tertiary-icon-color","",Ae.contentActionPrimary),tertiaryStateLayerColor:Ie.extend("--ft-button-tertiary-state-layer-color","",Ae.contentActionPrimary),tertiaryStateLayerOpacityHover:Ie.extend("--ft-button-tertiary-state-layer-opacity-hover","",Le.opacity8),tertiaryStateLayerOpacityFocus:Ie.extend("--ft-button-tertiary-state-layer-opacity-focus","",Le.opacity8),tertiaryStateLayerOpacityActive:Ie.extend("--ft-button-tertiary-state-layer-opacity-active","",Le.opacity16),tertiaryComponentOpacityDisabled:Ie.extend("--ft-button-tertiary-component-opacity-disabled","",Le.opacity40),secondaryBackgroundColor:Ie.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ie.extend("--ft-button-secondary-color","",Ae.contentActionPrimary),secondaryIconColor:Ie.extend("--ft-button-secondary-icon-color","",Ae.contentActionPrimary),secondaryStateLayerColor:Ie.extend("--ft-button-secondary-state-layer-color","",Ae.contentActionPrimary),secondaryStateLayerOpacityHover:Ie.extend("--ft-button-secondary-state-layer-opacity-hover","",Le.opacity8),secondaryStateLayerOpacityFocus:Ie.extend("--ft-button-secondary-state-layer-opacity-focus","",Le.opacity8),secondaryStateLayerOpacityActive:Ie.extend("--ft-button-secondary-state-layer-opacity-active","",Le.opacity16),secondaryComponentOpacityDisabled:Ie.extend("--ft-button-secondary-component-opacity-disabled","",Le.opacity40),secondaryBorderColor:Ie.extend("--ft-button-secondary-border-color","",Ae.borderActionPrimary),neutralBackgroundColor:Ie.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ie.extend("--ft-button-neutral-icon-color","",Ae.contentGlobalSecondary),neutralColor:Ie.extend("--ft-button-neutral-color","",Ae.contentGlobalSecondary),neutralStateLayerColor:Ie.extend("--ft-button-neutral-state-layer-color","",Ae.contentGlobalSecondary),neutralStateLayerOpacityHover:Ie.extend("--ft-button-neutral-state-layer-opacity-hover","",Le.opacity8),neutralStateLayerOpacityFocus:Ie.extend("--ft-button-neutral-state-layer-opacity-focus","",Le.opacity8),neutralStateLayerOpacityActive:Ie.extend("--ft-button-neutral-state-layer-opacity-active","",Le.opacity16),neutralComponentOpacityDisabled:Ie.extend("--ft-button-neutral-component-opacity-disabled","",Le.opacity40)};Ie.extend("--ft-floating-menu-horizontal-padding","",Le.spacing4),Ie.extend("--ft-floating-menu-vertical-padding","",Le.spacing4),Ie.extend("--ft-floating-menu-off-icon-color","",Ae.contentGlobalPrimary),Ie.extend("--ft-floating-menu-off-color","",Ae.contentGlobalPrimary),Ie.extend("--ft-floating-menu-on-color","",Ae.contentActionPrimary),Ie.extend("--ft-floating-menu-on-icon-color","",Ae.contentActionPrimary),Ie.extend("--ft-floating-menu-on-state-layer-color","",Ae.contentActionPrimary),Ie.extend("--ft-floating-menu-gap","",Le.spacing3),Ie.extend("--ft-floating-menu-focus-focus-ring-color","",Ae.borderActionFocusRing),Ie.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Ie.extend("--ft-floating-menu-state-layer-opacity-hover","",Le.opacity8),Ie.extend("--ft-floating-menu-state-layer-opacity-active","",Le.opacity16),Ie.extend("--ft-floating-menu-state-layer-opacity-focus","",Le.opacity8),Ie.extend("--ft-floating-menu-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-floating-menu-icon-size","",Le.iconSize3),Ie.extend("--ft-floating-menu-background-color","",Ae.backgroundGlobalOnSurface),Ie.extend("--ft-tabs-top-left-border-radius","",Le.borderRadiusS),Ie.extend("--ft-tabs-top-right-border-radius","",Le.borderRadiusS),Ie.extend("--ft-tabs-label-horizontal-padding","",Le.spacing4),Ie.extend("--ft-tabs-label-vertical-padding","",Le.spacing3),Ie.extend("--ft-tabs-label-gap","",Le.spacing1),Ie.extend("--ft-tabs-icon-horizontal-padding","",Le.spacing1),Ie.extend("--ft-tabs-icon-vertical-padding","",Le.spacing4),Ie.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-tabs-focus-focus-ring-color","",Ae.borderActionFocusRing),Ie.extend("--ft-tabs-off-state-layer-opacity-hover","",Le.opacity8),Ie.extend("--ft-tabs-off-state-layer-opacity-focus","",Le.opacity8),Ie.extend("--ft-tabs-off-state-layer-opacity-active","",Le.opacity16),Ie.extend("--ft-tabs-off-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-tabs-off-color","",Ae.contentGlobalSubtle),Ie.extend("--ft-tabs-off-state-layer-color","",Ae.contentGlobalSubtle),Ie.extend("--ft-tabs-on-state-layer-opacity-hover","",Le.opacity8),Ie.extend("--ft-tabs-on-state-layer-opacity-focus","",Le.opacity8),Ie.extend("--ft-tabs-on-state-layer-opacity-active","",Le.opacity16),Ie.extend("--ft-tabs-on-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-tabs-on-color","",Ae.contentActionPrimary),Ie.extend("--ft-tabs-on-state-layer-color","",Ae.contentActionPrimary),Ie.extend("--ft-collapsible-state-layer-opacity-hover","",Le.opacity8),Ie.extend("--ft-collapsible-state-layer-opacity-focus","",Le.opacity8),Ie.extend("--ft-collapsible-state-layer-opacity-active","",Le.opacity16),Ie.extend("--ft-collapsible-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-collapsible-horizontal-padding","",Le.spacing4),Ie.extend("--ft-collapsible-vertical-padding","",Le.spacing3),Ie.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Ie.extend("--ft-collapsible-focus-focus-ring-color","",Ae.borderActionFocusRing),Ie.extend("--ft-collapsible-color","",Ae.contentGlobalPrimary),Ie.extend("--ft-collapsible-state-layer-color","",Ae.contentGlobalPrimary),Ie.extend("--ft-collapsible-background-color","",Ae.backgroundGlobalOnSurface),Ie.extend("--ft-collapsible-border-color","",Ae.borderGlobalSubtle),Ie.extend("--ft-collapsible-icon-size","",Le.iconSize3),Ie.extend("--ft-switch-group-horizontal-padding","",Le.spacing1),Ie.extend("--ft-switch-group-vertical-padding","",Le.spacing1),Ie.extend("--ft-switch-group-gap","",Le.spacing1),Ie.extend("--ft-switch-group-background-color","",Ae.backgroundGlobalSurface),Ie.extend("--ft-switch-group-border-color","",Ae.borderGlobalSubtle),Ie.create("--ft-switch-group-border-radius","","SIZE","6px"),Ie.extend("--ft-switch-label-horizontal-padding","",Le.spacing2),Ie.extend("--ft-switch-label-vertical-padding","",Le.spacing1),Ie.extend("--ft-switch-icon-horizontal-padding","",Le.spacing1),Ie.extend("--ft-switch-icon-vertical-padding","",Le.spacing1),Ie.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-switch-focus-focus-ring-color","",Ae.borderActionFocusRing),Ie.extend("--ft-switch-option-border-radius","",Le.borderRadiusS),Ie.extend("--ft-switch-off-state-layer-opacity-hover","",Le.opacity8),Ie.extend("--ft-switch-off-state-layer-opacity-focus","",Le.opacity8),Ie.extend("--ft-switch-off-state-layer-opacity-active","",Le.opacity16),Ie.extend("--ft-switch-off-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-switch-off-color","",Ae.contentGlobalSubtle),Ie.extend("--ft-switch-off-state-layer-color","",Ae.contentGlobalSubtle),Ie.extend("--ft-switch-on-state-layer-opacity-hover","",Le.opacity8),Ie.extend("--ft-switch-on-state-layer-opacity-focus","",Le.opacity8),Ie.extend("--ft-switch-on-state-layer-opacity-active","",Le.opacity16),Ie.extend("--ft-switch-on-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-switch-on-color","",Ae.contentActionPrimary),Ie.extend("--ft-switch-on-state-layer-color","",Ae.contentActionPrimary),Ie.extend("--ft-chart-1-light","for area color charts",Le.colorBrand40),Ie.extend("--ft-chart-1-base","for line charts",Le.colorBrand0),Ie.extend("--ft-chart-2-light","for area color charts",Le.colorYellow60),Ie.extend("--ft-chart-2-base","for line charts",Le.colorYellow100),Ie.extend("--ft-chart-3-light","",Le.colorUltramarine40),Ie.extend("--ft-chart-3-base","",Le.colorUltramarine70),Ie.extend("--ft-chart-4-light","",Le.colorCyan50),Ie.extend("--ft-chart-4-base","",Le.colorCyan100),Ie.extend("--ft-chart-5-light","",Le.colorRed40),Ie.extend("--ft-chart-5-base","",Le.colorRed60),Ie.extend("--ft-chart-6-light","",Le.colorGreen40),Ie.extend("--ft-chart-6-base","",Le.colorGreen70),Ie.extend("--ft-chart-7-light","",Le.colorOrange70),Ie.extend("--ft-chart-7-base","",Le.colorOrange100),Ie.extend("--ft-chart-8-light","",Le.colorAvocado70),Ie.extend("--ft-chart-8-base","",Le.colorAvocado200),Ie.extend("--ft-chart-9-light","",Le.colorBrown50),Ie.extend("--ft-chart-9-base","",Le.colorBrown200),Ie.extend("--ft-chart-10-light","",Le.colorGray50),Ie.extend("--ft-chart-10-base","",Le.colorGray80),Ie.extend("--ft-chart-monochrome-10","",Le.colorBrand10),Ie.extend("--ft-chart-monochrome-20","",Le.colorBrand20),Ie.extend("--ft-chart-monochrome-30","",Le.colorBrand40),Ie.extend("--ft-chart-monochrome-40","",Le.colorBrand60),Ie.extend("--ft-chart-monochrome-50","",Le.colorBrand0),Ie.extend("--ft-chart-monochrome-60","",Le.colorBrand200),Ie.extend("--ft-chip-large-horizontal-padding","",Le.spacing4),Ie.extend("--ft-chip-large-vertical-padding","",Le.spacing2),Ie.extend("--ft-chip-large-gap","",Le.spacing1),Ie.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-large-border-radius","",Le.borderRadiusPill),Ie.create("--ft-chip-large-border-width","","SIZE","1px"),Ie.extend("--ft-chip-large-icon-size","",Le.iconSize3),Ie.extend("--ft-chip-medium-horizontal-padding","",Le.spacing3),Ie.extend("--ft-chip-medium-vertical-padding","",Le.spacing1),Ie.extend("--ft-chip-medium-gap","",Le.spacing1),Ie.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-medium-border-radius","",Le.borderRadiusPill),Ie.create("--ft-chip-medium-border-width","","SIZE","1px"),Ie.extend("--ft-chip-medium-icon-size","",Le.iconSize2),Ie.extend("--ft-chip-small-horizontal-padding","",Le.spacing2),Ie.extend("--ft-chip-small-vertical-padding","",Le.spacing05),Ie.extend("--ft-chip-small-gap","",Le.spacing1),Ie.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ie.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-chip-small-border-radius","",Le.borderRadiusPill),Ie.create("--ft-chip-small-border-width","","SIZE","1px"),Ie.extend("--ft-chip-small-icon-size","",Le.iconSize1),Ie.extend("--ft-chip-neutral-background-color","",Ae.backgroundGlobalOnSurface),Ie.extend("--ft-chip-neutral-color","",Ae.contentGlobalPrimary),Ie.extend("--ft-chip-neutral-border-color","",Ae.borderGlobalSubtle),Ie.extend("--ft-chip-info-background-color","",Ae.backgroundInfoSubtle),Ie.extend("--ft-chip-info-color","",Ae.contentInfoPrimary),Ie.extend("--ft-chip-info-border-color","",Ae.borderInfoSubtle),Ie.extend("--ft-chip-success-background-color","",Ae.backgroundSuccessSubtle),Ie.extend("--ft-chip-success-color","",Ae.contentSuccessPrimary),Ie.extend("--ft-chip-success-border-color","",Ae.borderSuccessSubtle),Ie.extend("--ft-chip-warning-background-color","",Ae.backgroundWarningSubtle),Ie.extend("--ft-chip-warning-color","",Ae.contentWarningPrimary),Ie.extend("--ft-chip-warning-border-color","",Ae.borderWarningSubtle),Ie.extend("--ft-chip-error-background-color","",Ae.backgroundErrorSubtle),Ie.extend("--ft-chip-error-color","",Ae.contentErrorPrimary),Ie.extend("--ft-chip-error-border-color","",Ae.borderErrorSubtle),Ie.create("--ft-notice-border-width","","SIZE","1px"),Ie.extend("--ft-notice-horizontal-padding","",Le.spacing2),Ie.extend("--ft-notice-vertical-padding","",Le.spacing1),Ie.extend("--ft-notice-border-radius","",Le.borderRadiusS),Ie.extend("--ft-notice-gap","",Le.spacing2),Ie.extend("--ft-notice-icon-size","",Le.iconSize3),Ie.extend("--ft-notice-info-background-color","",Ae.backgroundInfoSubtle),Ie.extend("--ft-notice-info-border-color","",Ae.borderInfoSubtle),Ie.extend("--ft-notice-info-color","",Ae.contentInfoPrimary),Ie.extend("--ft-notice-warning-background-color","",Ae.backgroundWarningSubtle),Ie.extend("--ft-notice-warning-border-color","",Ae.borderWarningSubtle),Ie.extend("--ft-notice-warning-color","",Ae.contentWarningPrimary),Ie.extend("--ft-checkbox-label-color","",Ae.contentGlobalPrimary),Ie.extend("--ft-checkbox-checked-background-color","",Ae.contentActionPrimary),Ie.extend("--ft-checkbox-checked-state-layer-color","",Ae.contentActionPrimary),Ie.extend("--ft-checkbox-checked-color","",Ae.contentGlobalOnColor),Ie.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-checkbox-checked-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-checkbox-checked-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-checkbox-unchecked-border-color","",Le.colorGray80),Ie.extend("--ft-checkbox-unchecked-state-layer-color","",Le.colorGray80),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-checkbox-focus-focus-ring-color","",Ae.borderActionFocusRing),Ie.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ie.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-checkbox-gap","",Le.spacing3),Ie.extend("--ft-toggle-off-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-toggle-off-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-toggle-off-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-toggle-off-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-toggle-off-background-color","",Ae.contentGlobalSubtle),Ie.extend("--ft-toggle-off-icon-color","",Ae.contentGlobalSubtle),Ie.extend("--ft-toggle-off-state-layer-color","",Ae.contentGlobalSubtle),Ie.extend("--ft-toggle-on-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-toggle-on-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-toggle-on-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-toggle-on-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-toggle-on-background-color","",Ae.contentActionPrimary),Ie.extend("--ft-toggle-on-icon-color","",Ae.contentActionPrimary),Ie.extend("--ft-toggle-on-state-layer-color","",Ae.contentActionPrimary),Ie.extend("--ft-toggle-label-color","",Ae.contentGlobalPrimary),Ie.extend("--ft-toggle-focus-focus-ring-color","",Ae.borderActionFocusRing),Ie.extend("--ft-toggle-gap","",Le.spacing3),Ie.extend("--ft-radio-label-color","",Ae.contentGlobalPrimary),Ie.extend("--ft-radio-selected-color","",Ae.contentActionPrimary),Ie.extend("--ft-radio-selected-state-layer-color","",Ae.contentActionPrimary),Ie.extend("--ft-radio-selected-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-radio-selected-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-radio-selected-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-radio-selected-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-radio-unselected-state-layer-color","",Le.colorGray80),Ie.extend("--ft-radio-unselected-state-layer-opacity-hover","",Le.opacity16),Ie.extend("--ft-radio-unselected-state-layer-opacity-focus","",Le.opacity16),Ie.extend("--ft-radio-unselected-state-layer-opacity-active","",Le.opacity24),Ie.extend("--ft-radio-unselected-component-opacity-disabled","",Le.opacity40),Ie.extend("--ft-radio-focus-focus-ring-color","",Ae.borderActionFocusRing),Ie.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ie.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ie.extend("--ft-radio-gap","",Le.spacing3),Ie.extend("--ft-notification-icon-size","",Le.iconSize4),Ie.extend("--ft-notification-horizontal-padding","",Le.spacing4),Ie.extend("--ft-notification-vertical-padding","",Le.spacing4),Ie.extend("--ft-notification-info-background-color","",Ae.backgroundInfoSubtle),Ie.extend("--ft-notification-info-color","",Ae.contentInfoPrimary),Ie.extend("--ft-notification-info-border-color","",Ae.borderInfoSubtle),Ie.extend("--ft-notification-success-background-color","",Ae.backgroundSuccessSubtle),Ie.extend("--ft-notification-success-color","",Ae.contentSuccessPrimary),Ie.extend("--ft-notification-success-border-color","",Ae.borderSuccessSubtle),Ie.extend("--ft-notification-warning-background-color","",Ae.backgroundWarningSubtle),Ie.extend("--ft-notification-warning-color","",Ae.contentWarningPrimary),Ie.extend("--ft-notification-warning-border-color","",Ae.borderWarningSubtle),Ie.extend("--ft-notification-error-background-color","",Ae.backgroundErrorSubtle),Ie.extend("--ft-notification-error-color","",Ae.contentErrorPrimary),Ie.extend("--ft-notification-error-border-color","",Ae.borderErrorSubtle),Ie.extend("--ft-notification-border-radius","",Le.borderRadiusPill),Ie.create("--ft-notification-border-width","","SIZE","1px"),Ie.extend("--ft-notification-gap-leading","",Le.spacing2),Ie.extend("--ft-notification-gap-trailing","",Le.spacing8),Ie.extend("--ft-tooltip-horizontal-padding","",Le.spacing2),Ie.extend("--ft-tooltip-vertical-padding","",Le.spacing2),Ie.extend("--ft-tooltip-border-radius","",Le.borderRadiusS),Ie.extend("--ft-tooltip-label","",Ae.contentGlobalOnColor),Ie.extend("--ft-tooltip-background","",Ae.contentGlobalPrimary),Ie.extend("--ft-tooltip-background-opacity","",Le.opacity80),Ie.extend("--ft-tooltip-shadow","",Le.shadowElevation03);const Fe={colorPrimary:Ie.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ie.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ie.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ie.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ie.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ie.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ie.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ie.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ie.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ie.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ie.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ie.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ie.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ie.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ie.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ie.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ie.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ie.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ie.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ie.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ie.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ie.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ie.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ie.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ie.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ie.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ie.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ie.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ie.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ie.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ie.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ie.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ie.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ie.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ie.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ie.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ie.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ie.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ie.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ie.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ie.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ie.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ie.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ie.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.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:Ie.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ie.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ie.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ie.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ie.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ie.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ie.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ie.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},je=["start","end"],ze=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+je[0],e+"-"+je[1])),[]),Pe=Math.min,Ke=Math.max,Be=Math.round,Te=t=>({x:t,y:t}),Me={left:"right",right:"left",bottom:"top",top:"bottom"},Ze={start:"end",end:"start"};function _e(t,e,o){return Ke(t,Pe(e,o))}function He(t,e){return"function"==typeof t?t(e):t}function Ge(t){return t.split("-")[0]}function Ve(t){return t.split("-")[1]}function qe(t){return"x"===t?"y":"x"}function Ye(t){return"y"===t?"height":"width"}function Xe(t){return["top","bottom"].includes(Ge(t))?"y":"x"}function Je(t){return qe(Xe(t))}function Qe(t){return t.replace(/left|right|bottom|top/g,(t=>Me[t]))}function to(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function eo(t,e,o){let{reference:i,floating:r}=t;const n=Xe(e),a=Je(e),s=Ye(a),l=Ge(e),c="y"===n,f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/2;let u;switch(l){case"top":u={x:f,y:i.y-r.height};break;case"bottom":u={x:f,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:h};break;case"left":u={x:i.x-r.width,y:h};break;default:u={x:i.x,y:i.y}}switch(Ve(e)){case"start":u[a]-=p*(o&&c?-1:1);break;case"end":u[a]+=p*(o&&c?-1:1)}return u}async function oo(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:u=0}=He(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}}(u),y=s[p?"floating"===h?"reference":"floating":h],g=to(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"===h?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=to(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 io(t,e,o){return(t?[...o.filter((e=>Ve(e)===t)),...o.filter((e=>Ve(e)!==t))]:o.filter((t=>Ge(t)===t))).filter((o=>!t||(Ve(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ze[t]))}(o)!==o)))}const ro=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:p=ze,autoAlignment:u=!0,...d}=He(t,e),y=void 0!==h||p===ze?io(h||null,u,p):p,g=await oo(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 i=Ve(t),r=Je(t),n=Ye(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Qe(a)),[a,Qe(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Ge(m)],g[v[0]],g[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.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=Ve(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,Ve(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=N[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function no(t){return lo(t)?(t.nodeName||"").toLowerCase():"#document"}function ao(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function so(t){var e;return null==(e=(lo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function lo(t){return t instanceof Node||t instanceof ao(t).Node}function co(t){return t instanceof Element||t instanceof ao(t).Element}function fo(t){return t instanceof HTMLElement||t instanceof ao(t).HTMLElement}function ho(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ao(t).ShadowRoot)}function po(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=mo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function uo(t){return["table","td","th"].includes(no(t))}function yo(t){const e=go(),o=mo(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 go(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function bo(t){return["html","body","#document"].includes(no(t))}function mo(t){return ao(t).getComputedStyle(t)}function vo(t){return co(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xo(t){if("html"===no(t))return t;const e=t.assignedSlot||t.parentNode||ho(t)&&t.host||so(t);return ho(e)?e.host:e}function Oo(t){const e=xo(t);return bo(e)?t.ownerDocument?t.ownerDocument.body:t.body:fo(e)&&po(e)?e:Oo(e)}function wo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Oo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ao(r);return n?e.concat(a,a.visualViewport||[],po(r)?r:[],a.frameElement&&o?wo(a.frameElement):[]):e.concat(r,wo(r,[],o))}function So(t){const e=mo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=fo(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Be(o)!==n||Be(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function No(t){return co(t)?t:t.contextElement}function Co(t){const e=No(t);if(!fo(e))return Te(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=So(e);let a=(n?Be(o.width):o.width)/i,s=(n?Be(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Eo=Te(0);function $o(t){const e=ao(t);return go()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Eo}function ko(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=No(t);let a=Te(1);e&&(i?co(i)&&(a=Co(i)):a=Co(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==ao(t))&&e}(n,o,i)?$o(n):Te(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(n){const t=ao(n),e=i&&co(i)?ao(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Co(o),e=o.getBoundingClientRect(),i=mo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,h*=t.y,l+=r,c+=n,o=ao(o).frameElement}}return to({width:f,height:h,x:l,y:c})}function Ro(t){return ko(so(t)).left+vo(t).scrollLeft}function Io(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=ao(t),i=so(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=go();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=so(t),o=vo(t),i=t.ownerDocument.body,r=Ke(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ke(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Ro(t);const s=-o.scrollTop;return"rtl"===mo(i).direction&&(a+=Ke(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(so(t));else if(co(e))i=function(t,e){const o=ko(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=fo(t)?Co(t):Te(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=$o(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return to(i)}function Uo(t,e){const o=xo(t);return!(o===e||!co(o)||bo(o))&&("fixed"===mo(o).position||Uo(o,e))}function Lo(t,e,o){const i=fo(e),r=so(e),n="fixed"===o,a=ko(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Te(0);if(i||!i&&!n)if(("body"!==no(e)||po(r))&&(s=vo(e)),i){const t=ko(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Ro(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Wo(t,e){return fo(t)&&"fixed"!==mo(t).position?e?e(t):t.offsetParent:null}function Ao(t,e){const o=ao(t);if(!fo(t))return o;let i=Wo(t,e);for(;i&&uo(i)&&"static"===mo(i).position;)i=Wo(i,e);return i&&("html"===no(i)||"body"===no(i)&&"static"===mo(i).position&&!yo(i))?o:i||function(t){let e=xo(t);for(;fo(e)&&!bo(e);){if(yo(e))return e;e=xo(e)}return null}(t)||o}const Do={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=fo(o),n=so(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Te(1);const l=Te(0);if((r||!r&&"fixed"!==i)&&(("body"!==no(o)||po(n))&&(a=vo(o)),fo(o))){const t=ko(o);s=Co(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:so,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n="clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=wo(t,[],!1).filter((t=>co(t)&&"body"!==no(t))),r=null;const n="fixed"===mo(t).position;let a=n?xo(t):t;for(;co(a)&&!bo(a);){const e=mo(a),o=yo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||po(a)&&!o&&Uo(t,a))?i=i.filter((t=>t!==a)):r=e,a=xo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),a=[...n,i],s=a[0],l=a.reduce(((t,o)=>{const i=Io(e,o,r);return t.top=Ke(i.top,t.top),t.right=Pe(i.right,t.right),t.bottom=Pe(i.bottom,t.bottom),t.left=Ke(i.left,t.left),t}),Io(e,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ao,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Ao,n=this.getDimensions;return{reference:Lo(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return So(t)},getScale:Co,isElement:co,isRTL:function(t){return"rtl"===mo(t).direction}},Fo=(t,e,o)=>{const i=new Map,r={platform:Do,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:h}=eo(c,i,l),p=i,u={},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:h,initialPlacement:i,placement:p,strategy:r,middlewareData:u,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=b?b:h,u={...u,[n]:{...u[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:f,y:h}=eo(c,p,l))),o=-1)}return{x:f,y:h,placement:p,strategy:r,middlewareData:u}})(t,e,{...r,platform:n})};function jo(t){return function(t){for(let e=t;e;e=zo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=zo(t);e;e=zo(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 zo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
84
+ let Ee=class extends _t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new ve(e.insertBefore(te(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return pe}};Ee._$litElement$=!0,Ee.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ee});const $e=globalThis.litElementPolyfillSupport;$e?.({LitElement:Ee}),(globalThis.litElementVersions??=[]).push("4.0.2");const ke=t=>"string"==typeof t?kt(t):t;class Re{static create(t,e,o,i){const r=t=>ke(null!=t?t:i),n=Rt`var(${ke(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Rt`var(${ke(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=Rt`var(${ke(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Rt`var(${ke(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):ke(null!=e?e:t.lastResortDefaultValue()),i=Rt`var(${ke(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>Rt`var(${ke(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ie(t,e){return ke(`${t.name}: ${e}`)}const Ue={colorWhite:Re.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Re.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Re.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Re.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Re.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Re.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Re.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Re.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Re.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Re.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Re.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Re.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Re.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Re.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Re.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Re.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Re.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Re.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Re.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Re.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Re.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Re.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Re.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Re.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Re.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Re.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Re.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Re.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Re.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Re.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Re.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Re.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Re.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Re.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Re.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Re.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Re.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Re.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Re.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Re.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Re.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Re.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Re.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Re.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Re.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Re.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Re.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Re.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Re.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Re.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Re.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Re.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Re.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Re.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Re.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Re.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Re.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Re.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Re.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Re.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Re.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Re.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Re.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Re.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Re.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Re.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Re.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Re.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Re.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Re.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Re.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Re.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Re.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Re.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Re.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Re.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Re.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Re.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Re.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Re.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Re.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Re.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Re.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Re.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Re.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Re.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Re.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Re.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Re.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Re.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Re.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Re.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Re.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Re.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Re.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Re.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Re.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Re.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Re.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Re.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Re.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Re.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Re.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Re.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Re.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Re.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Re.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Re.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Re.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Re.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Re.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Re.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Re.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Re.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Re.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Re.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Re.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Re.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Re.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Re.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Re.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Re.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Re.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Re.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Re.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Re.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Re.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Re.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Re.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Re.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Re.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Re.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Re.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Re.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Re.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Re.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Re.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Re.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Re.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Re.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Re.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Re.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Re.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Re.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Re.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Re.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Re.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Re.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Re.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Re.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Re.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Re.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Re.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Re.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Re.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Re.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Re.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Re.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Re.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Re.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Re.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Re.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Re.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Re.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Re.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Re.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Re.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Re.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Re.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Re.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Re.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Re.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Re.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Re.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Re.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Re.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Re.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Re.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Re.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Re.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Re.create("--ft-opacity-0","","NUMBER","0"),opacity8:Re.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Re.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Re.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Re.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Re.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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)")},Le={display:{fontFamily:Re.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Re.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Re.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Re.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Re.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Re.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Re.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Re.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Re.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Re.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Re.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Re.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Re.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Re.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Re.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Re.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Re.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Re.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Re.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Re.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Re.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Re.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Re.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Re.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Re.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Re.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Re.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Re.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Re.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Re.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Re.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Re.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Re.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Re.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Re.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Re.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Re.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Re.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Re.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Re.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Re.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Re.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Re.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Re.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Re.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Re.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Re.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Re.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Re.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Re.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Re.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Re.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Re.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Re.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Re.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Re.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Re.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Re.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Re.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Re.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Re.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Re.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Re.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Re.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Re.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Re.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Re.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Re.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Re.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Ae={backgroundActionPrimary:Re.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ue.colorBrand0),backgroundErrorPrimary:Re.extend("--ft-background-error-primary","Used as background of error components.",Ue.colorRed0),backgroundErrorSubtle:Re.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ue.colorRed10),backgroundInfoPrimary:Re.extend("--ft-background-info-primary","Used as background of information components.",Ue.colorCyan200),backgroundInfoSubtle:Re.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ue.colorCyan10),backgroundWarningPrimary:Re.extend("--ft-background-warning-primary","Used as background of warning components.",Ue.colorOrange300),backgroundWarningSubtle:Re.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ue.colorOrange10),backgroundSuccessPrimary:Re.extend("--ft-background-success-primary","Used as background of success components.",Ue.colorGreen200),backgroundSuccessSubtle:Re.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ue.colorGreen10),backgroundGlobalSurface:Re.extend("--ft-background-global-surface","Used as app background.",Ue.colorWhite),backgroundGlobalOnSurface:Re.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ue.colorGray10),backgroundGlobalOnSurfaceDark:Re.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ue.colorGray30),contentActionPrimary:Re.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ue.colorBrand0),contentWarningPrimary:Re.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ue.colorOrange300),contentWarningIconOnly:Re.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ue.colorOrange0),contentErrorPrimary:Re.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ue.colorRed0),contentErrorIconOnly:Re.extend("--ft-content-error-icon-only","Used on error status icons alone",Ue.colorRed0),contentInfoPrimary:Re.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ue.colorCyan200),contentInfoIconOnly:Re.extend("--ft-content-info-icon-only","Used on info status icons alone",Ue.colorCyan0),contentSuccessPrimary:Re.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ue.colorGreen200),contentSuccessIconOnly:Re.extend("--ft-content-success-icon-only","Used on success status icons alone",Ue.colorGreen0),contentGlobalPrimary:Re.extend("--ft-content-global-primary","Used for main content on the page.",Ue.colorGray500),contentGlobalSecondary:Re.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ue.colorGray200),contentGlobalSubtle:Re.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ue.colorGray0),contentGlobalOnColor:Re.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ue.colorWhite),borderActionPrimary:Re.extend("--ft-border-action-primary","Used as border for primary action components.",Ue.colorBrand0),borderActionFocusRing:Re.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ue.colorCyan0),borderWarningPrimary:Re.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Ue.colorOrange300),borderWarningSubtle:Re.extend("--ft-border-warning-subtle","Used as border for warning components.",Ue.colorOrange30),borderSuccessPrimary:Re.extend("--ft-border-success-primary","Used as border for success buttons.",Ue.colorGreen200),borderSuccessSubtle:Re.extend("--ft-border-success-subtle","Used as border for success components.",Ue.colorGreen30),borderErrorPrimary:Re.extend("--ft-border-error-primary","Used as border for text fields in error states.",Ue.colorRed0),borderErrorSubtle:Re.extend("--ft-border-error-subtle","Used as border for error components.",Ue.colorRed30),borderInfoPrimary:Re.extend("--ft-border-info-primary","Used as border for buttons in info color.",Ue.colorCyan200),borderInfoSubtle:Re.extend("--ft-border-info-subtle","Used as border for information components.",Ue.colorCyan30),borderGlobalPrimary:Re.extend("--ft-border-global-primary","Used as border for element like input.",Ue.colorGray50),borderGlobalSubtle:Re.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ue.colorGray30),borderInputPrimary:Re.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ue.colorGray80)},We={largeHeight:Re.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Re.extend("--ft-button-large-horizontal-padding","",Ue.spacing4),largeGap:Re.extend("--ft-button-large-gap","",Ue.spacing2),largeBorderRadius:Re.extend("--ft-button-large-border-radius","",Ue.borderRadiusS),largeIconSize:Re.extend("--ft-button-large-icon-size","",Ue.iconSize3),largeBorderWidth:Re.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Re.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Re.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Re.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Re.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Re.extend("--ft-button-small-horizontal-padding","",Ue.spacing3),smallGap:Re.extend("--ft-button-small-gap","",Ue.spacing2),smallBorderRadius:Re.extend("--ft-button-small-border-radius","",Ue.borderRadiusS),smallIconSize:Re.extend("--ft-button-small-icon-size","",Ue.iconSize2),smallBorderWidth:Re.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Re.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Re.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Re.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Re.extend("--ft-button-primary-background-color","",Ae.backgroundActionPrimary),primaryColor:Re.extend("--ft-button-primary-color","",Ae.contentGlobalOnColor),primaryIconColor:Re.extend("--ft-button-primary-icon-color","",Ae.contentGlobalOnColor),primaryStateLayerColor:Re.extend("--ft-button-primary-state-layer-color","",Ae.contentGlobalOnColor),primaryStateLayerOpacityHover:Re.extend("--ft-button-primary-state-layer-opacity-hover","",Ue.opacity16),primaryStateLayerOpacityFocus:Re.extend("--ft-button-primary-state-layer-opacity-focus","",Ue.opacity16),primaryStateLayerOpacityActive:Re.extend("--ft-button-primary-state-layer-opacity-active","",Ue.opacity24),primaryComponentOpacityDisabled:Re.extend("--ft-button-primary-component-opacity-disabled","",Ue.opacity40),focusFocusRingColor:Re.extend("--ft-button-focus-focus-ring-color","",Ae.borderActionFocusRing),tertiaryBackgroundColor:Re.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Re.extend("--ft-button-tertiary-color","",Ae.contentActionPrimary),tertiaryIconColor:Re.extend("--ft-button-tertiary-icon-color","",Ae.contentActionPrimary),tertiaryStateLayerColor:Re.extend("--ft-button-tertiary-state-layer-color","",Ae.contentActionPrimary),tertiaryStateLayerOpacityHover:Re.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ue.opacity8),tertiaryStateLayerOpacityFocus:Re.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ue.opacity8),tertiaryStateLayerOpacityActive:Re.extend("--ft-button-tertiary-state-layer-opacity-active","",Ue.opacity16),tertiaryComponentOpacityDisabled:Re.extend("--ft-button-tertiary-component-opacity-disabled","",Ue.opacity40),secondaryBackgroundColor:Re.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Re.extend("--ft-button-secondary-color","",Ae.contentActionPrimary),secondaryIconColor:Re.extend("--ft-button-secondary-icon-color","",Ae.contentActionPrimary),secondaryStateLayerColor:Re.extend("--ft-button-secondary-state-layer-color","",Ae.contentActionPrimary),secondaryStateLayerOpacityHover:Re.extend("--ft-button-secondary-state-layer-opacity-hover","",Ue.opacity8),secondaryStateLayerOpacityFocus:Re.extend("--ft-button-secondary-state-layer-opacity-focus","",Ue.opacity8),secondaryStateLayerOpacityActive:Re.extend("--ft-button-secondary-state-layer-opacity-active","",Ue.opacity16),secondaryComponentOpacityDisabled:Re.extend("--ft-button-secondary-component-opacity-disabled","",Ue.opacity40),secondaryBorderColor:Re.extend("--ft-button-secondary-border-color","",Ae.borderActionPrimary),neutralBackgroundColor:Re.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Re.extend("--ft-button-neutral-icon-color","",Ae.contentGlobalSecondary),neutralColor:Re.extend("--ft-button-neutral-color","",Ae.contentGlobalSecondary),neutralStateLayerColor:Re.extend("--ft-button-neutral-state-layer-color","",Ae.contentGlobalSecondary),neutralStateLayerOpacityHover:Re.extend("--ft-button-neutral-state-layer-opacity-hover","",Ue.opacity8),neutralStateLayerOpacityFocus:Re.extend("--ft-button-neutral-state-layer-opacity-focus","",Ue.opacity8),neutralStateLayerOpacityActive:Re.extend("--ft-button-neutral-state-layer-opacity-active","",Ue.opacity16),neutralComponentOpacityDisabled:Re.extend("--ft-button-neutral-component-opacity-disabled","",Ue.opacity40)};Re.extend("--ft-floating-menu-horizontal-padding","",Ue.spacing4),Re.extend("--ft-floating-menu-vertical-padding","",Ue.spacing4),Re.extend("--ft-floating-menu-off-icon-color","",Ae.contentGlobalPrimary),Re.extend("--ft-floating-menu-off-color","",Ae.contentGlobalPrimary),Re.extend("--ft-floating-menu-on-color","",Ae.contentActionPrimary),Re.extend("--ft-floating-menu-on-icon-color","",Ae.contentActionPrimary),Re.extend("--ft-floating-menu-on-state-layer-color","",Ae.contentActionPrimary),Re.extend("--ft-floating-menu-gap","",Ue.spacing3),Re.extend("--ft-floating-menu-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Re.extend("--ft-floating-menu-state-layer-opacity-hover","",Ue.opacity8),Re.extend("--ft-floating-menu-state-layer-opacity-active","",Ue.opacity16),Re.extend("--ft-floating-menu-state-layer-opacity-focus","",Ue.opacity8),Re.extend("--ft-floating-menu-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-floating-menu-icon-size","",Ue.iconSize3),Re.extend("--ft-floating-menu-background-color","",Ae.backgroundGlobalOnSurface),Re.extend("--ft-tabs-top-left-border-radius","",Ue.borderRadiusS),Re.extend("--ft-tabs-top-right-border-radius","",Ue.borderRadiusS),Re.extend("--ft-tabs-label-horizontal-padding","",Ue.spacing4),Re.extend("--ft-tabs-label-vertical-padding","",Ue.spacing3),Re.extend("--ft-tabs-label-gap","",Ue.spacing1),Re.extend("--ft-tabs-icon-horizontal-padding","",Ue.spacing1),Re.extend("--ft-tabs-icon-vertical-padding","",Ue.spacing4),Re.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Re.extend("--ft-tabs-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.extend("--ft-tabs-off-state-layer-opacity-hover","",Ue.opacity8),Re.extend("--ft-tabs-off-state-layer-opacity-focus","",Ue.opacity8),Re.extend("--ft-tabs-off-state-layer-opacity-active","",Ue.opacity16),Re.extend("--ft-tabs-off-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-tabs-off-color","",Ae.contentGlobalSubtle),Re.extend("--ft-tabs-off-state-layer-color","",Ae.contentGlobalSubtle),Re.extend("--ft-tabs-on-state-layer-opacity-hover","",Ue.opacity8),Re.extend("--ft-tabs-on-state-layer-opacity-focus","",Ue.opacity8),Re.extend("--ft-tabs-on-state-layer-opacity-active","",Ue.opacity16),Re.extend("--ft-tabs-on-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-tabs-on-color","",Ae.contentActionPrimary),Re.extend("--ft-tabs-on-state-layer-color","",Ae.contentActionPrimary),Re.extend("--ft-collapsible-state-layer-opacity-hover","",Ue.opacity8),Re.extend("--ft-collapsible-state-layer-opacity-focus","",Ue.opacity8),Re.extend("--ft-collapsible-state-layer-opacity-active","",Ue.opacity16),Re.extend("--ft-collapsible-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-collapsible-horizontal-padding","",Ue.spacing4),Re.extend("--ft-collapsible-vertical-padding","",Ue.spacing3),Re.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Re.extend("--ft-collapsible-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.extend("--ft-collapsible-color","",Ae.contentGlobalPrimary),Re.extend("--ft-collapsible-state-layer-color","",Ae.contentGlobalPrimary),Re.extend("--ft-collapsible-background-color","",Ae.backgroundGlobalOnSurface),Re.extend("--ft-collapsible-border-color","",Ae.borderGlobalSubtle),Re.extend("--ft-collapsible-icon-size","",Ue.iconSize3),Re.extend("--ft-switch-group-horizontal-padding","",Ue.spacing1),Re.extend("--ft-switch-group-vertical-padding","",Ue.spacing1),Re.extend("--ft-switch-group-gap","",Ue.spacing1),Re.extend("--ft-switch-group-background-color","",Ae.backgroundGlobalSurface),Re.extend("--ft-switch-group-border-color","",Ae.borderGlobalSubtle),Re.create("--ft-switch-group-border-radius","","SIZE","6px"),Re.extend("--ft-switch-label-horizontal-padding","",Ue.spacing2),Re.extend("--ft-switch-label-vertical-padding","",Ue.spacing1),Re.extend("--ft-switch-icon-horizontal-padding","",Ue.spacing1),Re.extend("--ft-switch-icon-vertical-padding","",Ue.spacing1),Re.create("--ft-switch-focus-outline-width","","SIZE","2px"),Re.extend("--ft-switch-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.extend("--ft-switch-option-border-radius","",Ue.borderRadiusS),Re.extend("--ft-switch-off-state-layer-opacity-hover","",Ue.opacity8),Re.extend("--ft-switch-off-state-layer-opacity-focus","",Ue.opacity8),Re.extend("--ft-switch-off-state-layer-opacity-active","",Ue.opacity16),Re.extend("--ft-switch-off-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-switch-off-color","",Ae.contentGlobalSubtle),Re.extend("--ft-switch-off-state-layer-color","",Ae.contentGlobalSubtle),Re.extend("--ft-switch-on-state-layer-opacity-hover","",Ue.opacity8),Re.extend("--ft-switch-on-state-layer-opacity-focus","",Ue.opacity8),Re.extend("--ft-switch-on-state-layer-opacity-active","",Ue.opacity16),Re.extend("--ft-switch-on-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-switch-on-color","",Ae.contentActionPrimary),Re.extend("--ft-switch-on-state-layer-color","",Ae.contentActionPrimary),Re.extend("--ft-chart-1-light","for area color charts",Ue.colorBrand40),Re.extend("--ft-chart-1-base","for line charts",Ue.colorBrand0),Re.extend("--ft-chart-2-light","for area color charts",Ue.colorYellow60),Re.extend("--ft-chart-2-base","for line charts",Ue.colorYellow100),Re.extend("--ft-chart-3-light","",Ue.colorUltramarine40),Re.extend("--ft-chart-3-base","",Ue.colorUltramarine70),Re.extend("--ft-chart-4-light","",Ue.colorCyan50),Re.extend("--ft-chart-4-base","",Ue.colorCyan100),Re.extend("--ft-chart-5-light","",Ue.colorRed40),Re.extend("--ft-chart-5-base","",Ue.colorRed60),Re.extend("--ft-chart-6-light","",Ue.colorGreen40),Re.extend("--ft-chart-6-base","",Ue.colorGreen70),Re.extend("--ft-chart-7-light","",Ue.colorOrange70),Re.extend("--ft-chart-7-base","",Ue.colorOrange100),Re.extend("--ft-chart-8-light","",Ue.colorAvocado70),Re.extend("--ft-chart-8-base","",Ue.colorAvocado200),Re.extend("--ft-chart-9-light","",Ue.colorBrown50),Re.extend("--ft-chart-9-base","",Ue.colorBrown200),Re.extend("--ft-chart-10-light","",Ue.colorGray50),Re.extend("--ft-chart-10-base","",Ue.colorGray80),Re.extend("--ft-chart-monochrome-10","",Ue.colorBrand10),Re.extend("--ft-chart-monochrome-20","",Ue.colorBrand20),Re.extend("--ft-chart-monochrome-30","",Ue.colorBrand40),Re.extend("--ft-chart-monochrome-40","",Ue.colorBrand60),Re.extend("--ft-chart-monochrome-50","",Ue.colorBrand0),Re.extend("--ft-chart-monochrome-60","",Ue.colorBrand200),Re.extend("--ft-chip-large-horizontal-padding","",Ue.spacing4),Re.extend("--ft-chip-large-vertical-padding","",Ue.spacing2),Re.extend("--ft-chip-large-gap","",Ue.spacing1),Re.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Re.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Re.extend("--ft-chip-large-border-radius","",Ue.borderRadiusPill),Re.create("--ft-chip-large-border-width","","SIZE","1px"),Re.extend("--ft-chip-large-icon-size","",Ue.iconSize3),Re.extend("--ft-chip-medium-horizontal-padding","",Ue.spacing3),Re.extend("--ft-chip-medium-vertical-padding","",Ue.spacing1),Re.extend("--ft-chip-medium-gap","",Ue.spacing1),Re.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Re.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Re.extend("--ft-chip-medium-border-radius","",Ue.borderRadiusPill),Re.create("--ft-chip-medium-border-width","","SIZE","1px"),Re.extend("--ft-chip-medium-icon-size","",Ue.iconSize2),Re.extend("--ft-chip-small-horizontal-padding","",Ue.spacing2),Re.extend("--ft-chip-small-vertical-padding","",Ue.spacing05),Re.extend("--ft-chip-small-gap","",Ue.spacing1),Re.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Re.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Re.extend("--ft-chip-small-border-radius","",Ue.borderRadiusPill),Re.create("--ft-chip-small-border-width","","SIZE","1px"),Re.extend("--ft-chip-small-icon-size","",Ue.iconSize1),Re.extend("--ft-chip-neutral-background-color","",Ae.backgroundGlobalOnSurface),Re.extend("--ft-chip-neutral-color","",Ae.contentGlobalPrimary),Re.extend("--ft-chip-neutral-border-color","",Ae.borderGlobalSubtle),Re.extend("--ft-chip-info-background-color","",Ae.backgroundInfoSubtle),Re.extend("--ft-chip-info-color","",Ae.contentInfoPrimary),Re.extend("--ft-chip-info-border-color","",Ae.borderInfoSubtle),Re.extend("--ft-chip-success-background-color","",Ae.backgroundSuccessSubtle),Re.extend("--ft-chip-success-color","",Ae.contentSuccessPrimary),Re.extend("--ft-chip-success-border-color","",Ae.borderSuccessSubtle),Re.extend("--ft-chip-warning-background-color","",Ae.backgroundWarningSubtle),Re.extend("--ft-chip-warning-color","",Ae.contentWarningPrimary),Re.extend("--ft-chip-warning-border-color","",Ae.borderWarningSubtle),Re.extend("--ft-chip-error-background-color","",Ae.backgroundErrorSubtle),Re.extend("--ft-chip-error-color","",Ae.contentErrorPrimary),Re.extend("--ft-chip-error-border-color","",Ae.borderErrorSubtle),Re.create("--ft-notice-border-width","","SIZE","1px"),Re.extend("--ft-notice-horizontal-padding","",Ue.spacing2),Re.extend("--ft-notice-vertical-padding","",Ue.spacing1),Re.extend("--ft-notice-border-radius","",Ue.borderRadiusS),Re.extend("--ft-notice-gap","",Ue.spacing2),Re.extend("--ft-notice-icon-size","",Ue.iconSize3),Re.extend("--ft-notice-info-background-color","",Ae.backgroundInfoSubtle),Re.extend("--ft-notice-info-border-color","",Ae.borderInfoSubtle),Re.extend("--ft-notice-info-color","",Ae.contentInfoPrimary),Re.extend("--ft-notice-warning-background-color","",Ae.backgroundWarningSubtle),Re.extend("--ft-notice-warning-border-color","",Ae.borderWarningSubtle),Re.extend("--ft-notice-warning-color","",Ae.contentWarningPrimary),Re.extend("--ft-checkbox-label-color","",Ae.contentGlobalPrimary),Re.extend("--ft-checkbox-checked-background-color","",Ae.contentActionPrimary),Re.extend("--ft-checkbox-checked-state-layer-color","",Ae.contentActionPrimary),Re.extend("--ft-checkbox-checked-color","",Ae.contentGlobalOnColor),Re.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-checkbox-checked-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-checkbox-unchecked-border-color","",Ue.colorGray80),Re.extend("--ft-checkbox-unchecked-state-layer-color","",Ue.colorGray80),Re.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-checkbox-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Re.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Re.extend("--ft-checkbox-gap","",Ue.spacing3),Re.extend("--ft-toggle-off-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-toggle-off-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-toggle-off-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-toggle-off-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-toggle-off-background-color","",Ae.contentGlobalSubtle),Re.extend("--ft-toggle-off-icon-color","",Ae.contentGlobalSubtle),Re.extend("--ft-toggle-off-state-layer-color","",Ae.contentGlobalSubtle),Re.extend("--ft-toggle-on-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-toggle-on-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-toggle-on-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-toggle-on-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-toggle-on-background-color","",Ae.contentActionPrimary),Re.extend("--ft-toggle-on-icon-color","",Ae.contentActionPrimary),Re.extend("--ft-toggle-on-state-layer-color","",Ae.contentActionPrimary),Re.extend("--ft-toggle-label-color","",Ae.contentGlobalPrimary),Re.extend("--ft-toggle-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.extend("--ft-toggle-gap","",Ue.spacing3),Re.extend("--ft-radio-label-color","",Ae.contentGlobalPrimary),Re.extend("--ft-radio-selected-color","",Ae.contentActionPrimary),Re.extend("--ft-radio-selected-state-layer-color","",Ae.contentActionPrimary),Re.extend("--ft-radio-selected-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-radio-selected-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-radio-selected-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-radio-selected-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-radio-unselected-state-layer-color","",Ue.colorGray80),Re.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ue.opacity16),Re.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ue.opacity16),Re.extend("--ft-radio-unselected-state-layer-opacity-active","",Ue.opacity24),Re.extend("--ft-radio-unselected-component-opacity-disabled","",Ue.opacity40),Re.extend("--ft-radio-focus-focus-ring-color","",Ae.borderActionFocusRing),Re.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Re.create("--ft-radio-focus-outline-width","","SIZE","2px"),Re.extend("--ft-radio-gap","",Ue.spacing3),Re.extend("--ft-notification-icon-size","",Ue.iconSize4),Re.extend("--ft-notification-horizontal-padding","",Ue.spacing4),Re.extend("--ft-notification-vertical-padding","",Ue.spacing4),Re.extend("--ft-notification-info-background-color","",Ae.backgroundInfoSubtle),Re.extend("--ft-notification-info-color","",Ae.contentInfoPrimary),Re.extend("--ft-notification-info-border-color","",Ae.borderInfoSubtle),Re.extend("--ft-notification-success-background-color","",Ae.backgroundSuccessSubtle),Re.extend("--ft-notification-success-color","",Ae.contentSuccessPrimary),Re.extend("--ft-notification-success-border-color","",Ae.borderSuccessSubtle),Re.extend("--ft-notification-warning-background-color","",Ae.backgroundWarningSubtle),Re.extend("--ft-notification-warning-color","",Ae.contentWarningPrimary),Re.extend("--ft-notification-warning-border-color","",Ae.borderWarningSubtle),Re.extend("--ft-notification-error-background-color","",Ae.backgroundErrorSubtle),Re.extend("--ft-notification-error-color","",Ae.contentErrorPrimary),Re.extend("--ft-notification-error-border-color","",Ae.borderErrorSubtle),Re.extend("--ft-notification-border-radius","",Ue.borderRadiusPill),Re.create("--ft-notification-border-width","","SIZE","1px"),Re.extend("--ft-notification-gap-leading","",Ue.spacing2),Re.extend("--ft-notification-gap-trailing","",Ue.spacing8),Re.extend("--ft-tooltip-horizontal-padding","",Ue.spacing2),Re.extend("--ft-tooltip-vertical-padding","",Ue.spacing2),Re.extend("--ft-tooltip-border-radius","",Ue.borderRadiusS),Re.extend("--ft-tooltip-label","",Ae.contentGlobalOnColor),Re.extend("--ft-tooltip-background","",Ae.contentGlobalPrimary),Re.extend("--ft-tooltip-background-opacity","",Ue.opacity80),Re.extend("--ft-tooltip-shadow","",Ue.shadowElevation03);const De={colorPrimary:Re.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Re.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Re.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Re.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Re.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Re.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Re.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Re.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Re.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Re.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Re.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Re.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Re.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Re.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Re.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Re.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Re.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Re.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Re.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Re.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Re.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Re.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Re.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Re.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Re.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Re.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Re.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Re.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Re.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Re.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Re.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Re.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Re.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Re.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Re.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Re.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Re.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Re.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Re.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Re.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Re.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Re.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Re.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Re.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.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:Re.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Re.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Re.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Re.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Re.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Re.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Re.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Re.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Fe=["start","end"],je=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Fe[0],e+"-"+Fe[1])),[]),ze=Math.min,Pe=Math.max,Ke=Math.round,Be=t=>({x:t,y:t}),Me={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ze(t,e,o){return Pe(t,ze(e,o))}function _e(t,e){return"function"==typeof t?t(e):t}function He(t){return t.split("-")[0]}function Ge(t){return t.split("-")[1]}function Ve(t){return"x"===t?"y":"x"}function qe(t){return"y"===t?"height":"width"}function Ye(t){return["top","bottom"].includes(He(t))?"y":"x"}function Xe(t){return Ve(Ye(t))}function Je(t){return t.replace(/left|right|bottom|top/g,(t=>Me[t]))}function Qe(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function to(t,e,o){let{reference:i,floating:r}=t;const n=Ye(e),a=Xe(e),s=qe(a),l=He(e),c="y"===n,f=i.x+i.width/2-r.width/2,h=i.y+i.height/2-r.height/2,p=i[s]/2-r[s]/2;let u;switch(l){case"top":u={x:f,y:i.y-r.height};break;case"bottom":u={x:f,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:h};break;case"left":u={x:i.x-r.width,y:h};break;default:u={x:i.x,y:i.y}}switch(Ge(e)){case"start":u[a]-=p*(o&&c?-1:1);break;case"end":u[a]+=p*(o&&c?-1:1)}return u}async function eo(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:u=0}=_e(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}}(u),y=s[p?"floating"===h?"reference":"floating":h],g=Qe(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"===h?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Qe(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 oo(t,e,o){return(t?[...o.filter((e=>Ge(e)===t)),...o.filter((e=>Ge(e)!==t))]:o.filter((t=>He(t)===t))).filter((o=>!t||(Ge(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Te[t]))}(o)!==o)))}const io=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:p=je,autoAlignment:u=!0,...d}=_e(t,e),y=void 0!==h||p===je?oo(h||null,u,p):p,g=await eo(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 i=Ge(t),r=Xe(t),n=qe(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Je(a)),[a,Je(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[He(m)],g[v[0]],g[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.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=Ge(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,Ge(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=N[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function ro(t){return so(t)?(t.nodeName||"").toLowerCase():"#document"}function no(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ao(t){var e;return null==(e=(so(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function so(t){return t instanceof Node||t instanceof no(t).Node}function lo(t){return t instanceof Element||t instanceof no(t).Element}function co(t){return t instanceof HTMLElement||t instanceof no(t).HTMLElement}function fo(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof no(t).ShadowRoot)}function ho(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=bo(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function po(t){return["table","td","th"].includes(ro(t))}function uo(t){const e=yo(),o=bo(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 yo(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function go(t){return["html","body","#document"].includes(ro(t))}function bo(t){return no(t).getComputedStyle(t)}function mo(t){return lo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function vo(t){if("html"===ro(t))return t;const e=t.assignedSlot||t.parentNode||fo(t)&&t.host||ao(t);return fo(e)?e.host:e}function xo(t){const e=vo(t);return go(e)?t.ownerDocument?t.ownerDocument.body:t.body:co(e)&&ho(e)?e:xo(e)}function Oo(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=xo(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=no(r);return n?e.concat(a,a.visualViewport||[],ho(r)?r:[],a.frameElement&&o?Oo(a.frameElement):[]):e.concat(r,Oo(r,[],o))}function wo(t){const e=bo(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=co(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Ke(o)!==n||Ke(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function So(t){return lo(t)?t:t.contextElement}function No(t){const e=So(t);if(!co(e))return Be(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=wo(e);let a=(n?Ke(o.width):o.width)/i,s=(n?Ke(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Co=Be(0);function Eo(t){const e=no(t);return yo()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Co}function $o(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=So(t);let a=Be(1);e&&(i?lo(i)&&(a=No(i)):a=No(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==no(t))&&e}(n,o,i)?Eo(n):Be(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,h=r.height/a.y;if(n){const t=no(n),e=i&&lo(i)?no(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=No(o),e=o.getBoundingClientRect(),i=bo(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,h*=t.y,l+=r,c+=n,o=no(o).frameElement}}return Qe({width:f,height:h,x:l,y:c})}function ko(t){return $o(ao(t)).left+mo(t).scrollLeft}function Ro(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=no(t),i=ao(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=yo();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=ao(t),o=mo(t),i=t.ownerDocument.body,r=Pe(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Pe(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+ko(t);const s=-o.scrollTop;return"rtl"===bo(i).direction&&(a+=Pe(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(ao(t));else if(lo(e))i=function(t,e){const o=$o(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=co(t)?No(t):Be(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Eo(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Qe(i)}function Io(t,e){const o=vo(t);return!(o===e||!lo(o)||go(o))&&("fixed"===bo(o).position||Io(o,e))}function Uo(t,e,o){const i=co(e),r=ao(e),n="fixed"===o,a=$o(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Be(0);if(i||!i&&!n)if(("body"!==ro(e)||ho(r))&&(s=mo(e)),i){const t=$o(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=ko(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Lo(t,e){return co(t)&&"fixed"!==bo(t).position?e?e(t):t.offsetParent:null}function Ao(t,e){const o=no(t);if(!co(t))return o;let i=Lo(t,e);for(;i&&po(i)&&"static"===bo(i).position;)i=Lo(i,e);return i&&("html"===ro(i)||"body"===ro(i)&&"static"===bo(i).position&&!uo(i))?o:i||function(t){let e=vo(t);for(;co(e)&&!go(e);){if(uo(e))return e;e=vo(e)}return null}(t)||o}const Wo={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=co(o),n=ao(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Be(1);const l=Be(0);if((r||!r&&"fixed"!==i)&&(("body"!==ro(o)||ho(n))&&(a=mo(o)),co(o))){const t=$o(o);s=No(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:ao,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Oo(t,[],!1).filter((t=>lo(t)&&"body"!==ro(t))),r=null;const n="fixed"===bo(t).position;let a=n?vo(t):t;for(;lo(a)&&!go(a);){const e=bo(a),o=uo(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||ho(a)&&!o&&Io(t,a))?i=i.filter((t=>t!==a)):r=e,a=vo(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Ro(e,o,r);return t.top=Pe(i.top,t.top),t.right=ze(i.right,t.right),t.bottom=ze(i.bottom,t.bottom),t.left=Pe(i.left,t.left),t}),Ro(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ao,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Ao,n=this.getDimensions;return{reference:Uo(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return wo(t)},getScale:No,isElement:lo,isRTL:function(t){return"rtl"===bo(t).direction}},Do=(t,e,o)=>{const i=new Map,r={platform:Wo,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:h}=to(c,i,l),p=i,u={},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:h,initialPlacement:i,placement:p,strategy:r,middlewareData:u,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,h=null!=b?b:h,u={...u,[n]:{...u[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:f,y:h}=to(c,p,l))),o=-1)}return{x:f,y:h,placement:p,strategy:r,middlewareData:u}})(t,e,{...r,platform:n})};function Fo(t){return function(t){for(let e=t;e;e=jo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=jo(t);e;e=jo(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 jo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
85
85
  /**
86
86
  * @license
87
87
  * Copyright 2019 Google LLC
88
88
  * SPDX-License-Identifier: BSD-3-Clause
89
89
  */
90
- const Po=window,Ko=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Bo extends $e{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ko?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Po.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var To,Mo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Zo=Symbol("constructorPrototype"),_o=Symbol("constructorName"),Ho=Symbol("exportpartsDebouncer");class Go extends Bo{constructor(){super(),this[To]=new n(5),this[_o]=this.constructor.name,this[Zo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[_o]&&Object.setPrototypeOf(this,this[Zo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){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[Ho].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,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}To=Ho,Mo([R()],Go.prototype,"exportpartsPrefix",void 0),Mo([P([])],Go.prototype,"exportpartsPrefixes",void 0),Mo([R()],Go.prototype,"customStylesheet",void 0);const Vo=Ie.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");It`
90
+ const zo=window,Po=zo.ShadowRoot&&(void 0===zo.ShadyCSS||zo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ko extends Ee{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)=>{Po?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=zo.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Bo,Mo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const To=Symbol("constructorPrototype"),Zo=Symbol("constructorName"),_o=Symbol("exportpartsDebouncer");class Ho extends Ko{constructor(){super(),this[Bo]=new n(5),this[Zo]=this.constructor.name,this[To]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Zo]&&Object.setPrototypeOf(this,this[To])}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[_o].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,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Bo=_o,Mo([R()],Ho.prototype,"exportpartsPrefix",void 0),Mo([z([])],Ho.prototype,"exportpartsPrefixes",void 0),Mo([R()],Ho.prototype,"customStylesheet",void 0);const Go=Re.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Rt`
91
91
  .highlight-html-match {
92
- background: ${Vo};
92
+ background: ${Go};
93
93
  }
94
- `;const qo=It`
94
+ `;const Vo=Rt`
95
95
  .ft-no-text-select {
96
96
  -webkit-touch-callout: none;
97
97
  -webkit-user-select: none;
@@ -100,7 +100,7 @@ const Po=window,Ko=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
100
100
  -ms-user-select: none;
101
101
  user-select: none;
102
102
  }
103
- `;It`
103
+ `;Rt`
104
104
  .ft-word-wrap {
105
105
  white-space: normal;
106
106
  word-wrap: break-word;
@@ -112,7 +112,7 @@ const Po=window,Ko=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
112
112
  -webkit-hyphens: auto;
113
113
  hyphens: auto
114
114
  }
115
- `;const Yo=It`
115
+ `;const qo=Rt`
116
116
  .ft-safari-ellipsis-fix {
117
117
  margin-right: 0;
118
118
 
@@ -123,109 +123,109 @@ const Po=window,Ko=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
123
123
  display: inline-block;
124
124
  width: 0;
125
125
  }
126
- `;class Xo{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Jo=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!j(t,e),attribute:!1,...e};R(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};class Qo{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 ti(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var ei,oi,ii;const ri=Symbol("internalReduxEventsUnsubscribers"),ni=Symbol("internalStoresUnsubscribers"),ai=Symbol("internalStores");class si extends Go{constructor(){super(...arguments),this[ei]=new Map,this[oi]=new Map,this[ii]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[ai].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ai].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ai].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:ti(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[ai].delete(e)}setupStore(t,e){this[ai].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ai].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[ni].has(t.store):this[ni].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[ni].set(t,e.subscribe((()=>this.updateFromStores()))),ti(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[ri].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ni].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[ri].forEach((t=>t())),this[ri]=[]}unsubscribeFromStore(t){this[ni].has(t)&&this[ni].get(t)(),this[ni].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function li(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];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 ci(t){return!!t&&!!t[qi]}function fi(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)===Yi}(t)||Array.isArray(t)||!!t[Vi]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Vi])||gi(t)||bi(t))}function hi(t,e,o){void 0===o&&(o=!1),0===pi(t)?(o?Object.keys:Xi)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function pi(t){var e=t[qi];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:gi(t)?2:bi(t)?3:0}function ui(t,e){return 2===pi(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function di(t,e,o){var i=pi(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function yi(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function gi(t){return Zi&&t instanceof Map}function bi(t){return _i&&t instanceof Set}function mi(t){return t.o||t.t}function vi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ji(t);delete e[qi];for(var o=Xi(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function xi(t,e){return void 0===e&&(e=!1),wi(t)||ci(t)||!fi(t)||(pi(t)>1&&(t.set=t.add=t.clear=t.delete=Oi),Object.freeze(t),e&&hi(t,(function(t,e){return xi(e,!0)}),!0)),t}function Oi(){li(2)}function wi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Si(t){var e=Qi[t];return e||li(18,t),e}function Ni(){return Ti}function Ci(t,e){e&&(Si("Patches"),t.u=[],t.s=[],t.v=e)}function Ei(t){$i(t),t.p.forEach(Ri),t.p=null}function $i(t){t===Ti&&(Ti=t.l)}function ki(t){return Ti={p:[],l:Ti,h:t,m:!0,_:0}}function Ri(t){var e=t[qi];0===e.i||1===e.i?e.j():e.g=!0}function Ii(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||Si("ES5").S(e,t,i),i?(o[qi].P&&(Ei(e),li(4)),fi(t)&&(t=Ui(e,t),e.l||Wi(e,t)),e.u&&Si("Patches").M(o[qi].t,t,e.u,e.s)):t=Ui(e,o,[]),Ei(e),e.u&&e.v(e.u,e.s),t!==Gi?t:void 0}function Ui(t,e,o){if(wi(e))return e;var i=e[qi];if(!i)return hi(e,(function(r,n){return Li(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Wi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=vi(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),hi(n,(function(e,n){return Li(t,i,r,e,n,o,a)})),Wi(t,r,!1),o&&t.u&&Si("Patches").N(i,o,t.u,t.s)}return i.o}function Li(t,e,o,i,r,n,a){if(ci(r)){var s=Ui(t,r,n&&e&&3!==e.i&&!ui(e.R,i)?n.concat(i):void 0);if(di(o,i,s),!ci(s))return;t.m=!1}else a&&o.add(r);if(fi(r)&&!wi(r)){if(!t.h.D&&t._<1)return;Ui(t,r),e&&e.A.l||Wi(t,r)}}function Wi(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&xi(e,o)}function Ai(t,e){var o=t[qi];return(o?mi(o):t)[e]}function Di(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function Fi(t){t.P||(t.P=!0,t.l&&Fi(t.l))}function ji(t){t.o||(t.o=vi(t.t))}function zi(t,e,o){var i=gi(e)?Si("MapSet").F(e,o):bi(e)?Si("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:Ni(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=tr;o&&(r=[i],n=er);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):Si("ES5").J(e,o);return(o?o.A:Ni()).p.push(i),i}function Pi(t){return ci(t)||li(22,t),function t(e){if(!fi(e))return e;var o,i=e[qi],r=pi(e);if(i){if(!i.P&&(i.i<4||!Si("ES5").K(i)))return i.t;i.I=!0,o=Ki(e,r),i.I=!1}else o=Ki(e,r);return hi(o,(function(e,r){i&&function(t,e){return 2===pi(t)?t.get(e):t[e]}(i.t,e)===r||di(o,e,t(r))})),3===r?new Set(o):o}(t)}function Ki(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return vi(t)}ei=ni,oi=ai,ii=ri,si.reduxProperties=new Map,si.reduxReactiveProperties=new Set,si.reduxEventListeners=new Map;var Bi,Ti,Mi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Zi="undefined"!=typeof Map,_i="undefined"!=typeof Set,Hi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Gi=Mi?Symbol.for("immer-nothing"):((Bi={})["immer-nothing"]=!0,Bi),Vi=Mi?Symbol.for("immer-draftable"):"__$immer_draftable",qi=Mi?Symbol.for("immer-state"):"__$immer_state",Yi=""+Object.prototype.constructor,Xi="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ji=Object.getOwnPropertyDescriptors||function(t){var e={};return Xi(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Qi={},tr={get:function(t,e){if(e===qi)return t;var o=mi(t);if(!ui(o,e))return function(t,e,o){var i,r=Di(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!fi(i)?i:i===Ai(t.t,e)?(ji(t),t.o[e]=zi(t.A.h,i,t)):i},has:function(t,e){return e in mi(t)},ownKeys:function(t){return Reflect.ownKeys(mi(t))},set:function(t,e,o){var i=Di(mi(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Ai(mi(t),e),n=null==r?void 0:r[qi];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(yi(o,r)&&(void 0!==o||ui(t.t,e)))return!0;ji(t),Fi(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!==Ai(t.t,e)||e in t.t?(t.R[e]=!1,ji(t),Fi(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=mi(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){li(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){li(12)}},er={};hi(tr,(function(t,e){er[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),er.deleteProperty=function(t,e){return er.set.call(this,t,e,void 0)},er.set=function(t,e,o){return tr.set.call(this,t[0],e,o,t[0])};var or=function(){function t(t){var e=this;this.O=Hi,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&li(6),void 0!==i&&"function"!=typeof i&&li(7),fi(t)){var s=ki(e),l=zi(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?Ei(s):$i(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Ci(s,i),Ii(t,s)}),(function(t){throw Ei(s),t})):(Ci(s,i),Ii(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Gi&&(a=void 0),e.D&&xi(a,!0),i){var f=[],h=[];Si("Patches").M(t,a,f,h),i(f,h)}return a}li(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"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){fi(t)||li(8),ci(t)&&(t=Pi(t));var e=ki(this),o=zi(this,t,void 0);return o[qi].C=!0,$i(e),o},e.finishDraft=function(t,e){var o=(t&&t[qi]).A;return Ci(o,e),Ii(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Hi&&li(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=Si("Patches").$;return ci(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),ir=new or,rr=ir.produce;function nr(t){return nr="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},nr(t)}function ar(t){var e=function(t,e){if("object"!==nr(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==nr(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===nr(e)?e:String(e)}function sr(t,e,o){return(e=ar(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function lr(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function cr(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?lr(Object(o),!0).forEach((function(e){sr(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):lr(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function fr(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. "}ir.produceWithPatches.bind(ir),ir.setAutoFreeze.bind(ir),ir.setUseProxies.bind(ir),ir.applyPatches.bind(ir),ir.createDraft.bind(ir),ir.finishDraft.bind(ir);var hr="function"==typeof Symbol&&Symbol.observable||"@@observable",pr=function(){return Math.random().toString(36).substring(7).split("").join(".")},ur={INIT:"@@redux/INIT"+pr(),REPLACE:"@@redux/REPLACE"+pr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pr()}};function dr(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(fr(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(fr(1));return o(dr)(t,e)}if("function"!=typeof t)throw new Error(fr(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(fr(3));return n}function h(t){if("function"!=typeof t)throw new Error(fr(4));if(l)throw new Error(fr(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(fr(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(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(fr(7));if(void 0===t.type)throw new Error(fr(8));if(l)throw new Error(fr(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:ur.INIT}),(i={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(fr(10));r=t,p({type:ur.REPLACE})}})[hr]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(fr(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[hr]=function(){return this},t},i}function yr(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}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:ur.INIT}))throw new Error(fr(12));if(void 0===o(void 0,{type:ur.PROBE_UNKNOWN_ACTION()}))throw new Error(fr(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(fr(14));r[l]=h,i=i||h!==f}return(i=i||a.length!==Object.keys(t).length)?r:t}}function gr(){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 br(){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),i=function(){throw new Error(fr(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=gr.apply(void 0,n)(o.dispatch),cr(cr({},o),{},{dispatch:i})}}}function mr(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var vr=mr();vr.withExtraArgument=mr;var xr,Or=vr,wr=(xr=function(t,e){return xr=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])},xr(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}xr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Sr=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[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,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},Nr=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},Cr=Object.defineProperty,Er=Object.defineProperties,$r=Object.getOwnPropertyDescriptors,kr=Object.getOwnPropertySymbols,Rr=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable,Ur=function(t,e,o){return e in t?Cr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Lr=function(t,e){for(var o in e||(e={}))Rr.call(e,o)&&Ur(t,o,e[o]);if(kr)for(var i=0,r=kr(e);i<r.length;i++){o=r[i];Ir.call(e,o)&&Ur(t,o,e[o])}return t},Wr=function(t,e){return Er(t,$r(e))},Ar="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?gr:gr.apply(null,arguments)};var Dr=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return wr(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,Nr([void 0],t[0].concat(this)))):new(e.bind.apply(e,Nr([void 0],t.concat(this))))},e}(Array),Fr=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return wr(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,Nr([void 0],t[0].concat(this)))):new(e.bind.apply(e,Nr([void 0],t.concat(this))))},e}(Array);function jr(t){return fi(t)?rr(t,(function(){})):t}function zr(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Dr;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(Or.withExtraArgument(o.extraArgument)):i.push(Or));return i}(t)}}function Pr(t){var e,o=zr(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,f=i.preloadedState,h=void 0===f?void 0:f,p=i.enhancers,u=void 0===p?void 0:p;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=yr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=br.apply(void 0,d),g=gr;c&&(g=Ar(Lr({trace:!1},"object"==typeof c&&c)));var b=new Fr(y),m=b;return Array.isArray(u)?m=Nr([y],u):"function"==typeof u&&(m=u(b)),dr(e,h,g.apply(void 0,m))}function Kr(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return Lr(Lr({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.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 Br(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Tr(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:jr(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Br(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=Lr(Lr({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Br(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return jr(t())};else{var c=jr(t);r=function(){return c}}function f(t,e){void 0===t&&(t=r());var o=Nr([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 i;if(ci(t))return void 0===(i=o(t,e))?t:i;if(fi(t))return rr(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return f.getInitialState=r,f}(i,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Kr(c,i):Kr(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 Mr=["name","message","stack","code"],Zr=function(t,e){this.payload=t,this.meta=e},_r=function(t,e){this.payload=t,this.meta=e},Hr=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Mr;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Gr(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 i=Kr(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Wr(Lr({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Kr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Wr(Lr({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Kr(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Hr)(t||"Rejected"),meta:Wr(Lr({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,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,h=(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}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return Sr(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||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(r(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new Zr(t,e)},fulfillWithValue:function(t,e){return new _r(t,e)}})).then((function(e){if(e instanceof Zr)throw e;return e instanceof _r?i(e.payload,h,t,e.meta):i(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Zr?n(null,h,t,m.payload,m.meta):n(m,h,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{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(Gr)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Vr="listenerMiddleware";Kr(Vr+"/add"),Kr(Vr+"/removeAll"),Kr(Vr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[qi];return tr.get(e,t)},set:function(e){var o=this[qi];tr.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][qi];if(!r.P)switch(r.i){case 5:i(r)&&Fi(r);break;case 4:o(r)&&Fi(r)}}}function o(t){for(var e=t.t,o=t.k,i=Xi(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==qi){var a=e[n];if(void 0===a&&!ui(e,n))return!0;var s=o[n],l=s&&s[qi];if(l?l.t!==a:!yi(s,a))return!0}}var c=!!e[qi];return i.length!==Xi(e).length+(c?0:1)}function i(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 i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){Qi[t]||(Qi[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=Ji(o);delete n[qi];for(var a=Xi(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)}(i,e),n={i:i?5:4,A:o?o.A:Ni(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,qi,{value:n,writable:!0}),r},S:function(t,o,r){r?ci(o)&&o[qi].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[qi];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)hi(n,(function(e){e!==qi&&(void 0!==r[e]||ui(r,e)?a[e]||t(n[e]):(a[e]=!0,Fi(o)))})),hi(r,(function(t){void 0!==n[t]||ui(n,t)||(a[t]=!1,Fi(o))}));else if(5===s){if(i(o)&&(Fi(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,r.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class qr{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(ti(r))return r;if(null==i)return;const n=Tr({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Pr({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[i.name]=new qr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qo,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]: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()}}const Yr=Symbol("elementInternals");var Xr,Jr,Qr;const tn=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Qr=null===(Jr=null===(Xr=window.safari)||void 0===Xr?void 0:Xr.pushNotification)||void 0===Jr?void 0:Jr.toString())&&void 0!==Qr?Qr:""),en=It`
126
+ `;class Yo{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Xo=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!F(t,e),attribute:!1,...e};R(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};class Jo{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 Qo(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var ti,ei,oi;const ii=Symbol("internalReduxEventsUnsubscribers"),ri=Symbol("internalStoresUnsubscribers"),ni=Symbol("internalStores");class ai extends Ho{constructor(){super(...arguments),this[ti]=new Map,this[ei]=new Map,this[oi]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[ni].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ni].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ni].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Qo(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[ni].delete(e)}setupStore(t,e){this[ni].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ni].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[ri].has(t.store):this[ri].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[ri].set(t,e.subscribe((()=>this.updateFromStores()))),Qo(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[ii].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ri].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[ii].forEach((t=>t())),this[ii]=[]}unsubscribeFromStore(t){this[ri].has(t)&&this[ri].get(t)(),this[ri].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function si(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];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 li(t){return!!t&&!!t[Vi]}function ci(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)===qi}(t)||Array.isArray(t)||!!t[Gi]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Gi])||yi(t)||gi(t))}function fi(t,e,o){void 0===o&&(o=!1),0===hi(t)?(o?Object.keys:Yi)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function hi(t){var e=t[Vi];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:yi(t)?2:gi(t)?3:0}function pi(t,e){return 2===hi(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ui(t,e,o){var i=hi(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function di(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function yi(t){return Ti&&t instanceof Map}function gi(t){return Zi&&t instanceof Set}function bi(t){return t.o||t.t}function mi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Xi(t);delete e[Vi];for(var o=Yi(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function vi(t,e){return void 0===e&&(e=!1),Oi(t)||li(t)||!ci(t)||(hi(t)>1&&(t.set=t.add=t.clear=t.delete=xi),Object.freeze(t),e&&fi(t,(function(t,e){return vi(e,!0)}),!0)),t}function xi(){si(2)}function Oi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function wi(t){var e=Ji[t];return e||si(18,t),e}function Si(){return Bi}function Ni(t,e){e&&(wi("Patches"),t.u=[],t.s=[],t.v=e)}function Ci(t){Ei(t),t.p.forEach(ki),t.p=null}function Ei(t){t===Bi&&(Bi=t.l)}function $i(t){return Bi={p:[],l:Bi,h:t,m:!0,_:0}}function ki(t){var e=t[Vi];0===e.i||1===e.i?e.j():e.g=!0}function Ri(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||wi("ES5").S(e,t,i),i?(o[Vi].P&&(Ci(e),si(4)),ci(t)&&(t=Ii(e,t),e.l||Li(e,t)),e.u&&wi("Patches").M(o[Vi].t,t,e.u,e.s)):t=Ii(e,o,[]),Ci(e),e.u&&e.v(e.u,e.s),t!==Hi?t:void 0}function Ii(t,e,o){if(Oi(e))return e;var i=e[Vi];if(!i)return fi(e,(function(r,n){return Ui(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Li(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=mi(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),fi(n,(function(e,n){return Ui(t,i,r,e,n,o,a)})),Li(t,r,!1),o&&t.u&&wi("Patches").N(i,o,t.u,t.s)}return i.o}function Ui(t,e,o,i,r,n,a){if(li(r)){var s=Ii(t,r,n&&e&&3!==e.i&&!pi(e.R,i)?n.concat(i):void 0);if(ui(o,i,s),!li(s))return;t.m=!1}else a&&o.add(r);if(ci(r)&&!Oi(r)){if(!t.h.D&&t._<1)return;Ii(t,r),e&&e.A.l||Li(t,r)}}function Li(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&vi(e,o)}function Ai(t,e){var o=t[Vi];return(o?bi(o):t)[e]}function Wi(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function Di(t){t.P||(t.P=!0,t.l&&Di(t.l))}function Fi(t){t.o||(t.o=mi(t.t))}function ji(t,e,o){var i=yi(e)?wi("MapSet").F(e,o):gi(e)?wi("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:Si(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=Qi;o&&(r=[i],n=tr);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):wi("ES5").J(e,o);return(o?o.A:Si()).p.push(i),i}function zi(t){return li(t)||si(22,t),function t(e){if(!ci(e))return e;var o,i=e[Vi],r=hi(e);if(i){if(!i.P&&(i.i<4||!wi("ES5").K(i)))return i.t;i.I=!0,o=Pi(e,r),i.I=!1}else o=Pi(e,r);return fi(o,(function(e,r){i&&function(t,e){return 2===hi(t)?t.get(e):t[e]}(i.t,e)===r||ui(o,e,t(r))})),3===r?new Set(o):o}(t)}function Pi(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return mi(t)}ti=ri,ei=ni,oi=ii,ai.reduxProperties=new Map,ai.reduxReactiveProperties=new Set,ai.reduxEventListeners=new Map;var Ki,Bi,Mi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ti="undefined"!=typeof Map,Zi="undefined"!=typeof Set,_i="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Hi=Mi?Symbol.for("immer-nothing"):((Ki={})["immer-nothing"]=!0,Ki),Gi=Mi?Symbol.for("immer-draftable"):"__$immer_draftable",Vi=Mi?Symbol.for("immer-state"):"__$immer_state",qi=""+Object.prototype.constructor,Yi="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Xi=Object.getOwnPropertyDescriptors||function(t){var e={};return Yi(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Ji={},Qi={get:function(t,e){if(e===Vi)return t;var o=bi(t);if(!pi(o,e))return function(t,e,o){var i,r=Wi(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!ci(i)?i:i===Ai(t.t,e)?(Fi(t),t.o[e]=ji(t.A.h,i,t)):i},has:function(t,e){return e in bi(t)},ownKeys:function(t){return Reflect.ownKeys(bi(t))},set:function(t,e,o){var i=Wi(bi(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Ai(bi(t),e),n=null==r?void 0:r[Vi];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(di(o,r)&&(void 0!==o||pi(t.t,e)))return!0;Fi(t),Di(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!==Ai(t.t,e)||e in t.t?(t.R[e]=!1,Fi(t),Di(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=bi(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){si(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){si(12)}},tr={};fi(Qi,(function(t,e){tr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),tr.deleteProperty=function(t,e){return tr.set.call(this,t,e,void 0)},tr.set=function(t,e,o){return Qi.set.call(this,t[0],e,o,t[0])};var er=function(){function t(t){var e=this;this.O=_i,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&si(6),void 0!==i&&"function"!=typeof i&&si(7),ci(t)){var s=$i(e),l=ji(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?Ci(s):Ei(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Ni(s,i),Ri(t,s)}),(function(t){throw Ci(s),t})):(Ni(s,i),Ri(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Hi&&(a=void 0),e.D&&vi(a,!0),i){var f=[],h=[];wi("Patches").M(t,a,f,h),i(f,h)}return a}si(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"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){ci(t)||si(8),li(t)&&(t=zi(t));var e=$i(this),o=ji(this,t,void 0);return o[Vi].C=!0,Ei(e),o},e.finishDraft=function(t,e){var o=(t&&t[Vi]).A;return Ni(o,e),Ri(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!_i&&si(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=wi("Patches").$;return li(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),or=new er,ir=or.produce;function rr(t){return rr="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},rr(t)}function nr(t){var e=function(t,e){if("object"!==rr(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==rr(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===rr(e)?e:String(e)}function ar(t,e,o){return(e=nr(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function sr(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function lr(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?sr(Object(o),!0).forEach((function(e){ar(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):sr(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function cr(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. "}or.produceWithPatches.bind(or),or.setAutoFreeze.bind(or),or.setUseProxies.bind(or),or.applyPatches.bind(or),or.createDraft.bind(or),or.finishDraft.bind(or);var fr="function"==typeof Symbol&&Symbol.observable||"@@observable",hr=function(){return Math.random().toString(36).substring(7).split("").join(".")},pr={INIT:"@@redux/INIT"+hr(),REPLACE:"@@redux/REPLACE"+hr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+hr()}};function ur(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(cr(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(cr(1));return o(ur)(t,e)}if("function"!=typeof t)throw new Error(cr(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(cr(3));return n}function h(t){if("function"!=typeof t)throw new Error(cr(4));if(l)throw new Error(cr(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(cr(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(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(cr(7));if(void 0===t.type)throw new Error(cr(8));if(l)throw new Error(cr(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:pr.INIT}),(i={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(cr(10));r=t,p({type:pr.REPLACE})}})[fr]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(cr(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[fr]=function(){return this},t},i}function dr(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}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:pr.INIT}))throw new Error(cr(12));if(void 0===o(void 0,{type:pr.PROBE_UNKNOWN_ACTION()}))throw new Error(cr(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(cr(14));r[l]=h,i=i||h!==f}return(i=i||a.length!==Object.keys(t).length)?r:t}}function yr(){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 gr(){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),i=function(){throw new Error(cr(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=yr.apply(void 0,n)(o.dispatch),lr(lr({},o),{},{dispatch:i})}}}function br(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var mr=br();mr.withExtraArgument=br;var vr,xr=mr,Or=(vr=function(t,e){return vr=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])},vr(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}vr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),wr=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[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,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},Sr=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},Nr=Object.defineProperty,Cr=Object.defineProperties,Er=Object.getOwnPropertyDescriptors,$r=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Ir=function(t,e,o){return e in t?Nr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ur=function(t,e){for(var o in e||(e={}))kr.call(e,o)&&Ir(t,o,e[o]);if($r)for(var i=0,r=$r(e);i<r.length;i++){o=r[i];Rr.call(e,o)&&Ir(t,o,e[o])}return t},Lr=function(t,e){return Cr(t,Er(e))},Ar="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?yr:yr.apply(null,arguments)};var Wr=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return Or(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,Sr([void 0],t[0].concat(this)))):new(e.bind.apply(e,Sr([void 0],t.concat(this))))},e}(Array),Dr=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return Or(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,Sr([void 0],t[0].concat(this)))):new(e.bind.apply(e,Sr([void 0],t.concat(this))))},e}(Array);function Fr(t){return ci(t)?ir(t,(function(){})):t}function jr(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Wr;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(xr.withExtraArgument(o.extraArgument)):i.push(xr));return i}(t)}}function zr(t){var e,o=jr(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,f=i.preloadedState,h=void 0===f?void 0:f,p=i.enhancers,u=void 0===p?void 0:p;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=dr(n)}var d=s;"function"==typeof d&&(d=d(o));var y=gr.apply(void 0,d),g=yr;c&&(g=Ar(Ur({trace:!1},"object"==typeof c&&c)));var b=new Dr(y),m=b;return Array.isArray(u)?m=Sr([y],u):"function"==typeof u&&(m=u(b)),ur(e,h,g.apply(void 0,m))}function Pr(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return Ur(Ur({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.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 Kr(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Br(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Fr(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Kr(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=Ur(Ur({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Kr(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Fr(t())};else{var c=Fr(t);r=function(){return c}}function f(t,e){void 0===t&&(t=r());var o=Sr([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 i;if(li(t))return void 0===(i=o(t,e))?t:i;if(ci(t))return ir(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return f.getInitialState=r,f}(i,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Pr(c,i):Pr(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 Mr=["name","message","stack","code"],Tr=function(t,e){this.payload=t,this.meta=e},Zr=function(t,e){this.payload=t,this.meta=e},_r=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Mr;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Hr(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 i=Pr(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Lr(Ur({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Pr(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Lr(Ur({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Pr(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||_r)(t||"Rejected"),meta:Lr(Ur({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,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,h=(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}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return wr(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||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(r(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new Tr(t,e)},fulfillWithValue:function(t,e){return new Zr(t,e)}})).then((function(e){if(e instanceof Tr)throw e;return e instanceof Zr?i(e.payload,h,t,e.meta):i(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Tr?n(null,h,t,m.payload,m.meta):n(m,h,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{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(Hr)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Gr="listenerMiddleware";Pr(Gr+"/add"),Pr(Gr+"/removeAll"),Pr(Gr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Vi];return Qi.get(e,t)},set:function(e){var o=this[Vi];Qi.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Vi];if(!r.P)switch(r.i){case 5:i(r)&&Di(r);break;case 4:o(r)&&Di(r)}}}function o(t){for(var e=t.t,o=t.k,i=Yi(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==Vi){var a=e[n];if(void 0===a&&!pi(e,n))return!0;var s=o[n],l=s&&s[Vi];if(l?l.t!==a:!di(s,a))return!0}}var c=!!e[Vi];return i.length!==Yi(e).length+(c?0:1)}function i(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 i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){Ji[t]||(Ji[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=Xi(o);delete n[Vi];for(var a=Yi(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)}(i,e),n={i:i?5:4,A:o?o.A:Si(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Vi,{value:n,writable:!0}),r},S:function(t,o,r){r?li(o)&&o[Vi].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Vi];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)fi(n,(function(e){e!==Vi&&(void 0!==r[e]||pi(r,e)?a[e]||t(n[e]):(a[e]=!0,Di(o)))})),fi(r,(function(t){void 0!==n[t]||pi(n,t)||(a[t]=!1,Di(o))}));else if(5===s){if(i(o)&&(Di(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,r.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Vr{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(Qo(r))return r;if(null==i)return;const n=Br({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=zr({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[i.name]=new Vr(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Jo,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]: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()}}const qr=Symbol("elementInternals");var Yr,Xr,Jr;const Qr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Jr=null===(Xr=null===(Yr=window.safari)||void 0===Yr?void 0:Yr.pushNotification)||void 0===Xr?void 0:Xr.toString())&&void 0!==Jr?Jr:""),tn=Rt`
127
127
  `
128
128
  /**
129
129
  * @license
130
130
  * Copyright 2020 Google LLC
131
131
  * SPDX-License-Identifier: BSD-3-Clause
132
- */,on=Symbol.for(""),rn=t=>{if(t?.r===on)return t?._$litStatic$},nn=t=>({_$litStatic$:t,r:on}),an=new Map,sn=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=rn(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=an.get(t))&&(a.raw=a,an.set(t,e=a)),o=s}return t(e,...o)})(at);var ln;!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"}(ln||(ln={}));const cn=Ie.extend("--ft-typography-font-family","",Fe.titleFont),fn=Ie.extend("--ft-typography-font-family","",Fe.contentFont),hn={fontFamily:fn,fontSize:Ie.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ie.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ie.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ie.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ie.create("--ft-typography-text-transform","","UNKNOWN","inherit")},pn=Ie.extend("--ft-typography-title-font-family","",cn),un=Ie.extend("--ft-typography-title-font-size","",hn.fontSize,"20px"),dn=Ie.extend("--ft-typography-title-font-weight","",hn.fontWeight,"normal"),yn=Ie.extend("--ft-typography-title-letter-spacing","",hn.letterSpacing,"0.15px"),gn=Ie.extend("--ft-typography-title-line-height","",hn.lineHeight,"1.2"),bn=Ie.extend("--ft-typography-title-text-transform","",hn.textTransform,"inherit"),mn=Ie.extend("--ft-typography-title-dense-font-family","",cn),vn=Ie.extend("--ft-typography-title-dense-font-size","",hn.fontSize,"14px"),xn=Ie.extend("--ft-typography-title-dense-font-weight","",hn.fontWeight,"normal"),On=Ie.extend("--ft-typography-title-dense-letter-spacing","",hn.letterSpacing,"0.105px"),wn=Ie.extend("--ft-typography-title-dense-line-height","",hn.lineHeight,"1.7"),Sn=Ie.extend("--ft-typography-title-dense-text-transform","",hn.textTransform,"inherit"),Nn=Ie.extend("--ft-typography-subtitle1-font-family","",fn),Cn=Ie.extend("--ft-typography-subtitle1-font-size","",hn.fontSize,"16px"),En=Ie.extend("--ft-typography-subtitle1-font-weight","",hn.fontWeight,"600"),$n=Ie.extend("--ft-typography-subtitle1-letter-spacing","",hn.letterSpacing,"0.144px"),kn=Ie.extend("--ft-typography-subtitle1-line-height","",hn.lineHeight,"1.5"),Rn=Ie.extend("--ft-typography-subtitle1-text-transform","",hn.textTransform,"inherit"),In=Ie.extend("--ft-typography-subtitle2-font-family","",fn),Un=Ie.extend("--ft-typography-subtitle2-font-size","",hn.fontSize,"14px"),Ln=Ie.extend("--ft-typography-subtitle2-font-weight","",hn.fontWeight,"normal"),Wn=Ie.extend("--ft-typography-subtitle2-letter-spacing","",hn.letterSpacing,"0.098px"),An=Ie.extend("--ft-typography-subtitle2-line-height","",hn.lineHeight,"1.7"),Dn=Ie.extend("--ft-typography-subtitle2-text-transform","",hn.textTransform,"inherit"),Fn=Ie.extend("--ft-typography-body1-font-family","",fn),jn=Ie.extend("--ft-typography-body1-font-size","",hn.fontSize,"16px"),zn=Ie.extend("--ft-typography-body1-font-weight","",hn.fontWeight,"normal"),Pn=Ie.extend("--ft-typography-body1-letter-spacing","",hn.letterSpacing,"0.496px"),Kn=Ie.extend("--ft-typography-body1-line-height","",hn.lineHeight,"1.5"),Bn=Ie.extend("--ft-typography-body1-text-transform","",hn.textTransform,"inherit"),Tn={fontFamily:Ie.extend("--ft-typography-body2-font-family","",fn),fontSize:Ie.extend("--ft-typography-body2-font-size","",hn.fontSize,"14px"),fontWeight:Ie.extend("--ft-typography-body2-font-weight","",hn.fontWeight,"normal"),letterSpacing:Ie.extend("--ft-typography-body2-letter-spacing","",hn.letterSpacing,"0.252px"),lineHeight:Ie.extend("--ft-typography-body2-line-height","",hn.lineHeight,"1.4"),textTransform:Ie.extend("--ft-typography-body2-text-transform","",hn.textTransform,"inherit")},Mn=Ie.extend("--ft-typography-caption-font-family","",fn),Zn=Ie.extend("--ft-typography-caption-font-size","",hn.fontSize,"12px"),_n=Ie.extend("--ft-typography-caption-font-weight","",hn.fontWeight,"normal"),Hn=Ie.extend("--ft-typography-caption-letter-spacing","",hn.letterSpacing,"0.396px"),Gn=Ie.extend("--ft-typography-caption-line-height","",hn.lineHeight,"1.33"),Vn=Ie.extend("--ft-typography-caption-text-transform","",hn.textTransform,"inherit"),qn=Ie.extend("--ft-typography-breadcrumb-font-family","",fn),Yn=Ie.extend("--ft-typography-breadcrumb-font-size","",hn.fontSize,"10px"),Xn=Ie.extend("--ft-typography-breadcrumb-font-weight","",hn.fontWeight,"normal"),Jn=Ie.extend("--ft-typography-breadcrumb-letter-spacing","",hn.letterSpacing,"0.33px"),Qn=Ie.extend("--ft-typography-breadcrumb-line-height","",hn.lineHeight,"1.6"),ta=Ie.extend("--ft-typography-breadcrumb-text-transform","",hn.textTransform,"inherit"),ea=Ie.extend("--ft-typography-overline-font-family","",fn),oa=Ie.extend("--ft-typography-overline-font-size","",hn.fontSize,"10px"),ia=Ie.extend("--ft-typography-overline-font-weight","",hn.fontWeight,"normal"),ra=Ie.extend("--ft-typography-overline-letter-spacing","",hn.letterSpacing,"1.5px"),na=Ie.extend("--ft-typography-overline-line-height","",hn.lineHeight,"1.6"),aa=Ie.extend("--ft-typography-overline-text-transform","",hn.textTransform,"uppercase"),sa={fontFamily:Ie.extend("--ft-typography-button-font-family","",fn),fontSize:Ie.extend("--ft-typography-button-font-size","",hn.fontSize,"14px"),fontWeight:Ie.extend("--ft-typography-button-font-weight","",hn.fontWeight,"600"),letterSpacing:Ie.extend("--ft-typography-button-letter-spacing","",hn.letterSpacing,"1.246px"),lineHeight:Ie.extend("--ft-typography-button-line-height","",hn.lineHeight,"1.15"),textTransform:Ie.extend("--ft-typography-button-text-transform","",hn.textTransform,"uppercase")},la=It`
132
+ */,en=Symbol.for(""),on=t=>{if(t?.r===en)return t?._$litStatic$},rn=t=>({_$litStatic$:t,r:en}),nn=new Map,an=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=on(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=nn.get(t))&&(a.raw=a,nn.set(t,e=a)),o=s}return t(e,...o)})(nt);var sn;!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"}(sn||(sn={}));const ln=Re.extend("--ft-typography-font-family","",De.titleFont),cn=Re.extend("--ft-typography-font-family","",De.contentFont),fn={fontFamily:cn,fontSize:Re.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Re.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Re.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Re.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Re.create("--ft-typography-text-transform","","UNKNOWN","inherit")},hn=Re.extend("--ft-typography-title-font-family","",ln),pn=Re.extend("--ft-typography-title-font-size","",fn.fontSize,"20px"),un=Re.extend("--ft-typography-title-font-weight","",fn.fontWeight,"normal"),dn=Re.extend("--ft-typography-title-letter-spacing","",fn.letterSpacing,"0.15px"),yn=Re.extend("--ft-typography-title-line-height","",fn.lineHeight,"1.2"),gn=Re.extend("--ft-typography-title-text-transform","",fn.textTransform,"inherit"),bn=Re.extend("--ft-typography-title-dense-font-family","",ln),mn=Re.extend("--ft-typography-title-dense-font-size","",fn.fontSize,"14px"),vn=Re.extend("--ft-typography-title-dense-font-weight","",fn.fontWeight,"normal"),xn=Re.extend("--ft-typography-title-dense-letter-spacing","",fn.letterSpacing,"0.105px"),On=Re.extend("--ft-typography-title-dense-line-height","",fn.lineHeight,"1.7"),wn=Re.extend("--ft-typography-title-dense-text-transform","",fn.textTransform,"inherit"),Sn=Re.extend("--ft-typography-subtitle1-font-family","",cn),Nn=Re.extend("--ft-typography-subtitle1-font-size","",fn.fontSize,"16px"),Cn=Re.extend("--ft-typography-subtitle1-font-weight","",fn.fontWeight,"600"),En=Re.extend("--ft-typography-subtitle1-letter-spacing","",fn.letterSpacing,"0.144px"),$n=Re.extend("--ft-typography-subtitle1-line-height","",fn.lineHeight,"1.5"),kn=Re.extend("--ft-typography-subtitle1-text-transform","",fn.textTransform,"inherit"),Rn=Re.extend("--ft-typography-subtitle2-font-family","",cn),In=Re.extend("--ft-typography-subtitle2-font-size","",fn.fontSize,"14px"),Un=Re.extend("--ft-typography-subtitle2-font-weight","",fn.fontWeight,"normal"),Ln=Re.extend("--ft-typography-subtitle2-letter-spacing","",fn.letterSpacing,"0.098px"),An=Re.extend("--ft-typography-subtitle2-line-height","",fn.lineHeight,"1.7"),Wn=Re.extend("--ft-typography-subtitle2-text-transform","",fn.textTransform,"inherit"),Dn=Re.extend("--ft-typography-body1-font-family","",cn),Fn=Re.extend("--ft-typography-body1-font-size","",fn.fontSize,"16px"),jn=Re.extend("--ft-typography-body1-font-weight","",fn.fontWeight,"normal"),zn=Re.extend("--ft-typography-body1-letter-spacing","",fn.letterSpacing,"0.496px"),Pn=Re.extend("--ft-typography-body1-line-height","",fn.lineHeight,"1.5"),Kn=Re.extend("--ft-typography-body1-text-transform","",fn.textTransform,"inherit"),Bn={fontFamily:Re.extend("--ft-typography-body2-font-family","",cn),fontSize:Re.extend("--ft-typography-body2-font-size","",fn.fontSize,"14px"),fontWeight:Re.extend("--ft-typography-body2-font-weight","",fn.fontWeight,"normal"),letterSpacing:Re.extend("--ft-typography-body2-letter-spacing","",fn.letterSpacing,"0.252px"),lineHeight:Re.extend("--ft-typography-body2-line-height","",fn.lineHeight,"1.4"),textTransform:Re.extend("--ft-typography-body2-text-transform","",fn.textTransform,"inherit")},Mn=Re.extend("--ft-typography-caption-font-family","",cn),Tn=Re.extend("--ft-typography-caption-font-size","",fn.fontSize,"12px"),Zn=Re.extend("--ft-typography-caption-font-weight","",fn.fontWeight,"normal"),_n=Re.extend("--ft-typography-caption-letter-spacing","",fn.letterSpacing,"0.396px"),Hn=Re.extend("--ft-typography-caption-line-height","",fn.lineHeight,"1.33"),Gn=Re.extend("--ft-typography-caption-text-transform","",fn.textTransform,"inherit"),Vn=Re.extend("--ft-typography-breadcrumb-font-family","",cn),qn=Re.extend("--ft-typography-breadcrumb-font-size","",fn.fontSize,"10px"),Yn=Re.extend("--ft-typography-breadcrumb-font-weight","",fn.fontWeight,"normal"),Xn=Re.extend("--ft-typography-breadcrumb-letter-spacing","",fn.letterSpacing,"0.33px"),Jn=Re.extend("--ft-typography-breadcrumb-line-height","",fn.lineHeight,"1.6"),Qn=Re.extend("--ft-typography-breadcrumb-text-transform","",fn.textTransform,"inherit"),ta=Re.extend("--ft-typography-overline-font-family","",cn),ea=Re.extend("--ft-typography-overline-font-size","",fn.fontSize,"10px"),oa=Re.extend("--ft-typography-overline-font-weight","",fn.fontWeight,"normal"),ia=Re.extend("--ft-typography-overline-letter-spacing","",fn.letterSpacing,"1.5px"),ra=Re.extend("--ft-typography-overline-line-height","",fn.lineHeight,"1.6"),na=Re.extend("--ft-typography-overline-text-transform","",fn.textTransform,"uppercase"),aa={fontFamily:Re.extend("--ft-typography-button-font-family","",cn),fontSize:Re.extend("--ft-typography-button-font-size","",fn.fontSize,"14px"),fontWeight:Re.extend("--ft-typography-button-font-weight","",fn.fontWeight,"600"),letterSpacing:Re.extend("--ft-typography-button-letter-spacing","",fn.letterSpacing,"1.246px"),lineHeight:Re.extend("--ft-typography-button-line-height","",fn.lineHeight,"1.15"),textTransform:Re.extend("--ft-typography-button-text-transform","",fn.textTransform,"uppercase")},sa=Rt`
133
133
  .ft-typography--title {
134
- font-family: ${pn};
135
- font-size: ${un};
136
- font-weight: ${dn};
137
- letter-spacing: ${yn};
138
- line-height: ${gn};
139
- text-transform: ${bn};
140
- }
141
- `,ca=It`
134
+ font-family: ${hn};
135
+ font-size: ${pn};
136
+ font-weight: ${un};
137
+ letter-spacing: ${dn};
138
+ line-height: ${yn};
139
+ text-transform: ${gn};
140
+ }
141
+ `,la=Rt`
142
142
  .ft-typography--title-dense {
143
- font-family: ${mn};
144
- font-size: ${vn};
145
- font-weight: ${xn};
146
- letter-spacing: ${On};
147
- line-height: ${wn};
148
- text-transform: ${Sn};
149
- }
150
- `,fa=It`
143
+ font-family: ${bn};
144
+ font-size: ${mn};
145
+ font-weight: ${vn};
146
+ letter-spacing: ${xn};
147
+ line-height: ${On};
148
+ text-transform: ${wn};
149
+ }
150
+ `,ca=Rt`
151
151
  .ft-typography--subtitle1 {
152
- font-family: ${Nn};
153
- font-size: ${Cn};
154
- font-weight: ${En};
155
- letter-spacing: ${$n};
156
- line-height: ${kn};
157
- text-transform: ${Rn};
158
- }
159
- `,ha=It`
152
+ font-family: ${Sn};
153
+ font-size: ${Nn};
154
+ font-weight: ${Cn};
155
+ letter-spacing: ${En};
156
+ line-height: ${$n};
157
+ text-transform: ${kn};
158
+ }
159
+ `,fa=Rt`
160
160
  .ft-typography--subtitle2 {
161
- font-family: ${In};
162
- font-size: ${Un};
163
- font-weight: ${Ln};
164
- letter-spacing: ${Wn};
161
+ font-family: ${Rn};
162
+ font-size: ${In};
163
+ font-weight: ${Un};
164
+ letter-spacing: ${Ln};
165
165
  line-height: ${An};
166
- text-transform: ${Dn};
166
+ text-transform: ${Wn};
167
167
  }
168
168
 
169
- `,pa=It`
169
+ `,ha=Rt`
170
170
  .ft-typography--body1 {
171
- font-family: ${Fn};
172
- font-size: ${jn};
173
- font-weight: ${zn};
174
- letter-spacing: ${Pn};
175
- line-height: ${Kn};
176
- text-transform: ${Bn};
177
- }
178
- `,ua=It`
171
+ font-family: ${Dn};
172
+ font-size: ${Fn};
173
+ font-weight: ${jn};
174
+ letter-spacing: ${zn};
175
+ line-height: ${Pn};
176
+ text-transform: ${Kn};
177
+ }
178
+ `,pa=Rt`
179
179
  .ft-typography--body2 {
180
- font-family: ${Tn.fontFamily};
181
- font-size: ${Tn.fontSize};
182
- font-weight: ${Tn.fontWeight};
183
- letter-spacing: ${Tn.letterSpacing};
184
- line-height: ${Tn.lineHeight};
185
- text-transform: ${Tn.textTransform};
186
- }
187
- `,da=It`
180
+ font-family: ${Bn.fontFamily};
181
+ font-size: ${Bn.fontSize};
182
+ font-weight: ${Bn.fontWeight};
183
+ letter-spacing: ${Bn.letterSpacing};
184
+ line-height: ${Bn.lineHeight};
185
+ text-transform: ${Bn.textTransform};
186
+ }
187
+ `,ua=Rt`
188
188
  .ft-typography--caption {
189
189
  font-family: ${Mn};
190
- font-size: ${Zn};
191
- font-weight: ${_n};
192
- letter-spacing: ${Hn};
193
- line-height: ${Gn};
194
- text-transform: ${Vn};
190
+ font-size: ${Tn};
191
+ font-weight: ${Zn};
192
+ letter-spacing: ${_n};
193
+ line-height: ${Hn};
194
+ text-transform: ${Gn};
195
195
  }
196
- `,ya=It`
196
+ `,da=Rt`
197
197
  .ft-typography--breadcrumb {
198
- font-family: ${qn};
199
- font-size: ${Yn};
200
- font-weight: ${Xn};
201
- letter-spacing: ${Jn};
202
- line-height: ${Qn};
203
- text-transform: ${ta};
204
- }
205
- `,ga=It`
198
+ font-family: ${Vn};
199
+ font-size: ${qn};
200
+ font-weight: ${Yn};
201
+ letter-spacing: ${Xn};
202
+ line-height: ${Jn};
203
+ text-transform: ${Qn};
204
+ }
205
+ `,ya=Rt`
206
206
  .ft-typography--overline {
207
- font-family: ${ea};
208
- font-size: ${oa};
209
- font-weight: ${ia};
210
- letter-spacing: ${ra};
211
- line-height: ${na};
212
- text-transform: ${aa};
213
- }
214
- `,ba=It`
207
+ font-family: ${ta};
208
+ font-size: ${ea};
209
+ font-weight: ${oa};
210
+ letter-spacing: ${ia};
211
+ line-height: ${ra};
212
+ text-transform: ${na};
213
+ }
214
+ `,ga=Rt`
215
215
  .ft-typography--button {
216
- font-family: ${sa.fontFamily};
217
- font-size: ${sa.fontSize};
218
- font-weight: ${sa.fontWeight};
219
- letter-spacing: ${sa.letterSpacing};
220
- line-height: ${sa.lineHeight};
221
- text-transform: ${sa.textTransform};
222
- }
223
- `,ma=It`
216
+ font-family: ${aa.fontFamily};
217
+ font-size: ${aa.fontSize};
218
+ font-weight: ${aa.fontWeight};
219
+ letter-spacing: ${aa.letterSpacing};
220
+ line-height: ${aa.lineHeight};
221
+ text-transform: ${aa.textTransform};
222
+ }
223
+ `,ba=Rt`
224
224
  .ft-typography {
225
225
  vertical-align: inherit;
226
226
  }
227
- `,va=[Object.keys(We).map((t=>function(t){const e=We[t];return It`
228
- .ft-typography--${Rt(t)} {
227
+ `,ma=[Object.keys(Le).map((t=>function(t){const e=Le[t];return Rt`
228
+ .ft-typography--${kt(t)} {
229
229
  font-family: ${e.fontFamily};
230
230
  font-size: ${e.fontSize};
231
231
  font-weight: ${e.fontWeight};
@@ -233,25 +233,25 @@ const Po=window,Ko=Po.ShadowRoot&&(void 0===Po.ShadyCSS||Po.ShadyCSS.nativeShado
233
233
  line-height: ${e.lineHeight};
234
234
  text-transform: ${e.textCase};
235
235
  }
236
- `}(t)))];var xa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Oa extends Go{constructor(){super(...arguments),this.variant=ln.body1}render(){return this.element?sn`
237
- <${nn(this.element)}
236
+ `}(t)))];var va=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class xa extends Ho{constructor(){super(...arguments),this.variant=sn.body1}render(){return this.element?an`
237
+ <${rn(this.element)}
238
238
  class="ft-typography ft-typography--${this.variant}">
239
239
  <slot></slot>
240
- </${nn(this.element)}>
241
- `:sn`
240
+ </${rn(this.element)}>
241
+ `:an`
242
242
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
243
- `}}Oa.styles=[la,ca,fa,ha,pa,ua,da,ya,ga,ba,ma,...va],xa([R()],Oa.prototype,"element",void 0),xa([R()],Oa.prototype,"variant",void 0),z("ft-typography")(Oa);
243
+ `}}xa.styles=[sa,la,ca,fa,ha,pa,ua,da,ya,ga,ba,...ma],va([R()],xa.prototype,"element",void 0),va([R()],xa.prototype,"variant",void 0),j("ft-typography")(xa);
244
244
  /**
245
245
  * @license
246
246
  * Copyright 2017 Google LLC
247
247
  * SPDX-License-Identifier: BSD-3-Clause
248
248
  */
249
- const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{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)}}
249
+ const Oa=1,wa=2,Sa=t=>(...e)=>({_$litDirective$:t,values:e});class Na{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)}}
250
250
  /**
251
251
  * @license
252
252
  * Copyright 2020 Google LLC
253
253
  * SPDX-License-Identifier: BSD-3-Clause
254
- */const{D:Ea}=wt,$a=()=>document.createComment(""),ka=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore($a(),r),n=i.insertBefore($a(),r);o=new Ea(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},Ra=(t,e,o=t)=>(t._$AI(e,o),t),Ia={},Ua=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}},La=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},Wa=Na(class extends Ca{constructor(t){if(super(t),t.type!==Sa)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,h=0,p=r.length-1,u=0,d=n.length-1;for(;h<=p&&u<=d;)if(null===r[h])h++;else if(null===r[p])p--;else if(s[h]===a[u])l[u]=Ra(r[h],n[u]),h++,u++;else if(s[p]===a[d])l[d]=Ra(r[p],n[d]),p--,d--;else if(s[h]===a[d])l[d]=Ra(r[h],n[d]),ka(t,l[d+1],r[h]),h++,d--;else if(s[p]===a[u])l[u]=Ra(r[p],n[u]),ka(t,r[h],r[p]),p--,u++;else if(void 0===c&&(c=La(a,u,d),f=La(s,h,p)),c.has(s[h]))if(c.has(s[p])){const e=f.get(a[u]),o=void 0!==e?r[e]:null;if(null===o){const e=ka(t,r[h]);Ra(e,n[u]),l[u]=e}else l[u]=Ra(o,n[u]),ka(t,r[h],o),r[e]=null;u++}else Ua(r[p]),p--;else Ua(r[h]),h++;for(;u<=d;){const e=ka(t,l[d+1]);Ra(e,n[u]),l[u++]=e}for(;h<=p;){const t=r[h++];null!==t&&Ua(t)}return this.dt=a,((t,e=Ia)=>{t._$AH=e})(t,l),st}}),Aa=Ie.extend("--ft-ripple-color","",Fe.colorContent),Da={color:Aa,backgroundColor:Ie.extend("--ft-ripple-background-color","",Aa),opacityContentOnSurfacePressed:Ie.external(Fe.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ie.external(Fe.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ie.external(Fe.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ie.external(Fe.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ie.create("--ft-ripple-border-radius","","SIZE","0px")},Fa=Ie.extend("--ft-ripple-color","",Fe.colorPrimary),ja=Fa,za=Ie.extend("--ft-ripple-background-color","",Fa),Pa=Ie.extend("--ft-ripple-color","",Fe.colorSecondary),Ka=Pa,Ba=Ie.extend("--ft-ripple-background-color","",Pa),Ta=It`
254
+ */const{D:Ca}=Ot,Ea=()=>document.createComment(""),$a=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(Ea(),r),n=i.insertBefore(Ea(),r);o=new Ca(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},ka=(t,e,o=t)=>(t._$AI(e,o),t),Ra={},Ia=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}},Ua=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},La=Sa(class extends Na{constructor(t){if(super(t),t.type!==wa)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,h=0,p=r.length-1,u=0,d=n.length-1;for(;h<=p&&u<=d;)if(null===r[h])h++;else if(null===r[p])p--;else if(s[h]===a[u])l[u]=ka(r[h],n[u]),h++,u++;else if(s[p]===a[d])l[d]=ka(r[p],n[d]),p--,d--;else if(s[h]===a[d])l[d]=ka(r[h],n[d]),$a(t,l[d+1],r[h]),h++,d--;else if(s[p]===a[u])l[u]=ka(r[p],n[u]),$a(t,r[h],r[p]),p--,u++;else if(void 0===c&&(c=Ua(a,u,d),f=Ua(s,h,p)),c.has(s[h]))if(c.has(s[p])){const e=f.get(a[u]),o=void 0!==e?r[e]:null;if(null===o){const e=$a(t,r[h]);ka(e,n[u]),l[u]=e}else l[u]=ka(o,n[u]),$a(t,r[h],o),r[e]=null;u++}else Ia(r[p]),p--;else Ia(r[h]),h++;for(;u<=d;){const e=$a(t,l[d+1]);ka(e,n[u]),l[u++]=e}for(;h<=p;){const t=r[h++];null!==t&&Ia(t)}return this.dt=a,((t,e=Ra)=>{t._$AH=e})(t,l),at}}),Aa=Re.extend("--ft-ripple-color","",De.colorContent),Wa={color:Aa,backgroundColor:Re.extend("--ft-ripple-background-color","",Aa),opacityContentOnSurfacePressed:Re.external(De.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Re.external(De.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Re.external(De.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Re.external(De.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Re.create("--ft-ripple-border-radius","","SIZE","0px")},Da=Re.extend("--ft-ripple-color","",De.colorPrimary),Fa=Da,ja=Re.extend("--ft-ripple-background-color","",Da),za=Re.extend("--ft-ripple-color","",De.colorSecondary),Pa=za,Ka=Re.extend("--ft-ripple-background-color","",za),Ba=Rt`
255
255
  :host {
256
256
  display: contents;
257
257
  }
@@ -264,7 +264,7 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
264
264
 
265
265
  .ft-ripple:not(.ft-ripple--unbounded) {
266
266
  overflow: hidden;
267
- border-radius: ${Da.borderRadius};
267
+ border-radius: ${Wa.borderRadius};
268
268
  }
269
269
 
270
270
  .ft-ripple .ft-ripple--background,
@@ -298,27 +298,27 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
298
298
  }
299
299
 
300
300
  .ft-ripple .ft-ripple--background {
301
- background-color: ${Da.backgroundColor};
301
+ background-color: ${Wa.backgroundColor};
302
302
  }
303
303
 
304
304
  .ft-ripple .ft-ripple--effect {
305
- background-color: ${Da.color};
305
+ background-color: ${Wa.color};
306
306
  }
307
307
 
308
308
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
309
- background-color: ${Ba};
309
+ background-color: ${Ka};
310
310
  }
311
311
 
312
312
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
313
- background-color: ${Ka};
313
+ background-color: ${Pa};
314
314
  }
315
315
 
316
316
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
317
- background-color: ${za};
317
+ background-color: ${ja};
318
318
  }
319
319
 
320
320
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
321
- background-color: ${ja};
321
+ background-color: ${Fa};
322
322
  }
323
323
 
324
324
  .ft-ripple .ft-ripple--background {
@@ -348,22 +348,22 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
348
348
  }
349
349
 
350
350
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
351
- opacity: ${Da.opacityContentOnSurfaceHover};
351
+ opacity: ${Wa.opacityContentOnSurfaceHover};
352
352
  }
353
353
 
354
354
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
355
- opacity: ${Da.opacityContentOnSurfaceSelected};
355
+ opacity: ${Wa.opacityContentOnSurfaceSelected};
356
356
  }
357
357
 
358
358
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
359
- opacity: ${Da.opacityContentOnSurfaceFocused};
359
+ opacity: ${Wa.opacityContentOnSurfaceFocused};
360
360
  }
361
361
 
362
362
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
363
- opacity: ${Da.opacityContentOnSurfacePressed};
363
+ opacity: ${Wa.opacityContentOnSurfacePressed};
364
364
  transform: translate(-50%, -50%) scale(1);
365
365
  }
366
- `,Ma={color:Ie.extend("--ft-loader-color","",Fe.colorPrimary),size:Ie.create("--ft-loader-size","","SIZE","80px")},Za=It`
366
+ `,Ma={color:Re.extend("--ft-loader-color","",De.colorPrimary),size:Re.create("--ft-loader-size","","SIZE","80px")},Ta=Rt`
367
367
  :host {
368
368
  line-height: 0;
369
369
  }
@@ -432,7 +432,7 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
432
432
  transform: translate(calc(0.35 * ${Ma.size}), 0);
433
433
  }
434
434
  }
435
- `,_a={size:Ie.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ie.extend("--ft-icon-fluid-topics-font-family","",Ie.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ie.extend("--ft-icon-file-format-font-family","",Ie.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ie.extend("--ft-icon-material-font-family","",Ie.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ie.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ha=It`
435
+ `,Za={size:Re.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Re.extend("--ft-icon-fluid-topics-font-family","",Re.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Re.extend("--ft-icon-file-format-font-family","",Re.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Re.extend("--ft-icon-material-font-family","",Re.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Re.create("--ft-icon-vertical-align","","UNKNOWN","unset")},_a=Rt`
436
436
  :host, i.ft-icon {
437
437
  display: inline-flex;
438
438
  align-items: center;
@@ -441,14 +441,14 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
441
441
  }
442
442
 
443
443
  :host {
444
- width: ${_a.size};
445
- height: ${_a.size};
444
+ width: ${Za.size};
445
+ height: ${Za.size};
446
446
  }
447
447
 
448
448
  i.ft-icon {
449
449
  width: 100%;
450
450
  height: 100%;
451
- font-size: ${_a.size};
451
+ font-size: ${Za.size};
452
452
  line-height: 1;
453
453
  font-weight: normal;
454
454
  text-transform: none;
@@ -459,28 +459,28 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
459
459
  text-rendering: auto;
460
460
  -webkit-font-smoothing: antialiased;
461
461
  -moz-osx-font-smoothing: grayscale;
462
- vertical-align: ${_a.verticalAlign};
462
+ vertical-align: ${Za.verticalAlign};
463
463
  }
464
464
 
465
465
  i.ft-icon.ft-icon--fluid-topics {
466
- font-family: ${_a.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
466
+ font-family: ${Za.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
467
467
 
468
468
  /* Ugly fix because font is broken */
469
- font-size: calc(0.75 * ${_a.size});
470
- line-height: ${_a.size};
469
+ font-size: calc(0.75 * ${Za.size});
470
+ line-height: ${Za.size};
471
471
  position: relative;
472
472
  top: -4%;
473
473
  justify-content: center;
474
474
  }
475
475
 
476
476
  .ft-icon--file-format {
477
- font-family: ${_a.fileFormatFontFamily}, ft-mime, sans-serif;
477
+ font-family: ${Za.fileFormatFontFamily}, ft-mime, sans-serif;
478
478
  }
479
479
 
480
480
  .ft-icon--material {
481
- font-family: ${_a.materialFontFamily}, "Material Icons", sans-serif;
481
+ font-family: ${Za.materialFontFamily}, "Material Icons", sans-serif;
482
482
  }
483
- `,Ga=Ie.extend("--ft-button-color","",Fe.colorPrimary),Va={backgroundColor:Ie.extend("--ft-button-background-color","",Fe.colorSurface),borderRadius:Ie.extend("--ft-button-border-radius","",Fe.borderRadiusL),color:Ga,fontSize:Ie.extend("--ft-button-font-size","",sa.fontSize),iconSize:Ie.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ie.extend("--ft-button-ripple-color","",Ga),verticalPadding:Ie.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ie.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ie.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ie.external(Fe.colorOpacityDisabled,"Design system")},qa=Ie.extend("--ft-button-primary-color","",Ie.extend("--ft-button-color","",Fe.colorOnPrimary)),Ya={backgroundColor:Ie.extend("--ft-button-primary-background-color","",Ie.extend("--ft-button-background-color","",Fe.colorPrimary)),color:qa,rippleColor:Ie.extend("--ft-button-primary-ripple-color","",qa)},Xa=Ie.extend("--ft-button-dense-border-radius","",Ie.extend("--ft-button-border-radius","",Fe.borderRadiusM)),Ja=Ie.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Qa=Ie.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),ts=Ie.create("--ft-button-dense-icon-padding","","SIZE","4px"),es=[It`
483
+ `,Ha=Re.extend("--ft-button-color","",De.colorPrimary),Ga={backgroundColor:Re.extend("--ft-button-background-color","",De.colorSurface),borderRadius:Re.extend("--ft-button-border-radius","",De.borderRadiusL),color:Ha,fontSize:Re.extend("--ft-button-font-size","",aa.fontSize),iconSize:Re.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Re.extend("--ft-button-ripple-color","",Ha),verticalPadding:Re.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Re.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Re.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Re.external(De.colorOpacityDisabled,"Design system")},Va=Re.extend("--ft-button-primary-color","",Re.extend("--ft-button-color","",De.colorOnPrimary)),qa={backgroundColor:Re.extend("--ft-button-primary-background-color","",Re.extend("--ft-button-background-color","",De.colorPrimary)),color:Va,rippleColor:Re.extend("--ft-button-primary-ripple-color","",Va)},Ya=Re.extend("--ft-button-dense-border-radius","",Re.extend("--ft-button-border-radius","",De.borderRadiusM)),Xa=Re.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ja=Re.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Qa=Re.create("--ft-button-dense-icon-padding","","SIZE","4px"),ts=[Rt`
484
484
  :host {
485
485
  display: inline-block;
486
486
  max-width: 100%;
@@ -491,7 +491,7 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
491
491
  box-shadow: 0px 0px 0px transparent;
492
492
  border: 0px solid transparent;
493
493
  text-shadow: 0px 0px 0px transparent;
494
- font-size: ${Va.fontSize};
494
+ font-size: ${Ga.fontSize};
495
495
  }
496
496
 
497
497
  button:hover {
@@ -520,31 +520,31 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
520
520
  border: none;
521
521
  pointer-events: auto;
522
522
 
523
- --ft-button-internal-line-height: max(calc(${Va.fontSize} + 2px), ${Va.iconSize});
524
- --ft-button-internal-color: ${Va.color};
525
- ${Ue(_a.size,Va.iconSize)};
526
- ${Ue(Da.color,Va.rippleColor)};
523
+ --ft-button-internal-line-height: max(calc(${Ga.fontSize} + 2px), ${Ga.iconSize});
524
+ --ft-button-internal-color: ${Ga.color};
525
+ ${Ie(Za.size,Ga.iconSize)};
526
+ ${Ie(Wa.color,Ga.rippleColor)};
527
527
 
528
- border-radius: ${Va.borderRadius};
529
- padding: ${Va.verticalPadding} ${Va.horizontalPadding};
530
- background-color: ${Va.backgroundColor};
528
+ border-radius: ${Ga.borderRadius};
529
+ padding: ${Ga.verticalPadding} ${Ga.horizontalPadding};
530
+ background-color: ${Ga.backgroundColor};
531
531
  color: var(--ft-button-internal-color);
532
532
  -webkit-mask-image: radial-gradient(white, black);
533
533
  }
534
534
 
535
535
  .ft-button.ft-button--outlined {
536
536
  border: 1px solid var(--ft-button-internal-color);
537
- padding: calc(${Va.verticalPadding} - 1px) calc(${Va.horizontalPadding} - 1px);
537
+ padding: calc(${Ga.verticalPadding} - 1px) calc(${Ga.horizontalPadding} - 1px);
538
538
  }
539
539
 
540
540
  .ft-button.ft-button--dense {
541
- padding: ${Ja} ${Qa};
542
- border-radius: ${Xa};
543
- gap: ${ts};
541
+ padding: ${Xa} ${Ja};
542
+ border-radius: ${Ya};
543
+ gap: ${Qa};
544
544
  }
545
545
 
546
546
  .ft-button.ft-button--dense.ft-button--outlined {
547
- padding: calc(${Ja} - 1px) calc(${Qa} - 1px);
547
+ padding: calc(${Xa} - 1px) calc(${Ja} - 1px);
548
548
  }
549
549
 
550
550
  .ft-button:not([disabled]):hover {
@@ -552,22 +552,22 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
552
552
  }
553
553
 
554
554
  .ft-button--round {
555
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Va.verticalPadding});
555
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ga.verticalPadding});
556
556
  }
557
557
 
558
558
  .ft-button--round.ft-button--dense {
559
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ja});
559
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xa});
560
560
  }
561
561
 
562
562
  .ft-button[disabled] {
563
563
  filter: grayscale(1);
564
- opacity: ${Va.opacityDisabled};
564
+ opacity: ${Ga.opacityDisabled};
565
565
  }
566
566
 
567
567
  .ft-button.ft-button--primary {
568
- background-color: ${Ya.backgroundColor};
569
- --ft-button-internal-color: ${Ya.color};
570
- ${Ue(Da.color,Ya.rippleColor)};
568
+ background-color: ${qa.backgroundColor};
569
+ --ft-button-internal-color: ${qa.color};
570
+ ${Ie(Wa.color,qa.rippleColor)};
571
571
  }
572
572
 
573
573
  .ft-button:focus {
@@ -580,13 +580,13 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
580
580
  white-space: nowrap;
581
581
  text-overflow: ellipsis;
582
582
  display: block;
583
- margin: 0 ${Va.iconPadding};
584
- ${Ue(sa.fontSize,"1em")};
585
- ${Ue(sa.lineHeight,"var(--ft-button-internal-line-height)")};
583
+ margin: 0 ${Ga.iconPadding};
584
+ ${Ie(aa.fontSize,"1em")};
585
+ ${Ie(aa.lineHeight,"var(--ft-button-internal-line-height)")};
586
586
  }
587
587
 
588
588
  .ft-button--dense .ft-button--label {
589
- margin: 0 ${ts};
589
+ margin: 0 ${Qa};
590
590
  }
591
591
 
592
592
  .ft-button--label[hidden] {
@@ -599,13 +599,13 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
599
599
  }
600
600
 
601
601
  .ft-button--label[hidden] + ft-icon {
602
- margin: 0 calc(${Va.horizontalPadding} * -1);
603
- padding: 0 ${Va.verticalPadding};
602
+ margin: 0 calc(${Ga.horizontalPadding} * -1);
603
+ padding: 0 ${Ga.verticalPadding};
604
604
  }
605
605
 
606
606
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
607
- margin: 0 calc(${Qa} * -1);
608
- padding: 0 ${Ja};
607
+ margin: 0 calc(${Ja} * -1);
608
+ padding: 0 ${Xa};
609
609
  }
610
610
 
611
611
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -614,26 +614,26 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
614
614
  }
615
615
 
616
616
  ft-loader {
617
- ${Ue(Ma.size,Va.iconSize)};
618
- ${Ue(Ma.color,"var(--ft-button-internal-color)")};
617
+ ${Ie(Ma.size,Ga.iconSize)};
618
+ ${Ie(Ma.color,"var(--ft-button-internal-color)")};
619
619
  }
620
- `,qo],os=Na(class extends Ca{constructor(t){if(super(t),t.type!==wa||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return st}});
620
+ `,Vo],es=Sa(class extends Na{constructor(t){if(super(t),t.type!==Oa||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return at}});
621
621
  /**
622
622
  * @license
623
623
  * Copyright 2017 Google LLC
624
624
  * SPDX-License-Identifier: BSD-3-Clause
625
- */var is=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class rs extends Go{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 n(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 n(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return pe`
625
+ */var os=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class is extends Ho{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 n(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 n(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return he`
626
626
  <style>
627
627
  .ft-ripple .ft-ripple--effect {
628
628
  left: ${this.originX}px;
629
629
  top: ${this.originY}px;
630
630
  }
631
631
  </style>
632
- <div class="${os(t)}">
632
+ <div class="${es(t)}">
633
633
  <div class="ft-ripple--background"></div>
634
634
  <div class="ft-ripple--effect"></div>
635
635
  </div>
636
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}rs.elementDefinitions={},rs.styles=Ta,is([R({type:Boolean})],rs.prototype,"primary",void 0),is([R({type:Boolean})],rs.prototype,"secondary",void 0),is([R({type:Boolean})],rs.prototype,"unbounded",void 0),is([R({type:Boolean})],rs.prototype,"activated",void 0),is([R({type:Boolean})],rs.prototype,"selected",void 0),is([R({type:Boolean})],rs.prototype,"disabled",void 0),is([I()],rs.prototype,"hovered",void 0),is([I()],rs.prototype,"focused",void 0),is([I()],rs.prototype,"pressed",void 0),is([I()],rs.prototype,"rippling",void 0),is([I()],rs.prototype,"originX",void 0),is([I()],rs.prototype,"originY",void 0),is([W(".ft-ripple")],rs.prototype,"ripple",void 0),is([W(".ft-ripple--effect")],rs.prototype,"rippleEffect",void 0),z("ft-ripple")(rs);const ns=Ie.create("--ft-tooltip-distance","","SIZE","4px"),as=Ie.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ss=Ie.create("--ft-tooltip-background-color","","COLOR","#666666"),ls=Ie.create("--ft-tooltip-z-index","","NUMBER","100"),cs=Ie.external(Fe.borderRadiusS,"Design system"),fs=Ie.create("--ft-tooltip-max-width","","SIZE","150px"),hs=It`
636
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}is.elementDefinitions={},is.styles=Ba,os([R({type:Boolean})],is.prototype,"primary",void 0),os([R({type:Boolean})],is.prototype,"secondary",void 0),os([R({type:Boolean})],is.prototype,"unbounded",void 0),os([R({type:Boolean})],is.prototype,"activated",void 0),os([R({type:Boolean})],is.prototype,"selected",void 0),os([R({type:Boolean})],is.prototype,"disabled",void 0),os([I()],is.prototype,"hovered",void 0),os([I()],is.prototype,"focused",void 0),os([I()],is.prototype,"pressed",void 0),os([I()],is.prototype,"rippling",void 0),os([I()],is.prototype,"originX",void 0),os([I()],is.prototype,"originY",void 0),os([A(".ft-ripple")],is.prototype,"ripple",void 0),os([A(".ft-ripple--effect")],is.prototype,"rippleEffect",void 0),j("ft-ripple")(is);const rs=Re.create("--ft-tooltip-distance","","SIZE","4px"),ns=Re.create("--ft-tooltip-color","","COLOR","#FFFFFF"),as=Re.create("--ft-tooltip-background-color","","COLOR","#666666"),ss=Re.create("--ft-tooltip-z-index","","NUMBER","100"),ls=Re.external(De.borderRadiusS,"Design system"),cs=Re.create("--ft-tooltip-max-width","","SIZE","150px"),fs=Rt`
637
637
  .ft-tooltip--container {
638
638
  display: block;
639
639
  }
@@ -648,21 +648,21 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
648
648
  box-sizing: border-box;
649
649
  overflow: hidden;
650
650
  width: max-content;
651
- max-width: ${fs};
651
+ max-width: ${cs};
652
652
  text-align: center;
653
- padding: ${ns};
654
- z-index: ${ls};
653
+ padding: ${rs};
654
+ z-index: ${ss};
655
655
  }
656
656
 
657
657
  .ft-tooltip--content {
658
658
  padding: 4px 8px;
659
- border-radius: ${cs};
660
- background-color: ${ss};
661
- color: ${as};
659
+ border-radius: ${ls};
660
+ background-color: ${as};
661
+ color: ${ns};
662
662
  position: relative;
663
663
  word-break: break-word;
664
664
  }
665
- `;var ps=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class us extends Go{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 n,this.revealDebouncer=new n}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return pe`
665
+ `;var hs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ps extends Ho{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 n,this.revealDebouncer=new n}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return he`
666
666
  <div part="container"
667
667
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
668
668
  @mouseenter=${this.onHover}
@@ -680,54 +680,54 @@ const wa=1,Sa=2,Na=t=>(...e)=>({_$litDirective$:t,values:e});class Ca{constructo
680
680
  </div>
681
681
  </div>
682
682
  </div>
683
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Fo(t,e,{platform:{...Do,getOffsetParent:t=>Do.getOffsetParent(t,jo)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=He(i,t),c={x:e,y:o},f=await oo(t,l),h=Xe(Ge(r)),p=qe(h);let u=c[p],d=c[h];if(n){const t="y"===p?"bottom":"right";u=_e(u+f["y"===p?"top":"left"],u,u-f[t])}if(a){const t="y"===h?"bottom":"right";d=_e(d+f["y"===h?"top":"left"],d,d-f[t])}const y=s.fn({...t,[p]:u,[h]:d});return{...y,data:{x:y.x-e,y:y.y-o}}}}),ro({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}us.elementDefinitions={"ft-typography":Oa},us.styles=hs,ps([R()],us.prototype,"text",void 0),ps([R({type:Boolean})],us.prototype,"manual",void 0),ps([R({type:Boolean})],us.prototype,"inline",void 0),ps([R({type:Number})],us.prototype,"delay",void 0),ps([R()],us.prototype,"position",void 0),ps([
683
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,e,o){return Do(t,e,{platform:{...Wo,getOffsetParent:t=>Wo.getOffsetParent(t,Fo)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=_e(i,t),c={x:e,y:o},f=await eo(t,l),h=Ye(He(r)),p=Ve(h);let u=c[p],d=c[h];if(n){const t="y"===p?"bottom":"right";u=Ze(u+f["y"===p?"top":"left"],u,u-f[t])}if(a){const t="y"===h?"bottom":"right";d=Ze(d+f["y"===h?"top":"left"],d,d-f[t])}const y=s.fn({...t,[p]:u,[h]:d});return{...y,data:{x:y.x-e,y:y.y-o}}}}),io({allowedPlacements:[o]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ps.elementDefinitions={"ft-typography":xa},ps.styles=fs,hs([R()],ps.prototype,"text",void 0),hs([R({type:Boolean})],ps.prototype,"manual",void 0),hs([R({type:Boolean})],ps.prototype,"inline",void 0),hs([R({type:Number})],ps.prototype,"delay",void 0),hs([R()],ps.prototype,"position",void 0),hs([
684
684
  /**
685
685
  * @license
686
686
  * Copyright 2017 Google LLC
687
687
  * SPDX-License-Identifier: BSD-3-Clause
688
688
  */
689
- function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return L(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],us.prototype,"slotNodes",void 0),ps([W(".ft-tooltip--container")],us.prototype,"container",void 0),ps([W(".ft-tooltip")],us.prototype,"tooltip",void 0),ps([W(".ft-tooltip--content")],us.prototype,"tooltipContent",void 0),ps([I()],us.prototype,"visible",void 0),ps([U({passive:!0})],us.prototype,"onTouch",null),ps([U({passive:!0})],us.prototype,"onHover",null),ps([U({passive:!0})],us.prototype,"onOut",null),ps([U({passive:!0})],us.prototype,"onClick",null),z("ft-tooltip")(us);
689
+ function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return L(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],ps.prototype,"slotNodes",void 0),hs([A(".ft-tooltip--container")],ps.prototype,"container",void 0),hs([A(".ft-tooltip")],ps.prototype,"tooltip",void 0),hs([A(".ft-tooltip--content")],ps.prototype,"tooltipContent",void 0),hs([I()],ps.prototype,"visible",void 0),hs([U({passive:!0})],ps.prototype,"onTouch",null),hs([U({passive:!0})],ps.prototype,"onHover",null),hs([U({passive:!0})],ps.prototype,"onOut",null),hs([U({passive:!0})],ps.prototype,"onClick",null),j("ft-tooltip")(ps);
690
690
  /**
691
691
  * @license
692
692
  * Copyright 2017 Google LLC
693
693
  * SPDX-License-Identifier: BSD-3-Clause
694
694
  */
695
- class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===lt||null==t)return this.vt=void 0,this.et=t;if(t===st)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:[]}}}ds.directiveName="unsafeHTML",ds.resultType=1;const ys=Na(ds);var gs,bs,ms;!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;"}(gs||(gs={})),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;"}(bs||(bs={})),new Map([...["abw"].map((t=>[t,bs.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,bs.AUDIO])),...["avi"].map((t=>[t,bs.AVI])),...["chm","xhs"].map((t=>[t,bs.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,bs.CODE])),...["csv"].map((t=>[t,bs.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,bs.DITA])),...["epub"].map((t=>[t,bs.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,bs.EXCEL])),...["flac"].map((t=>[t,bs.FLAC])),...["gif"].map((t=>[t,bs.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,bs.GZIP])),...["html","htm","xhtml"].map((t=>[t,bs.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,bs.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,bs.JPEG])),...["json"].map((t=>[t,bs.JSON])),...["m4a","m4p"].map((t=>[t,bs.M4A])),...["mov","qt"].map((t=>[t,bs.MOV])),...["mp3"].map((t=>[t,bs.MP3])),...["mp4","m4v"].map((t=>[t,bs.MP4])),...["ogg","oga"].map((t=>[t,bs.OGG])),...["pdf","ps"].map((t=>[t,bs.PDF])),...["png"].map((t=>[t,bs.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,bs.POWERPOINT])),...["rar"].map((t=>[t,bs.RAR])),...["stp"].map((t=>[t,bs.STP])),...["txt","rtf","md","mdown"].map((t=>[t,bs.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,bs.VIDEO])),...["wav"].map((t=>[t,bs.WAV])),...["wma"].map((t=>[t,bs.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,bs.WORD])),...["xml","xsl","rdf"].map((t=>[t,bs.XML])),...["yaml","yml","x-yaml"].map((t=>[t,bs.YAML])),...["zip"].map((t=>[t,bs.ZIP]))]),bs.ABW,bs.AUDIO,bs.AVI,bs.CHM,bs.CODE,bs.CSV,bs.DITA,bs.EPUB,bs.EXCEL,bs.FLAC,bs.GIF,bs.GZIP,bs.HTML,bs.IMAGE,bs.JPEG,bs.JSON,bs.M4A,bs.MOV,bs.MP3,bs.MP4,bs.OGG,bs.PDF,bs.PNG,bs.POWERPOINT,bs.RAR,bs.STP,bs.TEXT,bs.UNKNOWN,bs.VIDEO,bs.WAV,bs.WMA,bs.WORD,bs.XML,bs.YAML,bs.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ms||(ms={}));var vs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class xs extends Go{constructor(){super(...arguments),this.resolvedIcon=de}render(){const t=this.variant&&Object.values(ms).includes(this.variant)?this.variant:ms.fluid_topics,e=t!==ms.material||!!this.value;return pe`
695
+ class us extends Na{constructor(t){if(super(t),this.et=st,t.type!==wa)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===st||null==t)return this.vt=void 0,this.et=t;if(t===at)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:[]}}}us.directiveName="unsafeHTML",us.resultType=1;const ds=Sa(us);var ys,gs,bs;!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;"}(ys||(ys={})),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;"}(gs||(gs={})),new Map([...["abw"].map((t=>[t,gs.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,gs.AUDIO])),...["avi"].map((t=>[t,gs.AVI])),...["chm","xhs"].map((t=>[t,gs.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,gs.CODE])),...["csv"].map((t=>[t,gs.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,gs.DITA])),...["epub"].map((t=>[t,gs.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,gs.EXCEL])),...["flac"].map((t=>[t,gs.FLAC])),...["gif"].map((t=>[t,gs.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,gs.GZIP])),...["html","htm","xhtml"].map((t=>[t,gs.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,gs.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,gs.JPEG])),...["json"].map((t=>[t,gs.JSON])),...["m4a","m4p"].map((t=>[t,gs.M4A])),...["mov","qt"].map((t=>[t,gs.MOV])),...["mp3"].map((t=>[t,gs.MP3])),...["mp4","m4v"].map((t=>[t,gs.MP4])),...["ogg","oga"].map((t=>[t,gs.OGG])),...["pdf","ps"].map((t=>[t,gs.PDF])),...["png"].map((t=>[t,gs.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,gs.POWERPOINT])),...["rar"].map((t=>[t,gs.RAR])),...["stp"].map((t=>[t,gs.STP])),...["txt","rtf","md","mdown"].map((t=>[t,gs.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,gs.VIDEO])),...["wav"].map((t=>[t,gs.WAV])),...["wma"].map((t=>[t,gs.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,gs.WORD])),...["xml","xsl","rdf"].map((t=>[t,gs.XML])),...["yaml","yml","x-yaml"].map((t=>[t,gs.YAML])),...["zip"].map((t=>[t,gs.ZIP]))]),gs.ABW,gs.AUDIO,gs.AVI,gs.CHM,gs.CODE,gs.CSV,gs.DITA,gs.EPUB,gs.EXCEL,gs.FLAC,gs.GIF,gs.GZIP,gs.HTML,gs.IMAGE,gs.JPEG,gs.JSON,gs.M4A,gs.MOV,gs.MP3,gs.MP4,gs.OGG,gs.PDF,gs.PNG,gs.POWERPOINT,gs.RAR,gs.STP,gs.TEXT,gs.UNKNOWN,gs.VIDEO,gs.WAV,gs.WMA,gs.WORD,gs.XML,gs.YAML,gs.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(bs||(bs={}));var ms=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class vs extends Ho{constructor(){super(...arguments),this.resolvedIcon=ue}render(){const t=this.variant&&Object.values(bs).includes(this.variant)?this.variant:bs.fluid_topics,e=t!==bs.material||!!this.value;return he`
696
696
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
697
- ${ys(this.resolvedIcon)}
697
+ ${ds(this.resolvedIcon)}
698
698
  <slot ?hidden=${e}></slot>
699
699
  </i>
700
- `}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 ms.file_format:this.resolvedIcon=null!==(t=bs[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ms.material:this.resolvedIcon=this.value||de;break;default:this.resolvedIcon=null!==(e=gs[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}xs.elementDefinitions={},xs.styles=Ha,vs([R()],xs.prototype,"variant",void 0),vs([R()],xs.prototype,"value",void 0),vs([I()],xs.prototype,"resolvedIcon",void 0),vs([W("slot")],xs.prototype,"slottedContent",void 0),z("ft-icon")(xs);class Os extends Go{render(){return pe`
700
+ `}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 bs.file_format:this.resolvedIcon=null!==(t=gs[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case bs.material:this.resolvedIcon=this.value||ue;break;default:this.resolvedIcon=null!==(e=ys[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}vs.elementDefinitions={},vs.styles=_a,ms([R()],vs.prototype,"variant",void 0),ms([R()],vs.prototype,"value",void 0),ms([I()],vs.prototype,"resolvedIcon",void 0),ms([A("slot")],vs.prototype,"slottedContent",void 0),j("ft-icon")(vs);class xs extends Ho{render(){return he`
701
701
  <div class="ft-loader">
702
702
  <div></div>
703
703
  <div></div>
704
704
  <div></div>
705
705
  <div></div>
706
706
  </div>
707
- `}}Os.styles=Za,z("ft-loader")(Os);var ws=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ss extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Yr].form}constructor(...t){super(t),this[Yr]=this.attachInternals(),this[Yr].role=e}setFormValue(t){this[Yr].setFormValue(t)}}}(Go,"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(pe`
707
+ `}}xs.styles=Ta,j("ft-loader")(xs);var Os=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ws extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[qr].form}constructor(...t){super(t),this[qr]=this.attachInternals(),this[qr].role=e}setFormValue(t){this[qr].setFormValue(t)}}}(Ho,"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(he`
708
708
  <button part="button"
709
- class="${os(this.buttonClasses)}"
709
+ class="${es(this.buttonClasses)}"
710
710
  aria-label="${this.getLabel()}"
711
711
  ?disabled=${this.isDisabled()}>
712
712
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
713
713
  <ft-typography part="label"
714
714
  variant=${this.typographyVariant}
715
715
  element="span"
716
- class="ft-button--label ${tn?"ft-safari-ellipsis-fix":""}"
716
+ class="ft-button--label ${Qr?"ft-safari-ellipsis-fix":""}"
717
717
  ?hidden=${!this.hasTextContent()}>
718
718
  <slot @slotchange=${this.onSlotchange}></slot>
719
719
  </ft-typography>
720
720
  ${this.resolveIcon()}
721
721
  </button>
722
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?pe`
722
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?he`
723
723
  <ft-tooltip part="tooltip"
724
724
  text="${this.getLabel()}"
725
725
  position="${this.tooltipPosition}">
726
726
  ${t}
727
727
  </ft-tooltip>
728
- `:t}resolveIcon(){return this.loading?pe`
729
- <ft-loader part="loader icon"></ft-loader> `:this.icon?pe`
730
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:de}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}}Ss.elementDefinitions={"ft-ripple":rs,"ft-tooltip":us,"ft-typography":Oa,"ft-icon":xs,"ft-loader":Os},ws([R({type:String,reflect:!0})],Ss.prototype,"role",void 0),ws([R()],Ss.prototype,"type",void 0),ws([R({type:Boolean})],Ss.prototype,"disabled",void 0),ws([R()],Ss.prototype,"label",void 0),ws([R()],Ss.prototype,"icon",void 0),ws([R()],Ss.prototype,"iconVariant",void 0),ws([R({type:Boolean})],Ss.prototype,"trailingIcon",void 0),ws([R({type:Boolean})],Ss.prototype,"loading",void 0),ws([R()],Ss.prototype,"tooltipPosition",void 0),ws([R({type:Boolean})],Ss.prototype,"hideTooltip",void 0),ws([R({type:Boolean})],Ss.prototype,"forceTooltip",void 0),ws([W(".ft-button")],Ss.prototype,"button",void 0),ws([W(".ft-button--label slot")],Ss.prototype,"slottedContent",void 0);var Ns=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cs extends Ss{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"}}Cs.styles=[Yo,es],Ns([R({type:Boolean})],Cs.prototype,"primary",void 0),Ns([R({type:Boolean})],Cs.prototype,"outlined",void 0),Ns([R({type:Boolean})],Cs.prototype,"dense",void 0),Ns([R({type:Boolean})],Cs.prototype,"round",void 0);const Es=[It`
728
+ `:t}resolveIcon(){return this.loading?he`
729
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?he`
730
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ue}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}}ws.elementDefinitions={"ft-ripple":is,"ft-tooltip":ps,"ft-typography":xa,"ft-icon":vs,"ft-loader":xs},Os([R({type:String,reflect:!0})],ws.prototype,"role",void 0),Os([R()],ws.prototype,"type",void 0),Os([R({type:Boolean})],ws.prototype,"disabled",void 0),Os([R()],ws.prototype,"label",void 0),Os([R()],ws.prototype,"icon",void 0),Os([R()],ws.prototype,"iconVariant",void 0),Os([R({type:Boolean})],ws.prototype,"trailingIcon",void 0),Os([R({type:Boolean})],ws.prototype,"loading",void 0),Os([R()],ws.prototype,"tooltipPosition",void 0),Os([R({type:Boolean})],ws.prototype,"hideTooltip",void 0),Os([R({type:Boolean})],ws.prototype,"forceTooltip",void 0),Os([A(".ft-button")],ws.prototype,"button",void 0),Os([A(".ft-button--label slot")],ws.prototype,"slottedContent",void 0);var Ss=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ns extends ws{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"}}Ns.styles=[qo,ts],Ss([R({type:Boolean})],Ns.prototype,"primary",void 0),Ss([R({type:Boolean})],Ns.prototype,"outlined",void 0),Ss([R({type:Boolean})],Ns.prototype,"dense",void 0),Ss([R({type:Boolean})],Ns.prototype,"round",void 0);const Cs=[Rt`
731
731
  :host {
732
732
  display: inline-block;
733
733
  max-width: 100%;
@@ -777,7 +777,7 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
777
777
  }
778
778
 
779
779
  .ft-button:focus-visible {
780
- outline-color: ${De.focusFocusRingColor};
780
+ outline-color: ${We.focusFocusRingColor};
781
781
  outline-style: solid;
782
782
  }
783
783
 
@@ -806,154 +806,154 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
806
806
  /** Primary styles **/
807
807
 
808
808
  .ft-button--primary {
809
- ${Ue(Ma.color,De.primaryIconColor)};
809
+ ${Ie(Ma.color,We.primaryIconColor)};
810
810
 
811
- ${Ue(Da.color,De.primaryStateLayerColor)};
812
- ${Ue(Da.opacityContentOnSurfaceHover,De.primaryStateLayerOpacityHover)};
813
- ${Ue(Da.opacityContentOnSurfaceFocused,De.primaryStateLayerOpacityFocus)};
814
- ${Ue(Da.opacityContentOnSurfaceSelected,De.primaryStateLayerOpacityActive)};
815
- ${Ue(Da.opacityContentOnSurfacePressed,De.primaryStateLayerOpacityActive)};
811
+ ${Ie(Wa.color,We.primaryStateLayerColor)};
812
+ ${Ie(Wa.opacityContentOnSurfaceHover,We.primaryStateLayerOpacityHover)};
813
+ ${Ie(Wa.opacityContentOnSurfaceFocused,We.primaryStateLayerOpacityFocus)};
814
+ ${Ie(Wa.opacityContentOnSurfaceSelected,We.primaryStateLayerOpacityActive)};
815
+ ${Ie(Wa.opacityContentOnSurfacePressed,We.primaryStateLayerOpacityActive)};
816
816
 
817
- background-color: ${De.primaryBackgroundColor};
818
- color: ${De.primaryColor};
817
+ background-color: ${We.primaryBackgroundColor};
818
+ color: ${We.primaryColor};
819
819
  border-style: none;
820
820
  }
821
821
 
822
822
  .ft-button--primary[disabled] {
823
- opacity: ${De.primaryComponentOpacityDisabled};
823
+ opacity: ${We.primaryComponentOpacityDisabled};
824
824
  }
825
825
 
826
826
  .ft-button--primary ft-icon {
827
- color: ${De.primaryIconColor};
827
+ color: ${We.primaryIconColor};
828
828
  }
829
829
 
830
830
  /** Secondary styles **/
831
831
 
832
832
  .ft-button--secondary {
833
- ${Ue(Ma.color,De.secondaryIconColor)};
833
+ ${Ie(Ma.color,We.secondaryIconColor)};
834
834
 
835
- ${Ue(Da.color,De.secondaryStateLayerColor)};
836
- ${Ue(Da.opacityContentOnSurfaceHover,De.secondaryStateLayerOpacityHover)};
837
- ${Ue(Da.opacityContentOnSurfaceFocused,De.secondaryStateLayerOpacityFocus)};
838
- ${Ue(Da.opacityContentOnSurfaceSelected,De.secondaryStateLayerOpacityActive)};
839
- ${Ue(Da.opacityContentOnSurfacePressed,De.secondaryStateLayerOpacityActive)};
835
+ ${Ie(Wa.color,We.secondaryStateLayerColor)};
836
+ ${Ie(Wa.opacityContentOnSurfaceHover,We.secondaryStateLayerOpacityHover)};
837
+ ${Ie(Wa.opacityContentOnSurfaceFocused,We.secondaryStateLayerOpacityFocus)};
838
+ ${Ie(Wa.opacityContentOnSurfaceSelected,We.secondaryStateLayerOpacityActive)};
839
+ ${Ie(Wa.opacityContentOnSurfacePressed,We.secondaryStateLayerOpacityActive)};
840
840
 
841
- background-color: ${De.secondaryBackgroundColor};
842
- color: ${De.secondaryColor};
843
- border-color: ${De.secondaryBorderColor};
841
+ background-color: ${We.secondaryBackgroundColor};
842
+ color: ${We.secondaryColor};
843
+ border-color: ${We.secondaryBorderColor};
844
844
  border-style: solid;
845
845
  }
846
846
 
847
847
  .ft-button--secondary[disabled] {
848
- opacity: ${De.secondaryComponentOpacityDisabled};
848
+ opacity: ${We.secondaryComponentOpacityDisabled};
849
849
  }
850
850
 
851
851
  .ft-button--secondary ft-icon {
852
- color: ${De.secondaryIconColor};
852
+ color: ${We.secondaryIconColor};
853
853
  }
854
854
 
855
855
  /** Tertiary styles **/
856
856
 
857
857
  .ft-button--tertiary {
858
- ${Ue(Ma.color,De.tertiaryIconColor)};
858
+ ${Ie(Ma.color,We.tertiaryIconColor)};
859
859
 
860
- ${Ue(Da.color,De.tertiaryStateLayerColor)};
861
- ${Ue(Da.opacityContentOnSurfaceHover,De.tertiaryStateLayerOpacityHover)};
862
- ${Ue(Da.opacityContentOnSurfaceFocused,De.tertiaryStateLayerOpacityFocus)};
863
- ${Ue(Da.opacityContentOnSurfaceSelected,De.tertiaryStateLayerOpacityActive)};
864
- ${Ue(Da.opacityContentOnSurfacePressed,De.tertiaryStateLayerOpacityActive)};
860
+ ${Ie(Wa.color,We.tertiaryStateLayerColor)};
861
+ ${Ie(Wa.opacityContentOnSurfaceHover,We.tertiaryStateLayerOpacityHover)};
862
+ ${Ie(Wa.opacityContentOnSurfaceFocused,We.tertiaryStateLayerOpacityFocus)};
863
+ ${Ie(Wa.opacityContentOnSurfaceSelected,We.tertiaryStateLayerOpacityActive)};
864
+ ${Ie(Wa.opacityContentOnSurfacePressed,We.tertiaryStateLayerOpacityActive)};
865
865
 
866
- background-color: ${De.tertiaryBackgroundColor};
867
- color: ${De.tertiaryColor};
866
+ background-color: ${We.tertiaryBackgroundColor};
867
+ color: ${We.tertiaryColor};
868
868
  border-style: none;
869
869
  }
870
870
 
871
871
  .ft-button--tertiary[disabled] {
872
- opacity: ${De.tertiaryComponentOpacityDisabled};
872
+ opacity: ${We.tertiaryComponentOpacityDisabled};
873
873
  }
874
874
 
875
875
  .ft-button--tertiary ft-icon {
876
- color: ${De.tertiaryIconColor};
876
+ color: ${We.tertiaryIconColor};
877
877
  }
878
878
 
879
879
  /** Neutral styles **/
880
880
 
881
881
  .ft-button--neutral {
882
- ${Ue(Ma.color,De.neutralIconColor)};
882
+ ${Ie(Ma.color,We.neutralIconColor)};
883
883
 
884
- ${Ue(Da.backgroundColor,De.neutralStateLayerColor)};
885
- ${Ue(Da.opacityContentOnSurfaceHover,De.neutralStateLayerOpacityHover)};
886
- ${Ue(Da.opacityContentOnSurfaceFocused,De.neutralStateLayerOpacityFocus)};
887
- ${Ue(Da.opacityContentOnSurfaceSelected,De.neutralStateLayerOpacityActive)};
888
- ${Ue(Da.opacityContentOnSurfacePressed,De.neutralStateLayerOpacityActive)};
884
+ ${Ie(Wa.backgroundColor,We.neutralStateLayerColor)};
885
+ ${Ie(Wa.opacityContentOnSurfaceHover,We.neutralStateLayerOpacityHover)};
886
+ ${Ie(Wa.opacityContentOnSurfaceFocused,We.neutralStateLayerOpacityFocus)};
887
+ ${Ie(Wa.opacityContentOnSurfaceSelected,We.neutralStateLayerOpacityActive)};
888
+ ${Ie(Wa.opacityContentOnSurfacePressed,We.neutralStateLayerOpacityActive)};
889
889
 
890
- background-color: ${De.neutralBackgroundColor};
891
- color: ${De.neutralColor};
890
+ background-color: ${We.neutralBackgroundColor};
891
+ color: ${We.neutralColor};
892
892
  border-style: none;
893
893
  }
894
894
 
895
895
  .ft-button--neutral[disabled] {
896
- opacity: ${De.neutralComponentOpacityDisabled};
896
+ opacity: ${We.neutralComponentOpacityDisabled};
897
897
  }
898
898
 
899
899
  .ft-button--neutral ft-icon {
900
- color: ${De.neutralIconColor};
900
+ color: ${We.neutralIconColor};
901
901
  }
902
902
 
903
903
  /** Large styles **/
904
904
 
905
905
  .ft-button--large {
906
- ${Ue(_a.size,De.largeIconSize)};
907
- ${Ue(Ma.size,De.largeIconSize)};
906
+ ${Ie(Za.size,We.largeIconSize)};
907
+ ${Ie(Ma.size,We.largeIconSize)};
908
908
 
909
- height: ${De.largeHeight};
910
- padding: 0 ${De.largeHorizontalPadding};
911
- gap: ${De.largeGap};
912
- border-radius: ${De.largeBorderRadius};
913
- border-width: ${De.largeBorderWidth};
909
+ height: ${We.largeHeight};
910
+ padding: 0 ${We.largeHorizontalPadding};
911
+ gap: ${We.largeGap};
912
+ border-radius: ${We.largeBorderRadius};
913
+ border-width: ${We.largeBorderWidth};
914
914
  }
915
915
 
916
916
  .ft-button--large:focus-visible {
917
- outline-width: ${De.largeFocusOutlineWidth};
918
- outline-offset: ${De.largeFocusOutlineOffset};
917
+ outline-width: ${We.largeFocusOutlineWidth};
918
+ outline-offset: ${We.largeFocusOutlineOffset};
919
919
  }
920
920
 
921
921
  .ft-button--large.ft-button--icon-only {
922
- width: ${De.largeIconOnlyWidth};
922
+ width: ${We.largeIconOnlyWidth};
923
923
  padding: unset;
924
924
  }
925
925
 
926
926
  /** Small styles **/
927
927
 
928
928
  .ft-button--small {
929
- ${Ue(_a.size,De.smallIconSize)};
930
- ${Ue(Ma.size,De.smallIconSize)};
929
+ ${Ie(Za.size,We.smallIconSize)};
930
+ ${Ie(Ma.size,We.smallIconSize)};
931
931
 
932
- height: ${De.smallHeight};
933
- padding: 0 ${De.smallHorizontalPadding};
934
- gap: ${De.smallGap};
935
- border-radius: ${De.smallBorderRadius};
936
- border-width: ${De.smallBorderWidth};
932
+ height: ${We.smallHeight};
933
+ padding: 0 ${We.smallHorizontalPadding};
934
+ gap: ${We.smallGap};
935
+ border-radius: ${We.smallBorderRadius};
936
+ border-width: ${We.smallBorderWidth};
937
937
  }
938
938
 
939
939
  .ft-button--small:focus-visible {
940
- outline-width: ${De.smallFocusOutlineWidth};
941
- outline-offset: ${De.smallFocusOutlineOffset};
940
+ outline-width: ${We.smallFocusOutlineWidth};
941
+ outline-offset: ${We.smallFocusOutlineOffset};
942
942
  }
943
943
 
944
944
  .ft-button--small.ft-button--icon-only {
945
- width: ${De.smallIconOnlyWidth};
945
+ width: ${We.smallIconOnlyWidth};
946
946
  padding: unset;
947
947
  }
948
- `,qo];var $s=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ks extends Ss{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?ln.caption1medium:ln.body2medium}}ks.styles=[Yo,Es],$s([R({type:Boolean})],ks.prototype,"primary",void 0),$s([R({type:Boolean})],ks.prototype,"secondary",void 0),$s([R({type:Boolean})],ks.prototype,"tertiary",void 0),$s([R({type:Boolean})],ks.prototype,"neutral",void 0),$s([R({type:Boolean})],ks.prototype,"small",void 0),z("ft-button")(Cs),z("ftds-button")(ks);const Rs=Ie.extend("--ft-checkbox-text-color","",Fe.colorOnSurfaceHigh),Is=Ie.extend("--ft-checkbox-font-size","",hn.fontSize),Us=Ie.external(Fe.colorPrimary,"Design system"),Ls=Ie.external(Fe.colorOnPrimary,"Design system"),Ws=Ie.extend("--ft-checkbox-border-color","",Fe.colorOnSurfaceMedium),As=Ie.external(Fe.colorOnSurfaceDisabled,"Design system"),Ds=It`
948
+ `,Vo];var Es=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $s extends ws{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?sn.caption1medium:sn.body2medium}}$s.styles=[qo,Cs],Es([R({type:Boolean})],$s.prototype,"primary",void 0),Es([R({type:Boolean})],$s.prototype,"secondary",void 0),Es([R({type:Boolean})],$s.prototype,"tertiary",void 0),Es([R({type:Boolean})],$s.prototype,"neutral",void 0),Es([R({type:Boolean})],$s.prototype,"small",void 0),j("ft-button")(Ns),j("ftds-button")($s);const ks=Re.extend("--ft-checkbox-text-color","",De.colorOnSurfaceHigh),Rs=Re.extend("--ft-checkbox-font-size","",fn.fontSize),Is=Re.external(De.colorPrimary,"Design system"),Us=Re.external(De.colorOnPrimary,"Design system"),Ls=Re.extend("--ft-checkbox-border-color","",De.colorOnSurfaceMedium),As=Re.external(De.colorOnSurfaceDisabled,"Design system"),Ws=Rt`
949
949
  * {
950
950
  box-sizing: border-box;
951
951
  }
952
952
 
953
953
  .ft-checkbox {
954
954
  box-sizing: border-box;
955
- color: ${Rs};
956
- font-size: ${Is};
955
+ color: ${ks};
956
+ font-size: ${Rs};
957
957
 
958
958
  display: inline-flex;
959
959
  align-items: center;
@@ -985,20 +985,20 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
985
985
 
986
986
  .ft-checkbox--box {
987
987
  display: flex;
988
- border: 2px solid ${Ws};
988
+ border: 2px solid ${Ls};
989
989
  border-radius: 2px;
990
990
 
991
991
  width: 18px;
992
992
  height: 18px;
993
993
 
994
- color: ${Ls};
994
+ color: ${Us};
995
995
  }
996
996
 
997
997
 
998
998
  .ft-checkbox--checked .ft-checkbox--box,
999
999
  .ft-checkbox--indeterminate .ft-checkbox--box {
1000
- border-color: ${Us};
1001
- background-color: ${Us};
1000
+ border-color: ${Is};
1001
+ background-color: ${Is};
1002
1002
  }
1003
1003
 
1004
1004
  .ft-checkbox--disabled .ft-checkbox--box {
@@ -1023,8 +1023,8 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
1023
1023
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1024
1024
  opacity: 1;
1025
1025
  }
1026
- `;var Fs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class js extends Go{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return pe`
1027
- <label class="${os(t)}" for="checkbox-input">
1026
+ `;var Ds=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Fs extends Ho{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return he`
1027
+ <label class="${es(t)}" for="checkbox-input">
1028
1028
  <div class="ft-checkbox--box-container">
1029
1029
  <ft-ripple
1030
1030
  ?disabled=${this.disabled}
@@ -1049,14 +1049,14 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
1049
1049
  <slot></slot>
1050
1050
  </ft-typography>
1051
1051
  </label>
1052
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}js.elementDefinitions={"ft-ripple":rs,"ft-typography":Oa},js.styles=Ds,Fs([R()],js.prototype,"name",void 0),Fs([R({type:Boolean,reflect:!0})],js.prototype,"checked",void 0),Fs([R({type:Boolean})],js.prototype,"indeterminate",void 0),Fs([R({type:Boolean})],js.prototype,"disabled",void 0),Fs([W(".ft-checkbox")],js.prototype,"container",void 0),Fs([W("ft-ripple")],js.prototype,"ripple",void 0),z("ft-checkbox")(js);const zs=Ie.extend("--ft-radio-text-color","",Fe.colorOnSurfaceHigh),Ps=Ie.external(Fe.colorPrimary,"Design system"),Ks=(Ie.external(Fe.colorOnPrimary,"Design system"),Ie.extend("--ft-radio-border-color","",Fe.colorOnSurfaceMedium)),Bs=Ie.external(Fe.colorOnSurfaceDisabled,"Design system"),Ts=It`
1052
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Fs.elementDefinitions={"ft-ripple":is,"ft-typography":xa},Fs.styles=Ws,Ds([R()],Fs.prototype,"name",void 0),Ds([R({type:Boolean,reflect:!0})],Fs.prototype,"checked",void 0),Ds([R({type:Boolean})],Fs.prototype,"indeterminate",void 0),Ds([R({type:Boolean})],Fs.prototype,"disabled",void 0),Ds([A(".ft-checkbox")],Fs.prototype,"container",void 0),Ds([A("ft-ripple")],Fs.prototype,"ripple",void 0),j("ft-checkbox")(Fs);const js=Re.extend("--ft-radio-text-color","",De.colorOnSurfaceHigh),zs=Re.external(De.colorPrimary,"Design system"),Ps=(Re.external(De.colorOnPrimary,"Design system"),Re.extend("--ft-radio-border-color","",De.colorOnSurfaceMedium)),Ks=Re.external(De.colorOnSurfaceDisabled,"Design system"),Bs=Rt`
1053
1053
  * {
1054
1054
  box-sizing: border-box;
1055
1055
  }
1056
1056
 
1057
1057
  .ft-radio {
1058
1058
  box-sizing: border-box;
1059
- color: ${zs};
1059
+ color: ${js};
1060
1060
 
1061
1061
  display: inline-flex;
1062
1062
  align-items: center;
@@ -1064,7 +1064,7 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
1064
1064
  }
1065
1065
 
1066
1066
  .ft-radio--disabled {
1067
- color: ${Bs};
1067
+ color: ${Ks};
1068
1068
  }
1069
1069
 
1070
1070
  input {
@@ -1087,7 +1087,7 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
1087
1087
  }
1088
1088
 
1089
1089
  .ft-radio--box {
1090
- border: 2px solid ${Ks};
1090
+ border: 2px solid ${Ps};
1091
1091
  border-radius: 50%;
1092
1092
 
1093
1093
  display: flex;
@@ -1100,7 +1100,7 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
1100
1100
 
1101
1101
  .ft-radio--box:after {
1102
1102
  content: " ";
1103
- background-color: ${Ps};
1103
+ background-color: ${zs};
1104
1104
 
1105
1105
  border-radius: 50%;
1106
1106
 
@@ -1112,7 +1112,7 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
1112
1112
  }
1113
1113
 
1114
1114
  .ft-radio--checked .ft-radio--box {
1115
- border-color: ${Ps};
1115
+ border-color: ${zs};
1116
1116
  }
1117
1117
 
1118
1118
 
@@ -1121,15 +1121,15 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
1121
1121
  }
1122
1122
 
1123
1123
  .ft-radio--disabled .ft-radio--box {
1124
- border-color: ${Bs};
1124
+ border-color: ${Ks};
1125
1125
  background-color: transparent;
1126
1126
  }
1127
1127
 
1128
1128
  .ft-radio--disabled .ft-radio--box:after {
1129
- background-color: ${Bs};
1129
+ background-color: ${Ks};
1130
1130
  }
1131
- `;var Ms=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zs extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class _s extends Go{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return pe`
1132
- <div class="${os(t)}">
1131
+ `;var Ms=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ts extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Zs extends Ho{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return he`
1132
+ <div class="${es(t)}">
1133
1133
  <div class="ft-radio--box-container">
1134
1134
  <ft-ripple
1135
1135
  ?disabled=${this.disabled}
@@ -1153,22 +1153,22 @@ class ds extends Ca{constructor(t){if(super(t),this.et=lt,t.type!==Sa)throw Erro
1153
1153
  </ft-typography>
1154
1154
  </label>
1155
1155
  </div>
1156
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Zs(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Zs(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}_s.elementDefinitions={"ft-ripple":rs,"ft-typography":Oa},_s.styles=Ts,Ms([R()],_s.prototype,"value",void 0),Ms([R()],_s.prototype,"name",void 0),Ms([R({type:Boolean,reflect:!0})],_s.prototype,"checked",void 0),Ms([R({type:Boolean})],_s.prototype,"disabled",void 0),Ms([W(".ft-radio")],_s.prototype,"container",void 0),Ms([W("ft-ripple")],_s.prototype,"ripple",void 0),Ms([W("input")],_s.prototype,"input",void 0);const Hs=It`
1156
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Ts(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Ts(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Zs.elementDefinitions={"ft-ripple":is,"ft-typography":xa},Zs.styles=Bs,Ms([R()],Zs.prototype,"value",void 0),Ms([R()],Zs.prototype,"name",void 0),Ms([R({type:Boolean,reflect:!0})],Zs.prototype,"checked",void 0),Ms([R({type:Boolean})],Zs.prototype,"disabled",void 0),Ms([A(".ft-radio")],Zs.prototype,"container",void 0),Ms([A("ft-ripple")],Zs.prototype,"ripple",void 0),Ms([A("input")],Zs.prototype,"input",void 0);const _s=Rt`
1157
1157
  :host {
1158
1158
  display: contents;
1159
1159
  }
1160
- `;var Gs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Vs extends Go{constructor(){super(...arguments),this.name=""}render(){return pe`
1160
+ `;var Hs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Gs extends Ho{constructor(){super(...arguments),this.name=""}render(){return he`
1161
1161
  <slot @slotchange=${this.onSlotChange}
1162
1162
  @change=${this.onChange}
1163
1163
  @keydown=${this.onKeyDown}
1164
1164
  ></slot>
1165
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Vs.elementDefinitions={},Vs.styles=Hs,Gs([R()],Vs.prototype,"name",void 0),Gs([
1165
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Gs.elementDefinitions={},Gs.styles=_s,Hs([R()],Gs.prototype,"name",void 0),Hs([
1166
1166
  /**
1167
1167
  * @license
1168
1168
  * Copyright 2021 Google LLC
1169
1169
  * SPDX-License-Identifier: BSD-3-Clause
1170
1170
  */
1171
- function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return L(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Vs.prototype,"radioButtons",void 0),z("ft-radio")(_s),z("ft-radio-group")(Vs);const qs={borderRadiusM:Ie.external(Fe.borderRadiusM,"Design system"),colorOutline:Ie.external(Fe.colorOutline,"Design system"),colorOnSurface:Ie.external(Fe.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ie.external(Fe.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ie.external(Fe.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ie.external(Fe.colorPrimary,"Design system"),colorOnPrimary:Ie.external(Fe.colorOnPrimary,"Design system"),fontFamily:Ie.external(Tn.fontFamily,"Body2 typography"),fontSize:Ie.external(Tn.fontSize,"Body2 typography"),fontWeight:Ie.external(Tn.fontWeight,"Body2 typography"),letterSpacing:Ie.external(Tn.letterSpacing,"Body2 typography"),lineHeight:Ie.external(Tn.lineHeight,"Body2 typography"),textTransform:Ie.external(Tn.textTransform,"Body2 typography")},Ys=It`
1171
+ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return L(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Gs.prototype,"radioButtons",void 0),j("ft-radio")(Zs),j("ft-radio-group")(Gs);const Vs={borderRadiusM:Re.external(De.borderRadiusM,"Design system"),colorOutline:Re.external(De.colorOutline,"Design system"),colorOnSurface:Re.external(De.colorOnSurface,"Design system"),colorOnSurfaceMedium:Re.external(De.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Re.external(De.colorOnSurfaceDisabled,"Design system"),colorPrimary:Re.external(De.colorPrimary,"Design system"),colorOnPrimary:Re.external(De.colorOnPrimary,"Design system"),fontFamily:Re.external(Bn.fontFamily,"Body2 typography"),fontSize:Re.external(Bn.fontSize,"Body2 typography"),fontWeight:Re.external(Bn.fontWeight,"Body2 typography"),letterSpacing:Re.external(Bn.letterSpacing,"Body2 typography"),lineHeight:Re.external(Bn.lineHeight,"Body2 typography"),textTransform:Re.external(Bn.textTransform,"Body2 typography")},qs=Rt`
1172
1172
  .ft-filter-level--container {
1173
1173
  display: flex;
1174
1174
  flex-direction: column;
@@ -1182,14 +1182,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1182
1182
  flex-shrink: 0;
1183
1183
  text-decoration: none;
1184
1184
  position: relative;
1185
- border-radius: ${qs.borderRadiusM};
1185
+ border-radius: ${Vs.borderRadiusM};
1186
1186
  overflow: hidden;
1187
1187
  display: flex;
1188
1188
  align-items: center;
1189
1189
  padding: 4px 4px;
1190
1190
  gap: 4px;
1191
1191
  cursor: pointer;
1192
- color: ${qs.colorOnSurface};
1192
+ color: ${Vs.colorOnSurface};
1193
1193
  }
1194
1194
 
1195
1195
  .ft-filter-level--go-back:focus {
@@ -1218,7 +1218,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1218
1218
  }
1219
1219
 
1220
1220
  ft-button {
1221
- ${Ue(Va.color,qs.colorOnSurface)};
1221
+ ${Ie(Ga.color,Vs.colorOnSurface)};
1222
1222
  }
1223
1223
 
1224
1224
  ft-radio, ft-checkbox {
@@ -1232,11 +1232,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1232
1232
 
1233
1233
  .ft-filter-level--no-values {
1234
1234
  margin: 10px 0;
1235
- color: ${qs.colorOnSurfaceMedium};
1235
+ color: ${Vs.colorOnSurfaceMedium};
1236
1236
  }
1237
- `;var Xs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Js extends Go{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return pe`
1237
+ `;var Ys=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xs extends Ho{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return he`
1238
1238
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1239
- ${null==this.parent?null:pe`
1239
+ ${null==this.parent?null:he`
1240
1240
  <div tabindex="0"
1241
1241
  part="controls go-back"
1242
1242
  class="ft-filter-level--go-back"
@@ -1248,15 +1248,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1248
1248
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1249
1249
  </div>
1250
1250
  `}
1251
- ${0===this.options.length&&this.noValuesLabel?pe`
1251
+ ${0===this.options.length&&this.noValuesLabel?he`
1252
1252
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1253
1253
  ${this.noValuesLabel}
1254
1254
  </ft-typography>
1255
- `:de}
1256
- ${Wa(e,(t=>t.value),(t=>{var e;return pe`
1255
+ `:ue}
1256
+ ${La(e,(t=>t.value),(t=>{var e;return he`
1257
1257
  <div class="ft-filter-level--option" part="options">
1258
1258
  ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1259
- ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?de:pe`
1259
+ ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?ue:he`
1260
1260
  <ft-button icon="thin_arrow_right"
1261
1261
  part="controls navigate-hierarchy"
1262
1262
  label="${t.label}"
@@ -1266,7 +1266,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1266
1266
  `}
1267
1267
  </div>
1268
1268
  `}))}
1269
- ${e.length<t.length?pe`
1269
+ ${e.length<t.length?he`
1270
1270
  <ft-button
1271
1271
  class="ft-filter-level--display-more"
1272
1272
  icon="thin_arrow"
@@ -1275,19 +1275,19 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1275
1275
  @click=${this.displayMore}>
1276
1276
  ${this.moreValuesButtonLabel}
1277
1277
  </ft-button>
1278
- `:de}
1278
+ `:ue}
1279
1279
  </div>
1280
- `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return pe`
1280
+ `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return he`
1281
1281
  <ft-checkbox name="${this.filterId}"
1282
1282
  part="multivalued-option"
1283
1283
  data-value="${t.value}"
1284
1284
  .checked=${t.selected}
1285
1285
  .disabled=${this.disabled}
1286
- .indeterminate=${F(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1286
+ .indeterminate=${D(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1287
1287
  @change=${e=>this.optionsChanged(e,t)}>
1288
1288
  ${t.renderOption?t.renderOption:t.label}
1289
1289
  </ft-checkbox>
1290
- `}buildMonoValuedOption(t){return pe`
1290
+ `}buildMonoValuedOption(t){return he`
1291
1291
  <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1292
1292
  part="monovalued-option"
1293
1293
  data-value="${t.value}"
@@ -1298,7 +1298,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1298
1298
  @change=${t=>t.stopPropagation()}>
1299
1299
  ${t.renderOption?t.renderOption:t.label}
1300
1300
  </ft-radio>
1301
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Js.elementDefinitions={"ft-button":Cs,"ft-ripple":rs,"ft-typography":Oa,"ft-checkbox":js,"ft-icon":xs,"ft-radio":_s},Js.styles=Ys,Xs([R({type:String})],Js.prototype,"filterId",void 0),Xs([R({type:Object})],Js.prototype,"parent",void 0),Xs([R({type:Array})],Js.prototype,"options",void 0),Xs([R({type:Boolean})],Js.prototype,"multivalued",void 0),Xs([R({type:Boolean})],Js.prototype,"disabled",void 0),Xs([R({type:Boolean})],Js.prototype,"hideSelectedOptions",void 0),Xs([R({type:Boolean})],Js.prototype,"preventNavigation",void 0),Xs([R({type:String})],Js.prototype,"filter",void 0),Xs([R({type:String})],Js.prototype,"moreValuesButtonLabel",void 0),Xs([R({type:String})],Js.prototype,"noValuesLabel",void 0),Xs([R({type:Number})],Js.prototype,"displayedValuesLimit",void 0),Xs([W(".ft-filter-level--container")],Js.prototype,"container",void 0),Xs([I()],Js.prototype,"displayedPages",void 0);const Qs={buttonsColor:Ie.extend("--ft-snap-scroll-buttons-color","",Fe.colorPrimary),buttonsZIndex:Ie.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ie.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ie.external(Fe.colorSurface,"Design system")},tl=It`
1301
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Xs.elementDefinitions={"ft-button":Ns,"ft-ripple":is,"ft-typography":xa,"ft-checkbox":Fs,"ft-icon":vs,"ft-radio":Zs},Xs.styles=qs,Ys([R({type:String})],Xs.prototype,"filterId",void 0),Ys([R({type:Object})],Xs.prototype,"parent",void 0),Ys([R({type:Array})],Xs.prototype,"options",void 0),Ys([R({type:Boolean})],Xs.prototype,"multivalued",void 0),Ys([R({type:Boolean})],Xs.prototype,"disabled",void 0),Ys([R({type:Boolean})],Xs.prototype,"hideSelectedOptions",void 0),Ys([R({type:Boolean})],Xs.prototype,"preventNavigation",void 0),Ys([R({type:String})],Xs.prototype,"filter",void 0),Ys([R({type:String})],Xs.prototype,"moreValuesButtonLabel",void 0),Ys([R({type:String})],Xs.prototype,"noValuesLabel",void 0),Ys([R({type:Number})],Xs.prototype,"displayedValuesLimit",void 0),Ys([A(".ft-filter-level--container")],Xs.prototype,"container",void 0),Ys([I()],Xs.prototype,"displayedPages",void 0);const Js={buttonsColor:Re.extend("--ft-snap-scroll-buttons-color","",De.colorPrimary),buttonsZIndex:Re.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Re.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Re.external(De.colorSurface,"Design system")},Qs=Rt`
1302
1302
  .ft-snap-scroll {
1303
1303
  box-sizing: border-box;
1304
1304
  position: relative;
@@ -1333,7 +1333,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1333
1333
  flex-wrap: nowrap;
1334
1334
  align-items: flex-start;
1335
1335
  justify-content: flex-start;
1336
- gap: ${Qs.gap};
1336
+ gap: ${Js.gap};
1337
1337
  }
1338
1338
 
1339
1339
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1376,11 +1376,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1376
1376
  .ft-snap-scroll--next {
1377
1377
  position: absolute;
1378
1378
  display: flex;
1379
- z-index: ${Qs.buttonsZIndex};
1379
+ z-index: ${Js.buttonsZIndex};
1380
1380
  opacity: 1;
1381
1381
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1382
- ${Ue(Va.backgroundColor,"transparent")};
1383
- ${Ue(Va.color,Qs.buttonsColor)};
1382
+ ${Ie(Ga.backgroundColor,"transparent")};
1383
+ ${Ie(Ga.color,Js.buttonsColor)};
1384
1384
  }
1385
1385
 
1386
1386
  .ft-snap-scroll--previous[hidden],
@@ -1393,37 +1393,37 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1393
1393
  top: 0;
1394
1394
  left: -1px;
1395
1395
  bottom: 0;
1396
- background: linear-gradient(to right, ${Qs.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1396
+ background: linear-gradient(to right, ${Js.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1397
1397
  }
1398
1398
 
1399
1399
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1400
1400
  top: -1px;
1401
1401
  left: 0;
1402
1402
  right: 0;
1403
- background: linear-gradient(to bottom, ${Qs.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1403
+ background: linear-gradient(to bottom, ${Js.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1404
1404
  }
1405
1405
 
1406
1406
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1407
1407
  top: 0;
1408
1408
  right: -1px;
1409
1409
  bottom: 0;
1410
- background: linear-gradient(to left, ${Qs.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1410
+ background: linear-gradient(to left, ${Js.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1411
1411
  }
1412
1412
 
1413
1413
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1414
1414
  left: 0;
1415
1415
  right: 0;
1416
1416
  bottom: -1px;
1417
- background: linear-gradient(to top, ${Qs.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1417
+ background: linear-gradient(to top, ${Js.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1418
1418
  }
1419
1419
 
1420
1420
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1421
1421
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1422
1422
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1423
1423
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1424
- background-color: ${Qs.colorSurface};
1424
+ background-color: ${Js.colorSurface};
1425
1425
  }
1426
- `;var el=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ol extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class il extends Go{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new n(200),this.updateScrollDebouncer=new n(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=os({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":tn}),e=this.controls&&this.withScroll;return pe`
1426
+ `;var tl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class el extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class ol extends Ho{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new n(200),this.updateScrollDebouncer=new n(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=es({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Qr}),e=this.controls&&this.withScroll;return he`
1427
1427
  <div part="container" class="${t}">
1428
1428
  <ft-button
1429
1429
  class="ft-snap-scroll--previous"
@@ -1447,7 +1447,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1447
1447
  @click=${this.next}
1448
1448
  ></ft-button>
1449
1449
  </div>
1450
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new ol(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}il.elementDefinitions={"ft-button":Cs},il.styles=tl,el([R({type:Boolean})],il.prototype,"horizontal",void 0),el([R({type:Boolean})],il.prototype,"hideScrollbar",void 0),el([R({type:Boolean})],il.prototype,"controls",void 0),el([R({type:Boolean})],il.prototype,"limitSize",void 0),el([I()],il.prototype,"elements",void 0),el([I()],il.prototype,"currentElement",void 0),el([I()],il.prototype,"withScroll",void 0),el([I()],il.prototype,"startReached",void 0),el([I()],il.prototype,"endReached",void 0),el([W(".ft-snap-scroll--content")],il.prototype,"contentSlot",void 0),z("ft-snap-scroll")(il);const rl=Ie.external(Fe.colorOutline,"Design system"),nl=Ie.external(Fe.colorOnSurface,"Design system"),al=Ie.external(Fe.colorOnSurfaceMedium,"Design system"),sl=Ie.external(Fe.colorPrimary,"Design system"),ll=Ie.external(Fe.colorSurface,"Design system"),cl=Ie.external(Fe.transitionDuration,"Design system"),fl=Ie.external(Fe.transitionTimingFunction,"Design system"),hl=Ie.extend("--ft-filter-label-color","",Fe.colorOnSurface),pl=Ie.extend("--ft-filter-label-font-size","",hn.fontSize,"16px"),ul=[da,It`
1450
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new el(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}ol.elementDefinitions={"ft-button":Ns},ol.styles=Qs,tl([R({type:Boolean})],ol.prototype,"horizontal",void 0),tl([R({type:Boolean})],ol.prototype,"hideScrollbar",void 0),tl([R({type:Boolean})],ol.prototype,"controls",void 0),tl([R({type:Boolean})],ol.prototype,"limitSize",void 0),tl([I()],ol.prototype,"elements",void 0),tl([I()],ol.prototype,"currentElement",void 0),tl([I()],ol.prototype,"withScroll",void 0),tl([I()],ol.prototype,"startReached",void 0),tl([I()],ol.prototype,"endReached",void 0),tl([A(".ft-snap-scroll--content")],ol.prototype,"contentSlot",void 0),j("ft-snap-scroll")(ol);const il=Re.external(De.colorOutline,"Design system"),rl=Re.external(De.colorOnSurface,"Design system"),nl=Re.external(De.colorOnSurfaceMedium,"Design system"),al=Re.external(De.colorPrimary,"Design system"),sl=Re.external(De.colorSurface,"Design system"),ll=Re.external(De.transitionDuration,"Design system"),cl=Re.external(De.transitionTimingFunction,"Design system"),fl=Re.extend("--ft-filter-label-color","",De.colorOnSurface),hl=Re.extend("--ft-filter-label-font-size","",fn.fontSize,"16px"),pl=[ua,Rt`
1451
1451
  :host {
1452
1452
  display: flex;
1453
1453
  max-height: 100%;
@@ -1474,7 +1474,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1474
1474
  .ft-filter--header ft-button {
1475
1475
  flex-shrink: 0;
1476
1476
  margin-left: auto;
1477
- ${Ue(Va.iconSize,"18px")};
1477
+ ${Ie(Ga.iconSize,"18px")};
1478
1478
  }
1479
1479
 
1480
1480
  .ft-filter--label {
@@ -1482,10 +1482,10 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1482
1482
  flex-shrink: 1;
1483
1483
  flex-grow: 1;
1484
1484
  word-break: break-word;
1485
- color: ${hl};
1486
- font-size: ${pl};
1487
- ${Ue(hn.lineHeight,"22px")};
1488
- ${Ue(hn.fontWeight,"bold")};
1485
+ color: ${fl};
1486
+ font-size: ${hl};
1487
+ ${Ie(fn.lineHeight,"22px")};
1488
+ ${Ie(fn.fontWeight,"bold")};
1489
1489
  }
1490
1490
 
1491
1491
  .ft-filter--filter {
@@ -1496,8 +1496,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1496
1496
  padding: 0 10px;
1497
1497
  overflow: hidden;
1498
1498
  height: 32px;
1499
- transition: height ${cl} ${fl},
1500
- margin ${cl} ${fl};
1499
+ transition: height ${ll} ${cl},
1500
+ margin ${ll} ${cl};
1501
1501
  transition-delay: 500ms;
1502
1502
  }
1503
1503
 
@@ -1510,15 +1510,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1510
1510
  display: block;
1511
1511
  width: 100%;
1512
1512
  border-radius: 4px;
1513
- border: 1px solid ${rl};
1513
+ border: 1px solid ${il};
1514
1514
  padding: 4px;
1515
- background-color: ${ll};
1516
- color: ${nl};
1517
- outline-color: ${sl};
1515
+ background-color: ${sl};
1516
+ color: ${rl};
1517
+ outline-color: ${al};
1518
1518
  }
1519
1519
 
1520
1520
  input::placeholder {
1521
- color: ${al};
1521
+ color: ${nl};
1522
1522
  }
1523
1523
 
1524
1524
  input:placeholder-shown {
@@ -1534,7 +1534,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1534
1534
  }
1535
1535
 
1536
1536
  .ft-filter--separator {
1537
- border-top: 1px solid ${rl};
1537
+ border-top: 1px solid ${il};
1538
1538
  margin: 4px 10px;
1539
1539
  }
1540
1540
 
@@ -1559,16 +1559,16 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1559
1559
  slot:not([name]) {
1560
1560
  display: none;
1561
1561
  }
1562
- `];var dl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yl extends CustomEvent{constructor(t){super("change",{detail:t})}}class gl extends Go{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new n(300),this.changeDebouncer=new n(10),this.lastDispatchedValues=[]}get flatOptions(){return F(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return F(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return pe`
1562
+ `];var ul=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class dl extends CustomEvent{constructor(t){super("change",{detail:t})}}class yl extends Ho{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new n(300),this.changeDebouncer=new n(10),this.lastDispatchedValues=[]}get flatOptions(){return D(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return D(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return he`
1563
1563
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1564
1564
  part="container">
1565
- ${this.label||t?pe`
1565
+ ${this.label||t?he`
1566
1566
  <div class="ft-filter--header" part="header">
1567
1567
  <ft-typography class="ft-filter--label" variant="overline" part="label">
1568
1568
  ${this.label}
1569
1569
  </ft-typography>
1570
1570
  <slot name="label"></slot>
1571
- ${t&&!this.hideClearButton?pe`
1571
+ ${t&&!this.hideClearButton?he`
1572
1572
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1573
1573
  ${this.clearButtonLabel}
1574
1574
  </ft-button>
@@ -1592,8 +1592,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1592
1592
  @slotchange=${this.updateOptionsFromSlot}
1593
1593
  @option-change=${this.optionsChanged}></slot>
1594
1594
  </div>
1595
- `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=o<0?"ft-filter--level-center":"ft-filter--level-left";return pe`
1596
- ${this.raiseSelectedOptions&&e.length>0?pe`
1595
+ `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=o<0?"ft-filter--level-center":"ft-filter--level-left";return he`
1596
+ ${this.raiseSelectedOptions&&e.length>0?he`
1597
1597
  <ft-filter-level
1598
1598
  filterId="${this.id}"
1599
1599
  ?multivalued=${this.multivalued}
@@ -1612,7 +1612,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1612
1612
  ${this.renderLevel(i,this.options)}
1613
1613
  ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var i;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":e===o?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(i=null==t?void 0:t.subOptions)&&void 0!==i?i:[],t)}))}
1614
1614
  </ft-snap-scroll>
1615
- `}renderLevel(t,e,o){return pe`
1615
+ `}renderLevel(t,e,o){return he`
1616
1616
  <ft-filter-level
1617
1617
  class="${t}"
1618
1618
  filterId="${this.id}"
@@ -1631,26 +1631,26 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
1631
1631
  .exportpartsPrefixes=${["values","available-values"]}
1632
1632
  noValuesLabel="${this.noValuesLabel}"
1633
1633
  ></ft-filter-level>
1634
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;j(this.lastDispatchedValues,t)||(this.dispatchEvent(new yl(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}gl.elementDefinitions={"ft-button":Cs,"ft-filter-level":Js,"ft-snap-scroll":il,"ft-typography":Oa},gl.styles=ul,dl([R({type:String})],gl.prototype,"id",void 0),dl([R({type:String})],gl.prototype,"label",void 0),dl([R({type:String})],gl.prototype,"filterPlaceHolder",void 0),dl([R({type:String})],gl.prototype,"clearButtonLabel",void 0),dl([R({type:String})],gl.prototype,"moreValuesButtonLabel",void 0),dl([R({type:String})],gl.prototype,"noValuesLabel",void 0),dl([P([])],gl.prototype,"options",void 0),dl([R({type:Boolean})],gl.prototype,"multivalued",void 0),dl([R({type:Boolean})],gl.prototype,"disabled",void 0),dl([R({type:Boolean})],gl.prototype,"raiseSelectedOptions",void 0),dl([R({type:Number})],gl.prototype,"displayedValuesLimit",void 0),dl([R({type:Boolean})],gl.prototype,"hideClearButton",void 0),dl([W(".ft-filter--slot")],gl.prototype,"slotElement",void 0),dl([W(".ft-filter--container")],gl.prototype,"container",void 0),dl([W(".ft-filter--values")],gl.prototype,"valuesContainer",void 0),dl([W(".ft-filter--levels")],gl.prototype,"levelsContainer",void 0),dl([I()],gl.prototype,"lastLevelHasHiddenvalues",void 0),dl([W(".ft-filter--filter input")],gl.prototype,"filterInput",void 0),dl([function(t){return(e,o)=>L(0,0,{get(){return(this.renderRoot??(A??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],gl.prototype,"levels",void 0),dl([I()],gl.prototype,"withScroll",void 0),dl([I()],gl.prototype,"filter",void 0),dl([I()],gl.prototype,"slideIn",void 0),dl([I()],gl.prototype,"slideOut",void 0);var bl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ml extends Go{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return pe`
1634
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;F(this.lastDispatchedValues,t)||(this.dispatchEvent(new dl(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}yl.elementDefinitions={"ft-button":Ns,"ft-filter-level":Xs,"ft-snap-scroll":ol,"ft-typography":xa},yl.styles=pl,ul([R({type:String})],yl.prototype,"id",void 0),ul([R({type:String})],yl.prototype,"label",void 0),ul([R({type:String})],yl.prototype,"filterPlaceHolder",void 0),ul([R({type:String})],yl.prototype,"clearButtonLabel",void 0),ul([R({type:String})],yl.prototype,"moreValuesButtonLabel",void 0),ul([R({type:String})],yl.prototype,"noValuesLabel",void 0),ul([z([])],yl.prototype,"options",void 0),ul([R({type:Boolean})],yl.prototype,"multivalued",void 0),ul([R({type:Boolean})],yl.prototype,"disabled",void 0),ul([R({type:Boolean})],yl.prototype,"raiseSelectedOptions",void 0),ul([R({type:Number})],yl.prototype,"displayedValuesLimit",void 0),ul([R({type:Boolean})],yl.prototype,"hideClearButton",void 0),ul([A(".ft-filter--slot")],yl.prototype,"slotElement",void 0),ul([A(".ft-filter--container")],yl.prototype,"container",void 0),ul([A(".ft-filter--values")],yl.prototype,"valuesContainer",void 0),ul([A(".ft-filter--levels")],yl.prototype,"levelsContainer",void 0),ul([I()],yl.prototype,"lastLevelHasHiddenvalues",void 0),ul([A(".ft-filter--filter input")],yl.prototype,"filterInput",void 0),ul([function(t){return(e,o)=>L(0,0,{get(){return(this.renderRoot??(W??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],yl.prototype,"levels",void 0),ul([I()],yl.prototype,"withScroll",void 0),ul([I()],yl.prototype,"filter",void 0),ul([I()],yl.prototype,"slideIn",void 0),ul([I()],yl.prototype,"slideOut",void 0);var gl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class bl extends Ho{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return he`
1635
1635
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1636
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ml.elementDefinitions={},bl([R({type:String})],ml.prototype,"label",void 0),bl([R({type:Object,converter:t=>t})],ml.prototype,"value",void 0),bl([R({type:Boolean,reflect:!0})],ml.prototype,"selected",void 0),bl([R({type:Object})],ml.prototype,"subOptions",void 0),bl([P({})],ml.prototype,"renderOption",void 0),bl([W(".ft-filter-option--slot")],ml.prototype,"slotElement",void 0),z("ft-filter")(gl),z("ft-filter-option")(ml);const vl=It`
1637
- `,xl=It`
1638
- `,Ol=qr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class wl{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Ol.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?wl.build(t):null!==(e=wl.API)&&void 0!==e?e:wl.API=wl.build()}static await(t){return new Promise((e=>{let o=wl.get(t);if(o)e(o);else{const i=Ol.subscribe((()=>{o=wl.get(t),o&&(i(),e(o))}))}}))}}var Sl;const Nl=Symbol("clearAfterUnitTest");class Cl{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[Sl]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=Ol.getState().uiLocale,Ol.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ol.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};j(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Xo(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>D(0).then((()=>t())).catch((()=>null)))))}}Sl=Nl,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Cl((async(t,e)=>(await wl.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Cl((async(t,e)=>(await wl.await()).getCustomMessageContext(t,e))));const El=window.FluidTopicsI18nService,$l=window.FluidTopicsCustomI18nService;var kl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Rl extends Go{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>wl.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return pe`
1636
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}bl.elementDefinitions={},gl([R({type:String})],bl.prototype,"label",void 0),gl([R({type:Object,converter:t=>t})],bl.prototype,"value",void 0),gl([R({type:Boolean,reflect:!0})],bl.prototype,"selected",void 0),gl([R({type:Object})],bl.prototype,"subOptions",void 0),gl([z({})],bl.prototype,"renderOption",void 0),gl([A(".ft-filter-option--slot")],bl.prototype,"slotElement",void 0),j("ft-filter")(yl),j("ft-filter-option")(bl);const ml=Rt`
1637
+ `,vl=Rt`
1638
+ `,xl=Vr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class Ol{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=xl.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static get(t){var e;return null!=t?Ol.build(t):null!==(e=Ol.API)&&void 0!==e?e:Ol.API=Ol.build()}static await(t){return new Promise((e=>{let o=Ol.get(t);if(o)e(o);else{const i=xl.subscribe((()=>{o=Ol.get(t),o&&(i(),e(o))}))}}))}}class wl{constructor(t=!0,e){var o;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(o=i.commonCache)&&void 0!==o?o:new r,this.cache=t?i.commonCache:new r}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ol.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ol.await()}clearCache(){this.cache.clearAll()}}var Sl;const Nl=Symbol("clearAfterUnitTest");class Cl extends wl{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Sl]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=xl.getState().uiLocale,xl.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=xl.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};F(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new Yo(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}Sl=Nl,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Cl{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Cl{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const El=window.FluidTopicsI18nService,$l=window.FluidTopicsCustomI18nService;var kl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Rl extends Ho{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ol.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return he`
1639
1639
  <slot></slot>
1640
- `}update(t){super.update(t),t.has("baseUrl")&&(Ol.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Ol.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ol.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Ol.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Ol.actions.noCustom(this.noCustom),t.has("editorMode")&&Ol.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Ol.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Ol.actions.session(this.session),t.has("availableUiLocales")&&Ol.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>El.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Rl.elementDefinitions={},Rl.styles=xl,kl([R()],Rl.prototype,"baseUrl",void 0),kl([R()],Rl.prototype,"apiIntegrationIdentifier",void 0),kl([R()],Rl.prototype,"uiLocale",void 0),kl([P(null)],Rl.prototype,"availableUiLocales",void 0),kl([P(null)],Rl.prototype,"metadataConfiguration",void 0),kl([R({type:Boolean})],Rl.prototype,"editorMode",void 0),kl([R({type:Boolean})],Rl.prototype,"noCustom",void 0),kl([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Rl.prototype,"noCustomComponent",void 0),kl([R({type:Boolean})],Rl.prototype,"withManualResources",void 0),kl([P([])],Rl.prototype,"messageContexts",void 0),kl([P(void 0)],Rl.prototype,"session",void 0),kl([R({type:Object})],Rl.prototype,"apiProvider",void 0);class Il{async listMySearches(){var t;return(null===(t=Ol.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await wl.await()).listMySearches(Ol.getState().session.profile.userId):[]}}const Ul=new r;class Ll{async listMyBookmarks(){return Ul.get("bookmarks",(async()=>(await wl.await()).listMyBookmarks(Ol.getState().session.profile.userId)))}clearCache(){Ul.clear("bookmarks")}}const Wl=qr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Al=new class{constructor(){this.currentSession=Ol.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ll,Ol.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Ol.getState();j(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Wl.actions.savedSearches(void 0)}clearMyBookmarks(){Wl.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Il,e=await t.listMySearches();Wl.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Wl.actions.bookmarks(e)}}};z("ft-app-context")(Rl);var Dl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Fl=Symbol("i18nAttributes"),jl=Symbol("i18nProperties"),zl=Symbol("i18nUnsubs");function Pl(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?$l:El}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e,o;null===(e=this[Fl])||void 0===e||e.forEach(((e,o)=>{var i;const r=this.getI18nAttributeValue(o);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,r,e)})),null===(o=this[jl])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[Fl])||void 0===e||e.forEach(((e,o)=>{const i=this.getI18nAttributeValue(o);(null==i?void 0:i.context)&&i.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(o,i,e))})),null===(o=this[jl])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,i;super.connectedCallback(),new Set([...null!==(e=null===(t=this[jl])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(i=null===(o=this[Fl])||void 0===o?void 0:o.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[zl].has(t)||this[zl].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[zl].forEach((t=>t())),this[zl].clear()}}return e=zl,Dl([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Kl extends(Pl(Go)){}class Bl extends(Pl(si)){}var Tl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ml extends Bl{constructor(){super(),this.editorMode=!1,this.addStore(Ol)}render(){return this.key&&this.context?pe`
1640
+ `}update(t){super.update(t),t.has("baseUrl")&&(xl.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&xl.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&xl.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&xl.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&xl.actions.noCustom(this.noCustom),t.has("editorMode")&&xl.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&xl.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&xl.actions.session(this.session),t.has("availableUiLocales")&&xl.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>El.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Rl.elementDefinitions={},Rl.styles=vl,kl([R()],Rl.prototype,"baseUrl",void 0),kl([R()],Rl.prototype,"apiIntegrationIdentifier",void 0),kl([R()],Rl.prototype,"uiLocale",void 0),kl([z(null)],Rl.prototype,"availableUiLocales",void 0),kl([z(null)],Rl.prototype,"metadataConfiguration",void 0),kl([R({type:Boolean})],Rl.prototype,"editorMode",void 0),kl([R({type:Boolean})],Rl.prototype,"noCustom",void 0),kl([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Rl.prototype,"noCustomComponent",void 0),kl([R({type:Boolean})],Rl.prototype,"withManualResources",void 0),kl([z([])],Rl.prototype,"messageContexts",void 0),kl([z(void 0)],Rl.prototype,"session",void 0),kl([R({type:Object})],Rl.prototype,"apiProvider",void 0);class Il extends wl{async listMySearches(){let t=xl.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Ul extends wl{async listMyBookmarks(){let t=xl.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ll=Vr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Al=new class{constructor(){this.currentSession=xl.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ul,this.savedSearchesService=new Il,xl.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=xl.getState();F(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ll.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ll.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ll.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ll.actions.bookmarks(e)}}};j("ft-app-context")(Rl);var Wl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Dl=Symbol("i18nAttributes"),Fl=Symbol("i18nProperties"),jl=Symbol("i18nUnsubs");function zl(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?$l:El}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e,o;null===(e=this[Dl])||void 0===e||e.forEach(((e,o)=>{var i;const r=this.getI18nAttributeValue(o);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,r,e)})),null===(o=this[Fl])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[Dl])||void 0===e||e.forEach(((e,o)=>{const i=this.getI18nAttributeValue(o);(null==i?void 0:i.context)&&i.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(o,i,e))})),null===(o=this[Fl])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,i;super.connectedCallback(),new Set([...null!==(e=null===(t=this[Fl])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(i=null===(o=this[Dl])||void 0===o?void 0:o.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[jl].has(t)||this[jl].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[jl].forEach((t=>t())),this[jl].clear()}}return e=jl,Wl([R({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Pl extends(zl(Ho)){}class Kl extends(zl(ai)){}var Bl=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ml extends Kl{constructor(){super(),this.editorMode=!1,this.addStore(xl)}render(){return this.key&&this.context?he`
1641
1641
  <span class="ft-i18n">
1642
1642
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1643
1643
  </span>
1644
- `:this.editorMode?"Select a context and a label key.":de}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}Ml.elementDefinitions={},Ml.styles=vl,Tl([Jo()],Ml.prototype,"editorMode",void 0),Tl([R()],Ml.prototype,"context",void 0),Tl([R()],Ml.prototype,"key",void 0),Tl([P([])],Ml.prototype,"args",void 0),Tl([R()],Ml.prototype,"defaultMessage",void 0);class Zl{static build(t){return new Zl(t)}static fromGwt(t){return new Zl(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>El.resolveMessage(this.name,e,...t)})}}z("ft-i18n")(Ml);const _l={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};var Hl,Gl,Vl,ql,Yl,Xl,Jl,Ql,tc,ec,oc,ic,rc,nc,ac,sc,lc,cc;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Hl||(Hl={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Gl||(Gl={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Vl||(Vl={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(ql||(ql={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Yl||(Yl={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Xl||(Xl={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Jl||(Jl={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ql||(Ql={})),function(t){t.ASC="ASC",t.DESC="DESC"}(tc||(tc={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ec||(ec={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(oc||(oc={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ic||(ic={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(rc||(rc={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(nc||(nc={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(ac||(ac={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(sc||(sc={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(lc||(lc={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(cc||(cc={})),lc.PERSONAL_BOOK_SHARE_USER,lc.PERSONAL_BOOK_USER,lc.HTML_EXPORT_USER,lc.PERSONAL_BOOK_USER,lc.PDF_EXPORT_USER,lc.PERSONAL_BOOK_USER,lc.KHUB_ADMIN,lc.CONTENT_PUBLISHER,lc.ADMIN,lc.KHUB_ADMIN,lc.USERS_ADMIN,lc.PORTAL_ADMIN,lc.DEVELOPER,lc.BETA_USER,lc.DEBUG_USER;class fc{static async build(){return new fc(await wl.await())}constructor(t){this.api=t,this.cache=new r,this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const hc=t=>t.request.virtualField===oc.TITLE_ONLY&&t.request.scope===sc.DOCUMENTS;class pc extends Event{constructor(){super(pc.eventName)}}pc.eventName="search-context-clear-all-filters";class uc{static build(t){return new uc((t=>qr.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:_l}))(t.trim()||"context"),fc.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new n(100),this.suggestDebouncer=new n(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){return async function(t,e=10,o=2e4){let i,r,n=await t();for(i=r=performance.now();null==n&&(!o||r-i<o);)await D(e),n=await t(),r=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}((()=>this.service))}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(oc.TITLE_ONLY),this.store.actions.setRequestScope(sc.DOCUMENTS)):(this.store.actions.setRequestVirtualField(oc.EVERYWHERE),this.store.actions.setRequestScope(sc.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return hc(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new pc)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let e=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==e.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=i(this.service.launchSearch(e));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let e=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(t.results);this.store.actions.setResults(e)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),o=e.request,r={input:e.liveQuery,filters:o.filters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=i(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var dc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class yc extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const gc=Symbol("registerInterval");class bc extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[gc]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[gc]):this.dispatchEvent(new yc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=gc,dc([I()],o.prototype,"stateManager",void 0),o}(si)){}const mc=Zl.build("designedSearchType"),vc={label:"Search scope",documentTitlesOnly:"Search in document titles only"},xc=It`
1645
- `;var Oc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wc extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Sc extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Nc extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Cc extends si{get stateManager(){return null==this._stateManager&&(this._stateManager=uc.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(Ol)}render(){return pe`
1644
+ `:this.editorMode?"Select a context and a label key.":ue}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}Ml.elementDefinitions={},Ml.styles=ml,Bl([Xo()],Ml.prototype,"editorMode",void 0),Bl([R()],Ml.prototype,"context",void 0),Bl([R()],Ml.prototype,"key",void 0),Bl([z([])],Ml.prototype,"args",void 0),Bl([R()],Ml.prototype,"defaultMessage",void 0);class Tl{static build(t){return new Tl(t)}static fromGwt(t){return new Tl(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>El.resolveMessage(this.name,e,...t)})}}j("ft-i18n")(Ml);const Zl={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};var _l,Hl,Gl,Vl,ql,Yl,Xl,Jl,Ql,tc,ec,oc,ic,rc,nc,ac,sc,lc;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(_l||(_l={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Hl||(Hl={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(Gl||(Gl={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Vl||(Vl={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(ql||(ql={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Yl||(Yl={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Xl||(Xl={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Jl||(Jl={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Ql||(Ql={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(tc||(tc={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ec||(ec={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(oc||(oc={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(ic||(ic={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(rc||(rc={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(nc||(nc={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ac||(ac={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(sc||(sc={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(lc||(lc={})),sc.PERSONAL_BOOK_SHARE_USER,sc.PERSONAL_BOOK_USER,sc.HTML_EXPORT_USER,sc.PERSONAL_BOOK_USER,sc.PDF_EXPORT_USER,sc.PERSONAL_BOOK_USER,sc.KHUB_ADMIN,sc.CONTENT_PUBLISHER,sc.ADMIN,sc.KHUB_ADMIN,sc.USERS_ADMIN,sc.PORTAL_ADMIN,sc.DEVELOPER,sc.BETA_USER,sc.DEBUG_USER;class cc extends wl{constructor(){super(),this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const fc=t=>t.request.virtualField===ec.TITLE_ONLY&&t.request.scope===ac.DOCUMENTS;class hc extends Event{constructor(){super(hc.eventName)}}hc.eventName="search-context-clear-all-filters";class pc{static build(t,e){return new pc((t=>Vr.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Zl}))(t.trim()||"context"),e)}constructor(t,e){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new n(100),this.suggestDebouncer=new n(300),this.service=null!=e?e:new cc}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(ec.TITLE_ONLY),this.store.actions.setRequestScope(ac.DOCUMENTS)):(this.store.actions.setRequestVirtualField(ec.EVERYWHERE),this.store.actions.setRequestScope(ac.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return fc(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new hc)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let e=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==e.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=i(this.service.launchSearch(e));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let e=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(t.results);this.store.actions.setResults(e)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),o=e.request,r={input:e.liveQuery,filters:o.filters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=i(this.service.launchSuggest(r));let n=await this.cancelableSuggest;this.store.actions.setSuggestResults(n.suggestions)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var uc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class dc extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const yc=Symbol("registerInterval");class gc extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[yc]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[yc]):this.dispatchEvent(new dc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=yc,uc([I()],o.prototype,"stateManager",void 0),o}(ai)){}const bc=Tl.build("designedSearchType"),mc={label:"Search scope",documentTitlesOnly:"Search in document titles only"},vc=Rt`
1645
+ `;var xc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Oc extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class wc extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Sc extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Nc extends ai{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=pc.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0"),t),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(xl)}render(){return he`
1646
1646
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1647
- `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Sc(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Nc(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new wc(t))}reloadSavedSearches(){Al.clearMySearches()}clear(){this.stateManager.clear()}}Cc.elementDefinitions={},Cc.styles=xc,Oc([R()],Cc.prototype,"query",void 0),Oc([R()],Cc.prototype,"contentLocale",void 0),Oc([R({type:Number})],Cc.prototype,"pageSize",void 0),Oc([R({type:Boolean})],Cc.prototype,"searchInDocumentTitlesOnly",void 0),Oc([R()],Cc.prototype,"scope",void 0),Oc([R({type:Boolean})],Cc.prototype,"ignoreEmptyQuery",void 0),Oc([R({type:Boolean})],Cc.prototype,"openExternalDocumentInNewTab",void 0),Oc([P([])],Cc.prototype,"filters",void 0),Oc([P([])],Cc.prototype,"sort",void 0),Oc([Jo({store:"search"})],Cc.prototype,"request",void 0),Oc([Jo({store:"search"})],Cc.prototype,"paging",void 0),Oc([Jo({store:"search",selector:t=>t.spellcheck})],Cc.prototype,"autocorrect",void 0),Oc([Jo({store:Ol.name})],Cc.prototype,"session",void 0),z("ft-search-context")(Cc);var Ec=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class $c extends(Pl(bc)){constructor(){super(),this.addI18nContext(mc,vc)}render(){return pe`
1647
+ `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new wc(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Sc(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Oc(t))}reloadSavedSearches(){Al.clearMySearches()}clear(){this.stateManager.clear()}}Nc.elementDefinitions={},Nc.styles=vc,xc([R()],Nc.prototype,"query",void 0),xc([R()],Nc.prototype,"contentLocale",void 0),xc([R({type:Number})],Nc.prototype,"pageSize",void 0),xc([R({type:Boolean})],Nc.prototype,"searchInDocumentTitlesOnly",void 0),xc([R()],Nc.prototype,"scope",void 0),xc([R({type:Boolean})],Nc.prototype,"ignoreEmptyQuery",void 0),xc([R({type:Boolean})],Nc.prototype,"openExternalDocumentInNewTab",void 0),xc([z([])],Nc.prototype,"filters",void 0),xc([z([])],Nc.prototype,"sort",void 0),xc([Xo({store:"search"})],Nc.prototype,"request",void 0),xc([Xo({store:"search"})],Nc.prototype,"paging",void 0),xc([Xo({store:"search",selector:t=>t.spellcheck})],Nc.prototype,"autocorrect",void 0),xc([Xo({store:xl.name})],Nc.prototype,"session",void 0),xc([R({attribute:!1})],Nc.prototype,"searchServiceProvider",void 0),j("ft-search-context")(Nc);var Cc=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ec extends(zl(gc)){constructor(){super(),this.addI18nContext(bc,mc)}render(){return he`
1648
1648
  <ft-filter
1649
- label=${mc.messages.label()}
1650
- .options=${[{label:mc.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1649
+ label=${bc.messages.label()}
1650
+ .options=${[{label:bc.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1651
1651
  part="filter"
1652
1652
  .exportpartsPrefixes=${["filter"]}
1653
1653
  multivalued
1654
1654
  @change=${this.onSelected}
1655
1655
  ></ft-filter>
1656
- `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}$c.elementDefinitions={"ft-filter":gl},$c.styles=en,Ec([Jo({selector:hc})],$c.prototype,"searchInDocumentTitlesOnly",void 0),Ec([W("ft-filter")],$c.prototype,"filter",void 0),z("ft-search-type")($c),t.FtSearchType=$c,t.FtSearchTypeCssVariables={},t.searchTypeContext=mc,t.searchTypeDefaultMessages=vc,t.styles=en}({});
1656
+ `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}Ec.elementDefinitions={"ft-filter":yl},Ec.styles=tn,Cc([Xo({selector:fc})],Ec.prototype,"searchInDocumentTitlesOnly",void 0),Cc([A("ft-filter")],Ec.prototype,"filter",void 0),j("ft-search-type")(Ec),t.FtSearchType=Ec,t.FtSearchTypeCssVariables={},t.searchTypeContext=bc,t.searchTypeDefaultMessages=mc,t.styles=tn}({});