@fluid-topics/ft-reader-page-title 1.1.67 → 1.1.69

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,l=new WeakMap;let s;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,s=new Set(n.observedAttributes||[]);p(n,s,l);const c={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:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(n,c);let f=e.call(r,t);f||(f=d(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,c),c.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)i.delete(t),h(t,c,!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=s;if(o)return s=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 c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},d=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?h(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)}},p=(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)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),s=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(dl){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 s;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,s=new Set(n.observedAttributes||[]);p(n,s,l);const c={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:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(n,c);let f=e.call(r,t);f||(f=d(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)i.delete(t),u(t,c,!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=s;if(o)return s=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 c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},d=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?u(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)}},p=(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)})},h=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):h(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),s=t;try{new o.elementClass}catch(t){h(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(pl){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,7 +22,7 @@ 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:l,defineProperty:s,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:d,getPrototypeOf:p}=Object,u=globalThis,h=u.trustedTypes,y=h?h.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&&s(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=c(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=p(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),...d(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");
25
+ */,{is:l,defineProperty:s,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:d,getPrototypeOf:p}=Object,h=globalThis,u=h.trustedTypes,y=u?u.emptyScript:"",g=h.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"),h.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&&s(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=c(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=p(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),...d(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}),(h.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
@@ -34,23 +34,23 @@ const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=
34
34
  * Copyright 2019 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
36
  */
37
- const at=globalThis,lt=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,st=Symbol(),ct=new WeakMap;let ft=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==st)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=ct.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&ct.set(o,t))}return t}toString(){return this.cssText}};const dt=t=>new ft("string"==typeof t?t:t+"",void 0,st),pt=(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,st)},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)}},ht=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return dt(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,st=Symbol(),ct=new WeakMap;let ft=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==st)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=ct.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&ct.set(o,t))}return t}toString(){return this.cssText}};const dt=t=>new ft("string"==typeof t?t:t+"",void 0,st),pt=(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,st)},ht=(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)}},ut=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return dt(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:vt,getPrototypeOf:Ot}=Object,xt=globalThis,wt=xt.trustedTypes,St=wt?wt.emptyScript:"",Ct=xt.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?St: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(Nt("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(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("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(ht(t))}else void 0!==t&&o.push(ht(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[Nt("elementProperties")]=new Map,Lt[Nt("finalized")]=new Map,Ct?.({ReactiveElement:Lt}),(xt.reactiveElementVersions??=[]).push("2.0.2");
42
+ */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:Ot}=Object,xt=globalThis,wt=xt.trustedTypes,St=wt?wt.emptyScript:"",Ct=xt.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?St: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(Nt("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(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("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(ut(t))}else void 0!==t&&o.push(ut(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 ht(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,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[Nt("elementProperties")]=new Map,Lt[Nt("finalized")]=new Map,Ct?.({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$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,At=`<${Bt}>`,Ft=document,Pt=()=>Ft.createComment(""),_t=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Mt=Array.isArray,jt=t=>Mt(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",Zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^ \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=Ft.createTreeWalker(Ft,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=Zt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===Zt?"!--"===s[1]?a=Dt:void 0!==s[1]?a=Ht:void 0!==s[2]?(qt.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=Tt):void 0!==s[3]&&(a=Tt):a===Tt?">"===s[0]?(a=n??Zt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Tt:'"'===s[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=Zt:(a=Tt,n=void 0);const d=a===Tt&&t[o+1].startsWith("/>")?" ":"";i+=a===Zt?e+At:c>=0?(r.push(l),e.slice(0,c)+$t+e.slice(c)+zt+d):e+zt+(-2===c?o:d)}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,[s,c]=no(t,o);if(this.el=io.createElement(s,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=c[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]?uo:co}),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],Pt()),eo.nextNode(),l.push({type:2,index:++n});r.append(t[o],Pt())}}}else if(8===r.nodeType)if(r.data===Bt)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=Ft.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=_t(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??Ft).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 so(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new ho(n,this,t)),this._$AV.push(o),l=e[++a]}i!==l?.index&&(n=eo.nextNode(),i++)}return eo.currentNode=Ft,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++}},so=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),_t(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):jt(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&&_t(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ft.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){Mt(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(Pt()),this.k(Pt()),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))}},co=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=!_t(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||=!_t(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 co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},uo=class extends co{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)}},ho=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:Bt,C:1,M:no,L:lo,R:jt,V:ao,D:so,I:co,H:po,N:uo,U:fo,B:ho},go=Ut.litHtmlPolyfillSupport;go?.(io,so),(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 so(o.insertBefore(Pt(),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)}$`,Bt="?"+zt,At=`<${Bt}>`,Ft=document,Pt=()=>Ft.createComment(""),_t=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Mt=Array.isArray,jt=t=>Mt(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",Zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^ \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=Ft.createTreeWalker(Ft,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=Zt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===Zt?"!--"===s[1]?a=Dt:void 0!==s[1]?a=Ht:void 0!==s[2]?(qt.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=Tt):void 0!==s[3]&&(a=Tt):a===Tt?">"===s[0]?(a=n??Zt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Tt:'"'===s[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=Zt:(a=Tt,n=void 0);const d=a===Tt&&t[o+1].startsWith("/>")?" ":"";i+=a===Zt?e+At:c>=0?(r.push(l),e.slice(0,c)+$t+e.slice(c)+zt+d):e+zt+(-2===c?o:d)}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,[s,c]=no(t,o);if(this.el=io.createElement(s,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=c[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:co}),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],Pt()),eo.nextNode(),l.push({type:2,index:++n});r.append(t[o],Pt())}}}else if(8===r.nodeType)if(r.data===Bt)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=Ft.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=_t(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??Ft).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 so(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=Ft,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++}},so=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),_t(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):jt(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&&_t(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ft.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){Mt(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(Pt()),this.k(Pt()),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))}},co=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=!_t(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||=!_t(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 co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},ho=class extends co{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:Bt,C:1,M:no,L:lo,R:jt,V:ao,D:so,I:co,H:po,N:ho,U:fo,B:uo},go=Ut.litHtmlPolyfillSupport;go?.(io,so),(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 so(o.insertBefore(Pt(),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 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:pt,defaultConverter:Et,getCompatibleStyle:ht,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:to,render:bo,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:dt});
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:ht,css:pt,defaultConverter:Et,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:to,render:bo,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:dt});
54
54
  /**
55
55
  * @license
56
56
  * Copyright 2017 Google LLC
@@ -113,7 +113,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
113
113
  * @license
114
114
  * Copyright 2020 Google LLC
115
115
  * SPDX-License-Identifier: BSD-3-Clause
116
- */const{D:ko}=nt,$o=()=>document.createComment(""),zo=(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 ko(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},Bo=(t,o,e=t)=>(t._$AI(o,e),t),Ao={},Fo=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}},Po=(t,o,e)=>{const r=new Map;for(let n=o;n<=e;n++)r.set(t[n],n);return r},_o=Uo(class extends Wo{constructor(t){if(super(t),t.type!==Lo)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??=[],s=[];let c,f,d=0,p=n.length-1,u=0,h=i.length-1;for(;d<=p&&u<=h;)if(null===n[d])d++;else if(null===n[p])p--;else if(l[d]===a[u])s[u]=Bo(n[d],i[u]),d++,u++;else if(l[p]===a[h])s[h]=Bo(n[p],i[h]),p--,h--;else if(l[d]===a[h])s[h]=Bo(n[d],i[h]),zo(t,s[h+1],n[d]),d++,h--;else if(l[p]===a[u])s[u]=Bo(n[p],i[u]),zo(t,n[d],n[p]),p--,u++;else if(void 0===c&&(c=Po(a,u,h),f=Po(l,d,p)),c.has(l[d]))if(c.has(l[p])){const o=f.get(a[u]),e=void 0!==o?n[o]:null;if(null===e){const o=zo(t,n[d]);Bo(o,i[u]),s[u]=o}else s[u]=Bo(e,i[u]),zo(t,n[d],e),n[o]=null;u++}else Fo(n[p]),p--;else Fo(n[d]),d++;for(;u<=h;){const o=zo(t,s[h+1]);Bo(o,i[u]),s[u++]=o}for(;d<=p;){const t=n[d++];null!==t&&Fo(t)}return this.dt=a,((t,o=Ao)=>{t._$AH=o})(t,s),Z}});
116
+ */const{D:ko}=nt,$o=()=>document.createComment(""),zo=(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 ko(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},Bo=(t,o,e=t)=>(t._$AI(o,e),t),Ao={},Fo=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}},Po=(t,o,e)=>{const r=new Map;for(let n=o;n<=e;n++)r.set(t[n],n);return r},_o=Uo(class extends Wo{constructor(t){if(super(t),t.type!==Lo)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??=[],s=[];let c,f,d=0,p=n.length-1,h=0,u=i.length-1;for(;d<=p&&h<=u;)if(null===n[d])d++;else if(null===n[p])p--;else if(l[d]===a[h])s[h]=Bo(n[d],i[h]),d++,h++;else if(l[p]===a[u])s[u]=Bo(n[p],i[u]),p--,u--;else if(l[d]===a[u])s[u]=Bo(n[d],i[u]),zo(t,s[u+1],n[d]),d++,u--;else if(l[p]===a[h])s[h]=Bo(n[p],i[h]),zo(t,n[d],n[p]),p--,h++;else if(void 0===c&&(c=Po(a,h,u),f=Po(l,d,p)),c.has(l[d]))if(c.has(l[p])){const o=f.get(a[h]),e=void 0!==o?n[o]:null;if(null===e){const o=zo(t,n[d]);Bo(o,i[h]),s[h]=o}else s[h]=Bo(e,i[h]),zo(t,n[d],e),n[o]=null;h++}else Fo(n[p]),p--;else Fo(n[d]),d++;for(;h<=u;){const o=zo(t,s[u+1]);Bo(o,i[h]),s[h++]=o}for(;d<=p;){const t=n[d++];null!==t&&Fo(t)}return this.dt=a,((t,o=Ao)=>{t._$AH=o})(t,s),Z}});
117
117
  /**
118
118
  * @license
119
119
  * Copyright 2017 Google LLC
@@ -133,7 +133,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
133
133
  * @license
134
134
  * Copyright 2017 Google LLC
135
135
  * SPDX-License-Identifier: BSD-3-Clause
136
- */let Go=class extends Wo{constructor(t){if(super(t),this.et=D,t.type!==Lo)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===Z)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:[]}}};Go.directiveName="unsafeHTML",Go.resultType=1;const Vo=Uo(Go);var qo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Go,unsafeHTML:Vo});class Yo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class Jo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Yo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Yo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Xo=t=>new Jo(((o,e)=>t.then(o).catch(e)));var Qo=Object.freeze({__proto__:null,CancelablePromise:Jo,CanceledPromiseError:Yo,cancelable:Xo});class te{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 Jo&&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=Xo(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)}}var oe=Object.freeze({__proto__:null,CacheRegistry:te});class ee{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t,o){var e,r;let n=(null!==(r=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>ee.flattenMetadata(t)));return null==o?n:n.find((t=>t.key===o))}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,label:t.label,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,label:t.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o,e="No value"){var r,n;let i=ee.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==i?void 0:i.label)&&void 0!==r?r:null===(n=this.getMetadataDescriptor(t))||void 0===n?void 0:n.label;const l=this.allResults.map((o=>ee.extractResultMetadata(o,t))).map((o=>null!=o?o:{key:t,label:a,value:void 0,displayValue:e})).filter((t=>t.value!=(null==i?void 0:i.value))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return l.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){if(null==t)return-1;if(null==o)return 1;let n=this.getMetadataDescriptor(e),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}getMetadataDescriptor(t){return this.metadataDescriptors.find((o=>t==o.key))}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>{var r;return(null===(r=ee.extractResultMetadata(e,t))||void 0===r?void 0:r.value)==o}));let r,n=ee.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 ee.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var re=Object.freeze({__proto__:null,ClusteringHelper:ee});class ne{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 ie=Object.freeze({__proto__:null,Debouncer:ne});const ae=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 ae(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function se(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 ce(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(!ce(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(!ce(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(!ce(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var fe=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?se(e):e}},deepEqual:ce,delay:ae,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:se,waitFor:le,waitUntil:async function(t,o=10,e=2e4){await le((async()=>await t()||void 0),o,e)}});const de=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function pe(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({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)=>!ce(t,o),...null!=o?o:{}})}function ue(t){return!isNaN(parseFloat(t))}var he=Object.freeze({__proto__:null,customElement:de,isNumber:ue,jsonProperty:pe,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return ue(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const ye=t=>"string"==typeof t?dt(t):t;class ge{static create(t,o,e,r){const n=t=>ye(null!=t?t:r),i=pt`var(${ye(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>pt`var(${ye(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=pt`var(${ye(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=>pt`var(${ye(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):ye(null!=o?o:t.lastResortDefaultValue()),r=pt`var(${ye(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=>pt`var(${ye(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const be={colorWhite:ge.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ge.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ge.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ge.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ge.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ge.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ge.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ge.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ge.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ge.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ge.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ge.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ge.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ge.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ge.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ge.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ge.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ge.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ge.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ge.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ge.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ge.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ge.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ge.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ge.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ge.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ge.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ge.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ge.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ge.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ge.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ge.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ge.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ge.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ge.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ge.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ge.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ge.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ge.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ge.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ge.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ge.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ge.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ge.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ge.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ge.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ge.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ge.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ge.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ge.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ge.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ge.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ge.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ge.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ge.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ge.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ge.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ge.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ge.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ge.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ge.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ge.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ge.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ge.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:ge.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:ge.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:ge.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:ge.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:ge.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:ge.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:ge.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:ge.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:ge.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:ge.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:ge.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:ge.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:ge.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:ge.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:ge.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ge.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ge.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ge.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ge.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ge.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ge.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ge.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ge.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ge.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ge.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ge.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ge.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ge.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ge.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ge.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ge.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ge.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ge.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ge.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ge.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ge.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ge.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ge.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ge.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ge.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ge.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ge.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ge.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ge.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ge.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ge.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ge.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ge.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ge.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ge.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ge.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ge.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ge.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ge.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ge.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ge.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ge.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ge.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ge.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ge.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ge.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ge.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ge.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ge.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ge.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ge.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ge.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ge.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ge.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ge.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ge.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ge.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ge.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ge.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ge.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ge.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ge.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ge.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ge.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ge.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ge.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ge.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ge.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ge.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ge.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ge.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ge.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ge.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ge.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ge.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ge.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ge.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ge.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ge.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ge.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ge.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ge.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ge.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ge.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ge.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ge.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ge.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ge.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ge.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ge.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ge.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ge.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ge.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ge.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ge.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ge.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ge.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ge.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ge.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ge.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ge.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ge.create("--ft-opacity-0","","NUMBER","0"),opacity8:ge.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ge.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ge.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ge.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ge.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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)")},me={fontFamily:ge.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ge.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-display-textCase","","UNKNOWN","none")},ve={fontFamily:ge.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ge.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Oe={fontFamily:ge.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ge.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},xe={fontFamily:ge.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ge.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ge.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},we={fontFamily:ge.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ge.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Se={fontFamily:ge.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ce={fontFamily:ge.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ne={fontFamily:ge.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ge.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ee={fontFamily:ge.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Re={fontFamily:ge.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:ge.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:ge.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ie={fontFamily:ge.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Le={fontFamily:ge.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ue={fontFamily:ge.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},We={fontFamily:ge.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ke={fontFamily:ge.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},$e={fontFamily:ge.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ze={fontFamily:ge.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Be={fontFamily:ge.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ae={fontFamily:ge.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:ge.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:ge.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_e={fontFamily:ge.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Me={fontFamily:ge.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},je={fontFamily:ge.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:ge.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:ge.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},De={display:me,"title-1":ve,"title-2":Oe,"title-3":xe,"body-1-regular":we,"body-1-medium":Se,"body-1-semibold":Ce,"body-2-regular":Ne,"body-2-medium":Ee,"body-2-medium-underline":Re,"body-2-semibold":Ie,"label-1-medium":Le,"label-1-semibold":Ue,"label-1-bold":We,"label-2-medium":ke,"label-2-semibold":$e,"label-2-bold":ze,"caption-1-medium":Be,"caption-1-semibold":Ae,"caption-1-bold":Fe,"caption-2-medium":Pe,"caption-2-semibold":_e,"caption-2-bold":Me,"caption-3-medium":je,"caption-3-semibold":Ke,"caption-3-bold":Ze},He={backgroundActionPrimary:ge.extend("--ft-background-action-primary","Used as backgorund of primary action components.",be.colorBrand0),backgroundErrorSubtle:ge.extend("--ft-background-error-subtle","Used as background of subtle error components.",be.colorRed10),backgroundInfoSubtle:ge.extend("--ft-background-info-subtle","Used as background of subtle information components.",be.colorCyan10),backgroundWarningSubtle:ge.extend("--ft-background-warning-subtle","Used as background of subtle information components.",be.colorOrange10),backgroundSuccessSubtle:ge.extend("--ft-background-success-subtle","Used as background of subtle success components.",be.colorGreen10),backgroundGlobalSurface:ge.extend("--ft-background-global-surface","Used as app background.",be.colorWhite),backgroundGlobalOnSurface:ge.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",be.colorGray10),backgroundGlobalOnSurfaceDark:ge.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",be.colorGray30),contentActionPrimary:ge.extend("--ft-content-action-primary","Used on label of primary action on light surface.",be.colorBrand0),contentWarningPrimary:ge.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",be.colorOrange200),contentWarningIconOnly:ge.extend("--ft-content-warning-icon-only","Used on warning status icons alone",be.colorOrange0),contentErrorPrimary:ge.extend("--ft-content-error-primary","Used on label of error messages on light surface.",be.colorRed0),contentErrorIconOnly:ge.extend("--ft-content-error-icon-only","Used on error status icons alone",be.colorRed70),contentInfoPrimary:ge.extend("--ft-content-info-primary","Used on label of information messages on light surface.",be.colorCyan200),contentInfoIconOnly:ge.extend("--ft-content-info-icon-only","Used on info status icons alone",be.colorCyan0),contentSuccessPrimary:ge.extend("--ft-content-success-primary","Used on label of success messages on light surface.",be.colorGreen200),contentSuccessIconOnly:ge.extend("--ft-content-success-icon-only","Used on success status icons alone",be.colorGreen0),contentGlobalPrimary:ge.extend("--ft-content-global-primary","Used for main content on the page.",be.colorGray500),contentGlobalSecondary:ge.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",be.colorGray200),contentGlobalSubtle:ge.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",be.colorGray0),contentGlobalOnColor:ge.extend("--ft-content-global-on-color","Used for content on a dominant color.",be.colorWhite),borderActionPrimary:ge.extend("--ft-border-action-primary","Used as border for primary action components.",be.colorBrand0),borderActionFocusRing:ge.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",be.colorCyan0),borderWarningPrimary:ge.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",be.colorOrange200),borderWarningSubtle:ge.extend("--ft-border-warning-subtle","Used as border for warning components.",be.colorOrange30),borderSuccessPrimary:ge.extend("--ft-border-success-primary","Used as border for success buttons.",be.colorGreen200),borderSuccessSubtle:ge.extend("--ft-border-success-subtle","Used as border for success components.",be.colorGreen30),borderErrorPrimary:ge.extend("--ft-border-error-primary","Used as border for text fields in error states.",be.colorRed0),borderErrorSubtle:ge.extend("--ft-border-error-subtle","Used as border for error components.",be.colorRed30),borderInfoPrimary:ge.extend("--ft-border-info-primary","Used as border for buttons in info color.",be.colorCyan200),borderInfoSubtle:ge.extend("--ft-border-info-subtle","Used as border for information components.",be.colorCyan30),borderGlobalPrimary:ge.extend("--ft-border-global-primary","Used as border for element like input.",be.colorGray50),borderGlobalSubtle:ge.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",be.colorGray30),borderInputPrimary:ge.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",be.colorGray80)},Te={largeHeight:ge.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ge.extend("--ft-button-large-horizontal-padding","",be.spacing4),largeGap:ge.extend("--ft-button-large-gap","",be.spacing2),largeBorderRadius:ge.extend("--ft-button-large-border-radius","",be.borderRadiusS),largeIconSize:ge.extend("--ft-button-large-icon-size","",be.iconSize3),largeBorderWidth:ge.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ge.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ge.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ge.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ge.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ge.extend("--ft-button-small-horizontal-padding","",be.spacing3),smallGap:ge.extend("--ft-button-small-gap","",be.spacing2),smallBorderRadius:ge.extend("--ft-button-small-border-radius","",be.borderRadiusS),smallIconSize:ge.extend("--ft-button-small-icon-size","",be.iconSize2),smallBorderWidth:ge.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ge.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ge.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ge.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ge.extend("--ft-button-primary-background-color","",He.backgroundActionPrimary),primaryColor:ge.extend("--ft-button-primary-color","",He.contentGlobalOnColor),primaryIconColor:ge.extend("--ft-button-primary-icon-color","",He.contentGlobalOnColor),primaryStateLayerColor:ge.extend("--ft-button-primary-state-layer-color","",He.contentGlobalOnColor),primaryHoverStateLayerOpacity:ge.extend("--ft-button-primary-hover-state-layer-opacity","",be.opacity16),primaryFocusStateLayerOpacity:ge.extend("--ft-button-primary-focus-state-layer-opacity","",be.opacity16),primaryActiveStateLayerOpacity:ge.extend("--ft-button-primary-active-state-layer-opacity","",be.opacity24),primaryDisabledComponentOpacity:ge.extend("--ft-button-primary-disabled-component-opacity","",be.opacity40),focusFocusRingColor:ge.extend("--ft-button-focus-focus-ring-color","",He.borderActionFocusRing),tertiaryBackgroundColor:ge.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ge.extend("--ft-button-tertiary-color","",He.contentActionPrimary),tertiaryIconColor:ge.extend("--ft-button-tertiary-icon-color","",He.contentActionPrimary),tertiaryStateLayerColor:ge.extend("--ft-button-tertiary-state-layer-color","",He.contentActionPrimary),tertiaryHoverStateLayerOpacity:ge.extend("--ft-button-tertiary-hover-state-layer-opacity","",be.opacity8),tertiaryFocusStateLayerOpacity:ge.extend("--ft-button-tertiary-focus-state-layer-opacity","",be.opacity8),tertiaryActiveStateLayerOpacity:ge.extend("--ft-button-tertiary-active-state-layer-opacity","",be.opacity16),tertiaryDisabledComponentOpacity:ge.extend("--ft-button-tertiary-disabled-component-opacity","",be.opacity40),secondaryBackgroundColor:ge.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ge.extend("--ft-button-secondary-color","",He.contentActionPrimary),secondaryIconColor:ge.extend("--ft-button-secondary-icon-color","",He.contentActionPrimary),secondaryStateLayerColor:ge.extend("--ft-button-secondary-state-layer-color","",He.contentActionPrimary),secondaryHoverStateLayerOpacity:ge.extend("--ft-button-secondary-hover-state-layer-opacity","",be.opacity8),secondaryFocusStateLayerOpacity:ge.extend("--ft-button-secondary-focus-state-layer-opacity","",be.opacity8),secondaryActiveStateLayerOpacity:ge.extend("--ft-button-secondary-active-state-layer-opacity","",be.opacity16),secondaryDisabledComponentOpacity:ge.extend("--ft-button-secondary-disabled-component-opacity","",be.opacity40),secondaryBorderColor:ge.extend("--ft-button-secondary-border-color","",He.borderActionPrimary),neutralBackgroundColor:ge.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ge.extend("--ft-button-neutral-icon-color","",He.contentGlobalSecondary),neutralColor:ge.extend("--ft-button-neutral-color","",He.contentGlobalSecondary),neutralStateLayerColor:ge.extend("--ft-button-neutral-state-layer-color","",He.contentGlobalSecondary),neutralHoverStateLayerOpacity:ge.extend("--ft-button-neutral-hover-state-layer-opacity","",be.opacity8),neutralFocusStateLayerOpacity:ge.extend("--ft-button-neutral-focus-state-layer-opacity","",be.opacity8),neutralActiveStateLayerOpacity:ge.extend("--ft-button-neutral-active-state-layer-opacity","",be.opacity16),neutralDisabledComponentOpacity:ge.extend("--ft-button-neutral-disabled-component-opacity","",be.opacity40)},Ge={iconSize:ge.extend("--ft-banner-icon-size","",be.iconSize5),borderWidth:ge.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:ge.extend("--ft-banner-horizontal-padding","",be.spacing6),verticalPadding:ge.extend("--ft-banner-vertical-padding","",be.spacing6),horizontalSideGap:ge.extend("--ft-banner-horizontal-side-gap","",be.spacing6),horizontalMobileGap:ge.extend("--ft-banner-horizontal-mobile-gap","",be.spacing4),verticalMobileGap:ge.extend("--ft-banner-vertical-mobile-gap","",be.spacing6),horizontalMiddleGap:ge.extend("--ft-banner-horizontal-middle-gap","",be.spacing20),infoBackgroundColor:ge.extend("--ft-banner-info-background-color","",He.backgroundInfoSubtle),infoColor:ge.extend("--ft-banner-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-banner-info-icon-color","",He.contentInfoIconOnly)},Ve={horizontalGap:ge.extend("--ft-breadcrumb-horizontal-gap","",be.spacing1),verticalGap:ge.extend("--ft-breadcrumb-vertical-gap","",be.spacing2),currentElementColor:ge.extend("--ft-breadcrumb-current-element-color","",He.contentGlobalPrimary),iconColor:ge.extend("--ft-breadcrumb-icon-color","",He.contentGlobalSubtle)},qe={horizontalPadding:ge.extend("--ft-page-header-horizontal-padding","",be.spacing12),horizontalGap:ge.extend("--ft-page-header-horizontal-gap","",be.spacing4),verticalGap:ge.extend("--ft-page-header-vertical-gap","",be.spacing2),classicVerticalPadding:ge.extend("--ft-page-header-classic-vertical-padding","",be.spacing6),multilineVerticalPadding:ge.extend("--ft-page-header-multiline-vertical-padding","",be.spacing4),inlineVerticalPadding:ge.extend("--ft-page-header-inline-vertical-padding","",be.spacing2),backgroundColor:ge.extend("--ft-page-header-background-color","",be.colorWhite),bottomBorderColor:ge.extend("--ft-page-header-bottom-border-color","",He.borderGlobalSubtle),titleColor:ge.extend("--ft-page-header-title-color","",He.contentGlobalPrimary),subtitleColor:ge.extend("--ft-page-header-subtitle-color","",He.contentGlobalSecondary)},Ye={smallContainerWidth:ge.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:ge.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:ge.extend("--ft-modal-overlay-background-color","",be.colorGray700),overlayOpacity:ge.extend("--ft-modal-overlay-opacity","",be.opacity40),shadow:ge.extend("--ft-modal-shadow","",be.shadowElevation03),bodyBackgroundColor:ge.extend("--ft-modal-body-background-color","",be.colorWhite),bodyColor:ge.extend("--ft-modal-body-color","",He.contentGlobalPrimary),bodyHorizontalPadding:ge.extend("--ft-modal-body-horizontal-padding","",be.spacing6),bodyVerticalPadding:ge.extend("--ft-modal-body-vertical-padding","",be.spacing6),bodyVerticalGap:ge.extend("--ft-modal-body-vertical-gap","",be.spacing6),containerMargin:ge.extend("--ft-modal-container-margin","",be.spacing3),headerBackgroundColor:ge.extend("--ft-modal-header-background-color","",He.backgroundGlobalOnSurface),headerBorderColor:ge.extend("--ft-modal-header-border-color","",He.borderGlobalSubtle),headerColor:ge.extend("--ft-modal-header-color","",He.contentGlobalPrimary),headerTrailingIconColor:ge.extend("--ft-modal-header-trailing-icon-color","",He.contentGlobalSecondary),headerVerticalPadding:ge.extend("--ft-modal-header-vertical-padding","",be.spacing1),headerRightPadding:ge.extend("--ft-modal-header-right-padding","",be.spacing1),headerLeftPadding:ge.extend("--ft-modal-header-left-padding","",be.spacing6),headerGap:ge.extend("--ft-modal-header-gap","",be.spacing2),headerBorderBottom:ge.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:ge.extend("--ft-modal-border-radius","",be.borderRadiusM)},Je={overlayOpacity:ge.extend("--ft-drawer-overlay-opacity","",be.opacity40),shadow:ge.extend("--ft-drawer-shadow","",be.shadowElevation03),bodyColor:ge.extend("--ft-drawer-body-color","",He.contentGlobalPrimary),bodyHorizontalPadding:ge.extend("--ft-drawer-body-horizontal-padding","",be.spacing6),bodyVerticalPadding:ge.extend("--ft-drawer-body-vertical-padding","",be.spacing6),bodyGap:ge.extend("--ft-drawer-body-gap","",be.spacing6),bodyBackgroundColor:ge.extend("--ft-drawer-body-background-color","",be.colorWhite),headerBackgroundColor:ge.extend("--ft-drawer-header-background-color","",He.backgroundGlobalOnSurface),headerBorderColor:ge.extend("--ft-drawer-header-border-color","",He.borderGlobalSubtle),headerColor:ge.extend("--ft-drawer-header-color","",He.contentGlobalPrimary),headerTrailingIconColor:ge.extend("--ft-drawer-header-trailing-icon-color","",He.contentGlobalSecondary),headerHeight:ge.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:ge.extend("--ft-drawer-header-horizontal-padding","",be.spacing2),headerBorderWidth:ge.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:ge.extend("--ft-drawer-header-gap","",be.spacing3),buttonsBarBackgroundColor:ge.extend("--ft-drawer-buttons-bar-background-color","",He.backgroundGlobalOnSurface),buttonsBarBorderColor:ge.extend("--ft-drawer-buttons-bar-border-color","",He.borderGlobalSubtle),buttonsBarColor:ge.extend("--ft-drawer-buttons-bar-color","",He.contentGlobalPrimary),buttonsBarHorizontalPadding:ge.extend("--ft-drawer-buttons-bar-horizontal-padding","",be.spacing4),buttonsBarVerticalPadding:ge.extend("--ft-drawer-buttons-bar-vertical-padding","",be.spacing4),buttonsBarGap:ge.extend("--ft-drawer-buttons-bar-gap","",be.spacing3),buttonsBarBorderWidth:ge.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:ge.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:ge.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:ge.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:ge.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:ge.extend("--ft-drawer-overlay-background-color","",be.colorGray700)},Xe={fieldHorizontalPadding:ge.extend("--ft-text-input-field-horizontal-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-text-input-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-text-input-field-vertical-gap","",be.spacing05),fieldIconSize:ge.extend("--ft-text-input-field-icon-size","",be.iconSize3),fieldHeight:ge.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:ge.extend("--ft-text-input-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-text-input-helper-horizontal-gap","",be.spacing1),helperIconSize:ge.extend("--ft-text-input-helper-icon-size","",be.iconSize2),borderRadius:ge.extend("--ft-text-input-border-radius","",be.borderRadiusM),backgroundColor:ge.extend("--ft-text-input-background-color","",be.colorWhite),contentValueColor:ge.extend("--ft-text-input-content-value-color","",He.contentGlobalPrimary),trailingIconColor:ge.extend("--ft-text-input-trailing-icon-color","",He.contentGlobalSubtle),labelColor:ge.extend("--ft-text-input-label-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-text-input-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-text-input-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-text-input-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-text-input-error-helper-text-color","",He.contentErrorPrimary),errorHelperIconColor:ge.extend("--ft-text-input-error-helper-icon-color","",He.contentErrorIconOnly),warningBorderWidth:ge.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:ge.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-text-input-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-text-input-disabled-component-opacity","",be.opacity40)},Qe={backgroundColor:ge.extend("--ft-text-area-background-color","",be.colorWhite),contentValueColor:ge.extend("--ft-text-area-content-value-color","",He.contentGlobalPrimary),labelColor:ge.extend("--ft-text-area-label-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-text-area-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-text-area-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-text-area-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-text-area-error-helper-text-color","",He.contentErrorPrimary),errorHelperIconColor:ge.extend("--ft-text-area-error-helper-icon-color","",He.contentErrorIconOnly),focusFocusRingColor:ge.extend("--ft-text-area-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ge.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-text-area-disabled-component-opacity","",be.opacity40),fieldHorizontalLeftPadding:ge.extend("--ft-text-area-field-horizontal-left-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-text-area-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-text-area-field-vertical-gap","",be.spacing05),fieldMinHeight:ge.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:ge.extend("--ft-text-area-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-text-area-helper-horizontal-gap","",be.spacing1),helperIconSize:ge.extend("--ft-text-area-helper-icon-size","",be.iconSize2),borderRadius:ge.extend("--ft-text-area-border-radius","",be.borderRadiusM)},tr={height:ge.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:ge.extend("--ft-floating-menu-horizontal-padding","",be.spacing4),offIconColor:ge.extend("--ft-floating-menu-off-icon-color","",He.contentGlobalPrimary),offColor:ge.extend("--ft-floating-menu-off-color","",He.contentGlobalPrimary),onColor:ge.extend("--ft-floating-menu-on-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-floating-menu-on-state-layer-color","",He.contentActionPrimary),gap:ge.extend("--ft-floating-menu-gap","",be.spacing3),focusFocusRingColor:ge.extend("--ft-floating-menu-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:ge.extend("--ft-floating-menu-focus-state-layer-opacity","",be.opacity8),hoverStateLayerOpacity:ge.extend("--ft-floating-menu-hover-state-layer-opacity","",be.opacity8),activeStateLayerOpacity:ge.extend("--ft-floating-menu-active-state-layer-opacity","",be.opacity16),disabledComponentOpacity:ge.extend("--ft-floating-menu-disabled-component-opacity","",be.opacity40),iconSize:ge.extend("--ft-floating-menu-icon-size","",be.iconSize3),backgroundColor:ge.extend("--ft-floating-menu-background-color","",He.backgroundGlobalOnSurface)},or={fieldHorizontalPadding:ge.extend("--ft-combobox-single-select-field-horizontal-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-combobox-single-select-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-combobox-single-select-field-vertical-gap","",be.spacing05),fieldIconSize:ge.extend("--ft-combobox-single-select-field-icon-size","",be.iconSize3),fieldHeight:ge.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:ge.extend("--ft-combobox-single-select-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-combobox-single-select-helper-horizontal-gap","",be.spacing1),helperVerticalGap:ge.extend("--ft-combobox-single-select-helper-vertical-gap","",be.spacing1),helperIconSize:ge.extend("--ft-combobox-single-select-helper-icon-size","",be.iconSize2),menuVerticalGap:ge.extend("--ft-combobox-single-select-menu-vertical-gap","",be.spacing2),borderRadius:ge.extend("--ft-combobox-single-select-border-radius","",be.borderRadiusM),backgroundColor:ge.extend("--ft-combobox-single-select-background-color","",be.colorWhite),labelColor:ge.extend("--ft-combobox-single-select-label-color","",He.contentGlobalSubtle),contentValueColor:ge.extend("--ft-combobox-single-select-content-value-color","",He.contentGlobalPrimary),trailingIconColor:ge.extend("--ft-combobox-single-select-trailing-icon-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-combobox-single-select-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-combobox-single-select-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-combobox-single-select-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-combobox-single-select-error-helper-text-color","",He.contentErrorPrimary),warningBorderWidth:ge.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:ge.extend("--ft-combobox-single-select-warning-border-color","",He.borderWarningPrimary),warningHelperTextColor:ge.extend("--ft-combobox-single-select-warning-helper-text-color","",He.contentWarningPrimary),warningHelperIconColor:ge.extend("--ft-combobox-single-select-warning-helper-icon-color","",He.contentWarningIconOnly),focusOutlineWidth:ge.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-combobox-single-select-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-combobox-single-select-disabled-component-opacity","",be.opacity40)},er={backgroundColor:ge.extend("--ft-combobox-multi-select-background-color","",be.colorWhite),labelColor:ge.extend("--ft-combobox-multi-select-label-color","",He.contentGlobalSubtle),trailingIconColor:ge.extend("--ft-combobox-multi-select-trailing-icon-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-combobox-multi-select-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-combobox-multi-select-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:ge.extend("--ft-combobox-multi-select-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-combobox-multi-select-error-helper-text-color","",He.contentErrorPrimary),errorHelperIcon:ge.extend("--ft-combobox-multi-select-error-helper-icon","",He.contentErrorIconOnly),errorBorderWidth:ge.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:ge.extend("--ft-combobox-multi-select-warning-border-color","",He.borderWarningPrimary),warningHelperTextColor:ge.extend("--ft-combobox-multi-select-warning-helper-text-color","",He.contentWarningPrimary),warningHelperIconColor:ge.extend("--ft-combobox-multi-select-warning-helper-icon-color","",He.contentWarningIconOnly),warningBorderWidth:ge.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-combobox-multi-select-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ge.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-combobox-multi-select-disabled-component-opacity","",be.opacity40),helperHorizontalPadding:ge.extend("--ft-combobox-multi-select-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-combobox-multi-select-helper-horizontal-gap","",be.spacing1),helperVerticalGap:ge.extend("--ft-combobox-multi-select-helper-vertical-gap","",be.spacing1),helperIconSize:ge.extend("--ft-combobox-multi-select-helper-icon-size","",be.iconSize2),fieldHorizontalPadding:ge.extend("--ft-combobox-multi-select-field-horizontal-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-combobox-multi-select-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-combobox-multi-select-field-vertical-gap","",be.spacing05),fieldIconSize:ge.extend("--ft-combobox-multi-select-field-icon-size","",be.iconSize3),fieldMaxHeight:ge.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:ge.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",be.spacing1),contentValuesVerticalGap:ge.extend("--ft-combobox-multi-select-content-values-vertical-gap","",be.spacing1),borderRadius:ge.extend("--ft-combobox-multi-select-border-radius","",be.borderRadiusM)},rr={backgroundColor:ge.extend("--ft-popover-background-color","",He.backgroundGlobalOnSurface),horizontalPadding:ge.extend("--ft-popover-horizontal-padding","",be.spacing6),verticalPadding:ge.extend("--ft-popover-vertical-padding","",be.spacing6),iconColor:ge.extend("--ft-popover-icon-color","",He.contentGlobalSecondary),iconSize:ge.extend("--ft-popover-icon-size","",be.iconSize2),titleColor:ge.extend("--ft-popover-title-color","",He.contentGlobalPrimary),bodyColor:ge.extend("--ft-popover-body-color","",He.contentGlobalSecondary),linkColor:ge.extend("--ft-popover-link-color","",He.contentActionPrimary),gap:ge.extend("--ft-popover-gap","",be.spacing3),borderRadius:ge.extend("--ft-popover-border-radius","",be.borderRadiusM),shadow:ge.extend("--ft-popover-shadow","",be.shadowElevation02)},nr={topLeftBorderRadius:ge.extend("--ft-tabs-top-left-border-radius","",be.borderRadiusS),topRightBorderRadius:ge.extend("--ft-tabs-top-right-border-radius","",be.borderRadiusS),labelHorizontalPadding:ge.extend("--ft-tabs-label-horizontal-padding","",be.spacing4),labelVerticalPadding:ge.extend("--ft-tabs-label-vertical-padding","",be.spacing3),labelGap:ge.extend("--ft-tabs-label-gap","",be.spacing1),offHoverStateLayerOpacity:ge.extend("--ft-tabs-off-hover-state-layer-opacity","",be.opacity8),offFocusStateLayerOpacity:ge.extend("--ft-tabs-off-focus-state-layer-opacity","",be.opacity8),offActiveStateLayerOpacity:ge.extend("--ft-tabs-off-active-state-layer-opacity","",be.opacity16),offDisabledComponentOpacity:ge.extend("--ft-tabs-off-disabled-component-opacity","",be.opacity40),offColor:ge.extend("--ft-tabs-off-color","",He.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-tabs-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-tabs-on-hover-state-layer-opacity","",be.opacity8),onFocusStateLayerOpacity:ge.extend("--ft-tabs-on-focus-state-layer-opacity","",be.opacity8),onActiveStateLayerOpacity:ge.extend("--ft-tabs-on-active-state-layer-opacity","",be.opacity16),onDisabledComponentOpacity:ge.extend("--ft-tabs-on-disabled-component-opacity","",be.opacity40),onColor:ge.extend("--ft-tabs-on-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-tabs-on-state-layer-color","",He.contentActionPrimary),iconHorizontalPadding:ge.extend("--ft-tabs-icon-horizontal-padding","",be.spacing1),iconVerticalPadding:ge.extend("--ft-tabs-icon-vertical-padding","",be.spacing4),focusOutlineWidth:ge.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-tabs-focus-focus-ring-color","",He.borderActionFocusRing)},ir={hoverStateLayerOpacity:ge.extend("--ft-collapsible-hover-state-layer-opacity","",be.opacity8),focusStateLayerOpacity:ge.extend("--ft-collapsible-focus-state-layer-opacity","",be.opacity8),focusOutlineWidth:ge.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:ge.extend("--ft-collapsible-focus-focus-ring-color","",He.borderActionFocusRing),activeStateLayerOpacity:ge.extend("--ft-collapsible-active-state-layer-opacity","",be.opacity16),disabledComponentOpacity:ge.extend("--ft-collapsible-disabled-component-opacity","",be.opacity40),horizontalPadding:ge.extend("--ft-collapsible-horizontal-padding","",be.spacing4),verticalPadding:ge.extend("--ft-collapsible-vertical-padding","",be.spacing3),color:ge.extend("--ft-collapsible-color","",He.contentGlobalPrimary),stateLayerColor:ge.extend("--ft-collapsible-state-layer-color","",He.contentGlobalPrimary),backgroundColor:ge.extend("--ft-collapsible-background-color","",He.backgroundGlobalOnSurface),borderColor:ge.extend("--ft-collapsible-border-color","",He.borderGlobalSubtle),iconSize:ge.extend("--ft-collapsible-icon-size","",be.iconSize3)},ar={groupHorizontalPadding:ge.extend("--ft-switch-group-horizontal-padding","",be.spacing1),groupVerticalPadding:ge.extend("--ft-switch-group-vertical-padding","",be.spacing1),groupGap:ge.extend("--ft-switch-group-gap","",be.spacing1),groupBackgroundColor:ge.extend("--ft-switch-group-background-color","",He.backgroundGlobalSurface),groupBorderColor:ge.extend("--ft-switch-group-border-color","",He.borderGlobalSubtle),groupBorderRadius:ge.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:ge.extend("--ft-switch-label-horizontal-padding","",be.spacing2),labelVerticalPadding:ge.extend("--ft-switch-label-vertical-padding","",be.spacing1),offHoverStateLayerOpacity:ge.extend("--ft-switch-off-hover-state-layer-opacity","",be.opacity8),offFocusStateLayerOpacity:ge.extend("--ft-switch-off-focus-state-layer-opacity","",be.opacity8),offActiveStateLayerOpacity:ge.extend("--ft-switch-off-active-state-layer-opacity","",be.opacity16),offDisabledComponentOpacity:ge.extend("--ft-switch-off-disabled-component-opacity","",be.opacity40),offColor:ge.extend("--ft-switch-off-color","",He.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-switch-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-switch-on-hover-state-layer-opacity","",be.opacity8),onFocusStateLayerOpacity:ge.extend("--ft-switch-on-focus-state-layer-opacity","",be.opacity8),onActiveStateLayerOpacity:ge.extend("--ft-switch-on-active-state-layer-opacity","",be.opacity16),onDisabledComponentOpacity:ge.extend("--ft-switch-on-disabled-component-opacity","",be.opacity40),onColor:ge.extend("--ft-switch-on-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-switch-on-state-layer-color","",He.contentActionPrimary),iconHorizontalPadding:ge.extend("--ft-switch-icon-horizontal-padding","",be.spacing1),iconVerticalPadding:ge.extend("--ft-switch-icon-vertical-padding","",be.spacing1),focusOutlineWidth:ge.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-switch-focus-focus-ring-color","",He.borderActionFocusRing),optionBorderRadius:ge.extend("--ft-switch-option-border-radius","",be.borderRadiusS)},lr={color1Light:ge.extend("--ft-chart-1-light","for area color charts",be.colorBrand40),color1Base:ge.extend("--ft-chart-1-base","for line charts",be.colorBrand0),color2Light:ge.extend("--ft-chart-2-light","for area color charts",be.colorYellow60),color2Base:ge.extend("--ft-chart-2-base","for line charts",be.colorYellow100),color3Light:ge.extend("--ft-chart-3-light","",be.colorUltramarine40),color3Base:ge.extend("--ft-chart-3-base","",be.colorUltramarine70),color4Light:ge.extend("--ft-chart-4-light","",be.colorCyan50),color4Base:ge.extend("--ft-chart-4-base","",be.colorCyan100),color5Light:ge.extend("--ft-chart-5-light","",be.colorRed40),color5Base:ge.extend("--ft-chart-5-base","",be.colorRed60),color6Light:ge.extend("--ft-chart-6-light","",be.colorGreen40),color6Base:ge.extend("--ft-chart-6-base","",be.colorGreen70),color7Light:ge.extend("--ft-chart-7-light","",be.colorOrange70),color7Base:ge.extend("--ft-chart-7-base","",be.colorOrange100),color8Light:ge.extend("--ft-chart-8-light","",be.colorAvocado70),color8Base:ge.extend("--ft-chart-8-base","",be.colorAvocado200),color9Light:ge.extend("--ft-chart-9-light","",be.colorBrown50),color9Base:ge.extend("--ft-chart-9-base","",be.colorBrown200),color10Light:ge.extend("--ft-chart-10-light","",be.colorGray50),color10Base:ge.extend("--ft-chart-10-base","",be.colorGray80),monochrome10:ge.extend("--ft-chart-monochrome-10","",be.colorBrand10),monochrome20:ge.extend("--ft-chart-monochrome-20","",be.colorBrand20),monochrome30:ge.extend("--ft-chart-monochrome-30","",be.colorBrand40),monochrome40:ge.extend("--ft-chart-monochrome-40","",be.colorBrand60),monochrome50:ge.extend("--ft-chart-monochrome-50","",be.colorBrand0),monochrome60:ge.extend("--ft-chart-monochrome-60","",be.colorBrand200)},sr={largeHorizontalPadding:ge.extend("--ft-chip-large-horizontal-padding","",be.spacing4),largeVerticalPadding:ge.extend("--ft-chip-large-vertical-padding","",be.spacing2),largeGap:ge.extend("--ft-chip-large-gap","",be.spacing1),largeFocusOutlineOffset:ge.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ge.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:ge.extend("--ft-chip-large-border-radius","",be.borderRadiusPill),largeBorderWidth:ge.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:ge.extend("--ft-chip-large-icon-size","",be.iconSize3),mediumHorizontalPadding:ge.extend("--ft-chip-medium-horizontal-padding","",be.spacing3),mediumVerticalPadding:ge.extend("--ft-chip-medium-vertical-padding","",be.spacing1),mediumGap:ge.extend("--ft-chip-medium-gap","",be.spacing1),mediumFocusOutlineOffset:ge.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:ge.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:ge.extend("--ft-chip-medium-border-radius","",be.borderRadiusPill),mediumBorderWidth:ge.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:ge.extend("--ft-chip-medium-icon-size","",be.iconSize2),smallHorizontalPadding:ge.extend("--ft-chip-small-horizontal-padding","",be.spacing2),smallVerticalPadding:ge.extend("--ft-chip-small-vertical-padding","",be.spacing05),smallGap:ge.extend("--ft-chip-small-gap","",be.spacing1),smallFocusOutlineOffset:ge.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ge.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:ge.extend("--ft-chip-small-border-radius","",be.borderRadiusPill),smallBorderWidth:ge.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:ge.extend("--ft-chip-small-icon-size","",be.iconSize1),neutralBackgroundColor:ge.extend("--ft-chip-neutral-background-color","",He.backgroundGlobalOnSurface),neutralColor:ge.extend("--ft-chip-neutral-color","",He.contentGlobalPrimary),neutralIconColor:ge.extend("--ft-chip-neutral-icon-color","",He.contentGlobalPrimary),neutralBorderColor:ge.extend("--ft-chip-neutral-border-color","",He.borderGlobalSubtle),infoBackgroundColor:ge.extend("--ft-chip-info-background-color","",He.backgroundInfoSubtle),infoColor:ge.extend("--ft-chip-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-chip-info-icon-color","",He.contentInfoIconOnly),infoBorderColor:ge.extend("--ft-chip-info-border-color","",He.borderInfoSubtle),successBackgroundColor:ge.extend("--ft-chip-success-background-color","",He.backgroundSuccessSubtle),successColor:ge.extend("--ft-chip-success-color","",He.contentSuccessPrimary),successIconColor:ge.extend("--ft-chip-success-icon-color","",He.contentSuccessIconOnly),successBorderColor:ge.extend("--ft-chip-success-border-color","",He.borderSuccessSubtle),warningBackgroundColor:ge.extend("--ft-chip-warning-background-color","",He.backgroundWarningSubtle),warningColor:ge.extend("--ft-chip-warning-color","",He.contentWarningPrimary),warningIconColor:ge.extend("--ft-chip-warning-icon-color","",He.contentWarningIconOnly),warningBorderColor:ge.extend("--ft-chip-warning-border-color","",He.borderWarningSubtle),errorBackgroundColor:ge.extend("--ft-chip-error-background-color","",He.backgroundErrorSubtle),errorColor:ge.extend("--ft-chip-error-color","",He.contentErrorPrimary),errorIconColor:ge.extend("--ft-chip-error-icon-color","",He.contentErrorIconOnly),errorBorderColor:ge.extend("--ft-chip-error-border-color","",He.borderErrorSubtle)},cr={infoBorderColor:ge.extend("--ft-border-info-border-color","",He.borderInfoSubtle)},fr={borderWidth:ge.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:ge.extend("--ft-notice-horizontal-padding","",be.spacing2),verticalPadding:ge.extend("--ft-notice-vertical-padding","",be.spacing1),borderRadius:ge.extend("--ft-notice-border-radius","",be.borderRadiusS),gap:ge.extend("--ft-notice-gap","",be.spacing2),iconSize:ge.extend("--ft-notice-icon-size","",be.iconSize3),infoBackgroundColor:ge.extend("--ft-notice-info-background-color","",He.backgroundInfoSubtle),infoBorderColor:ge.extend("--ft-notice-info-border-color","",He.borderInfoSubtle),infoColor:ge.extend("--ft-notice-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-notice-info-icon-color","",He.contentInfoIconOnly),warningBackgroundColor:ge.extend("--ft-notice-warning-background-color","",He.backgroundWarningSubtle),warningBorderColor:ge.extend("--ft-notice-warning-border-color","",He.borderWarningSubtle),warningColor:ge.extend("--ft-notice-warning-color","",He.contentWarningPrimary),warningIconColor:ge.extend("--ft-notice-warning-icon-color","",He.contentWarningIconOnly),errorBackgroundColor:ge.extend("--ft-notice-error-background-color","",He.backgroundErrorSubtle),errorBorderColor:ge.extend("--ft-notice-error-border-color","",He.borderErrorSubtle),errorColor:ge.extend("--ft-notice-error-color","",He.contentErrorPrimary),errorIconColor:ge.extend("--ft-notice-error-icon-color","",He.contentErrorIconOnly),successBackgroundColor:ge.extend("--ft-notice-success-background-color","",He.backgroundSuccessSubtle),successBorderColor:ge.extend("--ft-notice-success-border-color","",He.borderSuccessSubtle),successColor:ge.extend("--ft-notice-success-color","",He.contentSuccessPrimary),successIconColor:ge.extend("--ft-notice-success-icon-color","",He.contentSuccessIconOnly)},dr={color:ge.extend("--ft-checkbox-color","",He.contentGlobalPrimary),checkedBackgroundColor:ge.extend("--ft-checkbox-checked-background-color","",He.contentActionPrimary),checkedStateLayerColor:ge.extend("--ft-checkbox-checked-state-layer-color","",He.contentActionPrimary),checkedIconColor:ge.extend("--ft-checkbox-checked-icon-color","",He.contentGlobalOnColor),checkedHoverStateLayerOpacity:ge.extend("--ft-checkbox-checked-hover-state-layer-opacity","",be.opacity16),checkedFocusStateLayerOpacity:ge.extend("--ft-checkbox-checked-focus-state-layer-opacity","",be.opacity16),checkedActiveStateLayerOpacity:ge.extend("--ft-checkbox-checked-active-state-layer-opacity","",be.opacity24),checkedDisabledComponentOpacity:ge.extend("--ft-checkbox-checked-disabled-component-opacity","",be.opacity40),uncheckedBorderColor:ge.extend("--ft-checkbox-unchecked-border-color","",be.colorGray80),uncheckedStateLayerColor:ge.extend("--ft-checkbox-unchecked-state-layer-color","",be.colorGray80),uncheckedHoverStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",be.opacity16),uncheckedFocusStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",be.opacity16),uncheckedActiveStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",be.opacity24),uncheckedDisabledComponentOpacity:ge.extend("--ft-checkbox-unchecked-disabled-component-opacity","",be.opacity40),focusFocusRingColor:ge.extend("--ft-checkbox-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ge.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:ge.extend("--ft-checkbox-gap","",be.spacing3)},pr={offHoverStateLayerOpacity:ge.extend("--ft-toggle-off-hover-state-layer-opacity","",be.opacity16),offFocusStateLayerOpacity:ge.extend("--ft-toggle-off-focus-state-layer-opacity","",be.opacity16),offActiveStateLayerOpacity:ge.extend("--ft-toggle-off-active-state-layer-opacity","",be.opacity24),offDisabledComponentOpacity:ge.extend("--ft-toggle-off-disabled-component-opacity","",be.opacity40),offBackgroundColor:ge.extend("--ft-toggle-off-background-color","",He.contentGlobalSubtle),offIconColor:ge.extend("--ft-toggle-off-icon-color","",He.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-toggle-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-toggle-on-hover-state-layer-opacity","",be.opacity16),onFocusStateLayerOpacity:ge.extend("--ft-toggle-on-focus-state-layer-opacity","",be.opacity16),onActiveStateLayerOpacity:ge.extend("--ft-toggle-on-active-state-layer-opacity","",be.opacity24),onDisabledComponentOpacity:ge.extend("--ft-toggle-on-disabled-component-opacity","",be.opacity40),onBackgroundColor:ge.extend("--ft-toggle-on-background-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-toggle-on-state-layer-color","",He.contentActionPrimary),onIconColor:ge.extend("--ft-toggle-on-icon-color","",He.contentActionPrimary),color:ge.extend("--ft-toggle-color","",He.contentGlobalPrimary),focusFocusRingColor:ge.extend("--ft-toggle-focus-focus-ring-color","",He.borderActionFocusRing),gap:ge.extend("--ft-toggle-gap","",be.spacing3)},ur={color:ge.extend("--ft-radio-color","",He.contentGlobalPrimary),selectedRadioColor:ge.extend("--ft-radio-selected-radio-color","",He.contentActionPrimary),selectedStateLayerColor:ge.extend("--ft-radio-selected-state-layer-color","",He.contentActionPrimary),selectedHoverStateLayerOpacity:ge.extend("--ft-radio-selected-hover-state-layer-opacity","",be.opacity16),selectedFocusStateLayerOpacity:ge.extend("--ft-radio-selected-focus-state-layer-opacity","",be.opacity16),selectedActiveStateLayerOpacity:ge.extend("--ft-radio-selected-active-state-layer-opacity","",be.opacity24),selectedDisabledComponentOpacity:ge.extend("--ft-radio-selected-disabled-component-opacity","",be.opacity40),unselectedStateLayerColor:ge.extend("--ft-radio-unselected-state-layer-color","",He.borderInputPrimary),unselectedBorderColor:ge.extend("--ft-radio-unselected-border-color","",He.borderInputPrimary),unselectedHoverStateLayerOpacity:ge.extend("--ft-radio-unselected-hover-state-layer-opacity","",be.opacity16),unselectedFocusStateLayerOpacity:ge.extend("--ft-radio-unselected-focus-state-layer-opacity","",be.opacity16),unselectedActiveStateLayerOpacity:ge.extend("--ft-radio-unselected-active-state-layer-opacity","",be.opacity24),unselectedDisabledComponentOpacity:ge.extend("--ft-radio-unselected-disabled-component-opacity","",be.opacity40),focusFocusRingColor:ge.extend("--ft-radio-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ge.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:ge.extend("--ft-radio-gap","",be.spacing3)},hr={iconSize:ge.extend("--ft-notification-icon-size","",be.iconSize4),horizontalPadding:ge.extend("--ft-notification-horizontal-padding","",be.spacing4),verticalPadding:ge.extend("--ft-notification-vertical-padding","",be.spacing4),infoBackgroundColor:ge.extend("--ft-notification-info-background-color","",He.backgroundInfoSubtle),infoColor:ge.extend("--ft-notification-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-notification-info-icon-color","",He.contentInfoIconOnly),infoBorderColor:ge.extend("--ft-notification-info-border-color","",He.borderInfoSubtle),successBackgroundColor:ge.extend("--ft-notification-success-background-color","",He.backgroundSuccessSubtle),successColor:ge.extend("--ft-notification-success-color","",He.contentSuccessPrimary),successIconColor:ge.extend("--ft-notification-success-icon-color","",He.contentSuccessIconOnly),successBorderColor:ge.extend("--ft-notification-success-border-color","",He.borderSuccessSubtle),warningBackgroundColor:ge.extend("--ft-notification-warning-background-color","",He.backgroundWarningSubtle),warningColor:ge.extend("--ft-notification-warning-color","",He.contentWarningPrimary),warningIconColor:ge.extend("--ft-notification-warning-icon-color","",He.contentWarningIconOnly),warningBorderColor:ge.extend("--ft-notification-warning-border-color","",He.borderWarningSubtle),errorBackgroundColor:ge.extend("--ft-notification-error-background-color","",He.backgroundErrorSubtle),errorColor:ge.extend("--ft-notification-error-color","",He.contentErrorPrimary),errorIconColor:ge.extend("--ft-notification-error-icon-color","",He.contentErrorIconOnly),errorBorderColor:ge.extend("--ft-notification-error-border-color","",He.borderErrorSubtle),borderRadius:ge.extend("--ft-notification-border-radius","",be.borderRadiusPill),borderWidth:ge.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:ge.extend("--ft-notification-leading-gap","",be.spacing2),trailingGap:ge.extend("--ft-notification-trailing-gap","",be.spacing8)},yr={horizontalPadding:ge.extend("--ft-tooltip-horizontal-padding","",be.spacing2),verticalPadding:ge.extend("--ft-tooltip-vertical-padding","",be.spacing2),borderRadius:ge.extend("--ft-tooltip-border-radius","",be.borderRadiusS),color:ge.extend("--ft-tooltip-color","",He.contentGlobalOnColor),backgroundColor:ge.extend("--ft-tooltip-background-color","",He.contentGlobalPrimary),backgroundOpacity:ge.extend("--ft-tooltip-background-opacity","",be.opacity80),shadow:ge.extend("--ft-tooltip-shadow","",be.shadowElevation03),maxWidth:ge.create("--ft-tooltip-max-width","","SIZE","256px"),gap:ge.extend("--ft-tooltip-gap","",be.spacing05)};var gr=Object.freeze({__proto__:null,FtCssVariableFactory:ge,banner:Ge,border:cr,breadcrumb:Ve,button:Te,chart:lr,checkbox:dr,chip:sr,collapsible:ir,comboboxMultiSelect:er,comboboxSingleSelect:or,drawer:Je,floatingMenu:tr,foundation:be,modal:Ye,notice:fr,notification:hr,pageHeader:qe,popover:rr,radio:ur,semantic:He,setVariable:function(t,o){return ye(`${t.name}: ${o}`)},switch_:ar,tabs:nr,textArea:Qe,textInput:Xe,toggle:pr,tooltip:yr,typographies:De,typographyBody1Medium:Se,typographyBody1Regular:we,typographyBody1Semibold:Ce,typographyBody2Medium:Ee,typographyBody2MediumUnderline:Re,typographyBody2Regular:Ne,typographyBody2Semibold:Ie,typographyCaption1Bold:Fe,typographyCaption1Medium:Be,typographyCaption1Semibold:Ae,typographyCaption2Bold:Me,typographyCaption2Medium:Pe,typographyCaption2Semibold:_e,typographyCaption3Bold:Ze,typographyCaption3Medium:je,typographyCaption3Semibold:Ke,typographyDisplay:me,typographyLabel1Bold:We,typographyLabel1Medium:Le,typographyLabel1Semibold:Ue,typographyLabel2Bold:ze,typographyLabel2Medium:ke,typographyLabel2Semibold:$e,typographyTitle1:ve,typographyTitle2:Oe,typographyTitle3:xe,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 br={colorPrimary:ge.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ge.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ge.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ge.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ge.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ge.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ge.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ge.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ge.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ge.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ge.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ge.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ge.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ge.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ge.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ge.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ge.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ge.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ge.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ge.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ge.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ge.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ge.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ge.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ge.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ge.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ge.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ge.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ge.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ge.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ge.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ge.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ge.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ge.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ge.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ge.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ge.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ge.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ge.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ge.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ge.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ge.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ge.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ge.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ge.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ge.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ge.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ge.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ge.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ge.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ge.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var mr=Object.freeze({__proto__:null,designSystemVariables:br});class vr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Or extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class xr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var wr=Object.freeze({__proto__:null,FtNotificationEvent:vr,PostResizeEvent:xr,PreResizeEvent:Or});const Sr=["start","end"],Cr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Sr[0],o+"-"+Sr[1])),[]),Nr=Math.min,Er=Math.max,Rr=Math.round,Ir=t=>({x:t,y:t}),Lr={left:"right",right:"left",bottom:"top",top:"bottom"},Ur={start:"end",end:"start"};function Wr(t,o,e){return Er(t,Nr(o,e))}function kr(t,o){return"function"==typeof t?t(o):t}function $r(t){return t.split("-")[0]}function zr(t){return t.split("-")[1]}function Br(t){return"x"===t?"y":"x"}function Ar(t){return"y"===t?"height":"width"}function Fr(t){return["top","bottom"].includes($r(t))?"y":"x"}function Pr(t){return Br(Fr(t))}function _r(t){return t.replace(/left|right|bottom|top/g,(t=>Lr[t]))}function Mr(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=Fr(o),a=Pr(o),l=Ar(a),s=$r(o),c="y"===i,f=r.x+r.width/2-n.width/2,d=r.y+r.height/2-n.height/2,p=r[l]/2-n[l]/2;let u;switch(s){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:d};break;case"left":u={x:r.x-n.width,y:d};break;default:u={x:r.x,y:r.y}}switch(zr(o)){case"start":u[a]-=p*(e&&c?-1:1);break;case"end":u[a]+=p*(e&&c?-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:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:u=0}=kr(o,t),h=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[p?"floating"===d?"reference":"floating":d],g=Mr(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:c,rootBoundary:f,strategy:s})),b="floating"===d?{...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=Mr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-O.top+h.top)/v.y,bottom:(O.bottom-g.bottom+h.bottom)/v.y,left:(g.left-O.left+h.left)/v.x,right:(O.right-g.right+h.right)/v.x}}function Zr(t,o,e){return(t?[...e.filter((o=>zr(o)===t)),...e.filter((o=>zr(o)!==t))]:e.filter((t=>$r(t)===t))).filter((e=>!t||(zr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ur[t]))}(e)!==e)))}const Dr=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:s,elements:c}=o,{crossAxis:f=!1,alignment:d,allowedPlacements:p=Cr,autoAlignment:u=!0,...h}=kr(t,o),y=void 0!==d||p===Cr?Zr(d||null,u,p):p,g=await Kr(o,h),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=zr(t),n=Pr(t),i=Ar(n);let a="x"===n?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(a=_r(a)),[a,_r(a)]}(m,i,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[g[$r(m)],g[v[0]],g[v[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],w=y[b+1];if(w)return{data:{index:b+1,overflows:x},reset:{placement:w}};const S=x.map((t=>{const o=zr(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])),C=S.filter((t=>t[2].slice(0,zr(t[0])?2:3).every((t=>t<=0)))),N=(null==(n=C[0])?void 0:n[0])||S[0][0];return N!==l?{data:{index:b+1,overflows:x},reset:{placement:N}}:{}}}};function Hr(t){return Vr(t)?(t.nodeName||"").toLowerCase():"#document"}function Tr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Gr(t){var o;return null==(o=(Vr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Vr(t){return t instanceof Node||t instanceof Tr(t).Node}function qr(t){return t instanceof Element||t instanceof Tr(t).Element}function Yr(t){return t instanceof HTMLElement||t instanceof Tr(t).HTMLElement}function Jr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Tr(t).ShadowRoot)}function Xr(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=rn(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function Qr(t){return["table","td","th"].includes(Hr(t))}function tn(t){const o=on(),e=rn(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 on(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function en(t){return["html","body","#document"].includes(Hr(t))}function rn(t){return Tr(t).getComputedStyle(t)}function nn(t){return qr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function an(t){if("html"===Hr(t))return t;const o=t.assignedSlot||t.parentNode||Jr(t)&&t.host||Gr(t);return Jr(o)?o.host:o}function ln(t){const o=an(t);return en(o)?t.ownerDocument?t.ownerDocument.body:t.body:Yr(o)&&Xr(o)?o:ln(o)}function sn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=ln(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Tr(n);return i?o.concat(a,a.visualViewport||[],Xr(n)?n:[],a.frameElement&&e?sn(a.frameElement):[]):o.concat(n,sn(n,[],e))}function cn(t){const o=rn(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Yr(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,l=Rr(e)!==i||Rr(r)!==a;return l&&(e=i,r=a),{width:e,height:r,$:l}}function fn(t){return qr(t)?t:t.contextElement}function dn(t){const o=fn(t);if(!Yr(o))return Ir(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=cn(o);let a=(i?Rr(e.width):e.width)/r,l=(i?Rr(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const pn=Ir(0);function un(t){const o=Tr(t);return on()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:pn}function hn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=fn(t);let a=Ir(1);o&&(r?qr(r)&&(a=dn(r)):a=dn(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Tr(t))&&o}(i,e,r)?un(i):Ir(0);let s=(n.left+l.x)/a.x,c=(n.top+l.y)/a.y,f=n.width/a.x,d=n.height/a.y;if(i){const t=Tr(i),o=r&&qr(r)?Tr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=dn(e),o=e.getBoundingClientRect(),r=rn(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,d*=t.y,s+=n,c+=i,e=Tr(e).frameElement}}return Mr({width:f,height:d,x:s,y:c})}function yn(t){return hn(Gr(t)).left+nn(t).scrollLeft}function gn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Tr(t),r=Gr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(n){i=n.width,a=n.height;const t=on();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,s=n.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=Gr(t),e=nn(t),r=t.ownerDocument.body,n=Er(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=Er(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+yn(t);const l=-e.scrollTop;return"rtl"===rn(r).direction&&(a+=Er(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:l}}(Gr(t));else if(qr(o))r=function(t,o){const e=hn(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Yr(t)?dn(t):Ir(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=un(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Mr(r)}function bn(t,o){const e=an(t);return!(e===o||!qr(e)||en(e))&&("fixed"===rn(e).position||bn(e,o))}function mn(t,o,e){const r=Yr(o),n=Gr(o),i="fixed"===e,a=hn(t,!0,i,o);let l={scrollLeft:0,scrollTop:0};const s=Ir(0);if(r||!r&&!i)if(("body"!==Hr(o)||Xr(n))&&(l=nn(o)),r){const t=hn(o,!0,i,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else n&&(s.x=yn(n));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function vn(t,o){return Yr(t)&&"fixed"!==rn(t).position?o?o(t):t.offsetParent:null}function On(t,o){const e=Tr(t);if(!Yr(t))return e;let r=vn(t,o);for(;r&&Qr(r)&&"static"===rn(r).position;)r=vn(r,o);return r&&("html"===Hr(r)||"body"===Hr(r)&&"static"===rn(r).position&&!tn(r))?e:r||function(t){let o=an(t);for(;Yr(o)&&!en(o);){if(tn(o))return o;o=an(o)}return null}(t)||e}const xn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Yr(e),i=Gr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},l=Ir(1);const s=Ir(0);if((n||!n&&"fixed"!==r)&&(("body"!==Hr(e)||Xr(i))&&(a=nn(e)),Yr(e))){const t=hn(e);l=dn(e),s.x=t.x+e.clientLeft,s.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+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Gr,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=>qr(t)&&"body"!==Hr(t))),n=null;const i="fixed"===rn(t).position;let a=i?an(t):t;for(;qr(a)&&!en(a);){const o=rn(a),e=tn(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||Xr(a)&&!e&&bn(t,a))?r=r.filter((t=>t!==a)):n=o,a=an(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],l=i.reduce(((t,e)=>{const r=gn(o,e,n);return t.top=Er(r.top,t.top),t.right=Nr(r.right,t.right),t.bottom=Nr(r.bottom,t.bottom),t.left=Er(r.left,t.left),t}),gn(o,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:On,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||On,i=this.getDimensions;return{reference:mn(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 cn(t)},getScale:dn,isElement:qr,isRTL:function(t){return"rtl"===rn(t).direction}},wn=(t,o,e)=>{const r=new Map,n={platform:xn,...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),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:d}=jr(c,r,s),p=r,u={},h=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:d,initialPlacement:r,placement:p,strategy:n,middlewareData:u,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,d=null!=b?b:d,u={...u,[i]:{...u[i],...m}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:d}=jr(c,p,s))),e=-1)}return{x:f,y:d,placement:p,strategy:n,middlewareData:u}})(t,o,{...n,platform:i})};function Sn(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}var Nn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,o,e){return wn(t,o,{platform:{...xn,getOffsetParent:t=>xn.getOffsetParent(t,Sn)},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}}},...s}=kr(r,t),c={x:o,y:e},f=await Kr(t,s),d=Fr($r(n)),p=Br(d);let u=c[p],h=c[d];if(i){const t="y"===p?"bottom":"right";u=Wr(u+f["y"===p?"top":"left"],u,u-f[t])}if(a){const t="y"===d?"bottom":"right";h=Wr(h+f["y"===d?"top":"left"],h,h-f[t])}const y=l.fn({...t,[p]:u,[d]:h});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Dr({allowedPlacements:[e]})]});var r}});
136
+ */let Go=class extends Wo{constructor(t){if(super(t),this.et=D,t.type!==Lo)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===Z)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:[]}}};Go.directiveName="unsafeHTML",Go.resultType=1;const Vo=Uo(Go);var qo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Go,unsafeHTML:Vo});class Yo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class Jo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Yo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Yo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Xo=t=>new Jo(((o,e)=>t.then(o).catch(e)));var Qo=Object.freeze({__proto__:null,CancelablePromise:Jo,CanceledPromiseError:Yo,cancelable:Xo});class te{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 Jo&&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=Xo(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)}}var oe=Object.freeze({__proto__:null,CacheRegistry:te});class ee{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t,o){var e,r;let n=(null!==(r=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>ee.flattenMetadata(t)));return null==o?n:n.find((t=>t.key===o))}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,label:t.label,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,label:t.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o,e="No value"){var r,n;let i=ee.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==i?void 0:i.label)&&void 0!==r?r:null===(n=this.getMetadataDescriptor(t))||void 0===n?void 0:n.label;const l=this.allResults.map((o=>ee.extractResultMetadata(o,t))).map((o=>null!=o?o:{key:t,label:a,value:void 0,displayValue:e})).filter((t=>t.value!=(null==i?void 0:i.value))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return l.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){if(null==t)return-1;if(null==o)return 1;let n=this.getMetadataDescriptor(e),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}getMetadataDescriptor(t){return this.metadataDescriptors.find((o=>t==o.key))}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>{var r;return(null===(r=ee.extractResultMetadata(e,t))||void 0===r?void 0:r.value)==o}));let r,n=ee.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 ee.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var re=Object.freeze({__proto__:null,ClusteringHelper:ee});class ne{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 ie=Object.freeze({__proto__:null,Debouncer:ne});const ae=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 ae(o),i=await t(),n=performance.now();if(null==i)throw new Error("Timeout exceeded");return i}function se(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 ce(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(!ce(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(!ce(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(!ce(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}var fe=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?se(e):e}},deepEqual:ce,delay:ae,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:se,waitFor:le,waitUntil:async function(t,o=10,e=2e4){await le((async()=>await t()||void 0),o,e)}});const de=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function pe(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({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)=>!ce(t,o),...null!=o?o:{}})}function he(t){return!isNaN(parseFloat(t))}var ue=Object.freeze({__proto__:null,customElement:de,isNumber:he,jsonProperty:pe,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return he(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const ye=t=>"string"==typeof t?dt(t):t;class ge{static create(t,o,e,r){const n=t=>ye(null!=t?t:r),i=pt`var(${ye(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>pt`var(${ye(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=pt`var(${ye(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=>pt`var(${ye(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):ye(null!=o?o:t.lastResortDefaultValue()),r=pt`var(${ye(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=>pt`var(${ye(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const be={colorWhite:ge.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ge.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ge.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ge.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ge.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ge.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ge.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ge.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ge.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ge.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ge.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ge.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ge.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ge.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ge.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ge.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ge.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ge.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ge.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ge.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ge.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ge.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ge.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ge.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ge.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ge.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ge.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ge.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ge.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ge.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ge.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ge.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ge.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ge.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ge.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ge.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ge.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ge.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ge.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ge.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ge.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ge.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ge.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ge.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ge.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ge.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ge.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ge.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ge.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ge.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ge.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ge.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ge.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ge.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ge.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ge.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ge.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ge.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ge.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ge.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ge.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ge.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ge.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ge.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:ge.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:ge.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:ge.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:ge.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:ge.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:ge.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:ge.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:ge.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:ge.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:ge.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:ge.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:ge.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:ge.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:ge.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:ge.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ge.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ge.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ge.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ge.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ge.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ge.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ge.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ge.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ge.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ge.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ge.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ge.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ge.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ge.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ge.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ge.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ge.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ge.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ge.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ge.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ge.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ge.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ge.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ge.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ge.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ge.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ge.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ge.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ge.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ge.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ge.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ge.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ge.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ge.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ge.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ge.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ge.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ge.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ge.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ge.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ge.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ge.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ge.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ge.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ge.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ge.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ge.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ge.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ge.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ge.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ge.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ge.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ge.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ge.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ge.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ge.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ge.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ge.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ge.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ge.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ge.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ge.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ge.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ge.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ge.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ge.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ge.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ge.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ge.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ge.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ge.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ge.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ge.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ge.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ge.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ge.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ge.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ge.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ge.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ge.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ge.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ge.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ge.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ge.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ge.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ge.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ge.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ge.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ge.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ge.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ge.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ge.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ge.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ge.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ge.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ge.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ge.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ge.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ge.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ge.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ge.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ge.create("--ft-opacity-0","","NUMBER","0"),opacity8:ge.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ge.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ge.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ge.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ge.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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)")},me={fontFamily:ge.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ge.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-display-textCase","","UNKNOWN","none")},ve={fontFamily:ge.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:ge.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Oe={fontFamily:ge.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:ge.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ge.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},xe={fontFamily:ge.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ge.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:ge.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ge.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},we={fontFamily:ge.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ge.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Se={fontFamily:ge.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ce={fontFamily:ge.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ge.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ne={fontFamily:ge.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ge.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ee={fontFamily:ge.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Re={fontFamily:ge.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:ge.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:ge.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ie={fontFamily:ge.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ge.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ge.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ge.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Le={fontFamily:ge.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ue={fontFamily:ge.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},We={fontFamily:ge.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ge.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},ke={fontFamily:ge.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},$e={fontFamily:ge.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ze={fontFamily:ge.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ge.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ge.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ge.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Be={fontFamily:ge.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ae={fontFamily:ge.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:ge.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ge.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:ge.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_e={fontFamily:ge.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Me={fontFamily:ge.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ge.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},je={fontFamily:ge.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:ge.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:ge.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ge.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:ge.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ge.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:ge.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:ge.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:ge.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:ge.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ge.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ge.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ge.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},De={display:me,"title-1":ve,"title-2":Oe,"title-3":xe,"body-1-regular":we,"body-1-medium":Se,"body-1-semibold":Ce,"body-2-regular":Ne,"body-2-medium":Ee,"body-2-medium-underline":Re,"body-2-semibold":Ie,"label-1-medium":Le,"label-1-semibold":Ue,"label-1-bold":We,"label-2-medium":ke,"label-2-semibold":$e,"label-2-bold":ze,"caption-1-medium":Be,"caption-1-semibold":Ae,"caption-1-bold":Fe,"caption-2-medium":Pe,"caption-2-semibold":_e,"caption-2-bold":Me,"caption-3-medium":je,"caption-3-semibold":Ke,"caption-3-bold":Ze},He={backgroundActionPrimary:ge.extend("--ft-background-action-primary","Used as backgorund of primary action components.",be.colorBrand0),backgroundErrorSubtle:ge.extend("--ft-background-error-subtle","Used as background of subtle error components.",be.colorRed10),backgroundInfoSubtle:ge.extend("--ft-background-info-subtle","Used as background of subtle information components.",be.colorCyan10),backgroundWarningSubtle:ge.extend("--ft-background-warning-subtle","Used as background of subtle information components.",be.colorOrange10),backgroundSuccessSubtle:ge.extend("--ft-background-success-subtle","Used as background of subtle success components.",be.colorGreen10),backgroundGlobalSurface:ge.extend("--ft-background-global-surface","Used as app background.",be.colorWhite),backgroundGlobalOnSurface:ge.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",be.colorGray10),backgroundGlobalOnSurfaceDark:ge.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",be.colorGray30),contentActionPrimary:ge.extend("--ft-content-action-primary","Used on label of primary action on light surface.",be.colorBrand0),contentWarningPrimary:ge.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",be.colorOrange200),contentWarningIconOnly:ge.extend("--ft-content-warning-icon-only","Used on warning status icons alone",be.colorOrange0),contentErrorPrimary:ge.extend("--ft-content-error-primary","Used on label of error messages on light surface.",be.colorRed0),contentErrorIconOnly:ge.extend("--ft-content-error-icon-only","Used on error status icons alone",be.colorRed70),contentInfoPrimary:ge.extend("--ft-content-info-primary","Used on label of information messages on light surface.",be.colorCyan200),contentInfoIconOnly:ge.extend("--ft-content-info-icon-only","Used on info status icons alone",be.colorCyan0),contentSuccessPrimary:ge.extend("--ft-content-success-primary","Used on label of success messages on light surface.",be.colorGreen200),contentSuccessIconOnly:ge.extend("--ft-content-success-icon-only","Used on success status icons alone",be.colorGreen0),contentGlobalPrimary:ge.extend("--ft-content-global-primary","Used for main content on the page.",be.colorGray500),contentGlobalSecondary:ge.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",be.colorGray200),contentGlobalSubtle:ge.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",be.colorGray0),contentGlobalOnColor:ge.extend("--ft-content-global-on-color","Used for content on a dominant color.",be.colorWhite),borderActionPrimary:ge.extend("--ft-border-action-primary","Used as border for primary action components.",be.colorBrand0),borderActionFocusRing:ge.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",be.colorCyan0),borderWarningPrimary:ge.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",be.colorOrange200),borderWarningSubtle:ge.extend("--ft-border-warning-subtle","Used as border for warning components.",be.colorOrange30),borderSuccessPrimary:ge.extend("--ft-border-success-primary","Used as border for success buttons.",be.colorGreen200),borderSuccessSubtle:ge.extend("--ft-border-success-subtle","Used as border for success components.",be.colorGreen30),borderErrorPrimary:ge.extend("--ft-border-error-primary","Used as border for text fields in error states.",be.colorRed0),borderErrorSubtle:ge.extend("--ft-border-error-subtle","Used as border for error components.",be.colorRed30),borderInfoPrimary:ge.extend("--ft-border-info-primary","Used as border for buttons in info color.",be.colorCyan200),borderInfoSubtle:ge.extend("--ft-border-info-subtle","Used as border for information components.",be.colorCyan30),borderGlobalPrimary:ge.extend("--ft-border-global-primary","Used as border for element like input.",be.colorGray50),borderGlobalSubtle:ge.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",be.colorGray30),borderInputPrimary:ge.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",be.colorGray80)},Te={largeHeight:ge.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ge.extend("--ft-button-large-horizontal-padding","",be.spacing4),largeGap:ge.extend("--ft-button-large-gap","",be.spacing2),largeBorderRadius:ge.extend("--ft-button-large-border-radius","",be.borderRadiusS),largeIconSize:ge.extend("--ft-button-large-icon-size","",be.iconSize3),largeBorderWidth:ge.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ge.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ge.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ge.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ge.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ge.extend("--ft-button-small-horizontal-padding","",be.spacing3),smallGap:ge.extend("--ft-button-small-gap","",be.spacing2),smallBorderRadius:ge.extend("--ft-button-small-border-radius","",be.borderRadiusS),smallIconSize:ge.extend("--ft-button-small-icon-size","",be.iconSize2),smallBorderWidth:ge.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ge.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ge.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ge.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ge.extend("--ft-button-primary-background-color","",He.backgroundActionPrimary),primaryColor:ge.extend("--ft-button-primary-color","",He.contentGlobalOnColor),primaryIconColor:ge.extend("--ft-button-primary-icon-color","",He.contentGlobalOnColor),primaryStateLayerColor:ge.extend("--ft-button-primary-state-layer-color","",He.contentGlobalOnColor),primaryHoverStateLayerOpacity:ge.extend("--ft-button-primary-hover-state-layer-opacity","",be.opacity16),primaryFocusStateLayerOpacity:ge.extend("--ft-button-primary-focus-state-layer-opacity","",be.opacity16),primaryActiveStateLayerOpacity:ge.extend("--ft-button-primary-active-state-layer-opacity","",be.opacity24),primaryDisabledComponentOpacity:ge.extend("--ft-button-primary-disabled-component-opacity","",be.opacity40),focusFocusRingColor:ge.extend("--ft-button-focus-focus-ring-color","",He.borderActionFocusRing),tertiaryBackgroundColor:ge.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ge.extend("--ft-button-tertiary-color","",He.contentActionPrimary),tertiaryIconColor:ge.extend("--ft-button-tertiary-icon-color","",He.contentActionPrimary),tertiaryStateLayerColor:ge.extend("--ft-button-tertiary-state-layer-color","",He.contentActionPrimary),tertiaryHoverStateLayerOpacity:ge.extend("--ft-button-tertiary-hover-state-layer-opacity","",be.opacity8),tertiaryFocusStateLayerOpacity:ge.extend("--ft-button-tertiary-focus-state-layer-opacity","",be.opacity8),tertiaryActiveStateLayerOpacity:ge.extend("--ft-button-tertiary-active-state-layer-opacity","",be.opacity16),tertiaryDisabledComponentOpacity:ge.extend("--ft-button-tertiary-disabled-component-opacity","",be.opacity40),secondaryBackgroundColor:ge.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ge.extend("--ft-button-secondary-color","",He.contentActionPrimary),secondaryIconColor:ge.extend("--ft-button-secondary-icon-color","",He.contentActionPrimary),secondaryStateLayerColor:ge.extend("--ft-button-secondary-state-layer-color","",He.contentActionPrimary),secondaryHoverStateLayerOpacity:ge.extend("--ft-button-secondary-hover-state-layer-opacity","",be.opacity8),secondaryFocusStateLayerOpacity:ge.extend("--ft-button-secondary-focus-state-layer-opacity","",be.opacity8),secondaryActiveStateLayerOpacity:ge.extend("--ft-button-secondary-active-state-layer-opacity","",be.opacity16),secondaryDisabledComponentOpacity:ge.extend("--ft-button-secondary-disabled-component-opacity","",be.opacity40),secondaryBorderColor:ge.extend("--ft-button-secondary-border-color","",He.borderActionPrimary),neutralBackgroundColor:ge.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ge.extend("--ft-button-neutral-icon-color","",He.contentGlobalSecondary),neutralColor:ge.extend("--ft-button-neutral-color","",He.contentGlobalSecondary),neutralStateLayerColor:ge.extend("--ft-button-neutral-state-layer-color","",He.contentGlobalSecondary),neutralHoverStateLayerOpacity:ge.extend("--ft-button-neutral-hover-state-layer-opacity","",be.opacity8),neutralFocusStateLayerOpacity:ge.extend("--ft-button-neutral-focus-state-layer-opacity","",be.opacity8),neutralActiveStateLayerOpacity:ge.extend("--ft-button-neutral-active-state-layer-opacity","",be.opacity16),neutralDisabledComponentOpacity:ge.extend("--ft-button-neutral-disabled-component-opacity","",be.opacity40)},Ge={iconSize:ge.extend("--ft-banner-icon-size","",be.iconSize5),borderWidth:ge.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:ge.extend("--ft-banner-horizontal-padding","",be.spacing6),verticalPadding:ge.extend("--ft-banner-vertical-padding","",be.spacing6),horizontalSideGap:ge.extend("--ft-banner-horizontal-side-gap","",be.spacing6),horizontalMobileGap:ge.extend("--ft-banner-horizontal-mobile-gap","",be.spacing4),verticalMobileGap:ge.extend("--ft-banner-vertical-mobile-gap","",be.spacing6),horizontalMiddleGap:ge.extend("--ft-banner-horizontal-middle-gap","",be.spacing20),infoBackgroundColor:ge.extend("--ft-banner-info-background-color","",He.backgroundInfoSubtle),infoColor:ge.extend("--ft-banner-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-banner-info-icon-color","",He.contentInfoIconOnly)},Ve={horizontalGap:ge.extend("--ft-breadcrumb-horizontal-gap","",be.spacing1),verticalGap:ge.extend("--ft-breadcrumb-vertical-gap","",be.spacing2),currentElementColor:ge.extend("--ft-breadcrumb-current-element-color","",He.contentGlobalPrimary),iconColor:ge.extend("--ft-breadcrumb-icon-color","",He.contentGlobalSubtle)},qe={horizontalPadding:ge.extend("--ft-page-header-horizontal-padding","",be.spacing12),horizontalGap:ge.extend("--ft-page-header-horizontal-gap","",be.spacing4),verticalGap:ge.extend("--ft-page-header-vertical-gap","",be.spacing2),classicVerticalPadding:ge.extend("--ft-page-header-classic-vertical-padding","",be.spacing6),multilineVerticalPadding:ge.extend("--ft-page-header-multiline-vertical-padding","",be.spacing4),inlineVerticalPadding:ge.extend("--ft-page-header-inline-vertical-padding","",be.spacing2),backgroundColor:ge.extend("--ft-page-header-background-color","",be.colorWhite),bottomBorderColor:ge.extend("--ft-page-header-bottom-border-color","",He.borderGlobalSubtle),titleColor:ge.extend("--ft-page-header-title-color","",He.contentGlobalPrimary),subtitleColor:ge.extend("--ft-page-header-subtitle-color","",He.contentGlobalSecondary)},Ye={smallContainerWidth:ge.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:ge.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:ge.extend("--ft-modal-overlay-background-color","",be.colorGray700),overlayOpacity:ge.extend("--ft-modal-overlay-opacity","",be.opacity40),shadow:ge.extend("--ft-modal-shadow","",be.shadowElevation03),bodyBackgroundColor:ge.extend("--ft-modal-body-background-color","",be.colorWhite),bodyColor:ge.extend("--ft-modal-body-color","",He.contentGlobalPrimary),bodyHorizontalPadding:ge.extend("--ft-modal-body-horizontal-padding","",be.spacing6),bodyVerticalPadding:ge.extend("--ft-modal-body-vertical-padding","",be.spacing6),bodyVerticalGap:ge.extend("--ft-modal-body-vertical-gap","",be.spacing6),containerMargin:ge.extend("--ft-modal-container-margin","",be.spacing3),headerBackgroundColor:ge.extend("--ft-modal-header-background-color","",He.backgroundGlobalOnSurface),headerBorderColor:ge.extend("--ft-modal-header-border-color","",He.borderGlobalSubtle),headerColor:ge.extend("--ft-modal-header-color","",He.contentGlobalPrimary),headerTrailingIconColor:ge.extend("--ft-modal-header-trailing-icon-color","",He.contentGlobalSecondary),headerVerticalPadding:ge.extend("--ft-modal-header-vertical-padding","",be.spacing1),headerRightPadding:ge.extend("--ft-modal-header-right-padding","",be.spacing1),headerLeftPadding:ge.extend("--ft-modal-header-left-padding","",be.spacing6),headerGap:ge.extend("--ft-modal-header-gap","",be.spacing2),headerBorderBottom:ge.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:ge.extend("--ft-modal-border-radius","",be.borderRadiusM)},Je={overlayOpacity:ge.extend("--ft-drawer-overlay-opacity","",be.opacity40),shadow:ge.extend("--ft-drawer-shadow","",be.shadowElevation03),bodyColor:ge.extend("--ft-drawer-body-color","",He.contentGlobalPrimary),bodyHorizontalPadding:ge.extend("--ft-drawer-body-horizontal-padding","",be.spacing6),bodyVerticalPadding:ge.extend("--ft-drawer-body-vertical-padding","",be.spacing6),bodyGap:ge.extend("--ft-drawer-body-gap","",be.spacing6),bodyBackgroundColor:ge.extend("--ft-drawer-body-background-color","",be.colorWhite),headerBackgroundColor:ge.extend("--ft-drawer-header-background-color","",He.backgroundGlobalOnSurface),headerBorderColor:ge.extend("--ft-drawer-header-border-color","",He.borderGlobalSubtle),headerColor:ge.extend("--ft-drawer-header-color","",He.contentGlobalPrimary),headerTrailingIconColor:ge.extend("--ft-drawer-header-trailing-icon-color","",He.contentGlobalSecondary),headerHeight:ge.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:ge.extend("--ft-drawer-header-horizontal-padding","",be.spacing2),headerBorderWidth:ge.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:ge.extend("--ft-drawer-header-gap","",be.spacing3),buttonsBarBackgroundColor:ge.extend("--ft-drawer-buttons-bar-background-color","",He.backgroundGlobalOnSurface),buttonsBarBorderColor:ge.extend("--ft-drawer-buttons-bar-border-color","",He.borderGlobalSubtle),buttonsBarColor:ge.extend("--ft-drawer-buttons-bar-color","",He.contentGlobalPrimary),buttonsBarHorizontalPadding:ge.extend("--ft-drawer-buttons-bar-horizontal-padding","",be.spacing4),buttonsBarVerticalPadding:ge.extend("--ft-drawer-buttons-bar-vertical-padding","",be.spacing4),buttonsBarGap:ge.extend("--ft-drawer-buttons-bar-gap","",be.spacing3),buttonsBarBorderWidth:ge.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:ge.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:ge.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:ge.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:ge.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:ge.extend("--ft-drawer-overlay-background-color","",be.colorGray700)},Xe={fieldHorizontalPadding:ge.extend("--ft-text-input-field-horizontal-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-text-input-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-text-input-field-vertical-gap","",be.spacing05),fieldIconSize:ge.extend("--ft-text-input-field-icon-size","",be.iconSize3),fieldHeight:ge.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:ge.extend("--ft-text-input-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-text-input-helper-horizontal-gap","",be.spacing1),helperIconSize:ge.extend("--ft-text-input-helper-icon-size","",be.iconSize2),borderRadius:ge.extend("--ft-text-input-border-radius","",be.borderRadiusM),backgroundColor:ge.extend("--ft-text-input-background-color","",be.colorWhite),contentValueColor:ge.extend("--ft-text-input-content-value-color","",He.contentGlobalPrimary),trailingIconColor:ge.extend("--ft-text-input-trailing-icon-color","",He.contentGlobalSubtle),labelColor:ge.extend("--ft-text-input-label-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-text-input-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-text-input-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-text-input-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-text-input-error-helper-text-color","",He.contentErrorPrimary),errorHelperIconColor:ge.extend("--ft-text-input-error-helper-icon-color","",He.contentErrorIconOnly),warningBorderWidth:ge.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:ge.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-text-input-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-text-input-disabled-component-opacity","",be.opacity40)},Qe={backgroundColor:ge.extend("--ft-text-area-background-color","",be.colorWhite),contentValueColor:ge.extend("--ft-text-area-content-value-color","",He.contentGlobalPrimary),labelColor:ge.extend("--ft-text-area-label-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-text-area-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-text-area-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-text-area-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-text-area-error-helper-text-color","",He.contentErrorPrimary),errorHelperIconColor:ge.extend("--ft-text-area-error-helper-icon-color","",He.contentErrorIconOnly),focusFocusRingColor:ge.extend("--ft-text-area-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ge.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-text-area-disabled-component-opacity","",be.opacity40),fieldHorizontalLeftPadding:ge.extend("--ft-text-area-field-horizontal-left-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-text-area-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-text-area-field-vertical-gap","",be.spacing05),fieldMinHeight:ge.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:ge.extend("--ft-text-area-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-text-area-helper-horizontal-gap","",be.spacing1),helperIconSize:ge.extend("--ft-text-area-helper-icon-size","",be.iconSize2),borderRadius:ge.extend("--ft-text-area-border-radius","",be.borderRadiusM)},tr={height:ge.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:ge.extend("--ft-floating-menu-horizontal-padding","",be.spacing4),offIconColor:ge.extend("--ft-floating-menu-off-icon-color","",He.contentGlobalPrimary),offColor:ge.extend("--ft-floating-menu-off-color","",He.contentGlobalPrimary),onColor:ge.extend("--ft-floating-menu-on-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-floating-menu-on-state-layer-color","",He.contentActionPrimary),gap:ge.extend("--ft-floating-menu-gap","",be.spacing3),focusFocusRingColor:ge.extend("--ft-floating-menu-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:ge.extend("--ft-floating-menu-focus-state-layer-opacity","",be.opacity8),hoverStateLayerOpacity:ge.extend("--ft-floating-menu-hover-state-layer-opacity","",be.opacity8),activeStateLayerOpacity:ge.extend("--ft-floating-menu-active-state-layer-opacity","",be.opacity16),disabledComponentOpacity:ge.extend("--ft-floating-menu-disabled-component-opacity","",be.opacity40),iconSize:ge.extend("--ft-floating-menu-icon-size","",be.iconSize3),backgroundColor:ge.extend("--ft-floating-menu-background-color","",He.backgroundGlobalOnSurface)},or={fieldHorizontalPadding:ge.extend("--ft-combobox-single-select-field-horizontal-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-combobox-single-select-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-combobox-single-select-field-vertical-gap","",be.spacing05),fieldIconSize:ge.extend("--ft-combobox-single-select-field-icon-size","",be.iconSize3),fieldHeight:ge.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:ge.extend("--ft-combobox-single-select-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-combobox-single-select-helper-horizontal-gap","",be.spacing1),helperVerticalGap:ge.extend("--ft-combobox-single-select-helper-vertical-gap","",be.spacing1),helperIconSize:ge.extend("--ft-combobox-single-select-helper-icon-size","",be.iconSize2),menuVerticalGap:ge.extend("--ft-combobox-single-select-menu-vertical-gap","",be.spacing2),borderRadius:ge.extend("--ft-combobox-single-select-border-radius","",be.borderRadiusM),backgroundColor:ge.extend("--ft-combobox-single-select-background-color","",be.colorWhite),labelColor:ge.extend("--ft-combobox-single-select-label-color","",He.contentGlobalSubtle),contentValueColor:ge.extend("--ft-combobox-single-select-content-value-color","",He.contentGlobalPrimary),trailingIconColor:ge.extend("--ft-combobox-single-select-trailing-icon-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-combobox-single-select-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-combobox-single-select-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:ge.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:ge.extend("--ft-combobox-single-select-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-combobox-single-select-error-helper-text-color","",He.contentErrorPrimary),warningBorderWidth:ge.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:ge.extend("--ft-combobox-single-select-warning-border-color","",He.borderWarningPrimary),warningHelperTextColor:ge.extend("--ft-combobox-single-select-warning-helper-text-color","",He.contentWarningPrimary),warningHelperIconColor:ge.extend("--ft-combobox-single-select-warning-helper-icon-color","",He.contentWarningIconOnly),focusOutlineWidth:ge.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-combobox-single-select-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-combobox-single-select-disabled-component-opacity","",be.opacity40)},er={backgroundColor:ge.extend("--ft-combobox-multi-select-background-color","",be.colorWhite),labelColor:ge.extend("--ft-combobox-multi-select-label-color","",He.contentGlobalSubtle),trailingIconColor:ge.extend("--ft-combobox-multi-select-trailing-icon-color","",He.contentGlobalSubtle),defaultBorderColor:ge.extend("--ft-combobox-multi-select-default-border-color","",He.borderInputPrimary),defaultHelperTextColor:ge.extend("--ft-combobox-multi-select-default-helper-text-color","",He.contentGlobalSubtle),defaultBorderWidth:ge.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:ge.extend("--ft-combobox-multi-select-error-border-color","",He.borderErrorPrimary),errorHelperTextColor:ge.extend("--ft-combobox-multi-select-error-helper-text-color","",He.contentErrorPrimary),errorHelperIcon:ge.extend("--ft-combobox-multi-select-error-helper-icon","",He.contentErrorIconOnly),errorBorderWidth:ge.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:ge.extend("--ft-combobox-multi-select-warning-border-color","",He.borderWarningPrimary),warningHelperTextColor:ge.extend("--ft-combobox-multi-select-warning-helper-text-color","",He.contentWarningPrimary),warningHelperIconColor:ge.extend("--ft-combobox-multi-select-warning-helper-icon-color","",He.contentWarningIconOnly),warningBorderWidth:ge.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-combobox-multi-select-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineWidth:ge.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:ge.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:ge.extend("--ft-combobox-multi-select-disabled-component-opacity","",be.opacity40),helperHorizontalPadding:ge.extend("--ft-combobox-multi-select-helper-horizontal-padding","",be.spacing4),helperHorizontalGap:ge.extend("--ft-combobox-multi-select-helper-horizontal-gap","",be.spacing1),helperVerticalGap:ge.extend("--ft-combobox-multi-select-helper-vertical-gap","",be.spacing1),helperIconSize:ge.extend("--ft-combobox-multi-select-helper-icon-size","",be.iconSize2),fieldHorizontalPadding:ge.extend("--ft-combobox-multi-select-field-horizontal-padding","",be.spacing4),fieldHorizontalGap:ge.extend("--ft-combobox-multi-select-field-horizontal-gap","",be.spacing3),fieldVerticalGap:ge.extend("--ft-combobox-multi-select-field-vertical-gap","",be.spacing05),fieldIconSize:ge.extend("--ft-combobox-multi-select-field-icon-size","",be.iconSize3),fieldMaxHeight:ge.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:ge.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",be.spacing1),contentValuesVerticalGap:ge.extend("--ft-combobox-multi-select-content-values-vertical-gap","",be.spacing1),borderRadius:ge.extend("--ft-combobox-multi-select-border-radius","",be.borderRadiusM)},rr={backgroundColor:ge.extend("--ft-popover-background-color","",He.backgroundGlobalOnSurface),horizontalPadding:ge.extend("--ft-popover-horizontal-padding","",be.spacing6),verticalPadding:ge.extend("--ft-popover-vertical-padding","",be.spacing6),iconColor:ge.extend("--ft-popover-icon-color","",He.contentGlobalSecondary),iconSize:ge.extend("--ft-popover-icon-size","",be.iconSize2),titleColor:ge.extend("--ft-popover-title-color","",He.contentGlobalPrimary),bodyColor:ge.extend("--ft-popover-body-color","",He.contentGlobalSecondary),linkColor:ge.extend("--ft-popover-link-color","",He.contentActionPrimary),gap:ge.extend("--ft-popover-gap","",be.spacing3),borderRadius:ge.extend("--ft-popover-border-radius","",be.borderRadiusM),shadow:ge.extend("--ft-popover-shadow","",be.shadowElevation02)},nr={topLeftBorderRadius:ge.extend("--ft-tabs-top-left-border-radius","",be.borderRadiusS),topRightBorderRadius:ge.extend("--ft-tabs-top-right-border-radius","",be.borderRadiusS),labelHorizontalPadding:ge.extend("--ft-tabs-label-horizontal-padding","",be.spacing4),labelVerticalPadding:ge.extend("--ft-tabs-label-vertical-padding","",be.spacing3),labelGap:ge.extend("--ft-tabs-label-gap","",be.spacing1),offHoverStateLayerOpacity:ge.extend("--ft-tabs-off-hover-state-layer-opacity","",be.opacity8),offFocusStateLayerOpacity:ge.extend("--ft-tabs-off-focus-state-layer-opacity","",be.opacity8),offActiveStateLayerOpacity:ge.extend("--ft-tabs-off-active-state-layer-opacity","",be.opacity16),offDisabledComponentOpacity:ge.extend("--ft-tabs-off-disabled-component-opacity","",be.opacity40),offColor:ge.extend("--ft-tabs-off-color","",He.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-tabs-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-tabs-on-hover-state-layer-opacity","",be.opacity8),onFocusStateLayerOpacity:ge.extend("--ft-tabs-on-focus-state-layer-opacity","",be.opacity8),onActiveStateLayerOpacity:ge.extend("--ft-tabs-on-active-state-layer-opacity","",be.opacity16),onDisabledComponentOpacity:ge.extend("--ft-tabs-on-disabled-component-opacity","",be.opacity40),onColor:ge.extend("--ft-tabs-on-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-tabs-on-state-layer-color","",He.contentActionPrimary),iconHorizontalPadding:ge.extend("--ft-tabs-icon-horizontal-padding","",be.spacing1),iconVerticalPadding:ge.extend("--ft-tabs-icon-vertical-padding","",be.spacing4),focusOutlineWidth:ge.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-tabs-focus-focus-ring-color","",He.borderActionFocusRing)},ir={hoverStateLayerOpacity:ge.extend("--ft-collapsible-hover-state-layer-opacity","",be.opacity8),focusStateLayerOpacity:ge.extend("--ft-collapsible-focus-state-layer-opacity","",be.opacity8),focusOutlineWidth:ge.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:ge.extend("--ft-collapsible-focus-focus-ring-color","",He.borderActionFocusRing),activeStateLayerOpacity:ge.extend("--ft-collapsible-active-state-layer-opacity","",be.opacity16),disabledComponentOpacity:ge.extend("--ft-collapsible-disabled-component-opacity","",be.opacity40),horizontalPadding:ge.extend("--ft-collapsible-horizontal-padding","",be.spacing4),verticalPadding:ge.extend("--ft-collapsible-vertical-padding","",be.spacing3),color:ge.extend("--ft-collapsible-color","",He.contentGlobalPrimary),stateLayerColor:ge.extend("--ft-collapsible-state-layer-color","",He.contentGlobalPrimary),backgroundColor:ge.extend("--ft-collapsible-background-color","",He.backgroundGlobalOnSurface),borderColor:ge.extend("--ft-collapsible-border-color","",He.borderGlobalSubtle),iconSize:ge.extend("--ft-collapsible-icon-size","",be.iconSize3)},ar={groupHorizontalPadding:ge.extend("--ft-switch-group-horizontal-padding","",be.spacing1),groupVerticalPadding:ge.extend("--ft-switch-group-vertical-padding","",be.spacing1),groupGap:ge.extend("--ft-switch-group-gap","",be.spacing1),groupBackgroundColor:ge.extend("--ft-switch-group-background-color","",He.backgroundGlobalSurface),groupBorderColor:ge.extend("--ft-switch-group-border-color","",He.borderGlobalSubtle),groupBorderRadius:ge.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:ge.extend("--ft-switch-label-horizontal-padding","",be.spacing2),labelVerticalPadding:ge.extend("--ft-switch-label-vertical-padding","",be.spacing1),offHoverStateLayerOpacity:ge.extend("--ft-switch-off-hover-state-layer-opacity","",be.opacity8),offFocusStateLayerOpacity:ge.extend("--ft-switch-off-focus-state-layer-opacity","",be.opacity8),offActiveStateLayerOpacity:ge.extend("--ft-switch-off-active-state-layer-opacity","",be.opacity16),offDisabledComponentOpacity:ge.extend("--ft-switch-off-disabled-component-opacity","",be.opacity40),offColor:ge.extend("--ft-switch-off-color","",He.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-switch-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-switch-on-hover-state-layer-opacity","",be.opacity8),onFocusStateLayerOpacity:ge.extend("--ft-switch-on-focus-state-layer-opacity","",be.opacity8),onActiveStateLayerOpacity:ge.extend("--ft-switch-on-active-state-layer-opacity","",be.opacity16),onDisabledComponentOpacity:ge.extend("--ft-switch-on-disabled-component-opacity","",be.opacity40),onColor:ge.extend("--ft-switch-on-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-switch-on-state-layer-color","",He.contentActionPrimary),iconHorizontalPadding:ge.extend("--ft-switch-icon-horizontal-padding","",be.spacing1),iconVerticalPadding:ge.extend("--ft-switch-icon-vertical-padding","",be.spacing1),focusOutlineWidth:ge.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:ge.extend("--ft-switch-focus-focus-ring-color","",He.borderActionFocusRing),optionBorderRadius:ge.extend("--ft-switch-option-border-radius","",be.borderRadiusS)},lr={color1Light:ge.extend("--ft-chart-1-light","for area color charts",be.colorBrand40),color1Base:ge.extend("--ft-chart-1-base","for line charts",be.colorBrand0),color2Light:ge.extend("--ft-chart-2-light","for area color charts",be.colorYellow60),color2Base:ge.extend("--ft-chart-2-base","for line charts",be.colorYellow100),color3Light:ge.extend("--ft-chart-3-light","",be.colorUltramarine40),color3Base:ge.extend("--ft-chart-3-base","",be.colorUltramarine70),color4Light:ge.extend("--ft-chart-4-light","",be.colorCyan50),color4Base:ge.extend("--ft-chart-4-base","",be.colorCyan100),color5Light:ge.extend("--ft-chart-5-light","",be.colorRed40),color5Base:ge.extend("--ft-chart-5-base","",be.colorRed60),color6Light:ge.extend("--ft-chart-6-light","",be.colorGreen40),color6Base:ge.extend("--ft-chart-6-base","",be.colorGreen70),color7Light:ge.extend("--ft-chart-7-light","",be.colorOrange70),color7Base:ge.extend("--ft-chart-7-base","",be.colorOrange100),color8Light:ge.extend("--ft-chart-8-light","",be.colorAvocado70),color8Base:ge.extend("--ft-chart-8-base","",be.colorAvocado200),color9Light:ge.extend("--ft-chart-9-light","",be.colorBrown50),color9Base:ge.extend("--ft-chart-9-base","",be.colorBrown200),color10Light:ge.extend("--ft-chart-10-light","",be.colorGray50),color10Base:ge.extend("--ft-chart-10-base","",be.colorGray80),monochrome10:ge.extend("--ft-chart-monochrome-10","",be.colorBrand10),monochrome20:ge.extend("--ft-chart-monochrome-20","",be.colorBrand20),monochrome30:ge.extend("--ft-chart-monochrome-30","",be.colorBrand40),monochrome40:ge.extend("--ft-chart-monochrome-40","",be.colorBrand60),monochrome50:ge.extend("--ft-chart-monochrome-50","",be.colorBrand0),monochrome60:ge.extend("--ft-chart-monochrome-60","",be.colorBrand200)},sr={largeHorizontalPadding:ge.extend("--ft-chip-large-horizontal-padding","",be.spacing4),largeVerticalPadding:ge.extend("--ft-chip-large-vertical-padding","",be.spacing2),largeGap:ge.extend("--ft-chip-large-gap","",be.spacing1),largeFocusOutlineOffset:ge.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ge.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:ge.extend("--ft-chip-large-border-radius","",be.borderRadiusPill),largeBorderWidth:ge.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:ge.extend("--ft-chip-large-icon-size","",be.iconSize3),mediumHorizontalPadding:ge.extend("--ft-chip-medium-horizontal-padding","",be.spacing3),mediumVerticalPadding:ge.extend("--ft-chip-medium-vertical-padding","",be.spacing1),mediumGap:ge.extend("--ft-chip-medium-gap","",be.spacing1),mediumFocusOutlineOffset:ge.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:ge.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:ge.extend("--ft-chip-medium-border-radius","",be.borderRadiusPill),mediumBorderWidth:ge.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:ge.extend("--ft-chip-medium-icon-size","",be.iconSize2),smallHorizontalPadding:ge.extend("--ft-chip-small-horizontal-padding","",be.spacing2),smallVerticalPadding:ge.extend("--ft-chip-small-vertical-padding","",be.spacing05),smallGap:ge.extend("--ft-chip-small-gap","",be.spacing1),smallFocusOutlineOffset:ge.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ge.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:ge.extend("--ft-chip-small-border-radius","",be.borderRadiusPill),smallBorderWidth:ge.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:ge.extend("--ft-chip-small-icon-size","",be.iconSize1),neutralBackgroundColor:ge.extend("--ft-chip-neutral-background-color","",He.backgroundGlobalOnSurface),neutralColor:ge.extend("--ft-chip-neutral-color","",He.contentGlobalPrimary),neutralIconColor:ge.extend("--ft-chip-neutral-icon-color","",He.contentGlobalPrimary),neutralBorderColor:ge.extend("--ft-chip-neutral-border-color","",He.borderGlobalSubtle),infoBackgroundColor:ge.extend("--ft-chip-info-background-color","",He.backgroundInfoSubtle),infoColor:ge.extend("--ft-chip-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-chip-info-icon-color","",He.contentInfoIconOnly),infoBorderColor:ge.extend("--ft-chip-info-border-color","",He.borderInfoSubtle),successBackgroundColor:ge.extend("--ft-chip-success-background-color","",He.backgroundSuccessSubtle),successColor:ge.extend("--ft-chip-success-color","",He.contentSuccessPrimary),successIconColor:ge.extend("--ft-chip-success-icon-color","",He.contentSuccessIconOnly),successBorderColor:ge.extend("--ft-chip-success-border-color","",He.borderSuccessSubtle),warningBackgroundColor:ge.extend("--ft-chip-warning-background-color","",He.backgroundWarningSubtle),warningColor:ge.extend("--ft-chip-warning-color","",He.contentWarningPrimary),warningIconColor:ge.extend("--ft-chip-warning-icon-color","",He.contentWarningIconOnly),warningBorderColor:ge.extend("--ft-chip-warning-border-color","",He.borderWarningSubtle),errorBackgroundColor:ge.extend("--ft-chip-error-background-color","",He.backgroundErrorSubtle),errorColor:ge.extend("--ft-chip-error-color","",He.contentErrorPrimary),errorIconColor:ge.extend("--ft-chip-error-icon-color","",He.contentErrorIconOnly),errorBorderColor:ge.extend("--ft-chip-error-border-color","",He.borderErrorSubtle)},cr={infoBorderColor:ge.extend("--ft-border-info-border-color","",He.borderInfoSubtle)},fr={borderWidth:ge.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:ge.extend("--ft-notice-horizontal-padding","",be.spacing2),verticalPadding:ge.extend("--ft-notice-vertical-padding","",be.spacing1),borderRadius:ge.extend("--ft-notice-border-radius","",be.borderRadiusS),gap:ge.extend("--ft-notice-gap","",be.spacing2),iconSize:ge.extend("--ft-notice-icon-size","",be.iconSize3),infoBackgroundColor:ge.extend("--ft-notice-info-background-color","",He.backgroundInfoSubtle),infoBorderColor:ge.extend("--ft-notice-info-border-color","",He.borderInfoSubtle),infoColor:ge.extend("--ft-notice-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-notice-info-icon-color","",He.contentInfoIconOnly),warningBackgroundColor:ge.extend("--ft-notice-warning-background-color","",He.backgroundWarningSubtle),warningBorderColor:ge.extend("--ft-notice-warning-border-color","",He.borderWarningSubtle),warningColor:ge.extend("--ft-notice-warning-color","",He.contentWarningPrimary),warningIconColor:ge.extend("--ft-notice-warning-icon-color","",He.contentWarningIconOnly),errorBackgroundColor:ge.extend("--ft-notice-error-background-color","",He.backgroundErrorSubtle),errorBorderColor:ge.extend("--ft-notice-error-border-color","",He.borderErrorSubtle),errorColor:ge.extend("--ft-notice-error-color","",He.contentErrorPrimary),errorIconColor:ge.extend("--ft-notice-error-icon-color","",He.contentErrorIconOnly),successBackgroundColor:ge.extend("--ft-notice-success-background-color","",He.backgroundSuccessSubtle),successBorderColor:ge.extend("--ft-notice-success-border-color","",He.borderSuccessSubtle),successColor:ge.extend("--ft-notice-success-color","",He.contentSuccessPrimary),successIconColor:ge.extend("--ft-notice-success-icon-color","",He.contentSuccessIconOnly)},dr={color:ge.extend("--ft-checkbox-color","",He.contentGlobalPrimary),checkedBackgroundColor:ge.extend("--ft-checkbox-checked-background-color","",He.contentActionPrimary),checkedStateLayerColor:ge.extend("--ft-checkbox-checked-state-layer-color","",He.contentActionPrimary),checkedIconColor:ge.extend("--ft-checkbox-checked-icon-color","",He.contentGlobalOnColor),checkedHoverStateLayerOpacity:ge.extend("--ft-checkbox-checked-hover-state-layer-opacity","",be.opacity16),checkedFocusStateLayerOpacity:ge.extend("--ft-checkbox-checked-focus-state-layer-opacity","",be.opacity16),checkedActiveStateLayerOpacity:ge.extend("--ft-checkbox-checked-active-state-layer-opacity","",be.opacity24),checkedDisabledComponentOpacity:ge.extend("--ft-checkbox-checked-disabled-component-opacity","",be.opacity40),uncheckedBorderColor:ge.extend("--ft-checkbox-unchecked-border-color","",be.colorGray80),uncheckedStateLayerColor:ge.extend("--ft-checkbox-unchecked-state-layer-color","",be.colorGray80),uncheckedHoverStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",be.opacity16),uncheckedFocusStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",be.opacity16),uncheckedActiveStateLayerOpacity:ge.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",be.opacity24),uncheckedDisabledComponentOpacity:ge.extend("--ft-checkbox-unchecked-disabled-component-opacity","",be.opacity40),focusFocusRingColor:ge.extend("--ft-checkbox-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ge.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:ge.extend("--ft-checkbox-gap","",be.spacing3)},pr={offHoverStateLayerOpacity:ge.extend("--ft-toggle-off-hover-state-layer-opacity","",be.opacity16),offFocusStateLayerOpacity:ge.extend("--ft-toggle-off-focus-state-layer-opacity","",be.opacity16),offActiveStateLayerOpacity:ge.extend("--ft-toggle-off-active-state-layer-opacity","",be.opacity24),offDisabledComponentOpacity:ge.extend("--ft-toggle-off-disabled-component-opacity","",be.opacity40),offBackgroundColor:ge.extend("--ft-toggle-off-background-color","",He.contentGlobalSubtle),offIconColor:ge.extend("--ft-toggle-off-icon-color","",He.contentGlobalSubtle),offStateLayerColor:ge.extend("--ft-toggle-off-state-layer-color","",He.contentGlobalSubtle),onHoverStateLayerOpacity:ge.extend("--ft-toggle-on-hover-state-layer-opacity","",be.opacity16),onFocusStateLayerOpacity:ge.extend("--ft-toggle-on-focus-state-layer-opacity","",be.opacity16),onActiveStateLayerOpacity:ge.extend("--ft-toggle-on-active-state-layer-opacity","",be.opacity24),onDisabledComponentOpacity:ge.extend("--ft-toggle-on-disabled-component-opacity","",be.opacity40),onBackgroundColor:ge.extend("--ft-toggle-on-background-color","",He.contentActionPrimary),onStateLayerColor:ge.extend("--ft-toggle-on-state-layer-color","",He.contentActionPrimary),onIconColor:ge.extend("--ft-toggle-on-icon-color","",He.contentActionPrimary),color:ge.extend("--ft-toggle-color","",He.contentGlobalPrimary),focusFocusRingColor:ge.extend("--ft-toggle-focus-focus-ring-color","",He.borderActionFocusRing),gap:ge.extend("--ft-toggle-gap","",be.spacing3)},hr={color:ge.extend("--ft-radio-color","",He.contentGlobalPrimary),selectedRadioColor:ge.extend("--ft-radio-selected-radio-color","",He.contentActionPrimary),selectedStateLayerColor:ge.extend("--ft-radio-selected-state-layer-color","",He.contentActionPrimary),selectedHoverStateLayerOpacity:ge.extend("--ft-radio-selected-hover-state-layer-opacity","",be.opacity16),selectedFocusStateLayerOpacity:ge.extend("--ft-radio-selected-focus-state-layer-opacity","",be.opacity16),selectedActiveStateLayerOpacity:ge.extend("--ft-radio-selected-active-state-layer-opacity","",be.opacity24),selectedDisabledComponentOpacity:ge.extend("--ft-radio-selected-disabled-component-opacity","",be.opacity40),unselectedStateLayerColor:ge.extend("--ft-radio-unselected-state-layer-color","",He.borderInputPrimary),unselectedBorderColor:ge.extend("--ft-radio-unselected-border-color","",He.borderInputPrimary),unselectedHoverStateLayerOpacity:ge.extend("--ft-radio-unselected-hover-state-layer-opacity","",be.opacity16),unselectedFocusStateLayerOpacity:ge.extend("--ft-radio-unselected-focus-state-layer-opacity","",be.opacity16),unselectedActiveStateLayerOpacity:ge.extend("--ft-radio-unselected-active-state-layer-opacity","",be.opacity24),unselectedDisabledComponentOpacity:ge.extend("--ft-radio-unselected-disabled-component-opacity","",be.opacity40),focusFocusRingColor:ge.extend("--ft-radio-focus-focus-ring-color","",He.borderActionFocusRing),focusOutlineOffset:ge.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:ge.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:ge.extend("--ft-radio-gap","",be.spacing3)},ur={iconSize:ge.extend("--ft-notification-icon-size","",be.iconSize4),horizontalPadding:ge.extend("--ft-notification-horizontal-padding","",be.spacing4),verticalPadding:ge.extend("--ft-notification-vertical-padding","",be.spacing4),infoBackgroundColor:ge.extend("--ft-notification-info-background-color","",He.backgroundInfoSubtle),infoColor:ge.extend("--ft-notification-info-color","",He.contentInfoPrimary),infoIconColor:ge.extend("--ft-notification-info-icon-color","",He.contentInfoIconOnly),infoBorderColor:ge.extend("--ft-notification-info-border-color","",He.borderInfoSubtle),successBackgroundColor:ge.extend("--ft-notification-success-background-color","",He.backgroundSuccessSubtle),successColor:ge.extend("--ft-notification-success-color","",He.contentSuccessPrimary),successIconColor:ge.extend("--ft-notification-success-icon-color","",He.contentSuccessIconOnly),successBorderColor:ge.extend("--ft-notification-success-border-color","",He.borderSuccessSubtle),warningBackgroundColor:ge.extend("--ft-notification-warning-background-color","",He.backgroundWarningSubtle),warningColor:ge.extend("--ft-notification-warning-color","",He.contentWarningPrimary),warningIconColor:ge.extend("--ft-notification-warning-icon-color","",He.contentWarningIconOnly),warningBorderColor:ge.extend("--ft-notification-warning-border-color","",He.borderWarningSubtle),errorBackgroundColor:ge.extend("--ft-notification-error-background-color","",He.backgroundErrorSubtle),errorColor:ge.extend("--ft-notification-error-color","",He.contentErrorPrimary),errorIconColor:ge.extend("--ft-notification-error-icon-color","",He.contentErrorIconOnly),errorBorderColor:ge.extend("--ft-notification-error-border-color","",He.borderErrorSubtle),borderRadius:ge.extend("--ft-notification-border-radius","",be.borderRadiusPill),borderWidth:ge.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:ge.extend("--ft-notification-leading-gap","",be.spacing2),trailingGap:ge.extend("--ft-notification-trailing-gap","",be.spacing8)},yr={horizontalPadding:ge.extend("--ft-tooltip-horizontal-padding","",be.spacing2),verticalPadding:ge.extend("--ft-tooltip-vertical-padding","",be.spacing2),borderRadius:ge.extend("--ft-tooltip-border-radius","",be.borderRadiusS),color:ge.extend("--ft-tooltip-color","",He.contentGlobalOnColor),backgroundColor:ge.extend("--ft-tooltip-background-color","",He.contentGlobalPrimary),backgroundOpacity:ge.extend("--ft-tooltip-background-opacity","",be.opacity80),shadow:ge.extend("--ft-tooltip-shadow","",be.shadowElevation03),maxWidth:ge.create("--ft-tooltip-max-width","","SIZE","256px"),gap:ge.extend("--ft-tooltip-gap","",be.spacing05)};var gr=Object.freeze({__proto__:null,FtCssVariableFactory:ge,banner:Ge,border:cr,breadcrumb:Ve,button:Te,chart:lr,checkbox:dr,chip:sr,collapsible:ir,comboboxMultiSelect:er,comboboxSingleSelect:or,drawer:Je,floatingMenu:tr,foundation:be,modal:Ye,notice:fr,notification:ur,pageHeader:qe,popover:rr,radio:hr,semantic:He,setVariable:function(t,o){return ye(`${t.name}: ${o}`)},switch_:ar,tabs:nr,textArea:Qe,textInput:Xe,toggle:pr,tooltip:yr,typographies:De,typographyBody1Medium:Se,typographyBody1Regular:we,typographyBody1Semibold:Ce,typographyBody2Medium:Ee,typographyBody2MediumUnderline:Re,typographyBody2Regular:Ne,typographyBody2Semibold:Ie,typographyCaption1Bold:Fe,typographyCaption1Medium:Be,typographyCaption1Semibold:Ae,typographyCaption2Bold:Me,typographyCaption2Medium:Pe,typographyCaption2Semibold:_e,typographyCaption3Bold:Ze,typographyCaption3Medium:je,typographyCaption3Semibold:Ke,typographyDisplay:me,typographyLabel1Bold:We,typographyLabel1Medium:Le,typographyLabel1Semibold:Ue,typographyLabel2Bold:ze,typographyLabel2Medium:ke,typographyLabel2Semibold:$e,typographyTitle1:ve,typographyTitle2:Oe,typographyTitle3:xe,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 br={colorPrimary:ge.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ge.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ge.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ge.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ge.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ge.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ge.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ge.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ge.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ge.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ge.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ge.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ge.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ge.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ge.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ge.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ge.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ge.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ge.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ge.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ge.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ge.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ge.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ge.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ge.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ge.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ge.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ge.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ge.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ge.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ge.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ge.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ge.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ge.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ge.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ge.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ge.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ge.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ge.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ge.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ge.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ge.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ge.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ge.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.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:ge.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ge.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ge.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ge.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ge.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ge.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ge.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ge.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var mr=Object.freeze({__proto__:null,designSystemVariables:br});class vr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Or extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class xr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var wr=Object.freeze({__proto__:null,FtNotificationEvent:vr,PostResizeEvent:xr,PreResizeEvent:Or});const Sr=["start","end"],Cr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Sr[0],o+"-"+Sr[1])),[]),Nr=Math.min,Er=Math.max,Rr=Math.round,Ir=t=>({x:t,y:t}),Lr={left:"right",right:"left",bottom:"top",top:"bottom"},Ur={start:"end",end:"start"};function Wr(t,o,e){return Er(t,Nr(o,e))}function kr(t,o){return"function"==typeof t?t(o):t}function $r(t){return t.split("-")[0]}function zr(t){return t.split("-")[1]}function Br(t){return"x"===t?"y":"x"}function Ar(t){return"y"===t?"height":"width"}function Fr(t){return["top","bottom"].includes($r(t))?"y":"x"}function Pr(t){return Br(Fr(t))}function _r(t){return t.replace(/left|right|bottom|top/g,(t=>Lr[t]))}function Mr(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=Fr(o),a=Pr(o),l=Ar(a),s=$r(o),c="y"===i,f=r.x+r.width/2-n.width/2,d=r.y+r.height/2-n.height/2,p=r[l]/2-n[l]/2;let h;switch(s){case"top":h={x:f,y:r.y-n.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-n.width,y:d};break;default:h={x:r.x,y:r.y}}switch(zr(o)){case"start":h[a]-=p*(e&&c?-1:1);break;case"end":h[a]+=p*(e&&c?-1:1)}return h}async function Kr(t,o){var e;void 0===o&&(o={});const{x:r,y:n,platform:i,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=kr(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),y=l[p?"floating"===d?"reference":"floating":d],g=Mr(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:c,rootBoundary:f,strategy:s})),b="floating"===d?{...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=Mr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-O.top+u.top)/v.y,bottom:(O.bottom-g.bottom+u.bottom)/v.y,left:(g.left-O.left+u.left)/v.x,right:(O.right-g.right+u.right)/v.x}}function Zr(t,o,e){return(t?[...e.filter((o=>zr(o)===t)),...e.filter((o=>zr(o)!==t))]:e.filter((t=>$r(t)===t))).filter((e=>!t||(zr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ur[t]))}(e)!==e)))}const Dr=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:s,elements:c}=o,{crossAxis:f=!1,alignment:d,allowedPlacements:p=Cr,autoAlignment:h=!0,...u}=kr(t,o),y=void 0!==d||p===Cr?Zr(d||null,h,p):p,g=await Kr(o,u),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=zr(t),n=Pr(t),i=Ar(n);let a="x"===n?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[i]>o.floating[i]&&(a=_r(a)),[a,_r(a)]}(m,i,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const O=[g[$r(m)],g[v[0]],g[v[1]]],x=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],w=y[b+1];if(w)return{data:{index:b+1,overflows:x},reset:{placement:w}};const S=x.map((t=>{const o=zr(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])),C=S.filter((t=>t[2].slice(0,zr(t[0])?2:3).every((t=>t<=0)))),N=(null==(n=C[0])?void 0:n[0])||S[0][0];return N!==l?{data:{index:b+1,overflows:x},reset:{placement:N}}:{}}}};function Hr(t){return Vr(t)?(t.nodeName||"").toLowerCase():"#document"}function Tr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Gr(t){var o;return null==(o=(Vr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Vr(t){return t instanceof Node||t instanceof Tr(t).Node}function qr(t){return t instanceof Element||t instanceof Tr(t).Element}function Yr(t){return t instanceof HTMLElement||t instanceof Tr(t).HTMLElement}function Jr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Tr(t).ShadowRoot)}function Xr(t){const{overflow:o,overflowX:e,overflowY:r,display:n}=rn(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(n)}function Qr(t){return["table","td","th"].includes(Hr(t))}function tn(t){const o=on(),e=rn(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 on(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function en(t){return["html","body","#document"].includes(Hr(t))}function rn(t){return Tr(t).getComputedStyle(t)}function nn(t){return qr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function an(t){if("html"===Hr(t))return t;const o=t.assignedSlot||t.parentNode||Jr(t)&&t.host||Gr(t);return Jr(o)?o.host:o}function ln(t){const o=an(t);return en(o)?t.ownerDocument?t.ownerDocument.body:t.body:Yr(o)&&Xr(o)?o:ln(o)}function sn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const n=ln(t),i=n===(null==(r=t.ownerDocument)?void 0:r.body),a=Tr(n);return i?o.concat(a,a.visualViewport||[],Xr(n)?n:[],a.frameElement&&e?sn(a.frameElement):[]):o.concat(n,sn(n,[],e))}function cn(t){const o=rn(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const n=Yr(t),i=n?t.offsetWidth:e,a=n?t.offsetHeight:r,l=Rr(e)!==i||Rr(r)!==a;return l&&(e=i,r=a),{width:e,height:r,$:l}}function fn(t){return qr(t)?t:t.contextElement}function dn(t){const o=fn(t);if(!Yr(o))return Ir(1);const e=o.getBoundingClientRect(),{width:r,height:n,$:i}=cn(o);let a=(i?Rr(e.width):e.width)/r,l=(i?Rr(e.height):e.height)/n;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const pn=Ir(0);function hn(t){const o=Tr(t);return on()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:pn}function un(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const n=t.getBoundingClientRect(),i=fn(t);let a=Ir(1);o&&(r?qr(r)&&(a=dn(r)):a=dn(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Tr(t))&&o}(i,e,r)?hn(i):Ir(0);let s=(n.left+l.x)/a.x,c=(n.top+l.y)/a.y,f=n.width/a.x,d=n.height/a.y;if(i){const t=Tr(i),o=r&&qr(r)?Tr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=dn(e),o=e.getBoundingClientRect(),r=rn(e),n=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,i=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,d*=t.y,s+=n,c+=i,e=Tr(e).frameElement}}return Mr({width:f,height:d,x:s,y:c})}function yn(t){return un(Gr(t)).left+nn(t).scrollLeft}function gn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Tr(t),r=Gr(t),n=e.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(n){i=n.width,a=n.height;const t=on();(!t||t&&"fixed"===o)&&(l=n.offsetLeft,s=n.offsetTop)}return{width:i,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=Gr(t),e=nn(t),r=t.ownerDocument.body,n=Er(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),i=Er(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+yn(t);const l=-e.scrollTop;return"rtl"===rn(r).direction&&(a+=Er(o.clientWidth,r.clientWidth)-n),{width:n,height:i,x:a,y:l}}(Gr(t));else if(qr(o))r=function(t,o){const e=un(t,!0,"fixed"===o),r=e.top+t.clientTop,n=e.left+t.clientLeft,i=Yr(t)?dn(t):Ir(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=hn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Mr(r)}function bn(t,o){const e=an(t);return!(e===o||!qr(e)||en(e))&&("fixed"===rn(e).position||bn(e,o))}function mn(t,o,e){const r=Yr(o),n=Gr(o),i="fixed"===e,a=un(t,!0,i,o);let l={scrollLeft:0,scrollTop:0};const s=Ir(0);if(r||!r&&!i)if(("body"!==Hr(o)||Xr(n))&&(l=nn(o)),r){const t=un(o,!0,i,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else n&&(s.x=yn(n));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function vn(t,o){return Yr(t)&&"fixed"!==rn(t).position?o?o(t):t.offsetParent:null}function On(t,o){const e=Tr(t);if(!Yr(t))return e;let r=vn(t,o);for(;r&&Qr(r)&&"static"===rn(r).position;)r=vn(r,o);return r&&("html"===Hr(r)||"body"===Hr(r)&&"static"===rn(r).position&&!tn(r))?e:r||function(t){let o=an(t);for(;Yr(o)&&!en(o);){if(tn(o))return o;o=an(o)}return null}(t)||e}const xn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const n=Yr(e),i=Gr(e);if(e===i)return o;let a={scrollLeft:0,scrollTop:0},l=Ir(1);const s=Ir(0);if((n||!n&&"fixed"!==r)&&(("body"!==Hr(e)||Xr(i))&&(a=nn(e)),Yr(e))){const t=un(e);l=dn(e),s.x=t.x+e.clientLeft,s.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+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Gr,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=>qr(t)&&"body"!==Hr(t))),n=null;const i="fixed"===rn(t).position;let a=i?an(t):t;for(;qr(a)&&!en(a);){const o=rn(a),e=tn(a);e||"fixed"!==o.position||(n=null),(i?!e&&!n:!e&&"static"===o.position&&n&&["absolute","fixed"].includes(n.position)||Xr(a)&&!e&&bn(t,a))?r=r.filter((t=>t!==a)):n=o,a=an(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=i[0],l=i.reduce(((t,e)=>{const r=gn(o,e,n);return t.top=Er(r.top,t.top),t.right=Nr(r.right,t.right),t.bottom=Nr(r.bottom,t.bottom),t.left=Er(r.left,t.left),t}),gn(o,a,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:On,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const n=this.getOffsetParent||On,i=this.getDimensions;return{reference:mn(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 cn(t)},getScale:dn,isElement:qr,isRTL:function(t){return"rtl"===rn(t).direction}},wn=(t,o,e)=>{const r=new Map,n={platform:xn,...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),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:n}),{x:f,y:d}=jr(c,r,s),p=r,h={},u=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:d,initialPlacement:r,placement:p,strategy:n,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,d=null!=b?b:d,h={...h,[i]:{...h[i],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(p=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:n}):v.rects),({x:f,y:d}=jr(c,p,s))),e=-1)}return{x:f,y:d,placement:p,strategy:n,middlewareData:h}})(t,o,{...n,platform:i})};function Sn(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}var Nn=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,o,e){return wn(t,o,{platform:{...xn,getOffsetParent:t=>xn.getOffsetParent(t,Sn)},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}}},...s}=kr(r,t),c={x:o,y:e},f=await Kr(t,s),d=Fr($r(n)),p=Br(d);let h=c[p],u=c[d];if(i){const t="y"===p?"bottom":"right";h=Wr(h+f["y"===p?"top":"left"],h,h-f[t])}if(a){const t="y"===d?"bottom":"right";u=Wr(u+f["y"===d?"top":"left"],u,u-f[t])}const y=l.fn({...t,[p]:h,[d]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Dr({allowedPlacements:[e]})]});var r}});
137
137
  /**
138
138
  * @license
139
139
  * Copyright 2019 Google LLC
@@ -142,7 +142,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
142
142
  .highlight-html-match {
143
143
  background: ${Mn};
144
144
  }
145
- `,Kn={className:"highlight-html-match"};var Zn=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 _n(t);if(r.unmark(Kn),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Kn,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Kn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:Mn,highlightHtmlStyles:jn});const Dn=pt`
145
+ `,Kn={className:"highlight-html-match"};function Zn(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new _n(t);if(r.unmark(Kn),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Kn,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Kn,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")}var Dn=Object.freeze({__proto__:null,highlightHtml:Zn,highlightHtmlColorCssVariable:Mn,highlightHtmlStyles:jn});const Hn=pt`
146
146
  .ft-no-text-select {
147
147
  -webkit-touch-callout: none;
148
148
  -webkit-user-select: none;
@@ -151,7 +151,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
151
151
  -ms-user-select: none;
152
152
  user-select: none;
153
153
  }
154
- `,Hn=pt`
154
+ `,Tn=pt`
155
155
  .ft-word-wrap {
156
156
  white-space: normal;
157
157
  word-wrap: break-word;
@@ -163,7 +163,7 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
163
163
  -webkit-hyphens: auto;
164
164
  hyphens: auto
165
165
  }
166
- `,Tn=pt`
166
+ `,Gn=pt`
167
167
  .ft-safari-ellipsis-fix {
168
168
  margin-right: 0;
169
169
 
@@ -174,107 +174,107 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
174
174
  display: inline-block;
175
175
  width: 0;
176
176
  }
177
- `;var Gn=Object.freeze({__proto__:null,noTextSelect:Dn,safariEllipsisFix:Tn,wordWrap:Hn}),Vn=Object.freeze({__proto__:null});class qn{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()}}}var Yn=Object.freeze({__proto__:null,ParametrizedLabelResolver:qn});const Jn=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!ce(t,o),attribute:!1,...o};So(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})}};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 si(t){return!!t&&!!t[Vi]}function ci(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===di(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 di(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 pi(t,o){return 2===di(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function ui(t,o,e){var r=di(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function hi(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function yi(t){return Zi&&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)||si(t)||!ci(t)||(di(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 wi(t){var o=Xi[t];return o||li(18,t),o}function Si(){return ji}function Ci(t,o){o&&(wi("Patches"),t.u=[],t.s=[],t.v=o)}function Ni(t){Ei(t),t.p.forEach(Ii),t.p=null}function Ei(t){t===ji&&(ji=t.l)}function Ri(t){return ji={p:[],l:ji,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||wi("ES5").S(o,t,r),r?(e[Vi].P&&(Ni(o),li(4)),ci(t)&&(t=Ui(o,t),o.l||ki(o,t)),o.u&&wi("Patches").M(e[Vi].t,t,o.u,o.s)):t=Ui(o,e,[]),Ni(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&&wi("Patches").N(r,e,t.u,t.s)}return r.o}function Wi(t,o,e,r,n,i,a){if(si(n)){var l=Ui(t,n,i&&o&&3!==o.i&&!pi(o.R,r)?i.concat(r):void 0);if(ui(e,r,l),!si(l))return;t.m=!1}else a&&e.add(n);if(ci(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 Bi(t){t.P||(t.P=!0,t.l&&Bi(t.l))}function Ai(t){t.o||(t.o=mi(t.t))}function Fi(t,o,e){var r=yi(o)?wi("MapSet").F(o,e):gi(o)?wi("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:Si(),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,s=a.proxy;return r.k=s,r.j=l,s}(o,e):wi("ES5").J(o,e);return(e?e.A:Si()).p.push(r),r}function Pi(t){return si(t)||li(22,t),function t(o){if(!ci(o))return o;var e,r=o[Vi],n=di(o);if(r){if(!r.P&&(r.i<4||!wi("ES5").K(r)))return r.t;r.I=!0,e=_i(o,n),r.I=!1}else e=_i(o,n);return fi(e,(function(o,n){r&&function(t,o){return 2===di(t)?t.get(o):t[o]}(r.t,o)===n||ui(e,o,t(n))})),3===n?new Set(e):e}(t)}function _i(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 Mi,ji,Ki="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Zi="undefined"!=typeof Map,Di="undefined"!=typeof Set,Hi="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ti=Ki?Symbol.for("immer-nothing"):((Mi={})["immer-nothing"]=!0,Mi),Gi=Ki?Symbol.for("immer-draftable"):"__$immer_draftable",Vi=Ki?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(!pi(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||!ci(r)?r:r===$i(t.t,o)?(Ai(t),t.o[o]=Fi(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(hi(e,n)&&(void 0!==e||pi(t.t,o)))return!0;Ai(t),Bi(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),Bi(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),ci(t)){var l=Ri(o),s=Fi(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?Ni(l):Ei(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Ci(l,r),Li(t,l)}),(function(t){throw Ni(l),t})):(Ci(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=[],d=[];wi("Patches").M(t,a,f,d),r(f,d)}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){ci(t)||li(8),si(t)&&(t=Pi(t));var o=Ri(this),e=Fi(this,t,void 0);return e[Vi].C=!0,Ei(o),e},o.finishDraft=function(t,o){var e=(t&&t[Vi]).A;return Ci(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=wi("Patches").$;return si(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 sa(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 ca(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",da=function(){return Math.random().toString(36).substring(7).split("").join(".")},pa={INIT:"@@redux/INIT"+da(),REPLACE:"@@redux/REPLACE"+da(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+da()}};function ua(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ca(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ca(1));return e(ua)(t,o)}if("function"!=typeof t)throw new Error(ca(2));var n=t,i=o,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(ca(3));return i}function d(t){if("function"!=typeof t)throw new Error(ca(4));if(s)throw new Error(ca(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(ca(6));o=!1,c();var e=l.indexOf(t);l.splice(e,1),a=null}}}function p(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(ca(7));if(void 0===t.type)throw new Error(ca(8));if(s)throw new Error(ca(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return p({type:pa.INIT}),(r={dispatch:p,subscribe:d,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ca(10));n=t,p({type:pa.REPLACE})}})[fa]=function(){var t,o=d;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ca(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[fa]=function(){return this},t},r}function ha(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:pa.INIT}))throw new Error(ca(12));if(void 0===e(void 0,{type:pa.PROBE_UNKNOWN_ACTION()}))throw new Error(ca(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 s=a[l],c=e[s],f=t[s],d=c(f,o);if(void 0===d)throw o&&o.type,new Error(ca(14));n[s]=d,r=r||d!==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(ca(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),sa(sa({},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)}),wa=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])}}},Sa=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},Ca=Object.defineProperty,Na=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?Ca(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 Na(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,Sa([void 0],t[0].concat(this)))):new(o.bind.apply(o,Sa([void 0],t.concat(this))))},o}(Array),Ba=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,Sa([void 0],t[0].concat(this)))):new(o.bind.apply(o,Sa([void 0],t.concat(this))))},o}(Array);function Aa(t){return ci(t)?ra(t,(function(){})):t}function Fa(){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 Pa(t){var o,e=Fa(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,l=void 0===a?e():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,d=void 0===f?void 0:f,p=r.enhancers,u=void 0===p?void 0:p;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=ha(i)}var h=l;"function"==typeof h&&(h=h(e));var y=ga.apply(void 0,h),g=ya;c&&(g=$a(Wa({trace:!1},"object"==typeof c&&c)));var b=new Ba(y),m=b;return Array.isArray(u)?m=Sa([y],u):"function"==typeof u&&(m=u(b)),ua(o,d,g.apply(void 0,m))}function _a(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 Ma(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 ja(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={},s={};function c(){var o="function"==typeof t.extraReducers?Ma(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,s=o[2],c=void 0===s?void 0:s,f=Wa(Wa({},n),l);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Ma(o):[o,e,r],a=i[0],l=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Aa(t())};else{var c=Aa(t);n=function(){return c}}function f(t,o){void 0===t&&(t=n());var e=Sa([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=[s]),e.reduce((function(t,e){if(e){var r;if(si(t))return void 0===(r=e(t,o))?t:r;if(ci(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)}c&&t.addDefaultCase(c)}))}return i.forEach((function(t){var e,r,i=n[t],c=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,l[c]=e,s[t]=r?_a(c,r):_a(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ka=["name","message","stack","code"],Za=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=Ka;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=_a(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:ka(Wa({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=_a(t+"/pending",(function(t,o,e){return{payload:void 0,meta:ka(Wa({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=_a(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,s,c){var f,d=(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}(),p=new a;function u(t){f=t,p.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return wa(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:s,extra:c}),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||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return p.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(n(d,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:d,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:s,extra:c,requestId:d,signal:p.signal,abort:u,rejectWithValue:function(t,o){return new Za(t,o)},fulfillWithValue:function(t,o){return new Da(t,o)}})).then((function(o){if(o instanceof Za)throw o;return o instanceof Da?r(o.payload,d,t,o.meta):r(o,d,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Za?i(null,d,t,m.payload,m.meta):i(m,d,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,h)).next())}));var a,h,y}();return Object.assign(h,{abort:u,requestId:d,arg:t,unwrap:function(){return h.then(Ta)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ga="listenerMiddleware";_a(Ga+"/add"),_a(Ga+"/removeAll"),_a(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)&&Bi(n);break;case 4:e(n)&&Bi(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&&!pi(o,i))return!0;var l=e[i],s=l&&l[Vi];if(s?s.t!==a:!hi(l,a))return!0}}var c=!!o[Vi];return r.length!==Yi(o).length+(c?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 s=a[l];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:Si(),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?si(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]||pi(n,o)?a[o]||t(i[o]):(a[o]=!0,Bi(e)))})),fi(n,(function(t){void 0!==i[t]||pi(i,t)||(a[t]=!1,Bi(e))}));else if(5===l){if(r(e)&&(Bi(e),a.length=!0),i.length<n.length)for(var s=i.length;s<n.length;s++)a[s]=!1;else for(var c=n.length;c<i.length;c++)a[c]=!0;for(var f=Math.min(i.length,n.length),d=0;d<f;d++)i.hasOwnProperty(d)||(a[d]=!0),void 0===a[d]&&t(i[d])}}}}(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=ja({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Pa({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?i.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}: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_VALUE_SETTER__"+Object.keys(t).join("_"),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:Jn,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,r,n,i;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(n=o.sort)||void 0===n?void 0:n.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(i=o.filters)||void 0===i?void 0:i.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("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.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:Ro,litRepeat:Mo,litClassMap:Ko,litStyleMap:To,litUnsafeHTML:qo,wcUtils:{...oe,...Qo,...re,...ie,...he,...mr,...wr,...Nn,...gr,...An,...Fn,...fe,...Zn,...Gn,...Vn,...Yn,...qa,...Un,...Ya,...el,isSafari:rl,isTouchScreen:nl}};const il=pt``;var al;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(al||(al={}));var ll=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 sl extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const cl=Symbol("registerInterval");class fl extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[cl]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[cl]):this.dispatchEvent(new sl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=cl,ll([Co()],e.prototype,"stateManager",void 0),e}(ai)){}
177
+ `;var Vn=Object.freeze({__proto__:null,noTextSelect:Hn,safariEllipsisFix:Gn,wordWrap:Tn}),qn=Object.freeze({__proto__:null});class Yn{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()}}}var Jn=Object.freeze({__proto__:null,ParametrizedLabelResolver:Yn});const Xn=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!ce(t,o),attribute:!1,...o};So(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})}};class Qn{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 ti(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var oi,ei,ri;const ni=Symbol("internalReduxEventsUnsubscribers"),ii=Symbol("internalStoresUnsubscribers"),ai=Symbol("internalStores");class li extends Bn{constructor(){super(...arguments),this[oi]=new Map,this[ei]=new Map,this[ri]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[ai].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ai].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ai].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:ti(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[ai].delete(o)}setupStore(t,o){this[ai].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ai].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[ii].has(t.store):this[ii].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[ii].set(t,o.subscribe((()=>this.updateFromStores()))),ti(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[ni].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ii].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[ni].forEach((t=>t())),this[ni]=[]}unsubscribeFromStore(t){this[ii].has(t)&&this[ii].get(t)(),this[ii].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function si(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[qi]}function fi(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)===Yi}(t)||Array.isArray(t)||!!t[Vi]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Vi])||gi(t)||bi(t))}function di(t,o,e){void 0===e&&(e=!1),0===pi(t)?(e?Object.keys:Ji)(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[qi];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:gi(t)?2:bi(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 yi(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function gi(t){return Di&&t instanceof Map}function bi(t){return Hi&&t instanceof Set}function mi(t){return t.o||t.t}function vi(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Xi(t);delete o[qi];for(var e=Ji(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 Oi(t,o){return void 0===o&&(o=!1),wi(t)||ci(t)||!fi(t)||(pi(t)>1&&(t.set=t.add=t.clear=t.delete=xi),Object.freeze(t),o&&di(t,(function(t,o){return Oi(o,!0)}),!0)),t}function xi(){si(2)}function wi(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Si(t){var o=Qi[t];return o||si(18,t),o}function Ci(){return Ki}function Ni(t,o){o&&(Si("Patches"),t.u=[],t.s=[],t.v=o)}function Ei(t){Ri(t),t.p.forEach(Li),t.p=null}function Ri(t){t===Ki&&(Ki=t.l)}function Ii(t){return Ki={p:[],l:Ki,h:t,m:!0,_:0}}function Li(t){var o=t[qi];0===o.i||1===o.i?o.j():o.g=!0}function Ui(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[qi].P&&(Ei(o),si(4)),fi(t)&&(t=Wi(o,t),o.l||$i(o,t)),o.u&&Si("Patches").M(e[qi].t,t,o.u,o.s)):t=Wi(o,e,[]),Ei(o),o.u&&o.v(o.u,o.s),t!==Gi?t:void 0}function Wi(t,o,e){if(wi(o))return o;var r=o[qi];if(!r)return di(o,(function(n,i){return ki(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return $i(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=vi(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),di(i,(function(o,i){return ki(t,r,n,o,i,e,a)})),$i(t,n,!1),e&&t.u&&Si("Patches").N(r,e,t.u,t.s)}return r.o}function ki(t,o,e,r,n,i,a){if(ci(n)){var l=Wi(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(fi(n)&&!wi(n)){if(!t.h.D&&t._<1)return;Wi(t,n),o&&o.A.l||$i(t,n)}}function $i(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Oi(o,e)}function zi(t,o){var e=t[qi];return(e?mi(e):t)[o]}function Bi(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 Ai(t){t.P||(t.P=!0,t.l&&Ai(t.l))}function Fi(t){t.o||(t.o=vi(t.t))}function Pi(t,o,e){var r=gi(o)?Si("MapSet").F(o,e):bi(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:Ci(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=ta;e&&(n=[r],i=oa);var a=Proxy.revocable(n,i),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(o,e):Si("ES5").J(o,e);return(e?e.A:Ci()).p.push(r),r}function _i(t){return ci(t)||si(22,t),function t(o){if(!fi(o))return o;var e,r=o[qi],n=pi(o);if(r){if(!r.P&&(r.i<4||!Si("ES5").K(r)))return r.t;r.I=!0,e=Mi(o,n),r.I=!1}else e=Mi(o,n);return di(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 Mi(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return vi(t)}oi=ii,ei=ai,ri=ni,li.reduxProperties=new Map,li.reduxReactiveProperties=new Set,li.reduxEventListeners=new Map;var ji,Ki,Zi="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Di="undefined"!=typeof Map,Hi="undefined"!=typeof Set,Ti="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Gi=Zi?Symbol.for("immer-nothing"):((ji={})["immer-nothing"]=!0,ji),Vi=Zi?Symbol.for("immer-draftable"):"__$immer_draftable",qi=Zi?Symbol.for("immer-state"):"__$immer_state",Yi=""+Object.prototype.constructor,Ji="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Xi=Object.getOwnPropertyDescriptors||function(t){var o={};return Ji(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Qi={},ta={get:function(t,o){if(o===qi)return t;var e=mi(t);if(!hi(e,o))return function(t,o,e){var r,n=Bi(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||!fi(r)?r:r===zi(t.t,o)?(Fi(t),t.o[o]=Pi(t.A.h,r,t)):r},has:function(t,o){return o in mi(t)},ownKeys:function(t){return Reflect.ownKeys(mi(t))},set:function(t,o,e){var r=Bi(mi(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=zi(mi(t),o),i=null==n?void 0:n[qi];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(yi(e,n)&&(void 0!==e||hi(t.t,o)))return!0;Fi(t),Ai(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!==zi(t.t,o)||o in t.t?(t.R[o]=!1,Fi(t),Ai(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=mi(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(){si(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){si(12)}},oa={};di(ta,(function(t,o){oa[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),oa.deleteProperty=function(t,o){return oa.set.call(this,t,o,void 0)},oa.set=function(t,o,e){return ta.set.call(this,t[0],o,e,t[0])};var ea=function(){function t(t){var o=this;this.O=Ti,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&&si(6),void 0!==r&&"function"!=typeof r&&si(7),fi(t)){var l=Ii(o),s=Pi(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?Ei(l):Ri(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Ni(l,r),Ui(t,l)}),(function(t){throw Ei(l),t})):(Ni(l,r),Ui(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Gi&&(a=void 0),o.D&&Oi(a,!0),r){var f=[],d=[];Si("Patches").M(t,a,f,d),r(f,d)}return a}si(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){fi(t)||si(8),ci(t)&&(t=_i(t));var o=Ii(this),e=Pi(this,t,void 0);return e[qi].C=!0,Ri(o),e},o.finishDraft=function(t,o){var e=(t&&t[qi]).A;return Ni(e,o),Ui(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ti&&si(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}(),ra=new ea,na=ra.produce;function ia(t){return ia="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},ia(t)}function aa(t){var o=function(t,o){if("object"!==ia(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==ia(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===ia(o)?o:String(o)}function la(t,o,e){return(o=aa(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function sa(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?sa(Object(e),!0).forEach((function(o){la(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function fa(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. "}ra.produceWithPatches.bind(ra),ra.setAutoFreeze.bind(ra),ra.setUseProxies.bind(ra),ra.applyPatches.bind(ra),ra.createDraft.bind(ra),ra.finishDraft.bind(ra);var da="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(fa(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(fa(1));return e(ua)(t,o)}if("function"!=typeof t)throw new Error(fa(2));var n=t,i=o,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(fa(3));return i}function d(t){if("function"!=typeof t)throw new Error(fa(4));if(s)throw new Error(fa(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(fa(6));o=!1,c();var e=l.indexOf(t);l.splice(e,1),a=null}}}function p(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(fa(7));if(void 0===t.type)throw new Error(fa(8));if(s)throw new Error(fa(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return p({type:ha.INIT}),(r={dispatch:p,subscribe:d,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(fa(10));n=t,p({type:ha.REPLACE})}})[da]=function(){var t,o=d;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(fa(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[da]=function(){return this},t},r}function ya(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(fa(12));if(void 0===e(void 0,{type:ha.PROBE_UNKNOWN_ACTION()}))throw new Error(fa(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 s=a[l],c=e[s],f=t[s],d=c(f,o);if(void 0===d)throw o&&o.type,new Error(fa(14));n[s]=d,r=r||d!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function ga(){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 ba(){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(fa(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=ga.apply(void 0,i)(e.dispatch),ca(ca({},e),{},{dispatch:r})}}}function ma(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 va=ma();va.withExtraArgument=ma;var Oa,xa=va,wa=(Oa=function(t,o){return Oa=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])},Oa(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}Oa(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])}}},Ca=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,Ea=Object.defineProperties,Ra=Object.getOwnPropertyDescriptors,Ia=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,Wa=function(t,o,e){return o in t?Na(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},ka=function(t,o){for(var e in o||(o={}))La.call(o,e)&&Wa(t,e,o[e]);if(Ia)for(var r=0,n=Ia(o);r<n.length;r++){e=n[r];Ua.call(o,e)&&Wa(t,e,o[e])}return t},$a=function(t,o){return Ea(t,Ra(o))},za="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ga:ga.apply(null,arguments)};var Ba=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 wa(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,Ca([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ca([void 0],t.concat(this))))},o}(Array),Aa=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 wa(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,Ca([void 0],t[0].concat(this)))):new(o.bind.apply(o,Ca([void 0],t.concat(this))))},o}(Array);function Fa(t){return fi(t)?na(t,(function(){})):t}function Pa(){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 Ba;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(xa.withExtraArgument(e.extraArgument)):r.push(xa));return r}(t)}}function _a(t){var o,e=Pa(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,l=void 0===a?e():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,d=void 0===f?void 0:f,p=r.enhancers,h=void 0===p?void 0:p;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=ya(i)}var u=l;"function"==typeof u&&(u=u(e));var y=ba.apply(void 0,u),g=ga;c&&(g=za(ka({trace:!1},"object"==typeof c&&c)));var b=new Aa(y),m=b;return Array.isArray(h)?m=Ca([y],h):"function"==typeof h&&(m=h(b)),ua(o,d,g.apply(void 0,m))}function Ma(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 ka(ka({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 ja(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 Ka(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:Fa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},l={},s={};function c(){var o="function"==typeof t.extraReducers?ja(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,s=o[2],c=void 0===s?void 0:s,f=ka(ka({},n),l);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?ja(o):[o,e,r],a=i[0],l=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Fa(t())};else{var c=Fa(t);n=function(){return c}}function f(t,o){void 0===t&&(t=n());var e=Ca([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=[s]),e.reduce((function(t,e){if(e){var r;if(ci(t))return void 0===(r=e(t,o))?t:r;if(fi(t))return na(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)}c&&t.addDefaultCase(c)}))}return i.forEach((function(t){var e,r,i=n[t],c=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,l[c]=e,s[t]=r?Ma(c,r):Ma(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Za=["name","message","stack","code"],Da=function(t,o){this.payload=t,this.meta=o},Ha=function(t,o){this.payload=t,this.meta=o},Ta=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Za;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Ga(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=Ma(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:$a(ka({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Ma(t+"/pending",(function(t,o,e){return{payload:void 0,meta:$a(ka({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Ma(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Ta)(t||"Rejected"),meta:$a(ka({},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,s,c){var f,d=(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}(),p=new a;function h(t){f=t,p.abort()}var u=function(){return a=this,u=null,y=function(){var a,u,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:s,extra:c}),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||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return p.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(n(d,t,null==(u=null==e?void 0:e.getPendingMeta)?void 0:u.call(e,{requestId:d,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:s,extra:c,requestId:d,signal:p.signal,abort:h,rejectWithValue:function(t,o){return new Da(t,o)},fulfillWithValue:function(t,o){return new Ha(t,o)}})).then((function(o){if(o instanceof Da)throw o;return o instanceof Ha?r(o.payload,d,t,o.meta):r(o,d,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Da?i(null,d,t,m.payload,m.meta):i(m,d,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,u)).next())}));var a,u,y}();return Object.assign(u,{abort:h,requestId:d,arg:t,unwrap:function(){return u.then(Ga)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Va="listenerMiddleware";Ma(Va+"/add"),Ma(Va+"/removeAll"),Ma(Va+"/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[qi];return ta.get(o,t)},set:function(o){var e=this[qi];ta.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][qi];if(!n.P)switch(n.i){case 5:r(n)&&Ai(n);break;case 4:e(n)&&Ai(n)}}}function e(t){for(var o=t.t,e=t.k,r=Ji(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==qi){var a=o[i];if(void 0===a&&!hi(o,i))return!0;var l=e[i],s=l&&l[qi];if(s?s.t!==a:!yi(l,a))return!0}}var c=!!o[qi];return r.length!==Ji(o).length+(c?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){Qi[t]||(Qi[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=Xi(e);delete i[qi];for(var a=Ji(i),l=0;l<a.length;l++){var s=a[l];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:Ci(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,qi,{value:i,writable:!0}),n},S:function(t,e,n){n?ci(e)&&e[qi].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[qi];if(e){var n=e.t,i=e.k,a=e.R,l=e.i;if(4===l)di(i,(function(o){o!==qi&&(void 0!==n[o]||hi(n,o)?a[o]||t(i[o]):(a[o]=!0,Ai(e)))})),di(n,(function(t){void 0!==i[t]||hi(i,t)||(a[t]=!1,Ai(e))}));else if(5===l){if(r(e)&&(Ai(e),a.length=!0),i.length<n.length)for(var s=i.length;s<n.length;s++)a[s]=!1;else for(var c=n.length;c<i.length;c++)a[c]=!0;for(var f=Math.min(i.length,n.length),d=0;d<f;d++)i.hasOwnProperty(d)||(a[d]=!0),void 0===a[d]&&t(i[d])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class qa{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(ti(n))return n;if(null==r)return;const i=Ka({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=_a({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?i.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:i.reducer(t,o)});return window.ftReduxStores[r.name]=new qa(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qn,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_VALUE_SETTER__"+Object.keys(t).join("_"),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 Ya=Object.freeze({__proto__:null,FtCommandQueue:Qn,FtLitElementRedux:li,FtReduxStore:qa,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))ti(o)&&o.clear()},isFtReduxStore:ti,redux:Xn,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 Ja=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,n,i;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(n=o.sort)||void 0===n?void 0:n.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(i=o.filters)||void 0===i?void 0:i.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("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Xa=Symbol("elementInternals");var Qa,tl,ol,el,rl=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Xa].form}constructor(...t){super(t),this[Xa]=this.attachInternals(),this[Xa].role=o}setFormValue(t){this[Xa].setFormValue(t)}}}});const nl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ol=null===(tl=null===(Qa=window.safari)||void 0===Qa?void 0:Qa.pushNotification)||void 0===tl?void 0:tl.toString())&&void 0!==ol?ol:""),il="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(el=window.ftGlobals)&&void 0!==el?el:{lit:Oo,litDecorators:Ro,litRepeat:Mo,litClassMap:Ko,litStyleMap:To,litUnsafeHTML:qo,wcUtils:{...oe,...Qo,...re,...ie,...ue,...mr,...wr,...Nn,...gr,...An,...Fn,...fe,...Dn,...Vn,...qn,...Jn,...Ya,...Un,...Ja,...rl,isSafari:nl,isTouchScreen:il}};const al=pt``;var ll;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(ll||(ll={}));var sl=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 cl extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const fl=Symbol("registerInterval");class dl extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[fl]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[fl]):this.dispatchEvent(new cl)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=fl,sl([Co()],e.prototype,"stateManager",void 0),e}(li)){}
178
178
  /**
179
179
  * @license
180
180
  * Copyright 2020 Google LLC
181
181
  * SPDX-License-Identifier: BSD-3-Clause
182
- */const dl=Symbol.for(""),pl=t=>{if(t?.r===dl)return t?._$litStatic$},ul=t=>({_$litStatic$:t,r:dl}),hl=new Map,yl=(t=>(o,...e)=>{const r=e.length;let n,i;const a=[],l=[];let s,c=0,f=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(i=e[c],n=pl(i));)s+=n+o[++c],f=!0;c!==r&&l.push(i),a.push(s),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=hl.get(t))&&(a.raw=a,hl.set(t,o=a)),e=l}return t(o,...e)})(K);var gl;!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"}(gl||(gl={}));const bl=ge.extend("--ft-typography-font-family","",br.titleFont),ml=ge.extend("--ft-typography-font-family","",br.contentFont),vl={fontFamily:ml,fontSize:ge.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ge.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ge.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ge.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ge.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ol=ge.extend("--ft-typography-title-font-family","",bl),xl=ge.extend("--ft-typography-title-font-size","",vl.fontSize,"20px"),wl=ge.extend("--ft-typography-title-font-weight","",vl.fontWeight,"normal"),Sl=ge.extend("--ft-typography-title-letter-spacing","",vl.letterSpacing,"0.15px"),Cl=ge.extend("--ft-typography-title-line-height","",vl.lineHeight,"1.2"),Nl=ge.extend("--ft-typography-title-text-transform","",vl.textTransform,"inherit"),El=ge.extend("--ft-typography-title-dense-font-family","",bl),Rl=ge.extend("--ft-typography-title-dense-font-size","",vl.fontSize,"14px"),Il=ge.extend("--ft-typography-title-dense-font-weight","",vl.fontWeight,"normal"),Ll=ge.extend("--ft-typography-title-dense-letter-spacing","",vl.letterSpacing,"0.105px"),Ul=ge.extend("--ft-typography-title-dense-line-height","",vl.lineHeight,"1.7"),Wl=ge.extend("--ft-typography-title-dense-text-transform","",vl.textTransform,"inherit"),kl=ge.extend("--ft-typography-subtitle1-font-family","",ml),$l=ge.extend("--ft-typography-subtitle1-font-size","",vl.fontSize,"16px"),zl=ge.extend("--ft-typography-subtitle1-font-weight","",vl.fontWeight,"600"),Bl=ge.extend("--ft-typography-subtitle1-letter-spacing","",vl.letterSpacing,"0.144px"),Al=ge.extend("--ft-typography-subtitle1-line-height","",vl.lineHeight,"1.5"),Fl=ge.extend("--ft-typography-subtitle1-text-transform","",vl.textTransform,"inherit"),Pl=ge.extend("--ft-typography-subtitle2-font-family","",ml),_l=ge.extend("--ft-typography-subtitle2-font-size","",vl.fontSize,"14px"),Ml=ge.extend("--ft-typography-subtitle2-font-weight","",vl.fontWeight,"normal"),jl=ge.extend("--ft-typography-subtitle2-letter-spacing","",vl.letterSpacing,"0.098px"),Kl=ge.extend("--ft-typography-subtitle2-line-height","",vl.lineHeight,"1.7"),Zl=ge.extend("--ft-typography-subtitle2-text-transform","",vl.textTransform,"inherit"),Dl=ge.extend("--ft-typography-body1-font-family","",ml),Hl=ge.extend("--ft-typography-body1-font-size","",vl.fontSize,"16px"),Tl=ge.extend("--ft-typography-body1-font-weight","",vl.fontWeight,"normal"),Gl=ge.extend("--ft-typography-body1-letter-spacing","",vl.letterSpacing,"0.496px"),Vl=ge.extend("--ft-typography-body1-line-height","",vl.lineHeight,"1.5"),ql=ge.extend("--ft-typography-body1-text-transform","",vl.textTransform,"inherit"),Yl=ge.extend("--ft-typography-body2-font-family","",ml),Jl=ge.extend("--ft-typography-body2-font-size","",vl.fontSize,"14px"),Xl=ge.extend("--ft-typography-body2-font-weight","",vl.fontWeight,"normal"),Ql=ge.extend("--ft-typography-body2-letter-spacing","",vl.letterSpacing,"0.252px"),ts=ge.extend("--ft-typography-body2-line-height","",vl.lineHeight,"1.4"),os=ge.extend("--ft-typography-body2-text-transform","",vl.textTransform,"inherit"),es=ge.extend("--ft-typography-caption-font-family","",ml),rs=ge.extend("--ft-typography-caption-font-size","",vl.fontSize,"12px"),ns=ge.extend("--ft-typography-caption-font-weight","",vl.fontWeight,"normal"),is=ge.extend("--ft-typography-caption-letter-spacing","",vl.letterSpacing,"0.396px"),as=ge.extend("--ft-typography-caption-line-height","",vl.lineHeight,"1.33"),ls=ge.extend("--ft-typography-caption-text-transform","",vl.textTransform,"inherit"),ss=ge.extend("--ft-typography-breadcrumb-font-family","",ml),cs=ge.extend("--ft-typography-breadcrumb-font-size","",vl.fontSize,"10px"),fs=ge.extend("--ft-typography-breadcrumb-font-weight","",vl.fontWeight,"normal"),ds=ge.extend("--ft-typography-breadcrumb-letter-spacing","",vl.letterSpacing,"0.33px"),ps=ge.extend("--ft-typography-breadcrumb-line-height","",vl.lineHeight,"1.6"),us=ge.extend("--ft-typography-breadcrumb-text-transform","",vl.textTransform,"inherit"),hs=ge.extend("--ft-typography-overline-font-family","",ml),ys=ge.extend("--ft-typography-overline-font-size","",vl.fontSize,"10px"),gs=ge.extend("--ft-typography-overline-font-weight","",vl.fontWeight,"normal"),bs=ge.extend("--ft-typography-overline-letter-spacing","",vl.letterSpacing,"1.5px"),ms=ge.extend("--ft-typography-overline-line-height","",vl.lineHeight,"1.6"),vs=ge.extend("--ft-typography-overline-text-transform","",vl.textTransform,"uppercase"),Os=ge.extend("--ft-typography-button-font-family","",ml),xs=ge.extend("--ft-typography-button-font-size","",vl.fontSize,"14px"),ws=ge.extend("--ft-typography-button-font-weight","",vl.fontWeight,"600"),Ss=ge.extend("--ft-typography-button-letter-spacing","",vl.letterSpacing,"1.246px"),Cs=ge.extend("--ft-typography-button-line-height","",vl.lineHeight,"1.15"),Ns=ge.extend("--ft-typography-button-text-transform","",vl.textTransform,"uppercase"),Es=pt`
182
+ */const pl=Symbol.for(""),hl=t=>{if(t?.r===pl)return t?._$litStatic$},ul=t=>({_$litStatic$:t,r:pl}),yl=new Map,gl=(t=>(o,...e)=>{const r=e.length;let n,i;const a=[],l=[];let s,c=0,f=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(i=e[c],n=hl(i));)s+=n+o[++c],f=!0;c!==r&&l.push(i),a.push(s),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=yl.get(t))&&(a.raw=a,yl.set(t,o=a)),e=l}return t(o,...e)})(K);var bl;!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"}(bl||(bl={}));const ml=ge.extend("--ft-typography-font-family","",br.titleFont),vl=ge.extend("--ft-typography-font-family","",br.contentFont),Ol={fontFamily:vl,fontSize:ge.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ge.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ge.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ge.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ge.create("--ft-typography-text-transform","","UNKNOWN","inherit")},xl=ge.extend("--ft-typography-title-font-family","",ml),wl=ge.extend("--ft-typography-title-font-size","",Ol.fontSize,"20px"),Sl=ge.extend("--ft-typography-title-font-weight","",Ol.fontWeight,"normal"),Cl=ge.extend("--ft-typography-title-letter-spacing","",Ol.letterSpacing,"0.15px"),Nl=ge.extend("--ft-typography-title-line-height","",Ol.lineHeight,"1.2"),El=ge.extend("--ft-typography-title-text-transform","",Ol.textTransform,"inherit"),Rl=ge.extend("--ft-typography-title-dense-font-family","",ml),Il=ge.extend("--ft-typography-title-dense-font-size","",Ol.fontSize,"14px"),Ll=ge.extend("--ft-typography-title-dense-font-weight","",Ol.fontWeight,"normal"),Ul=ge.extend("--ft-typography-title-dense-letter-spacing","",Ol.letterSpacing,"0.105px"),Wl=ge.extend("--ft-typography-title-dense-line-height","",Ol.lineHeight,"1.7"),kl=ge.extend("--ft-typography-title-dense-text-transform","",Ol.textTransform,"inherit"),$l=ge.extend("--ft-typography-subtitle1-font-family","",vl),zl=ge.extend("--ft-typography-subtitle1-font-size","",Ol.fontSize,"16px"),Bl=ge.extend("--ft-typography-subtitle1-font-weight","",Ol.fontWeight,"600"),Al=ge.extend("--ft-typography-subtitle1-letter-spacing","",Ol.letterSpacing,"0.144px"),Fl=ge.extend("--ft-typography-subtitle1-line-height","",Ol.lineHeight,"1.5"),Pl=ge.extend("--ft-typography-subtitle1-text-transform","",Ol.textTransform,"inherit"),_l=ge.extend("--ft-typography-subtitle2-font-family","",vl),Ml=ge.extend("--ft-typography-subtitle2-font-size","",Ol.fontSize,"14px"),jl=ge.extend("--ft-typography-subtitle2-font-weight","",Ol.fontWeight,"normal"),Kl=ge.extend("--ft-typography-subtitle2-letter-spacing","",Ol.letterSpacing,"0.098px"),Zl=ge.extend("--ft-typography-subtitle2-line-height","",Ol.lineHeight,"1.7"),Dl=ge.extend("--ft-typography-subtitle2-text-transform","",Ol.textTransform,"inherit"),Hl=ge.extend("--ft-typography-body1-font-family","",vl),Tl=ge.extend("--ft-typography-body1-font-size","",Ol.fontSize,"16px"),Gl=ge.extend("--ft-typography-body1-font-weight","",Ol.fontWeight,"normal"),Vl=ge.extend("--ft-typography-body1-letter-spacing","",Ol.letterSpacing,"0.496px"),ql=ge.extend("--ft-typography-body1-line-height","",Ol.lineHeight,"1.5"),Yl=ge.extend("--ft-typography-body1-text-transform","",Ol.textTransform,"inherit"),Jl=ge.extend("--ft-typography-body2-font-family","",vl),Xl=ge.extend("--ft-typography-body2-font-size","",Ol.fontSize,"14px"),Ql=ge.extend("--ft-typography-body2-font-weight","",Ol.fontWeight,"normal"),ts=ge.extend("--ft-typography-body2-letter-spacing","",Ol.letterSpacing,"0.252px"),os=ge.extend("--ft-typography-body2-line-height","",Ol.lineHeight,"1.4"),es=ge.extend("--ft-typography-body2-text-transform","",Ol.textTransform,"inherit"),rs=ge.extend("--ft-typography-caption-font-family","",vl),ns=ge.extend("--ft-typography-caption-font-size","",Ol.fontSize,"12px"),is=ge.extend("--ft-typography-caption-font-weight","",Ol.fontWeight,"normal"),as=ge.extend("--ft-typography-caption-letter-spacing","",Ol.letterSpacing,"0.396px"),ls=ge.extend("--ft-typography-caption-line-height","",Ol.lineHeight,"1.33"),ss=ge.extend("--ft-typography-caption-text-transform","",Ol.textTransform,"inherit"),cs=ge.extend("--ft-typography-breadcrumb-font-family","",vl),fs=ge.extend("--ft-typography-breadcrumb-font-size","",Ol.fontSize,"10px"),ds=ge.extend("--ft-typography-breadcrumb-font-weight","",Ol.fontWeight,"normal"),ps=ge.extend("--ft-typography-breadcrumb-letter-spacing","",Ol.letterSpacing,"0.33px"),hs=ge.extend("--ft-typography-breadcrumb-line-height","",Ol.lineHeight,"1.6"),us=ge.extend("--ft-typography-breadcrumb-text-transform","",Ol.textTransform,"inherit"),ys=ge.extend("--ft-typography-overline-font-family","",vl),gs=ge.extend("--ft-typography-overline-font-size","",Ol.fontSize,"10px"),bs=ge.extend("--ft-typography-overline-font-weight","",Ol.fontWeight,"normal"),ms=ge.extend("--ft-typography-overline-letter-spacing","",Ol.letterSpacing,"1.5px"),vs=ge.extend("--ft-typography-overline-line-height","",Ol.lineHeight,"1.6"),Os=ge.extend("--ft-typography-overline-text-transform","",Ol.textTransform,"uppercase"),xs=ge.extend("--ft-typography-button-font-family","",vl),ws=ge.extend("--ft-typography-button-font-size","",Ol.fontSize,"14px"),Ss=ge.extend("--ft-typography-button-font-weight","",Ol.fontWeight,"600"),Cs=ge.extend("--ft-typography-button-letter-spacing","",Ol.letterSpacing,"1.246px"),Ns=ge.extend("--ft-typography-button-line-height","",Ol.lineHeight,"1.15"),Es=ge.extend("--ft-typography-button-text-transform","",Ol.textTransform,"uppercase"),Rs=pt`
183
183
  .ft-typography--title {
184
- font-family: ${Ol};
185
- font-size: ${xl};
186
- font-weight: ${wl};
187
- letter-spacing: ${Sl};
188
- line-height: ${Cl};
189
- text-transform: ${Nl};
184
+ font-family: ${xl};
185
+ font-size: ${wl};
186
+ font-weight: ${Sl};
187
+ letter-spacing: ${Cl};
188
+ line-height: ${Nl};
189
+ text-transform: ${El};
190
190
  }
191
- `,Rs=pt`
191
+ `,Is=pt`
192
192
  .ft-typography--title-dense {
193
- font-family: ${El};
194
- font-size: ${Rl};
195
- font-weight: ${Il};
196
- letter-spacing: ${Ll};
197
- line-height: ${Ul};
198
- text-transform: ${Wl};
193
+ font-family: ${Rl};
194
+ font-size: ${Il};
195
+ font-weight: ${Ll};
196
+ letter-spacing: ${Ul};
197
+ line-height: ${Wl};
198
+ text-transform: ${kl};
199
199
  }
200
- `,Is=pt`
200
+ `,Ls=pt`
201
201
  .ft-typography--subtitle1 {
202
- font-family: ${kl};
203
- font-size: ${$l};
204
- font-weight: ${zl};
205
- letter-spacing: ${Bl};
206
- line-height: ${Al};
207
- text-transform: ${Fl};
202
+ font-family: ${$l};
203
+ font-size: ${zl};
204
+ font-weight: ${Bl};
205
+ letter-spacing: ${Al};
206
+ line-height: ${Fl};
207
+ text-transform: ${Pl};
208
208
  }
209
- `,Ls=pt`
209
+ `,Us=pt`
210
210
  .ft-typography--subtitle2 {
211
- font-family: ${Pl};
212
- font-size: ${_l};
213
- font-weight: ${Ml};
214
- letter-spacing: ${jl};
215
- line-height: ${Kl};
216
- text-transform: ${Zl};
211
+ font-family: ${_l};
212
+ font-size: ${Ml};
213
+ font-weight: ${jl};
214
+ letter-spacing: ${Kl};
215
+ line-height: ${Zl};
216
+ text-transform: ${Dl};
217
217
  }
218
218
 
219
- `,Us=pt`
219
+ `,Ws=pt`
220
220
  .ft-typography--body1 {
221
- font-family: ${Dl};
222
- font-size: ${Hl};
223
- font-weight: ${Tl};
224
- letter-spacing: ${Gl};
225
- line-height: ${Vl};
226
- text-transform: ${ql};
221
+ font-family: ${Hl};
222
+ font-size: ${Tl};
223
+ font-weight: ${Gl};
224
+ letter-spacing: ${Vl};
225
+ line-height: ${ql};
226
+ text-transform: ${Yl};
227
227
  }
228
- `,Ws=pt`
228
+ `,ks=pt`
229
229
  .ft-typography--body2 {
230
- font-family: ${Yl};
231
- font-size: ${Jl};
232
- font-weight: ${Xl};
233
- letter-spacing: ${Ql};
234
- line-height: ${ts};
235
- text-transform: ${os};
230
+ font-family: ${Jl};
231
+ font-size: ${Xl};
232
+ font-weight: ${Ql};
233
+ letter-spacing: ${ts};
234
+ line-height: ${os};
235
+ text-transform: ${es};
236
236
  }
237
- `,ks=pt`
237
+ `,$s=pt`
238
238
  .ft-typography--caption {
239
- font-family: ${es};
240
- font-size: ${rs};
241
- font-weight: ${ns};
242
- letter-spacing: ${is};
243
- line-height: ${as};
244
- text-transform: ${ls};
239
+ font-family: ${rs};
240
+ font-size: ${ns};
241
+ font-weight: ${is};
242
+ letter-spacing: ${as};
243
+ line-height: ${ls};
244
+ text-transform: ${ss};
245
245
  }
246
- `,$s=pt`
246
+ `,zs=pt`
247
247
  .ft-typography--breadcrumb {
248
- font-family: ${ss};
249
- font-size: ${cs};
250
- font-weight: ${fs};
251
- letter-spacing: ${ds};
252
- line-height: ${ps};
248
+ font-family: ${cs};
249
+ font-size: ${fs};
250
+ font-weight: ${ds};
251
+ letter-spacing: ${ps};
252
+ line-height: ${hs};
253
253
  text-transform: ${us};
254
254
  }
255
- `,zs=pt`
255
+ `,Bs=pt`
256
256
  .ft-typography--overline {
257
- font-family: ${hs};
258
- font-size: ${ys};
259
- font-weight: ${gs};
260
- letter-spacing: ${bs};
261
- line-height: ${ms};
262
- text-transform: ${vs};
257
+ font-family: ${ys};
258
+ font-size: ${gs};
259
+ font-weight: ${bs};
260
+ letter-spacing: ${ms};
261
+ line-height: ${vs};
262
+ text-transform: ${Os};
263
263
  }
264
- `,Bs=pt`
264
+ `,As=pt`
265
265
  .ft-typography--button {
266
- font-family: ${Os};
267
- font-size: ${xs};
268
- font-weight: ${ws};
269
- letter-spacing: ${Ss};
270
- line-height: ${Cs};
271
- text-transform: ${Ns};
266
+ font-family: ${xs};
267
+ font-size: ${ws};
268
+ font-weight: ${Ss};
269
+ letter-spacing: ${Cs};
270
+ line-height: ${Ns};
271
+ text-transform: ${Es};
272
272
  }
273
- `,As=pt`
273
+ `,Fs=pt`
274
274
  .ft-typography {
275
275
  vertical-align: inherit;
276
276
  }
277
- `,Fs=[Object.keys(De).map((t=>function(t){const o=De[t];return pt`
277
+ `,Ps=[Object.keys(De).map((t=>function(t){const o=De[t];return pt`
278
278
  .ft-typography--${dt(t)} {
279
279
  font-family: ${o.fontFamily};
280
280
  font-size: ${o.fontSize};
@@ -283,19 +283,19 @@ function(t){return(o,e)=>{const{slot:r,selector:n}=t??{},i="slot"+(r?`[name=${r}
283
283
  line-height: ${o.lineHeight};
284
284
  text-transform: ${o.textCase};
285
285
  }
286
- `}(t)))];var Ps=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 _s extends Bn{constructor(){super(...arguments),this.variant=gl.body1}render(){return this.element?yl`
286
+ `}(t)))];var _s=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 Ms extends Bn{constructor(){super(...arguments),this.variant=bl.body1}render(){return this.element?gl`
287
287
  <${ul(this.element)}
288
288
  class="ft-typography ft-typography--${this.variant}">
289
289
  <slot></slot>
290
290
  </${ul(this.element)}>
291
- `:yl`
291
+ `:gl`
292
292
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
293
- `}}_s.styles=[Es,Rs,Is,Ls,Us,Ws,ks,$s,zs,Bs,As,...Fs],Ps([So()],_s.prototype,"element",void 0),Ps([So()],_s.prototype,"variant",void 0),de("ft-typography")(_s);const Ms=pt`
294
- `,js=Va.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class Ks{static get(t){const{baseUrl:o,apiIntegrationIdentifier:e}=js.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static await(t){return new Promise((o=>{let e=Ks.get(t);if(e)o(e);else{const r=js.subscribe((()=>{e=Ks.get(t),e&&(r(),o(e))}))}}))}}class Zs{constructor(t=!0,o){var e;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(e=r.commonCache)&&void 0!==e?e:new te,this.cache=t?r.commonCache:new te}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ks.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ks.await()}clearCache(){this.cache.clearAll()}}var Ds;const Hs=Symbol("clearAfterUnitTest");class Ts extends Zs{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ds]=()=>{this.defaultMessages={},this.cache=new te,this.listeners={}},this.currentUiLocale=js.getState().uiLocale,js.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=js.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};ce(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new qn(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ae(0).then((()=>t())).catch((()=>null)))))}}Ds=Hs,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Ts{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Ts{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Gs=window.FluidTopicsI18nService,Vs=window.FluidTopicsCustomI18nService;var qs=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 Ys extends Bn{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Ks.get(),this.cache=new te,this.cleanSessionDebouncer=new ne}render(){return Jt`
293
+ `}}Ms.styles=[Rs,Is,Ls,Us,Ws,ks,$s,zs,Bs,As,Fs,...Ps],_s([So()],Ms.prototype,"element",void 0),_s([So()],Ms.prototype,"variant",void 0),de("ft-typography")(Ms);const js=pt`
294
+ `,Ks=qa.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class Zs{static get(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Ks.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static await(t){return new Promise((o=>{let e=Zs.get(t);if(e)o(e);else{const r=Ks.subscribe((()=>{e=Zs.get(t),e&&(r(),o(e))}))}}))}}class Ds{constructor(t=!0,o){var e;this.overrideApi=o;let r=this.constructor;r.commonCache=null!==(e=r.commonCache)&&void 0!==e?e:new te,this.cache=t?r.commonCache:new te}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Zs.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Zs.await()}clearCache(){this.cache.clearAll()}}var Hs;const Ts=Symbol("clearAfterUnitTest");class Gs extends Ds{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Hs]=()=>{this.defaultMessages={},this.cache=new te,this.listeners={}},this.currentUiLocale=Ks.getState().uiLocale,Ks.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Ks.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};ce(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==n?n:{};return new Yn(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ae(0).then((()=>t())).catch((()=>null)))))}}Hs=Ts,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Gs{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Gs{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Vs=window.FluidTopicsI18nService,qs=window.FluidTopicsCustomI18nService;var Ys=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 Js extends Bn{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Zs.get(),this.messageContexts=[],this.cache=new te,this.cleanSessionDebouncer=new ne}render(){return Jt`
295
295
  <slot></slot>
296
- `}update(t){super.update(t),t.has("baseUrl")&&(js.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&js.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&js.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&js.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&js.actions.noCustom(this.noCustom),t.has("editorMode")&&js.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&js.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&js.actions.session(this.session),t.has("availableUiLocales")&&js.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Gs.addContext(t))),t.has("openExternalDocumentInNewTab")&&js.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Ys.elementDefinitions={},Ys.styles=Ms,qs([So()],Ys.prototype,"baseUrl",void 0),qs([So()],Ys.prototype,"apiIntegrationIdentifier",void 0),qs([So()],Ys.prototype,"uiLocale",void 0),qs([pe(null)],Ys.prototype,"availableUiLocales",void 0),qs([pe(null)],Ys.prototype,"metadataConfiguration",void 0),qs([So({type:Boolean})],Ys.prototype,"editorMode",void 0),qs([So({type:Boolean})],Ys.prototype,"noCustom",void 0),qs([So({type:Boolean})],Ys.prototype,"openExternalDocumentInNewTab",void 0),qs([So({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Ys.prototype,"noCustomComponent",void 0),qs([So({type:Boolean})],Ys.prototype,"withManualResources",void 0),qs([pe([])],Ys.prototype,"messageContexts",void 0),qs([pe(void 0)],Ys.prototype,"session",void 0),qs([So({type:Object})],Ys.prototype,"apiProvider",void 0);class Js extends Zs{async listMySearches(){let t=js.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Xs extends Zs{async listMyBookmarks(){let t=js.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Qs=Va.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=js.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Xs,this.savedSearchesService=new Js,js.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=js.getState();ce(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Qs.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Qs.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Qs.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Qs.actions.bookmarks(o)}}},de("ft-app-context")(Ys);const tc=pt`
297
- `;var oc=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 ec=Symbol("i18nAttributes"),rc=Symbol("i18nProperties"),nc=Symbol("i18nUnsubs");function ic(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Vs:Gs}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const n=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var o,e;null===(o=this[ec])||void 0===o||o.forEach(((o,e)=>{var r;const n=this.getI18nAttributeValue(e);(null===(r=null==n?void 0:n.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,n,o)})),null===(e=this[rc])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[ec])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[rc])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[rc])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[ec])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[nc].has(t)||this[nc].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[nc].forEach((t=>t())),this[nc].clear()}}return o=nc,oc([So({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class ac extends(ic(Bn)){}class lc extends(ic(ai)){}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,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 cc extends lc{constructor(){super(),this.editorMode=!1,this.addStore(js)}render(){return this.key&&this.context?Jt`
296
+ `}update(t){super.update(t),t.has("baseUrl")&&(Ks.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Ks.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Ks.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Ks.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Ks.actions.noCustom(this.noCustom),t.has("editorMode")&&Ks.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Ks.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Ks.actions.session(this.session),t.has("availableUiLocales")&&Ks.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Vs.addContext(t))),t.has("openExternalDocumentInNewTab")&&Ks.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&Ks.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&Ks.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Js.elementDefinitions={},Js.styles=js,Ys([So()],Js.prototype,"baseUrl",void 0),Ys([So()],Js.prototype,"apiIntegrationIdentifier",void 0),Ys([So()],Js.prototype,"uiLocale",void 0),Ys([pe(null)],Js.prototype,"availableUiLocales",void 0),Ys([pe(null)],Js.prototype,"metadataConfiguration",void 0),Ys([So({type:Boolean})],Js.prototype,"editorMode",void 0),Ys([So({type:Boolean})],Js.prototype,"noCustom",void 0),Ys([So({type:Boolean})],Js.prototype,"openExternalDocumentInNewTab",void 0),Ys([So({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Js.prototype,"noCustomComponent",void 0),Ys([So({type:Boolean})],Js.prototype,"withManualResources",void 0),Ys([So({type:Boolean})],Js.prototype,"navigatorOnline",void 0),Ys([So({type:Boolean})],Js.prototype,"forcedOffline",void 0),Ys([So({type:Object})],Js.prototype,"apiProvider",void 0),Ys([pe([])],Js.prototype,"messageContexts",void 0),Ys([pe(void 0)],Js.prototype,"session",void 0);class Xs extends Ds{async listMySearches(){let t=Ks.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Qs extends Ds{async listMyBookmarks(){let t=Ks.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const tc=qa.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=Ks.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Qs,this.savedSearchesService=new Xs,Ks.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Ks.getState();ce(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),tc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),tc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();tc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;tc.actions.bookmarks(o)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,o=!1){Ks.commands.add(t,o)}consumeCommand(t){return Ks.commands.consume(t)}};window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,o){Zn(t,o)}},de("ft-app-context")(Js);const oc=pt`
297
+ `;var ec=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 rc=Symbol("i18nAttributes"),nc=Symbol("i18nProperties"),ic=Symbol("i18nUnsubs");function ac(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?qs:Vs}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const n=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...n)}onI18nUpdate(t){var o,e;null===(o=this[rc])||void 0===o||o.forEach(((o,e)=>{var r;const n=this.getI18nAttributeValue(e);(null===(r=null==n?void 0:n.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,n,o)})),null===(e=this[nc])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[rc])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[nc])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[nc])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[rc])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[ic].has(t)||this[ic].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[ic].forEach((t=>t())),this[ic].clear()}}return o=ic,ec([So({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class lc extends(ac(Bn)){}class sc extends(ac(li)){}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,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 fc extends sc{constructor(){super(),this.editorMode=!1,this.addStore(Ks)}render(){return this.key&&this.context?Jt`
298
298
  <span class="ft-i18n">
299
299
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
300
300
  </span>
301
- `:this.editorMode?"Select a context and a label key.":to}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}cc.elementDefinitions={},cc.styles=tc,sc([Jn()],cc.prototype,"editorMode",void 0),sc([So()],cc.prototype,"context",void 0),sc([So()],cc.prototype,"key",void 0),sc([pe([])],cc.prototype,"args",void 0),sc([So()],cc.prototype,"defaultMessage",void 0);class fc{static build(t){return new fc(t)}static fromGwt(t){return new fc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Gs.resolveMessage(this.name,o,...t)})}}de("ft-i18n")(cc);const dc=fc.build("readerPageTitle"),pc={pageTitle:"Page title"};var uc=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 hc extends(ic(fl)){constructor(){super(),this.target="current",this.editorMode=!1,this.addStore(js),this.addI18nContext(dc,pc)}render(){var t,o;const e=null!==(o=null===(t=this.targetPage)||void 0===t?void 0:t.title)&&void 0!==o?o:this.editorMode?dc.messages.pageTitle():void 0;return e?Jt`<ft-typography variant="title" part="text">${e}</ft-typography>`:to}update(t){var o;if(super.update(t),t.has("currentPage")||t.has("target")){const t=this.computeOffset(this.target);if(this.currentPage&&0!=t){const e=this.currentPage.number+t;null===(o=this.service)||void 0===o||o.getPage(e).then((t=>{t.number==e?this.targetPage=t:this.targetPage=void 0}))}else this.targetPage=this.currentPage}}computeOffset(t){switch(t){case"next":return 1;case"previous":return-1;default:return 0}}}hc.styles=il,hc.elementDefinitions={"ft-typography":_s},uc([So()],hc.prototype,"target",void 0),uc([Jn({store:"reader"})],hc.prototype,"currentPage",void 0),uc([Co()],hc.prototype,"targetPage",void 0),uc([Jn({store:js.name})],hc.prototype,"editorMode",void 0),de("ft-reader-page-title")(hc),t.FtReaderPageTitle=hc,t.FtReaderPageTitleCssVariables={},t.styles=il}({});
301
+ `:this.editorMode?"Select a context and a label key.":to}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}fc.elementDefinitions={},fc.styles=oc,cc([Xn()],fc.prototype,"editorMode",void 0),cc([So()],fc.prototype,"context",void 0),cc([So()],fc.prototype,"key",void 0),cc([pe([])],fc.prototype,"args",void 0),cc([So()],fc.prototype,"defaultMessage",void 0);class dc{static build(t){return new dc(t)}static fromGwt(t){return new dc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Vs.resolveMessage(this.name,o,...t)})}}de("ft-i18n")(fc);const pc=dc.build("readerPageTitle"),hc={pageTitle:"Page title"};var uc=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 yc extends(ac(dl)){constructor(){super(),this.target="current",this.editorMode=!1,this.addStore(Ks),this.addI18nContext(pc,hc)}render(){var t,o;const e=null!==(o=null===(t=this.targetPage)||void 0===t?void 0:t.title)&&void 0!==o?o:this.editorMode?pc.messages.pageTitle():void 0;return e?Jt`<ft-typography variant="title" part="text">${e}</ft-typography>`:to}update(t){var o;if(super.update(t),t.has("currentPage")||t.has("target")){const t=this.computeOffset(this.target);if(this.currentPage&&0!=t){const e=this.currentPage.number+t;null===(o=this.service)||void 0===o||o.getPage(e).then((t=>{t.number==e?this.targetPage=t:this.targetPage=void 0}))}else this.targetPage=this.currentPage}}computeOffset(t){switch(t){case"next":return 1;case"previous":return-1;default:return 0}}}yc.styles=al,yc.elementDefinitions={"ft-typography":Ms},uc([So()],yc.prototype,"target",void 0),uc([Xn({store:"reader"})],yc.prototype,"currentPage",void 0),uc([Co()],yc.prototype,"targetPage",void 0),uc([Xn({store:Ks.name})],yc.prototype,"editorMode",void 0),de("ft-reader-page-title")(yc),t.FtReaderPageTitle=yc,t.FtReaderPageTitleCssVariables={},t.styles=al}({});