@fluid-topics/ft-tooltip 1.1.42 → 1.1.43

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,o=window.customElements.define,e=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);h(n,c,s);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)i.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),n.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!l(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,n=r._getDefinition(o);return n?d(e,n):i.set(e,r),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i,n),e.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r),e.call(this,r,t,null)}else n.call(this,r)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const o=this.getAttribute(n);e.call(this,n,t,o)}else i.call(this,n,r)})},u=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):u(e)},d=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),c=t;try{new o.elementClass}catch(t){u(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===n.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),n=o.get(r)||[];this[+e]=t,n.push(t),o.set(r,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||o.push(e)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(Va){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,l=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){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(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);h(n,c,l);const s={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,s),this._definitionsByClass.set(n,s);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,s),s.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)i.delete(t),d(t,s,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),n.set(o,e),o},window.HTMLElement.prototype=t.prototype;const s=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!s(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),s(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,n=r._getDefinition(o);return n?d(e,n):i.set(e,r),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i,n),e.call(this,i,t,n)}else r.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);n.call(this,r),e.call(this,r,t,null)}else n.call(this,r)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const o=this.getAttribute(n);e.call(this,n,t,o)}else i.call(this,n,r)})},u=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):u(e)},d=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),c=t;try{new o.elementClass}catch(t){u(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===n.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),n=o.get(r)||[];this[+e]=t,n.push(t),o.set(r,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||o.push(e)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(il){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -22,50 +22,50 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:s,defineProperty:c,getOwnPropertyDescriptor:l,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:h}=Object,u=globalThis,d=u.trustedTypes,y=d?d.emptyScript:"",g=u.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},O=(t,o)=>!s(t,o),v={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=v){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=l(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),n=o.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=e.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??O)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[b("elementProperties")]=new Map,S[b("finalized")]=new Map,g?.({ReactiveElement:S}),(u.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:l,defineProperty:c,getOwnPropertyDescriptor:s,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:h}=Object,u=globalThis,d=u.trustedTypes,y=d?d.emptyScript:"",g=u.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let x=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&c(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=s(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),n=o.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=e.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:m).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[b("elementProperties")]=new Map,x[b("finalized")]=new Map,g?.({ReactiveElement:x}),(u.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const w=globalThis,x=w.trustedTypes,N=x?x.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,L=`<${R}>`,I=document,U=()=>I.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,$=t=>k(t)||"function"==typeof t?.[Symbol.iterator],A="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,K=/>/g,j=RegExp(`>|${A}(?:([^\\s"'>=/]+)(${A}*=${A}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,B=/"/g,z=/^(?:script|style|textarea|title)$/i,M=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),D=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),H=new WeakMap,T=I.createTreeWalker(I,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=F;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===F?"!--"===c[1]?a=_:void 0!==c[1]?a=K:void 0!==c[2]?(z.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=j):void 0!==c[3]&&(a=j):a===j?">"===c[0]?(a=n??F,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?j:'"'===c[3]?B:P):a===B||a===P?a=j:a===_||a===K?a=F:(a=j,n=void 0);const p=a===j&&t[o+1].startsWith("/>")?" ":"";i+=a===F?e+L:l>=0?(r.push(s),e.slice(0,l)+C+e.slice(l)+E+p):e+E+(-2===l?o:p)}return[G(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const s=o.length-1,c=this.parts,[l,f]=V(o,e);if(this.el=t.createElement(l,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=T.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(C)){const o=f[a++],e=n.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),n.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(z.test(n.tagName)){const t=n.textContent.split(E),o=t.length-1;if(o>0){n.textContent=x?x.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],U()),T.nextNode(),c.push({type:2,index:++i});n.append(t[o],U())}}}else if(8===n.nodeType)if(n.data===R)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)c.push({type:7,index:i}),t+=E.length-1}i++}}static createElement(t,o){const e=I.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===D)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=W(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=Y(t,n._$AS(t,o.values),n,r)),o}let J=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??I).importNode(o,!0);T.currentNode=r;let n=T.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new X(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new rt(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=T.nextNode(),i++)}return T.currentNode=I,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Y(this,t,o),W(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==D&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):$(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Z&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new q(t)),o}T(o){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(U()),this.k(U()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Z}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=Y(this,t,o,0),i=!W(t)||t!==this._$AH&&t!==D,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=Y(this,r[e+a],o,a),s===D&&(s=this._$AH[a]),i||=!W(s)||s!==this._$AH[a],s===Z?t=Z:t!==Z&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Z?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Z)}},et=class extends Q{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??Z)===D)return;const e=this._$AH,r=t===Z&&e!==Z||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==Z&&(e===Z||r);r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const nt={j:C,P:E,A:R,C:1,M:V,L:J,R:$,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},it=w.litHtmlPolyfillSupport;it?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
31
+ const S=globalThis,w=S.trustedTypes,N=w?w.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,I=`<${R}>`,L=document,U=()=>L.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,$=t=>k(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,B=/>/g,_=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),K=/'/g,P=/"/g,Z=/^(?:script|style|textarea|title)$/i,j=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),M=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,T=L.createTreeWalker(L,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=F;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===F?"!--"===c[1]?a=A:void 0!==c[1]?a=B:void 0!==c[2]?(Z.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=_):void 0!==c[3]&&(a=_):a===_?">"===c[0]?(a=n??F,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?_:'"'===c[3]?P:K):a===P||a===K?a=_:a===A||a===B?a=F:(a=_,n=void 0);const p=a===_&&t[o+1].startsWith("/>")?" ":"";i+=a===F?e+I:s>=0?(r.push(l),e.slice(0,s)+C+e.slice(s)+E+p):e+E+(-2===s?o:p)}return[G(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const l=o.length-1,c=this.parts,[s,f]=V(o,e);if(this.el=t.createElement(s,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=T.nextNode())&&c.length<l;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(C)){const o=f[a++],e=n.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),n.removeAttribute(t)}else t.startsWith(E)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(Z.test(n.tagName)){const t=n.textContent.split(E),o=t.length-1;if(o>0){n.textContent=w?w.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],U()),T.nextNode(),c.push({type:2,index:++i});n.append(t[o],U())}}}else if(8===n.nodeType)if(n.data===R)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(E,t+1));)c.push({type:7,index:i}),t+=E.length-1}i++}}static createElement(t,o){const e=L.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===M)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=W(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=Y(t,n._$AS(t,o.values),n,r)),o}let J=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??L).importNode(o,!0);T.currentNode=r;let n=T.nextNode(),i=0,a=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new X(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new rt(n,this,t)),this._$AV.push(o),l=e[++a]}i!==l?.index&&(n=T.nextNode(),i++)}return T.currentNode=L,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Y(this,t,o),W(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):$(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!==D&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(L.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new q(t)),o}T(o){k(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(U()),this.k(U()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=D}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=Y(this,t,o,0),i=!W(t)||t!==this._$AH&&t!==M,i&&(this._$AH=t);else{const r=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=Y(this,r[e+a],o,a),l===M&&(l=this._$AH[a]),i||=!W(l)||l!==this._$AH[a],l===D?t=D:t!==D&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!r&&this.O(t)}O(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===D?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},et=class extends Q{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??D)===M)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==D&&(e===D||r);r&&this.element.removeEventListener(this.name,this,e),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const nt={j:C,P:E,A:R,C:1,M:V,L:J,R:$,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},it=S.litHtmlPolyfillSupport;it?.(q,X),(S.litHtmlVersions??=[]).push("3.1.0");
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2019 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
36
  */
37
- const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),lt=new WeakMap;let ft=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==ct)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(st&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=lt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&lt.set(o,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,ct),ht=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new ft(e,t,ct)},ut=(t,o)=>{if(st)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=at.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},dt=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return pt(o)})(t):t
37
+ const at=globalThis,lt=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ct=Symbol(),st=new WeakMap;let ft=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==ct)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(lt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=st.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&st.set(o,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,ct),ht=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new ft(e,t,ct)},ut=(t,o)=>{if(lt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=at.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}},dt=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return pt(o)})(t):t
38
38
  /**
39
39
  * @license
40
40
  * Copyright 2017 Google LLC
41
41
  * SPDX-License-Identifier: BSD-3-Clause
42
- */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:Ot,getPrototypeOf:vt}=Object,St=globalThis,wt=St.trustedTypes,xt=wt?wt.emptyScript:"",Nt=St.reactiveElementPolyfillSupport,Ct=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?xt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Rt=(t,o)=>!yt(t,o),Lt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),St.litPropertyMetadata??=new WeakMap;let It=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Lt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=bt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Lt}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=vt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){const t=this.properties,o=[...mt(t),...Ot(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(dt(t))}else void 0!==t&&o.push(dt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ut(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Rt)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Ct("elementProperties")]=new Map,It[Ct("finalized")]=new Map,Nt?.({ReactiveElement:It}),(St.reactiveElementVersions??=[]).push("2.0.2");
42
+ */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:Ot}=Object,xt=globalThis,St=xt.trustedTypes,wt=St?St.emptyScript:"",Nt=xt.reactiveElementPolyfillSupport,Ct=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Rt=(t,o)=>!yt(t,o),It={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),xt.litPropertyMetadata??=new WeakMap;let Lt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=It){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=bt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const i=r?.call(this);n.call(this,o),this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??It}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=Ot(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){const t=this.properties,o=[...mt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(dt(t))}else void 0!==t&&o.push(dt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ut(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:Et).toAttribute(o,e.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,n){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Rt)(r?n:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Lt.elementStyles=[],Lt.shadowRootOptions={mode:"open"},Lt[Ct("elementProperties")]=new Map,Lt[Ct("finalized")]=new Map,Nt?.({ReactiveElement:Lt}),(xt.reactiveElementVersions??=[]).push("2.0.2");
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const Ut=globalThis,Wt=Ut.trustedTypes,kt=Wt?Wt.createPolicy("lit-html",{createHTML:t=>t}):void 0,$t="$lit$",At=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+At,_t=`<${Ft}>`,Kt=document,jt=()=>Kt.createComment(""),Pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Bt=Array.isArray,zt=t=>Bt(t)||"function"==typeof t?.[Symbol.iterator],Mt="[ \t\n\f\r]",Dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Mt}(?:([^\\s"'>=/]+)(${Mt}*=${Mt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=Kt.createTreeWalker(Kt,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==kt?kt.createHTML(o):o}const no=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=Dt;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===Dt?"!--"===c[1]?a=Zt:void 0!==c[1]?a=Ht:void 0!==c[2]?(qt.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Tt):void 0!==c[3]&&(a=Tt):a===Tt?">"===c[0]?(a=n??Dt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Tt:'"'===c[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Zt||a===Ht?a=Dt:(a=Tt,n=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";i+=a===Dt?e+_t:l>=0?(r.push(s),e.slice(0,l)+$t+e.slice(l)+At+p):e+At+(-2===l?o:p)}return[ro(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,s=this.parts,[c,l]=no(t,o);if(this.el=io.createElement(c,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith($t)){const o=l[i++],e=r.getAttribute(t).split(At),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?ho:lo}),r.removeAttribute(t)}else t.startsWith(At)&&(s.push({type:6,index:n}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(At),o=t.length-1;if(o>0){r.textContent=Wt?Wt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],jt()),eo.nextNode(),s.push({type:2,index:++n});r.append(t[o],jt())}}}else if(8===r.nodeType)if(r.data===Ft)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(At,t+1));)s.push({type:7,index:n}),t+=At.length-1}n++}}static createElement(t,o){const e=Kt.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Pt(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=ao(t,n._$AS(t,o.values),n,r)),o}let so=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Kt).importNode(o,!0);eo.currentNode=r;let n=eo.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new co(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new uo(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=eo.nextNode(),i++)}return eo.currentNode=Kt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},co=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ao(this,t,o),Pt(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):zt(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!==to&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Kt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=io.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new so(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new io(t)),o}T(o){Bt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(jt()),this.k(jt()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},lo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=to,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=to}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=ao(this,t,o,0),i=!Pt(t)||t!==this._$AH&&t!==Qt,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=ao(this,r[e+a],o,a),s===Qt&&(s=this._$AH[a]),i||=!Pt(s)||s!==this._$AH[a],s===to?t=to:t!==to&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends lo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends lo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},ho=class extends lo{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==to&&(e===to||r);r&&this.element.removeEventListener(this.name,this,e),n&&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)}},uo=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};const yo={j:$t,P:At,A:Ft,C:1,M:no,L:so,R:zt,V:ao,D:co,I:lo,H:po,N:ho,U:fo,B:uo},go=Ut.litHtmlPolyfillSupport;go?.(io,co),(Ut.litHtmlVersions??=[]).push("3.1.0");const bo=(t,o,e)=>{const r=e?.renderBefore??o;let n=r._$litPart$;if(void 0===n){const t=e?.renderBefore??null;r._$litPart$=n=new co(o.insertBefore(jt(),t),t,void 0,e??{})}return n._$AI(t),n
48
+ const Ut=globalThis,Wt=Ut.trustedTypes,kt=Wt?Wt.createPolicy("lit-html",{createHTML:t=>t}):void 0,$t="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+zt,At=`<${Ft}>`,Bt=document,_t=()=>Bt.createComment(""),Kt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Pt=Array.isArray,Zt=t=>Pt(t)||"function"==typeof t?.[Symbol.iterator],jt="[ \t\n\f\r]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=Bt.createTreeWalker(Bt,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==kt?kt.createHTML(o):o}const no=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=Mt;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===Mt?"!--"===c[1]?a=Dt:void 0!==c[1]?a=Ht:void 0!==c[2]?(qt.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Tt):void 0!==c[3]&&(a=Tt):a===Tt?">"===c[0]?(a=n??Mt,s=-1):void 0===c[1]?s=-2:(s=a.lastIndex-c[2].length,l=c[1],a=void 0===c[3]?Tt:'"'===c[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=Mt:(a=Tt,n=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";i+=a===Mt?e+At:s>=0?(r.push(l),e.slice(0,s)+$t+e.slice(s)+zt+p):e+zt+(-2===s?o:p)}return[ro(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class io{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,l=this.parts,[c,s]=no(t,o);if(this.el=io.createElement(c,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith($t)){const o=s[i++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?ho:so}),r.removeAttribute(t)}else t.startsWith(zt)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Wt?Wt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],_t()),eo.nextNode(),l.push({type:2,index:++n});r.append(t[o],_t())}}}else if(8===r.nodeType)if(r.data===Ft)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)l.push({type:7,index:n}),t+=zt.length-1}n++}}static createElement(t,o){const e=Bt.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Kt(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=n:e._$Cl=n),void 0!==n&&(o=ao(t,n._$AS(t,o.values),n,r)),o}let lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Bt).importNode(o,!0);eo.currentNode=r;let n=eo.nextNode(),i=0,a=0,l=e[0];for(;void 0!==l;){if(i===l.index){let o;2===l.type?o=new co(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new uo(n,this,t)),this._$AV.push(o),l=e[++a]}i!==l?.index&&(n=eo.nextNode(),i++)}return eo.currentNode=Bt,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},co=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ao(this,t,o),Kt(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Zt(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!==to&&Kt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Bt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=io.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new lo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new io(t)),o}T(o){Pt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of o)n===e.length?e.push(r=new t(this.k(_t()),this.k(_t()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},so=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=to,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=n,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=to}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=ao(this,t,o,0),i=!Kt(t)||t!==this._$AH&&t!==Qt,i&&(this._$AH=t);else{const r=t;let a,l;for(t=n[0],a=0;a<n.length-1;a++)l=ao(this,r[e+a],o,a),l===Qt&&(l=this._$AH[a]),i||=!Kt(l)||l!==this._$AH[a],l===to?t=to:t!==to&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends so{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends so{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},ho=class extends so{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==to&&(e===to||r);r&&this.element.removeEventListener(this.name,this,e),n&&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)}},uo=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};const yo={j:$t,P:zt,A:Ft,C:1,M:no,L:lo,R:Zt,V:ao,D:co,I:so,H:po,N:ho,U:fo,B:uo},go=Ut.litHtmlPolyfillSupport;go?.(io,co),(Ut.litHtmlVersions??=[]).push("3.1.0");const bo=(t,o,e)=>{const r=e?.renderBefore??o;let n=r._$litPart$;if(void 0===n){const t=e?.renderBefore??null;r._$litPart$=n=new co(o.insertBefore(_t(),t),t,void 0,e??{})}return n._$AI(t),n
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
- */};let mo=class extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const Oo=globalThis.litElementPolyfillSupport;Oo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var vo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:It,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:yo,adoptStyles:ut,css:ht,defaultConverter:Et,getCompatibleStyle:dt,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:to,render:bo,supportsAdoptingStyleSheets:st,svg:Xt,unsafeCSS:pt});
53
+ */};let mo=class extends Lt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var Oo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:Lt,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:yo,adoptStyles:ut,css:ht,defaultConverter:Et,getCompatibleStyle:dt,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:to,render:bo,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:pt});
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
57
57
  * SPDX-License-Identifier: BSD-3-Clause
58
- */const So={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:O},wo=(t=So,o,e)=>{const{kind:r,metadata:n}=e;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const n=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,n,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const n=this[r];o.call(this,e),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};
58
+ */const xo={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},So=(t=xo,o,e)=>{const{kind:r,metadata:n}=e;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const n=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,n,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const n=this[r];o.call(this,e),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
- */function xo(t){return(o,e)=>"object"==typeof e?wo(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
63
+ */function wo(t){return(o,e)=>"object"==typeof e?So(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
64
64
  /**
65
65
  * @license
66
66
  * Copyright 2017 Google LLC
67
67
  * SPDX-License-Identifier: BSD-3-Clause
68
- */}function No(t){return xo({...t,state:!0,attribute:!1})}
68
+ */}function No(t){return wo({...t,state:!0,attribute:!1})}
69
69
  /**
70
70
  * @license
71
71
  * Copyright 2017 Google LLC
@@ -85,13 +85,13 @@ const Ut=globalThis,Wt=Ut.trustedTypes,kt=Wt?Wt.createPolicy("lit-html",{createH
85
85
  * @license
86
86
  * Copyright 2017 Google LLC
87
87
  * SPDX-License-Identifier: BSD-3-Clause
88
- */let Lo;
88
+ */let Io;
89
89
  /**
90
90
  * @license
91
91
  * Copyright 2017 Google LLC
92
92
  * SPDX-License-Identifier: BSD-3-Clause
93
93
  */
94
- function Io(t){return(o,e)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(n);return o?.assignedNodes(t)??[]}})}}var Uo=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:Co,property:xo,query:Ro,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??(Lo??=document.createDocumentFragment())).querySelectorAll(t)}})
94
+ function Lo(t){return(o,e)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(n);return o?.assignedNodes(t)??[]}})}}var Uo=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:Co,property:wo,query:Ro,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??(Io??=document.createDocumentFragment())).querySelectorAll(t)}})
95
95
  /**
96
96
  * @license
97
97
  * Copyright 2017 Google LLC
@@ -102,46 +102,46 @@ function Io(t){return(o,e)=>{const{slot:r}=t??{},n="slot"+(r?`[name=${r}]`:":not
102
102
  * Copyright 2021 Google LLC
103
103
  * SPDX-License-Identifier: BSD-3-Clause
104
104
  */
105
- function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i),e=o?.assignedElements(t)??[];return void 0===n?e:e.filter((t=>t.matches(n)))}})}},queryAssignedNodes:Io,queryAsync:function(t){return(o,e)=>Eo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:wo,state:No});
105
+ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i),e=o?.assignedElements(t)??[];return void 0===n?e:e.filter((t=>t.matches(n)))}})}},queryAssignedNodes:Lo,queryAsync:function(t){return(o,e)=>Eo(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:So,state:No});
106
106
  /**
107
107
  * @license
108
108
  * Copyright 2017 Google LLC
109
109
  * SPDX-License-Identifier: BSD-3-Clause
110
- */const Wo=1,ko=2,$o=t=>(...o)=>({_$litDirective$:t,values:o});let Ao=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
110
+ */const Wo=1,ko=2,$o=t=>(...o)=>({_$litDirective$:t,values:o});let zo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
111
111
  /**
112
112
  * @license
113
113
  * Copyright 2020 Google LLC
114
114
  * SPDX-License-Identifier: BSD-3-Clause
115
- */const{D:Fo}=nt,_o=()=>document.createComment(""),Ko=(t,o,e)=>{const r=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(_o(),n),i=r.insertBefore(_o(),n);e=new Fo(o,i,t,t.options)}else{const o=e._$AB.nextSibling,i=e._$AM,a=i!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==i._$AU&&e._$AP(o)}if(o!==n||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,n),t=o}}}return e},jo=(t,o,e=t)=>(t._$AI(o,e),t),Po={},Bo=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},zo=(t,o,e)=>{const r=new Map;for(let n=o;n<=e;n++)r.set(t[n],n);return r},Mo=$o(class extends Ao{constructor(t){if(super(t),t.type!==ko)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const n=[],i=[];let a=0;for(const o of t)n[a]=r?r(o,a):a,i[a]=e(o,a),a++;return{values:i,keys:n}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(o,e,r);if(!Array.isArray(n))return this.dt=a,i;const s=this.dt??=[],c=[];let l,f,p=0,h=n.length-1,u=0,d=i.length-1;for(;p<=h&&u<=d;)if(null===n[p])p++;else if(null===n[h])h--;else if(s[p]===a[u])c[u]=jo(n[p],i[u]),p++,u++;else if(s[h]===a[d])c[d]=jo(n[h],i[d]),h--,d--;else if(s[p]===a[d])c[d]=jo(n[p],i[d]),Ko(t,c[d+1],n[p]),p++,d--;else if(s[h]===a[u])c[u]=jo(n[h],i[u]),Ko(t,n[p],n[h]),h--,u++;else if(void 0===l&&(l=zo(a,u,d),f=zo(s,p,h)),l.has(s[p]))if(l.has(s[h])){const o=f.get(a[u]),e=void 0!==o?n[o]:null;if(null===e){const o=Ko(t,n[p]);jo(o,i[u]),c[u]=o}else c[u]=jo(e,i[u]),Ko(t,n[p],e),n[o]=null;u++}else Bo(n[h]),h--;else Bo(n[p]),p++;for(;u<=d;){const o=Ko(t,c[d+1]);jo(o,i[u]),c[u++]=o}for(;p<=h;){const t=n[p++];null!==t&&Bo(t)}return this.dt=a,((t,o=Po)=>{t._$AH=o})(t,c),D}});
115
+ */const{D:Fo}=nt,Ao=()=>document.createComment(""),Bo=(t,o,e)=>{const r=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Ao(),n),i=r.insertBefore(Ao(),n);e=new Fo(o,i,t,t.options)}else{const o=e._$AB.nextSibling,i=e._$AM,a=i!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==i._$AU&&e._$AP(o)}if(o!==n||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,n),t=o}}}return e},_o=(t,o,e=t)=>(t._$AI(o,e),t),Ko={},Po=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Zo=(t,o,e)=>{const r=new Map;for(let n=o;n<=e;n++)r.set(t[n],n);return r},jo=$o(class extends zo{constructor(t){if(super(t),t.type!==ko)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const n=[],i=[];let a=0;for(const o of t)n[a]=r?r(o,a):a,i[a]=e(o,a),a++;return{values:i,keys:n}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(o,e,r);if(!Array.isArray(n))return this.dt=a,i;const l=this.dt??=[],c=[];let s,f,p=0,h=n.length-1,u=0,d=i.length-1;for(;p<=h&&u<=d;)if(null===n[p])p++;else if(null===n[h])h--;else if(l[p]===a[u])c[u]=_o(n[p],i[u]),p++,u++;else if(l[h]===a[d])c[d]=_o(n[h],i[d]),h--,d--;else if(l[p]===a[d])c[d]=_o(n[p],i[d]),Bo(t,c[d+1],n[p]),p++,d--;else if(l[h]===a[u])c[u]=_o(n[h],i[u]),Bo(t,n[p],n[h]),h--,u++;else if(void 0===s&&(s=Zo(a,u,d),f=Zo(l,p,h)),s.has(l[p]))if(s.has(l[h])){const o=f.get(a[u]),e=void 0!==o?n[o]:null;if(null===e){const o=Bo(t,n[p]);_o(o,i[u]),c[u]=o}else c[u]=_o(e,i[u]),Bo(t,n[p],e),n[o]=null;u++}else Po(n[h]),h--;else Po(n[p]),p++;for(;u<=d;){const o=Bo(t,c[d+1]);_o(o,i[u]),c[u++]=o}for(;p<=h;){const t=n[p++];null!==t&&Po(t)}return this.dt=a,((t,o=Ko)=>{t._$AH=o})(t,c),M}});
116
116
  /**
117
117
  * @license
118
118
  * Copyright 2017 Google LLC
119
119
  * SPDX-License-Identifier: BSD-3-Clause
120
- */var Do=Object.freeze({__proto__:null,repeat:Mo});
120
+ */var Mo=Object.freeze({__proto__:null,repeat:jo});
121
121
  /**
122
122
  * @license
123
123
  * Copyright 2018 Google LLC
124
124
  * SPDX-License-Identifier: BSD-3-Clause
125
- */const Zo=$o(class extends Ao{constructor(t){if(super(t),t.type!==Wo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return D}});var Ho=Object.freeze({__proto__:null,classMap:Zo});
125
+ */const Do=$o(class extends zo{constructor(t){if(super(t),t.type!==Wo||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return M}});var Ho=Object.freeze({__proto__:null,classMap:Do});
126
126
  /**
127
127
  * @license
128
128
  * Copyright 2018 Google LLC
129
129
  * SPDX-License-Identifier: BSD-3-Clause
130
- */const To="important",Go=" !"+To,Vo=$o(class extends Ao{constructor(t){if(super(t),t.type!==Wo||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Go);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?To:""):e[t]=r}}return D}});var qo=Object.freeze({__proto__:null,styleMap:Vo});
130
+ */const To="important",Go=" !"+To,Vo=$o(class extends zo{constructor(t){if(super(t),t.type!==Wo||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Go);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?To:""):e[t]=r}}return M}});var qo=Object.freeze({__proto__:null,styleMap:Vo});
131
131
  /**
132
132
  * @license
133
133
  * Copyright 2017 Google LLC
134
134
  * SPDX-License-Identifier: BSD-3-Clause
135
- */let Yo=class extends Ao{constructor(t){if(super(t),this.et=Z,t.type!==ko)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.vt=void 0,this.et=t;if(t===D)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Yo.directiveName="unsafeHTML",Yo.resultType=1;const Jo=$o(Yo);var Xo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Yo,unsafeHTML:Jo});class Qo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class te extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Qo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Qo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oe=t=>new te(((o,e)=>t.then(o).catch(e)));var ee=Object.freeze({__proto__:null,CancelablePromise:te,CanceledPromiseError:Qo,cancelable:oe});var re=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,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 te&&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,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=oe(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}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 ne{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>ne.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=ne.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>ne.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let n=this.metadataDescriptors.find((t=>e==t.key)),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>ne.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,n=ne.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,i);if(o>a&&(a=o,r=t,o===i.length))break}return r}countMatchingMetadata(t,o){return ne.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ie=Object.freeze({__proto__:null,ClusteringHelper:ne});class ae{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var se=Object.freeze({__proto__:null,Debouncer:ae});const ce=t=>new Promise((o=>setTimeout(o,t)));async function le(t,o=10,e=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!e||n-r<e);)await ce(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function fe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function pe(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,n;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!pe(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!pe(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,n[r]))return!1;for(r=e;0!=r--;){var i=n[r];if(!pe(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var he=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?fe(e):e}},deepEqual:pe,delay:ce,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:fe,waitFor:le,waitUntil:async function(t,o=10,e=2e4){await le((async()=>await t()||void 0),o,e)}});const ue=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function de(t,o){const e=()=>JSON.parse(JSON.stringify(t));return xo({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!pe(t,o),...null!=o?o:{}})}function ye(t){return!isNaN(parseFloat(t))}var ge=Object.freeze({__proto__:null,customElement:ue,isNumber:ye,jsonProperty:de,optionalNumberProperty:function(t){return xo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ye(t)?+t:void 0},toAttribute:t=>""+t},...null!=t?t:{}})}});const be=t=>"string"==typeof t?pt(t):t;class me{static create(t,o,e,r){const n=t=>be(null!=t?t:r),i=ht`var(${be(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ht`var(${be(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const n=t=>e.get(null!=t?t:r),i=ht`var(${be(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ht`var(${be(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):be(null!=o?o:t.lastResortDefaultValue()),r=ht`var(${be(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>ht`var(${be(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Oe={colorWhite:me.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:me.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:me.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:me.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:me.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:me.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:me.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:me.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:me.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:me.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:me.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:me.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:me.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:me.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:me.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:me.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:me.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:me.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:me.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:me.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:me.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:me.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:me.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:me.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:me.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:me.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:me.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:me.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:me.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:me.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:me.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:me.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:me.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:me.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:me.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:me.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:me.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:me.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:me.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:me.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:me.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:me.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:me.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:me.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:me.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:me.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:me.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:me.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:me.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:me.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:me.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:me.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:me.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:me.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:me.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:me.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:me.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:me.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:me.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:me.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:me.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:me.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:me.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:me.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:me.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:me.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:me.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:me.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:me.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:me.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:me.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:me.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:me.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:me.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:me.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:me.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:me.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:me.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:me.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:me.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:me.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:me.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:me.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:me.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:me.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:me.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:me.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:me.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:me.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:me.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:me.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:me.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:me.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:me.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:me.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:me.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:me.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:me.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:me.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:me.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:me.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:me.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:me.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:me.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:me.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:me.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:me.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:me.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:me.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:me.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:me.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:me.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:me.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:me.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:me.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:me.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:me.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:me.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:me.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:me.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:me.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:me.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:me.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:me.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:me.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:me.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:me.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:me.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:me.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:me.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:me.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:me.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:me.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:me.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:me.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:me.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:me.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:me.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:me.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:me.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:me.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:me.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:me.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:me.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:me.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:me.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:me.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:me.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:me.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:me.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:me.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:me.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:me.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:me.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:me.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:me.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:me.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:me.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:me.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:me.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:me.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:me.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:me.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:me.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:me.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:me.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:me.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:me.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:me.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:me.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:me.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:me.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:me.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:me.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:me.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:me.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:me.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:me.create("--ft-icon-size-6","","SIZE","48px"),opacity0:me.create("--ft-opacity-0","","NUMBER","0"),opacity8:me.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:me.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:me.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:me.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:me.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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)")},ve={fontFamily:me.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:me.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-display-textCase","","UNKNOWN","none")},Se={fontFamily:me.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:me.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},we={fontFamily:me.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:me.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},xe={fontFamily:me.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:me.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:me.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ne={fontFamily:me.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ce={fontFamily:me.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ee={fontFamily:me.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:me.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Le={fontFamily:me.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ie={fontFamily:me.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ue={fontFamily:me.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},We={fontFamily:me.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ke={fontFamily:me.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},$e={fontFamily:me.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ae={fontFamily:me.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:me.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},_e={fontFamily:me.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:me.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},je={fontFamily:me.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:me.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Be={fontFamily:me.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ze={fontFamily:me.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Me={fontFamily:me.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},De={fontFamily:me.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:me.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},He={display:ve,"title-1":Se,"title-2":we,"title-3":xe,"body-1-regular":Ne,"body-1-medium":Ce,"body-1-semibold":Ee,"body-2-regular":Re,"body-2-medium":Le,"body-2-semibold":Ie,"label-1-medium":Ue,"label-1-semibold":We,"label-1-bold":ke,"label-2-medium":$e,"label-2-semibold":Ae,"label-2-bold":Fe,"caption-1-medium":_e,"caption-1-semibold":Ke,"caption-1-bold":je,"caption-2-medium":Pe,"caption-2-semibold":Be,"caption-2-bold":ze,"caption-3-medium":Me,"caption-3-semibold":De,"caption-3-bold":Ze},Te={backgroundActionPrimary:me.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oe.colorBrand0),backgroundErrorPrimary:me.extend("--ft-background-error-primary","Used as background of error components.",Oe.colorRed0),backgroundErrorSubtle:me.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oe.colorRed10),backgroundInfoPrimary:me.extend("--ft-background-info-primary","Used as background of information components.",Oe.colorCyan200),backgroundInfoSubtle:me.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oe.colorCyan10),backgroundWarningPrimary:me.extend("--ft-background-warning-primary","Used as background of warning components.",Oe.colorOrange300),backgroundWarningSubtle:me.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oe.colorOrange10),backgroundSuccessPrimary:me.extend("--ft-background-success-primary","Used as background of success components.",Oe.colorGreen200),backgroundSuccessSubtle:me.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oe.colorGreen10),backgroundGlobalSurface:me.extend("--ft-background-global-surface","Used as app background.",Oe.colorWhite),backgroundGlobalOnSurface:me.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oe.colorGray10),backgroundGlobalOnSurfaceDark:me.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oe.colorGray30),contentActionPrimary:me.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oe.colorBrand0),contentWarningPrimary:me.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oe.colorOrange300),contentWarningIconOnly:me.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oe.colorOrange0),contentErrorPrimary:me.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oe.colorRed0),contentErrorIconOnly:me.extend("--ft-content-error-icon-only","Used on error status icons alone",Oe.colorRed0),contentInfoPrimary:me.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oe.colorCyan200),contentInfoIconOnly:me.extend("--ft-content-info-icon-only","Used on info status icons alone",Oe.colorCyan0),contentSuccessPrimary:me.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oe.colorGreen200),contentSuccessIconOnly:me.extend("--ft-content-success-icon-only","Used on success status icons alone",Oe.colorGreen0),contentGlobalPrimary:me.extend("--ft-content-global-primary","Used for main content on the page.",Oe.colorGray500),contentGlobalSecondary:me.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oe.colorGray200),contentGlobalSubtle:me.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oe.colorGray0),contentGlobalOnColor:me.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oe.colorWhite),borderActionPrimary:me.extend("--ft-border-action-primary","Used as border for primary action components.",Oe.colorBrand0),borderActionFocusRing:me.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oe.colorCyan0),borderWarningPrimary:me.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Oe.colorOrange300),borderWarningSubtle:me.extend("--ft-border-warning-subtle","Used as border for warning components.",Oe.colorOrange30),borderSuccessPrimary:me.extend("--ft-border-success-primary","Used as border for success buttons.",Oe.colorGreen200),borderSuccessSubtle:me.extend("--ft-border-success-subtle","Used as border for success components.",Oe.colorGreen30),borderErrorPrimary:me.extend("--ft-border-error-primary","Used as border for text fields in error states.",Oe.colorRed0),borderErrorSubtle:me.extend("--ft-border-error-subtle","Used as border for error components.",Oe.colorRed30),borderInfoPrimary:me.extend("--ft-border-info-primary","Used as border for buttons in info color.",Oe.colorCyan200),borderInfoSubtle:me.extend("--ft-border-info-subtle","Used as border for information components.",Oe.colorCyan30),borderGlobalPrimary:me.extend("--ft-border-global-primary","Used as border for element like input.",Oe.colorGray50),borderGlobalSubtle:me.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oe.colorGray30),borderInputPrimary:me.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oe.colorGray80)},Ge={largeHeight:me.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:me.extend("--ft-button-large-horizontal-padding","",Oe.spacing4),largeGap:me.extend("--ft-button-large-gap","",Oe.spacing2),largeBorderRadius:me.extend("--ft-button-large-border-radius","",Oe.borderRadiusS),largeIconSize:me.extend("--ft-button-large-icon-size","",Oe.iconSize3),largeBorderWidth:me.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:me.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:me.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:me.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:me.extend("--ft-button-small-horizontal-padding","",Oe.spacing3),smallGap:me.extend("--ft-button-small-gap","",Oe.spacing2),smallBorderRadius:me.extend("--ft-button-small-border-radius","",Oe.borderRadiusS),smallIconSize:me.extend("--ft-button-small-icon-size","",Oe.iconSize2),smallBorderWidth:me.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:me.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:me.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:me.extend("--ft-button-primary-background-color","",Te.backgroundActionPrimary),primaryColor:me.extend("--ft-button-primary-color","",Te.contentGlobalOnColor),primaryIconColor:me.extend("--ft-button-primary-icon-color","",Te.contentGlobalOnColor),primaryStateLayerColor:me.extend("--ft-button-primary-state-layer-color","",Te.contentGlobalOnColor),primaryStateLayerOpacityHover:me.extend("--ft-button-primary-state-layer-opacity-hover","",Oe.opacity16),primaryStateLayerOpacityFocus:me.extend("--ft-button-primary-state-layer-opacity-focus","",Oe.opacity16),primaryStateLayerOpacityActive:me.extend("--ft-button-primary-state-layer-opacity-active","",Oe.opacity24),primaryComponentOpacityDisabled:me.extend("--ft-button-primary-component-opacity-disabled","",Oe.opacity40),focusFocusRingColor:me.extend("--ft-button-focus-focus-ring-color","",Te.borderActionFocusRing),tertiaryBackgroundColor:me.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:me.extend("--ft-button-tertiary-color","",Te.contentActionPrimary),tertiaryIconColor:me.extend("--ft-button-tertiary-icon-color","",Te.contentActionPrimary),tertiaryStateLayerColor:me.extend("--ft-button-tertiary-state-layer-color","",Te.contentActionPrimary),tertiaryStateLayerOpacityHover:me.extend("--ft-button-tertiary-state-layer-opacity-hover","",Oe.opacity8),tertiaryStateLayerOpacityFocus:me.extend("--ft-button-tertiary-state-layer-opacity-focus","",Oe.opacity8),tertiaryStateLayerOpacityActive:me.extend("--ft-button-tertiary-state-layer-opacity-active","",Oe.opacity16),tertiaryComponentOpacityDisabled:me.extend("--ft-button-tertiary-component-opacity-disabled","",Oe.opacity40),secondaryBackgroundColor:me.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:me.extend("--ft-button-secondary-color","",Te.contentActionPrimary),secondaryIconColor:me.extend("--ft-button-secondary-icon-color","",Te.contentActionPrimary),secondaryStateLayerColor:me.extend("--ft-button-secondary-state-layer-color","",Te.contentActionPrimary),secondaryStateLayerOpacityHover:me.extend("--ft-button-secondary-state-layer-opacity-hover","",Oe.opacity8),secondaryStateLayerOpacityFocus:me.extend("--ft-button-secondary-state-layer-opacity-focus","",Oe.opacity8),secondaryStateLayerOpacityActive:me.extend("--ft-button-secondary-state-layer-opacity-active","",Oe.opacity16),secondaryComponentOpacityDisabled:me.extend("--ft-button-secondary-component-opacity-disabled","",Oe.opacity40),secondaryBorderColor:me.extend("--ft-button-secondary-border-color","",Te.borderActionPrimary),neutralBackgroundColor:me.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:me.extend("--ft-button-neutral-icon-color","",Te.contentGlobalSecondary),neutralColor:me.extend("--ft-button-neutral-color","",Te.contentGlobalSecondary),neutralStateLayerColor:me.extend("--ft-button-neutral-state-layer-color","",Te.contentGlobalSecondary),neutralStateLayerOpacityHover:me.extend("--ft-button-neutral-state-layer-opacity-hover","",Oe.opacity8),neutralStateLayerOpacityFocus:me.extend("--ft-button-neutral-state-layer-opacity-focus","",Oe.opacity8),neutralStateLayerOpacityActive:me.extend("--ft-button-neutral-state-layer-opacity-active","",Oe.opacity16),neutralComponentOpacityDisabled:me.extend("--ft-button-neutral-component-opacity-disabled","",Oe.opacity40)},Ve={horizontalPadding:me.extend("--ft-floating-menu-horizontal-padding","",Oe.spacing4),verticalPadding:me.extend("--ft-floating-menu-vertical-padding","",Oe.spacing4),offIconColor:me.extend("--ft-floating-menu-off-icon-color","",Te.contentGlobalPrimary),offColor:me.extend("--ft-floating-menu-off-color","",Te.contentGlobalPrimary),onColor:me.extend("--ft-floating-menu-on-color","",Te.contentActionPrimary),onIconColor:me.extend("--ft-floating-menu-on-icon-color","",Te.contentActionPrimary),onStateLayerColor:me.extend("--ft-floating-menu-on-state-layer-color","",Te.contentActionPrimary),gap:me.extend("--ft-floating-menu-gap","",Oe.spacing3),focusFocusRingColor:me.extend("--ft-floating-menu-focus-focus-ring-color","",Te.borderActionFocusRing),focusOutlineWidth:me.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),stateLayerOpacityHover:me.extend("--ft-floating-menu-state-layer-opacity-hover","",Oe.opacity8),stateLayerOpacityActive:me.extend("--ft-floating-menu-state-layer-opacity-active","",Oe.opacity16),stateLayerOpacityFocus:me.extend("--ft-floating-menu-state-layer-opacity-focus","",Oe.opacity8),componentOpacityDisabled:me.extend("--ft-floating-menu-component-opacity-disabled","",Oe.opacity40),iconSize:me.extend("--ft-floating-menu-icon-size","",Oe.iconSize3),backgroundColor:me.extend("--ft-floating-menu-background-color","",Te.backgroundGlobalOnSurface)},qe={topLeftBorderRadius:me.extend("--ft-tabs-top-left-border-radius","",Oe.borderRadiusS),topRightBorderRadius:me.extend("--ft-tabs-top-right-border-radius","",Oe.borderRadiusS),labelHorizontalPadding:me.extend("--ft-tabs-label-horizontal-padding","",Oe.spacing4),labelVerticalPadding:me.extend("--ft-tabs-label-vertical-padding","",Oe.spacing3),labelGap:me.extend("--ft-tabs-label-gap","",Oe.spacing1),iconHorizontalPadding:me.extend("--ft-tabs-icon-horizontal-padding","",Oe.spacing1),iconVerticalPadding:me.extend("--ft-tabs-icon-vertical-padding","",Oe.spacing4),focusOutlineWidth:me.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-tabs-focus-focus-ring-color","",Te.borderActionFocusRing),offStateLayerOpacityHover:me.extend("--ft-tabs-off-state-layer-opacity-hover","",Oe.opacity8),offStateLayerOpacityFocus:me.extend("--ft-tabs-off-state-layer-opacity-focus","",Oe.opacity8),offStateLayerOpacityActive:me.extend("--ft-tabs-off-state-layer-opacity-active","",Oe.opacity16),offComponentOpacityDisabled:me.extend("--ft-tabs-off-component-opacity-disabled","",Oe.opacity40),offColor:me.extend("--ft-tabs-off-color","",Te.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-tabs-off-state-layer-color","",Te.contentGlobalSubtle),onStateLayerOpacityHover:me.extend("--ft-tabs-on-state-layer-opacity-hover","",Oe.opacity8),onStateLayerOpacityFocus:me.extend("--ft-tabs-on-state-layer-opacity-focus","",Oe.opacity8),onStateLayerOpacityActive:me.extend("--ft-tabs-on-state-layer-opacity-active","",Oe.opacity16),onComponentOpacityDisabled:me.extend("--ft-tabs-on-component-opacity-disabled","",Oe.opacity40),onColor:me.extend("--ft-tabs-on-color","",Te.contentActionPrimary),onStateLayerColor:me.extend("--ft-tabs-on-state-layer-color","",Te.contentActionPrimary)},Ye={stateLayerOpacityHover:me.extend("--ft-collapsible-state-layer-opacity-hover","",Oe.opacity8),stateLayerOpacityFocus:me.extend("--ft-collapsible-state-layer-opacity-focus","",Oe.opacity8),stateLayerOpacityActive:me.extend("--ft-collapsible-state-layer-opacity-active","",Oe.opacity16),componentOpacityDisabled:me.extend("--ft-collapsible-component-opacity-disabled","",Oe.opacity40),horizontalPadding:me.extend("--ft-collapsible-horizontal-padding","",Oe.spacing4),verticalPadding:me.extend("--ft-collapsible-vertical-padding","",Oe.spacing3),focusOutlineWidth:me.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:me.extend("--ft-collapsible-focus-focus-ring-color","",Te.borderActionFocusRing),color:me.extend("--ft-collapsible-color","",Te.contentGlobalPrimary),stateLayerColor:me.extend("--ft-collapsible-state-layer-color","",Te.contentGlobalPrimary),backgroundColor:me.extend("--ft-collapsible-background-color","",Te.backgroundGlobalOnSurface),borderColor:me.extend("--ft-collapsible-border-color","",Te.borderGlobalSubtle),iconSize:me.extend("--ft-collapsible-icon-size","",Oe.iconSize3)},Je={groupHorizontalPadding:me.extend("--ft-switch-group-horizontal-padding","",Oe.spacing1),groupVerticalPadding:me.extend("--ft-switch-group-vertical-padding","",Oe.spacing1),groupGap:me.extend("--ft-switch-group-gap","",Oe.spacing1),groupBackgroundColor:me.extend("--ft-switch-group-background-color","",Te.backgroundGlobalSurface),groupBorderColor:me.extend("--ft-switch-group-border-color","",Te.borderGlobalSubtle),groupBorderRadius:me.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:me.extend("--ft-switch-label-horizontal-padding","",Oe.spacing2),labelVerticalPadding:me.extend("--ft-switch-label-vertical-padding","",Oe.spacing1),iconHorizontalPadding:me.extend("--ft-switch-icon-horizontal-padding","",Oe.spacing1),iconVerticalPadding:me.extend("--ft-switch-icon-vertical-padding","",Oe.spacing1),focusOutlineWidth:me.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-switch-focus-focus-ring-color","",Te.borderActionFocusRing),optionBorderRadius:me.extend("--ft-switch-option-border-radius","",Oe.borderRadiusS),offStateLayerOpacityHover:me.extend("--ft-switch-off-state-layer-opacity-hover","",Oe.opacity8),offStateLayerOpacityFocus:me.extend("--ft-switch-off-state-layer-opacity-focus","",Oe.opacity8),offStateLayerOpacityActive:me.extend("--ft-switch-off-state-layer-opacity-active","",Oe.opacity16),offComponentOpacityDisabled:me.extend("--ft-switch-off-component-opacity-disabled","",Oe.opacity40),offColor:me.extend("--ft-switch-off-color","",Te.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-switch-off-state-layer-color","",Te.contentGlobalSubtle),onStateLayerOpacityHover:me.extend("--ft-switch-on-state-layer-opacity-hover","",Oe.opacity8),onStateLayerOpacityFocus:me.extend("--ft-switch-on-state-layer-opacity-focus","",Oe.opacity8),onStateLayerOpacityActive:me.extend("--ft-switch-on-state-layer-opacity-active","",Oe.opacity16),onComponentOpacityDisabled:me.extend("--ft-switch-on-component-opacity-disabled","",Oe.opacity40),onColor:me.extend("--ft-switch-on-color","",Te.contentActionPrimary),onStateLayerColor:me.extend("--ft-switch-on-state-layer-color","",Te.contentActionPrimary)},Xe={color1Light:me.extend("--ft-chart-1-light","for area color charts",Oe.colorBrand40),color1Base:me.extend("--ft-chart-1-base","for line charts",Oe.colorBrand0),color2Light:me.extend("--ft-chart-2-light","for area color charts",Oe.colorYellow60),color2Base:me.extend("--ft-chart-2-base","for line charts",Oe.colorYellow100),color3Light:me.extend("--ft-chart-3-light","",Oe.colorUltramarine40),color3Base:me.extend("--ft-chart-3-base","",Oe.colorUltramarine70),color4Light:me.extend("--ft-chart-4-light","",Oe.colorCyan50),color4Base:me.extend("--ft-chart-4-base","",Oe.colorCyan100),color5Light:me.extend("--ft-chart-5-light","",Oe.colorRed40),color5Base:me.extend("--ft-chart-5-base","",Oe.colorRed60),color6Light:me.extend("--ft-chart-6-light","",Oe.colorGreen40),color6Base:me.extend("--ft-chart-6-base","",Oe.colorGreen70),color7Light:me.extend("--ft-chart-7-light","",Oe.colorOrange70),color7Base:me.extend("--ft-chart-7-base","",Oe.colorOrange100),color8Light:me.extend("--ft-chart-8-light","",Oe.colorAvocado70),color8Base:me.extend("--ft-chart-8-base","",Oe.colorAvocado200),color9Light:me.extend("--ft-chart-9-light","",Oe.colorBrown50),color9Base:me.extend("--ft-chart-9-base","",Oe.colorBrown200),color10Light:me.extend("--ft-chart-10-light","",Oe.colorGray50),color10Base:me.extend("--ft-chart-10-base","",Oe.colorGray80),monochrome10:me.extend("--ft-chart-monochrome-10","",Oe.colorBrand10),monochrome20:me.extend("--ft-chart-monochrome-20","",Oe.colorBrand20),monochrome30:me.extend("--ft-chart-monochrome-30","",Oe.colorBrand40),monochrome40:me.extend("--ft-chart-monochrome-40","",Oe.colorBrand60),monochrome50:me.extend("--ft-chart-monochrome-50","",Oe.colorBrand0),monochrome60:me.extend("--ft-chart-monochrome-60","",Oe.colorBrand200)},Qe={largeHorizontalPadding:me.extend("--ft-chip-large-horizontal-padding","",Oe.spacing4),largeVerticalPadding:me.extend("--ft-chip-large-vertical-padding","",Oe.spacing2),largeGap:me.extend("--ft-chip-large-gap","",Oe.spacing1),largeFocusOutlineOffset:me.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:me.extend("--ft-chip-large-border-radius","",Oe.borderRadiusPill),largeBorderWidth:me.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:me.extend("--ft-chip-large-icon-size","",Oe.iconSize3),mediumHorizontalPadding:me.extend("--ft-chip-medium-horizontal-padding","",Oe.spacing3),mediumVerticalPadding:me.extend("--ft-chip-medium-vertical-padding","",Oe.spacing1),mediumGap:me.extend("--ft-chip-medium-gap","",Oe.spacing1),mediumFocusOutlineOffset:me.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:me.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:me.extend("--ft-chip-medium-border-radius","",Oe.borderRadiusPill),mediumBorderWidth:me.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:me.extend("--ft-chip-medium-icon-size","",Oe.iconSize2),smallHorizontalPadding:me.extend("--ft-chip-small-horizontal-padding","",Oe.spacing2),smallVerticalPadding:me.extend("--ft-chip-small-vertical-padding","",Oe.spacing05),smallGap:me.extend("--ft-chip-small-gap","",Oe.spacing1),smallFocusOutlineOffset:me.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:me.extend("--ft-chip-small-border-radius","",Oe.borderRadiusPill),smallBorderWidth:me.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:me.extend("--ft-chip-small-icon-size","",Oe.iconSize1),neutralBackgroundColor:me.extend("--ft-chip-neutral-background-color","",Te.backgroundGlobalOnSurface),neutralColor:me.extend("--ft-chip-neutral-color","",Te.contentGlobalPrimary),neutralBorderColor:me.extend("--ft-chip-neutral-border-color","",Te.borderGlobalSubtle),infoBackgroundColor:me.extend("--ft-chip-info-background-color","",Te.backgroundInfoSubtle),infoColor:me.extend("--ft-chip-info-color","",Te.contentInfoPrimary),infoBorderColor:me.extend("--ft-chip-info-border-color","",Te.borderInfoSubtle),successBackgroundColor:me.extend("--ft-chip-success-background-color","",Te.backgroundSuccessSubtle),successColor:me.extend("--ft-chip-success-color","",Te.contentSuccessPrimary),successBorderColor:me.extend("--ft-chip-success-border-color","",Te.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-chip-warning-background-color","",Te.backgroundWarningSubtle),warningColor:me.extend("--ft-chip-warning-color","",Te.contentWarningPrimary),warningBorderColor:me.extend("--ft-chip-warning-border-color","",Te.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-chip-error-background-color","",Te.backgroundErrorSubtle),errorColor:me.extend("--ft-chip-error-color","",Te.contentErrorPrimary),errorBorderColor:me.extend("--ft-chip-error-border-color","",Te.borderErrorSubtle)},tr={borderWidth:me.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-notice-horizontal-padding","",Oe.spacing2),verticalPadding:me.extend("--ft-notice-vertical-padding","",Oe.spacing1),borderRadius:me.extend("--ft-notice-border-radius","",Oe.borderRadiusS),gap:me.extend("--ft-notice-gap","",Oe.spacing2),iconSize:me.extend("--ft-notice-icon-size","",Oe.iconSize3),infoBackgroundColor:me.extend("--ft-notice-info-background-color","",Te.backgroundInfoSubtle),infoBorderColor:me.extend("--ft-notice-info-border-color","",Te.borderInfoSubtle),infoColor:me.extend("--ft-notice-info-color","",Te.contentInfoPrimary),warningBackgroundColor:me.extend("--ft-notice-warning-background-color","",Te.backgroundWarningSubtle),warningBorderColor:me.extend("--ft-notice-warning-border-color","",Te.borderWarningSubtle),warningColor:me.extend("--ft-notice-warning-color","",Te.contentWarningPrimary)},or={labelColor:me.extend("--ft-checkbox-label-color","",Te.contentGlobalPrimary),checkedBackgroundColor:me.extend("--ft-checkbox-checked-background-color","",Te.contentActionPrimary),checkedStateLayerColor:me.extend("--ft-checkbox-checked-state-layer-color","",Te.contentActionPrimary),checkedColor:me.extend("--ft-checkbox-checked-color","",Te.contentGlobalOnColor),checkedStateLayerOpacityHover:me.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Oe.opacity16),checkedStateLayerOpacityFocus:me.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Oe.opacity16),checkedStateLayerOpacityActive:me.extend("--ft-checkbox-checked-state-layer-opacity-active","",Oe.opacity24),checkedComponentOpacityDisabled:me.extend("--ft-checkbox-checked-component-opacity-disabled","",Oe.opacity40),uncheckedBorderColor:me.extend("--ft-checkbox-unchecked-border-color","",Oe.colorGray80),uncheckedStateLayerColor:me.extend("--ft-checkbox-unchecked-state-layer-color","",Oe.colorGray80),uncheckedStateLayerOpacityHover:me.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Oe.opacity16),uncheckedStateLayerOpacityFocus:me.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Oe.opacity16),uncheckedStateLayerOpacityActive:me.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Oe.opacity24),uncheckedComponentOpacityDisabled:me.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Oe.opacity40),focusFocusRingColor:me.extend("--ft-checkbox-focus-focus-ring-color","",Te.borderActionFocusRing),focusOutlineOffset:me.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-checkbox-gap","",Oe.spacing3)},er={offStateLayerOpacityHover:me.extend("--ft-toggle-off-state-layer-opacity-hover","",Oe.opacity16),offStateLayerOpacityFocus:me.extend("--ft-toggle-off-state-layer-opacity-focus","",Oe.opacity16),offStateLayerOpacityActive:me.extend("--ft-toggle-off-state-layer-opacity-active","",Oe.opacity24),offComponentOpacityDisabled:me.extend("--ft-toggle-off-component-opacity-disabled","",Oe.opacity40),offBackgroundColor:me.extend("--ft-toggle-off-background-color","",Te.contentGlobalSubtle),offIconColor:me.extend("--ft-toggle-off-icon-color","",Te.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-toggle-off-state-layer-color","",Te.contentGlobalSubtle),onStateLayerOpacityHover:me.extend("--ft-toggle-on-state-layer-opacity-hover","",Oe.opacity16),onStateLayerOpacityFocus:me.extend("--ft-toggle-on-state-layer-opacity-focus","",Oe.opacity16),onStateLayerOpacityActive:me.extend("--ft-toggle-on-state-layer-opacity-active","",Oe.opacity24),onComponentOpacityDisabled:me.extend("--ft-toggle-on-component-opacity-disabled","",Oe.opacity40),onBackgroundColor:me.extend("--ft-toggle-on-background-color","",Te.contentActionPrimary),onIconColor:me.extend("--ft-toggle-on-icon-color","",Te.contentActionPrimary),onStateLayerColor:me.extend("--ft-toggle-on-state-layer-color","",Te.contentActionPrimary),labelColor:me.extend("--ft-toggle-label-color","",Te.contentGlobalPrimary),focusFocusRingColor:me.extend("--ft-toggle-focus-focus-ring-color","",Te.borderActionFocusRing),gap:me.extend("--ft-toggle-gap","",Oe.spacing3)},rr={labelColor:me.extend("--ft-radio-label-color","",Te.contentGlobalPrimary),selectedColor:me.extend("--ft-radio-selected-color","",Te.contentActionPrimary),selectedStateLayerColor:me.extend("--ft-radio-selected-state-layer-color","",Te.contentActionPrimary),selectedStateLayerOpacityHover:me.extend("--ft-radio-selected-state-layer-opacity-hover","",Oe.opacity16),selectedStateLayerOpacityFocus:me.extend("--ft-radio-selected-state-layer-opacity-focus","",Oe.opacity16),selectedStateLayerOpacityActive:me.extend("--ft-radio-selected-state-layer-opacity-active","",Oe.opacity24),selectedComponentOpacityDisabled:me.extend("--ft-radio-selected-component-opacity-disabled","",Oe.opacity40),unselectedStateLayerColor:me.extend("--ft-radio-unselected-state-layer-color","",Oe.colorGray80),unselectedStateLayerOpacityHover:me.extend("--ft-radio-unselected-state-layer-opacity-hover","",Oe.opacity16),unselectedStateLayerOpacityFocus:me.extend("--ft-radio-unselected-state-layer-opacity-focus","",Oe.opacity16),unselectedStateLayerOpacityActive:me.extend("--ft-radio-unselected-state-layer-opacity-active","",Oe.opacity24),unselectedComponentOpacityDisabled:me.extend("--ft-radio-unselected-component-opacity-disabled","",Oe.opacity40),focusFocusRingColor:me.extend("--ft-radio-focus-focus-ring-color","",Te.borderActionFocusRing),focusOutlineOffset:me.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-radio-gap","",Oe.spacing3)},nr={iconSize:me.extend("--ft-notification-icon-size","",Oe.iconSize4),horizontalPadding:me.extend("--ft-notification-horizontal-padding","",Oe.spacing4),verticalPadding:me.extend("--ft-notification-vertical-padding","",Oe.spacing4),infoBackgroundColor:me.extend("--ft-notification-info-background-color","",Te.backgroundInfoSubtle),infoColor:me.extend("--ft-notification-info-color","",Te.contentInfoPrimary),infoBorderColor:me.extend("--ft-notification-info-border-color","",Te.borderInfoSubtle),successBackgroundColor:me.extend("--ft-notification-success-background-color","",Te.backgroundSuccessSubtle),successColor:me.extend("--ft-notification-success-color","",Te.contentSuccessPrimary),successBorderColor:me.extend("--ft-notification-success-border-color","",Te.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-notification-warning-background-color","",Te.backgroundWarningSubtle),warningColor:me.extend("--ft-notification-warning-color","",Te.contentWarningPrimary),warningBorderColor:me.extend("--ft-notification-warning-border-color","",Te.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-notification-error-background-color","",Te.backgroundErrorSubtle),errorColor:me.extend("--ft-notification-error-color","",Te.contentErrorPrimary),errorBorderColor:me.extend("--ft-notification-error-border-color","",Te.borderErrorSubtle),borderRadius:me.extend("--ft-notification-border-radius","",Oe.borderRadiusPill),borderWidth:me.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:me.extend("--ft-notification-gap-leading","",Oe.spacing2),gapTrailing:me.extend("--ft-notification-gap-trailing","",Oe.spacing8)},ir={horizontalPadding:me.extend("--ft-tooltip-horizontal-padding","",Oe.spacing2),verticalPadding:me.extend("--ft-tooltip-vertical-padding","",Oe.spacing2),borderRadius:me.extend("--ft-tooltip-border-radius","",Oe.borderRadiusS),label:me.extend("--ft-tooltip-label","",Te.contentGlobalOnColor),background:me.extend("--ft-tooltip-background","",Te.contentGlobalPrimary),backgroundOpacity:me.extend("--ft-tooltip-background-opacity","",Oe.opacity80),shadow:me.extend("--ft-tooltip-shadow","",Oe.shadowElevation03)};var ar=Object.freeze({__proto__:null,FtCssVariableFactory:me,button:Ge,chart:Xe,checkbox:or,chip:Qe,collapsible:Ye,floatingMenu:Ve,foundation:Oe,notice:tr,notification:nr,radio:rr,semantic:Te,setVariable:function(t,o){return be(`${t.name}: ${o}`)},switch_:Je,tabs:qe,toggle:er,tooltip:ir,typographies:He,typographyBody1Medium:Ce,typographyBody1Regular:Ne,typographyBody1Semibold:Ee,typographyBody2Medium:Le,typographyBody2Regular:Re,typographyBody2Semibold:Ie,typographyCaption1Bold:je,typographyCaption1Medium:_e,typographyCaption1Semibold:Ke,typographyCaption2Bold:ze,typographyCaption2Medium:Pe,typographyCaption2Semibold:Be,typographyCaption3Bold:Ze,typographyCaption3Medium:Me,typographyCaption3Semibold:De,typographyDisplay:ve,typographyLabel1Bold:ke,typographyLabel1Medium:Ue,typographyLabel1Semibold:We,typographyLabel2Bold:Fe,typographyLabel2Medium:$e,typographyLabel2Semibold:Ae,typographyTitle1:Se,typographyTitle2:we,typographyTitle3:xe,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2","caption-3"]});const sr={colorPrimary:me.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:me.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:me.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:me.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:me.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:me.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:me.create("--ft-color-error","","COLOR","#B00020"),colorOutline:me.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:me.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:me.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:me.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:me.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:me.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:me.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:me.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:me.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:me.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:me.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:me.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:me.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:me.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:me.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:me.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:me.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:me.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:me.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:me.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:me.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:me.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:me.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:me.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:me.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:me.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:me.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:me.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:me.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:me.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:me.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:me.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:me.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:me.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:me.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:me.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:me.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:me.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:me.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:me.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:me.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:me.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var cr=Object.freeze({__proto__:null,designSystemVariables:sr});class lr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class fr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class pr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var hr=Object.freeze({__proto__:null,FtNotificationEvent:lr,PostResizeEvent:pr,PreResizeEvent:fr});const ur=["start","end"],dr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+ur[0],o+"-"+ur[1])),[]),yr=Math.min,gr=Math.max,br=Math.round,mr=t=>({x:t,y:t}),Or={left:"right",right:"left",bottom:"top",top:"bottom"},vr={start:"end",end:"start"};function Sr(t,o,e){return gr(t,yr(o,e))}function wr(t,o){return"function"==typeof t?t(o):t}function xr(t){return t.split("-")[0]}function Nr(t){return t.split("-")[1]}function Cr(t){return"x"===t?"y":"x"}function Er(t){return"y"===t?"height":"width"}function Rr(t){return["top","bottom"].includes(xr(t))?"y":"x"}function Lr(t){return Cr(Rr(t))}function Ir(t){return t.replace(/left|right|bottom|top/g,(t=>Or[t]))}function Ur(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Wr(t,o,e){let{reference:r,floating:n}=t;const i=Rr(o),a=Lr(o),s=Er(a),c=xr(o),l="y"===i,f=r.x+r.width/2-n.width/2,p=r.y+r.height/2-n.height/2,h=r[s]/2-n[s]/2;let u;switch(c){case"top":u={x:f,y:r.y-n.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-n.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Nr(o)){case"start":u[a]-=h*(e&&l?-1:1);break;case"end":u[a]+=h*(e&&l?-1:1)}return u}async function kr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=wr(o,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[h?"floating"===p?"reference":"floating":p],g=Ur(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(y)))||e?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),O=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},v=Ur(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-v.top+d.top)/O.y,bottom:(v.bottom-g.bottom+d.bottom)/O.y,left:(g.left-v.left+d.left)/O.x,right:(v.right-g.right+d.right)/O.x}}function $r(t,o,e){return(t?[...e.filter((o=>Nr(o)===t)),...e.filter((o=>Nr(o)!==t))]:e.filter((t=>xr(t)===t))).filter((e=>!t||(Nr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>vr[t]))}(e)!==e)))}const Ar=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,n;const{rects:i,middlewareData:a,placement:s,platform:c,elements:l}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=dr,autoAlignment:u=!0,...d}=wr(t,o),y=void 0!==p||h===dr?$r(p||null,u,h):h,g=await kr(o,d),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const O=function(t,o,e){void 0===e&&(e=!1);const r=Nr(t),n=Lr(t),i=Er(n);let a="x"===n?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(a=Ir(a)),[a,Ir(a)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[xr(m)],g[O[0]],g[O[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:S},reset:{placement:w}};const x=S.map((t=>{const o=Nr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=x.filter((t=>t[2].slice(0,Nr(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=N[0])?void 0:n[0])||x[0][0];return C!==s?{data:{index:b+1,overflows:S},reset:{placement:C}}:{}}}};function Fr(t){return jr(t)?(t.nodeName||"").toLowerCase():"#document"}function _r(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Kr(t){var o;return null==(o=(jr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function jr(t){return t instanceof Node||t instanceof _r(t).Node}function Pr(t){return t instanceof Element||t instanceof _r(t).Element}function Br(t){return t instanceof HTMLElement||t instanceof _r(t).HTMLElement}function zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof _r(t).ShadowRoot)}function Mr(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=Gr(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function Dr(t){return["table","td","th"].includes(Fr(t))}function Zr(t){const o=Hr(),e=Gr(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Hr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Tr(t){return["html","body","#document"].includes(Fr(t))}function Gr(t){return _r(t).getComputedStyle(t)}function Vr(t){return Pr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qr(t){if("html"===Fr(t))return t;const o=t.assignedSlot||t.parentNode||zr(t)&&t.host||Kr(t);return zr(o)?o.host:o}function Yr(t){const o=qr(t);return Tr(o)?t.ownerDocument?t.ownerDocument.body:t.body:Br(o)&&Mr(o)?o:Yr(o)}function Jr(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=Yr(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=_r(n);return i?o.concat(a,a.visualViewport||[],Mr(n)?n:[],a.frameElement&&e?Jr(a.frameElement):[]):o.concat(n,Jr(n,[],e))}function Xr(t){const o=Gr(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Br(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,s=br(e)!==i||br(r)!==a;return s&&(e=i,r=a),{width:e,height:r,$:s}}function Qr(t){return Pr(t)?t:t.contextElement}function tn(t){const o=Qr(t);if(!Br(o))return mr(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=Xr(o);let a=(i?br(e.width):e.width)/r,s=(i?br(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const on=mr(0);function en(t){const o=_r(t);return Hr()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:on}function rn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=Qr(t);let a=mr(1);o&&(r?Pr(r)&&(a=tn(r)):a=tn(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==_r(t))&&o}(i,e,r)?en(i):mr(0);let c=(n.left+s.x)/a.x,l=(n.top+s.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(i){const t=_r(i),o=r&&Pr(r)?_r(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=tn(e),o=e.getBoundingClientRect(),r=Gr(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,p*=t.y,c+=n,l+=i,e=_r(e).frameElement}}return Ur({width:f,height:p,x:c,y:l})}function nn(t){return rn(Kr(t)).left+Vr(t).scrollLeft}function an(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=_r(t),r=Kr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,c=0;if(n){i=n.width,a=n.height;const t=Hr();(!t||t&&"fixed"===o)&&(s=n.offsetLeft,c=n.offsetTop)}return{width:i,height:a,x:s,y:c}}(t,e);else if("document"===o)r=function(t){const o=Kr(t),e=Vr(t),r=t.ownerDocument.body,n=gr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=gr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+nn(t);const s=-e.scrollTop;return"rtl"===Gr(r).direction&&(a+=gr(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:s}}(Kr(t));else if(Pr(o))r=function(t,o){const e=rn(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Br(t)?tn(t):mr(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:r*i.y}}(o,e);else{const e=en(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Ur(r)}function sn(t,o){const e=qr(t);return!(e===o||!Pr(e)||Tr(e))&&("fixed"===Gr(e).position||sn(e,o))}function cn(t,o,e){const r=Br(o),n=Kr(o),i="fixed"===e,a=rn(t,!0,i,o);let s={scrollLeft:0,scrollTop:0};const c=mr(0);if(r||!r&&!i)if(("body"!==Fr(o)||Mr(n))&&(s=Vr(o)),r){const t=rn(o,!0,i,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else n&&(c.x=nn(n));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function ln(t,o){return Br(t)&&"fixed"!==Gr(t).position?o?o(t):t.offsetParent:null}function fn(t,o){const e=_r(t);if(!Br(t))return e;let r=ln(t,o);for(;r&&Dr(r)&&"static"===Gr(r).position;)r=ln(r,o);return r&&("html"===Fr(r)||"body"===Fr(r)&&"static"===Gr(r).position&&!Zr(r))?e:r||function(t){let o=qr(t);for(;Br(o)&&!Tr(o);){if(Zr(o))return o;o=qr(o)}return null}(t)||e}const pn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Br(e),i=Kr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},s=mr(1);const c=mr(0);if((n||!n&&"fixed"!==r)&&(("body"!==Fr(e)||Mr(i))&&(a=Vr(e)),Br(e))){const t=rn(e);s=tn(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+c.x,y:o.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:Kr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:n}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=Jr(t,[],!1).filter((t=>Pr(t)&&"body"!==Fr(t))),n=null;const i="fixed"===Gr(t).position;let a=i?qr(t):t;for(;Pr(a)&&!Tr(a);){const o=Gr(a),e=Zr(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||Mr(a)&&!e&&sn(t,a))?r=r.filter((t=>t!==a)):n=o,a=qr(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],s=i.reduce(((t,e)=>{const r=an(o,e,n);return t.top=gr(r.top,t.top),t.right=yr(r.right,t.right),t.bottom=yr(r.bottom,t.bottom),t.left=gr(r.left,t.left),t}),an(o,a,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:fn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||fn,i=this.getDimensions;return{reference:cn(o,await n(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Xr(t)},getScale:tn,isElement:Pr,isRTL:function(t){return"rtl"===Gr(t).direction}},hn=(t,o,e)=>{const r=new Map,n={platform:pn,...e},i={...n.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=e,s=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let l=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:p}=Wr(l,r,c),h=r,u={},d=0;for(let e=0;e<s.length;e++){const{name:i,fn:y}=s[e],{x:g,y:b,data:m,reset:O}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:n,middlewareData:u,rects:l,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[i]:{...u[i],...m}},O&&d<=50&&(d++,"object"==typeof O&&(O.placement&&(h=O.placement),O.rects&&(l=!0===O.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):O.rects),({x:f,y:p}=Wr(l,h,c))),e=-1)}return{x:f,y:p,placement:h,strategy:n,middlewareData:u}})(t,o,{...n,platform:i})};function un(t){return function(t){for(let o=t;o;o=dn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=dn(t);o;o=dn(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function dn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function yn(t,o,e){return hn(t,o,{platform:{...pn,getOffsetParent:t=>pn.getOffsetParent(t,un)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=wr(r,t),l={x:o,y:e},f=await kr(t,c),p=Rr(xr(n)),h=Cr(p);let u=l[h],d=l[p];if(i){const t="y"===h?"bottom":"right";u=Sr(u+f["y"===h?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";d=Sr(d+f["y"===p?"top":"left"],d,d-f[t])}const y=s.fn({...t,[h]:u,[p]:d});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Ar({allowedPlacements:[e]})]});var r}var gn=Object.freeze({__proto__:null,computeOffsetPosition:yn});
135
+ */let Yo=class extends zo{constructor(t){if(super(t),this.et=D,t.type!==ko)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===M)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Yo.directiveName="unsafeHTML",Yo.resultType=1;const Jo=$o(Yo);var Xo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Yo,unsafeHTML:Jo});class Qo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class te extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Qo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Qo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oe=t=>new te(((o,e)=>t.then(o).catch(e)));var ee=Object.freeze({__proto__:null,CancelablePromise:te,CanceledPromiseError:Qo,cancelable:oe});var re=Object.freeze({__proto__:null,CacheRegistry:class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,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 te&&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,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=oe(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}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 ne{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>ne.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=ne.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>ne.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let n=this.metadataDescriptors.find((t=>e==t.key)),i=(null==n?void 0:n.sortRule)||"NONE",a=(null==n?void 0:n.reverseSort)||!1;if("ALPHABET"==i||"VERSION"==i){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>ne.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,n=ne.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),i=[...n.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,i);if(o>a&&(a=o,r=t,o===i.length))break}return r}countMatchingMetadata(t,o){return ne.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ie=Object.freeze({__proto__:null,ClusteringHelper:ne});class ae{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var le=Object.freeze({__proto__:null,Debouncer:ae});const ce=t=>new Promise((o=>setTimeout(o,t)));async function se(t,o=10,e=2e4){let r,n,i=await t();for(r=n=performance.now();null==i&&(!e||n-r<e);)await ce(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function fe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function pe(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,n;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!pe(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!pe(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,n[r]))return!1;for(r=e;0!=r--;){var i=n[r];if(!pe(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var he=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?fe(e):e}},deepEqual:pe,delay:ce,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:fe,waitFor:se,waitUntil:async function(t,o=10,e=2e4){await se((async()=>await t()||void 0),o,e)}});const ue=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function de(t,o){const e=()=>JSON.parse(JSON.stringify(t));return wo({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!pe(t,o),...null!=o?o:{}})}function ye(t){return!isNaN(parseFloat(t))}var ge=Object.freeze({__proto__:null,customElement:ue,isNumber:ye,jsonProperty:de,optionalNumberProperty:function(t){return wo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ye(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const be=t=>"string"==typeof t?pt(t):t;class me{static create(t,o,e,r){const n=t=>be(null!=t?t:r),i=ht`var(${be(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ht`var(${be(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const n=t=>e.get(null!=t?t:r),i=ht`var(${be(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>ht`var(${be(t)}, ${n(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):be(null!=o?o:t.lastResortDefaultValue()),r=ht`var(${be(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>ht`var(${be(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const ve={colorWhite:me.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:me.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:me.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:me.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:me.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:me.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:me.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:me.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:me.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:me.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:me.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:me.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:me.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:me.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:me.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:me.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:me.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:me.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:me.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:me.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:me.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:me.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:me.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:me.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:me.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:me.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:me.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:me.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:me.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:me.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:me.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:me.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:me.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:me.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:me.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:me.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:me.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:me.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:me.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:me.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:me.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:me.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:me.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:me.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:me.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:me.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:me.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:me.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:me.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:me.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:me.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:me.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:me.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:me.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:me.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:me.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:me.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:me.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:me.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:me.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:me.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:me.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:me.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:me.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:me.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:me.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:me.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:me.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:me.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:me.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:me.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:me.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:me.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:me.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:me.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:me.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:me.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:me.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:me.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:me.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:me.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:me.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:me.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:me.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:me.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:me.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:me.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:me.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:me.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:me.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:me.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:me.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:me.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:me.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:me.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:me.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:me.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:me.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:me.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:me.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:me.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:me.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:me.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:me.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:me.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:me.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:me.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:me.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:me.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:me.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:me.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:me.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:me.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:me.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:me.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:me.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:me.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:me.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:me.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:me.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:me.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:me.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:me.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:me.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:me.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:me.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:me.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:me.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:me.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:me.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:me.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:me.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:me.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:me.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:me.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:me.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:me.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:me.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:me.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:me.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:me.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:me.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:me.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:me.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:me.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:me.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:me.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:me.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:me.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:me.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:me.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:me.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:me.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:me.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:me.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:me.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:me.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:me.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:me.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:me.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:me.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:me.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:me.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:me.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:me.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:me.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:me.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:me.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:me.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:me.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:me.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:me.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:me.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:me.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:me.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:me.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:me.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:me.create("--ft-icon-size-6","","SIZE","48px"),opacity0:me.create("--ft-opacity-0","","NUMBER","0"),opacity8:me.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:me.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:me.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:me.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:me.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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)"),underline:me.create("--ft-underline","","UNKNOWN","underline")},Oe={fontFamily:me.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:me.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-display-textCase","","UNKNOWN","none")},xe={fontFamily:me.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:me.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Se={fontFamily:me.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:me.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:me.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},we={fontFamily:me.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:me.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:me.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:me.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ne={fontFamily:me.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ce={fontFamily:me.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ee={fontFamily:me.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:me.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Re={fontFamily:me.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:me.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ie={fontFamily:me.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Le={fontFamily:me.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:me.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:me.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ue={fontFamily:me.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:me.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:me.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:me.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},We={fontFamily:me.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ke={fontFamily:me.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},$e={fontFamily:me.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:me.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ze={fontFamily:me.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fe={fontFamily:me.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:me.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:me.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:me.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:me.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Be={fontFamily:me.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_e={fontFamily:me.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ke={fontFamily:me.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:me.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:me.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ze={fontFamily:me.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},je={fontFamily:me.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:me.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Me={fontFamily:me.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:me.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},De={fontFamily:me.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:me.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},He={fontFamily:me.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:me.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:me.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:me.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:me.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:me.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:me.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:me.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:me.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Te={display:Oe,"title-1":xe,"title-2":Se,"title-3":we,"body-1-regular":Ne,"body-1-medium":Ce,"body-1-semibold":Ee,"body-2-regular":Re,"body-2-medium":Ie,"body-2-medium-underline":Le,"body-2-semibold":Ue,"label-1-medium":We,"label-1-semibold":ke,"label-1-bold":$e,"label-2-medium":ze,"label-2-semibold":Fe,"label-2-bold":Ae,"caption-1-medium":Be,"caption-1-semibold":_e,"caption-1-bold":Ke,"caption-2-medium":Pe,"caption-2-semibold":Ze,"caption-2-bold":je,"caption-3-medium":Me,"caption-3-semibold":De,"caption-3-bold":He},Ge={backgroundActionPrimary:me.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ve.colorBrand0),backgroundErrorSubtle:me.extend("--ft-background-error-subtle","Used as background of subtle error components.",ve.colorRed10),backgroundInfoSubtle:me.extend("--ft-background-info-subtle","Used as background of subtle information components.",ve.colorCyan10),backgroundWarningSubtle:me.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ve.colorOrange10),backgroundSuccessSubtle:me.extend("--ft-background-success-subtle","Used as background of subtle success components.",ve.colorGreen10),backgroundGlobalSurface:me.extend("--ft-background-global-surface","Used as app background.",ve.colorWhite),backgroundGlobalOnSurface:me.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ve.colorGray10),backgroundGlobalOnSurfaceDark:me.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ve.colorGray30),contentActionPrimary:me.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ve.colorBrand0),contentWarningPrimary:me.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ve.colorOrange200),contentWarningIconOnly:me.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ve.colorOrange0),contentErrorPrimary:me.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ve.colorRed0),contentErrorIconOnly:me.extend("--ft-content-error-icon-only","Used on error status icons alone",ve.colorRed70),contentInfoPrimary:me.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ve.colorCyan200),contentInfoIconOnly:me.extend("--ft-content-info-icon-only","Used on info status icons alone",ve.colorCyan0),contentSuccessPrimary:me.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ve.colorGreen200),contentSuccessIconOnly:me.extend("--ft-content-success-icon-only","Used on success status icons alone",ve.colorGreen0),contentGlobalPrimary:me.extend("--ft-content-global-primary","Used for main content on the page.",ve.colorGray500),contentGlobalSecondary:me.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ve.colorGray200),contentGlobalSubtle:me.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ve.colorGray0),contentGlobalOnColor:me.extend("--ft-content-global-on-color","Used for content on a dominant color.",ve.colorWhite),borderActionPrimary:me.extend("--ft-border-action-primary","Used as border for primary action components.",ve.colorBrand0),borderActionFocusRing:me.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ve.colorCyan0),borderWarningPrimary:me.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",ve.colorOrange200),borderWarningSubtle:me.extend("--ft-border-warning-subtle","Used as border for warning components.",ve.colorOrange30),borderSuccessPrimary:me.extend("--ft-border-success-primary","Used as border for success buttons.",ve.colorGreen200),borderSuccessSubtle:me.extend("--ft-border-success-subtle","Used as border for success components.",ve.colorGreen30),borderErrorPrimary:me.extend("--ft-border-error-primary","Used as border for text fields in error states.",ve.colorRed0),borderErrorSubtle:me.extend("--ft-border-error-subtle","Used as border for error components.",ve.colorRed30),borderInfoPrimary:me.extend("--ft-border-info-primary","Used as border for buttons in info color.",ve.colorCyan200),borderInfoSubtle:me.extend("--ft-border-info-subtle","Used as border for information components.",ve.colorCyan30),borderGlobalPrimary:me.extend("--ft-border-global-primary","Used as border for element like input.",ve.colorGray50),borderGlobalSubtle:me.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ve.colorGray30),borderInputPrimary:me.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ve.colorGray80)},Ve={largeHeight:me.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:me.extend("--ft-button-large-horizontal-padding","",ve.spacing4),largeGap:me.extend("--ft-button-large-gap","",ve.spacing2),largeBorderRadius:me.extend("--ft-button-large-border-radius","",ve.borderRadiusS),largeIconSize:me.extend("--ft-button-large-icon-size","",ve.iconSize3),largeBorderWidth:me.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:me.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:me.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:me.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:me.extend("--ft-button-small-horizontal-padding","",ve.spacing3),smallGap:me.extend("--ft-button-small-gap","",ve.spacing2),smallBorderRadius:me.extend("--ft-button-small-border-radius","",ve.borderRadiusS),smallIconSize:me.extend("--ft-button-small-icon-size","",ve.iconSize2),smallBorderWidth:me.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:me.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:me.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:me.extend("--ft-button-primary-background-color","",Ge.backgroundActionPrimary),primaryColor:me.extend("--ft-button-primary-color","",Ge.contentGlobalOnColor),primaryIconColor:me.extend("--ft-button-primary-icon-color","",Ge.contentGlobalOnColor),primaryStateLayerColor:me.extend("--ft-button-primary-state-layer-color","",Ge.contentGlobalOnColor),primaryHoverStateLayerOpacity:me.extend("--ft-button-primary-hover-state-layer-opacity","",ve.opacity16),primaryFocusStateLayerOpacity:me.extend("--ft-button-primary-focus-state-layer-opacity","",ve.opacity16),primaryActiveStateLayerOpacity:me.extend("--ft-button-primary-active-state-layer-opacity","",ve.opacity24),primaryDisabledComponentOpacity:me.extend("--ft-button-primary-disabled-component-opacity","",ve.opacity40),focusFocusRingColor:me.extend("--ft-button-focus-focus-ring-color","",Ge.borderActionFocusRing),tertiaryBackgroundColor:me.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:me.extend("--ft-button-tertiary-color","",Ge.contentActionPrimary),tertiaryIconColor:me.extend("--ft-button-tertiary-icon-color","",Ge.contentActionPrimary),tertiaryStateLayerColor:me.extend("--ft-button-tertiary-state-layer-color","",Ge.contentActionPrimary),tertiaryHoverStateLayerOpacity:me.extend("--ft-button-tertiary-hover-state-layer-opacity","",ve.opacity8),tertiaryFocusStateLayerOpacity:me.extend("--ft-button-tertiary-focus-state-layer-opacity","",ve.opacity8),tertiaryActiveStateLayerOpacity:me.extend("--ft-button-tertiary-active-state-layer-opacity","",ve.opacity16),tertiaryDisabledComponentOpacity:me.extend("--ft-button-tertiary-disabled-component-opacity","",ve.opacity40),secondaryBackgroundColor:me.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:me.extend("--ft-button-secondary-color","",Ge.contentActionPrimary),secondaryIconColor:me.extend("--ft-button-secondary-icon-color","",Ge.contentActionPrimary),secondaryStateLayerColor:me.extend("--ft-button-secondary-state-layer-color","",Ge.contentActionPrimary),secondaryHoverStateLayerOpacity:me.extend("--ft-button-secondary-hover-state-layer-opacity","",ve.opacity8),secondaryFocusStateLayerOpacity:me.extend("--ft-button-secondary-focus-state-layer-opacity","",ve.opacity8),secondaryActiveStateLayerOpacity:me.extend("--ft-button-secondary-active-state-layer-opacity","",ve.opacity16),secondaryDisabledComponentOpacity:me.extend("--ft-button-secondary-disabled-component-opacity","",ve.opacity40),secondaryBorderColor:me.extend("--ft-button-secondary-border-color","",Ge.borderActionPrimary),neutralBackgroundColor:me.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:me.extend("--ft-button-neutral-icon-color","",Ge.contentGlobalSecondary),neutralColor:me.extend("--ft-button-neutral-color","",Ge.contentGlobalSecondary),neutralStateLayerColor:me.extend("--ft-button-neutral-state-layer-color","",Ge.contentGlobalSecondary),neutralHoverStateLayerOpacity:me.extend("--ft-button-neutral-hover-state-layer-opacity","",ve.opacity8),neutralFocusStateLayerOpacity:me.extend("--ft-button-neutral-focus-state-layer-opacity","",ve.opacity8),neutralActiveStateLayerOpacity:me.extend("--ft-button-neutral-active-state-layer-opacity","",ve.opacity16),neutralDisabledComponentOpacity:me.extend("--ft-button-neutral-disabled-component-opacity","",ve.opacity40)},qe={iconSize:me.extend("--ft-banner-icon-size","",ve.iconSize5),borderWidth:me.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-banner-horizontal-padding","",ve.spacing6),verticalPadding:me.extend("--ft-banner-vertical-padding","",ve.spacing6),horizontalSideGap:me.extend("--ft-banner-horizontal-side-gap","",ve.spacing6),horizontalMobileGap:me.extend("--ft-banner-horizontal-mobile-gap","",ve.spacing4),verticalMobileGap:me.extend("--ft-banner-vertical-mobile-gap","",ve.spacing6),horizontalMiddleGap:me.extend("--ft-banner-horizontal-middle-gap","",ve.spacing20),infoBackgroundColor:me.extend("--ft-banner-info-background-color","",Ge.backgroundInfoSubtle),infoColor:me.extend("--ft-banner-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-banner-info-icon-color","",Ge.contentInfoIconOnly)},Ye={gap:me.extend("--ft-breadcrumb-gap","",ve.spacing1)},Je={horizontalPadding:me.extend("--ft-page-header-horizontal-padding","",ve.spacing12),verticalPadding:me.extend("--ft-page-header-vertical-padding","",ve.spacing6)},Xe={smallContainerWidth:me.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:me.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:me.extend("--ft-modal-overlay-background-color","",ve.colorGray700),overlayOpacity:me.extend("--ft-modal-overlay-opacity","",ve.opacity40),shadow:me.extend("--ft-modal-shadow","",ve.shadowElevation03),bodyBackgroundColor:me.extend("--ft-modal-body-background-color","",ve.colorWhite),bodyColor:me.extend("--ft-modal-body-color","",Ge.contentGlobalPrimary),bodyHorizontalPadding:me.extend("--ft-modal-body-horizontal-padding","",ve.spacing6),bodyVerticalPadding:me.extend("--ft-modal-body-vertical-padding","",ve.spacing6),bodyVerticalGap:me.extend("--ft-modal-body-vertical-gap","",ve.spacing6),containerMargin:me.extend("--ft-modal-container-margin","",ve.spacing3),headerBackgroundColor:me.extend("--ft-modal-header-background-color","",Ge.backgroundGlobalOnSurface),headerBorderColor:me.extend("--ft-modal-header-border-color","",Ge.borderGlobalSubtle),headerColor:me.extend("--ft-modal-header-color","",Ge.contentGlobalPrimary),headerTrailingIconColor:me.extend("--ft-modal-header-trailing-icon-color","",Ge.contentGlobalSecondary),headerVerticalPadding:me.extend("--ft-modal-header-vertical-padding","",ve.spacing1),headerRightPadding:me.extend("--ft-modal-header-right-padding","",ve.spacing1),headerLeftPadding:me.extend("--ft-modal-header-left-padding","",ve.spacing6),headerGap:me.extend("--ft-modal-header-gap","",ve.spacing2),headerBorderBottom:me.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:me.extend("--ft-modal-border-radius","",ve.borderRadiusM)},Qe={fieldHorizontalPadding:me.extend("--ft-text-input-field-horizontal-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-text-input-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-text-input-field-vertical-gap","",ve.spacing05),fieldIconSize:me.extend("--ft-text-input-field-icon-size","",ve.iconSize3),fieldHeight:me.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:me.extend("--ft-text-input-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-text-input-helper-horizontal-gap","",ve.spacing1),helperIconSize:me.extend("--ft-text-input-helper-icon-size","",ve.iconSize2),borderRadius:me.extend("--ft-text-input-border-radius","",ve.borderRadiusM),backgroundColor:me.extend("--ft-text-input-background-color","",ve.colorWhite),contentValueColor:me.extend("--ft-text-input-content-value-color","",Ge.contentGlobalPrimary),trailingIconColor:me.extend("--ft-text-input-trailing-icon-color","",Ge.contentGlobalSubtle),labelColor:me.extend("--ft-text-input-label-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-text-input-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-text-input-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-text-input-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-text-input-error-helper-text-color","",Ge.contentErrorPrimary),errorHelperIconColor:me.extend("--ft-text-input-error-helper-icon-color","",Ge.contentErrorIconOnly),warningBorderWidth:me.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:me.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-text-input-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-text-input-disabled-component-opacity","",ve.opacity40)},tr={backgroundColor:me.extend("--ft-text-area-background-color","",ve.colorWhite),contentValueColor:me.extend("--ft-text-area-content-value-color","",Ge.contentGlobalPrimary),labelColor:me.extend("--ft-text-area-label-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-text-area-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-text-area-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-text-area-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-text-area-error-helper-text-color","",Ge.contentErrorPrimary),errorHelperIconColor:me.extend("--ft-text-area-error-helper-icon-color","",Ge.contentErrorIconOnly),focusFocusRingColor:me.extend("--ft-text-area-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineWidth:me.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:me.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-text-area-disabled-component-opacity","",ve.opacity40),fieldHorizontalLeftPadding:me.extend("--ft-text-area-field-horizontal-left-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-text-area-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-text-area-field-vertical-gap","",ve.spacing05),fieldMinHeight:me.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:me.extend("--ft-text-area-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-text-area-helper-horizontal-gap","",ve.spacing1),helperIconSize:me.extend("--ft-text-area-helper-icon-size","",ve.iconSize2),borderRadius:me.extend("--ft-text-area-border-radius","",ve.borderRadiusM)},or={height:me.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:me.extend("--ft-floating-menu-horizontal-padding","",ve.spacing4),offIconColor:me.extend("--ft-floating-menu-off-icon-color","",Ge.contentGlobalPrimary),offColor:me.extend("--ft-floating-menu-off-color","",Ge.contentGlobalPrimary),onColor:me.extend("--ft-floating-menu-on-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-floating-menu-on-state-layer-color","",Ge.contentActionPrimary),gap:me.extend("--ft-floating-menu-gap","",ve.spacing3),focusFocusRingColor:me.extend("--ft-floating-menu-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineWidth:me.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:me.extend("--ft-floating-menu-focus-state-layer-opacity","",ve.opacity8),hoverStateLayerOpacity:me.extend("--ft-floating-menu-hover-state-layer-opacity","",ve.opacity8),activeStateLayerOpacity:me.extend("--ft-floating-menu-active-state-layer-opacity","",ve.opacity16),disabledComponentOpacity:me.extend("--ft-floating-menu-disabled-component-opacity","",ve.opacity40),iconSize:me.extend("--ft-floating-menu-icon-size","",ve.iconSize3),backgroundColor:me.extend("--ft-floating-menu-background-color","",Ge.backgroundGlobalOnSurface)},er={fieldHorizontalPadding:me.extend("--ft-combobox-single-select-field-horizontal-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-combobox-single-select-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-combobox-single-select-field-vertical-gap","",ve.spacing05),fieldIconSize:me.extend("--ft-combobox-single-select-field-icon-size","",ve.iconSize3),fieldHeight:me.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:me.extend("--ft-combobox-single-select-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-combobox-single-select-helper-horizontal-gap","",ve.spacing1),helperVerticalGap:me.extend("--ft-combobox-single-select-helper-vertical-gap","",ve.spacing1),helperIconSize:me.extend("--ft-combobox-single-select-helper-icon-size","",ve.iconSize2),menuVerticalGap:me.extend("--ft-combobox-single-select-menu-vertical-gap","",ve.spacing2),borderRadius:me.extend("--ft-combobox-single-select-border-radius","",ve.borderRadiusM),backgroundColor:me.extend("--ft-combobox-single-select-background-color","",ve.colorWhite),labelColor:me.extend("--ft-combobox-single-select-label-color","",Ge.contentGlobalSubtle),contentValueColor:me.extend("--ft-combobox-single-select-content-value-color","",Ge.contentGlobalPrimary),trailingIconColor:me.extend("--ft-combobox-single-select-trailing-icon-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-combobox-single-select-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-combobox-single-select-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:me.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:me.extend("--ft-combobox-single-select-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-combobox-single-select-error-helper-text-color","",Ge.contentErrorPrimary),warningBorderWidth:me.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:me.extend("--ft-combobox-single-select-warning-border-color","",Ge.borderWarningPrimary),warningHelperTextColor:me.extend("--ft-combobox-single-select-warning-helper-text-color","",Ge.contentWarningPrimary),warningHelperIconColor:me.extend("--ft-combobox-single-select-warning-helper-icon-color","",Ge.contentWarningIconOnly),focusOutlineWidth:me.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-combobox-single-select-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-combobox-single-select-disabled-component-opacity","",ve.opacity40)},rr={backgroundColor:me.extend("--ft-combobox-multi-select-background-color","",ve.colorWhite),labelColor:me.extend("--ft-combobox-multi-select-label-color","",Ge.contentGlobalSubtle),trailingIconColor:me.extend("--ft-combobox-multi-select-trailing-icon-color","",Ge.contentGlobalSubtle),defaultBorderColor:me.extend("--ft-combobox-multi-select-default-border-color","",Ge.borderInputPrimary),defaultHelperTextColor:me.extend("--ft-combobox-multi-select-default-helper-text-color","",Ge.contentGlobalSubtle),defaultBorderWidth:me.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:me.extend("--ft-combobox-multi-select-error-border-color","",Ge.borderErrorPrimary),errorHelperTextColor:me.extend("--ft-combobox-multi-select-error-helper-text-color","",Ge.contentErrorPrimary),errorHelperIcon:me.extend("--ft-combobox-multi-select-error-helper-icon","",Ge.contentErrorIconOnly),errorBorderWidth:me.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:me.extend("--ft-combobox-multi-select-warning-border-color","",Ge.borderWarningPrimary),warningHelperTextColor:me.extend("--ft-combobox-multi-select-warning-helper-text-color","",Ge.contentWarningPrimary),warningHelperIconColor:me.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Ge.contentWarningIconOnly),warningBorderWidth:me.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineWidth:me.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:me.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:me.extend("--ft-combobox-multi-select-disabled-component-opacity","",ve.opacity40),helperHorizontalPadding:me.extend("--ft-combobox-multi-select-helper-horizontal-padding","",ve.spacing4),helperHorizontalGap:me.extend("--ft-combobox-multi-select-helper-horizontal-gap","",ve.spacing1),helperVerticalGap:me.extend("--ft-combobox-multi-select-helper-vertical-gap","",ve.spacing1),helperIconSize:me.extend("--ft-combobox-multi-select-helper-icon-size","",ve.iconSize2),fieldHorizontalPadding:me.extend("--ft-combobox-multi-select-field-horizontal-padding","",ve.spacing4),fieldHorizontalGap:me.extend("--ft-combobox-multi-select-field-horizontal-gap","",ve.spacing3),fieldVerticalGap:me.extend("--ft-combobox-multi-select-field-vertical-gap","",ve.spacing05),fieldIconSize:me.extend("--ft-combobox-multi-select-field-icon-size","",ve.iconSize3),fieldMaxHeight:me.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:me.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",ve.spacing1),contentValuesVerticalGap:me.extend("--ft-combobox-multi-select-content-values-vertical-gap","",ve.spacing1),borderRadius:me.extend("--ft-combobox-multi-select-border-radius","",ve.borderRadiusM)},nr={backgroundColor:me.extend("--ft-popover-background-color","",Ge.backgroundGlobalOnSurface),horizontalPadding:me.extend("--ft-popover-horizontal-padding","",ve.spacing6),verticalPadding:me.extend("--ft-popover-vertical-padding","",ve.spacing6),iconColor:me.extend("--ft-popover-icon-color","",Ge.contentGlobalSecondary),iconSize:me.extend("--ft-popover-icon-size","",ve.iconSize2),titleColor:me.extend("--ft-popover-title-color","",Ge.contentGlobalPrimary),bodyColor:me.extend("--ft-popover-body-color","",Ge.contentGlobalSecondary),linkColor:me.extend("--ft-popover-link-color","",Ge.contentActionPrimary),gap:me.extend("--ft-popover-gap","",ve.spacing3),borderRadius:me.extend("--ft-popover-border-radius","",ve.borderRadiusM),shadow:me.extend("--ft-popover-shadow","",ve.shadowElevation02)},ir={topLeftBorderRadius:me.extend("--ft-tabs-top-left-border-radius","",ve.borderRadiusS),topRightBorderRadius:me.extend("--ft-tabs-top-right-border-radius","",ve.borderRadiusS),labelHorizontalPadding:me.extend("--ft-tabs-label-horizontal-padding","",ve.spacing4),labelVerticalPadding:me.extend("--ft-tabs-label-vertical-padding","",ve.spacing3),labelGap:me.extend("--ft-tabs-label-gap","",ve.spacing1),offHoverStateLayerOpacity:me.extend("--ft-tabs-off-hover-state-layer-opacity","",ve.opacity8),offFocusStateLayerOpacity:me.extend("--ft-tabs-off-focus-state-layer-opacity","",ve.opacity8),offActiveStateLayerOpacity:me.extend("--ft-tabs-off-active-state-layer-opacity","",ve.opacity16),offDisabledComponentOpacity:me.extend("--ft-tabs-off-disabled-component-opacity","",ve.opacity40),offColor:me.extend("--ft-tabs-off-color","",Ge.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-tabs-off-state-layer-color","",Ge.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-tabs-on-hover-state-layer-opacity","",ve.opacity8),onFocusStateLayerOpacity:me.extend("--ft-tabs-on-focus-state-layer-opacity","",ve.opacity8),onActiveStateLayerOpacity:me.extend("--ft-tabs-on-active-state-layer-opacity","",ve.opacity16),onDisabledComponentOpacity:me.extend("--ft-tabs-on-disabled-component-opacity","",ve.opacity40),onColor:me.extend("--ft-tabs-on-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-tabs-on-state-layer-color","",Ge.contentActionPrimary),iconHorizontalPadding:me.extend("--ft-tabs-icon-horizontal-padding","",ve.spacing1),iconVerticalPadding:me.extend("--ft-tabs-icon-vertical-padding","",ve.spacing4),focusOutlineWidth:me.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-tabs-focus-focus-ring-color","",Ge.borderActionFocusRing)},ar={hoverStateLayerOpacity:me.extend("--ft-collapsible-hover-state-layer-opacity","",ve.opacity8),focusStateLayerOpacity:me.extend("--ft-collapsible-focus-state-layer-opacity","",ve.opacity8),focusOutlineWidth:me.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:me.extend("--ft-collapsible-focus-focus-ring-color","",Ge.borderActionFocusRing),activeStateLayerOpacity:me.extend("--ft-collapsible-active-state-layer-opacity","",ve.opacity16),disabledComponentOpacity:me.extend("--ft-collapsible-disabled-component-opacity","",ve.opacity40),horizontalPadding:me.extend("--ft-collapsible-horizontal-padding","",ve.spacing4),verticalPadding:me.extend("--ft-collapsible-vertical-padding","",ve.spacing3),color:me.extend("--ft-collapsible-color","",Ge.contentGlobalPrimary),stateLayerColor:me.extend("--ft-collapsible-state-layer-color","",Ge.contentGlobalPrimary),backgroundColor:me.extend("--ft-collapsible-background-color","",Ge.backgroundGlobalOnSurface),borderColor:me.extend("--ft-collapsible-border-color","",Ge.borderGlobalSubtle),iconSize:me.extend("--ft-collapsible-icon-size","",ve.iconSize3)},lr={groupHorizontalPadding:me.extend("--ft-switch-group-horizontal-padding","",ve.spacing1),groupVerticalPadding:me.extend("--ft-switch-group-vertical-padding","",ve.spacing1),groupGap:me.extend("--ft-switch-group-gap","",ve.spacing1),groupBackgroundColor:me.extend("--ft-switch-group-background-color","",Ge.backgroundGlobalSurface),groupBorderColor:me.extend("--ft-switch-group-border-color","",Ge.borderGlobalSubtle),groupBorderRadius:me.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:me.extend("--ft-switch-label-horizontal-padding","",ve.spacing2),labelVerticalPadding:me.extend("--ft-switch-label-vertical-padding","",ve.spacing1),offHoverStateLayerOpacity:me.extend("--ft-switch-off-hover-state-layer-opacity","",ve.opacity8),offFocusStateLayerOpacity:me.extend("--ft-switch-off-focus-state-layer-opacity","",ve.opacity8),offActiveStateLayerOpacity:me.extend("--ft-switch-off-active-state-layer-opacity","",ve.opacity16),offDisabledComponentOpacity:me.extend("--ft-switch-off-disabled-component-opacity","",ve.opacity40),offColor:me.extend("--ft-switch-off-color","",Ge.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-switch-off-state-layer-color","",Ge.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-switch-on-hover-state-layer-opacity","",ve.opacity8),onFocusStateLayerOpacity:me.extend("--ft-switch-on-focus-state-layer-opacity","",ve.opacity8),onActiveStateLayerOpacity:me.extend("--ft-switch-on-active-state-layer-opacity","",ve.opacity16),onDisabledComponentOpacity:me.extend("--ft-switch-on-disabled-component-opacity","",ve.opacity40),onColor:me.extend("--ft-switch-on-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-switch-on-state-layer-color","",Ge.contentActionPrimary),iconHorizontalPadding:me.extend("--ft-switch-icon-horizontal-padding","",ve.spacing1),iconVerticalPadding:me.extend("--ft-switch-icon-vertical-padding","",ve.spacing1),focusOutlineWidth:me.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:me.extend("--ft-switch-focus-focus-ring-color","",Ge.borderActionFocusRing),optionBorderRadius:me.extend("--ft-switch-option-border-radius","",ve.borderRadiusS)},cr={color1Light:me.extend("--ft-chart-1-light","for area color charts",ve.colorBrand40),color1Base:me.extend("--ft-chart-1-base","for line charts",ve.colorBrand0),color2Light:me.extend("--ft-chart-2-light","for area color charts",ve.colorYellow60),color2Base:me.extend("--ft-chart-2-base","for line charts",ve.colorYellow100),color3Light:me.extend("--ft-chart-3-light","",ve.colorUltramarine40),color3Base:me.extend("--ft-chart-3-base","",ve.colorUltramarine70),color4Light:me.extend("--ft-chart-4-light","",ve.colorCyan50),color4Base:me.extend("--ft-chart-4-base","",ve.colorCyan100),color5Light:me.extend("--ft-chart-5-light","",ve.colorRed40),color5Base:me.extend("--ft-chart-5-base","",ve.colorRed60),color6Light:me.extend("--ft-chart-6-light","",ve.colorGreen40),color6Base:me.extend("--ft-chart-6-base","",ve.colorGreen70),color7Light:me.extend("--ft-chart-7-light","",ve.colorOrange70),color7Base:me.extend("--ft-chart-7-base","",ve.colorOrange100),color8Light:me.extend("--ft-chart-8-light","",ve.colorAvocado70),color8Base:me.extend("--ft-chart-8-base","",ve.colorAvocado200),color9Light:me.extend("--ft-chart-9-light","",ve.colorBrown50),color9Base:me.extend("--ft-chart-9-base","",ve.colorBrown200),color10Light:me.extend("--ft-chart-10-light","",ve.colorGray50),color10Base:me.extend("--ft-chart-10-base","",ve.colorGray80),monochrome10:me.extend("--ft-chart-monochrome-10","",ve.colorBrand10),monochrome20:me.extend("--ft-chart-monochrome-20","",ve.colorBrand20),monochrome30:me.extend("--ft-chart-monochrome-30","",ve.colorBrand40),monochrome40:me.extend("--ft-chart-monochrome-40","",ve.colorBrand60),monochrome50:me.extend("--ft-chart-monochrome-50","",ve.colorBrand0),monochrome60:me.extend("--ft-chart-monochrome-60","",ve.colorBrand200)},sr={largeHorizontalPadding:me.extend("--ft-chip-large-horizontal-padding","",ve.spacing4),largeVerticalPadding:me.extend("--ft-chip-large-vertical-padding","",ve.spacing2),largeGap:me.extend("--ft-chip-large-gap","",ve.spacing1),largeFocusOutlineOffset:me.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:me.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:me.extend("--ft-chip-large-border-radius","",ve.borderRadiusPill),largeBorderWidth:me.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:me.extend("--ft-chip-large-icon-size","",ve.iconSize3),mediumHorizontalPadding:me.extend("--ft-chip-medium-horizontal-padding","",ve.spacing3),mediumVerticalPadding:me.extend("--ft-chip-medium-vertical-padding","",ve.spacing1),mediumGap:me.extend("--ft-chip-medium-gap","",ve.spacing1),mediumFocusOutlineOffset:me.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:me.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:me.extend("--ft-chip-medium-border-radius","",ve.borderRadiusPill),mediumBorderWidth:me.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:me.extend("--ft-chip-medium-icon-size","",ve.iconSize2),smallHorizontalPadding:me.extend("--ft-chip-small-horizontal-padding","",ve.spacing2),smallVerticalPadding:me.extend("--ft-chip-small-vertical-padding","",ve.spacing05),smallGap:me.extend("--ft-chip-small-gap","",ve.spacing1),smallFocusOutlineOffset:me.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:me.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:me.extend("--ft-chip-small-border-radius","",ve.borderRadiusPill),smallBorderWidth:me.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:me.extend("--ft-chip-small-icon-size","",ve.iconSize1),neutralBackgroundColor:me.extend("--ft-chip-neutral-background-color","",Ge.backgroundGlobalOnSurface),neutralColor:me.extend("--ft-chip-neutral-color","",Ge.contentGlobalPrimary),neutralIconColor:me.extend("--ft-chip-neutral-icon-color","",Ge.contentGlobalPrimary),neutralBorderColor:me.extend("--ft-chip-neutral-border-color","",Ge.borderGlobalSubtle),infoBackgroundColor:me.extend("--ft-chip-info-background-color","",Ge.backgroundInfoSubtle),infoColor:me.extend("--ft-chip-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-chip-info-icon-color","",Ge.contentInfoIconOnly),infoBorderColor:me.extend("--ft-chip-info-border-color","",Ge.borderInfoSubtle),successBackgroundColor:me.extend("--ft-chip-success-background-color","",Ge.backgroundSuccessSubtle),successColor:me.extend("--ft-chip-success-color","",Ge.contentSuccessPrimary),successIconColor:me.extend("--ft-chip-success-icon-color","",Ge.contentSuccessIconOnly),successBorderColor:me.extend("--ft-chip-success-border-color","",Ge.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-chip-warning-background-color","",Ge.backgroundWarningSubtle),warningColor:me.extend("--ft-chip-warning-color","",Ge.contentWarningPrimary),warningIconColor:me.extend("--ft-chip-warning-icon-color","",Ge.contentWarningIconOnly),warningBorderColor:me.extend("--ft-chip-warning-border-color","",Ge.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-chip-error-background-color","",Ge.backgroundErrorSubtle),errorColor:me.extend("--ft-chip-error-color","",Ge.contentErrorPrimary),errorIconColor:me.extend("--ft-chip-error-icon-color","",Ge.contentErrorIconOnly),errorBorderColor:me.extend("--ft-chip-error-border-color","",Ge.borderErrorSubtle)},fr={infoBorderColor:me.extend("--ft-border-info-border-color","",Ge.borderInfoSubtle)},pr={borderWidth:me.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:me.extend("--ft-notice-horizontal-padding","",ve.spacing2),verticalPadding:me.extend("--ft-notice-vertical-padding","",ve.spacing1),borderRadius:me.extend("--ft-notice-border-radius","",ve.borderRadiusS),gap:me.extend("--ft-notice-gap","",ve.spacing2),iconSize:me.extend("--ft-notice-icon-size","",ve.iconSize3),infoBackgroundColor:me.extend("--ft-notice-info-background-color","",Ge.backgroundInfoSubtle),infoBorderColor:me.extend("--ft-notice-info-border-color","",Ge.borderInfoSubtle),infoColor:me.extend("--ft-notice-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-notice-info-icon-color","",Ge.contentInfoIconOnly),warningBackgroundColor:me.extend("--ft-notice-warning-background-color","",Ge.backgroundWarningSubtle),warningBorderColor:me.extend("--ft-notice-warning-border-color","",Ge.borderWarningSubtle),warningColor:me.extend("--ft-notice-warning-color","",Ge.contentWarningPrimary),warningIconColor:me.extend("--ft-notice-warning-icon-color","",Ge.contentWarningIconOnly)},hr={color:me.extend("--ft-checkbox-color","",Ge.contentGlobalPrimary),checkedBackgroundColor:me.extend("--ft-checkbox-checked-background-color","",Ge.contentActionPrimary),checkedStateLayerColor:me.extend("--ft-checkbox-checked-state-layer-color","",Ge.contentActionPrimary),checkedIconColor:me.extend("--ft-checkbox-checked-icon-color","",Ge.contentGlobalOnColor),checkedHoverStateLayerOpacity:me.extend("--ft-checkbox-checked-hover-state-layer-opacity","",ve.opacity16),checkedFocusStateLayerOpacity:me.extend("--ft-checkbox-checked-focus-state-layer-opacity","",ve.opacity16),checkedActiveStateLayerOpacity:me.extend("--ft-checkbox-checked-active-state-layer-opacity","",ve.opacity24),checkedDisabledComponentOpacity:me.extend("--ft-checkbox-checked-disabled-component-opacity","",ve.opacity40),uncheckedBorderColor:me.extend("--ft-checkbox-unchecked-border-color","",ve.colorGray80),uncheckedStateLayerColor:me.extend("--ft-checkbox-unchecked-state-layer-color","",ve.colorGray80),uncheckedHoverStateLayerOpacity:me.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",ve.opacity16),uncheckedFocusStateLayerOpacity:me.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",ve.opacity16),uncheckedActiveStateLayerOpacity:me.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",ve.opacity24),uncheckedDisabledComponentOpacity:me.extend("--ft-checkbox-unchecked-disabled-component-opacity","",ve.opacity40),focusFocusRingColor:me.extend("--ft-checkbox-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-checkbox-gap","",ve.spacing3)},ur={offHoverStateLayerOpacity:me.extend("--ft-toggle-off-hover-state-layer-opacity","",ve.opacity16),offFocusStateLayerOpacity:me.extend("--ft-toggle-off-focus-state-layer-opacity","",ve.opacity16),offActiveStateLayerOpacity:me.extend("--ft-toggle-off-active-state-layer-opacity","",ve.opacity24),offDisabledComponentOpacity:me.extend("--ft-toggle-off-disabled-component-opacity","",ve.opacity40),offBackgroundColor:me.extend("--ft-toggle-off-background-color","",Ge.contentGlobalSubtle),offIconColor:me.extend("--ft-toggle-off-icon-color","",Ge.contentGlobalSubtle),offStateLayerColor:me.extend("--ft-toggle-off-state-layer-color","",Ge.contentGlobalSubtle),onHoverStateLayerOpacity:me.extend("--ft-toggle-on-hover-state-layer-opacity","",ve.opacity16),onFocusStateLayerOpacity:me.extend("--ft-toggle-on-focus-state-layer-opacity","",ve.opacity16),onActiveStateLayerOpacity:me.extend("--ft-toggle-on-active-state-layer-opacity","",ve.opacity24),onDisabledComponentOpacity:me.extend("--ft-toggle-on-disabled-component-opacity","",ve.opacity40),onBackgroundColor:me.extend("--ft-toggle-on-background-color","",Ge.contentActionPrimary),onStateLayerColor:me.extend("--ft-toggle-on-state-layer-color","",Ge.contentActionPrimary),onIconColor:me.extend("--ft-toggle-on-icon-color","",Ge.contentActionPrimary),color:me.extend("--ft-toggle-color","",Ge.contentGlobalPrimary),focusFocusRingColor:me.extend("--ft-toggle-focus-focus-ring-color","",Ge.borderActionFocusRing),gap:me.extend("--ft-toggle-gap","",ve.spacing3)},dr={color:me.extend("--ft-radio-color","",Ge.contentGlobalPrimary),selectedRadioColor:me.extend("--ft-radio-selected-radio-color","",Ge.contentActionPrimary),selectedStateLayerColor:me.extend("--ft-radio-selected-state-layer-color","",Ge.contentActionPrimary),selectedHoverStateLayerOpacity:me.extend("--ft-radio-selected-hover-state-layer-opacity","",ve.opacity16),selectedFocusStateLayerOpacity:me.extend("--ft-radio-selected-focus-state-layer-opacity","",ve.opacity16),selectedActiveStateLayerOpacity:me.extend("--ft-radio-selected-active-state-layer-opacity","",ve.opacity24),selectedDisabledComponentOpacity:me.extend("--ft-radio-selected-disabled-component-opacity","",ve.opacity40),unselectedStateLayerColor:me.extend("--ft-radio-unselected-state-layer-color","",Ge.borderInputPrimary),unselectedBorderColor:me.extend("--ft-radio-unselected-border-color","",Ge.borderInputPrimary),unselectedHoverStateLayerOpacity:me.extend("--ft-radio-unselected-hover-state-layer-opacity","",ve.opacity16),unselectedFocusStateLayerOpacity:me.extend("--ft-radio-unselected-focus-state-layer-opacity","",ve.opacity16),unselectedActiveStateLayerOpacity:me.extend("--ft-radio-unselected-active-state-layer-opacity","",ve.opacity24),unselectedDisabledComponentOpacity:me.extend("--ft-radio-unselected-disabled-component-opacity","",ve.opacity40),focusFocusRingColor:me.extend("--ft-radio-focus-focus-ring-color","",Ge.borderActionFocusRing),focusOutlineOffset:me.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:me.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:me.extend("--ft-radio-gap","",ve.spacing3)},yr={iconSize:me.extend("--ft-notification-icon-size","",ve.iconSize4),horizontalPadding:me.extend("--ft-notification-horizontal-padding","",ve.spacing4),verticalPadding:me.extend("--ft-notification-vertical-padding","",ve.spacing4),infoBackgroundColor:me.extend("--ft-notification-info-background-color","",Ge.backgroundInfoSubtle),infoColor:me.extend("--ft-notification-info-color","",Ge.contentInfoPrimary),infoIconColor:me.extend("--ft-notification-info-icon-color","",Ge.contentInfoIconOnly),infoBorderColor:me.extend("--ft-notification-info-border-color","",Ge.borderInfoSubtle),successBackgroundColor:me.extend("--ft-notification-success-background-color","",Ge.backgroundSuccessSubtle),successColor:me.extend("--ft-notification-success-color","",Ge.contentSuccessPrimary),successIconColor:me.extend("--ft-notification-success-icon-color","",Ge.contentSuccessIconOnly),successBorderColor:me.extend("--ft-notification-success-border-color","",Ge.borderSuccessSubtle),warningBackgroundColor:me.extend("--ft-notification-warning-background-color","",Ge.backgroundWarningSubtle),warningColor:me.extend("--ft-notification-warning-color","",Ge.contentWarningPrimary),warningIconColor:me.extend("--ft-notification-warning-icon-color","",Ge.contentWarningIconOnly),warningBorderColor:me.extend("--ft-notification-warning-border-color","",Ge.borderWarningSubtle),errorBackgroundColor:me.extend("--ft-notification-error-background-color","",Ge.backgroundErrorSubtle),errorColor:me.extend("--ft-notification-error-color","",Ge.contentErrorPrimary),errorIconColor:me.extend("--ft-notification-error-icon-color","",Ge.contentErrorIconOnly),errorBorderColor:me.extend("--ft-notification-error-border-color","",Ge.borderErrorSubtle),borderRadius:me.extend("--ft-notification-border-radius","",ve.borderRadiusPill),borderWidth:me.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:me.extend("--ft-notification-leading-gap","",ve.spacing2),trailingGap:me.extend("--ft-notification-trailing-gap","",ve.spacing8)},gr={horizontalPadding:me.extend("--ft-tooltip-horizontal-padding","",ve.spacing2),verticalPadding:me.extend("--ft-tooltip-vertical-padding","",ve.spacing2),borderRadius:me.extend("--ft-tooltip-border-radius","",ve.borderRadiusS),color:me.extend("--ft-tooltip-color","",Ge.contentGlobalOnColor),backgroundColor:me.extend("--ft-tooltip-background-color","",Ge.contentGlobalPrimary),backgroundOpacity:me.extend("--ft-tooltip-background-opacity","",ve.opacity80),shadow:me.extend("--ft-tooltip-shadow","",ve.shadowElevation03),maxWidth:me.create("--ft-tooltip-max-width","","SIZE","256px"),gap:me.extend("--ft-tooltip-gap","",ve.spacing05)};var br=Object.freeze({__proto__:null,FtCssVariableFactory:me,banner:qe,border:fr,breadcrumb:Ye,button:Ve,chart:cr,checkbox:hr,chip:sr,collapsible:ar,comboboxMultiSelect:rr,comboboxSingleSelect:er,floatingMenu:or,foundation:ve,modal:Xe,notice:pr,notification:yr,pageHeader:Je,popover:nr,radio:dr,semantic:Ge,setVariable:function(t,o){return be(`${t.name}: ${o}`)},switch_:lr,tabs:ir,textArea:tr,textInput:Qe,toggle:ur,tooltip:gr,typographies:Te,typographyBody1Medium:Ce,typographyBody1Regular:Ne,typographyBody1Semibold:Ee,typographyBody2Medium:Ie,typographyBody2MediumUnderline:Le,typographyBody2Regular:Re,typographyBody2Semibold:Ue,typographyCaption1Bold:Ke,typographyCaption1Medium:Be,typographyCaption1Semibold:_e,typographyCaption2Bold:je,typographyCaption2Medium:Pe,typographyCaption2Semibold:Ze,typographyCaption3Bold:He,typographyCaption3Medium:Me,typographyCaption3Semibold:De,typographyDisplay:Oe,typographyLabel1Bold:$e,typographyLabel1Medium:We,typographyLabel1Semibold:ke,typographyLabel2Bold:Ae,typographyLabel2Medium:ze,typographyLabel2Semibold:Fe,typographyTitle1:xe,typographyTitle2:Se,typographyTitle3:we,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const mr={colorPrimary:me.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:me.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:me.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:me.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:me.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:me.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:me.create("--ft-color-error","","COLOR","#B00020"),colorOutline:me.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:me.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:me.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:me.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:me.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:me.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:me.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:me.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:me.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:me.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:me.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:me.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:me.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:me.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:me.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:me.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:me.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:me.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:me.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:me.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:me.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:me.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:me.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:me.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:me.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:me.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:me.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:me.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:me.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:me.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:me.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:me.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:me.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:me.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:me.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:me.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:me.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.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:me.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:me.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:me.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:me.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:me.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:me.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:me.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:me.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var vr=Object.freeze({__proto__:null,designSystemVariables:mr});class Or extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class xr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Sr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var wr=Object.freeze({__proto__:null,FtNotificationEvent:Or,PostResizeEvent:Sr,PreResizeEvent:xr});const Nr=["start","end"],Cr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Nr[0],o+"-"+Nr[1])),[]),Er=Math.min,Rr=Math.max,Ir=Math.round,Lr=t=>({x:t,y:t}),Ur={left:"right",right:"left",bottom:"top",top:"bottom"},Wr={start:"end",end:"start"};function kr(t,o,e){return Rr(t,Er(o,e))}function $r(t,o){return"function"==typeof t?t(o):t}function zr(t){return t.split("-")[0]}function Fr(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function Br(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(zr(t))?"y":"x"}function Kr(t){return Ar(_r(t))}function Pr(t){return t.replace(/left|right|bottom|top/g,(t=>Ur[t]))}function Zr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function jr(t,o,e){let{reference:r,floating:n}=t;const i=_r(o),a=Kr(o),l=Br(a),c=zr(o),s="y"===i,f=r.x+r.width/2-n.width/2,p=r.y+r.height/2-n.height/2,h=r[l]/2-n[l]/2;let u;switch(c){case"top":u={x:f,y:r.y-n.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-n.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Fr(o)){case"start":u[a]-=h*(e&&s?-1:1);break;case"end":u[a]+=h*(e&&s?-1:1)}return u}async function Mr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=$r(o,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=l[h?"floating"===p?"reference":"floating":p],g=Zr(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(y)))||e?y:y.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:n}:a.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),v=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},O=Zr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-O.top+d.top)/v.y,bottom:(O.bottom-g.bottom+d.bottom)/v.y,left:(g.left-O.left+d.left)/v.x,right:(O.right-g.right+d.right)/v.x}}function Dr(t,o,e){return(t?[...e.filter((o=>Fr(o)===t)),...e.filter((o=>Fr(o)!==t))]:e.filter((t=>zr(t)===t))).filter((e=>!t||(Fr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Wr[t]))}(e)!==e)))}const Hr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,n;const{rects:i,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Cr,autoAlignment:u=!0,...d}=$r(t,o),y=void 0!==p||h===Cr?Dr(p||null,u,h):h,g=await Mr(o,d),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Fr(t),n=Kr(t),i=Br(n);let a="x"===n?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(a=Pr(a)),[a,Pr(a)]}(m,i,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[g[zr(m)],g[v[0]],g[v[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],S=y[b+1];if(S)return{data:{index:b+1,overflows:x},reset:{placement:S}};const w=x.map((t=>{const o=Fr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=w.filter((t=>t[2].slice(0,Fr(t[0])?2:3).every((t=>t<=0)))),C=(null==(n=N[0])?void 0:n[0])||w[0][0];return C!==l?{data:{index:b+1,overflows:x},reset:{placement:C}}:{}}}};function Tr(t){return qr(t)?(t.nodeName||"").toLowerCase():"#document"}function Gr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Vr(t){var o;return null==(o=(qr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function qr(t){return t instanceof Node||t instanceof Gr(t).Node}function Yr(t){return t instanceof Element||t instanceof Gr(t).Element}function Jr(t){return t instanceof HTMLElement||t instanceof Gr(t).HTMLElement}function Xr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Gr(t).ShadowRoot)}function Qr(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=nn(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function tn(t){return["table","td","th"].includes(Tr(t))}function on(t){const o=en(),e=nn(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function en(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function rn(t){return["html","body","#document"].includes(Tr(t))}function nn(t){return Gr(t).getComputedStyle(t)}function an(t){return Yr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ln(t){if("html"===Tr(t))return t;const o=t.assignedSlot||t.parentNode||Xr(t)&&t.host||Vr(t);return Xr(o)?o.host:o}function cn(t){const o=ln(t);return rn(o)?t.ownerDocument?t.ownerDocument.body:t.body:Jr(o)&&Qr(o)?o:cn(o)}function sn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=cn(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Gr(n);return i?o.concat(a,a.visualViewport||[],Qr(n)?n:[],a.frameElement&&e?sn(a.frameElement):[]):o.concat(n,sn(n,[],e))}function fn(t){const o=nn(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Jr(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,l=Ir(e)!==i||Ir(r)!==a;return l&&(e=i,r=a),{width:e,height:r,$:l}}function pn(t){return Yr(t)?t:t.contextElement}function hn(t){const o=pn(t);if(!Jr(o))return Lr(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=fn(o);let a=(i?Ir(e.width):e.width)/r,l=(i?Ir(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const un=Lr(0);function dn(t){const o=Gr(t);return en()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:un}function yn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=pn(t);let a=Lr(1);o&&(r?Yr(r)&&(a=hn(r)):a=hn(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Gr(t))&&o}(i,e,r)?dn(i):Lr(0);let c=(n.left+l.x)/a.x,s=(n.top+l.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(i){const t=Gr(i),o=r&&Yr(r)?Gr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=hn(e),o=e.getBoundingClientRect(),r=nn(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,f*=t.x,p*=t.y,c+=n,s+=i,e=Gr(e).frameElement}}return Zr({width:f,height:p,x:c,y:s})}function gn(t){return yn(Vr(t)).left+an(t).scrollLeft}function bn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Gr(t),r=Vr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(n){i=n.width,a=n.height;const t=en();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,c=n.offsetTop)}return{width:i,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Vr(t),e=an(t),r=t.ownerDocument.body,n=Rr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=Rr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+gn(t);const l=-e.scrollTop;return"rtl"===nn(r).direction&&(a+=Rr(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:l}}(Vr(t));else if(Yr(o))r=function(t,o){const e=yn(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Jr(t)?hn(t):Lr(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:n*i.x,y:r*i.y}}(o,e);else{const e=dn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Zr(r)}function mn(t,o){const e=ln(t);return!(e===o||!Yr(e)||rn(e))&&("fixed"===nn(e).position||mn(e,o))}function vn(t,o,e){const r=Jr(o),n=Vr(o),i="fixed"===e,a=yn(t,!0,i,o);let l={scrollLeft:0,scrollTop:0};const c=Lr(0);if(r||!r&&!i)if(("body"!==Tr(o)||Qr(n))&&(l=an(o)),r){const t=yn(o,!0,i,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else n&&(c.x=gn(n));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function On(t,o){return Jr(t)&&"fixed"!==nn(t).position?o?o(t):t.offsetParent:null}function xn(t,o){const e=Gr(t);if(!Jr(t))return e;let r=On(t,o);for(;r&&tn(r)&&"static"===nn(r).position;)r=On(r,o);return r&&("html"===Tr(r)||"body"===Tr(r)&&"static"===nn(r).position&&!on(r))?e:r||function(t){let o=ln(t);for(;Jr(o)&&!rn(o);){if(on(o))return o;o=ln(o)}return null}(t)||e}const Sn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Jr(e),i=Vr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},l=Lr(1);const c=Lr(0);if((n||!n&&"fixed"!==r)&&(("body"!==Tr(e)||Qr(i))&&(a=an(e)),Jr(e))){const t=yn(e);l=hn(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Vr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:n}=t;const i=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=sn(t,[],!1).filter((t=>Yr(t)&&"body"!==Tr(t))),n=null;const i="fixed"===nn(t).position;let a=i?ln(t):t;for(;Yr(a)&&!rn(a);){const o=nn(a),e=on(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||Qr(a)&&!e&&mn(t,a))?r=r.filter((t=>t!==a)):n=o,a=ln(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],l=i.reduce(((t,e)=>{const r=bn(o,e,n);return t.top=Rr(r.top,t.top),t.right=Er(r.right,t.right),t.bottom=Er(r.bottom,t.bottom),t.left=Rr(r.left,t.left),t}),bn(o,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:xn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||xn,i=this.getDimensions;return{reference:vn(o,await n(e),r),floating:{x:0,y:0,...await i(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return fn(t)},getScale:hn,isElement:Yr,isRTL:function(t){return"rtl"===nn(t).direction}},wn=(t,o,e)=>{const r=new Map,n={platform:Sn,...e},i={...n.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:n="absolute",middleware:i=[],platform:a}=e,l=i.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:p}=jr(s,r,c),h=r,u={},d=0;for(let e=0;e<l.length;e++){const{name:i,fn:y}=l[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:n,middlewareData:u,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[i]:{...u[i],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:p}=jr(s,h,c))),e=-1)}return{x:f,y:p,placement:h,strategy:n,middlewareData:u}})(t,o,{...n,platform:i})};function Nn(t){return function(t){for(let o=t;o;o=Cn(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Cn(t);o;o=Cn(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Cn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function En(t,o,e){return wn(t,o,{platform:{...Sn,getOffsetParent:t=>Sn.getOffsetParent(t,Nn)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:n}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=$r(r,t),s={x:o,y:e},f=await Mr(t,c),p=_r(zr(n)),h=Ar(p);let u=s[h],d=s[p];if(i){const t="y"===h?"bottom":"right";u=kr(u+f["y"===h?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";d=kr(d+f["y"===p?"top":"left"],d,d-f[t])}const y=l.fn({...t,[h]:u,[p]:d});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Hr({allowedPlacements:[e]})]});var r}var Rn=Object.freeze({__proto__:null,computeOffsetPosition:En});
136
136
  /**
137
137
  * @license
138
138
  * Copyright 2019 Google LLC
139
139
  * SPDX-License-Identifier: BSD-3-Clause
140
- */const bn=window,mn=bn.ShadowRoot&&(void 0===bn.ShadyCSS||bn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class On extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{mn?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=bn.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var vn,Sn=Object.freeze({__proto__:null,ScopedRegistryLitElement:On}),wn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const xn=Symbol("constructorPrototype"),Nn=Symbol("constructorName"),Cn=Symbol("exportpartsDebouncer");class En extends On{constructor(){super(),this[vn]=new ae(5),this[Nn]=this.constructor.name,this[xn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Nn]&&Object.setPrototypeOf(this,this[xn])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Cn].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}vn=Cn,wn([xo()],En.prototype,"exportpartsPrefix",void 0),wn([de([])],En.prototype,"exportpartsPrefixes",void 0),wn([xo()],En.prototype,"customStylesheet",void 0);var Rn=Object.freeze({__proto__:null,FtLitElement:En}),Ln=Object.freeze({__proto__:null});class In{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,n=null;const i=()=>{if(!r){r=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const s=()=>{--i<=0&&r(a)};i||s(),n.forEach((t=>{In.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),s()}),s)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new In(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let n=!1,i=!1;return r.forEach(((t,o)=>{t.val===e&&(n=o,i=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==n||i?!1===n||i||(r[n].handled=!0):r.push({val:e,handled:!0}),!0):(!1===n&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,n){const i=this.createIterator(o,t,r);let a,s,c=[],l=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,s,t,c)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(c,t,e,r),n()}forEachNode(t,o,e,r=(()=>{})){const n=this.getContexts();let i=n.length;i||r(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,o,e,(()=>{--i<=0&&r()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const Un=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new In(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in o)if(o.hasOwnProperty(n)){const i=o[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((n=>{e.every((e=>{if(-1!==e.indexOf(n)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,n="";switch(r.forEach((t=>{n+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:n,valid:i}=this.callNoMatchOnInvalidRanges(t,e);i&&(t.start=r,t.length=n-r,o.push(t),e=n)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,n=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?n=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:n}}checkWhitespaceRanges(t,o,e){let r,n=!0,i=e.length,a=o-i,s=parseInt(t.start,10)-a;return s=s>i?i:s,r=s+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),s<0||r-s<0||s>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(s,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:n}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return In.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",n=t.splitText(o),i=n.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,o,e,r,n){t.nodes.every(((i,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>o){if(!r(i.node))return!1;const s=o-i.start,c=(e>i.end?i.end:e)-i.start,l=t.value.substr(0,i.start),f=t.value.substr(c+i.start);if(i.node=this.wrapRangeInTextNode(i.node,s,c),t.value=l+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=c),t.nodes[e].end-=c)})),e-=c,n(i.node.previousSibling,i.start),!(e>i.end))return!1;o=i.end}return!0}))}wrapMatches(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let n;for(o=o.node;null!==(n=t.exec(o.textContent))&&""!==n[i];){if(!e(n[i],o))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;o=this.wrapRangeInTextNode(o,a,a+n[i].length),r(o.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const s=n+a[i].length;this.wrapRangeInMappedTextNode(o,n,s,(t=>e(a[i],t)),((o,e)=>{t.lastIndex=e,r(o)}))}n()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,i,n.value);c&&this.wrapRangeInMappedTextNode(n,a,s,(e=>o(e,t,n.value.substring(a,s),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,c)),(t=>{c++,e++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(e):s(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(e):s(n[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=In.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Wn=me.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),kn=ht`
140
+ */const In=window,Ln=In.ShadowRoot&&(void 0===In.ShadyCSS||In.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Un extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ln?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=In.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Wn,kn=Object.freeze({__proto__:null,ScopedRegistryLitElement:Un}),$n=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const zn=Symbol("constructorPrototype"),Fn=Symbol("constructorName"),An=Symbol("exportpartsDebouncer");class Bn extends Un{constructor(){super(),this[Wn]=new ae(5),this[Fn]=this.constructor.name,this[zn]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fn]&&Object.setPrototypeOf(this,this[zn])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[An].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,n,i,a;const l=t=>null!=t&&t.trim().length>0,c=t.filter(l).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const s=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Wn=An,$n([wo()],Bn.prototype,"exportpartsPrefix",void 0),$n([de([])],Bn.prototype,"exportpartsPrefixes",void 0),$n([wo()],Bn.prototype,"customStylesheet",void 0);var _n=Object.freeze({__proto__:null,FtLitElement:Bn}),Kn=Object.freeze({__proto__:null});class Pn{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,n=null;const i=()=>{if(!r){r=!0,clearTimeout(n);try{this.isIframeBlank(t)||(t.removeEventListener("load",i),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let n=t.querySelectorAll("iframe"),i=n.length,a=0;n=Array.prototype.slice.call(n);const l=()=>{--i<=0&&r(a)};i||l(),n.forEach((t=>{Pn.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),l()}),l)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Pn(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let n=!1,i=!1;return r.forEach(((t,o)=>{t.val===e&&(n=o,i=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==n||i?!1===n||i||(r[n].handled=!0):r.push({val:e,handled:!0}),!0):(!1===n&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,n){const i=this.createIterator(o,t,r);let a,l,c=[],s=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(i)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,c)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>s.push(t)),r)})),s.push(a);s.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(c,t,e,r),n()}forEachNode(t,o,e,r=(()=>{})){const n=this.getContexts();let i=n.length;i||r(),n.forEach((n=>{const a=()=>{this.iterateThroughNodes(t,n,o,e,(()=>{--i<=0&&r()}))};this.iframes?this.waitForIframes(n,a):a()}))}}const Zn=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Pn(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in o)if(o.hasOwnProperty(n)){const i=o[n],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((n=>{e.every((e=>{if(-1!==e.indexOf(n)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,n="";switch(r.forEach((t=>{n+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return n="\\s"+(n||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${n}]*${t}[^${n}]*)`;case"exactly":return`(^|\\s${n})(${t})(?=$|\\s${n})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:n,valid:i}=this.callNoMatchOnInvalidRanges(t,e);i&&(t.start=r,t.length=n-r,o.push(t),e=n)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,n=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>0?n=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:e,end:r,valid:n}}checkWhitespaceRanges(t,o,e){let r,n=!0,i=e.length,a=o-i,l=parseInt(t.start,10)-a;return l=l>i?i:l,r=l+parseInt(t.length,10),r>i&&(r=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||r-l<0||l>i||r>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:n}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Pn.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",n=t.splitText(o),i=n.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=n.textContent,n.parentNode.replaceChild(a,n),i}wrapRangeInMappedTextNode(t,o,e,r,n){t.nodes.every(((i,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(i.node))return!1;const l=o-i.start,c=(e>i.end?i.end:e)-i.start,s=t.value.substr(0,i.start),f=t.value.substr(c+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,c),t.value=s+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=c),t.nodes[e].end-=c)})),e-=c,n(i.node.previousSibling,i.start),!(e>i.end))return!1;o=i.end}return!0}))}wrapMatches(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let n;for(o=o.node;null!==(n=t.exec(o.textContent))&&""!==n[i];){if(!e(n[i],o))continue;let a=n.index;if(0!==i)for(let t=1;t<i;t++)a+=n[t].length;o=this.wrapRangeInTextNode(o,a,a+n[i].length),r(o.previousSibling),t.lastIndex=0}})),n()}))}wrapMatchesAcrossElements(t,o,e,r,n){const i=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[i];){let n=a.index;if(0!==i)for(let t=1;t<i;t++)n+=a[t].length;const l=n+a[i].length;this.wrapRangeInMappedTextNode(o,n,l,(t=>e(a[i],t)),((o,e)=>{t.lastIndex=e,r(o)}))}n()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((n=>{const i=n.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:c}=this.checkWhitespaceRanges(t,i,n.value);c&&this.wrapRangeInMappedTextNode(n,a,l,(e=>o(e,t,n.value.substring(a,l),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,c)),(t=>{c++,e++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),n[i-1]===t?this.opt.done(e):l(n[n.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===i?this.opt.done(e):l(n[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Pn.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},jn=me.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Mn=ht`
141
141
  .highlight-html-match {
142
- background: ${Wn};
142
+ background: ${jn};
143
143
  }
144
- `,$n={className:"highlight-html-match"};var An=Object.freeze({__proto__:null,highlightHtml:function(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new Un(t);if(r.unmark($n),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...$n,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...$n,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:Wn,highlightHtmlStyles:kn});const Fn=ht`
144
+ `,Dn={className:"highlight-html-match"};var Hn=Object.freeze({__proto__:null,highlightHtml:function(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new Zn(t);if(r.unmark(Dn),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Dn,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Dn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:jn,highlightHtmlStyles:Mn});const Tn=ht`
145
145
  .ft-no-text-select {
146
146
  -webkit-touch-callout: none;
147
147
  -webkit-user-select: none;
@@ -150,7 +150,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
150
150
  -ms-user-select: none;
151
151
  user-select: none;
152
152
  }
153
- `,_n=ht`
153
+ `,Gn=ht`
154
154
  .ft-word-wrap {
155
155
  white-space: normal;
156
156
  word-wrap: break-word;
@@ -162,7 +162,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
162
162
  -webkit-hyphens: auto;
163
163
  hyphens: auto
164
164
  }
165
- `,Kn=ht`
165
+ `,Vn=ht`
166
166
  .ft-safari-ellipsis-fix {
167
167
  margin-right: 0;
168
168
 
@@ -173,108 +173,108 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
173
173
  display: inline-block;
174
174
  width: 0;
175
175
  }
176
- `;var jn=Object.freeze({__proto__:null,noTextSelect:Fn,safariEllipsisFix:Kn,wordWrap:_n}),Pn=Object.freeze({__proto__:null});var Bn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class zn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Mn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Dn,Zn,Hn;const Tn=Symbol("internalReduxEventsUnsubscribers"),Gn=Symbol("internalStoresUnsubscribers"),Vn=Symbol("internalStores");class qn extends En{constructor(){super(...arguments),this[Dn]=new Map,this[Zn]=new Map,this[Hn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Vn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Vn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Vn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Mn(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Vn].delete(o)}setupStore(t,o){this[Vn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Vn].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Gn].has(t.store):this[Gn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Gn].set(t,o.subscribe((()=>this.updateFromStores()))),Mn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Tn].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Gn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Tn].forEach((t=>t())),this[Tn]=[]}unsubscribeFromStore(t){this[Gn].has(t)&&this[Gn].get(t)(),this[Gn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Yn(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Jn(t){return!!t&&!!t[Ki]}function Xn(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===ji}(t)||Array.isArray(t)||!!t[_i]||!!(null===(o=t.constructor)||void 0===o?void 0:o[_i])||ni(t)||ii(t))}function Qn(t,o,e){void 0===e&&(e=!1),0===ti(t)?(e?Object.keys:Pi)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function ti(t){var o=t[Ki];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:ni(t)?2:ii(t)?3:0}function oi(t,o){return 2===ti(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function ei(t,o,e){var r=ti(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function ri(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function ni(t){return ki&&t instanceof Map}function ii(t){return $i&&t instanceof Set}function ai(t){return t.o||t.t}function si(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Bi(t);delete o[Ki];for(var e=Pi(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function ci(t,o){return void 0===o&&(o=!1),fi(t)||Jn(t)||!Xn(t)||(ti(t)>1&&(t.set=t.add=t.clear=t.delete=li),Object.freeze(t),o&&Qn(t,(function(t,o){return ci(o,!0)}),!0)),t}function li(){Yn(2)}function fi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function pi(t){var o=zi[t];return o||Yn(18,t),o}function hi(){return Ui}function ui(t,o){o&&(pi("Patches"),t.u=[],t.s=[],t.v=o)}function di(t){yi(t),t.p.forEach(bi),t.p=null}function yi(t){t===Ui&&(Ui=t.l)}function gi(t){return Ui={p:[],l:Ui,h:t,m:!0,_:0}}function bi(t){var o=t[Ki];0===o.i||1===o.i?o.j():o.g=!0}function mi(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||pi("ES5").S(o,t,r),r?(e[Ki].P&&(di(o),Yn(4)),Xn(t)&&(t=Oi(o,t),o.l||Si(o,t)),o.u&&pi("Patches").M(e[Ki].t,t,o.u,o.s)):t=Oi(o,e,[]),di(o),o.u&&o.v(o.u,o.s),t!==Fi?t:void 0}function Oi(t,o,e){if(fi(o))return o;var r=o[Ki];if(!r)return Qn(o,(function(n,i){return vi(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Si(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=si(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),Qn(i,(function(o,i){return vi(t,r,n,o,i,e,a)})),Si(t,n,!1),e&&t.u&&pi("Patches").N(r,e,t.u,t.s)}return r.o}function vi(t,o,e,r,n,i,a){if(Jn(n)){var s=Oi(t,n,i&&o&&3!==o.i&&!oi(o.R,r)?i.concat(r):void 0);if(ei(e,r,s),!Jn(s))return;t.m=!1}else a&&e.add(n);if(Xn(n)&&!fi(n)){if(!t.h.D&&t._<1)return;Oi(t,n),o&&o.A.l||Si(t,n)}}function Si(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&ci(o,e)}function wi(t,o){var e=t[Ki];return(e?ai(e):t)[o]}function xi(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Ni(t){t.P||(t.P=!0,t.l&&Ni(t.l))}function Ci(t){t.o||(t.o=si(t.t))}function Ei(t,o,e){var r=ni(o)?pi("MapSet").F(o,e):ii(o)?pi("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:hi(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Mi;e&&(n=[r],i=Di);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):pi("ES5").J(o,e);return(e?e.A:hi()).p.push(r),r}function Ri(t){return Jn(t)||Yn(22,t),function t(o){if(!Xn(o))return o;var e,r=o[Ki],n=ti(o);if(r){if(!r.P&&(r.i<4||!pi("ES5").K(r)))return r.t;r.I=!0,e=Li(o,n),r.I=!1}else e=Li(o,n);return Qn(e,(function(o,n){r&&function(t,o){return 2===ti(t)?t.get(o):t[o]}(r.t,o)===n||ei(e,o,t(n))})),3===n?new Set(e):e}(t)}function Li(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return si(t)}Dn=Gn,Zn=Vn,Hn=Tn,qn.reduxProperties=new Map,qn.reduxReactiveProperties=new Set,qn.reduxEventListeners=new Map;var Ii,Ui,Wi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),ki="undefined"!=typeof Map,$i="undefined"!=typeof Set,Ai="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Fi=Wi?Symbol.for("immer-nothing"):((Ii={})["immer-nothing"]=!0,Ii),_i=Wi?Symbol.for("immer-draftable"):"__$immer_draftable",Ki=Wi?Symbol.for("immer-state"):"__$immer_state",ji=""+Object.prototype.constructor,Pi="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Bi=Object.getOwnPropertyDescriptors||function(t){var o={};return Pi(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},zi={},Mi={get:function(t,o){if(o===Ki)return t;var e=ai(t);if(!oi(e,o))return function(t,o,e){var r,n=xi(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!Xn(r)?r:r===wi(t.t,o)?(Ci(t),t.o[o]=Ei(t.A.h,r,t)):r},has:function(t,o){return o in ai(t)},ownKeys:function(t){return Reflect.ownKeys(ai(t))},set:function(t,o,e){var r=xi(ai(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=wi(ai(t),o),i=null==n?void 0:n[Ki];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(ri(e,n)&&(void 0!==e||oi(t.t,o)))return!0;Ci(t),Ni(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==wi(t.t,o)||o in t.t?(t.R[o]=!1,Ci(t),Ni(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=ai(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Yn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Yn(12)}},Di={};Qn(Mi,(function(t,o){Di[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Di.deleteProperty=function(t,o){return Di.set.call(this,t,o,void 0)},Di.set=function(t,o,e){return Mi.set.call(this,t[0],o,e,t[0])};var Zi=function(){function t(t){var o=this;this.O=Ai,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Yn(6),void 0!==r&&"function"!=typeof r&&Yn(7),Xn(t)){var s=gi(o),c=Ei(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?di(s):yi(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ui(s,r),mi(t,s)}),(function(t){throw di(s),t})):(ui(s,r),mi(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Fi&&(a=void 0),o.D&&ci(a,!0),r){var f=[],p=[];pi("Patches").M(t,a,f,p),r(f,p)}return a}Yn(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"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 o=t.prototype;return o.createDraft=function(t){Xn(t)||Yn(8),Jn(t)&&(t=Ri(t));var o=gi(this),e=Ei(this,t,void 0);return e[Ki].C=!0,yi(o),e},o.finishDraft=function(t,o){var e=(t&&t[Ki]).A;return ui(e,o),mi(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ai&&Yn(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=pi("Patches").$;return Jn(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Hi=new Zi,Ti=Hi.produce;function Gi(t){return Gi="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},Gi(t)}function Vi(t){var o=function(t,o){if("object"!==Gi(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Gi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Gi(o)?o:String(o)}function qi(t,o,e){return(o=Vi(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Yi(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function Ji(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Yi(Object(e),!0).forEach((function(o){qi(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yi(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Xi(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. "}Hi.produceWithPatches.bind(Hi),Hi.setAutoFreeze.bind(Hi),Hi.setUseProxies.bind(Hi),Hi.applyPatches.bind(Hi),Hi.createDraft.bind(Hi),Hi.finishDraft.bind(Hi);var Qi="function"==typeof Symbol&&Symbol.observable||"@@observable",ta=function(){return Math.random().toString(36).substring(7).split("").join(".")},oa={INIT:"@@redux/INIT"+ta(),REPLACE:"@@redux/REPLACE"+ta(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ta()}};function ea(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Xi(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Xi(1));return e(ea)(t,o)}if("function"!=typeof t)throw new Error(Xi(2));var n=t,i=o,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Xi(3));return i}function p(t){if("function"!=typeof t)throw new Error(Xi(4));if(c)throw new Error(Xi(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(Xi(6));o=!1,l();var e=s.indexOf(t);s.splice(e,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Xi(7));if(void 0===t.type)throw new Error(Xi(8));if(c)throw new Error(Xi(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return h({type:oa.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Xi(10));n=t,h({type:oa.REPLACE})}})[Qi]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Xi(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[Qi]=function(){return this},t},r}function ra(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:oa.INIT}))throw new Error(Xi(12));if(void 0===e(void 0,{type:oa.PROBE_UNKNOWN_ACTION()}))throw new Error(Xi(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=e[c],f=t[c],p=l(f,o);if(void 0===p)throw o&&o.type,new Error(Xi(14));n[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function na(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ia(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Xi(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=na.apply(void 0,i)(e.dispatch),Ji(Ji({},e),{},{dispatch:r})}}}function aa(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var sa=aa();sa.withExtraArgument=aa;var ca,la=sa,fa=(ca=function(t,o){return ca=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},ca(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}ca(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),pa=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},ha=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},ua=Object.defineProperty,da=Object.defineProperties,ya=Object.getOwnPropertyDescriptors,ga=Object.getOwnPropertySymbols,ba=Object.prototype.hasOwnProperty,ma=Object.prototype.propertyIsEnumerable,Oa=function(t,o,e){return o in t?ua(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},va=function(t,o){for(var e in o||(o={}))ba.call(o,e)&&Oa(t,e,o[e]);if(ga)for(var r=0,n=ga(o);r<n.length;r++){e=n[r];ma.call(o,e)&&Oa(t,e,o[e])}return t},Sa=function(t,o){return da(t,ya(o))},wa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?na:na.apply(null,arguments)};var xa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return fa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ha([void 0],t[0].concat(this)))):new(o.bind.apply(o,ha([void 0],t.concat(this))))},o}(Array),Na=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return fa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ha([void 0],t[0].concat(this)))):new(o.bind.apply(o,ha([void 0],t.concat(this))))},o}(Array);function Ca(t){return Xn(t)?Ti(t,(function(){})):t}function Ea(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new xa;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(la.withExtraArgument(e.extraArgument)):r.push(la));return r}(t)}}function Ra(t){var o,e=Ea(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?e():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ra(i)}var d=s;"function"==typeof d&&(d=d(e));var y=ia.apply(void 0,d),g=na;l&&(g=wa(va({trace:!1},"object"==typeof l&&l)));var b=new Na(y),m=b;return Array.isArray(u)?m=ha([y],u):"function"==typeof u&&(m=u(b)),ea(o,p,g.apply(void 0,m))}function La(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return va(va({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Ia(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Ua(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ca(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?Ia(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],l=void 0===c?void 0:c,f=va(va({},n),s);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Ia(o):[o,e,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Ca(t())};else{var l=Ca(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=ha([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(Jn(t))return void 0===(r=e(t,o))?t:r;if(Xn(t))return Ti(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var e,r,i=n[t],l=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,s[l]=e,c[t]=r?La(l,r):La(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var Wa=["name","message","stack","code"],ka=function(t,o){this.payload=t,this.meta=o},$a=function(t,o){this.payload=t,this.meta=o},Aa=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Wa;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Fa(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=La(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Sa(va({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=La(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Sa(va({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=La(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Aa)(t||"Rejected"),meta:Sa(va({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,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,c,l){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return pa(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),null===(v=g)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,g];case 1:g=O.sent(),O.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return h.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(n(p,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:p,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,o){return new ka(t,o)},fulfillWithValue:function(t,o){return new $a(t,o)}})).then((function(o){if(o instanceof ka)throw o;return o instanceof $a?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof ka?i(null,p,t,m.payload,m.meta):i(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var v}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:p,arg:t,unwrap:function(){return d.then(Fa)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var _a="listenerMiddleware";La(_a+"/add"),La(_a+"/removeAll"),La(_a+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Ki];return Mi.get(o,t)},set:function(o){var e=this[Ki];Mi.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Ki];if(!n.P)switch(n.i){case 5:r(n)&&Ni(n);break;case 4:e(n)&&Ni(n)}}}function e(t){for(var o=t.t,e=t.k,r=Pi(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Ki){var a=o[i];if(void 0===a&&!oi(o,i))return!0;var s=e[i],c=s&&s[Ki];if(c?c.t!==a:!ri(s,a))return!0}}var l=!!o[Ki];return r.length!==Pi(o).length+(l?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){zi[t]||(zi[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Bi(e);delete i[Ki];for(var a=Pi(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:hi(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Ki,{value:i,writable:!0}),n},S:function(t,e,n){n?Jn(e)&&e[Ki].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Ki];if(e){var n=e.t,i=e.k,a=e.R,s=e.i;if(4===s)Qn(i,(function(o){o!==Ki&&(void 0!==n[o]||oi(n,o)?a[o]||t(i[o]):(a[o]=!0,Ni(e)))})),Qn(n,(function(t){void 0!==i[t]||oi(i,t)||(a[t]=!1,Ni(e))}));else if(5===s){if(r(e)&&(Ni(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),p=0;p<f;p++)i.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(i[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ka{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Mn(n))return n;if(null==r)return;const i=Ua({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Ra({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Ka(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new zn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var ja=Object.freeze({__proto__:null,FtCommandQueue:zn,FtLitElementRedux:qn,FtReduxStore:Ka,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Mn(o)&&o.clear()},isFtReduxStore:Mn,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!pe(t,o),attribute:!1,...o};xo(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Pa=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Ba=Symbol("elementInternals");var za,Ma,Da,Za,Ha=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ba].form}constructor(...t){super(t),this[Ba]=this.attachInternals(),this[Ba].role=o}setFormValue(t){this[Ba].setFormValue(t)}}}});const Ta=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Da=null===(Ma=null===(za=window.safari)||void 0===za?void 0:za.pushNotification)||void 0===Ma?void 0:Ma.toString())&&void 0!==Da?Da:""),Ga="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(Za=window.ftGlobals)&&void 0!==Za?Za:{lit:vo,litDecorators:Uo,litRepeat:Do,litClassMap:Ho,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...re,...ee,...ie,...se,...ge,...cr,...hr,...gn,...ar,...Rn,...Ln,...he,...An,...jn,...Pn,...Bn,...ja,...Sn,...Pa,...Ha,isSafari:Ta,isTouchScreen:Ga}};
176
+ `;var qn=Object.freeze({__proto__:null,noTextSelect:Tn,safariEllipsisFix:Vn,wordWrap:Gn}),Yn=Object.freeze({__proto__:null});var Jn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let n=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),n}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class Xn{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Qn(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var ti,oi,ei;const ri=Symbol("internalReduxEventsUnsubscribers"),ni=Symbol("internalStoresUnsubscribers"),ii=Symbol("internalStores");class ai extends Bn{constructor(){super(...arguments),this[ti]=new Map,this[oi]=new Map,this[ei]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[ii].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ii].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ii].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Qn(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[ii].delete(o)}setupStore(t,o){this[ii].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ii].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[ni].has(t.store):this[ni].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[ni].set(t,o.subscribe((()=>this.updateFromStores()))),Qn(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[ri].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ni].forEach(((t,o)=>this.unsubscribeFromStore(o))),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 o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ci(t){return!!t&&!!t[Vi]}function si(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===qi}(t)||Array.isArray(t)||!!t[Gi]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Gi])||yi(t)||gi(t))}function fi(t,o,e){void 0===e&&(e=!1),0===pi(t)?(e?Object.keys:Yi)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function pi(t){var o=t[Vi];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:yi(t)?2:gi(t)?3:0}function hi(t,o){return 2===pi(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function ui(t,o,e){var r=pi(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function di(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function yi(t){return Mi&&t instanceof Map}function gi(t){return Di&&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 o=Ji(t);delete o[Vi];for(var e=Yi(o),r=0;r<e.length;r++){var n=e[r],i=o[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),o)}function vi(t,o){return void 0===o&&(o=!1),xi(t)||ci(t)||!si(t)||(pi(t)>1&&(t.set=t.add=t.clear=t.delete=Oi),Object.freeze(t),o&&fi(t,(function(t,o){return vi(o,!0)}),!0)),t}function Oi(){li(2)}function xi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Si(t){var o=Xi[t];return o||li(18,t),o}function wi(){return Zi}function Ni(t,o){o&&(Si("Patches"),t.u=[],t.s=[],t.v=o)}function Ci(t){Ei(t),t.p.forEach(Ii),t.p=null}function Ei(t){t===Zi&&(Zi=t.l)}function Ri(t){return Zi={p:[],l:Zi,h:t,m:!0,_:0}}function Ii(t){var o=t[Vi];0===o.i||1===o.i?o.j():o.g=!0}function Li(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||Si("ES5").S(o,t,r),r?(e[Vi].P&&(Ci(o),li(4)),si(t)&&(t=Ui(o,t),o.l||ki(o,t)),o.u&&Si("Patches").M(e[Vi].t,t,o.u,o.s)):t=Ui(o,e,[]),Ci(o),o.u&&o.v(o.u,o.s),t!==Ti?t:void 0}function Ui(t,o,e){if(xi(o))return o;var r=o[Vi];if(!r)return fi(o,(function(n,i){return Wi(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return ki(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=mi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),fi(i,(function(o,i){return Wi(t,r,n,o,i,e,a)})),ki(t,n,!1),e&&t.u&&Si("Patches").N(r,e,t.u,t.s)}return r.o}function Wi(t,o,e,r,n,i,a){if(ci(n)){var l=Ui(t,n,i&&o&&3!==o.i&&!hi(o.R,r)?i.concat(r):void 0);if(ui(e,r,l),!ci(l))return;t.m=!1}else a&&e.add(n);if(si(n)&&!xi(n)){if(!t.h.D&&t._<1)return;Ui(t,n),o&&o.A.l||ki(t,n)}}function ki(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&vi(o,e)}function $i(t,o){var e=t[Vi];return(e?bi(e):t)[o]}function zi(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Fi(t){t.P||(t.P=!0,t.l&&Fi(t.l))}function Ai(t){t.o||(t.o=mi(t.t))}function Bi(t,o,e){var r=yi(o)?Si("MapSet").F(o,e):gi(o)?Si("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:wi(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Qi;e&&(n=[r],i=ta);var a=Proxy.revocable(n,i),l=a.revoke,c=a.proxy;return r.k=c,r.j=l,c}(o,e):Si("ES5").J(o,e);return(e?e.A:wi()).p.push(r),r}function _i(t){return ci(t)||li(22,t),function t(o){if(!si(o))return o;var e,r=o[Vi],n=pi(o);if(r){if(!r.P&&(r.i<4||!Si("ES5").K(r)))return r.t;r.I=!0,e=Ki(o,n),r.I=!1}else e=Ki(o,n);return fi(e,(function(o,n){r&&function(t,o){return 2===pi(t)?t.get(o):t[o]}(r.t,o)===n||ui(e,o,t(n))})),3===n?new Set(e):e}(t)}function Ki(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return mi(t)}ti=ni,oi=ii,ei=ri,ai.reduxProperties=new Map,ai.reduxReactiveProperties=new Set,ai.reduxEventListeners=new Map;var Pi,Zi,ji="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Mi="undefined"!=typeof Map,Di="undefined"!=typeof Set,Hi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ti=ji?Symbol.for("immer-nothing"):((Pi={})["immer-nothing"]=!0,Pi),Gi=ji?Symbol.for("immer-draftable"):"__$immer_draftable",Vi=ji?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,Ji=Object.getOwnPropertyDescriptors||function(t){var o={};return Yi(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Xi={},Qi={get:function(t,o){if(o===Vi)return t;var e=bi(t);if(!hi(e,o))return function(t,o,e){var r,n=zi(o,e);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!si(r)?r:r===$i(t.t,o)?(Ai(t),t.o[o]=Bi(t.A.h,r,t)):r},has:function(t,o){return o in bi(t)},ownKeys:function(t){return Reflect.ownKeys(bi(t))},set:function(t,o,e){var r=zi(bi(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=$i(bi(t),o),i=null==n?void 0:n[Vi];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(di(e,n)&&(void 0!==e||hi(t.t,o)))return!0;Ai(t),Fi(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==$i(t.t,o)||o in t.t?(t.R[o]=!1,Ai(t),Fi(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=bi(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){li(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){li(12)}},ta={};fi(Qi,(function(t,o){ta[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ta.deleteProperty=function(t,o){return ta.set.call(this,t,o,void 0)},ta.set=function(t,o,e){return Qi.set.call(this,t[0],o,e,t[0])};var oa=function(){function t(t){var o=this;this.O=Hi,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&li(6),void 0!==r&&"function"!=typeof r&&li(7),si(t)){var l=Ri(o),c=Bi(o,t,void 0),s=!0;try{a=e(c),s=!1}finally{s?Ci(l):Ei(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Ni(l,r),Li(t,l)}),(function(t){throw Ci(l),t})):(Ni(l,r),Li(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Ti&&(a=void 0),o.D&&vi(a,!0),r){var f=[],p=[];Si("Patches").M(t,a,f,p),r(f,p)}return a}li(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(n))}))};var r,n,i=o.produce(t,e,(function(t,o){r=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,n]})):[i,r,n]},"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 o=t.prototype;return o.createDraft=function(t){si(t)||li(8),ci(t)&&(t=_i(t));var o=Ri(this),e=Bi(this,t,void 0);return e[Vi].C=!0,Ei(o),e},o.finishDraft=function(t,o){var e=(t&&t[Vi]).A;return Ni(e,o),Li(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Hi&&li(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var n=Si("Patches").$;return ci(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),ea=new oa,ra=ea.produce;function na(t){return na="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},na(t)}function ia(t){var o=function(t,o){if("object"!==na(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==na(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===na(o)?o:String(o)}function aa(t,o,e){return(o=ia(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function la(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ca(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?la(Object(e),!0).forEach((function(o){aa(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):la(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function sa(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. "}ea.produceWithPatches.bind(ea),ea.setAutoFreeze.bind(ea),ea.setUseProxies.bind(ea),ea.applyPatches.bind(ea),ea.createDraft.bind(ea),ea.finishDraft.bind(ea);var fa="function"==typeof Symbol&&Symbol.observable||"@@observable",pa=function(){return Math.random().toString(36).substring(7).split("").join(".")},ha={INIT:"@@redux/INIT"+pa(),REPLACE:"@@redux/REPLACE"+pa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+pa()}};function ua(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(sa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(sa(1));return e(ua)(t,o)}if("function"!=typeof t)throw new Error(sa(2));var n=t,i=o,a=[],l=a,c=!1;function s(){l===a&&(l=a.slice())}function f(){if(c)throw new Error(sa(3));return i}function p(t){if("function"!=typeof t)throw new Error(sa(4));if(c)throw new Error(sa(5));var o=!0;return s(),l.push(t),function(){if(o){if(c)throw new Error(sa(6));o=!1,s();var e=l.indexOf(t);l.splice(e,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(sa(7));if(void 0===t.type)throw new Error(sa(8));if(c)throw new Error(sa(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return h({type:ha.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(sa(10));n=t,h({type:ha.REPLACE})}})[fa]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(sa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[fa]=function(){return this},t},r}function da(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var n=o[r];"function"==typeof t[n]&&(e[n]=t[n])}var i,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ha.INIT}))throw new Error(sa(12));if(void 0===e(void 0,{type:ha.PROBE_UNKNOWN_ACTION()}))throw new Error(sa(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},l=0;l<a.length;l++){var c=a[l],s=e[c],f=t[c],p=s(f,o);if(void 0===p)throw o&&o.type,new Error(sa(14));n[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function ya(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ga(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(sa(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=ya.apply(void 0,i)(e.dispatch),ca(ca({},e),{},{dispatch:r})}}}function ba(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(n){return"function"==typeof n?n(e,r,t):o(n)}}}}var ma=ba();ma.withExtraArgument=ba;var va,Oa=ma,xa=(va=function(t,o){return va=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},va(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}va(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Sa=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}},wa=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},Na=Object.defineProperty,Ca=Object.defineProperties,Ea=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,Ua=function(t,o,e){return o in t?Na(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Wa=function(t,o){for(var e in o||(o={}))Ia.call(o,e)&&Ua(t,e,o[e]);if(Ra)for(var r=0,n=Ra(o);r<n.length;r++){e=n[r];La.call(o,e)&&Ua(t,e,o[e])}return t},ka=function(t,o){return Ca(t,Ea(o))},$a="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ya:ya.apply(null,arguments)};var za=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return xa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,wa([void 0],t[0].concat(this)))):new(o.bind.apply(o,wa([void 0],t.concat(this))))},o}(Array),Fa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var n=t.apply(this,e)||this;return Object.setPrototypeOf(n,o.prototype),n}return xa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,wa([void 0],t[0].concat(this)))):new(o.bind.apply(o,wa([void 0],t.concat(this))))},o}(Array);function Aa(t){return si(t)?ra(t,(function(){})):t}function Ba(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new za;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Oa.withExtraArgument(e.extraArgument)):r.push(Oa));return r}(t)}}function _a(t){var o,e=Ba(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,l=void 0===a?e():a,c=r.devTools,s=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(i))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=da(i)}var d=l;"function"==typeof d&&(d=d(e));var y=ga.apply(void 0,d),g=ya;s&&(g=$a(Wa({trace:!1},"object"==typeof s&&s)));var b=new Fa(y),m=b;return Array.isArray(u)?m=wa([y],u):"function"==typeof u&&(m=u(b)),ua(o,p,g.apply(void 0,m))}function Ka(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var n=o.apply(void 0,e);if(!n)throw new Error("prepareAction did not return an object");return Wa(Wa({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Pa(t){var o,e={},r=[],n={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,n},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[e,r,o]}function Za(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Aa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},c={};function s(){var o="function"==typeof t.extraReducers?Pa(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],s=void 0===c?void 0:c,f=Wa(Wa({},n),l);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Pa(o):[o,e,r],a=i[0],l=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Aa(t())};else{var s=Aa(t);n=function(){return s}}function f(t,o){void 0===t&&(t=n());var e=wa([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(ci(t))return void 0===(r=e(t,o))?t:r;if(si(t))return ra(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}s&&t.addDefaultCase(s)}))}return i.forEach((function(t){var e,r,i=n[t],s=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,l[s]=e,c[t]=r?Ka(s,r):Ka(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var ja=["name","message","stack","code"],Ma=function(t,o){this.payload=t,this.meta=o},Da=function(t,o){this.payload=t,this.meta=o},Ha=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=ja;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Ta(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Ka(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:ka(Wa({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Ka(t+"/pending",(function(t,o,e){return{payload:void 0,meta:ka(Wa({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Ka(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Ha)(t||"Rejected"),meta:ka(Wa({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,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(l,c,s){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return Sa(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:s}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return h.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(n(p,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:p,arg:t},{getState:c,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:c,extra:s,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,o){return new Ma(t,o)},fulfillWithValue:function(t,o){return new Da(t,o)}})).then((function(o){if(o instanceof Ma)throw o;return o instanceof Da?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ma?i(null,p,t,m.payload,m.meta):i(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||l(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:p,arg:t,unwrap:function(){return d.then(Ta)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ga="listenerMiddleware";Ka(Ga+"/add"),Ka(Ga+"/removeAll"),Ka(Ga+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=n[t];return e?e.enumerable=o:n[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Vi];return Qi.get(o,t)},set:function(o){var e=this[Vi];Qi.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Vi];if(!n.P)switch(n.i){case 5:r(n)&&Fi(n);break;case 4:e(n)&&Fi(n)}}}function e(t){for(var o=t.t,e=t.k,r=Yi(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Vi){var a=o[i];if(void 0===a&&!hi(o,i))return!0;var l=e[i],c=l&&l[Vi];if(c?c.t!==a:!di(l,a))return!0}}var s=!!o[Vi];return r.length!==Yi(o).length+(s?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Xi[t]||(Xi[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),n=function(o,e){if(o){for(var r=Array(e.length),n=0;n<e.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Ji(e);delete i[Vi];for(var a=Yi(i),l=0;l<a.length;l++){var c=a[l];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:wi(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Vi,{value:i,writable:!0}),n},S:function(t,e,n){n?ci(e)&&e[Vi].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Vi];if(e){var n=e.t,i=e.k,a=e.R,l=e.i;if(4===l)fi(i,(function(o){o!==Vi&&(void 0!==n[o]||hi(n,o)?a[o]||t(i[o]):(a[o]=!0,Fi(e)))})),fi(n,(function(t){void 0!==i[t]||hi(i,t)||(a[t]=!1,Fi(e))}));else if(5===l){if(r(e)&&(Fi(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var s=n.length;s<i.length;s++)a[s]=!0;for(var f=Math.min(i.length,n.length),p=0;p<f;p++)i.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(i[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Va{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[e];if(Qn(n))return n;if(null==r)return;const i=Za({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=_a({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Va(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Xn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var qa=Object.freeze({__proto__:null,FtCommandQueue:Xn,FtLitElementRedux:ai,FtReduxStore:Va,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Qn(o)&&o.clear()},isFtReduxStore:Qn,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!pe(t,o),attribute:!1,...o};wo(n)(t,e);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var Ya=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Ja=Symbol("elementInternals");var Xa,Qa,tl,ol,el=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ja].form}constructor(...t){super(t),this[Ja]=this.attachInternals(),this[Ja].role=o}setFormValue(t){this[Ja].setFormValue(t)}}}});const rl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(tl=null===(Qa=null===(Xa=window.safari)||void 0===Xa?void 0:Xa.pushNotification)||void 0===Qa?void 0:Qa.toString())&&void 0!==tl?tl:""),nl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(ol=window.ftGlobals)&&void 0!==ol?ol:{lit:Oo,litDecorators:Uo,litRepeat:Mo,litClassMap:Ho,litStyleMap:qo,litUnsafeHTML:Xo,wcUtils:{...re,...ee,...ie,...le,...ge,...vr,...wr,...Rn,...br,..._n,...Kn,...he,...Hn,...qn,...Yn,...Jn,...qa,...kn,...Ya,...el,isSafari:rl,isTouchScreen:nl}};
177
177
  /**
178
178
  * @license
179
179
  * Copyright 2020 Google LLC
180
180
  * SPDX-License-Identifier: BSD-3-Clause
181
181
  */
182
- const Va=Symbol.for(""),qa=t=>{if(t?.r===Va)return t?._$litStatic$},Ya=t=>({_$litStatic$:t,r:Va}),Ja=new Map,Xa=(t=>(o,...e)=>{const r=e.length;let n,i;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(i=e[l],n=qa(i));)c+=n+o[++l],f=!0;l!==r&&s.push(i),a.push(c),l++}if(l===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=Ja.get(t))&&(a.raw=a,Ja.set(t,o=a)),e=s}return t(o,...e)})(M);var Qa;!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"}(Qa||(Qa={}));const ts=me.extend("--ft-typography-font-family","",sr.titleFont),os=me.extend("--ft-typography-font-family","",sr.contentFont),es={fontFamily:os,fontSize:me.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:me.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:me.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:me.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:me.create("--ft-typography-text-transform","","UNKNOWN","inherit")},rs=me.extend("--ft-typography-title-font-family","",ts),ns=me.extend("--ft-typography-title-font-size","",es.fontSize,"20px"),is=me.extend("--ft-typography-title-font-weight","",es.fontWeight,"normal"),as=me.extend("--ft-typography-title-letter-spacing","",es.letterSpacing,"0.15px"),ss=me.extend("--ft-typography-title-line-height","",es.lineHeight,"1.2"),cs=me.extend("--ft-typography-title-text-transform","",es.textTransform,"inherit"),ls=me.extend("--ft-typography-title-dense-font-family","",ts),fs=me.extend("--ft-typography-title-dense-font-size","",es.fontSize,"14px"),ps=me.extend("--ft-typography-title-dense-font-weight","",es.fontWeight,"normal"),hs=me.extend("--ft-typography-title-dense-letter-spacing","",es.letterSpacing,"0.105px"),us=me.extend("--ft-typography-title-dense-line-height","",es.lineHeight,"1.7"),ds=me.extend("--ft-typography-title-dense-text-transform","",es.textTransform,"inherit"),ys=me.extend("--ft-typography-subtitle1-font-family","",os),gs=me.extend("--ft-typography-subtitle1-font-size","",es.fontSize,"16px"),bs=me.extend("--ft-typography-subtitle1-font-weight","",es.fontWeight,"600"),ms=me.extend("--ft-typography-subtitle1-letter-spacing","",es.letterSpacing,"0.144px"),Os=me.extend("--ft-typography-subtitle1-line-height","",es.lineHeight,"1.5"),vs=me.extend("--ft-typography-subtitle1-text-transform","",es.textTransform,"inherit"),Ss=me.extend("--ft-typography-subtitle2-font-family","",os),ws=me.extend("--ft-typography-subtitle2-font-size","",es.fontSize,"14px"),xs=me.extend("--ft-typography-subtitle2-font-weight","",es.fontWeight,"normal"),Ns=me.extend("--ft-typography-subtitle2-letter-spacing","",es.letterSpacing,"0.098px"),Cs=me.extend("--ft-typography-subtitle2-line-height","",es.lineHeight,"1.7"),Es=me.extend("--ft-typography-subtitle2-text-transform","",es.textTransform,"inherit"),Rs=me.extend("--ft-typography-body1-font-family","",os),Ls=me.extend("--ft-typography-body1-font-size","",es.fontSize,"16px"),Is=me.extend("--ft-typography-body1-font-weight","",es.fontWeight,"normal"),Us=me.extend("--ft-typography-body1-letter-spacing","",es.letterSpacing,"0.496px"),Ws=me.extend("--ft-typography-body1-line-height","",es.lineHeight,"1.5"),ks=me.extend("--ft-typography-body1-text-transform","",es.textTransform,"inherit"),$s=me.extend("--ft-typography-body2-font-family","",os),As=me.extend("--ft-typography-body2-font-size","",es.fontSize,"14px"),Fs=me.extend("--ft-typography-body2-font-weight","",es.fontWeight,"normal"),_s=me.extend("--ft-typography-body2-letter-spacing","",es.letterSpacing,"0.252px"),Ks=me.extend("--ft-typography-body2-line-height","",es.lineHeight,"1.4"),js=me.extend("--ft-typography-body2-text-transform","",es.textTransform,"inherit"),Ps=me.extend("--ft-typography-caption-font-family","",os),Bs=me.extend("--ft-typography-caption-font-size","",es.fontSize,"12px"),zs=me.extend("--ft-typography-caption-font-weight","",es.fontWeight,"normal"),Ms=me.extend("--ft-typography-caption-letter-spacing","",es.letterSpacing,"0.396px"),Ds=me.extend("--ft-typography-caption-line-height","",es.lineHeight,"1.33"),Zs=me.extend("--ft-typography-caption-text-transform","",es.textTransform,"inherit"),Hs=me.extend("--ft-typography-breadcrumb-font-family","",os),Ts=me.extend("--ft-typography-breadcrumb-font-size","",es.fontSize,"10px"),Gs=me.extend("--ft-typography-breadcrumb-font-weight","",es.fontWeight,"normal"),Vs=me.extend("--ft-typography-breadcrumb-letter-spacing","",es.letterSpacing,"0.33px"),qs=me.extend("--ft-typography-breadcrumb-line-height","",es.lineHeight,"1.6"),Ys=me.extend("--ft-typography-breadcrumb-text-transform","",es.textTransform,"inherit"),Js=me.extend("--ft-typography-overline-font-family","",os),Xs=me.extend("--ft-typography-overline-font-size","",es.fontSize,"10px"),Qs=me.extend("--ft-typography-overline-font-weight","",es.fontWeight,"normal"),tc=me.extend("--ft-typography-overline-letter-spacing","",es.letterSpacing,"1.5px"),oc=me.extend("--ft-typography-overline-line-height","",es.lineHeight,"1.6"),ec=me.extend("--ft-typography-overline-text-transform","",es.textTransform,"uppercase"),rc=me.extend("--ft-typography-button-font-family","",os),nc=me.extend("--ft-typography-button-font-size","",es.fontSize,"14px"),ic=me.extend("--ft-typography-button-font-weight","",es.fontWeight,"600"),ac=me.extend("--ft-typography-button-letter-spacing","",es.letterSpacing,"1.246px"),sc=me.extend("--ft-typography-button-line-height","",es.lineHeight,"1.15"),cc=me.extend("--ft-typography-button-text-transform","",es.textTransform,"uppercase"),lc=ht`
182
+ const il=Symbol.for(""),al=t=>{if(t?.r===il)return t?._$litStatic$},ll=t=>({_$litStatic$:t,r:il}),cl=new Map,sl=(t=>(o,...e)=>{const r=e.length;let n,i;const a=[],l=[];let c,s=0,f=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(i=e[s],n=al(i));)c+=n+o[++s],f=!0;s!==r&&l.push(i),a.push(c),s++}if(s===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=cl.get(t))&&(a.raw=a,cl.set(t,o=a)),e=l}return t(o,...e)})(j);var fl;!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"}(fl||(fl={}));const pl=me.extend("--ft-typography-font-family","",mr.titleFont),hl=me.extend("--ft-typography-font-family","",mr.contentFont),ul={fontFamily:hl,fontSize:me.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:me.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:me.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:me.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:me.create("--ft-typography-text-transform","","UNKNOWN","inherit")},dl=me.extend("--ft-typography-title-font-family","",pl),yl=me.extend("--ft-typography-title-font-size","",ul.fontSize,"20px"),gl=me.extend("--ft-typography-title-font-weight","",ul.fontWeight,"normal"),bl=me.extend("--ft-typography-title-letter-spacing","",ul.letterSpacing,"0.15px"),ml=me.extend("--ft-typography-title-line-height","",ul.lineHeight,"1.2"),vl=me.extend("--ft-typography-title-text-transform","",ul.textTransform,"inherit"),Ol=me.extend("--ft-typography-title-dense-font-family","",pl),xl=me.extend("--ft-typography-title-dense-font-size","",ul.fontSize,"14px"),Sl=me.extend("--ft-typography-title-dense-font-weight","",ul.fontWeight,"normal"),wl=me.extend("--ft-typography-title-dense-letter-spacing","",ul.letterSpacing,"0.105px"),Nl=me.extend("--ft-typography-title-dense-line-height","",ul.lineHeight,"1.7"),Cl=me.extend("--ft-typography-title-dense-text-transform","",ul.textTransform,"inherit"),El=me.extend("--ft-typography-subtitle1-font-family","",hl),Rl=me.extend("--ft-typography-subtitle1-font-size","",ul.fontSize,"16px"),Il=me.extend("--ft-typography-subtitle1-font-weight","",ul.fontWeight,"600"),Ll=me.extend("--ft-typography-subtitle1-letter-spacing","",ul.letterSpacing,"0.144px"),Ul=me.extend("--ft-typography-subtitle1-line-height","",ul.lineHeight,"1.5"),Wl=me.extend("--ft-typography-subtitle1-text-transform","",ul.textTransform,"inherit"),kl=me.extend("--ft-typography-subtitle2-font-family","",hl),$l=me.extend("--ft-typography-subtitle2-font-size","",ul.fontSize,"14px"),zl=me.extend("--ft-typography-subtitle2-font-weight","",ul.fontWeight,"normal"),Fl=me.extend("--ft-typography-subtitle2-letter-spacing","",ul.letterSpacing,"0.098px"),Al=me.extend("--ft-typography-subtitle2-line-height","",ul.lineHeight,"1.7"),Bl=me.extend("--ft-typography-subtitle2-text-transform","",ul.textTransform,"inherit"),_l=me.extend("--ft-typography-body1-font-family","",hl),Kl=me.extend("--ft-typography-body1-font-size","",ul.fontSize,"16px"),Pl=me.extend("--ft-typography-body1-font-weight","",ul.fontWeight,"normal"),Zl=me.extend("--ft-typography-body1-letter-spacing","",ul.letterSpacing,"0.496px"),jl=me.extend("--ft-typography-body1-line-height","",ul.lineHeight,"1.5"),Ml=me.extend("--ft-typography-body1-text-transform","",ul.textTransform,"inherit"),Dl=me.extend("--ft-typography-body2-font-family","",hl),Hl=me.extend("--ft-typography-body2-font-size","",ul.fontSize,"14px"),Tl=me.extend("--ft-typography-body2-font-weight","",ul.fontWeight,"normal"),Gl=me.extend("--ft-typography-body2-letter-spacing","",ul.letterSpacing,"0.252px"),Vl=me.extend("--ft-typography-body2-line-height","",ul.lineHeight,"1.4"),ql=me.extend("--ft-typography-body2-text-transform","",ul.textTransform,"inherit"),Yl=me.extend("--ft-typography-caption-font-family","",hl),Jl=me.extend("--ft-typography-caption-font-size","",ul.fontSize,"12px"),Xl=me.extend("--ft-typography-caption-font-weight","",ul.fontWeight,"normal"),Ql=me.extend("--ft-typography-caption-letter-spacing","",ul.letterSpacing,"0.396px"),tc=me.extend("--ft-typography-caption-line-height","",ul.lineHeight,"1.33"),oc=me.extend("--ft-typography-caption-text-transform","",ul.textTransform,"inherit"),ec=me.extend("--ft-typography-breadcrumb-font-family","",hl),rc=me.extend("--ft-typography-breadcrumb-font-size","",ul.fontSize,"10px"),nc=me.extend("--ft-typography-breadcrumb-font-weight","",ul.fontWeight,"normal"),ic=me.extend("--ft-typography-breadcrumb-letter-spacing","",ul.letterSpacing,"0.33px"),ac=me.extend("--ft-typography-breadcrumb-line-height","",ul.lineHeight,"1.6"),lc=me.extend("--ft-typography-breadcrumb-text-transform","",ul.textTransform,"inherit"),cc=me.extend("--ft-typography-overline-font-family","",hl),sc=me.extend("--ft-typography-overline-font-size","",ul.fontSize,"10px"),fc=me.extend("--ft-typography-overline-font-weight","",ul.fontWeight,"normal"),pc=me.extend("--ft-typography-overline-letter-spacing","",ul.letterSpacing,"1.5px"),hc=me.extend("--ft-typography-overline-line-height","",ul.lineHeight,"1.6"),uc=me.extend("--ft-typography-overline-text-transform","",ul.textTransform,"uppercase"),dc=me.extend("--ft-typography-button-font-family","",hl),yc=me.extend("--ft-typography-button-font-size","",ul.fontSize,"14px"),gc=me.extend("--ft-typography-button-font-weight","",ul.fontWeight,"600"),bc=me.extend("--ft-typography-button-letter-spacing","",ul.letterSpacing,"1.246px"),mc=me.extend("--ft-typography-button-line-height","",ul.lineHeight,"1.15"),vc=me.extend("--ft-typography-button-text-transform","",ul.textTransform,"uppercase"),Oc=ht`
183
183
  .ft-typography--title {
184
- font-family: ${rs};
185
- font-size: ${ns};
186
- font-weight: ${is};
187
- letter-spacing: ${as};
188
- line-height: ${ss};
189
- text-transform: ${cs};
184
+ font-family: ${dl};
185
+ font-size: ${yl};
186
+ font-weight: ${gl};
187
+ letter-spacing: ${bl};
188
+ line-height: ${ml};
189
+ text-transform: ${vl};
190
190
  }
191
- `,fc=ht`
191
+ `,xc=ht`
192
192
  .ft-typography--title-dense {
193
- font-family: ${ls};
194
- font-size: ${fs};
195
- font-weight: ${ps};
196
- letter-spacing: ${hs};
197
- line-height: ${us};
198
- text-transform: ${ds};
193
+ font-family: ${Ol};
194
+ font-size: ${xl};
195
+ font-weight: ${Sl};
196
+ letter-spacing: ${wl};
197
+ line-height: ${Nl};
198
+ text-transform: ${Cl};
199
199
  }
200
- `,pc=ht`
200
+ `,Sc=ht`
201
201
  .ft-typography--subtitle1 {
202
- font-family: ${ys};
203
- font-size: ${gs};
204
- font-weight: ${bs};
205
- letter-spacing: ${ms};
206
- line-height: ${Os};
207
- text-transform: ${vs};
202
+ font-family: ${El};
203
+ font-size: ${Rl};
204
+ font-weight: ${Il};
205
+ letter-spacing: ${Ll};
206
+ line-height: ${Ul};
207
+ text-transform: ${Wl};
208
208
  }
209
- `,hc=ht`
209
+ `,wc=ht`
210
210
  .ft-typography--subtitle2 {
211
- font-family: ${Ss};
212
- font-size: ${ws};
213
- font-weight: ${xs};
214
- letter-spacing: ${Ns};
215
- line-height: ${Cs};
216
- text-transform: ${Es};
211
+ font-family: ${kl};
212
+ font-size: ${$l};
213
+ font-weight: ${zl};
214
+ letter-spacing: ${Fl};
215
+ line-height: ${Al};
216
+ text-transform: ${Bl};
217
217
  }
218
218
 
219
- `,uc=ht`
219
+ `,Nc=ht`
220
220
  .ft-typography--body1 {
221
- font-family: ${Rs};
222
- font-size: ${Ls};
223
- font-weight: ${Is};
224
- letter-spacing: ${Us};
225
- line-height: ${Ws};
226
- text-transform: ${ks};
221
+ font-family: ${_l};
222
+ font-size: ${Kl};
223
+ font-weight: ${Pl};
224
+ letter-spacing: ${Zl};
225
+ line-height: ${jl};
226
+ text-transform: ${Ml};
227
227
  }
228
- `,dc=ht`
228
+ `,Cc=ht`
229
229
  .ft-typography--body2 {
230
- font-family: ${$s};
231
- font-size: ${As};
232
- font-weight: ${Fs};
233
- letter-spacing: ${_s};
234
- line-height: ${Ks};
235
- text-transform: ${js};
230
+ font-family: ${Dl};
231
+ font-size: ${Hl};
232
+ font-weight: ${Tl};
233
+ letter-spacing: ${Gl};
234
+ line-height: ${Vl};
235
+ text-transform: ${ql};
236
236
  }
237
- `,yc=ht`
237
+ `,Ec=ht`
238
238
  .ft-typography--caption {
239
- font-family: ${Ps};
240
- font-size: ${Bs};
241
- font-weight: ${zs};
242
- letter-spacing: ${Ms};
243
- line-height: ${Ds};
244
- text-transform: ${Zs};
239
+ font-family: ${Yl};
240
+ font-size: ${Jl};
241
+ font-weight: ${Xl};
242
+ letter-spacing: ${Ql};
243
+ line-height: ${tc};
244
+ text-transform: ${oc};
245
245
  }
246
- `,gc=ht`
246
+ `,Rc=ht`
247
247
  .ft-typography--breadcrumb {
248
- font-family: ${Hs};
249
- font-size: ${Ts};
250
- font-weight: ${Gs};
251
- letter-spacing: ${Vs};
252
- line-height: ${qs};
253
- text-transform: ${Ys};
248
+ font-family: ${ec};
249
+ font-size: ${rc};
250
+ font-weight: ${nc};
251
+ letter-spacing: ${ic};
252
+ line-height: ${ac};
253
+ text-transform: ${lc};
254
254
  }
255
- `,bc=ht`
255
+ `,Ic=ht`
256
256
  .ft-typography--overline {
257
- font-family: ${Js};
258
- font-size: ${Xs};
259
- font-weight: ${Qs};
260
- letter-spacing: ${tc};
261
- line-height: ${oc};
262
- text-transform: ${ec};
257
+ font-family: ${cc};
258
+ font-size: ${sc};
259
+ font-weight: ${fc};
260
+ letter-spacing: ${pc};
261
+ line-height: ${hc};
262
+ text-transform: ${uc};
263
263
  }
264
- `,mc=ht`
264
+ `,Lc=ht`
265
265
  .ft-typography--button {
266
- font-family: ${rc};
267
- font-size: ${nc};
268
- font-weight: ${ic};
269
- letter-spacing: ${ac};
270
- line-height: ${sc};
271
- text-transform: ${cc};
266
+ font-family: ${dc};
267
+ font-size: ${yc};
268
+ font-weight: ${gc};
269
+ letter-spacing: ${bc};
270
+ line-height: ${mc};
271
+ text-transform: ${vc};
272
272
  }
273
- `,Oc=ht`
273
+ `,Uc=ht`
274
274
  .ft-typography {
275
275
  vertical-align: inherit;
276
276
  }
277
- `,vc=[Object.keys(He).map((t=>function(t){const o=He[t];return ht`
277
+ `,Wc=[Object.keys(Te).map((t=>function(t){const o=Te[t];return ht`
278
278
  .ft-typography--${pt(t)} {
279
279
  font-family: ${o.fontFamily};
280
280
  font-size: ${o.fontSize};
@@ -283,14 +283,14 @@ const Va=Symbol.for(""),qa=t=>{if(t?.r===Va)return t?._$litStatic$},Ya=t=>({_$li
283
283
  line-height: ${o.lineHeight};
284
284
  text-transform: ${o.textCase};
285
285
  }
286
- `}(t)))];var Sc=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class wc extends En{constructor(){super(...arguments),this.variant=Qa.body1}render(){return this.element?Xa`
287
- <${Ya(this.element)}
286
+ `}(t)))];var kc=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class $c extends Bn{constructor(){super(...arguments),this.variant=fl.body1}render(){return this.element?sl`
287
+ <${ll(this.element)}
288
288
  class="ft-typography ft-typography--${this.variant}">
289
289
  <slot></slot>
290
- </${Ya(this.element)}>
291
- `:Xa`
290
+ </${ll(this.element)}>
291
+ `:sl`
292
292
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
293
- `}}wc.styles=[lc,fc,pc,hc,uc,dc,yc,gc,bc,mc,Oc,...vc],Sc([xo()],wc.prototype,"element",void 0),Sc([xo()],wc.prototype,"variant",void 0),ue("ft-typography")(wc);const xc={distance:me.create("--ft-tooltip-distance","","SIZE","4px"),color:me.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:me.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:me.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:me.external(sr.borderRadiusS,"Design system"),maxWidth:me.create("--ft-tooltip-max-width","","SIZE","150px")},Nc=ht`
293
+ `}}$c.styles=[Oc,xc,Sc,wc,Nc,Cc,Ec,Rc,Ic,Lc,Uc,...Wc],kc([wo()],$c.prototype,"element",void 0),kc([wo()],$c.prototype,"variant",void 0),ue("ft-typography")($c);const zc={distance:me.create("--ft-tooltip-distance","","SIZE","4px"),color:me.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:me.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:me.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:me.external(mr.borderRadiusS,"Design system"),maxWidth:me.create("--ft-tooltip-max-width","","SIZE","150px")},Fc=ht`
294
294
  .ft-tooltip--container {
295
295
  display: block;
296
296
  }
@@ -305,21 +305,21 @@ const Va=Symbol.for(""),qa=t=>{if(t?.r===Va)return t?._$litStatic$},Ya=t=>({_$li
305
305
  box-sizing: border-box;
306
306
  overflow: hidden;
307
307
  width: max-content;
308
- max-width: ${xc.maxWidth};
308
+ max-width: ${zc.maxWidth};
309
309
  text-align: center;
310
- padding: ${xc.distance};
311
- z-index: ${xc.zIndex};
310
+ padding: ${zc.distance};
311
+ z-index: ${zc.zIndex};
312
312
  }
313
313
 
314
314
  .ft-tooltip--content {
315
315
  padding: 4px 8px;
316
- border-radius: ${xc.borderRadiusS};
317
- background-color: ${xc.backgroundColor};
318
- color: ${xc.color};
316
+ border-radius: ${zc.borderRadiusS};
317
+ background-color: ${zc.backgroundColor};
318
+ color: ${zc.color};
319
319
  position: relative;
320
320
  word-break: break-word;
321
321
  }
322
- `;var Cc=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Ec extends En{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 ae,this.revealDebouncer=new ae}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
322
+ `;var Ac=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(n=t[l])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Bc extends Bn{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 ae,this.revealDebouncer=new ae}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
323
323
  <div part="container"
324
324
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
325
325
  @mouseenter=${this.onHover}
@@ -337,4 +337,4 @@ const Va=Symbol.for(""),qa=t=>{if(t?.r===Va)return t?._$litStatic$},Ya=t=>({_$li
337
337
  </div>
338
338
  </div>
339
339
  </div>
340
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",yn(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Ec.elementDefinitions={"ft-typography":wc},Ec.styles=Nc,Cc([xo()],Ec.prototype,"text",void 0),Cc([xo({type:Boolean})],Ec.prototype,"manual",void 0),Cc([xo({type:Boolean})],Ec.prototype,"inline",void 0),Cc([xo({type:Number})],Ec.prototype,"delay",void 0),Cc([xo()],Ec.prototype,"position",void 0),Cc([Io()],Ec.prototype,"slotNodes",void 0),Cc([Ro(".ft-tooltip--container")],Ec.prototype,"container",void 0),Cc([Ro(".ft-tooltip")],Ec.prototype,"tooltip",void 0),Cc([Ro(".ft-tooltip--content")],Ec.prototype,"tooltipContent",void 0),Cc([No()],Ec.prototype,"visible",void 0),Cc([Co({passive:!0})],Ec.prototype,"onTouch",null),Cc([Co({passive:!0})],Ec.prototype,"onHover",null),Cc([Co({passive:!0})],Ec.prototype,"onOut",null),Cc([Co({passive:!0})],Ec.prototype,"onClick",null),ue("ft-tooltip")(Ec),t.FtTooltip=Ec,t.FtTooltipCssVariables=xc,t.styles=Nc}({});
340
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",En(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Bc.elementDefinitions={"ft-typography":$c},Bc.styles=Fc,Ac([wo()],Bc.prototype,"text",void 0),Ac([wo({type:Boolean})],Bc.prototype,"manual",void 0),Ac([wo({type:Boolean})],Bc.prototype,"inline",void 0),Ac([wo({type:Number})],Bc.prototype,"delay",void 0),Ac([wo()],Bc.prototype,"position",void 0),Ac([Lo()],Bc.prototype,"slotNodes",void 0),Ac([Ro(".ft-tooltip--container")],Bc.prototype,"container",void 0),Ac([Ro(".ft-tooltip")],Bc.prototype,"tooltip",void 0),Ac([Ro(".ft-tooltip--content")],Bc.prototype,"tooltipContent",void 0),Ac([No()],Bc.prototype,"visible",void 0),Ac([Co({passive:!0})],Bc.prototype,"onTouch",null),Ac([Co({passive:!0})],Bc.prototype,"onHover",null),Ac([Co({passive:!0})],Bc.prototype,"onOut",null),Ac([Co({passive:!0})],Bc.prototype,"onClick",null),ue("ft-tooltip")(Bc),t.FtTooltip=Bc,t.FtTooltipCssVariables=zc,t.styles=Fc}({});