@fluid-topics/ft-search-results 1.1.35 → 1.1.36

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,63 +12,63 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);p(n,c,s);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=o.call(r,t);f||(f=h(t),e.call(r,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)i.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),n.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},h=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,n=r._getDefinition(e);return n?d(o,n):i.set(o,r),o}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,e,!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,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i,n),o.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(e.has(r)){const t=this.getAttribute(r);n.call(this,r),o.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(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r);const e=this.getAttribute(n);o.call(this,n,t,e)}else i.call(this,n,r)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),n.set(t,e),c=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===n.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),n=e.get(r)||[];this[+o]=t,n.push(t),e.set(r,n)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=n.get(o);t&&!0!==t.formAssociated||e.push(o)}return new i(e)}})}}try{window.customElements.define("custom-element",null)}catch(wa){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=n,n.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,n=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);p(n,c,s);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=e.call(r,t);f||(f=h(t),o.call(r,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)i.delete(t),d(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),n.set(o,e),o},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!l(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},h=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,n=r._getDefinition(o);return n?d(e,n):i.set(e,r),e}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},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)},d=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),c=t;try{new o.elementClass}catch(t){u(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===n.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),n=o.get(r)||[];this[+e]=t,n.push(t),o.set(r,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=n.get(e);t&&!0!==t.formAssociated||o.push(e)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(wa){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)}}}class o extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class e extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new o("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new o("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{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 e&&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,r){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=(t=>new e(((o,e)=>t.then(o).catch(e))))(o());return this.content[t]=n,n.then((o=>(this.content[t]=o,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class n{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}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const i=globalThis,a=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),c=new WeakMap;const l=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(a&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=c.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&c.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,s),f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return l(e)})(t):t
20
+ */const i=globalThis,a=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),c=new WeakMap;const l=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==s)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(a&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=c.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&c.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,s),f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return l(o)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:h,defineProperty:p,getOwnPropertyDescriptor:u,getOwnPropertyNames:d,getOwnPropertySymbols:y,getPrototypeOf:g}=Object,b=globalThis,m=b.trustedTypes,v=m?m.emptyScript:"",O=b.reactiveElementPolyfillSupport,S=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},N=(t,e)=>!h(t,e),x={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),b.litPropertyMetadata??=new WeakMap;let C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&p(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:n}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const i=r?.call(this);n.call(this,e),this.requestUpdate(t,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(S("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(S("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(S("properties"))){const t=this.properties,e=[...d(t),...y(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(f(t))}else void 0!==t&&e.push(f(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(a)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=i.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const n=(void 0!==o.converter?.toAttribute?o.converter:w).toAttribute(e,o.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=r,this[r]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??N)(r?n:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[S("elementProperties")]=new Map,C[S("finalized")]=new Map,O?.({ReactiveElement:C}),(b.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:h,defineProperty:p,getOwnPropertyDescriptor:u,getOwnPropertyNames:d,getOwnPropertySymbols:y,getPrototypeOf:g}=Object,b=globalThis,m=b.trustedTypes,v=m?m.emptyScript:"",O=b.reactiveElementPolyfillSupport,S=(t,o)=>t,w={toAttribute(t,o){switch(o){case Boolean:t=t?v: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}},N=(t,o)=>!h(t,o),x={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),b.litPropertyMetadata??=new WeakMap;let C=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=x){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&&p(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=u(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)??x}static _$Ei(){if(this.hasOwnProperty(S("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(S("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(S("properties"))){const t=this.properties,o=[...d(t),...y(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(f(t))}else void 0!==t&&o.push(f(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(a)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=i.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:w).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:w;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??N)(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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[S("elementProperties")]=new Map,C[S("finalized")]=new Map,O?.({ReactiveElement:C}),(b.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N},R=(t=E,e,o)=>{const{kind:r,metadata:n}=o;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const n=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,n,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const n=this[r];e.call(this,o),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};function U(t){return(e,o)=>"object"==typeof o?R(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
31
+ const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:N},R=(t=E,o,e)=>{const{kind:r,metadata:n}=e;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const n=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,n,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const n=this[r];o.call(this,e),this.requestUpdate(r,n,t)}}throw Error("Unsupported decorator location: "+r)};function U(t){return(o,e)=>"object"==typeof e?R(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2017 Google LLC
35
35
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function I(t){return U({...t,state:!0,attribute:!1})}function L(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,n;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!L(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!L(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(n=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,n[r]))return!1;for(r=o;0!=r--;){var i=n[r];if(!L(t[i],e[i]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const W=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function A(t,e){const o=()=>JSON.parse(JSON.stringify(t));return U({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!L(t,e),...null!=e?e:{}})}
36
+ */}function I(t){return U({...t,state:!0,attribute:!1})}function L(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(!L(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(!L(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(!L(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const W=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function A(t,o){const e=()=>JSON.parse(JSON.stringify(t));return U({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)=>!L(t,o),...null!=o?o:{}})}
37
37
  /**
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const k=globalThis,$=k.trustedTypes,K=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,M="?"+D,j=`<${M}>`,F=document,Z=()=>F.createComment(""),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,_=t=>z(t)||"function"==typeof t?.[Symbol.iterator],B="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,q=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,X=/"/g,J=/^(?:script|style|textarea|title)$/i,Q=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,rt=F.createTreeWalker(F,129);function nt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const it=(t,e)=>{const o=t.length-1,r=[];let n,i=2===e?"<svg>":"",a=H;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===H?"!--"===c[1]?a=G:void 0!==c[1]?a=V:void 0!==c[2]?(J.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=q):void 0!==c[3]&&(a=q):a===q?">"===c[0]?(a=n??H,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?q:'"'===c[3]?X:Y):a===X||a===Y?a=q:a===G||a===V?a=H:(a=q,n=void 0);const h=a===q&&t[e+1].startsWith("/>")?" ":"";i+=a===H?o+j:l>=0?(r.push(s),o.slice(0,l)+P+o.slice(l)+D+h):o+D+(-2===l?e:h)}return[nt(t,i+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let at=class t{constructor({strings:e,_$litType$:o},r){let n;this.parts=[];let i=0,a=0;const s=e.length-1,c=this.parts,[l,f]=it(e,o);if(this.el=t.createElement(l,r),rt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=rt.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(P)){const e=f[a++],o=n.getAttribute(t).split(D),r=/([.?@])?(.*)/.exec(e);c.push({type:1,index:i,name:r[2],strings:o,ctor:"."===r[1]?ht:"?"===r[1]?pt:"@"===r[1]?ut:ft}),n.removeAttribute(t)}else t.startsWith(D)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(J.test(n.tagName)){const t=n.textContent.split(D),e=t.length-1;if(e>0){n.textContent=$?$.emptyScript:"";for(let o=0;o<e;o++)n.append(t[o],Z()),rt.nextNode(),c.push({type:2,index:++i});n.append(t[e],Z())}}}else if(8===n.nodeType)if(n.data===M)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(D,t+1));)c.push({type:7,index:i}),t+=D.length-1}i++}}static createElement(t,e){const o=F.createElement("template");return o.innerHTML=t,o}};function st(t,e,o=t,r){if(e===tt)return e;let n=void 0!==r?o._$Co?.[r]:o._$Cl;const i=T(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=n:o._$Cl=n),void 0!==n&&(e=st(t,n._$AS(t,e.values),n,r)),e}let ct=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??F).importNode(e,!0);rt.currentNode=r;let n=rt.nextNode(),i=0,a=0,s=o[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new lt(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new dt(n,this,t)),this._$AV.push(e),s=o[++a]}i!==s?.index&&(n=rt.nextNode(),i++)}return rt.currentNode=F,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),T(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):_(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&T(this._$AH)?this._$AA.nextSibling.data=t:this.$(F.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=at.createElement(nt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new ct(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new at(t)),e}T(e){z(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,n=0;for(const i of e)n===o.length?o.push(r=new t(this.k(Z()),this.k(Z()),this,this.options)):r=o[n],r._$AI(i),n++;n<o.length&&(this._$AR(r&&r._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ft=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=et}_$AI(t,e=this,o,r){const n=this.strings;let i=!1;if(void 0===n)t=st(this,t,e,0),i=!T(t)||t!==this._$AH&&t!==tt,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=st(this,r[o+a],e,a),s===tt&&(s=this._$AH[a]),i||=!T(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ht=class extends ft{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},pt=class extends ft{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},ut=class extends ft{constructor(t,e,o,r,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??et)===tt)return;const o=this._$AH,r=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==et&&(o===et||r);r&&this.element.removeEventListener(this.name,this,o),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)}},dt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const yt={j:P,P:D,A:M,C:1,M:it,L:ct,R:_,V:st,D:lt,I:ft,H:pt,N:ut,U:ht,B:dt},gt=k.litHtmlPolyfillSupport;gt?.(at,lt),(k.litHtmlVersions??=[]).push("3.1.0");
41
+ */const k=globalThis,$=k.trustedTypes,K=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,M="?"+D,j=`<${M}>`,F=document,Z=()=>F.createComment(""),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,_=t=>z(t)||"function"==typeof t?.[Symbol.iterator],B="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,q=RegExp(`>|${B}(?:([^\\s"'>=/]+)(${B}*=${B}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,X=/"/g,J=/^(?:script|style|textarea|title)$/i,Q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),tt=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),et=new WeakMap,rt=F.createTreeWalker(F,129);function nt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(o):o}const it=(t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=H;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===H?"!--"===c[1]?a=G:void 0!==c[1]?a=V:void 0!==c[2]?(J.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=q):void 0!==c[3]&&(a=q):a===q?">"===c[0]?(a=n??H,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?q:'"'===c[3]?X:Y):a===X||a===Y?a=q:a===G||a===V?a=H:(a=q,n=void 0);const h=a===q&&t[o+1].startsWith("/>")?" ":"";i+=a===H?e+j:l>=0?(r.push(s),e.slice(0,l)+P+e.slice(l)+D+h):e+D+(-2===l?o:h)}return[nt(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let at=class t{constructor({strings:o,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const s=o.length-1,c=this.parts,[l,f]=it(o,e);if(this.el=t.createElement(l,r),rt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=rt.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(P)){const o=f[a++],e=n.getAttribute(t).split(D),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?ht:"?"===r[1]?pt:"@"===r[1]?ut:ft}),n.removeAttribute(t)}else t.startsWith(D)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(J.test(n.tagName)){const t=n.textContent.split(D),o=t.length-1;if(o>0){n.textContent=$?$.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],Z()),rt.nextNode(),c.push({type:2,index:++i});n.append(t[o],Z())}}}else if(8===n.nodeType)if(n.data===M)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(D,t+1));)c.push({type:7,index:i}),t+=D.length-1}i++}}static createElement(t,o){const e=F.createElement("template");return e.innerHTML=t,e}};function st(t,o,e=t,r){if(o===tt)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=st(t,n._$AS(t,o.values),n,r)),o}let ct=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??F).importNode(o,!0);rt.currentNode=r;let n=rt.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new lt(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new dt(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=rt.nextNode(),i++)}return rt.currentNode=F,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++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=ot,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=st(this,t,o),T(t)?t===ot||null==t||""===t?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):_(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ot&&T(this._$AH)?this._$AA.nextSibling.data=t:this.$(F.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=at.createElement(nt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new ct(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=et.get(t.strings);return void 0===o&&et.set(t.strings,o=new at(t)),o}T(o){z(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(Z()),this.k(Z()),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))}},ft=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=ot,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=ot}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=st(this,t,o,0),i=!T(t)||t!==this._$AH&&t!==tt,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=st(this,r[e+a],o,a),s===tt&&(s=this._$AH[a]),i||=!T(s)||s!==this._$AH[a],s===ot?t=ot:t!==ot&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ht=class extends ft{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},pt=class extends ft{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},ut=class extends ft{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=st(this,t,o,0)??ot)===tt)return;const e=this._$AH,r=t===ot&&e!==ot||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==ot&&(e===ot||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)}},dt=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){st(this,t)}};const yt={j:P,P:D,A:M,C:1,M:it,L:ct,R:_,V:st,D:lt,I:ft,H:pt,N:ut,U:ht,B:dt},gt=k.litHtmlPolyfillSupport;gt?.(at,lt),(k.litHtmlVersions??=[]).push("3.1.0");
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2019 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
46
  */
47
- const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),Ot=new WeakMap;let St=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==vt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(mt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=Ot.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Ot.set(e,t))}return t}toString(){return this.cssText}};const wt=t=>new St("string"==typeof t?t:t+"",void 0,vt),Nt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new St(o,t,vt)},xt=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return wt(e)})(t):t
47
+ const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),Ot=new WeakMap;let St=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==vt)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(mt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=Ot.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&Ot.set(o,t))}return t}toString(){return this.cssText}};const wt=t=>new St("string"==typeof t?t:t+"",void 0,vt),Nt=(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 St(e,t,vt)},xt=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return wt(o)})(t):t
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
- */,{is:Ct,defineProperty:Et,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Ut,getOwnPropertySymbols:It,getPrototypeOf:Lt}=Object,Wt=globalThis,At=Wt.trustedTypes,kt=At?At.emptyScript:"",$t=Wt.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Pt={toAttribute(t,e){switch(e){case Boolean:t=t?kt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Dt=(t,e)=>!Ct(t,e),Mt={attribute:!0,type:String,converter:Pt,reflect:!1,hasChanged:Dt};Symbol.metadata??=Symbol("metadata"),Wt.litPropertyMetadata??=new WeakMap;let jt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Mt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&Et(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:n}=Rt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const i=r?.call(this);n.call(this,e),this.requestUpdate(t,i,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Mt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Lt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...Ut(t),...It(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(xt(t))}else void 0!==t&&e.push(xt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(mt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=bt.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const n=(void 0!==o.converter?.toAttribute?o.converter:Pt).toAttribute(e,o.type);this._$Em=t,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Pt;this._$Em=r,this[r]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Dt)(r?n:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};jt.elementStyles=[],jt.shadowRootOptions={mode:"open"},jt[Kt("elementProperties")]=new Map,jt[Kt("finalized")]=new Map,$t?.({ReactiveElement:jt}),(Wt.reactiveElementVersions??=[]).push("2.0.2");
52
+ */,{is:Ct,defineProperty:Et,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Ut,getOwnPropertySymbols:It,getPrototypeOf:Lt}=Object,Wt=globalThis,At=Wt.trustedTypes,kt=At?At.emptyScript:"",$t=Wt.reactiveElementPolyfillSupport,Kt=(t,o)=>t,Pt={toAttribute(t,o){switch(o){case Boolean:t=t?kt: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}},Dt=(t,o)=>!Ct(t,o),Mt={attribute:!0,type:String,converter:Pt,reflect:!1,hasChanged:Dt};Symbol.metadata??=Symbol("metadata"),Wt.litPropertyMetadata??=new WeakMap;let jt=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=Mt){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&&Et(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=Rt(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)??Mt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Lt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,o=[...Ut(t),...It(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(xt(t))}else void 0!==t&&o.push(xt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(mt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=bt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const n=(void 0!==e.converter?.toAttribute?e.converter:Pt).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:Pt;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??Dt)(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){}};jt.elementStyles=[],jt.shadowRootOptions={mode:"open"},jt[Kt("elementProperties")]=new Map,jt[Kt("finalized")]=new Map,$t?.({ReactiveElement:jt}),(Wt.reactiveElementVersions??=[]).push("2.0.2");
53
53
  /**
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
57
  */
58
- const Ft=globalThis,Zt=Ft.trustedTypes,Tt=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,zt="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+_t,Ht=`<${Bt}>`,Gt=document,Vt=()=>Gt.createComment(""),qt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,Xt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,te=/>/g,ee=RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,re=/"/g,ne=/^(?:script|style|textarea|title)$/i,ie=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ae=Symbol.for("lit-noChange"),se=Symbol.for("lit-nothing"),ce=new WeakMap,le=Gt.createTreeWalker(Gt,129);function fe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Tt?Tt.createHTML(e):e}class he{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let n=0,i=0;const a=t.length-1,s=this.parts,[c,l]=((t,e)=>{const o=t.length-1,r=[];let n,i=2===e?"<svg>":"",a=Jt;for(let e=0;e<o;e++){const o=t[e];let s,c,l=-1,f=0;for(;f<o.length&&(a.lastIndex=f,c=a.exec(o),null!==c);)f=a.lastIndex,a===Jt?"!--"===c[1]?a=Qt:void 0!==c[1]?a=te:void 0!==c[2]?(ne.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=ee):void 0!==c[3]&&(a=ee):a===ee?">"===c[0]?(a=n??Jt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?ee:'"'===c[3]?re:oe):a===re||a===oe?a=ee:a===Qt||a===te?a=Jt:(a=ee,n=void 0);const h=a===ee&&t[e+1].startsWith("/>")?" ":"";i+=a===Jt?o+Ht:l>=0?(r.push(s),o.slice(0,l)+zt+o.slice(l)+_t+h):o+_t+(-2===l?e:h)}return[fe(t,i+(t[o]||"<?>")+(2===e?"</svg>":"")),r]})(t,e);if(this.el=he.createElement(c,o),le.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=le.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(zt)){const e=l[i++],o=r.getAttribute(t).split(_t),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:n,name:a[2],strings:o,ctor:"."===a[1]?ye:"?"===a[1]?ge:"@"===a[1]?be:de}),r.removeAttribute(t)}else t.startsWith(_t)&&(s.push({type:6,index:n}),r.removeAttribute(t));if(ne.test(r.tagName)){const t=r.textContent.split(_t),e=t.length-1;if(e>0){r.textContent=Zt?Zt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Vt()),le.nextNode(),s.push({type:2,index:++n});r.append(t[e],Vt())}}}else if(8===r.nodeType)if(r.data===Bt)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(_t,t+1));)s.push({type:7,index:n}),t+=_t.length-1}n++}}static createElement(t,e){const o=Gt.createElement("template");return o.innerHTML=t,o}}function pe(t,e,o=t,r){if(e===ae)return e;let n=void 0!==r?o._$Co?.[r]:o._$Cl;const i=qt(e)?void 0:e._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=n:o._$Cl=n),void 0!==n&&(e=pe(t,n._$AS(t,e.values),n,r)),e}let ue=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=se,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=pe(this,t,e),qt(t)?t===se||null==t||""===t?(this._$AH!==se&&this._$AR(),this._$AH=se):t!==this._$AH&&t!==ae&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Yt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==se&&qt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=he.createElement(fe(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??Gt).importNode(e,!0);le.currentNode=r;let n=le.nextNode(),i=0,a=0,s=o[0];for(;void 0!==s;){if(i===s.index){let e;2===s.type?e=new ue(n,n.nextSibling,this,t):1===s.type?e=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(e=new me(n,this,t)),this._$AV.push(e),s=o[++a]}i!==s?.index&&(n=le.nextNode(),i++)}return le.currentNode=Gt,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ce.get(t.strings);return void 0===e&&ce.set(t.strings,e=new he(t)),e}T(e){Yt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,n=0;for(const i of e)n===o.length?o.push(r=new t(this.k(Vt()),this.k(Vt()),this,this.options)):r=o[n],r._$AI(i),n++;n<o.length&&(this._$AR(r&&r._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},de=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=se,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=se}_$AI(t,e=this,o,r){const n=this.strings;let i=!1;if(void 0===n)t=pe(this,t,e,0),i=!qt(t)||t!==this._$AH&&t!==ae,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=pe(this,r[o+a],e,a),s===ae&&(s=this._$AH[a]),i||=!qt(s)||s!==this._$AH[a],s===se?t=se:t!==se&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ye=class extends de{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===se?void 0:t}},ge=class extends de{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==se)}},be=class extends de{constructor(t,e,o,r,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=pe(this,t,e,0)??se)===ae)return;const o=this._$AH,r=t===se&&o!==se||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==se&&(o===se||r);r&&this.element.removeEventListener(this.name,this,o),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)}},me=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){pe(this,t)}};const ve=Ft.litHtmlPolyfillSupport;ve?.(he,ue),(Ft.litHtmlVersions??=[]).push("3.1.0");
58
+ const Ft=globalThis,Zt=Ft.trustedTypes,Tt=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,zt="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+_t,Ht=`<${Bt}>`,Gt=document,Vt=()=>Gt.createComment(""),qt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,Xt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,to=/>/g,oo=RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),eo=/'/g,ro=/"/g,no=/^(?:script|style|textarea|title)$/i,io=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ao=Symbol.for("lit-noChange"),so=Symbol.for("lit-nothing"),co=new WeakMap,lo=Gt.createTreeWalker(Gt,129);function fo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Tt?Tt.createHTML(o):o}class ho{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let n=0,i=0;const a=t.length-1,s=this.parts,[c,l]=((t,o)=>{const e=t.length-1,r=[];let n,i=2===o?"<svg>":"",a=Jt;for(let o=0;o<e;o++){const e=t[o];let s,c,l=-1,f=0;for(;f<e.length&&(a.lastIndex=f,c=a.exec(e),null!==c);)f=a.lastIndex,a===Jt?"!--"===c[1]?a=Qt:void 0!==c[1]?a=to:void 0!==c[2]?(no.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=oo):void 0!==c[3]&&(a=oo):a===oo?">"===c[0]?(a=n??Jt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?oo:'"'===c[3]?ro:eo):a===ro||a===eo?a=oo:a===Qt||a===to?a=Jt:(a=oo,n=void 0);const h=a===oo&&t[o+1].startsWith("/>")?" ":"";i+=a===Jt?e+Ht:l>=0?(r.push(s),e.slice(0,l)+zt+e.slice(l)+_t+h):e+_t+(-2===l?o:h)}return[fo(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(t,o);if(this.el=ho.createElement(c,e),lo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=lo.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(zt)){const o=l[i++],e=r.getAttribute(t).split(_t),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:n,name:a[2],strings:e,ctor:"."===a[1]?go:"?"===a[1]?bo:"@"===a[1]?mo:yo}),r.removeAttribute(t)}else t.startsWith(_t)&&(s.push({type:6,index:n}),r.removeAttribute(t));if(no.test(r.tagName)){const t=r.textContent.split(_t),o=t.length-1;if(o>0){r.textContent=Zt?Zt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Vt()),lo.nextNode(),s.push({type:2,index:++n});r.append(t[o],Vt())}}}else if(8===r.nodeType)if(r.data===Bt)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(_t,t+1));)s.push({type:7,index:n}),t+=_t.length-1}n++}}static createElement(t,o){const e=Gt.createElement("template");return e.innerHTML=t,e}}function po(t,o,e=t,r){if(o===ao)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=qt(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=po(t,n._$AS(t,o.values),n,r)),o}let uo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=so,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=po(this,t,o),qt(t)?t===so||null==t||""===t?(this._$AH!==so&&this._$AR(),this._$AH=so):t!==this._$AH&&t!==ao&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Yt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==so&&qt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.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=ho.createElement(fo(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??Gt).importNode(o,!0);lo.currentNode=r;let n=lo.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new uo(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new vo(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=lo.nextNode(),i++)}return lo.currentNode=Gt,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++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=co.get(t.strings);return void 0===o&&co.set(t.strings,o=new ho(t)),o}T(o){Yt(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(Vt()),this.k(Vt()),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))}},yo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=so,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=so}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=po(this,t,o,0),i=!qt(t)||t!==this._$AH&&t!==ao,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=po(this,r[e+a],o,a),s===ao&&(s=this._$AH[a]),i||=!qt(s)||s!==this._$AH[a],s===so?t=so:t!==so&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===so?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},go=class extends yo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===so?void 0:t}},bo=class extends yo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==so)}},mo=class extends yo{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=po(this,t,o,0)??so)===ao)return;const e=this._$AH,r=t===so&&e!==so||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==so&&(e===so||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)}},vo=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){po(this,t)}};const Oo=Ft.litHtmlPolyfillSupport;Oo?.(ho,uo),(Ft.litHtmlVersions??=[]).push("3.1.0");
59
59
  /**
60
60
  * @license
61
61
  * Copyright 2017 Google LLC
62
62
  * SPDX-License-Identifier: BSD-3-Clause
63
63
  */
64
- let Oe=class extends jt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let n=r._$litPart$;if(void 0===n){const t=o?.renderBefore??null;r._$litPart$=n=new ue(e.insertBefore(Vt(),t),t,void 0,o??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const Se=globalThis.litElementPolyfillSupport;Se?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const we=t=>"string"==typeof t?wt(t):t;class Ne{static create(t,e,o,r){const n=t=>we(null!=t?t:r),i=Nt`var(${we(t)}, ${n(r)})`;return i.name=t,i.description=e,i.category=o,i.defaultValue=r,i.defaultCssValue=n,i.get=e=>Nt`var(${we(t)}, ${n(e)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,e,o,r){const n=t=>o.get(null!=t?t:r),i=Nt`var(${we(t)}, ${n(r)})`;return i.name=t,i.description=e,i.category=o.category,i.fallbackVariable=o,i.defaultValue=r,i.defaultCssValue=n,i.get=e=>Nt`var(${we(t)}, ${n(e)})`,i.breadcrumb=()=>[o.name,...o.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),i}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):we(null!=e?e:t.lastResortDefaultValue()),r=Nt`var(${we(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>Nt`var(${we(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const xe={colorWhite:Ne.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ne.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ne.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ne.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ne.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ne.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ne.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ne.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ne.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ne.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ne.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ne.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ne.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ne.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ne.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ne.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ne.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ne.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ne.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ne.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ne.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ne.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ne.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ne.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ne.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ne.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ne.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ne.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ne.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ne.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ne.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ne.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ne.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ne.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ne.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ne.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ne.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ne.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ne.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ne.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ne.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ne.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ne.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ne.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ne.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ne.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ne.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ne.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ne.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ne.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ne.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ne.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ne.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ne.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ne.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ne.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ne.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ne.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ne.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ne.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ne.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ne.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ne.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ne.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ne.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ne.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ne.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ne.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ne.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ne.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ne.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ne.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ne.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ne.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ne.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ne.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ne.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ne.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ne.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ne.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ne.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ne.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ne.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ne.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ne.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ne.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ne.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ne.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ne.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ne.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ne.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ne.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ne.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ne.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ne.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ne.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ne.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ne.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ne.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ne.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ne.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ne.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ne.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ne.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ne.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ne.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ne.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ne.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ne.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ne.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ne.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ne.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ne.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ne.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ne.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ne.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ne.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ne.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ne.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ne.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ne.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ne.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ne.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ne.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ne.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ne.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ne.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ne.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ne.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ne.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ne.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ne.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ne.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ne.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ne.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ne.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ne.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ne.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ne.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ne.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ne.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ne.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ne.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ne.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ne.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ne.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ne.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ne.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ne.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ne.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ne.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ne.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ne.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ne.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ne.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ne.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ne.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ne.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ne.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ne.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ne.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ne.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ne.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ne.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ne.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ne.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ne.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ne.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ne.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ne.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ne.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ne.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ne.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ne.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ne.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ne.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ne.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ne.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ne.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ne.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ne.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ne.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ne.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ne.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ne.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ne.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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)")},Ce={display:{fontFamily:Ne.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ne.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ne.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Ne.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ne.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Ne.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ne.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Ne.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ne.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ne.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ne.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ne.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ne.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ne.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ne.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ne.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ne.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ne.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ne.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ne.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ne.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ne.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ne.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ne.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ne.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ne.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ne.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ne.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ne.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Ne.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Ne.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Ne.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Ne.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Ne.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Ne.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:Ne.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xe.colorBrand0),backgroundErrorPrimary:Ne.extend("--ft-background-error-primary","Used as background of error components.",xe.colorRed0),backgroundErrorSubtle:Ne.extend("--ft-background-error-subtle","Used as background of subtle error components.",xe.colorRed10),backgroundInfoPrimary:Ne.extend("--ft-background-info-primary","Used as background of information components.",xe.colorCyan200),backgroundInfoSubtle:Ne.extend("--ft-background-info-subtle","Used as background of subtle information components.",xe.colorCyan10),backgroundWarningPrimary:Ne.extend("--ft-background-warning-primary","Used as background of warning components.",xe.colorOrange300),backgroundWarningSubtle:Ne.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xe.colorOrange10),backgroundSuccessPrimary:Ne.extend("--ft-background-success-primary","Used as background of success components.",xe.colorGreen200),backgroundSuccessSubtle:Ne.extend("--ft-background-success-subtle","Used as background of subtle success components.",xe.colorGreen10),backgroundGlobalSurface:Ne.extend("--ft-background-global-surface","Used as app background.",xe.colorWhite),backgroundGlobalOnSurface:Ne.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xe.colorGray10),backgroundGlobalOnSurfaceDark:Ne.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xe.colorGray30),contentActionPrimary:Ne.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xe.colorBrand0),contentWarningPrimary:Ne.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xe.colorOrange300),contentWarningIconOnly:Ne.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xe.colorOrange0),contentErrorPrimary:Ne.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xe.colorRed0),contentErrorIconOnly:Ne.extend("--ft-content-error-icon-only","Used on error status icons alone",xe.colorRed0),contentInfoPrimary:Ne.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xe.colorCyan200),contentInfoIconOnly:Ne.extend("--ft-content-info-icon-only","Used on info status icons alone",xe.colorCyan0),contentSuccessPrimary:Ne.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xe.colorGreen200),contentSuccessIconOnly:Ne.extend("--ft-content-success-icon-only","Used on success status icons alone",xe.colorGreen0),contentGlobalPrimary:Ne.extend("--ft-content-global-primary","Used for main content on the page.",xe.colorGray500),contentGlobalSecondary:Ne.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xe.colorGray200),contentGlobalSubtle:Ne.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xe.colorGray0),contentGlobalOnColor:Ne.extend("--ft-content-global-on-color","Used for content on a dominant color.",xe.colorWhite),borderActionPrimary:Ne.extend("--ft-border-action-primary","Used as border for primary action components.",xe.colorBrand0),borderActionFocusRing:Ne.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xe.colorCyan0),borderWarningPrimary:Ne.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",xe.colorOrange300),borderWarningSubtle:Ne.extend("--ft-border-warning-subtle","Used as border for warning components.",xe.colorOrange30),borderSuccessPrimary:Ne.extend("--ft-border-success-primary","Used as border for success buttons.",xe.colorGreen200),borderSuccessSubtle:Ne.extend("--ft-border-success-subtle","Used as border for success components.",xe.colorGreen30),borderErrorPrimary:Ne.extend("--ft-border-error-primary","Used as border for text fields in error states.",xe.colorRed0),borderErrorSubtle:Ne.extend("--ft-border-error-subtle","Used as border for error components.",xe.colorRed30),borderInfoPrimary:Ne.extend("--ft-border-info-primary","Used as border for buttons in info color.",xe.colorCyan200),borderInfoSubtle:Ne.extend("--ft-border-info-subtle","Used as border for information components.",xe.colorCyan30),borderGlobalPrimary:Ne.extend("--ft-border-global-primary","Used as border for element like input.",xe.colorGray50),borderGlobalSubtle:Ne.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xe.colorGray30),borderInputPrimary:Ne.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xe.colorGray80)};Ne.create("--ft-button-large-height","","SIZE","40px"),Ne.extend("--ft-button-large-horizontal-padding","",xe.spacing4),Ne.extend("--ft-button-large-gap","",xe.spacing2),Ne.extend("--ft-button-large-border-radius","",xe.borderRadiusS),Ne.extend("--ft-button-large-icon-size","",xe.iconSize3),Ne.create("--ft-button-large-border-width","","SIZE","1px"),Ne.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Ne.create("--ft-button-large-icon-only-width","","SIZE","40px"),Ne.create("--ft-button-small-height","","SIZE","30px"),Ne.extend("--ft-button-small-horizontal-padding","",xe.spacing3),Ne.extend("--ft-button-small-gap","",xe.spacing2),Ne.extend("--ft-button-small-border-radius","",xe.borderRadiusS),Ne.extend("--ft-button-small-icon-size","",xe.iconSize2),Ne.create("--ft-button-small-border-width","","SIZE","1px"),Ne.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Ne.create("--ft-button-small-icon-only-width","","SIZE","30px"),Ne.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),Ne.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-button-primary-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-button-primary-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-button-primary-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-button-primary-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Ne.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-tertiary-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-button-tertiary-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-button-tertiary-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-button-tertiary-component-opacity-disabled","",xe.opacity40),Ne.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),Ne.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-button-secondary-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-button-secondary-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-button-secondary-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-button-secondary-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),Ne.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Ne.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),Ne.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),Ne.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),Ne.extend("--ft-button-neutral-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-button-neutral-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-button-neutral-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-button-neutral-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-floating-menu-horizontal-padding","",xe.spacing4),Ne.extend("--ft-floating-menu-vertical-padding","",xe.spacing4),Ne.extend("--ft-floating-menu-off-icon-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-floating-menu-off-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-floating-menu-on-color","",Ee.contentActionPrimary),Ne.extend("--ft-floating-menu-on-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-floating-menu-on-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-floating-menu-gap","",xe.spacing3),Ne.extend("--ft-floating-menu-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Ne.extend("--ft-floating-menu-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-floating-menu-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-floating-menu-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-floating-menu-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-floating-menu-icon-size","",xe.iconSize3),Ne.extend("--ft-floating-menu-background-color","",Ee.backgroundGlobalOnSurface),Ne.extend("--ft-tabs-top-left-border-radius","",xe.borderRadiusS),Ne.extend("--ft-tabs-top-right-border-radius","",xe.borderRadiusS),Ne.extend("--ft-tabs-label-horizontal-padding","",xe.spacing4),Ne.extend("--ft-tabs-label-vertical-padding","",xe.spacing3),Ne.extend("--ft-tabs-label-gap","",xe.spacing1),Ne.extend("--ft-tabs-icon-horizontal-padding","",xe.spacing1),Ne.extend("--ft-tabs-icon-vertical-padding","",xe.spacing4),Ne.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-tabs-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.extend("--ft-tabs-off-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-tabs-off-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-tabs-off-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-tabs-off-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-tabs-off-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-tabs-off-state-layer-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-tabs-on-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-tabs-on-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-tabs-on-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-tabs-on-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-tabs-on-color","",Ee.contentActionPrimary),Ne.extend("--ft-tabs-on-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-collapsible-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-collapsible-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-collapsible-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-collapsible-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-collapsible-horizontal-padding","",xe.spacing4),Ne.extend("--ft-collapsible-vertical-padding","",xe.spacing3),Ne.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Ne.extend("--ft-collapsible-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.extend("--ft-collapsible-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-collapsible-state-layer-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-collapsible-background-color","",Ee.backgroundGlobalOnSurface),Ne.extend("--ft-collapsible-border-color","",Ee.borderGlobalSubtle),Ne.extend("--ft-collapsible-icon-size","",xe.iconSize3),Ne.extend("--ft-switch-group-horizontal-padding","",xe.spacing1),Ne.extend("--ft-switch-group-vertical-padding","",xe.spacing1),Ne.extend("--ft-switch-group-gap","",xe.spacing1),Ne.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),Ne.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),Ne.create("--ft-switch-group-border-radius","","SIZE","6px"),Ne.extend("--ft-switch-label-horizontal-padding","",xe.spacing2),Ne.extend("--ft-switch-label-vertical-padding","",xe.spacing1),Ne.extend("--ft-switch-icon-horizontal-padding","",xe.spacing1),Ne.extend("--ft-switch-icon-vertical-padding","",xe.spacing1),Ne.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.extend("--ft-switch-option-border-radius","",xe.borderRadiusS),Ne.extend("--ft-switch-off-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-switch-off-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-switch-on-state-layer-opacity-hover","",xe.opacity8),Ne.extend("--ft-switch-on-state-layer-opacity-focus","",xe.opacity8),Ne.extend("--ft-switch-on-state-layer-opacity-active","",xe.opacity16),Ne.extend("--ft-switch-on-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-switch-on-color","",Ee.contentActionPrimary),Ne.extend("--ft-switch-on-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-chart-1-light","for area color charts",xe.colorBrand40),Ne.extend("--ft-chart-1-base","for line charts",xe.colorBrand0),Ne.extend("--ft-chart-2-light","for area color charts",xe.colorYellow60),Ne.extend("--ft-chart-2-base","for line charts",xe.colorYellow100),Ne.extend("--ft-chart-3-light","",xe.colorUltramarine40),Ne.extend("--ft-chart-3-base","",xe.colorUltramarine70),Ne.extend("--ft-chart-4-light","",xe.colorCyan50),Ne.extend("--ft-chart-4-base","",xe.colorCyan100),Ne.extend("--ft-chart-5-light","",xe.colorRed40),Ne.extend("--ft-chart-5-base","",xe.colorRed60),Ne.extend("--ft-chart-6-light","",xe.colorGreen40),Ne.extend("--ft-chart-6-base","",xe.colorGreen70),Ne.extend("--ft-chart-7-light","",xe.colorOrange70),Ne.extend("--ft-chart-7-base","",xe.colorOrange100),Ne.extend("--ft-chart-8-light","",xe.colorAvocado70),Ne.extend("--ft-chart-8-base","",xe.colorAvocado200),Ne.extend("--ft-chart-9-light","",xe.colorBrown50),Ne.extend("--ft-chart-9-base","",xe.colorBrown200),Ne.extend("--ft-chart-10-light","",xe.colorGray50),Ne.extend("--ft-chart-10-base","",xe.colorGray80),Ne.extend("--ft-chart-monochrome-10","",xe.colorBrand10),Ne.extend("--ft-chart-monochrome-20","",xe.colorBrand20),Ne.extend("--ft-chart-monochrome-30","",xe.colorBrand40),Ne.extend("--ft-chart-monochrome-40","",xe.colorBrand60),Ne.extend("--ft-chart-monochrome-50","",xe.colorBrand0),Ne.extend("--ft-chart-monochrome-60","",xe.colorBrand200),Ne.extend("--ft-chip-large-horizontal-padding","",xe.spacing4),Ne.extend("--ft-chip-large-vertical-padding","",xe.spacing2),Ne.extend("--ft-chip-large-gap","",xe.spacing1),Ne.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-large-border-radius","",xe.borderRadiusPill),Ne.create("--ft-chip-large-border-width","","SIZE","1px"),Ne.extend("--ft-chip-large-icon-size","",xe.iconSize3),Ne.extend("--ft-chip-medium-horizontal-padding","",xe.spacing3),Ne.extend("--ft-chip-medium-vertical-padding","",xe.spacing1),Ne.extend("--ft-chip-medium-gap","",xe.spacing1),Ne.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-medium-border-radius","",xe.borderRadiusPill),Ne.create("--ft-chip-medium-border-width","","SIZE","1px"),Ne.extend("--ft-chip-medium-icon-size","",xe.iconSize2),Ne.extend("--ft-chip-small-horizontal-padding","",xe.spacing2),Ne.extend("--ft-chip-small-vertical-padding","",xe.spacing05),Ne.extend("--ft-chip-small-gap","",xe.spacing1),Ne.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-small-border-radius","",xe.borderRadiusPill),Ne.create("--ft-chip-small-border-width","","SIZE","1px"),Ne.extend("--ft-chip-small-icon-size","",xe.iconSize1),Ne.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),Ne.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),Ne.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-chip-info-border-color","",Ee.borderInfoSubtle),Ne.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),Ne.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),Ne.extend("--ft-chip-success-border-color","",Ee.borderSuccessSubtle),Ne.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-chip-warning-border-color","",Ee.borderWarningSubtle),Ne.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),Ne.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),Ne.extend("--ft-chip-error-border-color","",Ee.borderErrorSubtle),Ne.create("--ft-notice-border-width","","SIZE","1px"),Ne.extend("--ft-notice-horizontal-padding","",xe.spacing2),Ne.extend("--ft-notice-vertical-padding","",xe.spacing1),Ne.extend("--ft-notice-border-radius","",xe.borderRadiusS),Ne.extend("--ft-notice-gap","",xe.spacing2),Ne.extend("--ft-notice-icon-size","",xe.iconSize3),Ne.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-notice-info-border-color","",Ee.borderInfoSubtle),Ne.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-notice-warning-border-color","",Ee.borderWarningSubtle),Ne.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),Ne.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-checkbox-checked-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-checkbox-checked-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-checkbox-unchecked-border-color","",xe.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-color","",xe.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-checkbox-unchecked-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-checkbox-gap","",xe.spacing3),Ne.extend("--ft-toggle-off-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-toggle-off-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-on-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-toggle-on-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.extend("--ft-toggle-gap","",xe.spacing3),Ne.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-radio-selected-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-radio-unselected-state-layer-color","",xe.colorGray80),Ne.extend("--ft-radio-unselected-state-layer-opacity-hover","",xe.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-focus","",xe.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-active","",xe.opacity24),Ne.extend("--ft-radio-unselected-component-opacity-disabled","",xe.opacity40),Ne.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-radio-gap","",xe.spacing3),Ne.extend("--ft-notification-icon-size","",xe.iconSize4),Ne.extend("--ft-notification-horizontal-padding","",xe.spacing4),Ne.extend("--ft-notification-vertical-padding","",xe.spacing4),Ne.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-notification-info-border-color","",Ee.borderInfoSubtle),Ne.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),Ne.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),Ne.extend("--ft-notification-success-border-color","",Ee.borderSuccessSubtle),Ne.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-notification-warning-border-color","",Ee.borderWarningSubtle),Ne.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),Ne.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),Ne.extend("--ft-notification-error-border-color","",Ee.borderErrorSubtle),Ne.extend("--ft-notification-border-radius","",xe.borderRadiusPill),Ne.create("--ft-notification-border-width","","SIZE","1px"),Ne.extend("--ft-notification-gap-leading","",xe.spacing2),Ne.extend("--ft-notification-gap-trailing","",xe.spacing8),Ne.extend("--ft-tooltip-horizontal-padding","",xe.spacing2),Ne.extend("--ft-tooltip-vertical-padding","",xe.spacing2),Ne.extend("--ft-tooltip-border-radius","",xe.borderRadiusS),Ne.extend("--ft-tooltip-label","",Ee.contentGlobalOnColor),Ne.extend("--ft-tooltip-background","",Ee.contentGlobalPrimary),Ne.extend("--ft-tooltip-background-opacity","",xe.opacity80),Ne.extend("--ft-tooltip-shadow","",xe.shadowElevation03);const Re={colorPrimary:Ne.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ne.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ne.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ne.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ne.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ne.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ne.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ne.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ne.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ne.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ne.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ne.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ne.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ne.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ne.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ne.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ne.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ne.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ne.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ne.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ne.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ne.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ne.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ne.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ne.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ne.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ne.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ne.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ne.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ne.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ne.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ne.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ne.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ne.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ne.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ne.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ne.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ne.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ne.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ne.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ne.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ne.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ne.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ne.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.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:Ne.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ne.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ne.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ne.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ne.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ne.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ne.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ne.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,Ie=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
64
+ let So=class extends jt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let n=r._$litPart$;if(void 0===n){const t=e?.renderBefore??null;r._$litPart$=n=new uo(o.insertBefore(Vt(),t),t,void 0,e??{})}return n._$AI(t),n})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ao}};So._$litElement$=!0,So.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:So});const wo=globalThis.litElementPolyfillSupport;wo?.({LitElement:So}),(globalThis.litElementVersions??=[]).push("4.0.2");const No=t=>"string"==typeof t?wt(t):t;class xo{static create(t,o,e,r){const n=t=>No(null!=t?t:r),i=Nt`var(${No(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>Nt`var(${No(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=Nt`var(${No(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=>Nt`var(${No(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):No(null!=o?o:t.lastResortDefaultValue()),r=Nt`var(${No(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=>Nt`var(${No(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Co={colorWhite:xo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xo.create("--ft-opacity-0","","NUMBER","0"),opacity8:xo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:xo.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:xo.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:xo.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:xo.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:xo.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:xo.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:xo.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:xo.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:xo.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Eo={display:{fontFamily:xo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:xo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:xo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:xo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:xo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:xo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:xo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:xo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:xo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:xo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:xo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:xo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:xo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:xo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Ro={backgroundActionPrimary:xo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Co.colorBrand0),backgroundErrorPrimary:xo.extend("--ft-background-error-primary","Used as background of error components.",Co.colorRed0),backgroundErrorSubtle:xo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Co.colorRed10),backgroundInfoPrimary:xo.extend("--ft-background-info-primary","Used as background of information components.",Co.colorCyan200),backgroundInfoSubtle:xo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Co.colorCyan10),backgroundWarningPrimary:xo.extend("--ft-background-warning-primary","Used as background of warning components.",Co.colorOrange300),backgroundWarningSubtle:xo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Co.colorOrange10),backgroundSuccessPrimary:xo.extend("--ft-background-success-primary","Used as background of success components.",Co.colorGreen200),backgroundSuccessSubtle:xo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Co.colorGreen10),backgroundGlobalSurface:xo.extend("--ft-background-global-surface","Used as app background.",Co.colorWhite),backgroundGlobalOnSurface:xo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Co.colorGray10),backgroundGlobalOnSurfaceDark:xo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Co.colorGray30),contentActionPrimary:xo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Co.colorBrand0),contentWarningPrimary:xo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Co.colorOrange300),contentWarningIconOnly:xo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Co.colorOrange0),contentErrorPrimary:xo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Co.colorRed0),contentErrorIconOnly:xo.extend("--ft-content-error-icon-only","Used on error status icons alone",Co.colorRed0),contentInfoPrimary:xo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Co.colorCyan200),contentInfoIconOnly:xo.extend("--ft-content-info-icon-only","Used on info status icons alone",Co.colorCyan0),contentSuccessPrimary:xo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Co.colorGreen200),contentSuccessIconOnly:xo.extend("--ft-content-success-icon-only","Used on success status icons alone",Co.colorGreen0),contentGlobalPrimary:xo.extend("--ft-content-global-primary","Used for main content on the page.",Co.colorGray500),contentGlobalSecondary:xo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Co.colorGray200),contentGlobalSubtle:xo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Co.colorGray0),contentGlobalOnColor:xo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Co.colorWhite),borderActionPrimary:xo.extend("--ft-border-action-primary","Used as border for primary action components.",Co.colorBrand0),borderActionFocusRing:xo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Co.colorCyan0),borderWarningPrimary:xo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Co.colorOrange300),borderWarningSubtle:xo.extend("--ft-border-warning-subtle","Used as border for warning components.",Co.colorOrange30),borderSuccessPrimary:xo.extend("--ft-border-success-primary","Used as border for success buttons.",Co.colorGreen200),borderSuccessSubtle:xo.extend("--ft-border-success-subtle","Used as border for success components.",Co.colorGreen30),borderErrorPrimary:xo.extend("--ft-border-error-primary","Used as border for text fields in error states.",Co.colorRed0),borderErrorSubtle:xo.extend("--ft-border-error-subtle","Used as border for error components.",Co.colorRed30),borderInfoPrimary:xo.extend("--ft-border-info-primary","Used as border for buttons in info color.",Co.colorCyan200),borderInfoSubtle:xo.extend("--ft-border-info-subtle","Used as border for information components.",Co.colorCyan30),borderGlobalPrimary:xo.extend("--ft-border-global-primary","Used as border for element like input.",Co.colorGray50),borderGlobalSubtle:xo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Co.colorGray30),borderInputPrimary:xo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Co.colorGray80)};xo.create("--ft-button-large-height","","SIZE","40px"),xo.extend("--ft-button-large-horizontal-padding","",Co.spacing4),xo.extend("--ft-button-large-gap","",Co.spacing2),xo.extend("--ft-button-large-border-radius","",Co.borderRadiusS),xo.extend("--ft-button-large-icon-size","",Co.iconSize3),xo.create("--ft-button-large-border-width","","SIZE","1px"),xo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),xo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),xo.create("--ft-button-large-icon-only-width","","SIZE","40px"),xo.create("--ft-button-small-height","","SIZE","30px"),xo.extend("--ft-button-small-horizontal-padding","",Co.spacing3),xo.extend("--ft-button-small-gap","",Co.spacing2),xo.extend("--ft-button-small-border-radius","",Co.borderRadiusS),xo.extend("--ft-button-small-icon-size","",Co.iconSize2),xo.create("--ft-button-small-border-width","","SIZE","1px"),xo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),xo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),xo.create("--ft-button-small-icon-only-width","","SIZE","30px"),xo.extend("--ft-button-primary-background-color","",Ro.backgroundActionPrimary),xo.extend("--ft-button-primary-color","",Ro.contentGlobalOnColor),xo.extend("--ft-button-primary-icon-color","",Ro.contentGlobalOnColor),xo.extend("--ft-button-primary-state-layer-color","",Ro.contentGlobalOnColor),xo.extend("--ft-button-primary-state-layer-opacity-hover","",Co.opacity16),xo.extend("--ft-button-primary-state-layer-opacity-focus","",Co.opacity16),xo.extend("--ft-button-primary-state-layer-opacity-active","",Co.opacity24),xo.extend("--ft-button-primary-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-button-focus-focus-ring-color","",Ro.borderActionFocusRing),xo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),xo.extend("--ft-button-tertiary-color","",Ro.contentActionPrimary),xo.extend("--ft-button-tertiary-icon-color","",Ro.contentActionPrimary),xo.extend("--ft-button-tertiary-state-layer-color","",Ro.contentActionPrimary),xo.extend("--ft-button-tertiary-state-layer-opacity-hover","",Co.opacity8),xo.extend("--ft-button-tertiary-state-layer-opacity-focus","",Co.opacity8),xo.extend("--ft-button-tertiary-state-layer-opacity-active","",Co.opacity16),xo.extend("--ft-button-tertiary-component-opacity-disabled","",Co.opacity40),xo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),xo.extend("--ft-button-secondary-color","",Ro.contentActionPrimary),xo.extend("--ft-button-secondary-icon-color","",Ro.contentActionPrimary),xo.extend("--ft-button-secondary-state-layer-color","",Ro.contentActionPrimary),xo.extend("--ft-button-secondary-state-layer-opacity-hover","",Co.opacity8),xo.extend("--ft-button-secondary-state-layer-opacity-focus","",Co.opacity8),xo.extend("--ft-button-secondary-state-layer-opacity-active","",Co.opacity16),xo.extend("--ft-button-secondary-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-button-secondary-border-color","",Ro.borderActionPrimary),xo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),xo.extend("--ft-button-neutral-icon-color","",Ro.contentGlobalSecondary),xo.extend("--ft-button-neutral-color","",Ro.contentGlobalSecondary),xo.extend("--ft-button-neutral-state-layer-color","",Ro.contentGlobalSecondary),xo.extend("--ft-button-neutral-state-layer-opacity-hover","",Co.opacity8),xo.extend("--ft-button-neutral-state-layer-opacity-focus","",Co.opacity8),xo.extend("--ft-button-neutral-state-layer-opacity-active","",Co.opacity16),xo.extend("--ft-button-neutral-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-floating-menu-horizontal-padding","",Co.spacing4),xo.extend("--ft-floating-menu-vertical-padding","",Co.spacing4),xo.extend("--ft-floating-menu-off-icon-color","",Ro.contentGlobalPrimary),xo.extend("--ft-floating-menu-off-color","",Ro.contentGlobalPrimary),xo.extend("--ft-floating-menu-on-color","",Ro.contentActionPrimary),xo.extend("--ft-floating-menu-on-icon-color","",Ro.contentActionPrimary),xo.extend("--ft-floating-menu-on-state-layer-color","",Ro.contentActionPrimary),xo.extend("--ft-floating-menu-gap","",Co.spacing3),xo.extend("--ft-floating-menu-focus-focus-ring-color","",Ro.borderActionFocusRing),xo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),xo.extend("--ft-floating-menu-state-layer-opacity-hover","",Co.opacity8),xo.extend("--ft-floating-menu-state-layer-opacity-active","",Co.opacity16),xo.extend("--ft-floating-menu-state-layer-opacity-focus","",Co.opacity8),xo.extend("--ft-floating-menu-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-floating-menu-icon-size","",Co.iconSize3),xo.extend("--ft-floating-menu-background-color","",Ro.backgroundGlobalOnSurface),xo.extend("--ft-tabs-top-left-border-radius","",Co.borderRadiusS),xo.extend("--ft-tabs-top-right-border-radius","",Co.borderRadiusS),xo.extend("--ft-tabs-label-horizontal-padding","",Co.spacing4),xo.extend("--ft-tabs-label-vertical-padding","",Co.spacing3),xo.extend("--ft-tabs-label-gap","",Co.spacing1),xo.extend("--ft-tabs-icon-horizontal-padding","",Co.spacing1),xo.extend("--ft-tabs-icon-vertical-padding","",Co.spacing4),xo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),xo.extend("--ft-tabs-focus-focus-ring-color","",Ro.borderActionFocusRing),xo.extend("--ft-tabs-off-state-layer-opacity-hover","",Co.opacity8),xo.extend("--ft-tabs-off-state-layer-opacity-focus","",Co.opacity8),xo.extend("--ft-tabs-off-state-layer-opacity-active","",Co.opacity16),xo.extend("--ft-tabs-off-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-tabs-off-color","",Ro.contentGlobalSubtle),xo.extend("--ft-tabs-off-state-layer-color","",Ro.contentGlobalSubtle),xo.extend("--ft-tabs-on-state-layer-opacity-hover","",Co.opacity8),xo.extend("--ft-tabs-on-state-layer-opacity-focus","",Co.opacity8),xo.extend("--ft-tabs-on-state-layer-opacity-active","",Co.opacity16),xo.extend("--ft-tabs-on-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-tabs-on-color","",Ro.contentActionPrimary),xo.extend("--ft-tabs-on-state-layer-color","",Ro.contentActionPrimary),xo.extend("--ft-collapsible-state-layer-opacity-hover","",Co.opacity8),xo.extend("--ft-collapsible-state-layer-opacity-focus","",Co.opacity8),xo.extend("--ft-collapsible-state-layer-opacity-active","",Co.opacity16),xo.extend("--ft-collapsible-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-collapsible-horizontal-padding","",Co.spacing4),xo.extend("--ft-collapsible-vertical-padding","",Co.spacing3),xo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),xo.extend("--ft-collapsible-focus-focus-ring-color","",Ro.borderActionFocusRing),xo.extend("--ft-collapsible-color","",Ro.contentGlobalPrimary),xo.extend("--ft-collapsible-state-layer-color","",Ro.contentGlobalPrimary),xo.extend("--ft-collapsible-background-color","",Ro.backgroundGlobalOnSurface),xo.extend("--ft-collapsible-border-color","",Ro.borderGlobalSubtle),xo.extend("--ft-collapsible-icon-size","",Co.iconSize3),xo.extend("--ft-switch-group-horizontal-padding","",Co.spacing1),xo.extend("--ft-switch-group-vertical-padding","",Co.spacing1),xo.extend("--ft-switch-group-gap","",Co.spacing1),xo.extend("--ft-switch-group-background-color","",Ro.backgroundGlobalSurface),xo.extend("--ft-switch-group-border-color","",Ro.borderGlobalSubtle),xo.create("--ft-switch-group-border-radius","","SIZE","6px"),xo.extend("--ft-switch-label-horizontal-padding","",Co.spacing2),xo.extend("--ft-switch-label-vertical-padding","",Co.spacing1),xo.extend("--ft-switch-icon-horizontal-padding","",Co.spacing1),xo.extend("--ft-switch-icon-vertical-padding","",Co.spacing1),xo.create("--ft-switch-focus-outline-width","","SIZE","2px"),xo.extend("--ft-switch-focus-focus-ring-color","",Ro.borderActionFocusRing),xo.extend("--ft-switch-option-border-radius","",Co.borderRadiusS),xo.extend("--ft-switch-off-state-layer-opacity-hover","",Co.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-focus","",Co.opacity8),xo.extend("--ft-switch-off-state-layer-opacity-active","",Co.opacity16),xo.extend("--ft-switch-off-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-switch-off-color","",Ro.contentGlobalSubtle),xo.extend("--ft-switch-off-state-layer-color","",Ro.contentGlobalSubtle),xo.extend("--ft-switch-on-state-layer-opacity-hover","",Co.opacity8),xo.extend("--ft-switch-on-state-layer-opacity-focus","",Co.opacity8),xo.extend("--ft-switch-on-state-layer-opacity-active","",Co.opacity16),xo.extend("--ft-switch-on-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-switch-on-color","",Ro.contentActionPrimary),xo.extend("--ft-switch-on-state-layer-color","",Ro.contentActionPrimary),xo.extend("--ft-chart-1-light","for area color charts",Co.colorBrand40),xo.extend("--ft-chart-1-base","for line charts",Co.colorBrand0),xo.extend("--ft-chart-2-light","for area color charts",Co.colorYellow60),xo.extend("--ft-chart-2-base","for line charts",Co.colorYellow100),xo.extend("--ft-chart-3-light","",Co.colorUltramarine40),xo.extend("--ft-chart-3-base","",Co.colorUltramarine70),xo.extend("--ft-chart-4-light","",Co.colorCyan50),xo.extend("--ft-chart-4-base","",Co.colorCyan100),xo.extend("--ft-chart-5-light","",Co.colorRed40),xo.extend("--ft-chart-5-base","",Co.colorRed60),xo.extend("--ft-chart-6-light","",Co.colorGreen40),xo.extend("--ft-chart-6-base","",Co.colorGreen70),xo.extend("--ft-chart-7-light","",Co.colorOrange70),xo.extend("--ft-chart-7-base","",Co.colorOrange100),xo.extend("--ft-chart-8-light","",Co.colorAvocado70),xo.extend("--ft-chart-8-base","",Co.colorAvocado200),xo.extend("--ft-chart-9-light","",Co.colorBrown50),xo.extend("--ft-chart-9-base","",Co.colorBrown200),xo.extend("--ft-chart-10-light","",Co.colorGray50),xo.extend("--ft-chart-10-base","",Co.colorGray80),xo.extend("--ft-chart-monochrome-10","",Co.colorBrand10),xo.extend("--ft-chart-monochrome-20","",Co.colorBrand20),xo.extend("--ft-chart-monochrome-30","",Co.colorBrand40),xo.extend("--ft-chart-monochrome-40","",Co.colorBrand60),xo.extend("--ft-chart-monochrome-50","",Co.colorBrand0),xo.extend("--ft-chart-monochrome-60","",Co.colorBrand200),xo.extend("--ft-chip-large-horizontal-padding","",Co.spacing4),xo.extend("--ft-chip-large-vertical-padding","",Co.spacing2),xo.extend("--ft-chip-large-gap","",Co.spacing1),xo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-large-border-radius","",Co.borderRadiusPill),xo.create("--ft-chip-large-border-width","","SIZE","1px"),xo.extend("--ft-chip-large-icon-size","",Co.iconSize3),xo.extend("--ft-chip-medium-horizontal-padding","",Co.spacing3),xo.extend("--ft-chip-medium-vertical-padding","",Co.spacing1),xo.extend("--ft-chip-medium-gap","",Co.spacing1),xo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-medium-border-radius","",Co.borderRadiusPill),xo.create("--ft-chip-medium-border-width","","SIZE","1px"),xo.extend("--ft-chip-medium-icon-size","",Co.iconSize2),xo.extend("--ft-chip-small-horizontal-padding","",Co.spacing2),xo.extend("--ft-chip-small-vertical-padding","",Co.spacing05),xo.extend("--ft-chip-small-gap","",Co.spacing1),xo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xo.extend("--ft-chip-small-border-radius","",Co.borderRadiusPill),xo.create("--ft-chip-small-border-width","","SIZE","1px"),xo.extend("--ft-chip-small-icon-size","",Co.iconSize1),xo.extend("--ft-chip-neutral-background-color","",Ro.backgroundGlobalOnSurface),xo.extend("--ft-chip-neutral-color","",Ro.contentGlobalPrimary),xo.extend("--ft-chip-neutral-border-color","",Ro.borderGlobalSubtle),xo.extend("--ft-chip-info-background-color","",Ro.backgroundInfoSubtle),xo.extend("--ft-chip-info-color","",Ro.contentInfoPrimary),xo.extend("--ft-chip-info-border-color","",Ro.borderInfoSubtle),xo.extend("--ft-chip-success-background-color","",Ro.backgroundSuccessSubtle),xo.extend("--ft-chip-success-color","",Ro.contentSuccessPrimary),xo.extend("--ft-chip-success-border-color","",Ro.borderSuccessSubtle),xo.extend("--ft-chip-warning-background-color","",Ro.backgroundWarningSubtle),xo.extend("--ft-chip-warning-color","",Ro.contentWarningPrimary),xo.extend("--ft-chip-warning-border-color","",Ro.borderWarningSubtle),xo.extend("--ft-chip-error-background-color","",Ro.backgroundErrorSubtle),xo.extend("--ft-chip-error-color","",Ro.contentErrorPrimary),xo.extend("--ft-chip-error-border-color","",Ro.borderErrorSubtle),xo.create("--ft-notice-border-width","","SIZE","1px"),xo.extend("--ft-notice-horizontal-padding","",Co.spacing2),xo.extend("--ft-notice-vertical-padding","",Co.spacing1),xo.extend("--ft-notice-border-radius","",Co.borderRadiusS),xo.extend("--ft-notice-gap","",Co.spacing2),xo.extend("--ft-notice-icon-size","",Co.iconSize3),xo.extend("--ft-notice-info-background-color","",Ro.backgroundInfoSubtle),xo.extend("--ft-notice-info-border-color","",Ro.borderInfoSubtle),xo.extend("--ft-notice-info-color","",Ro.contentInfoPrimary),xo.extend("--ft-notice-warning-background-color","",Ro.backgroundWarningSubtle),xo.extend("--ft-notice-warning-border-color","",Ro.borderWarningSubtle),xo.extend("--ft-notice-warning-color","",Ro.contentWarningPrimary),xo.extend("--ft-checkbox-label-color","",Ro.contentGlobalPrimary),xo.extend("--ft-checkbox-checked-background-color","",Ro.contentActionPrimary),xo.extend("--ft-checkbox-checked-state-layer-color","",Ro.contentActionPrimary),xo.extend("--ft-checkbox-checked-color","",Ro.contentGlobalOnColor),xo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Co.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Co.opacity16),xo.extend("--ft-checkbox-checked-state-layer-opacity-active","",Co.opacity24),xo.extend("--ft-checkbox-checked-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-checkbox-unchecked-border-color","",Co.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-color","",Co.colorGray80),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Co.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Co.opacity16),xo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Co.opacity24),xo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-checkbox-focus-focus-ring-color","",Ro.borderActionFocusRing),xo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xo.extend("--ft-checkbox-gap","",Co.spacing3),xo.extend("--ft-toggle-off-state-layer-opacity-hover","",Co.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-focus","",Co.opacity16),xo.extend("--ft-toggle-off-state-layer-opacity-active","",Co.opacity24),xo.extend("--ft-toggle-off-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-toggle-off-background-color","",Ro.contentGlobalSubtle),xo.extend("--ft-toggle-off-icon-color","",Ro.contentGlobalSubtle),xo.extend("--ft-toggle-off-state-layer-color","",Ro.contentGlobalSubtle),xo.extend("--ft-toggle-on-state-layer-opacity-hover","",Co.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-focus","",Co.opacity16),xo.extend("--ft-toggle-on-state-layer-opacity-active","",Co.opacity24),xo.extend("--ft-toggle-on-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-toggle-on-background-color","",Ro.contentActionPrimary),xo.extend("--ft-toggle-on-icon-color","",Ro.contentActionPrimary),xo.extend("--ft-toggle-on-state-layer-color","",Ro.contentActionPrimary),xo.extend("--ft-toggle-label-color","",Ro.contentGlobalPrimary),xo.extend("--ft-toggle-focus-focus-ring-color","",Ro.borderActionFocusRing),xo.extend("--ft-toggle-gap","",Co.spacing3),xo.extend("--ft-radio-label-color","",Ro.contentGlobalPrimary),xo.extend("--ft-radio-selected-color","",Ro.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-color","",Ro.contentActionPrimary),xo.extend("--ft-radio-selected-state-layer-opacity-hover","",Co.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-focus","",Co.opacity16),xo.extend("--ft-radio-selected-state-layer-opacity-active","",Co.opacity24),xo.extend("--ft-radio-selected-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-radio-unselected-state-layer-color","",Co.colorGray80),xo.extend("--ft-radio-unselected-state-layer-opacity-hover","",Co.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-focus","",Co.opacity16),xo.extend("--ft-radio-unselected-state-layer-opacity-active","",Co.opacity24),xo.extend("--ft-radio-unselected-component-opacity-disabled","",Co.opacity40),xo.extend("--ft-radio-focus-focus-ring-color","",Ro.borderActionFocusRing),xo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xo.create("--ft-radio-focus-outline-width","","SIZE","2px"),xo.extend("--ft-radio-gap","",Co.spacing3),xo.extend("--ft-notification-icon-size","",Co.iconSize4),xo.extend("--ft-notification-horizontal-padding","",Co.spacing4),xo.extend("--ft-notification-vertical-padding","",Co.spacing4),xo.extend("--ft-notification-info-background-color","",Ro.backgroundInfoSubtle),xo.extend("--ft-notification-info-color","",Ro.contentInfoPrimary),xo.extend("--ft-notification-info-border-color","",Ro.borderInfoSubtle),xo.extend("--ft-notification-success-background-color","",Ro.backgroundSuccessSubtle),xo.extend("--ft-notification-success-color","",Ro.contentSuccessPrimary),xo.extend("--ft-notification-success-border-color","",Ro.borderSuccessSubtle),xo.extend("--ft-notification-warning-background-color","",Ro.backgroundWarningSubtle),xo.extend("--ft-notification-warning-color","",Ro.contentWarningPrimary),xo.extend("--ft-notification-warning-border-color","",Ro.borderWarningSubtle),xo.extend("--ft-notification-error-background-color","",Ro.backgroundErrorSubtle),xo.extend("--ft-notification-error-color","",Ro.contentErrorPrimary),xo.extend("--ft-notification-error-border-color","",Ro.borderErrorSubtle),xo.extend("--ft-notification-border-radius","",Co.borderRadiusPill),xo.create("--ft-notification-border-width","","SIZE","1px"),xo.extend("--ft-notification-gap-leading","",Co.spacing2),xo.extend("--ft-notification-gap-trailing","",Co.spacing8),xo.extend("--ft-tooltip-horizontal-padding","",Co.spacing2),xo.extend("--ft-tooltip-vertical-padding","",Co.spacing2),xo.extend("--ft-tooltip-border-radius","",Co.borderRadiusS),xo.extend("--ft-tooltip-label","",Ro.contentGlobalOnColor),xo.extend("--ft-tooltip-background","",Ro.contentGlobalPrimary),xo.extend("--ft-tooltip-background-opacity","",Co.opacity80),xo.extend("--ft-tooltip-shadow","",Co.shadowElevation03);const Uo={colorPrimary:xo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:xo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:xo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:xo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:xo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:xo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:xo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:xo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:xo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:xo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:xo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Io=window,Lo=Io.ShadowRoot&&(void 0===Io.ShadyCSS||Io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
65
65
  /**
66
66
  * @license
67
67
  * Copyright 2019 Google LLC
68
68
  * SPDX-License-Identifier: BSD-3-Clause
69
- */class Le extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ie?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ue.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var We,Ae=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};const ke=Symbol("constructorPrototype"),$e=Symbol("constructorName"),Ke=Symbol("exportpartsDebouncer");class Pe extends Le{constructor(){super(),this[We]=new n(5),this[$e]=this.constructor.name,this[ke]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$e]&&Object.setPrototypeOf(this,this[ke])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ke].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],o=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}We=Ke,Ae([U()],Pe.prototype,"exportpartsPrefix",void 0),Ae([A([])],Pe.prototype,"exportpartsPrefixes",void 0),Ae([U()],Pe.prototype,"customStylesheet",void 0);const De=Ne.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
69
+ */class Wo extends So{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Lo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Io.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ao,ko=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const $o=Symbol("constructorPrototype"),Ko=Symbol("constructorName"),Po=Symbol("exportpartsDebouncer");class Do extends Wo{constructor(){super(),this[Ao]=new n(5),this[Ko]=this.constructor.name,this[$o]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ko]&&Object.setPrototypeOf(this,this[$o])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Po].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,n,i,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(n=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==n?n:[],e=null!==(a=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ao=Po,ko([U()],Do.prototype,"exportpartsPrefix",void 0),ko([A([])],Do.prototype,"exportpartsPrefixes",void 0),ko([U()],Do.prototype,"customStylesheet",void 0);const Mo=xo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
70
70
  .highlight-html-match {
71
- background: ${De};
71
+ background: ${Mo};
72
72
  }
73
73
  `,Nt`
74
74
  .ft-no-text-select {
@@ -102,18 +102,18 @@ let Oe=class extends jt{constructor(){super(...arguments),this.renderOptions={ho
102
102
  display: inline-block;
103
103
  width: 0;
104
104
  }
105
- `;class Me{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let n=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>n=n.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),n}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const je=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const n={hasChanged:(t,e)=>!L(t,e),attribute:!1,...e};U(n)(t,o);const i=t.constructor;i.reduxProperties=new Map(i.reduxProperties),i.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class Fe{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Ze(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Te,ze,_e;const Be=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),Ge=Symbol("internalStores");class Ve extends Pe{constructor(){super(...arguments),this[Te]=new Map,this[ze]=new Map,this[_e]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ge].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ge].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ge].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Ze(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ge].delete(e)}setupStore(t,e){this[Ge].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ge].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[He].has(t.store):this[He].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[He].set(t,e.subscribe((()=>this.updateFromStores()))),Ze(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Be].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[He].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Be].forEach((t=>t())),this[Be]=[]}unsubscribeFromStore(t){this[He].has(t)&&this[He].get(t)(),this[He].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function qe(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ye(t){return!!t&&!!t[Do]}function Xe(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Mo}(t)||Array.isArray(t)||!!t[Po]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Po])||ro(t)||no(t))}function Je(t,e,o){void 0===o&&(o=!1),0===Qe(t)?(o?Object.keys:jo)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function Qe(t){var e=t[Do];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ro(t)?2:no(t)?3:0}function to(t,e){return 2===Qe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function eo(t,e,o){var r=Qe(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function oo(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ro(t){return Ao&&t instanceof Map}function no(t){return ko&&t instanceof Set}function io(t){return t.o||t.t}function ao(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Fo(t);delete e[Do];for(var o=jo(e),r=0;r<o.length;r++){var n=o[r],i=e[n];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[n]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function so(t,e){return void 0===e&&(e=!1),lo(t)||Ye(t)||!Xe(t)||(Qe(t)>1&&(t.set=t.add=t.clear=t.delete=co),Object.freeze(t),e&&Je(t,(function(t,e){return so(e,!0)}),!0)),t}function co(){qe(2)}function lo(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var e=Zo[t];return e||qe(18,t),e}function ho(){return Lo}function po(t,e){e&&(fo("Patches"),t.u=[],t.s=[],t.v=e)}function uo(t){yo(t),t.p.forEach(bo),t.p=null}function yo(t){t===Lo&&(Lo=t.l)}function go(t){return Lo={p:[],l:Lo,h:t,m:!0,_:0}}function bo(t){var e=t[Do];0===e.i||1===e.i?e.j():e.g=!0}function mo(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||fo("ES5").S(e,t,r),r?(o[Do].P&&(uo(e),qe(4)),Xe(t)&&(t=vo(e,t),e.l||So(e,t)),e.u&&fo("Patches").M(o[Do].t,t,e.u,e.s)):t=vo(e,o,[]),uo(e),e.u&&e.v(e.u,e.s),t!==Ko?t:void 0}function vo(t,e,o){if(lo(e))return e;var r=e[Do];if(!r)return Je(e,(function(n,i){return Oo(t,r,e,n,i,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return So(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=ao(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),Je(i,(function(e,i){return Oo(t,r,n,e,i,o,a)})),So(t,n,!1),o&&t.u&&fo("Patches").N(r,o,t.u,t.s)}return r.o}function Oo(t,e,o,r,n,i,a){if(Ye(n)){var s=vo(t,n,i&&e&&3!==e.i&&!to(e.R,r)?i.concat(r):void 0);if(eo(o,r,s),!Ye(s))return;t.m=!1}else a&&o.add(n);if(Xe(n)&&!lo(n)){if(!t.h.D&&t._<1)return;vo(t,n),e&&e.A.l||So(t,n)}}function So(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&so(e,o)}function wo(t,e){var o=t[Do];return(o?io(o):t)[e]}function No(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function xo(t){t.P||(t.P=!0,t.l&&xo(t.l))}function Co(t){t.o||(t.o=ao(t.t))}function Eo(t,e,o){var r=ro(e)?fo("MapSet").F(e,o):no(e)?fo("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:ho(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},n=r,i=To;o&&(n=[r],i=zo);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):fo("ES5").J(e,o);return(o?o.A:ho()).p.push(r),r}function Ro(t){return Ye(t)||qe(22,t),function t(e){if(!Xe(e))return e;var o,r=e[Do],n=Qe(e);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,o=Uo(e,n),r.I=!1}else o=Uo(e,n);return Je(o,(function(e,n){r&&function(t,e){return 2===Qe(t)?t.get(e):t[e]}(r.t,e)===n||eo(o,e,t(n))})),3===n?new Set(o):o}(t)}function Uo(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}Te=He,ze=Ge,_e=Be,Ve.reduxProperties=new Map,Ve.reduxReactiveProperties=new Set,Ve.reduxEventListeners=new Map;var Io,Lo,Wo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ao="undefined"!=typeof Map,ko="undefined"!=typeof Set,$o="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ko=Wo?Symbol.for("immer-nothing"):((Io={})["immer-nothing"]=!0,Io),Po=Wo?Symbol.for("immer-draftable"):"__$immer_draftable",Do=Wo?Symbol.for("immer-state"):"__$immer_state",Mo=""+Object.prototype.constructor,jo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Fo=Object.getOwnPropertyDescriptors||function(t){var e={};return jo(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Zo={},To={get:function(t,e){if(e===Do)return t;var o=io(t);if(!to(o,e))return function(t,e,o){var r,n=No(e,o);return n?"value"in n?n.value:null===(r=n.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!Xe(r)?r:r===wo(t.t,e)?(Co(t),t.o[e]=Eo(t.A.h,r,t)):r},has:function(t,e){return e in io(t)},ownKeys:function(t){return Reflect.ownKeys(io(t))},set:function(t,e,o){var r=No(io(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var n=wo(io(t),e),i=null==n?void 0:n[Do];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(oo(o,n)&&(void 0!==o||to(t.t,e)))return!0;Co(t),xo(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==wo(t.t,e)||e in t.t?(t.R[e]=!1,Co(t),xo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=io(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){qe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){qe(12)}},zo={};Je(To,(function(t,e){zo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),zo.deleteProperty=function(t,e){return zo.set.call(this,t,e,void 0)},zo.set=function(t,e,o){return To.set.call(this,t[0],e,o,t[0])};var _o=function(){function t(t){var e=this;this.O=$o,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var n=o;o=t;var i=e;return function(t){var e=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&qe(6),void 0!==r&&"function"!=typeof r&&qe(7),Xe(t)){var s=go(e),c=Eo(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?uo(s):yo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return po(s,r),mo(t,s)}),(function(t){throw uo(s),t})):(po(s,r),mo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Ko&&(a=void 0),e.D&&so(a,!0),r){var f=[],h=[];fo("Patches").M(t,a,f,h),r(f,h)}return a}qe(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(n))}))};var r,n,i=e.produce(t,o,(function(t,e){r=t,n=e}));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 e=t.prototype;return e.createDraft=function(t){Xe(t)||qe(8),Ye(t)&&(t=Ro(t));var e=go(this),o=Eo(this,t,void 0);return o[Do].C=!0,yo(e),o},e.finishDraft=function(t,e){var o=(t&&t[Do]).A;return po(o,e),mo(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!$o&&qe(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var n=fo("Patches").$;return Ye(t)?n(t,e):this.produce(t,(function(t){return n(t,e)}))},t}(),Bo=new _o,Ho=Bo.produce;function Go(t){return Go="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},Go(t)}function Vo(t){var e=function(t,e){if("object"!==Go(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Go(e)?e:String(e)}function qo(t,e,o){return(e=Vo(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Yo(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function Xo(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Yo(Object(o),!0).forEach((function(e){qo(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Yo(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Jo(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. "}Bo.produceWithPatches.bind(Bo),Bo.setAutoFreeze.bind(Bo),Bo.setUseProxies.bind(Bo),Bo.applyPatches.bind(Bo),Bo.createDraft.bind(Bo),Bo.finishDraft.bind(Bo);var Qo="function"==typeof Symbol&&Symbol.observable||"@@observable",tr=function(){return Math.random().toString(36).substring(7).split("").join(".")},er={INIT:"@@redux/INIT"+tr(),REPLACE:"@@redux/REPLACE"+tr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tr()}};function or(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(Jo(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(Jo(1));return o(or)(t,e)}if("function"!=typeof t)throw new Error(Jo(2));var n=t,i=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Jo(3));return i}function h(t){if("function"!=typeof t)throw new Error(Jo(4));if(c)throw new Error(Jo(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(Jo(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(Jo(7));if(void 0===t.type)throw new Error(Jo(8));if(c)throw new Error(Jo(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:er.INIT}),(r={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Jo(10));n=t,p({type:er.REPLACE})}})[Qo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Jo(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[Qo]=function(){return this},t},r}function rr(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var n=e[r];"function"==typeof t[n]&&(o[n]=t[n])}var i,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:er.INIT}))throw new Error(Jo(12));if(void 0===o(void 0,{type:er.PROBE_UNKNOWN_ACTION()}))throw new Error(Jo(13))}))}(o)}catch(t){i=t}return function(t,e){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],h=l(f,e);if(void 0===h)throw e&&e.type,new Error(Jo(14));n[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function nr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ir(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(Jo(15))},n={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=e.map((function(t){return t(n)}));return r=nr.apply(void 0,i)(o.dispatch),Xo(Xo({},o),{},{dispatch:r})}}}function ar(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(n){return"function"==typeof n?n(o,r,t):e(n)}}}}var sr=ar();sr.withExtraArgument=ar;var cr,lr=sr,fr=(cr=function(t,e){return cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},cr(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}cr(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),hr=function(t,e){var o,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=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=e.call(t,a)}catch(t){i=[6,t],r=0}finally{o=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},pr=function(t,e){for(var o=0,r=e.length,n=t.length;o<r;o++,n++)t[n]=e[o];return t},ur=Object.defineProperty,dr=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,gr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable,vr=function(t,e,o){return e in t?ur(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Or=function(t,e){for(var o in e||(e={}))br.call(e,o)&&vr(t,o,e[o]);if(gr)for(var r=0,n=gr(e);r<n.length;r++){o=n[r];mr.call(e,o)&&vr(t,o,e[o])}return t},Sr=function(t,e){return dr(t,yr(e))},wr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?nr:nr.apply(null,arguments)};var Nr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return fr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,pr([void 0],t[0].concat(this)))):new(e.bind.apply(e,pr([void 0],t.concat(this))))},e}(Array),xr=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var n=t.apply(this,o)||this;return Object.setPrototypeOf(n,e.prototype),n}return fr(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,pr([void 0],t[0].concat(this)))):new(e.bind.apply(e,pr([void 0],t.concat(this))))},e}(Array);function Cr(t){return Xe(t)?Ho(t,(function(){})):t}function Er(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Nr;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(lr.withExtraArgument(o.extraArgument)):r.push(lr));return r}(t)}}function Rr(t){var e,o=Er(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=void 0===f?void 0:f,p=r.enhancers,u=void 0===p?void 0:p;if("function"==typeof i)e=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(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');e=rr(i)}var d=s;"function"==typeof d&&(d=d(o));var y=ir.apply(void 0,d),g=nr;l&&(g=wr(Or({trace:!1},"object"==typeof l&&l)));var b=new xr(y),m=b;return Array.isArray(u)?m=pr([y],u):"function"==typeof u&&(m=u(b)),or(e,h,g.apply(void 0,m))}function Ur(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var n=e.apply(void 0,o);if(!n)throw new Error("prepareAction did not return an object");return Or(Or({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ir(t){var e,o={},r=[],n={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,n},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),n},addDefaultCase:function(t){return e=t,n}};return t(n),[o,r,e]}function Lr(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Cr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ir(t.extraReducers):[t.extraReducers],o=e[0],n=void 0===o?{}:o,i=e[1],a=void 0===i?[]:i,c=e[2],l=void 0===c?void 0:c,f=Or(Or({},n),s);return function(t,e,o,r){void 0===o&&(o=[]);var n,i="function"==typeof e?Ir(e):[e,o,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Cr(t())};else{var l=Cr(t);n=function(){return l}}function f(t,e){void 0===t&&(t=n());var o=pr([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(Ye(t))return void 0===(r=o(t,e))?t:r;if(Xe(t))return Ho(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var n=r[o];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var o,r,i=n[t],l=e+"/"+t;"reducer"in i?(o=i.reducer,r=i.prepare):o=i,a[t]=o,s[l]=o,c[t]=r?Ur(l,r):Ur(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Wr=["name","message","stack","code"],Ar=function(t,e){this.payload=t,this.meta=e},kr=function(t,e){this.payload=t,this.meta=e},$r=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Wr;o<r.length;o++){var n=r[o];"string"==typeof t[n]&&(e[n]=t[n])}return e}return{message:String(t)}};function Kr(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Ur(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Sr(Or({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),n=Ur(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Sr(Or({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),i=Ur(t+"/rejected",(function(t,e,r,n,i){return{payload:n,error:(o&&o.serializeError||$r)(t||"Rejected"),meta:Sr(Or({},i||{}),{arg:r,requestId:e,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return hr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),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,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(n(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new Ar(t,e)},fulfillWithValue:function(t,e){return new kr(t,e)}})).then((function(e){if(e instanceof Ar)throw e;return e instanceof kr?r(e.payload,h,t,e.meta):r(e,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ar?i(null,h,t,m.payload,m.meta):i(m,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{n(y.next(t))}catch(t){e(t)}},r=function(t){try{n(y.throw(t))}catch(t){e(t)}},n=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};n((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(Kr)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Pr,Dr,Mr="listenerMiddleware";Ur(Mr+"/add"),Ur(Mr+"/removeAll"),Ur(Mr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=n[t];return o?o.enumerable=e:n[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Do];return To.get(e,t)},set:function(e){var o=this[Do];To.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var n=t[e][Do];if(!n.P)switch(n.i){case 5:r(n)&&xo(n);break;case 4:o(n)&&xo(n)}}}function o(t){for(var e=t.t,o=t.k,r=jo(o),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Do){var a=e[i];if(void 0===a&&!to(e,i))return!0;var s=o[i],c=s&&s[Do];if(c?c.t!==a:!oo(s,a))return!0}}var l=!!e[Do];return r.length!==jo(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var n={};!function(t,e){Zo[t]||(Zo[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),n=function(e,o){if(e){for(var r=Array(o.length),n=0;n<o.length;n++)Object.defineProperty(r,""+n,t(n,!0));return r}var i=Fo(o);delete i[Do];for(var a=jo(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,e||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(o),i)}(r,e),i={i:r?5:4,A:o?o.A:ho(),P:!1,I:!1,R:{},l:o,t:e,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Do,{value:i,writable:!0}),n},S:function(t,o,n){n?Ye(o)&&o[Do].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Do];if(o){var n=o.t,i=o.k,a=o.R,s=o.i;if(4===s)Je(i,(function(e){e!==Do&&(void 0!==n[e]||to(n,e)?a[e]||t(i[e]):(a[e]=!0,xo(o)))})),Je(n,(function(t){void 0!==i[t]||to(i,t)||(a[t]=!1,xo(o))}));else if(5===s){if(r(o)&&(xo(o),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),h=0;h<f;h++)i.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(i[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class jr{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,n=window.ftReduxStores[o];if(Ze(n))return n;if(null==r)return;const i=Lr({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Rr({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return i.reducer(t,e)}}});return window.ftReduxStores[r.name]=new jr(i,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Fe,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,n=t[r];return n?(...t)=>{const e=n(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Dr=null===(Pr=window.safari)||void 0===Pr?void 0:Pr.pushNotification)||void 0===Dr||Dr.toString());
105
+ `;class jo{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()}}}const Fo=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!L(t,o),attribute:!1,...o};U(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 Zo{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 To(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var zo,_o,Bo;const Ho=Symbol("internalReduxEventsUnsubscribers"),Go=Symbol("internalStoresUnsubscribers"),Vo=Symbol("internalStores");class qo extends Do{constructor(){super(...arguments),this[zo]=new Map,this[_o]=new Map,this[Bo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Vo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Vo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Vo].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:To(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[Vo].delete(o)}setupStore(t,o){this[Vo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Vo].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[Go].has(t.store):this[Go].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Go].set(t,o.subscribe((()=>this.updateFromStores()))),To(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[Ho].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Go].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Ho].forEach((t=>t())),this[Ho]=[]}unsubscribeFromStore(t){this[Go].has(t)&&this[Go].get(t)(),this[Go].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Yo(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 Xo(t){return!!t&&!!t[De]}function Jo(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)===Me}(t)||Array.isArray(t)||!!t[Pe]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Pe])||ne(t)||ie(t))}function Qo(t,o,e){void 0===e&&(e=!1),0===te(t)?(e?Object.keys:je)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function te(t){var o=t[De];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:ne(t)?2:ie(t)?3:0}function oe(t,o){return 2===te(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function ee(t,o,e){var r=te(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function re(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function ne(t){return Ae&&t instanceof Map}function ie(t){return ke&&t instanceof Set}function ae(t){return t.o||t.t}function se(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Fe(t);delete o[De];for(var e=je(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 ce(t,o){return void 0===o&&(o=!1),fe(t)||Xo(t)||!Jo(t)||(te(t)>1&&(t.set=t.add=t.clear=t.delete=le),Object.freeze(t),o&&Qo(t,(function(t,o){return ce(o,!0)}),!0)),t}function le(){Yo(2)}function fe(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function he(t){var o=Ze[t];return o||Yo(18,t),o}function pe(){return Le}function ue(t,o){o&&(he("Patches"),t.u=[],t.s=[],t.v=o)}function de(t){ye(t),t.p.forEach(be),t.p=null}function ye(t){t===Le&&(Le=t.l)}function ge(t){return Le={p:[],l:Le,h:t,m:!0,_:0}}function be(t){var o=t[De];0===o.i||1===o.i?o.j():o.g=!0}function me(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||he("ES5").S(o,t,r),r?(e[De].P&&(de(o),Yo(4)),Jo(t)&&(t=ve(o,t),o.l||Se(o,t)),o.u&&he("Patches").M(e[De].t,t,o.u,o.s)):t=ve(o,e,[]),de(o),o.u&&o.v(o.u,o.s),t!==Ke?t:void 0}function ve(t,o,e){if(fe(o))return o;var r=o[De];if(!r)return Qo(o,(function(n,i){return Oe(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Se(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=se(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),Qo(i,(function(o,i){return Oe(t,r,n,o,i,e,a)})),Se(t,n,!1),e&&t.u&&he("Patches").N(r,e,t.u,t.s)}return r.o}function Oe(t,o,e,r,n,i,a){if(Xo(n)){var s=ve(t,n,i&&o&&3!==o.i&&!oe(o.R,r)?i.concat(r):void 0);if(ee(e,r,s),!Xo(s))return;t.m=!1}else a&&e.add(n);if(Jo(n)&&!fe(n)){if(!t.h.D&&t._<1)return;ve(t,n),o&&o.A.l||Se(t,n)}}function Se(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&ce(o,e)}function we(t,o){var e=t[De];return(e?ae(e):t)[o]}function Ne(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 xe(t){t.P||(t.P=!0,t.l&&xe(t.l))}function Ce(t){t.o||(t.o=se(t.t))}function Ee(t,o,e){var r=ne(o)?he("MapSet").F(o,e):ie(o)?he("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:pe(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Te;e&&(n=[r],i=ze);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):he("ES5").J(o,e);return(e?e.A:pe()).p.push(r),r}function Re(t){return Xo(t)||Yo(22,t),function t(o){if(!Jo(o))return o;var e,r=o[De],n=te(o);if(r){if(!r.P&&(r.i<4||!he("ES5").K(r)))return r.t;r.I=!0,e=Ue(o,n),r.I=!1}else e=Ue(o,n);return Qo(e,(function(o,n){r&&function(t,o){return 2===te(t)?t.get(o):t[o]}(r.t,o)===n||ee(e,o,t(n))})),3===n?new Set(e):e}(t)}function Ue(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return se(t)}zo=Go,_o=Vo,Bo=Ho,qo.reduxProperties=new Map,qo.reduxReactiveProperties=new Set,qo.reduxEventListeners=new Map;var Ie,Le,We="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ae="undefined"!=typeof Map,ke="undefined"!=typeof Set,$e="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ke=We?Symbol.for("immer-nothing"):((Ie={})["immer-nothing"]=!0,Ie),Pe=We?Symbol.for("immer-draftable"):"__$immer_draftable",De=We?Symbol.for("immer-state"):"__$immer_state",Me=""+Object.prototype.constructor,je="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Fe=Object.getOwnPropertyDescriptors||function(t){var o={};return je(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Ze={},Te={get:function(t,o){if(o===De)return t;var e=ae(t);if(!oe(e,o))return function(t,o,e){var r,n=Ne(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||!Jo(r)?r:r===we(t.t,o)?(Ce(t),t.o[o]=Ee(t.A.h,r,t)):r},has:function(t,o){return o in ae(t)},ownKeys:function(t){return Reflect.ownKeys(ae(t))},set:function(t,o,e){var r=Ne(ae(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=we(ae(t),o),i=null==n?void 0:n[De];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(re(e,n)&&(void 0!==e||oe(t.t,o)))return!0;Ce(t),xe(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!==we(t.t,o)||o in t.t?(t.R[o]=!1,Ce(t),xe(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=ae(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(){Yo(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Yo(12)}},ze={};Qo(Te,(function(t,o){ze[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ze.deleteProperty=function(t,o){return ze.set.call(this,t,o,void 0)},ze.set=function(t,o,e){return Te.set.call(this,t[0],o,e,t[0])};var _e=function(){function t(t){var o=this;this.O=$e,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var n=e;e=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Yo(6),void 0!==r&&"function"!=typeof r&&Yo(7),Jo(t)){var s=ge(o),c=Ee(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?de(s):ye(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ue(s,r),me(t,s)}),(function(t){throw de(s),t})):(ue(s,r),me(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Ke&&(a=void 0),o.D&&ce(a,!0),r){var f=[],h=[];he("Patches").M(t,a,f,h),r(f,h)}return a}Yo(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){Jo(t)||Yo(8),Xo(t)&&(t=Re(t));var o=ge(this),e=Ee(this,t,void 0);return e[De].C=!0,ye(o),e},o.finishDraft=function(t,o){var e=(t&&t[De]).A;return ue(e,o),me(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!$e&&Yo(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=he("Patches").$;return Xo(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Be=new _e,He=Be.produce;function Ge(t){return Ge="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},Ge(t)}function Ve(t){var o=function(t,o){if("object"!==Ge(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Ge(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Ge(o)?o:String(o)}function qe(t,o,e){return(o=Ve(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Ye(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 Xe(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Ye(Object(e),!0).forEach((function(o){qe(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ye(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Je(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. "}Be.produceWithPatches.bind(Be),Be.setAutoFreeze.bind(Be),Be.setUseProxies.bind(Be),Be.applyPatches.bind(Be),Be.createDraft.bind(Be),Be.finishDraft.bind(Be);var Qe="function"==typeof Symbol&&Symbol.observable||"@@observable",tr=function(){return Math.random().toString(36).substring(7).split("").join(".")},or={INIT:"@@redux/INIT"+tr(),REPLACE:"@@redux/REPLACE"+tr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+tr()}};function er(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Je(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Je(1));return e(er)(t,o)}if("function"!=typeof t)throw new Error(Je(2));var n=t,i=o,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(Je(3));return i}function h(t){if("function"!=typeof t)throw new Error(Je(4));if(c)throw new Error(Je(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(Je(6));o=!1,l();var e=s.indexOf(t);s.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(Je(7));if(void 0===t.type)throw new Error(Je(8));if(c)throw new Error(Je(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return p({type:or.INIT}),(r={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Je(10));n=t,p({type:or.REPLACE})}})[Qe]=function(){var t,o=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Je(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[Qe]=function(){return this},t},r}function rr(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:or.INIT}))throw new Error(Je(12));if(void 0===e(void 0,{type:or.PROBE_UNKNOWN_ACTION()}))throw new Error(Je(13))}))}(e)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var r=!1,n={},s=0;s<a.length;s++){var c=a[s],l=e[c],f=t[c],h=l(f,o);if(void 0===h)throw o&&o.type,new Error(Je(14));n[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function nr(){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 ir(){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(Je(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=nr.apply(void 0,i)(e.dispatch),Xe(Xe({},e),{},{dispatch:r})}}}function ar(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 sr=ar();sr.withExtraArgument=ar;var cr,lr=sr,fr=(cr=function(t,o){return cr=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])},cr(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}cr(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),hr=function(t,o){var e,r,n,i,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(n=a.trys,(n=n.length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){a.label=i[1];break}if(6===i[0]&&a.label<n[1]){a.label=n[1],n=i;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(i);break}n[2]&&a.ops.pop(),a.trys.pop();continue}i=o.call(t,a)}catch(t){i=[6,t],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},pr=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},ur=Object.defineProperty,dr=Object.defineProperties,yr=Object.getOwnPropertyDescriptors,gr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,mr=Object.prototype.propertyIsEnumerable,vr=function(t,o,e){return o in t?ur(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Or=function(t,o){for(var e in o||(o={}))br.call(o,e)&&vr(t,e,o[e]);if(gr)for(var r=0,n=gr(o);r<n.length;r++){e=n[r];mr.call(o,e)&&vr(t,e,o[e])}return t},Sr=function(t,o){return dr(t,yr(o))},wr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?nr:nr.apply(null,arguments)};var Nr=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 fr(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,pr([void 0],t[0].concat(this)))):new(o.bind.apply(o,pr([void 0],t.concat(this))))},o}(Array),xr=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 fr(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,pr([void 0],t[0].concat(this)))):new(o.bind.apply(o,pr([void 0],t.concat(this))))},o}(Array);function Cr(t){return Jo(t)?He(t,(function(){})):t}function Er(){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 Nr;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(lr.withExtraArgument(e.extraArgument)):r.push(lr));return r}(t)}}function Rr(t){var o,e=Er(),r=t||{},n=r.reducer,i=void 0===n?void 0:n,a=r.middleware,s=void 0===a?e():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,h=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=rr(i)}var d=s;"function"==typeof d&&(d=d(e));var y=ir.apply(void 0,d),g=nr;l&&(g=wr(Or({trace:!1},"object"==typeof l&&l)));var b=new xr(y),m=b;return Array.isArray(u)?m=pr([y],u):"function"==typeof u&&(m=u(b)),er(o,h,g.apply(void 0,m))}function Ur(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 Or(Or({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 Ir(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 Lr(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:Cr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?Ir(t.extraReducers):[t.extraReducers],e=o[0],n=void 0===e?{}:e,i=o[1],a=void 0===i?[]:i,c=o[2],l=void 0===c?void 0:c,f=Or(Or({},n),s);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?Ir(o):[o,e,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Cr(t())};else{var l=Cr(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=pr([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(Xo(t))return void 0===(r=e(t,o))?t:r;if(Jo(t))return He(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=n,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var n=r[e];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var e,r,i=n[t],l=o+"/"+t;"reducer"in i?(e=i.reducer,r=i.prepare):e=i,a[t]=e,s[l]=e,c[t]=r?Ur(l,r):Ur(l)})),{name:o,reducer:function(t,o){return e||(e=l()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=l()),e.getInitialState()}}}var Wr=["name","message","stack","code"],Ar=function(t,o){this.payload=t,this.meta=o},kr=function(t,o){this.payload=t,this.meta=o},$r=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Wr;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Kr(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=Ur(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Sr(Or({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=Ur(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Sr(Or({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Ur(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||$r)(t||"Rejected"),meta:Sr(Or({},i||{}),{arg:r,requestId:o,rejectedWithValue:!!n,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,h=(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 d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return hr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),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"})}))})),s(n(h,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,o){return new Ar(t,o)},fulfillWithValue:function(t,o){return new kr(t,o)}})).then((function(o){if(o instanceof Ar)throw o;return o instanceof kr?r(o.payload,h,t,o.meta):r(o,h,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ar?i(null,h,t,m.payload,m.meta):i(m,h,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(Kr)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Pr,Dr,Mr="listenerMiddleware";Ur(Mr+"/add"),Ur(Mr+"/removeAll"),Ur(Mr+"/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[De];return Te.get(o,t)},set:function(o){var e=this[De];Te.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][De];if(!n.P)switch(n.i){case 5:r(n)&&xe(n);break;case 4:e(n)&&xe(n)}}}function e(t){for(var o=t.t,e=t.k,r=je(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==De){var a=o[i];if(void 0===a&&!oe(o,i))return!0;var s=e[i],c=s&&s[De];if(c?c.t!==a:!re(s,a))return!0}}var l=!!o[De];return r.length!==je(o).length+(l?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var n={};!function(t,o){Ze[t]||(Ze[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=Fe(e);delete i[De];for(var a=je(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(e),i)}(r,o),i={i:r?5:4,A:e?e.A:pe(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,De,{value:i,writable:!0}),n},S:function(t,e,n){n?Xo(e)&&e[De].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[De];if(e){var n=e.t,i=e.k,a=e.R,s=e.i;if(4===s)Qo(i,(function(o){o!==De&&(void 0!==n[o]||oe(n,o)?a[o]||t(i[o]):(a[o]=!0,xe(e)))})),Qo(n,(function(t){void 0!==i[t]||oe(i,t)||(a[t]=!1,xe(e))}));else if(5===s){if(r(e)&&(xe(e),a.length=!0),i.length<n.length)for(var c=i.length;c<n.length;c++)a[c]=!1;else for(var l=n.length;l<i.length;l++)a[l]=!0;for(var f=Math.min(i.length,n.length),h=0;h<f;h++)i.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(i[h])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class jr{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(To(n))return n;if(null==r)return;const i=Lr({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Rr({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[r.name]=new jr(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Zo,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,n=t[r];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Dr=null===(Pr=window.safari)||void 0===Pr?void 0:Pr.pushNotification)||void 0===Dr||Dr.toString());
106
106
  /**
107
107
  * @license
108
108
  * Copyright 2017 Google LLC
109
109
  * SPDX-License-Identifier: BSD-3-Clause
110
110
  */
111
- const Fr=2,Zr=t=>(...e)=>({_$litDirective$:t,values:e});let Tr=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
111
+ const Fr=2,Zr=t=>(...o)=>({_$litDirective$:t,values:o});let Tr=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
112
112
  /**
113
113
  * @license
114
114
  * Copyright 2020 Google LLC
115
115
  * SPDX-License-Identifier: BSD-3-Clause
116
- */const{D:zr}=yt,_r=()=>document.createComment(""),Br=(t,e,o)=>{const r=t._$AA.parentNode,n=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(_r(),n),i=r.insertBefore(_r(),n);o=new zr(e,i,t,t.options)}else{const e=o._$AB.nextSibling,i=o._$AM,a=i!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==i._$AU&&o._$AP(e)}if(e!==n||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,n),t=e}}}return o},Hr=(t,e,o=t)=>(t._$AI(e,o),t),Gr={},Vr=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},qr=(t,e,o)=>{const r=new Map;for(let n=e;n<=o;n++)r.set(t[n],n);return r},Yr=Zr(class extends Tr{constructor(t){if(super(t),t.type!==Fr)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const n=[],i=[];let a=0;for(const e of t)n[a]=r?r(e,a):a,i[a]=o(e,a),a++;return{values:i,keys:n}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(e,o,r);if(!Array.isArray(n))return this.dt=a,i;const s=this.dt??=[],c=[];let l,f,h=0,p=n.length-1,u=0,d=i.length-1;for(;h<=p&&u<=d;)if(null===n[h])h++;else if(null===n[p])p--;else if(s[h]===a[u])c[u]=Hr(n[h],i[u]),h++,u++;else if(s[p]===a[d])c[d]=Hr(n[p],i[d]),p--,d--;else if(s[h]===a[d])c[d]=Hr(n[h],i[d]),Br(t,c[d+1],n[h]),h++,d--;else if(s[p]===a[u])c[u]=Hr(n[p],i[u]),Br(t,n[h],n[p]),p--,u++;else if(void 0===l&&(l=qr(a,u,d),f=qr(s,h,p)),l.has(s[h]))if(l.has(s[p])){const e=f.get(a[u]),o=void 0!==e?n[e]:null;if(null===o){const e=Br(t,n[h]);Hr(e,i[u]),c[u]=e}else c[u]=Hr(o,i[u]),Br(t,n[h],o),n[e]=null;u++}else Vr(n[p]),p--;else Vr(n[h]),h++;for(;u<=d;){const e=Br(t,c[d+1]);Hr(e,i[u]),c[u++]=e}for(;h<=p;){const t=n[h++];null!==t&&Vr(t)}return this.dt=a,((t,e=Gr)=>{t._$AH=e})(t,c),tt}}),Xr=Nt`
116
+ */const{D:zr}=yt,_r=()=>document.createComment(""),Br=(t,o,e)=>{const r=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(_r(),n),i=r.insertBefore(_r(),n);e=new zr(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},Hr=(t,o,e=t)=>(t._$AI(o,e),t),Gr={},Vr=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}},qr=(t,o,e)=>{const r=new Map;for(let n=o;n<=e;n++)r.set(t[n],n);return r},Yr=Zr(class extends Tr{constructor(t){if(super(t),t.type!==Fr)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const n=[],i=[];let a=0;for(const o of t)n[a]=r?r(o,a):a,i[a]=e(o,a),a++;return{values:i,keys:n}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(o,e,r);if(!Array.isArray(n))return this.dt=a,i;const s=this.dt??=[],c=[];let l,f,h=0,p=n.length-1,u=0,d=i.length-1;for(;h<=p&&u<=d;)if(null===n[h])h++;else if(null===n[p])p--;else if(s[h]===a[u])c[u]=Hr(n[h],i[u]),h++,u++;else if(s[p]===a[d])c[d]=Hr(n[p],i[d]),p--,d--;else if(s[h]===a[d])c[d]=Hr(n[h],i[d]),Br(t,c[d+1],n[h]),h++,d--;else if(s[p]===a[u])c[u]=Hr(n[p],i[u]),Br(t,n[h],n[p]),p--,u++;else if(void 0===l&&(l=qr(a,u,d),f=qr(s,h,p)),l.has(s[h]))if(l.has(s[p])){const o=f.get(a[u]),e=void 0!==o?n[o]:null;if(null===e){const o=Br(t,n[h]);Hr(o,i[u]),c[u]=o}else c[u]=Hr(e,i[u]),Br(t,n[h],e),n[o]=null;u++}else Vr(n[p]),p--;else Vr(n[h]),h++;for(;u<=d;){const o=Br(t,c[d+1]);Hr(o,i[u]),c[u++]=o}for(;h<=p;){const t=n[h++];null!==t&&Vr(t)}return this.dt=a,((t,o=Gr)=>{t._$AH=o})(t,c),tt}}),Xr=Nt`
117
117
  [part="no-results-message"] {
118
118
  text-align: center;
119
119
  padding: 12px;
@@ -123,17 +123,17 @@ const Fr=2,Zr=t=>(...e)=>({_$litDirective$:t,values:e});let Tr=class{constructor
123
123
  * @license
124
124
  * Copyright 2017 Google LLC
125
125
  * SPDX-License-Identifier: BSD-3-Clause
126
- */var Jr,Qr,tn,en,on,rn,nn,an,sn,cn,ln,fn,hn,pn,un,dn,yn,gn;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=i(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[i(t)]},c.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},c.prototype.set=function(t,e){this.map[i(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,n=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),n=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(n))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(n,i){var a=new y(t,r);if(a.signal&&a.signal.aborted)return i(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var n=o.join(":").trim();e.append(r,n)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;n(new b(r,o))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Jr||(Jr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Qr||(Qr={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(tn||(tn={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(en||(en={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(on||(on={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(rn||(rn={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(nn||(nn={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(an||(an={})),function(t){t.ASC="ASC",t.DESC="DESC"}(sn||(sn={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(cn||(cn={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ln||(ln={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(fn||(fn={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(hn||(hn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(pn||(pn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(un||(un={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(dn||(dn={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(yn||(yn={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(gn||(gn={})),yn.PERSONAL_BOOK_SHARE_USER,yn.PERSONAL_BOOK_USER,yn.HTML_EXPORT_USER,yn.PERSONAL_BOOK_USER,yn.PDF_EXPORT_USER,yn.PERSONAL_BOOK_USER,yn.KHUB_ADMIN,yn.CONTENT_PUBLISHER,yn.ADMIN,yn.KHUB_ADMIN,yn.USERS_ADMIN,yn.PORTAL_ADMIN,yn.DEVELOPER,yn.BETA_USER,yn.DEBUG_USER;const bn=Nt`
127
- `,mn=jr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class vn{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=mn.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?vn.build(t):null!==(e=vn.API)&&void 0!==e?e:vn.API=vn.build()}static await(t){return new Promise((e=>{let o=vn.get(t);if(o)e(o);else{const r=mn.subscribe((()=>{o=vn.get(t),o&&(r(),e(o))}))}}))}}var On;const Sn=Symbol("clearAfterUnitTest");class wn{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[On]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=mn.getState().uiLocale,mn.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=mn.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){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 Me(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(e=0,new Promise((t=>setTimeout(t,e)))).then((()=>t())).catch((()=>null));var e})))}}On=Sn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new wn((async(t,e)=>(await vn.await()).getFluidTopicsMessageContext(t,e)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new wn((async(t,e)=>(await vn.await()).getCustomMessageContext(t,e))));const Nn=window.FluidTopicsI18nService,xn=window.FluidTopicsCustomI18nService;var Cn=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class En extends Pe{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>vn.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return ie`
126
+ */var Jr,Qr,tn,on,en,rn,nn,an,sn,cn,ln,fn,hn,pn,un,dn,yn,gn;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function c(t){this.map={},t instanceof c?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function h(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function p(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var o=new FileReader,e=f(o);return o.readAsText(t),e}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=i(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},c.prototype.delete=function(t){delete this.map[i(t)]},c.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},c.prototype.set=function(t,o){this.map[i(t)]=a(o)},c.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),s(t)},e.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,n=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new c(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),d.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),n=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(n))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new c(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,r){return new Promise((function(n,i){var a=new y(t,r);if(a.signal&&a.signal.aborted)return i(new o.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,o,e={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",o=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var n=e.join(":").trim();o.append(r,n)}})),o)};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;n(new b(r,e))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new o.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&e.blob&&(s.responseType="blob"),a.headers.forEach((function(t,o){s.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),o.Headers=c,o.Request=y,o.Response=b,o.fetch=v,Object.defineProperty(o,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Jr||(Jr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Qr||(Qr={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(tn||(tn={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(on||(on={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(en||(en={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(rn||(rn={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(nn||(nn={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(an||(an={})),function(t){t.ASC="ASC",t.DESC="DESC"}(sn||(sn={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(cn||(cn={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ln||(ln={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(fn||(fn={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(hn||(hn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(pn||(pn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(un||(un={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(dn||(dn={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(yn||(yn={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(gn||(gn={})),yn.PERSONAL_BOOK_SHARE_USER,yn.PERSONAL_BOOK_USER,yn.HTML_EXPORT_USER,yn.PERSONAL_BOOK_USER,yn.PDF_EXPORT_USER,yn.PERSONAL_BOOK_USER,yn.KHUB_ADMIN,yn.CONTENT_PUBLISHER,yn.ADMIN,yn.KHUB_ADMIN,yn.USERS_ADMIN,yn.PORTAL_ADMIN,yn.DEVELOPER,yn.BETA_USER,yn.DEBUG_USER;const bn=Nt`
127
+ `,mn=jr.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0}});class vn{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=mn.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?vn.build(t):null!==(o=vn.API)&&void 0!==o?o:vn.API=vn.build()}static await(t){return new Promise((o=>{let e=vn.get(t);if(e)o(e);else{const r=mn.subscribe((()=>{e=vn.get(t),e&&(r(),o(e))}))}}))}}var On;const Sn=Symbol("clearAfterUnitTest");class wn{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[On]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=mn.getState().uiLocale,mn.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=mn.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};L(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 jo(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=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}On=Sn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new wn((async(t,o)=>(await vn.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new wn((async(t,o)=>(await vn.await()).getCustomMessageContext(t,o))));const Nn=window.FluidTopicsI18nService,xn=window.FluidTopicsCustomI18nService;var Cn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class En extends Do{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>vn.get(),this.cache=new r,this.cleanSessionDebouncer=new n}render(){return io`
128
128
  <slot></slot>
129
- `}update(t){super.update(t),t.has("baseUrl")&&(mn.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&mn.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&mn.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&mn.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&mn.actions.noCustom(this.noCustom),t.has("editorMode")&&mn.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&mn.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&mn.actions.session(this.session),t.has("availableUiLocales")&&mn.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Nn.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}En.elementDefinitions={},En.styles=bn,Cn([U()],En.prototype,"baseUrl",void 0),Cn([U()],En.prototype,"apiIntegrationIdentifier",void 0),Cn([U()],En.prototype,"uiLocale",void 0),Cn([A(null)],En.prototype,"availableUiLocales",void 0),Cn([A(null)],En.prototype,"metadataConfiguration",void 0),Cn([U({type:Boolean})],En.prototype,"editorMode",void 0),Cn([U({type:Boolean})],En.prototype,"noCustom",void 0),Cn([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],En.prototype,"noCustomComponent",void 0),Cn([U({type:Boolean})],En.prototype,"withManualResources",void 0),Cn([A([])],En.prototype,"messageContexts",void 0),Cn([A(void 0)],En.prototype,"session",void 0),Cn([U({type:Object})],En.prototype,"apiProvider",void 0);class Rn{async listMySearches(){var t;return(null===(t=mn.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await vn.await()).listMySearches(mn.getState().session.profile.userId):[]}}const Un=new r;class In{async listMyBookmarks(){return Un.get("bookmarks",(async()=>(await vn.await()).listMyBookmarks(mn.getState().session.profile.userId)))}clearCache(){Un.clear("bookmarks")}}const Ln=jr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=mn.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new In,mn.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=mn.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Ln.actions.savedSearches(void 0)}clearMyBookmarks(){Ln.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Rn,e=await t.listMySearches();Ln.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ln.actions.bookmarks(e)}}},W("ft-app-context")(En);class Wn extends Event{constructor(){super(Wn.eventName)}}Wn.eventName="search-context-clear-all-filters";var An=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class kn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const $n=Symbol("registerInterval");class Kn extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[$n]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[$n]):this.dispatchEvent(new kn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=$n,An([I()],o.prototype,"stateManager",void 0),o}(Ve)){}const Pn=Nt`
129
+ `}update(t){super.update(t),t.has("baseUrl")&&(mn.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&mn.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&mn.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&mn.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&mn.actions.noCustom(this.noCustom),t.has("editorMode")&&mn.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&mn.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&mn.actions.session(this.session),t.has("availableUiLocales")&&mn.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Nn.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}En.elementDefinitions={},En.styles=bn,Cn([U()],En.prototype,"baseUrl",void 0),Cn([U()],En.prototype,"apiIntegrationIdentifier",void 0),Cn([U()],En.prototype,"uiLocale",void 0),Cn([A(null)],En.prototype,"availableUiLocales",void 0),Cn([A(null)],En.prototype,"metadataConfiguration",void 0),Cn([U({type:Boolean})],En.prototype,"editorMode",void 0),Cn([U({type:Boolean})],En.prototype,"noCustom",void 0),Cn([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],En.prototype,"noCustomComponent",void 0),Cn([U({type:Boolean})],En.prototype,"withManualResources",void 0),Cn([A([])],En.prototype,"messageContexts",void 0),Cn([A(void 0)],En.prototype,"session",void 0),Cn([U({type:Object})],En.prototype,"apiProvider",void 0);class Rn{async listMySearches(){var t;return(null===(t=mn.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await vn.await()).listMySearches(mn.getState().session.profile.userId):[]}}const Un=new r;class In{async listMyBookmarks(){return Un.get("bookmarks",(async()=>(await vn.await()).listMyBookmarks(mn.getState().session.profile.userId)))}clearCache(){Un.clear("bookmarks")}}const Ln=jr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=mn.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new In,mn.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=mn.getState();L(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(){Ln.actions.savedSearches(void 0)}clearMyBookmarks(){Ln.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Rn,o=await t.listMySearches();Ln.actions.savedSearches(o)}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;Ln.actions.bookmarks(o)}}},W("ft-app-context")(En);class Wn extends Event{constructor(){super(Wn.eventName)}}Wn.eventName="search-context-clear-all-filters";var An=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class kn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const $n=Symbol("registerInterval");class Kn extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[$n]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[$n]):this.dispatchEvent(new kn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=$n,An([I()],e.prototype,"stateManager",void 0),e}(qo)){}const Pn=Nt`
130
130
  a {
131
131
  color: inherit;
132
132
  text-decoration: inherit;
133
133
  }
134
- `;class Dn{constructor(t){this.registeredComponents=[],this.registeredMetadata=new Set,this.onResultSelected=t}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,e){this.cluster=t,this.rank=e,this.selectResult(this.cluster.entries[0])}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach((t=>this.bindComponent(t)))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank}}var Mn=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class jn extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}}class Fn extends Pe{constructor(){super(...arguments),this.index=0,this.stateManager=new Dn((t=>this.onResultSelected(t)))}render(){return ie`
134
+ `;class Dn{constructor(t){this.registeredComponents=[],this.registeredMetadata=new Set,this.onResultSelected=t}registerComponent(t){t.setResultStateManager(this),this.registeredComponents.push(t),this.bindComponent(t)}unregisterComponent(t){this.registeredComponents.splice(this.registeredComponents.indexOf(t),1),t.cluster=void 0,t.result=void 0,t.rank=void 0}registerMetadata(t){this.registeredMetadata.add(t)}unregisterMetadata(t){this.registeredMetadata.delete(t)}updateCluster(t,o){this.cluster=t,this.rank=o,this.selectResult(this.cluster.entries[0])}selectResult(t){this.result=t,this.onResultSelected(t),this.registeredComponents.forEach((t=>this.bindComponent(t)))}clear(){this.registeredComponents=[]}bindComponent(t){t.cluster=this.cluster,t.result=this.result,t.rank=this.rank}}var Mn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class jn extends CustomEvent{constructor(t){super("ft-search-result-cluster-change",{detail:t,bubbles:!0,composed:!0})}}class Fn extends Do{constructor(){super(...arguments),this.index=0,this.stateManager=new Dn((t=>this.onResultSelected(t)))}render(){return io`
135
135
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
136
- `}onResultSelected(t){this.result=t,this.dispatchEvent(new jn(this.result))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){this.stateManager.registerComponent(t)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}}Fn.elementDefinitions={},Fn.styles=Pn,Mn([U({attribute:!1})],Fn.prototype,"cluster",void 0),Mn([I()],Fn.prototype,"result",void 0),Mn([U()],Fn.prototype,"index",void 0),W("ft-search-result-context")(Fn);var Zn=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Tn extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const zn=Symbol("registerInterval");class _n extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[zn]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[zn]):this.dispatchEvent(new Tn)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=zn,Zn([U({attribute:!1})],o.prototype,"cluster",void 0),Zn([U({attribute:!1})],o.prototype,"result",void 0),Zn([U({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}(Kn)){}const Bn=Ne.create("--ft-srt-highlight-background-color","","COLOR","transparent"),Hn=Nt`
136
+ `}onResultSelected(t){this.result=t,this.dispatchEvent(new jn(this.result))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.stateManager.registerComponent(t)}update(t){super.update(t),t.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}}Fn.elementDefinitions={},Fn.styles=Pn,Mn([U({attribute:!1})],Fn.prototype,"cluster",void 0),Mn([I()],Fn.prototype,"result",void 0),Mn([U()],Fn.prototype,"index",void 0),W("ft-search-result-context")(Fn);var Zn=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Tn extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}}const zn=Symbol("registerInterval");class _n extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setResultStateManager(t){this.resultStateManager=t}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[zn]=window.setInterval((()=>this.tryToRegisterToResultContext()),50)}tryToRegisterToResultContext(){null!=this.result?window.clearInterval(this[zn]):this.dispatchEvent(new Tn)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return o=zn,Zn([U({attribute:!1})],e.prototype,"cluster",void 0),Zn([U({attribute:!1})],e.prototype,"result",void 0),Zn([U({attribute:!1,type:Number})],e.prototype,"rank",void 0),e}(Kn)){}const Bn=xo.create("--ft-srt-highlight-background-color","","COLOR","transparent"),Hn=Nt`
137
137
  .kwicmatch {
138
138
  font-weight: 700;
139
139
  background-color: ${Bn};
@@ -152,9 +152,9 @@ const Fr=2,Zr=t=>(...e)=>({_$litDirective$:t,values:e});let Tr=class{constructor
152
152
  * @license
153
153
  * Copyright 2020 Google LLC
154
154
  * SPDX-License-Identifier: BSD-3-Clause
155
- */,Gn=Symbol.for(""),Vn=t=>{if(t?.r===Gn)return t?._$litStatic$},qn=t=>({_$litStatic$:t,r:Gn}),Yn=new Map,Xn=(t=>(e,...o)=>{const r=o.length;let n,i;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=e[l];l<r&&void 0!==(i=o[l],n=Vn(i));)c+=n+e[++l],f=!0;l!==r&&s.push(i),a.push(c),l++}if(l===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Yn.get(t))&&(a.raw=a,Yn.set(t,e=a)),o=s}return t(e,...o)})(Q);var Jn;!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"}(Jn||(Jn={}));const Qn=Ne.extend("--ft-typography-font-family","",Re.titleFont),ti=Ne.extend("--ft-typography-font-family","",Re.contentFont),ei={fontFamily:ti,fontSize:Ne.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ne.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ne.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ne.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ne.create("--ft-typography-text-transform","","UNKNOWN","inherit")},oi=Ne.extend("--ft-typography-title-font-family","",Qn),ri=Ne.extend("--ft-typography-title-font-size","",ei.fontSize,"20px"),ni=Ne.extend("--ft-typography-title-font-weight","",ei.fontWeight,"normal"),ii=Ne.extend("--ft-typography-title-letter-spacing","",ei.letterSpacing,"0.15px"),ai=Ne.extend("--ft-typography-title-line-height","",ei.lineHeight,"1.2"),si=Ne.extend("--ft-typography-title-text-transform","",ei.textTransform,"inherit"),ci=Ne.extend("--ft-typography-title-dense-font-family","",Qn),li=Ne.extend("--ft-typography-title-dense-font-size","",ei.fontSize,"14px"),fi=Ne.extend("--ft-typography-title-dense-font-weight","",ei.fontWeight,"normal"),hi=Ne.extend("--ft-typography-title-dense-letter-spacing","",ei.letterSpacing,"0.105px"),pi=Ne.extend("--ft-typography-title-dense-line-height","",ei.lineHeight,"1.7"),ui=Ne.extend("--ft-typography-title-dense-text-transform","",ei.textTransform,"inherit"),di=Ne.extend("--ft-typography-subtitle1-font-family","",ti),yi=Ne.extend("--ft-typography-subtitle1-font-size","",ei.fontSize,"16px"),gi=Ne.extend("--ft-typography-subtitle1-font-weight","",ei.fontWeight,"600"),bi=Ne.extend("--ft-typography-subtitle1-letter-spacing","",ei.letterSpacing,"0.144px"),mi=Ne.extend("--ft-typography-subtitle1-line-height","",ei.lineHeight,"1.5"),vi=Ne.extend("--ft-typography-subtitle1-text-transform","",ei.textTransform,"inherit"),Oi=Ne.extend("--ft-typography-subtitle2-font-family","",ti),Si=Ne.extend("--ft-typography-subtitle2-font-size","",ei.fontSize,"14px"),wi=Ne.extend("--ft-typography-subtitle2-font-weight","",ei.fontWeight,"normal"),Ni=Ne.extend("--ft-typography-subtitle2-letter-spacing","",ei.letterSpacing,"0.098px"),xi=Ne.extend("--ft-typography-subtitle2-line-height","",ei.lineHeight,"1.7"),Ci=Ne.extend("--ft-typography-subtitle2-text-transform","",ei.textTransform,"inherit"),Ei=Ne.extend("--ft-typography-body1-font-family","",ti),Ri=Ne.extend("--ft-typography-body1-font-size","",ei.fontSize,"16px"),Ui=Ne.extend("--ft-typography-body1-font-weight","",ei.fontWeight,"normal"),Ii=Ne.extend("--ft-typography-body1-letter-spacing","",ei.letterSpacing,"0.496px"),Li=Ne.extend("--ft-typography-body1-line-height","",ei.lineHeight,"1.5"),Wi=Ne.extend("--ft-typography-body1-text-transform","",ei.textTransform,"inherit"),Ai=Ne.extend("--ft-typography-body2-font-family","",ti),ki=Ne.extend("--ft-typography-body2-font-size","",ei.fontSize,"14px"),$i=Ne.extend("--ft-typography-body2-font-weight","",ei.fontWeight,"normal"),Ki=Ne.extend("--ft-typography-body2-letter-spacing","",ei.letterSpacing,"0.252px"),Pi=Ne.extend("--ft-typography-body2-line-height","",ei.lineHeight,"1.4"),Di=Ne.extend("--ft-typography-body2-text-transform","",ei.textTransform,"inherit"),Mi=Ne.extend("--ft-typography-caption-font-family","",ti),ji=Ne.extend("--ft-typography-caption-font-size","",ei.fontSize,"12px"),Fi=Ne.extend("--ft-typography-caption-font-weight","",ei.fontWeight,"normal"),Zi=Ne.extend("--ft-typography-caption-letter-spacing","",ei.letterSpacing,"0.396px"),Ti=Ne.extend("--ft-typography-caption-line-height","",ei.lineHeight,"1.33"),zi=Ne.extend("--ft-typography-caption-text-transform","",ei.textTransform,"inherit"),_i=Ne.extend("--ft-typography-breadcrumb-font-family","",ti),Bi=Ne.extend("--ft-typography-breadcrumb-font-size","",ei.fontSize,"10px"),Hi=Ne.extend("--ft-typography-breadcrumb-font-weight","",ei.fontWeight,"normal"),Gi=Ne.extend("--ft-typography-breadcrumb-letter-spacing","",ei.letterSpacing,"0.33px"),Vi=Ne.extend("--ft-typography-breadcrumb-line-height","",ei.lineHeight,"1.6"),qi=Ne.extend("--ft-typography-breadcrumb-text-transform","",ei.textTransform,"inherit"),Yi=Ne.extend("--ft-typography-overline-font-family","",ti),Xi=Ne.extend("--ft-typography-overline-font-size","",ei.fontSize,"10px"),Ji=Ne.extend("--ft-typography-overline-font-weight","",ei.fontWeight,"normal"),Qi=Ne.extend("--ft-typography-overline-letter-spacing","",ei.letterSpacing,"1.5px"),ta=Ne.extend("--ft-typography-overline-line-height","",ei.lineHeight,"1.6"),ea=Ne.extend("--ft-typography-overline-text-transform","",ei.textTransform,"uppercase"),oa=Ne.extend("--ft-typography-button-font-family","",ti),ra=Ne.extend("--ft-typography-button-font-size","",ei.fontSize,"14px"),na=Ne.extend("--ft-typography-button-font-weight","",ei.fontWeight,"600"),ia=Ne.extend("--ft-typography-button-letter-spacing","",ei.letterSpacing,"1.246px"),aa=Ne.extend("--ft-typography-button-line-height","",ei.lineHeight,"1.15"),sa=Ne.extend("--ft-typography-button-text-transform","",ei.textTransform,"uppercase"),ca=Nt`
155
+ */,Gn=Symbol.for(""),Vn=t=>{if(t?.r===Gn)return t?._$litStatic$},qn=t=>({_$litStatic$:t,r:Gn}),Yn=new Map,Xn=(t=>(o,...e)=>{const r=e.length;let n,i;const a=[],s=[];let c,l=0,f=!1;for(;l<r;){for(c=o[l];l<r&&void 0!==(i=e[l],n=Vn(i));)c+=n+o[++l],f=!0;l!==r&&s.push(i),a.push(c),l++}if(l===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=Yn.get(t))&&(a.raw=a,Yn.set(t,o=a)),e=s}return t(o,...e)})(Q);var Jn;!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"}(Jn||(Jn={}));const Qn=xo.extend("--ft-typography-font-family","",Uo.titleFont),ti=xo.extend("--ft-typography-font-family","",Uo.contentFont),oi={fontFamily:ti,fontSize:xo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ei=xo.extend("--ft-typography-title-font-family","",Qn),ri=xo.extend("--ft-typography-title-font-size","",oi.fontSize,"20px"),ni=xo.extend("--ft-typography-title-font-weight","",oi.fontWeight,"normal"),ii=xo.extend("--ft-typography-title-letter-spacing","",oi.letterSpacing,"0.15px"),ai=xo.extend("--ft-typography-title-line-height","",oi.lineHeight,"1.2"),si=xo.extend("--ft-typography-title-text-transform","",oi.textTransform,"inherit"),ci=xo.extend("--ft-typography-title-dense-font-family","",Qn),li=xo.extend("--ft-typography-title-dense-font-size","",oi.fontSize,"14px"),fi=xo.extend("--ft-typography-title-dense-font-weight","",oi.fontWeight,"normal"),hi=xo.extend("--ft-typography-title-dense-letter-spacing","",oi.letterSpacing,"0.105px"),pi=xo.extend("--ft-typography-title-dense-line-height","",oi.lineHeight,"1.7"),ui=xo.extend("--ft-typography-title-dense-text-transform","",oi.textTransform,"inherit"),di=xo.extend("--ft-typography-subtitle1-font-family","",ti),yi=xo.extend("--ft-typography-subtitle1-font-size","",oi.fontSize,"16px"),gi=xo.extend("--ft-typography-subtitle1-font-weight","",oi.fontWeight,"600"),bi=xo.extend("--ft-typography-subtitle1-letter-spacing","",oi.letterSpacing,"0.144px"),mi=xo.extend("--ft-typography-subtitle1-line-height","",oi.lineHeight,"1.5"),vi=xo.extend("--ft-typography-subtitle1-text-transform","",oi.textTransform,"inherit"),Oi=xo.extend("--ft-typography-subtitle2-font-family","",ti),Si=xo.extend("--ft-typography-subtitle2-font-size","",oi.fontSize,"14px"),wi=xo.extend("--ft-typography-subtitle2-font-weight","",oi.fontWeight,"normal"),Ni=xo.extend("--ft-typography-subtitle2-letter-spacing","",oi.letterSpacing,"0.098px"),xi=xo.extend("--ft-typography-subtitle2-line-height","",oi.lineHeight,"1.7"),Ci=xo.extend("--ft-typography-subtitle2-text-transform","",oi.textTransform,"inherit"),Ei=xo.extend("--ft-typography-body1-font-family","",ti),Ri=xo.extend("--ft-typography-body1-font-size","",oi.fontSize,"16px"),Ui=xo.extend("--ft-typography-body1-font-weight","",oi.fontWeight,"normal"),Ii=xo.extend("--ft-typography-body1-letter-spacing","",oi.letterSpacing,"0.496px"),Li=xo.extend("--ft-typography-body1-line-height","",oi.lineHeight,"1.5"),Wi=xo.extend("--ft-typography-body1-text-transform","",oi.textTransform,"inherit"),Ai=xo.extend("--ft-typography-body2-font-family","",ti),ki=xo.extend("--ft-typography-body2-font-size","",oi.fontSize,"14px"),$i=xo.extend("--ft-typography-body2-font-weight","",oi.fontWeight,"normal"),Ki=xo.extend("--ft-typography-body2-letter-spacing","",oi.letterSpacing,"0.252px"),Pi=xo.extend("--ft-typography-body2-line-height","",oi.lineHeight,"1.4"),Di=xo.extend("--ft-typography-body2-text-transform","",oi.textTransform,"inherit"),Mi=xo.extend("--ft-typography-caption-font-family","",ti),ji=xo.extend("--ft-typography-caption-font-size","",oi.fontSize,"12px"),Fi=xo.extend("--ft-typography-caption-font-weight","",oi.fontWeight,"normal"),Zi=xo.extend("--ft-typography-caption-letter-spacing","",oi.letterSpacing,"0.396px"),Ti=xo.extend("--ft-typography-caption-line-height","",oi.lineHeight,"1.33"),zi=xo.extend("--ft-typography-caption-text-transform","",oi.textTransform,"inherit"),_i=xo.extend("--ft-typography-breadcrumb-font-family","",ti),Bi=xo.extend("--ft-typography-breadcrumb-font-size","",oi.fontSize,"10px"),Hi=xo.extend("--ft-typography-breadcrumb-font-weight","",oi.fontWeight,"normal"),Gi=xo.extend("--ft-typography-breadcrumb-letter-spacing","",oi.letterSpacing,"0.33px"),Vi=xo.extend("--ft-typography-breadcrumb-line-height","",oi.lineHeight,"1.6"),qi=xo.extend("--ft-typography-breadcrumb-text-transform","",oi.textTransform,"inherit"),Yi=xo.extend("--ft-typography-overline-font-family","",ti),Xi=xo.extend("--ft-typography-overline-font-size","",oi.fontSize,"10px"),Ji=xo.extend("--ft-typography-overline-font-weight","",oi.fontWeight,"normal"),Qi=xo.extend("--ft-typography-overline-letter-spacing","",oi.letterSpacing,"1.5px"),ta=xo.extend("--ft-typography-overline-line-height","",oi.lineHeight,"1.6"),oa=xo.extend("--ft-typography-overline-text-transform","",oi.textTransform,"uppercase"),ea=xo.extend("--ft-typography-button-font-family","",ti),ra=xo.extend("--ft-typography-button-font-size","",oi.fontSize,"14px"),na=xo.extend("--ft-typography-button-font-weight","",oi.fontWeight,"600"),ia=xo.extend("--ft-typography-button-letter-spacing","",oi.letterSpacing,"1.246px"),aa=xo.extend("--ft-typography-button-line-height","",oi.lineHeight,"1.15"),sa=xo.extend("--ft-typography-button-text-transform","",oi.textTransform,"uppercase"),ca=Nt`
156
156
  .ft-typography--title {
157
- font-family: ${oi};
157
+ font-family: ${ei};
158
158
  font-size: ${ri};
159
159
  font-weight: ${ni};
160
160
  letter-spacing: ${ii};
@@ -232,11 +232,11 @@ const Fr=2,Zr=t=>(...e)=>({_$litDirective$:t,values:e});let Tr=class{constructor
232
232
  font-weight: ${Ji};
233
233
  letter-spacing: ${Qi};
234
234
  line-height: ${ta};
235
- text-transform: ${ea};
235
+ text-transform: ${oa};
236
236
  }
237
237
  `,ba=Nt`
238
238
  .ft-typography--button {
239
- font-family: ${oa};
239
+ font-family: ${ea};
240
240
  font-size: ${ra};
241
241
  font-weight: ${na};
242
242
  letter-spacing: ${ia};
@@ -247,16 +247,16 @@ const Fr=2,Zr=t=>(...e)=>({_$litDirective$:t,values:e});let Tr=class{constructor
247
247
  .ft-typography {
248
248
  vertical-align: inherit;
249
249
  }
250
- `,va=[Object.keys(Ce).map((t=>function(t){const e=Ce[t];return Nt`
250
+ `,va=[Object.keys(Eo).map((t=>function(t){const o=Eo[t];return Nt`
251
251
  .ft-typography--${wt(t)} {
252
- font-family: ${e.fontFamily};
253
- font-size: ${e.fontSize};
254
- font-weight: ${e.fontWeight};
255
- letter-spacing: ${e.letterSpacing};
256
- line-height: ${e.lineHeight};
257
- text-transform: ${e.textCase};
252
+ font-family: ${o.fontFamily};
253
+ font-size: ${o.fontSize};
254
+ font-weight: ${o.fontWeight};
255
+ letter-spacing: ${o.letterSpacing};
256
+ line-height: ${o.lineHeight};
257
+ text-transform: ${o.textCase};
258
258
  }
259
- `}(t)))];var Oa=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Sa extends Pe{constructor(){super(...arguments),this.variant=Jn.body1}render(){return this.element?Xn`
259
+ `}(t)))];var Oa=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Sa extends Do{constructor(){super(...arguments),this.variant=Jn.body1}render(){return this.element?Xn`
260
260
  <${qn(this.element)}
261
261
  class="ft-typography ft-typography--${this.variant}">
262
262
  <slot></slot>
@@ -269,41 +269,41 @@ const Fr=2,Zr=t=>(...e)=>({_$litDirective$:t,values:e});let Tr=class{constructor
269
269
  * Copyright 2017 Google LLC
270
270
  * SPDX-License-Identifier: BSD-3-Clause
271
271
  */
272
- class wa extends Tr{constructor(t){if(super(t),this.et=et,t.type!==Fr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===tt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}wa.directiveName="unsafeHTML",wa.resultType=1;const Na=Zr(wa);
272
+ class wa extends Tr{constructor(t){if(super(t),this.et=ot,t.type!==Fr)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===tt)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:[]}}}wa.directiveName="unsafeHTML",wa.resultType=1;const Na=Zr(wa);
273
273
  /**
274
274
  * @license
275
275
  * Copyright 2018 Google LLC
276
276
  * SPDX-License-Identifier: BSD-3-Clause
277
- */function xa(t){var e,o,r,n,i;return(null!==(n=null!==(o=null===(e=t.map)||void 0===e?void 0:e.openMode)&&void 0!==o?o:null===(r=t.topic)||void 0===r?void 0:r.openMode)&&void 0!==n?n:null===(i=t.document)||void 0===i?void 0:i.openMode)===hn.EXTERNAL}function Ca(t,e){return(t=>t??et)(e&&xa(t)?"blank":void 0)}class Ea extends CustomEvent{constructor(t,e){super("ft-search-result-click",{detail:{result:t,rank:e},bubbles:!0,composed:!0})}}class Ra extends _n{render(){var t;return this.result?ie`
278
- <a href="${this.result?function(t){var e,o,r,n,i;if(xa(t))return null!==(n=null!==(o=null===(e=t.map)||void 0===e?void 0:e.originUrl)&&void 0!==o?o:null===(r=t.topic)||void 0===r?void 0:r.originUrl)&&void 0!==n?n:null===(i=t.document)||void 0===i?void 0:i.originUrl;switch(t.type){case un.MAP:return t.map.readerUrl;case un.DOCUMENT:return t.document.viewerUrl;case un.TOPIC:return t.topic.readerUrl}return""}(this.result):""}" @click=${this.onResultClick} target="${Ca(this.result,null===(t=this.stateManager)||void 0===t?void 0:t.openExternalDocumentInNewTab)}">
277
+ */function xa(t){var o,e,r,n,i;return(null!==(n=null!==(e=null===(o=t.map)||void 0===o?void 0:o.openMode)&&void 0!==e?e:null===(r=t.topic)||void 0===r?void 0:r.openMode)&&void 0!==n?n:null===(i=t.document)||void 0===i?void 0:i.openMode)===hn.EXTERNAL}function Ca(t,o){return(t=>t??ot)(o&&xa(t)?"blank":void 0)}class Ea extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class Ra extends _n{render(){var t;return this.result?io`
278
+ <a href="${this.result?function(t){var o,e,r,n,i;if(xa(t))return null!==(n=null!==(e=null===(o=t.map)||void 0===o?void 0:o.originUrl)&&void 0!==e?e:null===(r=t.topic)||void 0===r?void 0:r.originUrl)&&void 0!==n?n:null===(i=t.document)||void 0===i?void 0:i.originUrl;switch(t.type){case un.MAP:return t.map.readerUrl;case un.DOCUMENT:return t.document.viewerUrl;case un.TOPIC:return t.topic.readerUrl}return""}(this.result):""}" @click=${this.onResultClick} target="${Ca(this.result,null===(t=this.stateManager)||void 0===t?void 0:t.openExternalDocumentInNewTab)}">
279
279
  <ft-typography variant="title" part="text">${Na(this.selectTitle(this.result))}</ft-typography>
280
280
  </a>
281
- `:se}onResultClick(){this.dispatchEvent(new Ea(this.result,this.rank))}selectTitle(t){switch(t.type){case"MAP":return t.map.htmlTitle;case"DOCUMENT":return t.document.htmlTitle;case"TOPIC":return t.topic.htmlTitle}return""}}Ra.elementDefinitions={"ft-typography":Sa},Ra.styles=Hn,W("ft-search-result-title")(Ra);const Ua=Ne.create("--ft-sra-highlight-background-color","","COLOR","transparent"),Ia=Nt`
281
+ `:so}onResultClick(){this.dispatchEvent(new Ea(this.result,this.rank))}selectTitle(t){switch(t.type){case"MAP":return t.map.htmlTitle;case"DOCUMENT":return t.document.htmlTitle;case"TOPIC":return t.topic.htmlTitle}return""}}Ra.elementDefinitions={"ft-typography":Sa},Ra.styles=Hn,W("ft-search-result-title")(Ra);const Ua=xo.create("--ft-sra-highlight-background-color","","COLOR","transparent"),Ia=Nt`
282
282
  .kwicmatch {
283
283
  font-weight: 700;
284
284
  background-color: ${Ua};
285
285
  }
286
- `;class La extends _n{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?ie`
286
+ `;class La extends _n{render(){let t=this.result?this.selectAbstract(this.result):void 0;return t?io`
287
287
  <ft-typography variant="body1" part="text">${Na(t)}</ft-typography>
288
- `:ie`
288
+ `:io`
289
289
  <style>
290
290
  :host {
291
291
  display: none !important;
292
292
  }
293
293
  </style>
294
294
  `}selectAbstract(t){switch(t.type){case"MAP":return t.map.htmlExcerpt;case"DOCUMENT":return t.document.htmlExcerpt;case"TOPIC":return t.topic.htmlExcerpt}return""}}La.elementDefinitions={"ft-typography":Sa},La.styles=Ia,W("ft-search-result-abstract")(La);const Wa=Nt`
295
- `;var Aa=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};const ka=Symbol("i18nAttributes"),$a=Symbol("i18nProperties"),Ka=Symbol("i18nUnsubs");function Pa(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?xn:Nn}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);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 e,o;null===(e=this[ka])||void 0===e||e.forEach(((e,o)=>{var r;const n=this.getI18nAttributeValue(o);(null===(r=null==n?void 0:n.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,n,e)})),null===(o=this[$a])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[ka])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[$a])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[$a])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[ka])||void 0===o?void 0:o.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,e){t=t.toLowerCase(),this[Ka].has(t)||this[Ka].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Ka].forEach((t=>t())),this[Ka].clear()}}return e=Ka,Aa([U({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Da extends(Pa(Pe)){}class Ma extends(Pa(Ve)){}var ja=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class Fa extends Ma{constructor(){super(),this.editorMode=!1,this.addStore(mn)}render(){return this.key&&this.context?ie`
295
+ `;var Aa=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};const ka=Symbol("i18nAttributes"),$a=Symbol("i18nProperties"),Ka=Symbol("i18nUnsubs");function Pa(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?xn:Nn}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[ka])||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[$a])||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[ka])||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[$a])||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[$a])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[ka])||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[Ka].has(t)||this[Ka].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[Ka].forEach((t=>t())),this[Ka].clear()}}return o=Ka,Aa([U({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Da extends(Pa(Do)){}class Ma extends(Pa(qo)){}var ja=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class Fa extends Ma{constructor(){super(),this.editorMode=!1,this.addStore(mn)}render(){return this.key&&this.context?io`
296
296
  <span class="ft-i18n">
297
297
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
298
298
  </span>
299
- `:this.editorMode?"Select a context and a label key.":se}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}Fa.elementDefinitions={},Fa.styles=Wa,ja([je()],Fa.prototype,"editorMode",void 0),ja([U()],Fa.prototype,"context",void 0),ja([U()],Fa.prototype,"key",void 0),ja([A([])],Fa.prototype,"args",void 0),ja([U()],Fa.prototype,"defaultMessage",void 0);class Za{static build(t){return new Za(t)}static fromGwt(t){return new Za(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Nn.resolveMessage(this.name,e,...t)})}}W("ft-i18n")(Fa);const Ta=Za.build("searchResultsNumber");var za=function(t,e,o,r){for(var n,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(e,o,a):n(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};class _a extends(Pa(Kn)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>ie`
299
+ `:this.editorMode?"Select a context and a label key.":so}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:""})}}Fa.elementDefinitions={},Fa.styles=Wa,ja([Fo()],Fa.prototype,"editorMode",void 0),ja([U()],Fa.prototype,"context",void 0),ja([U()],Fa.prototype,"key",void 0),ja([A([])],Fa.prototype,"args",void 0),ja([U()],Fa.prototype,"defaultMessage",void 0);class Za{static build(t){return new Za(t)}static fromGwt(t){return new Za(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)=>Nn.resolveMessage(this.name,o,...t)})}}W("ft-i18n")(Fa);const Ta=Za.build("searchResultsNumber");var za=function(t,o,e,r){for(var n,i=arguments.length,a=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,e,a):n(o,e))||a);return i>3&&a&&Object.defineProperty(o,e,a),a};class _a extends(Pa(Kn)){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>io`
300
300
  <ft-search-result-title></ft-search-result-title>
301
301
  <ft-search-result-abstract></ft-search-result-abstract>
302
- `,this.selectedResultByCluster={},this.addI18nContext(Ta)}render(){if(this.displayNoResultsMessage&&null!=this.results&&0==this.results.length)return ie`
302
+ `,this.selectedResultByCluster={},this.addI18nContext(Ta)}render(){if(this.displayNoResultsMessage&&null!=this.results&&0==this.results.length)return io`
303
303
  <ft-typography part="no-results-message" variant="body1">${Ta.messages.results(0)}</ft-typography>
304
- `;const t=this.buildClusters();return Yr(t,(t=>t.id),((t,e)=>{var o;return ie`
305
- <ft-search-result-context .cluster=${t} index="${e}"
306
- @ft-search-result-cluster-change="${e=>this.onClusterChange(t.id,e.detail)}">
307
- ${this.renderResult(null!==(o=this.selectedResultByCluster[t.id])&&void 0!==o?o:t.entries[0],e)}
304
+ `;const t=this.buildClusters();return Yr(t,(t=>t.id),((t,o)=>{var e;return io`
305
+ <ft-search-result-context .cluster=${t} index="${o}"
306
+ @ft-search-result-cluster-change="${o=>this.onClusterChange(t.id,o.detail)}">
307
+ ${this.renderResult(null!==(e=this.selectedResultByCluster[t.id])&&void 0!==e?e:t.entries[0],o)}
308
308
  </ft-search-result-context>
309
- `}))}onClusterChange(t,e){this.selectedResultByCluster[t]=e}buildClusters(){switch(this.clusterPolicy){case"display-first-result":return this.buildFullClusters();case"display-all-results":return this.buildAllResultsClusters()}}buildFullClusters(){var t,e;return null!==(e=null===(t=this.results)||void 0===t?void 0:t.map((t=>({id:this.clusterId(t.entries[0]),entries:t.entries}))))&&void 0!==e?e:[]}buildAllResultsClusters(){var t,e;return null!==(e=null===(t=this.results)||void 0===t?void 0:t.flatMap((t=>t.entries.map((t=>({id:this.clusterId(t),entries:[t]}))))))&&void 0!==e?e:[]}clusterId(t){var e,o,r,n,i;return null!==(n=null!==(o=null===(e=t.map)||void 0===e?void 0:e.mapId)&&void 0!==o?o:null===(r=t.topic)||void 0===r?void 0:r.tocId)&&void 0!==n?n:null===(i=t.document)||void 0===i?void 0:i.documentId}}_a.styles=Xr,za([U({type:String,attribute:"cluster-policy"})],_a.prototype,"clusterPolicy",void 0),za([U({type:Boolean})],_a.prototype,"displayNoResultsMessage",void 0),za([U({attribute:!1})],_a.prototype,"renderResult",void 0),za([je()],_a.prototype,"results",void 0),W("ft-search-results")(_a),t.FtSearchResults=_a,t.FtSearchResultsCssVariables={},t.styles=Xr}({});
309
+ `}))}onClusterChange(t,o){this.selectedResultByCluster[t]=o}buildClusters(){switch(this.clusterPolicy){case"display-first-result":return this.buildFullClusters();case"display-all-results":return this.buildAllResultsClusters()}}buildFullClusters(){var t,o;return null!==(o=null===(t=this.results)||void 0===t?void 0:t.map((t=>({id:this.clusterId(t.entries[0]),entries:t.entries}))))&&void 0!==o?o:[]}buildAllResultsClusters(){var t,o;return null!==(o=null===(t=this.results)||void 0===t?void 0:t.flatMap((t=>t.entries.map((t=>({id:this.clusterId(t),entries:[t]}))))))&&void 0!==o?o:[]}clusterId(t){var o,e,r,n,i;return null!==(n=null!==(e=null===(o=t.map)||void 0===o?void 0:o.mapId)&&void 0!==e?e:null===(r=t.topic)||void 0===r?void 0:r.tocId)&&void 0!==n?n:null===(i=t.document)||void 0===i?void 0:i.documentId}}_a.styles=Xr,za([U({type:String,attribute:"cluster-policy"})],_a.prototype,"clusterPolicy",void 0),za([U({type:Boolean})],_a.prototype,"displayNoResultsMessage",void 0),za([U({attribute:!1})],_a.prototype,"renderResult",void 0),za([Fo()],_a.prototype,"results",void 0),W("ft-search-results")(_a),t.FtSearchResults=_a,t.FtSearchResultsCssVariables={},t.styles=Xr}({});