@fluid-topics/ft-search-context 1.0.63 → 1.1.0

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.
@@ -28,7 +28,7 @@ export declare class FtSearchContext extends FtLitElementRedux implements FtSear
28
28
  private _stateManager?;
29
29
  private get stateManager();
30
30
  constructor();
31
- protected render(): import("lit-html").TemplateResult<1>;
31
+ protected render(): import("lit").TemplateResult<1>;
32
32
  protected update(props: PropertyValues): void;
33
33
  connectedCallback(): void;
34
34
  protected contentAvailableCallback(props: PropertyValues): void;
@@ -1,57 +1,73 @@
1
1
  !function(t){
2
2
  /**
3
- * @license
4
- * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
- * This code may only be used under the BSD style license found at
6
- * http://polymer.github.io/LICENSE.txt
7
- * The complete set of authors may be found at
8
- * http://polymer.github.io/AUTHORS.txt
9
- * The complete set of contributors may be found at
10
- * http://polymer.github.io/CONTRIBUTORS.txt
11
- * Code distributed by Google as part of the polymer project is also
12
- * subject to an additional IP rights grant found at
13
- * http://polymer.github.io/PATENTS.txt
14
- *
15
- * @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
16
- */
17
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,r=window.customElements.get,e=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);h(n,c,s);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(n,l);let f=r.call(e,t);f||(f=u(t),o.call(e,t,f)),this===window.customElements&&(a.set(n,l),l.standInClass=f);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)i.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){b.push(this),e.upgrade.apply(e,arguments),b.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 r=this._whenDefinedPromises.get(t);return void 0===r&&(r={},r.promise=new Promise((t=>r.resolve=t)),this._whenDefinedPromises.set(t,r)),r.promise}_upgradeWhenDefined(t,o,r){let e=this._awaitingUpgrade.get(o);e||this._awaitingUpgrade.set(o,e=new Set),r?e.add(t):e.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const r=a.get(this.constructor);if(!r)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],r.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),n.set(o,r),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=b[b.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),l(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},u=o=>class{static get formAssociated(){return!0}constructor(){const r=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(r,HTMLElement.prototype);const e=f(r)||window.customElements,n=e._getDefinition(o);return n?p(r,n):i.set(r,e),r}connectedCallback(){const t=n.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=n.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=n.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=n.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=n.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=n.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=n.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,r)=>{if(0===o.size||void 0===r)return;const e=t.prototype.setAttribute;e&&(t.prototype.setAttribute=function(t,n){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);e.call(this,i,n),r.call(this,i,t,n)}else e.call(this,i,n)});const n=t.prototype.removeAttribute;n&&(t.prototype.removeAttribute=function(t){const e=t.toLowerCase();if(o.has(e)){const t=this.getAttribute(e);n.call(this,e),r.call(this,e,t,null)}else n.call(this,e)})},d=o=>{const r=Object.getPrototypeOf(o);if(r!==window.HTMLElement)return r===t||"HTMLElement"===r?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(r)},p=(t,o,r=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.observedAttributes.forEach((r=>{t.hasAttribute(r)&&o.attributeChangedCallback.call(t,r,null,t.getAttribute(r))})),r&&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 b=[document];const g=(t,o,r=void 0)=>{const e=(r?Object.getPrototypeOf(r):t.prototype)[o];t.prototype[o]=function(){b.push(this);const t=e.apply(r||this,arguments);return void 0!==t&&s.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,o)=>{const r=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...r,set(t){b.push(this),r.set.call(this,t),b.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,r=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...r){const e=o.call(this,...r);return t.set(e,this),e},r.forEach((o=>{const r=window.ElementInternals.prototype,e=r[o];r[o]=function(...o){const r=t.get(this);if(!0!==n.get(r).formAssociated)throw new DOMException(`Failed to execute ${e} on 'ElementInternals': The target element is not a form-associated custom element.`);e?.call(this,...o)}}));class e 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,r)=>{const e=t.getAttribute("name"),n=o.get(e)||[];this[+r]=t,n.push(t),o.set(e,n)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new e(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 r of t){const t=n.get(r);t&&!0!==t.formAssociated||o.push(r)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(j){const t=window.customElements.define;window.customElements.define=(o,r,e)=>{if(null!==r)try{t.bind(window.customElements)(o,r,e)}catch(t){console.info(o,r,e,t)}}}class o extends Error{constructor(t,o,r){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=r}}class r extends Promise{constructor(t){super(((r,e)=>t((t=>{this.isCanceled?e(new o("Promise has been canceled",t)):r(t)}),(t=>{this.isCanceled?e(new o("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const e=t=>new r(((o,r)=>t.then(o).catch(r)));class n{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 r&&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=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 i{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 r=[...this.callbacks];this.callbacks=[];const e=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 r)try{await t()}catch(t){return void e(t)}n(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
3
+ * @license
4
+ * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
+ * This code may only be used under the BSD style license found at
6
+ * http://polymer.github.io/LICENSE.txt
7
+ * The complete set of authors may be found at
8
+ * http://polymer.github.io/AUTHORS.txt
9
+ * The complete set of contributors may be found at
10
+ * http://polymer.github.io/CONTRIBUTORS.txt
11
+ * Code distributed by Google as part of the polymer project is also
12
+ * subject to an additional IP rights grant found at
13
+ * http://polymer.github.io/PATENTS.txt
14
+ */
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,n=new WeakMap,i=new WeakMap,a=new WeakMap,s=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=n.prototype.attributeChangedCallback,c=new Set(n.observedAttributes||[]);u(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 d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)i.delete(t),p(t,l,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(n),this._whenDefinedPromises.delete(t)),n}upgrade(){b.push(this),r.upgrade.apply(r,arguments),b.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=b[b.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?p(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)}},u=(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)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},p=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let b=[document];const g=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){b.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),b.pop(),t}};g(ShadowRoot,"createElement",document),g(ShadowRoot,"importNode",document),g(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){b.push(this),e.set.call(this,t),b.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(Co){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}}const r=t=>new e(((o,e)=>t.then(o).catch(e)));class n{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,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const n=r(o());return this.content[t]=n,n.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class i{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}}
18
16
  /**
19
- * @license
20
- * Copyright 2017 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */const a=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(r){r.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(r){r.createProperty(o.key,t)}};function s(t){return(o,r)=>void 0!==r?((t,o,r)=>{o.constructor.createProperty(r,t)})(t,o,r):a(t,o)
17
+ * @license
18
+ * Copyright 2019 Google LLC
19
+ * SPDX-License-Identifier: BSD-3-Clause
20
+ */const a=globalThis,s=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,c=Symbol(),l=new WeakMap;const f=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==c)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(s&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=l.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&l.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,c),h=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return f(o)})(t):t
23
21
  /**
24
- * @license
25
- * Copyright 2017 Google LLC
26
- * SPDX-License-Identifier: BSD-3-Clause
27
- */}function c(t){return s({...t,state:!0})}
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */,{is:u,defineProperty:d,getOwnPropertyDescriptor:p,getOwnPropertyNames:y,getOwnPropertySymbols:b,getPrototypeOf:g}=Object,m=globalThis,O=m.trustedTypes,v=O?O.emptyScript:"",w=m.reactiveElementPolyfillSupport,N=(t,o)=>t,S={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}},E=(t,o)=>!u(t,o),C={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:E};Symbol.metadata??=Symbol("metadata"),m.litPropertyMetadata??=new WeakMap;let R=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=C){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&&d(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=p(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)??C}static _$Ei(){if(this.hasOwnProperty(N("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(N("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(N("properties"))){const t=this.properties,o=[...y(t),...b(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(h(t))}else void 0!==t&&o.push(h(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(s)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=a.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:S).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:S;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??E)(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){}};R.elementStyles=[],R.shadowRootOptions={mode:"open"},R[N("elementProperties")]=new Map,R[N("finalized")]=new Map,w?.({ReactiveElement:R}),(m.reactiveElementVersions??=[]).push("2.0.2");
28
26
  /**
29
- * @license
30
- * Copyright 2021 Google LLC
31
- * SPDX-License-Identifier: BSD-3-Clause
32
- */var l;null===(l=window.HTMLSlotElement)||void 0===l||l.prototype.assignedElements;const f=t=>new Promise((o=>setTimeout(o,t)));function u(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 r,e,n;if(Array.isArray(t)){if((r=t.length)!=o.length)return!1;for(e=r;0!=e--;)if(!u(t[e],o[e]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(e of t.entries())if(!o.has(e[0]))return!1;for(e of t.entries())if(!u(e[1],o.get(e[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(e of t.entries())if(!o.has(e[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((r=(n=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(e=r;0!=e--;)if(!Object.prototype.hasOwnProperty.call(o,n[e]))return!1;for(e=r;0!=e--;){var i=n[e];if(!u(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const h=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function d(t,o){const r=()=>JSON.parse(JSON.stringify(t));return s({type:Object,converter:{fromAttribute:t=>{if(null==t)return r();try{return JSON.parse(t)}catch{return r()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!u(t,o),...null!=o?o:{}})}
27
+ * @license
28
+ * Copyright 2017 Google LLC
29
+ * SPDX-License-Identifier: BSD-3-Clause
30
+ */
31
+ const x={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:E},U=(t=x,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 I(t){return(o,e)=>"object"==typeof e?U(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)
33
32
  /**
34
- * @license
35
- * Copyright 2019 Google LLC
36
- * SPDX-License-Identifier: BSD-3-Clause
37
- */const p=window,y=p.ShadowRoot&&(void 0===p.ShadyCSS||p.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,b=Symbol(),g=new WeakMap;let m=class{constructor(t,o,r){if(this._$cssResult$=!0,r!==b)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(y&&void 0===t){const r=void 0!==o&&1===o.length;r&&(t=g.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&g.set(o,t))}return t}toString(){return this.cssText}};const v=t=>new m("string"==typeof t?t:t+"",void 0,b),O=(t,...o)=>{const r=1===t.length?t[0]:o.reduce(((o,r,e)=>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.")})(r)+t[e+1]),t[0]);return new m(r,t,b)},N=(t,o)=>{y?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const r=document.createElement("style"),e=p.litNonce;void 0!==e&&r.setAttribute("nonce",e),r.textContent=o.cssText,t.appendChild(r)}))},w=y?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const r of t.cssRules)o+=r.cssText;return v(o)})(t):t
33
+ * @license
34
+ * Copyright 2017 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */}function L(t){return I({...t,state:!0,attribute:!1})}const A=t=>new Promise((o=>setTimeout(o,t)));function k(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,n;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!k(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(!k(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(!k(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 K(t,o){const e=()=>JSON.parse(JSON.stringify(t));return I({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!k(t,o),...null!=o?o:{}})}
38
37
  /**
39
- * @license
40
- * Copyright 2017 Google LLC
41
- * SPDX-License-Identifier: BSD-3-Clause
42
- */;var S;const E=window,C=E.trustedTypes,R=C?C.emptyScript:"",x=E.reactiveElementPolyfillSupport,U={toAttribute(t,o){switch(o){case Boolean:t=t?R:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let r=t;switch(o){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},L=(t,o)=>o!==t&&(o==o||t==t),I={attribute:!0,type:String,converter:U,reflect:!1,hasChanged:L};let A=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,r)=>{const e=this._$Ep(r,o);void 0!==e&&(this._$Ev.set(e,r),t.push(e))})),t}static createProperty(t,o=I){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const r="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,r,o);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,o,r){return{get(){return this[o]},set(e){const n=this[t];this[o]=e,this.requestUpdate(t,n,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||I}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const r of o)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)o.unshift(w(t))}else void 0!==t&&o.push(w(t));return o}static _$Ep(t,o){const r=o.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,r;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return N(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,r){this._$AK(t,r)}_$EO(t,o,r=I){var e;const n=this.constructor._$Ep(t,r);if(void 0!==n&&!0===r.reflect){const i=(void 0!==(null===(e=r.converter)||void 0===e?void 0:e.toAttribute)?r.converter:U).toAttribute(o,r.type);this._$El=t,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$El=null}}_$AK(t,o){var r;const e=this.constructor,n=e._$Ev.get(t);if(void 0!==n&&this._$El!==n){const t=e.getPropertyOptions(n),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(r=t.converter)||void 0===r?void 0:r.fromAttribute)?t.converter:U;this._$El=n,this[n]=i.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,r){let e=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||L)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===r.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const r=this._$AL;try{o=this.shouldUpdate(r),o?(this.willUpdate(r),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(r)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(r)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
38
+ * @license
39
+ * Copyright 2017 Google LLC
40
+ * SPDX-License-Identifier: BSD-3-Clause
41
+ */const j=globalThis,P=j.trustedTypes,M=P?P.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,T="?"+Z,_=`<${T}>`,B=document,D=()=>B.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,z=Array.isArray,G="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,Y=/>/g,V=RegExp(`>|${G}(?:([^\\s"'>=/]+)(${G}*=${G}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),et=new WeakMap,rt=B.createTreeWalker(B,129);function nt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==M?M.createHTML(o):o}let it=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]=((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=q:void 0!==c[1]?a=Y:void 0!==c[2]?(Q.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=V):void 0!==c[3]&&(a=V):a===V?">"===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]?V:'"'===c[3]?X:J):a===X||a===J?a=V:a===q||a===Y?a=H:(a=V,n=void 0);const h=a===V&&t[o+1].startsWith("/>")?" ":"";i+=a===H?e+_:l>=0?(r.push(s),e.slice(0,l)+F+e.slice(l)+Z+h):e+Z+(-2===l?o:h)}return[nt(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(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(F)){const o=f[a++],e=n.getAttribute(t).split(Z),r=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:r[2],strings:e,ctor:"."===r[1]?lt:"?"===r[1]?ft:"@"===r[1]?ht:ct}),n.removeAttribute(t)}else t.startsWith(Z)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(Q.test(n.tagName)){const t=n.textContent.split(Z),o=t.length-1;if(o>0){n.textContent=P?P.emptyScript:"";for(let e=0;e<o;e++)n.append(t[e],D()),rt.nextNode(),c.push({type:2,index:++i});n.append(t[o],D())}}}else if(8===n.nodeType)if(n.data===T)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(Z,t+1));)c.push({type:7,index:i}),t+=Z.length-1}i++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function at(t,o,e=t,r){if(o===tt)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=$(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=at(t,n._$AS(t,o.values),n,r)),o}let st=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=at(this,t,o),$(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=>z(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!==ot&&$(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.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=it.createElement(nt(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??B).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 st(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new ut(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=rt.nextNode(),i++)}return rt.currentNode=B,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=et.get(t.strings);return void 0===o&&et.set(t.strings,o=new it(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(D()),this.k(D()),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))}},ct=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=at(this,t,o,0),i=!$(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=at(this,r[e+a],o,a),s===tt&&(s=this._$AH[a]),i||=!$(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??"")}},lt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},ft=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},ht=class extends ct{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=at(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)}},ut=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){at(this,t)}};const dt=j.litHtmlPolyfillSupport;dt?.(it,st),(j.litHtmlVersions??=[]).push("3.1.0");
43
42
  /**
44
- * @license
45
- * Copyright 2017 Google LLC
46
- * SPDX-License-Identifier: BSD-3-Clause
47
- */
48
- var W;A.finalized=!0,A.elementProperties=new Map,A.elementStyles=[],A.shadowRootOptions={mode:"open"},null==x||x({ReactiveElement:A}),(null!==(S=E.reactiveElementVersions)&&void 0!==S?S:E.reactiveElementVersions=[]).push("1.6.1");const k=window,K=k.trustedTypes,j=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,M="?"+Z,P=`<${M}>`,T=document,B=()=>T.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,z="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,H=/>/g,q=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,V=/"/g,X=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...r)=>({_$litType$:t,strings:o,values:r}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,rt=T.createTreeWalker(T,129,null,!1),et=(t,o)=>{const r=t.length-1,e=[];let n,i=2===o?"<svg>":"",a=$;for(let o=0;o<r;o++){const r=t[o];let s,c,l=-1,f=0;for(;f<r.length&&(a.lastIndex=f,c=a.exec(r),null!==c);)f=a.lastIndex,a===$?"!--"===c[1]?a=G:void 0!==c[1]?a=H:void 0!==c[2]?(X.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=q):void 0!==c[3]&&(a=q):a===q?">"===c[0]?(a=null!=n?n:$,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]?V:Y):a===V||a===Y?a=q:a===G||a===H?a=$:(a=q,n=void 0);const u=a===q&&t[o+1].startsWith("/>")?" ":"";i+=a===$?r+P:l>=0?(e.push(s),r.slice(0,l)+F+r.slice(l)+Z+u):r+Z+(-2===l?(e.push(void 0),o):u)}const s=i+(t[r]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==j?j.createHTML(s):s,e]};class nt{constructor({strings:t,_$litType$:o},r){let e;this.parts=[];let n=0,i=0;const a=t.length-1,s=this.parts,[c,l]=et(t,o);if(this.el=nt.createElement(c,r),rt.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(e=rt.nextNode())&&s.length<a;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const o of e.getAttributeNames())if(o.endsWith(F)||o.startsWith(Z)){const r=l[i++];if(t.push(o),void 0!==r){const t=e.getAttribute(r.toLowerCase()+F).split(Z),o=/([.?@])?(.*)/.exec(r);s.push({type:1,index:n,name:o[2],strings:t,ctor:"."===o[1]?ct:"?"===o[1]?ft:"@"===o[1]?ut:st})}else s.push({type:6,index:n})}for(const o of t)e.removeAttribute(o)}if(X.test(e.tagName)){const t=e.textContent.split(Z),o=t.length-1;if(o>0){e.textContent=K?K.emptyScript:"";for(let r=0;r<o;r++)e.append(t[r],B()),rt.nextNode(),s.push({type:2,index:++n});e.append(t[o],B())}}}else if(8===e.nodeType)if(e.data===M)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(Z,t+1));)s.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,o){const r=T.createElement("template");return r.innerHTML=t,r}}function it(t,o,r=t,e){var n,i,a,s;if(o===Q)return o;let c=void 0!==e?null===(n=r._$Co)||void 0===n?void 0:n[e]:r._$Cl;const l=D(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==l&&(null===(i=null==c?void 0:c._$AO)||void 0===i||i.call(c,!1),void 0===l?c=void 0:(c=new l(t),c._$AT(t,r,e)),void 0!==e?(null!==(a=(s=r)._$Co)&&void 0!==a?a:s._$Co=[])[e]=c:r._$Cl=c),void 0!==c&&(o=it(t,c._$AS(t,o.values),c,e)),o}let at=class t{constructor(t,o,r,e){var n;this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=r,this.options=e,this._$Cp=null===(n=null==e?void 0:e.isConnected)||void 0===n||n}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=it(this,t,o),D(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(T.createTextNode(t)),this._$AH=t}g(t){var o;const{values:r,_$litType$:e}=t,n="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=nt.createElement(e.h,this.options)),e);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===n)this._$AH.v(r);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){var o;const{el:{content:r},parts:e}=this._$AD,n=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:T).importNode(r,!0);rt.currentNode=n;let i=rt.nextNode(),a=0,s=0,c=e[0];for(;void 0!==c;){if(a===c.index){let o;2===c.type?o=new at(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new ht(i,this,t)),this._$AV.push(o),c=e[++s]}a!==(null==c?void 0:c.index)&&(i=rt.nextNode(),a++)}return n}v(t){let o=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,o),o+=r.strings.length-2):r._$AI(t[o])),o++}}(n,this),o=t.u(this.options);t.v(r),this.$(o),this._$AH=t}}_$AC(t){let o=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new nt(t)),o}T(o){_(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let e,n=0;for(const i of o)n===r.length?r.push(e=new t(this.k(B()),this.k(B()),this,this.options)):e=r[n],e._$AI(i),n++;n<r.length&&(this._$AR(e&&e._$AB.nextSibling,n),r.length=n)}_$AR(t=this._$AA.nextSibling,o){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}},st=class{constructor(t,o,r,e,n){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=e,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=tt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,r,e){const n=this.strings;let i=!1;if(void 0===n)t=it(this,t,o,0),i=!D(t)||t!==this._$AH&&t!==Q,i&&(this._$AH=t);else{const e=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=it(this,e[r+a],o,a),s===Q&&(s=this._$AH[a]),i||(i=!D(s)||s!==this._$AH[a]),s===tt?t=tt:t!==tt&&(t+=(null!=s?s:"")+n[a+1]),this._$AH[a]=s}i&&!e&&this.j(t)}j(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},ct=class extends st{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===tt?void 0:t}};const lt=K?K.emptyScript:"";let ft=class extends st{constructor(){super(...arguments),this.type=4}j(t){t&&t!==tt?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}},ut=class extends st{constructor(t,o,r,e,n){super(t,o,r,e,n),this.type=5}_$AI(t,o=this){var r;if((t=null!==(r=it(this,t,o,0))&&void 0!==r?r:tt)===Q)return;const e=this._$AH,n=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==tt&&(e===tt||n);n&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}},ht=class{constructor(t,o,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){it(this,t)}};const dt=k.litHtmlPolyfillSupport;null==dt||dt(nt,at),(null!==(W=k.litHtmlVersions)&&void 0!==W?W:k.litHtmlVersions=[]).push("2.7.3");
43
+ * @license
44
+ * Copyright 2019 Google LLC
45
+ * SPDX-License-Identifier: BSD-3-Clause
46
+ */
47
+ const pt=globalThis,yt=pt.ShadowRoot&&(void 0===pt.ShadyCSS||pt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bt=Symbol(),gt=new WeakMap;let mt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==bt)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(yt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=gt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&gt.set(o,t))}return t}toString(){return this.cssText}};const Ot=t=>new mt("string"==typeof t?t:t+"",void 0,bt),vt=(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 mt(e,t,bt)},wt=yt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Ot(o)})(t):t
49
48
  /**
50
- * @license
51
- * Copyright 2017 Google LLC
52
- * SPDX-License-Identifier: BSD-3-Clause
53
- */
54
- var pt,yt;let bt=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const r=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=r.firstChild),r}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,r)=>{var e,n;const i=null!==(e=null==r?void 0:r.renderBefore)&&void 0!==e?e:o;let a=i._$litPart$;if(void 0===a){const t=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;i._$litPart$=a=new at(o.insertBefore(B(),t),t,void 0,null!=r?r:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Q}};bt.finalized=!0,bt._$litElement$=!0,null===(pt=globalThis.litElementHydrateSupport)||void 0===pt||pt.call(globalThis,{LitElement:bt});const gt=globalThis.litElementPolyfillSupport;null==gt||gt({LitElement:bt}),(null!==(yt=globalThis.litElementVersions)&&void 0!==yt?yt:globalThis.litElementVersions=[]).push("3.3.2");const mt=t=>"string"==typeof t?v(t):t;class vt{static create(t,o,r,e){const n=t=>mt(null!=t?t:e),i=O`var(${mt(t)}, ${n(e)})`;return i.name=t,i.description=t,i.category=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>O`var(${mt(t)}, ${n(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>e,i}static extend(t,o,r,e){const n=t=>r.get(null!=t?t:e),i=O`var(${mt(t)}, ${n(e)})`;return i.name=t,i.description=o,i.category=r.category,i.fallbackVariable=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>O`var(${mt(t)}, ${n(o)})`,i.breadcrumb=()=>[r.name,...r.breadcrumb()],i.lastResortDefaultValue=()=>null!=e?e:r.lastResortDefaultValue(),i}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):mt(null!=o?o:t.lastResortDefaultValue()),e=O`var(${mt(t.name)}, ${r(t.defaultValue)})`;return e.name=t.name,e.category=t.category,e.fallbackVariable=t.fallbackVariable,e.defaultValue=t.defaultValue,e.context=o,e.defaultCssValue=r,e.get=o=>O`var(${mt(t.name)}, ${r(o)})`,e.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],e.lastResortDefaultValue=()=>t.lastResortDefaultValue(),e}}const Ot={colorWhite:vt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:vt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:vt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:vt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:vt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:vt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:vt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:vt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:vt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:vt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:vt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:vt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:vt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:vt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:vt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:vt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:vt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:vt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:vt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:vt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:vt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:vt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:vt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:vt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:vt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:vt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:vt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:vt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:vt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:vt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:vt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:vt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:vt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:vt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:vt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:vt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:vt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:vt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:vt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:vt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:vt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:vt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:vt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:vt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:vt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:vt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:vt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:vt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:vt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:vt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:vt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:vt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:vt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:vt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:vt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:vt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:vt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:vt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:vt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:vt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:vt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:vt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:vt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:vt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:vt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:vt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:vt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:vt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:vt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:vt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:vt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:vt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:vt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:vt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:vt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:vt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:vt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:vt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:vt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:vt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:vt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:vt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:vt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:vt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:vt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:vt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:vt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:vt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:vt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:vt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:vt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:vt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:vt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:vt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:vt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:vt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:vt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:vt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:vt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:vt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:vt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:vt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:vt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:vt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:vt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:vt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:vt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:vt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:vt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:vt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:vt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:vt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:vt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:vt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:vt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:vt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:vt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:vt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:vt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:vt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:vt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:vt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:vt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:vt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:vt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:vt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:vt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:vt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:vt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:vt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:vt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:vt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:vt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:vt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:vt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:vt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:vt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:vt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:vt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:vt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:vt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:vt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:vt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:vt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:vt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:vt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:vt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:vt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:vt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:vt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:vt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:vt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:vt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:vt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:vt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:vt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:vt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:vt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:vt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:vt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:vt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:vt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:vt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:vt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:vt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:vt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:vt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:vt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:vt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:vt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:vt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:vt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:vt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:vt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:vt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:vt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:vt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:vt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:vt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:vt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:vt.create("--ft-opacity-0","","NUMBER","0"),opacity8:vt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:vt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:vt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:vt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:vt.create("--ft-opacity-80","","NUMBER","0.8")};vt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-display-lineHeight","","SIZE","120%"),vt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),vt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),vt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-display-textCase","","UNKNOWN","none"),vt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),vt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),vt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),vt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),vt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),vt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),vt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),vt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),vt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),vt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),vt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),vt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),vt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),vt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),vt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),vt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),vt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),vt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),vt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),vt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),vt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),vt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),vt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),vt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),vt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),vt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),vt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),vt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),vt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),vt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),vt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),vt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),vt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),vt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),vt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),vt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),vt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),vt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),vt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const Nt={backgroundActionPrimary:vt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ot.colorBrand0),backgroundErrorPrimary:vt.extend("--ft-background-error-primary","Used as background of error components.",Ot.colorRed0),backgroundErrorSubtle:vt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ot.colorRed10),backgroundInfoPrimary:vt.extend("--ft-background-info-primary","Used as background of information components.",Ot.colorCyan200),backgroundInfoSubtle:vt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ot.colorCyan10),backgroundWarningPrimary:vt.extend("--ft-background-warning-primary","Used as background of warning components.",Ot.colorOrange300),backgroundWarningSubtle:vt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ot.colorOrange10),backgroundSuccessPrimary:vt.extend("--ft-background-success-primary","Used as background of success components.",Ot.colorGreen200),backgroundSuccessSubtle:vt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ot.colorGreen10),backgroundGlobalSurface:vt.extend("--ft-background-global-surface","Used as app background.",Ot.colorWhite),backgroundGlobalOnSurface:vt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ot.colorGray10),backgroundGlobalOnSurfaceDark:vt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ot.colorGray30),contentActionPrimary:vt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ot.colorBrand0),contentWarningPrimary:vt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ot.colorOrange300),contentWarningIconOnly:vt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ot.colorOrange0),contentErrorPrimary:vt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ot.colorRed0),contentErrorIconOnly:vt.extend("--ft-content-error-icon-only","Used on error status icons alone",Ot.colorRed0),contentInfoPrimary:vt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ot.colorCyan200),contentInfoIconOnly:vt.extend("--ft-content-info-icon-only","Used on info status icons alone",Ot.colorCyan0),contentSuccessIconOnly:vt.extend("--ft-content-success-icon-only","Used on success status icons alone",Ot.colorGreen0),contentSuccessPrimary:vt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ot.colorGreen200),contentGlobalPrimary:vt.extend("--ft-content-global-primary","Used for main content on the page.",Ot.colorGray500),contentGlobalSecondary:vt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ot.colorGray200),contentGlobalSubtle:vt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ot.colorGray0),contentGlobalOnColor:vt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ot.colorWhite),borderActionPrimary:vt.extend("--ft-border-action-primary","Used as border for primary action components.",Ot.colorBrand0),borderActionFocusRing:vt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ot.colorCyan0),borderWarningPrimary:vt.extend("--ft-border-warning-primary","Used as border for warning components.",Ot.colorOrange30),borderSuccessPrimary:vt.extend("--ft-border-success-primary","Used as border for success components.",Ot.colorGreen30),borderErrorPrimary:vt.extend("--ft-border-error-primary","Used as border for error components.",Ot.colorRed30),borderInfoPrimary:vt.extend("--ft-border-info-primary","Used as border for information components.",Ot.colorCyan30),borderGlobalSubtle:vt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ot.colorGray30),borderGlobalPrimary:vt.extend("--ft-border-global-primary","Used as border for element like input.",Ot.colorGray50),borderInputPrimary:vt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ot.colorGray80)};vt.create("--ft-button-large-height","","SIZE","40px"),vt.extend("--ft-button-large-horizontal-padding","",Ot.spacing4),vt.extend("--ft-button-large-gap","",Ot.spacing2),vt.extend("--ft-button-large-border-radius","",Ot.borderRadiusS),vt.extend("--ft-button-large-icon-size","",Ot.iconSize3),vt.create("--ft-button-large-border-width","","SIZE","1px"),vt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),vt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),vt.create("--ft-button-large-icon-only-width","","SIZE","40px"),vt.create("--ft-button-small-height","","SIZE","30px"),vt.extend("--ft-button-small-horizontal-padding","",Ot.spacing3),vt.extend("--ft-button-small-gap","",Ot.spacing2),vt.extend("--ft-button-small-border-radius","",Ot.borderRadiusS),vt.extend("--ft-button-small-icon-size","",Ot.iconSize2),vt.create("--ft-button-small-border-width","","SIZE","1px"),vt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),vt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),vt.create("--ft-button-small-icon-only-width","","SIZE","30px"),vt.extend("--ft-button-primary-background-color","",Nt.backgroundActionPrimary),vt.extend("--ft-button-primary-color","",Nt.contentGlobalOnColor),vt.extend("--ft-button-primary-icon-color","",Nt.contentGlobalOnColor),vt.extend("--ft-button-primary-state-layer-color","",Nt.contentGlobalOnColor),vt.extend("--ft-button-primary-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-button-primary-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-button-primary-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-button-primary-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-button-focus-focus-ring-color","",Nt.borderActionFocusRing),vt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),vt.extend("--ft-button-tertiary-color","",Nt.contentActionPrimary),vt.extend("--ft-button-tertiary-icon-color","",Nt.contentActionPrimary),vt.extend("--ft-button-tertiary-state-layer-color","",Nt.contentActionPrimary),vt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ot.opacity8),vt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ot.opacity8),vt.extend("--ft-button-tertiary-state-layer-opacity-active","",Ot.opacity16),vt.extend("--ft-button-tertiary-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-button-secondary-background-color","",Ot.colorWhite),vt.extend("--ft-button-secondary-color","",Nt.contentActionPrimary),vt.extend("--ft-button-secondary-icon-color","",Nt.contentActionPrimary),vt.extend("--ft-button-secondary-state-layer-color","",Nt.contentActionPrimary),vt.extend("--ft-button-secondary-state-layer-opacity-hover","",Ot.opacity8),vt.extend("--ft-button-secondary-state-layer-opacity-focus","",Ot.opacity8),vt.extend("--ft-button-secondary-state-layer-opacity-active","",Ot.opacity16),vt.extend("--ft-button-secondary-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-button-secondary-border-color","",Nt.borderActionPrimary),vt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),vt.extend("--ft-button-neutral-icon-color","",Nt.contentGlobalSecondary),vt.extend("--ft-button-neutral-color","",Nt.contentGlobalSecondary),vt.extend("--ft-button-neutral-state-layer-color","",Nt.contentGlobalSecondary),vt.extend("--ft-button-neutral-state-layer-opacity-hover","",Ot.opacity8),vt.extend("--ft-button-neutral-state-layer-opacity-focus","",Ot.opacity8),vt.extend("--ft-button-neutral-state-layer-opacity-active","",Ot.opacity16),vt.extend("--ft-button-neutral-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-tabs-top-left-border-radius","",Ot.borderRadiusS),vt.extend("--ft-tabs-top-right-border-radius","",Ot.borderRadiusS),vt.extend("--ft-tabs-label-horizontal-padding","",Ot.spacing4),vt.extend("--ft-tabs-label-vertical-padding","",Ot.spacing3),vt.extend("--ft-tabs-label-gap","",Ot.spacing1),vt.extend("--ft-switch-group-horizontal-padding","",Ot.spacing1),vt.extend("--ft-switch-group-vertical-padding","",Ot.spacing1),vt.extend("--ft-switch-group-gap","",Ot.spacing1),vt.extend("--ft-switch-group-background-color","",Nt.backgroundGlobalSurface),vt.extend("--ft-switch-group-border-color","",Nt.borderGlobalSubtle),vt.create("--ft-switch-group-border-radius","","SIZE","6px"),vt.extend("--ft-switch-label-horizontal-padding","",Ot.spacing2),vt.extend("--ft-switch-label-vertical-padding","",Ot.spacing1),vt.extend("--ft-switch-icon-horizontal-padding","",Ot.spacing1),vt.extend("--ft-switch-icon-vertical-padding","",Ot.spacing1),vt.create("--ft-switch-focus-outline-width","","SIZE","2px"),vt.extend("--ft-switch-focus-focus-ring-color","",Nt.borderActionFocusRing),vt.extend("--ft-switch-option-border-radius","",Ot.borderRadiusS),vt.extend("--ft-switch-off-state-layer-opacity-hover","",Ot.opacity8),vt.extend("--ft-switch-off-state-layer-opacity-focus","",Ot.opacity8),vt.extend("--ft-switch-off-state-layer-opacity-active","",Ot.opacity16),vt.extend("--ft-switch-off-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-switch-off-color","",Nt.contentGlobalSubtle),vt.extend("--ft-switch-off-state-layer-color","",Nt.contentGlobalSubtle),vt.extend("--ft-chart-1-light","for area color charts",Ot.colorBrand40),vt.extend("--ft-chart-1-base","for line charts",Ot.colorBrand0),vt.extend("--ft-chart-2-light","for area color charts",Ot.colorYellow60),vt.extend("--ft-chart-2-base","for line charts",Ot.colorYellow100),vt.extend("--ft-chart-3-light","",Ot.colorUltramarine40),vt.extend("--ft-chart-3-base","",Ot.colorUltramarine70),vt.extend("--ft-chart-4-light","",Ot.colorCyan50),vt.extend("--ft-chart-4-base","",Ot.colorCyan100),vt.extend("--ft-chart-5-light","",Ot.colorRed40),vt.extend("--ft-chart-5-base","",Ot.colorRed60),vt.extend("--ft-chart-6-light","",Ot.colorGreen40),vt.extend("--ft-chart-6-base","",Ot.colorGreen70),vt.extend("--ft-chart-7-light","",Ot.colorOrange70),vt.extend("--ft-chart-7-base","",Ot.colorOrange100),vt.extend("--ft-chart-8-light","",Ot.colorAvocado70),vt.extend("--ft-chart-8-base","",Ot.colorAvocado200),vt.extend("--ft-chart-9-light","",Ot.colorBrown50),vt.extend("--ft-chart-9-base","",Ot.colorBrown200),vt.extend("--ft-chart-10-light","",Ot.colorGray50),vt.extend("--ft-chart-10-base","",Ot.colorGray80),vt.extend("--ft-chart-monochrome-10","",Ot.colorBrand10),vt.extend("--ft-chart-monochrome-20","",Ot.colorBrand20),vt.extend("--ft-chart-monochrome-30","",Ot.colorBrand40),vt.extend("--ft-chart-monochrome-40","",Ot.colorBrand60),vt.extend("--ft-chart-monochrome-50","",Ot.colorBrand0),vt.extend("--ft-chart-monochrome-60","",Ot.colorBrand200),vt.extend("--ft-chip-large-horizontal-padding","",Ot.spacing4),vt.extend("--ft-chip-large-vertical-padding","",Ot.spacing2),vt.extend("--ft-chip-large-gap","",Ot.spacing1),vt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),vt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),vt.extend("--ft-chip-large-border-radius","",Ot.borderRadiusPill),vt.create("--ft-chip-large-border-width","","SIZE","1px"),vt.extend("--ft-chip-large-icon-size","",Ot.iconSize3),vt.extend("--ft-chip-medium-horizontal-padding","",Ot.spacing3),vt.extend("--ft-chip-medium-vertical-padding","",Ot.spacing1),vt.extend("--ft-chip-medium-gap","",Ot.spacing1),vt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),vt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),vt.extend("--ft-chip-medium-border-radius","",Ot.borderRadiusPill),vt.create("--ft-chip-medium-border-width","","SIZE","1px"),vt.extend("--ft-chip-medium-icon-size","",Ot.iconSize2),vt.extend("--ft-chip-small-horizontal-padding","",Ot.spacing2),vt.extend("--ft-chip-small-vertical-padding","",Ot.spacing05),vt.extend("--ft-chip-small-gap","",Ot.spacing1),vt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),vt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),vt.extend("--ft-chip-small-border-radius","",Ot.borderRadiusPill),vt.create("--ft-chip-small-border-width","","SIZE","1px"),vt.extend("--ft-chip-small-icon-size","",Ot.iconSize1),vt.extend("--ft-chip-neutral-background-color","",Nt.backgroundGlobalOnSurface),vt.extend("--ft-chip-neutral-color","",Nt.contentGlobalPrimary),vt.extend("--ft-chip-neutral-border-color","",Nt.borderGlobalSubtle),vt.extend("--ft-chip-info-background-color","",Nt.backgroundInfoSubtle),vt.extend("--ft-chip-info-color","",Nt.contentInfoPrimary),vt.extend("--ft-chip-info-border-color","",Nt.borderInfoPrimary),vt.extend("--ft-chip-success-background-color","",Nt.backgroundSuccessSubtle),vt.extend("--ft-chip-success-color","",Nt.contentSuccessPrimary),vt.extend("--ft-chip-success-border-color","",Nt.borderSuccessPrimary),vt.extend("--ft-chip-warning-background-color","",Nt.backgroundWarningSubtle),vt.extend("--ft-chip-warning-color","",Nt.contentWarningPrimary),vt.extend("--ft-chip-warning-border-color","",Nt.borderWarningPrimary),vt.extend("--ft-chip-error-background-color","",Nt.backgroundErrorSubtle),vt.extend("--ft-chip-error-color","",Nt.contentErrorPrimary),vt.extend("--ft-chip-error-border-color","",Nt.borderErrorPrimary),vt.create("--ft-notice-border-width","","SIZE","1px"),vt.extend("--ft-notice-horizontal-padding","",Ot.spacing2),vt.extend("--ft-notice-vertical-padding","",Ot.spacing1),vt.extend("--ft-notice-border-radius","",Ot.borderRadiusS),vt.extend("--ft-notice-gap","",Ot.spacing2),vt.extend("--ft-notice-icon-size","",Ot.iconSize3),vt.extend("--ft-notice-info-background-color","",Nt.backgroundInfoSubtle),vt.extend("--ft-notice-info-border-color","",Nt.borderInfoPrimary),vt.extend("--ft-notice-info-color","",Nt.contentInfoPrimary),vt.extend("--ft-notice-warning-background-color","",Nt.backgroundWarningSubtle),vt.extend("--ft-notice-warning-border-color","",Nt.borderWarningPrimary),vt.extend("--ft-notice-warning-color","",Nt.contentWarningPrimary),vt.extend("--ft-checkbox-label-color","",Nt.contentGlobalPrimary),vt.extend("--ft-checkbox-checked-background-color","",Nt.contentActionPrimary),vt.extend("--ft-checkbox-checked-state-layer-color","",Nt.contentActionPrimary),vt.extend("--ft-checkbox-checked-color","",Nt.contentGlobalOnColor),vt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-checkbox-checked-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-checkbox-unchecked-border-color","",Ot.colorGray80),vt.extend("--ft-checkbox-unchecked-state-layer-color","",Ot.colorGray80),vt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-checkbox-focus-focus-ring-color","",Nt.borderActionFocusRing),vt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),vt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),vt.extend("--ft-checkbox-gap","",Ot.spacing3),vt.extend("--ft-toggle-off-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-toggle-off-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-toggle-off-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-toggle-off-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-toggle-off-background-color","",Nt.contentGlobalSubtle),vt.extend("--ft-toggle-off-icon-color","",Nt.contentGlobalSubtle),vt.extend("--ft-toggle-off-state-layer-color","",Nt.contentGlobalSubtle),vt.extend("--ft-toggle-on-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-toggle-on-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-toggle-on-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-toggle-on-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-toggle-on-background-color","",Nt.contentActionPrimary),vt.extend("--ft-toggle-on-icon-color","",Nt.contentActionPrimary),vt.extend("--ft-toggle-on-state-layer-color","",Nt.contentActionPrimary),vt.extend("--ft-toggle-label-color","",Nt.contentGlobalPrimary),vt.extend("--ft-toggle-focus-focus-ring-color","",Nt.borderActionFocusRing),vt.extend("--ft-toggle-gap","",Ot.spacing3),vt.extend("--ft-radio-label-color","",Nt.contentGlobalPrimary),vt.extend("--ft-radio-selected-color","",Nt.contentActionPrimary),vt.extend("--ft-radio-selected-state-layer-color","",Nt.contentActionPrimary),vt.extend("--ft-radio-selected-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-radio-selected-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-radio-selected-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-radio-selected-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-radio-unselected-state-layer-color","",Ot.colorGray80),vt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ot.opacity16),vt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ot.opacity16),vt.extend("--ft-radio-unselected-state-layer-opacity-active","",Ot.opacity24),vt.extend("--ft-radio-unselected-component-opacity-disabled","",Ot.opacity40),vt.extend("--ft-radio-focus-focus-ring-color","",Nt.borderActionFocusRing),vt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),vt.create("--ft-radio-focus-outline-width","","SIZE","2px"),vt.extend("--ft-radio-gap","",Ot.spacing3),vt.extend("--ft-notification-icon-size","",Ot.iconSize4),vt.extend("--ft-notification-horizontal-padding","",Ot.spacing4),vt.extend("--ft-notification-vertical-padding","",Ot.spacing4),vt.extend("--ft-notification-info-background-color","",Nt.backgroundInfoSubtle),vt.extend("--ft-notification-info-color","",Nt.contentInfoPrimary),vt.extend("--ft-notification-info-border-color","",Nt.borderInfoPrimary),vt.extend("--ft-notification-success-background-color","",Nt.backgroundSuccessSubtle),vt.extend("--ft-notification-success-color","",Nt.contentSuccessPrimary),vt.extend("--ft-notification-success-border-color","",Nt.borderSuccessPrimary),vt.extend("--ft-notification-warning-background-color","",Nt.backgroundWarningSubtle),vt.extend("--ft-notification-warning-color","",Nt.contentWarningPrimary),vt.extend("--ft-notification-warning-border-color","",Nt.borderWarningPrimary),vt.extend("--ft-notification-error-background-color","",Nt.backgroundErrorSubtle),vt.extend("--ft-notification-error-color","",Nt.contentErrorPrimary),vt.extend("--ft-notification-error-border-color","",Nt.borderErrorPrimary),vt.extend("--ft-notification-border-radius","",Ot.borderRadiusPill),vt.create("--ft-notification-border-width","","SIZE","1px"),vt.extend("--ft-notification-gap-leading","",Ot.spacing2),vt.extend("--ft-notification-gap-trailing","",Ot.spacing8),vt.create("--ft-color-primary","","COLOR","#2196F3"),vt.create("--ft-color-primary-variant","","COLOR","#1976D2"),vt.create("--ft-color-secondary","","COLOR","#FFCC80"),vt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),vt.create("--ft-color-surface","","COLOR","#FFFFFF"),vt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),vt.create("--ft-color-error","","COLOR","#B00020"),vt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),vt.create("--ft-color-opacity-high","","NUMBER","1"),vt.create("--ft-color-opacity-medium","","NUMBER","0.74"),vt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),vt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),vt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),vt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),vt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),vt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),vt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),vt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),vt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),vt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),vt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),vt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),vt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),vt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),vt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),vt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),vt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),vt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),vt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),vt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),vt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),vt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),vt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),vt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),vt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),vt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),vt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),vt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),vt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),vt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),vt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),vt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),vt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),vt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),vt.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)"),vt.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)"),vt.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)"),vt.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)"),vt.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)"),vt.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)"),vt.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)"),vt.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)"),vt.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)"),vt.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)"),vt.create("--ft-border-radius-S","","SIZE","4px"),vt.create("--ft-border-radius-M","","SIZE","8px"),vt.create("--ft-border-radius-L","","SIZE","12px"),vt.create("--ft-border-radius-XL","","SIZE","16px"),vt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),vt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),vt.create("--ft-transition-duration","","UNKNOWN","250ms"),vt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");class wt extends bt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,r])=>t.registry.define(o,r))));const o={...t.shadowRootOptions,customElements:t.registry},r=this.renderOptions.creationScope=this.attachShadow(o);return N(r,t.elementStyles),r}}var St,Et=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};const Ct=Symbol("constructorPrototype"),Rt=Symbol("constructorName"),xt=Symbol("exportpartsDebouncer");class Ut extends wt{constructor(){super(),this[St]=new i(5),this[Rt]=this.constructor.name,this[Ct]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Rt]&&Object.setPrototypeOf(this,this[Ct])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,r;if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).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[xt].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 o,r,e,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!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==r?r:[]){const o=null!==(n=null===(e=t.getAttribute("part"))||void 0===e?void 0:e.split(" "))&&void 0!==n?n:[],r=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,...r).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(", "))}}St=xt,Et([s()],Ut.prototype,"exportpartsPrefix",void 0),Et([d([])],Ut.prototype,"exportpartsPrefixes",void 0),Et([s()],Ut.prototype,"customStylesheet",void 0),O`
49
+ * @license
50
+ * Copyright 2017 Google LLC
51
+ * SPDX-License-Identifier: BSD-3-Clause
52
+ */,{is:Nt,defineProperty:St,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Ct,getOwnPropertySymbols:Rt,getPrototypeOf:xt}=Object,Ut=globalThis,It=Ut.trustedTypes,Lt=It?It.emptyScript:"",At=Ut.reactiveElementPolyfillSupport,kt=(t,o)=>t,Wt={toAttribute(t,o){switch(o){case Boolean:t=t?Lt: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}},Kt=(t,o)=>!Nt(t,o),jt={attribute:!0,type:String,converter:Wt,reflect:!1,hasChanged:Kt};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;let Pt=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=jt){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&&St(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:n}=Et(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)??jt}static _$Ei(){if(this.hasOwnProperty(kt("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(kt("properties"))){const t=this.properties,o=[...Ct(t),...Rt(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(wt(t))}else void 0!==t&&o.push(wt(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(yt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=pt.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:Wt).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:Wt;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??Kt)(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){}};Pt.elementStyles=[],Pt.shadowRootOptions={mode:"open"},Pt[kt("elementProperties")]=new Map,Pt[kt("finalized")]=new Map,At?.({ReactiveElement:Pt}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
53
+ /**
54
+ * @license
55
+ * Copyright 2017 Google LLC
56
+ * SPDX-License-Identifier: BSD-3-Clause
57
+ */
58
+ const Mt=globalThis,Ft=Mt.trustedTypes,Zt=Ft?Ft.createPolicy("lit-html",{createHTML:t=>t}):void 0,Tt="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+_t,Dt=`<${Bt}>`,$t=document,zt=()=>$t.createComment(""),Gt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ht=Array.isArray,qt="[ \t\n\f\r]",Yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Jt=/>/g,Xt=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Qt=/'/g,to=/"/g,oo=/^(?:script|style|textarea|title)$/i,eo=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ro=Symbol.for("lit-noChange"),no=Symbol.for("lit-nothing"),io=new WeakMap,ao=$t.createTreeWalker($t,129);function so(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Zt?Zt.createHTML(o):o}class co{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=Yt;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===Yt?"!--"===c[1]?a=Vt:void 0!==c[1]?a=Jt:void 0!==c[2]?(oo.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Xt):void 0!==c[3]&&(a=Xt):a===Xt?">"===c[0]?(a=n??Yt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Xt:'"'===c[3]?to:Qt):a===to||a===Qt?a=Xt:a===Vt||a===Jt?a=Yt:(a=Xt,n=void 0);const h=a===Xt&&t[o+1].startsWith("/>")?" ":"";i+=a===Yt?e+Dt:l>=0?(r.push(s),e.slice(0,l)+Tt+e.slice(l)+_t+h):e+_t+(-2===l?o:h)}return[so(t,i+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(t,o);if(this.el=co.createElement(c,e),ao.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ao.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Tt)){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]?uo:"?"===a[1]?po:"@"===a[1]?yo:ho}),r.removeAttribute(t)}else t.startsWith(_t)&&(s.push({type:6,index:n}),r.removeAttribute(t));if(oo.test(r.tagName)){const t=r.textContent.split(_t),o=t.length-1;if(o>0){r.textContent=Ft?Ft.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],zt()),ao.nextNode(),s.push({type:2,index:++n});r.append(t[o],zt())}}}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=$t.createElement("template");return e.innerHTML=t,e}}function lo(t,o,e=t,r){if(o===ro)return o;let n=void 0!==r?e._$Co?.[r]:e._$Cl;const i=Gt(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=lo(t,n._$AS(t,o.values),n,r)),o}let fo=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=no,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=lo(this,t,o),Gt(t)?t===no||null==t||""===t?(this._$AH!==no&&this._$AR(),this._$AH=no):t!==this._$AH&&t!==ro&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Ht(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!==no&&Gt(this._$AH)?this._$AA.nextSibling.data=t:this.$($t.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=co.createElement(so(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??$t).importNode(o,!0);ao.currentNode=r;let n=ao.nextNode(),i=0,a=0,s=e[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new fo(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new bo(n,this,t)),this._$AV.push(o),s=e[++a]}i!==s?.index&&(n=ao.nextNode(),i++)}return ao.currentNode=$t,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=io.get(t.strings);return void 0===o&&io.set(t.strings,o=new co(t)),o}T(o){Ht(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(zt()),this.k(zt()),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))}},ho=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,n){this.type=1,this._$AH=no,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=no}_$AI(t,o=this,e,r){const n=this.strings;let i=!1;if(void 0===n)t=lo(this,t,o,0),i=!Gt(t)||t!==this._$AH&&t!==ro,i&&(this._$AH=t);else{const r=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=lo(this,r[e+a],o,a),s===ro&&(s=this._$AH[a]),i||=!Gt(s)||s!==this._$AH[a],s===no?t=no:t!==no&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!r&&this.O(t)}O(t){t===no?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},uo=class extends ho{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===no?void 0:t}},po=class extends ho{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==no)}},yo=class extends ho{constructor(t,o,e,r,n){super(t,o,e,r,n),this.type=5}_$AI(t,o=this){if((t=lo(this,t,o,0)??no)===ro)return;const e=this._$AH,r=t===no&&e!==no||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,n=t!==no&&(e===no||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)}},bo=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){lo(this,t)}};const go=Mt.litHtmlPolyfillSupport;go?.(co,fo),(Mt.litHtmlVersions??=[]).push("3.1.0");
59
+ /**
60
+ * @license
61
+ * Copyright 2017 Google LLC
62
+ * SPDX-License-Identifier: BSD-3-Clause
63
+ */
64
+ let mo=class extends Pt{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 fo(o.insertBefore(zt(),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 ro}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const Oo=globalThis.litElementPolyfillSupport;Oo?.({LitElement:mo}),(globalThis.litElementVersions??=[]).push("4.0.2");const vo=t=>"string"==typeof t?Ot(t):t;class wo{static create(t,o,e,r){const n=t=>vo(null!=t?t:r),i=vt`var(${vo(t)}, ${n(r)})`;return i.name=t,i.description=o,i.category=e,i.defaultValue=r,i.defaultCssValue=n,i.get=o=>vt`var(${vo(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=vt`var(${vo(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=>vt`var(${vo(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):vo(null!=o?o:t.lastResortDefaultValue()),r=vt`var(${vo(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=>vt`var(${vo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const No={colorWhite:wo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:wo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:wo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:wo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:wo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:wo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:wo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:wo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:wo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:wo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:wo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:wo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:wo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:wo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:wo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:wo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:wo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:wo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:wo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:wo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:wo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:wo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:wo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:wo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:wo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:wo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:wo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:wo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:wo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:wo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:wo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:wo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:wo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:wo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:wo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:wo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:wo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:wo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:wo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:wo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:wo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:wo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:wo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:wo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:wo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:wo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:wo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:wo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:wo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:wo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:wo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:wo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:wo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:wo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:wo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:wo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:wo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:wo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:wo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:wo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:wo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:wo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:wo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:wo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:wo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:wo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:wo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:wo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:wo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:wo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:wo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:wo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:wo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:wo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:wo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:wo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:wo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:wo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:wo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:wo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:wo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:wo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:wo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:wo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:wo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:wo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:wo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:wo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:wo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:wo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:wo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:wo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:wo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:wo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:wo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:wo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:wo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:wo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:wo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:wo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:wo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:wo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:wo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:wo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:wo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:wo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:wo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:wo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:wo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:wo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:wo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:wo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:wo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:wo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:wo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:wo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:wo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:wo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:wo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:wo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:wo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:wo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:wo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:wo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:wo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:wo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:wo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:wo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:wo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:wo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:wo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:wo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:wo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:wo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:wo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:wo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:wo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:wo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:wo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:wo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:wo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:wo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:wo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:wo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:wo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:wo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:wo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:wo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:wo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:wo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:wo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:wo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:wo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:wo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:wo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:wo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:wo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:wo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:wo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:wo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:wo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:wo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:wo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:wo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:wo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:wo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:wo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:wo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:wo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:wo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:wo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:wo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:wo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:wo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:wo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:wo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:wo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:wo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:wo.create("--ft-opacity-0","","NUMBER","0"),opacity8:wo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:wo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:wo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:wo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:wo.create("--ft-opacity-80","","NUMBER","0.8")};wo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),wo.create("--ft-typography-display-lineHeight","","SIZE","120%"),wo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),wo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),wo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-display-textCase","","UNKNOWN","none"),wo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),wo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),wo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),wo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),wo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),wo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),wo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),wo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),wo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),wo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),wo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),wo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),wo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),wo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),wo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),wo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),wo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),wo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),wo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),wo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),wo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),wo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),wo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),wo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),wo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),wo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),wo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),wo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),wo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),wo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),wo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),wo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),wo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),wo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),wo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),wo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),wo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),wo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),wo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),wo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),wo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),wo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),wo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),wo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),wo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),wo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),wo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),wo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),wo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),wo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),wo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),wo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),wo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),wo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),wo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),wo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),wo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),wo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),wo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),wo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),wo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),wo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),wo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),wo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),wo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),wo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),wo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),wo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),wo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),wo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),wo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),wo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),wo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),wo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),wo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),wo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),wo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),wo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),wo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),wo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),wo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),wo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),wo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),wo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),wo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),wo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),wo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),wo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),wo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),wo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),wo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),wo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),wo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),wo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),wo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),wo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),wo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),wo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),wo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const So={backgroundActionPrimary:wo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",No.colorBrand0),backgroundErrorPrimary:wo.extend("--ft-background-error-primary","Used as background of error components.",No.colorRed0),backgroundErrorSubtle:wo.extend("--ft-background-error-subtle","Used as background of subtle error components.",No.colorRed10),backgroundInfoPrimary:wo.extend("--ft-background-info-primary","Used as background of information components.",No.colorCyan200),backgroundInfoSubtle:wo.extend("--ft-background-info-subtle","Used as background of subtle information components.",No.colorCyan10),backgroundWarningPrimary:wo.extend("--ft-background-warning-primary","Used as background of warning components.",No.colorOrange300),backgroundWarningSubtle:wo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",No.colorOrange10),backgroundSuccessPrimary:wo.extend("--ft-background-success-primary","Used as background of success components.",No.colorGreen200),backgroundSuccessSubtle:wo.extend("--ft-background-success-subtle","Used as background of subtle success components.",No.colorGreen10),backgroundGlobalSurface:wo.extend("--ft-background-global-surface","Used as app background.",No.colorWhite),backgroundGlobalOnSurface:wo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",No.colorGray10),backgroundGlobalOnSurfaceDark:wo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",No.colorGray30),contentActionPrimary:wo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",No.colorBrand0),contentWarningPrimary:wo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",No.colorOrange300),contentWarningIconOnly:wo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",No.colorOrange0),contentErrorPrimary:wo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",No.colorRed0),contentErrorIconOnly:wo.extend("--ft-content-error-icon-only","Used on error status icons alone",No.colorRed0),contentInfoPrimary:wo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",No.colorCyan200),contentInfoIconOnly:wo.extend("--ft-content-info-icon-only","Used on info status icons alone",No.colorCyan0),contentSuccessIconOnly:wo.extend("--ft-content-success-icon-only","Used on success status icons alone",No.colorGreen0),contentSuccessPrimary:wo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",No.colorGreen200),contentGlobalPrimary:wo.extend("--ft-content-global-primary","Used for main content on the page.",No.colorGray500),contentGlobalSecondary:wo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",No.colorGray200),contentGlobalSubtle:wo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",No.colorGray0),contentGlobalOnColor:wo.extend("--ft-content-global-on-color","Used for content on a dominant color.",No.colorWhite),borderActionPrimary:wo.extend("--ft-border-action-primary","Used as border for primary action components.",No.colorBrand0),borderActionFocusRing:wo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",No.colorCyan0),borderWarningPrimary:wo.extend("--ft-border-warning-primary","Used as border for warning components.",No.colorOrange30),borderSuccessPrimary:wo.extend("--ft-border-success-primary","Used as border for success components.",No.colorGreen30),borderErrorPrimary:wo.extend("--ft-border-error-primary","Used as border for error components.",No.colorRed30),borderInfoPrimary:wo.extend("--ft-border-info-primary","Used as border for information components.",No.colorCyan30),borderGlobalSubtle:wo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",No.colorGray30),borderGlobalPrimary:wo.extend("--ft-border-global-primary","Used as border for element like input.",No.colorGray50),borderInputPrimary:wo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",No.colorGray80)};wo.create("--ft-button-large-height","","SIZE","40px"),wo.extend("--ft-button-large-horizontal-padding","",No.spacing4),wo.extend("--ft-button-large-gap","",No.spacing2),wo.extend("--ft-button-large-border-radius","",No.borderRadiusS),wo.extend("--ft-button-large-icon-size","",No.iconSize3),wo.create("--ft-button-large-border-width","","SIZE","1px"),wo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),wo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),wo.create("--ft-button-large-icon-only-width","","SIZE","40px"),wo.create("--ft-button-small-height","","SIZE","30px"),wo.extend("--ft-button-small-horizontal-padding","",No.spacing3),wo.extend("--ft-button-small-gap","",No.spacing2),wo.extend("--ft-button-small-border-radius","",No.borderRadiusS),wo.extend("--ft-button-small-icon-size","",No.iconSize2),wo.create("--ft-button-small-border-width","","SIZE","1px"),wo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),wo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),wo.create("--ft-button-small-icon-only-width","","SIZE","30px"),wo.extend("--ft-button-primary-background-color","",So.backgroundActionPrimary),wo.extend("--ft-button-primary-color","",So.contentGlobalOnColor),wo.extend("--ft-button-primary-icon-color","",So.contentGlobalOnColor),wo.extend("--ft-button-primary-state-layer-color","",So.contentGlobalOnColor),wo.extend("--ft-button-primary-state-layer-opacity-hover","",No.opacity16),wo.extend("--ft-button-primary-state-layer-opacity-focus","",No.opacity16),wo.extend("--ft-button-primary-state-layer-opacity-active","",No.opacity24),wo.extend("--ft-button-primary-component-opacity-disabled","",No.opacity40),wo.extend("--ft-button-focus-focus-ring-color","",So.borderActionFocusRing),wo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),wo.extend("--ft-button-tertiary-color","",So.contentActionPrimary),wo.extend("--ft-button-tertiary-icon-color","",So.contentActionPrimary),wo.extend("--ft-button-tertiary-state-layer-color","",So.contentActionPrimary),wo.extend("--ft-button-tertiary-state-layer-opacity-hover","",No.opacity8),wo.extend("--ft-button-tertiary-state-layer-opacity-focus","",No.opacity8),wo.extend("--ft-button-tertiary-state-layer-opacity-active","",No.opacity16),wo.extend("--ft-button-tertiary-component-opacity-disabled","",No.opacity40),wo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),wo.extend("--ft-button-secondary-color","",So.contentActionPrimary),wo.extend("--ft-button-secondary-icon-color","",So.contentActionPrimary),wo.extend("--ft-button-secondary-state-layer-color","",So.contentActionPrimary),wo.extend("--ft-button-secondary-state-layer-opacity-hover","",No.opacity8),wo.extend("--ft-button-secondary-state-layer-opacity-focus","",No.opacity8),wo.extend("--ft-button-secondary-state-layer-opacity-active","",No.opacity16),wo.extend("--ft-button-secondary-component-opacity-disabled","",No.opacity40),wo.extend("--ft-button-secondary-border-color","",So.borderActionPrimary),wo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),wo.extend("--ft-button-neutral-icon-color","",So.contentGlobalSecondary),wo.extend("--ft-button-neutral-color","",So.contentGlobalSecondary),wo.extend("--ft-button-neutral-state-layer-color","",So.contentGlobalSecondary),wo.extend("--ft-button-neutral-state-layer-opacity-hover","",No.opacity8),wo.extend("--ft-button-neutral-state-layer-opacity-focus","",No.opacity8),wo.extend("--ft-button-neutral-state-layer-opacity-active","",No.opacity16),wo.extend("--ft-button-neutral-component-opacity-disabled","",No.opacity40),wo.extend("--ft-tabs-top-left-border-radius","",No.borderRadiusS),wo.extend("--ft-tabs-top-right-border-radius","",No.borderRadiusS),wo.extend("--ft-tabs-label-horizontal-padding","",No.spacing4),wo.extend("--ft-tabs-label-vertical-padding","",No.spacing3),wo.extend("--ft-tabs-label-gap","",No.spacing1),wo.extend("--ft-switch-group-horizontal-padding","",No.spacing1),wo.extend("--ft-switch-group-vertical-padding","",No.spacing1),wo.extend("--ft-switch-group-gap","",No.spacing1),wo.extend("--ft-switch-group-background-color","",So.backgroundGlobalSurface),wo.extend("--ft-switch-group-border-color","",So.borderGlobalSubtle),wo.create("--ft-switch-group-border-radius","","SIZE","6px"),wo.extend("--ft-switch-label-horizontal-padding","",No.spacing2),wo.extend("--ft-switch-label-vertical-padding","",No.spacing1),wo.extend("--ft-switch-icon-horizontal-padding","",No.spacing1),wo.extend("--ft-switch-icon-vertical-padding","",No.spacing1),wo.create("--ft-switch-focus-outline-width","","SIZE","2px"),wo.extend("--ft-switch-focus-focus-ring-color","",So.borderActionFocusRing),wo.extend("--ft-switch-option-border-radius","",No.borderRadiusS),wo.extend("--ft-switch-off-state-layer-opacity-hover","",No.opacity8),wo.extend("--ft-switch-off-state-layer-opacity-focus","",No.opacity8),wo.extend("--ft-switch-off-state-layer-opacity-active","",No.opacity16),wo.extend("--ft-switch-off-component-opacity-disabled","",No.opacity40),wo.extend("--ft-switch-off-color","",So.contentGlobalSubtle),wo.extend("--ft-switch-off-state-layer-color","",So.contentGlobalSubtle),wo.extend("--ft-chart-1-light","for area color charts",No.colorBrand40),wo.extend("--ft-chart-1-base","for line charts",No.colorBrand0),wo.extend("--ft-chart-2-light","for area color charts",No.colorYellow60),wo.extend("--ft-chart-2-base","for line charts",No.colorYellow100),wo.extend("--ft-chart-3-light","",No.colorUltramarine40),wo.extend("--ft-chart-3-base","",No.colorUltramarine70),wo.extend("--ft-chart-4-light","",No.colorCyan50),wo.extend("--ft-chart-4-base","",No.colorCyan100),wo.extend("--ft-chart-5-light","",No.colorRed40),wo.extend("--ft-chart-5-base","",No.colorRed60),wo.extend("--ft-chart-6-light","",No.colorGreen40),wo.extend("--ft-chart-6-base","",No.colorGreen70),wo.extend("--ft-chart-7-light","",No.colorOrange70),wo.extend("--ft-chart-7-base","",No.colorOrange100),wo.extend("--ft-chart-8-light","",No.colorAvocado70),wo.extend("--ft-chart-8-base","",No.colorAvocado200),wo.extend("--ft-chart-9-light","",No.colorBrown50),wo.extend("--ft-chart-9-base","",No.colorBrown200),wo.extend("--ft-chart-10-light","",No.colorGray50),wo.extend("--ft-chart-10-base","",No.colorGray80),wo.extend("--ft-chart-monochrome-10","",No.colorBrand10),wo.extend("--ft-chart-monochrome-20","",No.colorBrand20),wo.extend("--ft-chart-monochrome-30","",No.colorBrand40),wo.extend("--ft-chart-monochrome-40","",No.colorBrand60),wo.extend("--ft-chart-monochrome-50","",No.colorBrand0),wo.extend("--ft-chart-monochrome-60","",No.colorBrand200),wo.extend("--ft-chip-large-horizontal-padding","",No.spacing4),wo.extend("--ft-chip-large-vertical-padding","",No.spacing2),wo.extend("--ft-chip-large-gap","",No.spacing1),wo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-large-border-radius","",No.borderRadiusPill),wo.create("--ft-chip-large-border-width","","SIZE","1px"),wo.extend("--ft-chip-large-icon-size","",No.iconSize3),wo.extend("--ft-chip-medium-horizontal-padding","",No.spacing3),wo.extend("--ft-chip-medium-vertical-padding","",No.spacing1),wo.extend("--ft-chip-medium-gap","",No.spacing1),wo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-medium-border-radius","",No.borderRadiusPill),wo.create("--ft-chip-medium-border-width","","SIZE","1px"),wo.extend("--ft-chip-medium-icon-size","",No.iconSize2),wo.extend("--ft-chip-small-horizontal-padding","",No.spacing2),wo.extend("--ft-chip-small-vertical-padding","",No.spacing05),wo.extend("--ft-chip-small-gap","",No.spacing1),wo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-small-border-radius","",No.borderRadiusPill),wo.create("--ft-chip-small-border-width","","SIZE","1px"),wo.extend("--ft-chip-small-icon-size","",No.iconSize1),wo.extend("--ft-chip-neutral-background-color","",So.backgroundGlobalOnSurface),wo.extend("--ft-chip-neutral-color","",So.contentGlobalPrimary),wo.extend("--ft-chip-neutral-border-color","",So.borderGlobalSubtle),wo.extend("--ft-chip-info-background-color","",So.backgroundInfoSubtle),wo.extend("--ft-chip-info-color","",So.contentInfoPrimary),wo.extend("--ft-chip-info-border-color","",So.borderInfoPrimary),wo.extend("--ft-chip-success-background-color","",So.backgroundSuccessSubtle),wo.extend("--ft-chip-success-color","",So.contentSuccessPrimary),wo.extend("--ft-chip-success-border-color","",So.borderSuccessPrimary),wo.extend("--ft-chip-warning-background-color","",So.backgroundWarningSubtle),wo.extend("--ft-chip-warning-color","",So.contentWarningPrimary),wo.extend("--ft-chip-warning-border-color","",So.borderWarningPrimary),wo.extend("--ft-chip-error-background-color","",So.backgroundErrorSubtle),wo.extend("--ft-chip-error-color","",So.contentErrorPrimary),wo.extend("--ft-chip-error-border-color","",So.borderErrorPrimary),wo.create("--ft-notice-border-width","","SIZE","1px"),wo.extend("--ft-notice-horizontal-padding","",No.spacing2),wo.extend("--ft-notice-vertical-padding","",No.spacing1),wo.extend("--ft-notice-border-radius","",No.borderRadiusS),wo.extend("--ft-notice-gap","",No.spacing2),wo.extend("--ft-notice-icon-size","",No.iconSize3),wo.extend("--ft-notice-info-background-color","",So.backgroundInfoSubtle),wo.extend("--ft-notice-info-border-color","",So.borderInfoPrimary),wo.extend("--ft-notice-info-color","",So.contentInfoPrimary),wo.extend("--ft-notice-warning-background-color","",So.backgroundWarningSubtle),wo.extend("--ft-notice-warning-border-color","",So.borderWarningPrimary),wo.extend("--ft-notice-warning-color","",So.contentWarningPrimary),wo.extend("--ft-checkbox-label-color","",So.contentGlobalPrimary),wo.extend("--ft-checkbox-checked-background-color","",So.contentActionPrimary),wo.extend("--ft-checkbox-checked-state-layer-color","",So.contentActionPrimary),wo.extend("--ft-checkbox-checked-color","",So.contentGlobalOnColor),wo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",No.opacity16),wo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",No.opacity16),wo.extend("--ft-checkbox-checked-state-layer-opacity-active","",No.opacity24),wo.extend("--ft-checkbox-checked-component-opacity-disabled","",No.opacity40),wo.extend("--ft-checkbox-unchecked-border-color","",No.colorGray80),wo.extend("--ft-checkbox-unchecked-state-layer-color","",No.colorGray80),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",No.opacity16),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",No.opacity16),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",No.opacity24),wo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",No.opacity40),wo.extend("--ft-checkbox-focus-focus-ring-color","",So.borderActionFocusRing),wo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),wo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),wo.extend("--ft-checkbox-gap","",No.spacing3),wo.extend("--ft-toggle-off-state-layer-opacity-hover","",No.opacity16),wo.extend("--ft-toggle-off-state-layer-opacity-focus","",No.opacity16),wo.extend("--ft-toggle-off-state-layer-opacity-active","",No.opacity24),wo.extend("--ft-toggle-off-component-opacity-disabled","",No.opacity40),wo.extend("--ft-toggle-off-background-color","",So.contentGlobalSubtle),wo.extend("--ft-toggle-off-icon-color","",So.contentGlobalSubtle),wo.extend("--ft-toggle-off-state-layer-color","",So.contentGlobalSubtle),wo.extend("--ft-toggle-on-state-layer-opacity-hover","",No.opacity16),wo.extend("--ft-toggle-on-state-layer-opacity-focus","",No.opacity16),wo.extend("--ft-toggle-on-state-layer-opacity-active","",No.opacity24),wo.extend("--ft-toggle-on-component-opacity-disabled","",No.opacity40),wo.extend("--ft-toggle-on-background-color","",So.contentActionPrimary),wo.extend("--ft-toggle-on-icon-color","",So.contentActionPrimary),wo.extend("--ft-toggle-on-state-layer-color","",So.contentActionPrimary),wo.extend("--ft-toggle-label-color","",So.contentGlobalPrimary),wo.extend("--ft-toggle-focus-focus-ring-color","",So.borderActionFocusRing),wo.extend("--ft-toggle-gap","",No.spacing3),wo.extend("--ft-radio-label-color","",So.contentGlobalPrimary),wo.extend("--ft-radio-selected-color","",So.contentActionPrimary),wo.extend("--ft-radio-selected-state-layer-color","",So.contentActionPrimary),wo.extend("--ft-radio-selected-state-layer-opacity-hover","",No.opacity16),wo.extend("--ft-radio-selected-state-layer-opacity-focus","",No.opacity16),wo.extend("--ft-radio-selected-state-layer-opacity-active","",No.opacity24),wo.extend("--ft-radio-selected-component-opacity-disabled","",No.opacity40),wo.extend("--ft-radio-unselected-state-layer-color","",No.colorGray80),wo.extend("--ft-radio-unselected-state-layer-opacity-hover","",No.opacity16),wo.extend("--ft-radio-unselected-state-layer-opacity-focus","",No.opacity16),wo.extend("--ft-radio-unselected-state-layer-opacity-active","",No.opacity24),wo.extend("--ft-radio-unselected-component-opacity-disabled","",No.opacity40),wo.extend("--ft-radio-focus-focus-ring-color","",So.borderActionFocusRing),wo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),wo.create("--ft-radio-focus-outline-width","","SIZE","2px"),wo.extend("--ft-radio-gap","",No.spacing3),wo.extend("--ft-notification-icon-size","",No.iconSize4),wo.extend("--ft-notification-horizontal-padding","",No.spacing4),wo.extend("--ft-notification-vertical-padding","",No.spacing4),wo.extend("--ft-notification-info-background-color","",So.backgroundInfoSubtle),wo.extend("--ft-notification-info-color","",So.contentInfoPrimary),wo.extend("--ft-notification-info-border-color","",So.borderInfoPrimary),wo.extend("--ft-notification-success-background-color","",So.backgroundSuccessSubtle),wo.extend("--ft-notification-success-color","",So.contentSuccessPrimary),wo.extend("--ft-notification-success-border-color","",So.borderSuccessPrimary),wo.extend("--ft-notification-warning-background-color","",So.backgroundWarningSubtle),wo.extend("--ft-notification-warning-color","",So.contentWarningPrimary),wo.extend("--ft-notification-warning-border-color","",So.borderWarningPrimary),wo.extend("--ft-notification-error-background-color","",So.backgroundErrorSubtle),wo.extend("--ft-notification-error-color","",So.contentErrorPrimary),wo.extend("--ft-notification-error-border-color","",So.borderErrorPrimary),wo.extend("--ft-notification-border-radius","",No.borderRadiusPill),wo.create("--ft-notification-border-width","","SIZE","1px"),wo.extend("--ft-notification-gap-leading","",No.spacing2),wo.extend("--ft-notification-gap-trailing","",No.spacing8),wo.create("--ft-color-primary","","COLOR","#2196F3"),wo.create("--ft-color-primary-variant","","COLOR","#1976D2"),wo.create("--ft-color-secondary","","COLOR","#FFCC80"),wo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),wo.create("--ft-color-surface","","COLOR","#FFFFFF"),wo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),wo.create("--ft-color-error","","COLOR","#B00020"),wo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),wo.create("--ft-color-opacity-high","","NUMBER","1"),wo.create("--ft-color-opacity-medium","","NUMBER","0.74"),wo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),wo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),wo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),wo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),wo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),wo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),wo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),wo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),wo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),wo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),wo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),wo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),wo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),wo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),wo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),wo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),wo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),wo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),wo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),wo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),wo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),wo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),wo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),wo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),wo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),wo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),wo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),wo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),wo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),wo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),wo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),wo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),wo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),wo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),wo.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)"),wo.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)"),wo.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)"),wo.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)"),wo.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)"),wo.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)"),wo.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)"),wo.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)"),wo.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)"),wo.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)"),wo.create("--ft-border-radius-S","","SIZE","4px"),wo.create("--ft-border-radius-M","","SIZE","8px"),wo.create("--ft-border-radius-L","","SIZE","12px"),wo.create("--ft-border-radius-XL","","SIZE","16px"),wo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),wo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),wo.create("--ft-transition-duration","","UNKNOWN","250ms"),wo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");
65
+ /**
66
+ * @license
67
+ * Copyright 2019 Google LLC
68
+ * SPDX-License-Identifier: BSD-3-Clause
69
+ */
70
+ const Eo=window,Co=Eo.ShadowRoot&&(void 0===Eo.ShadyCSS||Eo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ro extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Co?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Eo.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var xo,Uo=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 Io=Symbol("constructorPrototype"),Lo=Symbol("constructorName"),Ao=Symbol("exportpartsDebouncer");class ko extends Ro{constructor(){super(),this[xo]=new i(5),this[Lo]=this.constructor.name,this[Io]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Lo]&&Object.setPrototypeOf(this,this[Io])}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(){this[Ao].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 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(", "))}}xo=Ao,Uo([I()],ko.prototype,"exportpartsPrefix",void 0),Uo([K([])],ko.prototype,"exportpartsPrefixes",void 0),Uo([I()],ko.prototype,"customStylesheet",void 0),vt`
55
71
  .ft-no-text-select {
56
72
  -webkit-touch-callout: none;
57
73
  -webkit-user-select: none;
@@ -60,7 +76,7 @@ var pt,yt;let bt=class extends A{constructor(){super(...arguments),this.renderOp
60
76
  -ms-user-select: none;
61
77
  user-select: none;
62
78
  }
63
- `,O`
79
+ `,vt`
64
80
  .ft-word-wrap {
65
81
  white-space: normal;
66
82
  word-wrap: break-word;
@@ -72,7 +88,7 @@ var pt,yt;let bt=class extends A{constructor(){super(...arguments),this.renderOp
72
88
  -webkit-hyphens: auto;
73
89
  hyphens: auto
74
90
  }
75
- `,O`
91
+ `,vt`
76
92
  .ft-safari-ellipsis-fix {
77
93
  margin-right: 0;
78
94
 
@@ -83,10 +99,10 @@ var pt,yt;let bt=class extends A{constructor(){super(...arguments),this.renderOp
83
99
  display: inline-block;
84
100
  width: 0;
85
101
  }
86
- `;class Lt{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var r,e;t=this.resolvePluralKey(t,o);let n=null!==(e=null!==(r=this.labels[t])&&void 0!==r?r:this.defaultLabels[t])&&void 0!==e?e:"";return o.forEach(((t,o)=>n=n.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,r)=>this.formatValue(t,r))))),n}resolvePluralKey(t,o){for(let r of o)if("number"==typeof r){const o=`${String(t)}[\\=${r}]`;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 r=r=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(r):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(r):t.toLocaleString(r);try{return r(document.documentElement.lang)}catch(t){return r()}}}function It(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var At,Wt,kt;const Kt=Symbol("internalReduxEventsUnsubscribers"),jt=Symbol("internalStoresUnsubscribers"),Ft=Symbol("internalStores");class Zt extends Ut{constructor(){super(...arguments),this[At]=new Map,this[Wt]=new Map,this[kt]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Ft].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ft].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ft].get(t)}addStore(t,o){var r;o=null!==(r=null!=o?o:It(t)?t.name:void 0)&&void 0!==r?r:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Ft].delete(o)}setupStore(t,o){this[Ft].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ft].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const r=this.constructor.getPropertyOptions(o);if(!(null==r?void 0:r.attribute)||!this.hasAttribute("string"==typeof(null==r?void 0:r.attribute)?r.attribute:o)){const r=this.getStore(t.store);r&&(t.store?this[jt].has(t.store):this[jt].size>0)&&(this[o]=t.selector(r.getState(),this))}}))}subscribeToStore(t,o){var r;this[jt].set(t,o.subscribe((()=>this.updateFromStores()))),It(o)&&o.eventBus&&(null===(r=this.reduxEventListeners)||void 0===r||r.forEach(((t,r)=>{if("function"==typeof this[r]&&(!t.store||o.name===t.store)){const e=t=>this[r](t);o.eventBus.addEventListener(t.eventName,e),this[Kt].push((()=>o.eventBus.removeEventListener(t.eventName,e)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[jt].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Kt].forEach((t=>t())),this[Kt]=[]}unsubscribeFromStore(t){this[jt].has(t)&&this[jt].get(t)(),this[jt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Mt(t){for(var o=arguments.length,r=Array(o>1?o-1:0),e=1;e<o;e++)r[e-1]=arguments[e];throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Pt(t){return!!t&&!!t[Ro]}function Tt(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 r=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===xo}(t)||Array.isArray(t)||!!t[Co]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Co])||Gt(t)||Ht(t))}function Bt(t,o,r){void 0===r&&(r=!1),0===Dt(t)?(r?Object.keys:Uo)(t).forEach((function(e){r&&"symbol"==typeof e||o(e,t[e],t)})):t.forEach((function(r,e){return o(e,r,t)}))}function Dt(t){var o=t[Ro];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Gt(t)?2:Ht(t)?3:0}function _t(t,o){return 2===Dt(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function zt(t,o,r){var e=Dt(t);2===e?t.set(o,r):3===e?t.add(r):t[o]=r}function $t(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Gt(t){return No&&t instanceof Map}function Ht(t){return wo&&t instanceof Set}function qt(t){return t.o||t.t}function Yt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Lo(t);delete o[Ro];for(var r=Uo(o),e=0;e<r.length;e++){var n=r[e],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 Vt(t,o){return void 0===o&&(o=!1),Jt(t)||Pt(t)||!Tt(t)||(Dt(t)>1&&(t.set=t.add=t.clear=t.delete=Xt),Object.freeze(t),o&&Bt(t,(function(t,o){return Vt(o,!0)}),!0)),t}function Xt(){Mt(2)}function Jt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Qt(t){var o=Io[t];return o||Mt(18,t),o}function to(){return vo}function oo(t,o){o&&(Qt("Patches"),t.u=[],t.s=[],t.v=o)}function ro(t){eo(t),t.p.forEach(io),t.p=null}function eo(t){t===vo&&(vo=t.l)}function no(t){return vo={p:[],l:vo,h:t,m:!0,_:0}}function io(t){var o=t[Ro];0===o.i||1===o.i?o.j():o.g=!0}function ao(t,o){o._=o.p.length;var r=o.p[0],e=void 0!==t&&t!==r;return o.h.O||Qt("ES5").S(o,t,e),e?(r[Ro].P&&(ro(o),Mt(4)),Tt(t)&&(t=so(o,t),o.l||lo(o,t)),o.u&&Qt("Patches").M(r[Ro].t,t,o.u,o.s)):t=so(o,r,[]),ro(o),o.u&&o.v(o.u,o.s),t!==Eo?t:void 0}function so(t,o,r){if(Jt(o))return o;var e=o[Ro];if(!e)return Bt(o,(function(n,i){return co(t,e,o,n,i,r)}),!0),o;if(e.A!==t)return o;if(!e.P)return lo(t,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var n=4===e.i||5===e.i?e.o=Yt(e.k):e.o,i=n,a=!1;3===e.i&&(i=new Set(n),n.clear(),a=!0),Bt(i,(function(o,i){return co(t,e,n,o,i,r,a)})),lo(t,n,!1),r&&t.u&&Qt("Patches").N(e,r,t.u,t.s)}return e.o}function co(t,o,r,e,n,i,a){if(Pt(n)){var s=so(t,n,i&&o&&3!==o.i&&!_t(o.R,e)?i.concat(e):void 0);if(zt(r,e,s),!Pt(s))return;t.m=!1}else a&&r.add(n);if(Tt(n)&&!Jt(n)){if(!t.h.D&&t._<1)return;so(t,n),o&&o.A.l||lo(t,n)}}function lo(t,o,r){void 0===r&&(r=!1),!t.l&&t.h.D&&t.m&&Vt(o,r)}function fo(t,o){var r=t[Ro];return(r?qt(r):t)[o]}function uo(t,o){if(o in t)for(var r=Object.getPrototypeOf(t);r;){var e=Object.getOwnPropertyDescriptor(r,o);if(e)return e;r=Object.getPrototypeOf(r)}}function ho(t){t.P||(t.P=!0,t.l&&ho(t.l))}function po(t){t.o||(t.o=Yt(t.t))}function yo(t,o,r){var e=Gt(o)?Qt("MapSet").F(o,r):Ht(o)?Qt("MapSet").T(o,r):t.O?function(t,o){var r=Array.isArray(t),e={i:r?1:0,A:o?o.A:to(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=e,i=Ao;r&&(n=[e],i=Wo);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return e.k=c,e.j=s,c}(o,r):Qt("ES5").J(o,r);return(r?r.A:to()).p.push(e),e}function bo(t){return Pt(t)||Mt(22,t),function t(o){if(!Tt(o))return o;var r,e=o[Ro],n=Dt(o);if(e){if(!e.P&&(e.i<4||!Qt("ES5").K(e)))return e.t;e.I=!0,r=go(o,n),e.I=!1}else r=go(o,n);return Bt(r,(function(o,n){e&&function(t,o){return 2===Dt(t)?t.get(o):t[o]}(e.t,o)===n||zt(r,o,t(n))})),3===n?new Set(r):r}(t)}function go(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Yt(t)}At=jt,Wt=Ft,kt=Kt;var mo,vo,Oo="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),No="undefined"!=typeof Map,wo="undefined"!=typeof Set,So="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Eo=Oo?Symbol.for("immer-nothing"):((mo={})["immer-nothing"]=!0,mo),Co=Oo?Symbol.for("immer-draftable"):"__$immer_draftable",Ro=Oo?Symbol.for("immer-state"):"__$immer_state",xo=""+Object.prototype.constructor,Uo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Lo=Object.getOwnPropertyDescriptors||function(t){var o={};return Uo(t).forEach((function(r){o[r]=Object.getOwnPropertyDescriptor(t,r)})),o},Io={},Ao={get:function(t,o){if(o===Ro)return t;var r=qt(t);if(!_t(r,o))return function(t,o,r){var e,n=uo(o,r);return n?"value"in n?n.value:null===(e=n.get)||void 0===e?void 0:e.call(t.k):void 0}(t,r,o);var e=r[o];return t.I||!Tt(e)?e:e===fo(t.t,o)?(po(t),t.o[o]=yo(t.A.h,e,t)):e},has:function(t,o){return o in qt(t)},ownKeys:function(t){return Reflect.ownKeys(qt(t))},set:function(t,o,r){var e=uo(qt(t),o);if(null==e?void 0:e.set)return e.set.call(t.k,r),!0;if(!t.P){var n=fo(qt(t),o),i=null==n?void 0:n[Ro];if(i&&i.t===r)return t.o[o]=r,t.R[o]=!1,!0;if($t(r,n)&&(void 0!==r||_t(t.t,o)))return!0;po(t),ho(t)}return t.o[o]===r&&(void 0!==r||o in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[o])||(t.o[o]=r,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==fo(t.t,o)||o in t.t?(t.R[o]=!1,po(t),ho(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var r=qt(t),e=Reflect.getOwnPropertyDescriptor(r,o);return e?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:e.enumerable,value:r[o]}:e},defineProperty:function(){Mt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Mt(12)}},Wo={};Bt(Ao,(function(t,o){Wo[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Wo.deleteProperty=function(t,o){return Wo.set.call(this,t,o,void 0)},Wo.set=function(t,o,r){return Ao.set.call(this,t[0],o,r,t[0])};var ko=function(){function t(t){var o=this;this.O=So,this.D=!0,this.produce=function(t,r,e){if("function"==typeof t&&"function"!=typeof r){var n=r;r=t;var i=o;return function(t){var o=this;void 0===t&&(t=n);for(var e=arguments.length,a=Array(e>1?e-1:0),s=1;s<e;s++)a[s-1]=arguments[s];return i.produce(t,(function(t){var e;return(e=r).call.apply(e,[o,t].concat(a))}))}}var a;if("function"!=typeof r&&Mt(6),void 0!==e&&"function"!=typeof e&&Mt(7),Tt(t)){var s=no(o),c=yo(o,t,void 0),l=!0;try{a=r(c),l=!1}finally{l?ro(s):eo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return oo(s,e),ao(t,s)}),(function(t){throw ro(s),t})):(oo(s,e),ao(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=r(t))&&(a=t),a===Eo&&(a=void 0),o.D&&Vt(a,!0),e){var f=[],u=[];Qt("Patches").M(t,a,f,u),e(f,u)}return a}Mt(21,t)},this.produceWithPatches=function(t,r){if("function"==typeof t)return function(r){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return o.produceWithPatches(r,(function(o){return t.apply(void 0,[o].concat(n))}))};var e,n,i=o.produce(t,r,(function(t,o){e=t,n=o}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,e,n]})):[i,e,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){Tt(t)||Mt(8),Pt(t)&&(t=bo(t));var o=no(this),r=yo(this,t,void 0);return r[Ro].C=!0,eo(o),r},o.finishDraft=function(t,o){var r=(t&&t[Ro]).A;return oo(r,o),ao(void 0,r)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!So&&Mt(20),this.O=t},o.applyPatches=function(t,o){var r;for(r=o.length-1;r>=0;r--){var e=o[r];if(0===e.path.length&&"replace"===e.op){t=e.value;break}}r>-1&&(o=o.slice(r+1));var n=Qt("Patches").$;return Pt(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Ko=new ko,jo=Ko.produce;function Fo(t){return Fo="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},Fo(t)}function Zo(t){var o=function(t,o){if("object"!==Fo(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var e=r.call(t,o||"default");if("object"!==Fo(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Fo(o)?o:String(o)}function Mo(t,o,r){return(o=Zo(o))in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r,t}function Po(t,o){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);o&&(e=e.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),r.push.apply(r,e)}return r}function To(t){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?Po(Object(r),!0).forEach((function(o){Mo(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Po(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Bo(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. "}Ko.produceWithPatches.bind(Ko),Ko.setAutoFreeze.bind(Ko),Ko.setUseProxies.bind(Ko),Ko.applyPatches.bind(Ko),Ko.createDraft.bind(Ko),Ko.finishDraft.bind(Ko);var Do="function"==typeof Symbol&&Symbol.observable||"@@observable",_o=function(){return Math.random().toString(36).substring(7).split("").join(".")},zo={INIT:"@@redux/INIT"+_o(),REPLACE:"@@redux/REPLACE"+_o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+_o()}};function $o(t,o,r){var e;if("function"==typeof o&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Bo(0));if("function"==typeof o&&void 0===r&&(r=o,o=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Bo(1));return r($o)(t,o)}if("function"!=typeof t)throw new Error(Bo(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(Bo(3));return i}function u(t){if("function"!=typeof t)throw new Error(Bo(4));if(c)throw new Error(Bo(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(Bo(6));o=!1,l();var r=s.indexOf(t);s.splice(r,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Bo(7));if(void 0===t.type)throw new Error(Bo(8));if(c)throw new Error(Bo(9));try{c=!0,i=n(i,t)}finally{c=!1}for(var o=a=s,r=0;r<o.length;r++){(0,o[r])()}return t}return h({type:zo.INIT}),(e={dispatch:h,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Bo(10));n=t,h({type:zo.REPLACE})}})[Do]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Bo(11));function r(){t.next&&t.next(f())}return r(),{unsubscribe:o(r)}}})[Do]=function(){return this},t},e}function Go(t){for(var o=Object.keys(t),r={},e=0;e<o.length;e++){var n=o[e];"function"==typeof t[n]&&(r[n]=t[n])}var i,a=Object.keys(r);try{!function(t){Object.keys(t).forEach((function(o){var r=t[o];if(void 0===r(void 0,{type:zo.INIT}))throw new Error(Bo(12));if(void 0===r(void 0,{type:zo.PROBE_UNKNOWN_ACTION()}))throw new Error(Bo(13))}))}(r)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var e=!1,n={},s=0;s<a.length;s++){var c=a[s],l=r[c],f=t[c],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(Bo(14));n[c]=u,e=e||u!==f}return(e=e||a.length!==Object.keys(t).length)?n:t}}function Ho(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];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 qo(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return function(t){return function(){var r=t.apply(void 0,arguments),e=function(){throw new Error(Bo(15))},n={getState:r.getState,dispatch:function(){return e.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return e=Ho.apply(void 0,i)(r.dispatch),To(To({},r),{},{dispatch:e})}}}function Yo(t){return function(o){var r=o.dispatch,e=o.getState;return function(o){return function(n){return"function"==typeof n?n(r,e,t):o(n)}}}}var Vo=Yo();Vo.withExtraArgument=Yo;var Xo,Jo=Vo,Qo=(Xo=function(t,o){return Xo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r])},Xo(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 r(){this.constructor=t}Xo(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),tr=function(t,o){var r,e,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(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,e&&(n=2&i[0]?e.return:i[0]?e.throw||((n=e.return)&&n.call(e),0):e.next)&&!(n=n.call(e,i[1])).done)return n;switch(e=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++,e=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],e=0}finally{r=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},or=function(t,o){for(var r=0,e=o.length,n=t.length;r<e;r++,n++)t[n]=o[r];return t},rr=Object.defineProperty,er=Object.defineProperties,nr=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,cr=function(t,o,r){return o in t?rr(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r},lr=function(t,o){for(var r in o||(o={}))ar.call(o,r)&&cr(t,r,o[r]);if(ir)for(var e=0,n=ir(o);e<n.length;e++){r=n[e];sr.call(o,r)&&cr(t,r,o[r])}return t},fr=function(t,o){return er(t,nr(o))},ur="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ho:Ho.apply(null,arguments)};var hr=function(t){function o(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,o.prototype),n}return Qo(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,or([void 0],t[0].concat(this)))):new(o.bind.apply(o,or([void 0],t.concat(this))))},o}(Array),dr=function(t){function o(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,o.prototype),n}return Qo(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,or([void 0],t[0].concat(this)))):new(o.bind.apply(o,or([void 0],t.concat(this))))},o}(Array);function pr(t){return Tt(t)?jo(t,(function(){})):t}function yr(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,r=void 0===o||o;t.immutableCheck,t.serializableCheck;var e=new hr;r&&(!function(t){return"boolean"==typeof t}(r)?e.push(Jo.withExtraArgument(r.extraArgument)):e.push(Jo));return e}(t)}}function br(t){var o,r=yr(),e=t||{},n=e.reducer,i=void 0===n?void 0:n,a=e.middleware,s=void 0===a?r():a,c=e.devTools,l=void 0===c||c,f=e.preloadedState,u=void 0===f?void 0:f,h=e.enhancers,d=void 0===h?void 0:h;if("function"==typeof i)o=i;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var r=o;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return o===r}(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=Go(i)}var p=s;"function"==typeof p&&(p=p(r));var y=qo.apply(void 0,p),b=Ho;l&&(b=ur(lr({trace:!1},"object"==typeof l&&l)));var g=new dr(y),m=g;return Array.isArray(d)?m=or([y],d):"function"==typeof d&&(m=d(g)),$o(o,u,b.apply(void 0,m))}function gr(t,o){function r(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];if(o){var n=o.apply(void 0,r);if(!n)throw new Error("prepareAction did not return an object");return lr(lr({type:t,payload:n.payload},"meta"in n&&{meta:n.meta}),"error"in n&&{error:n.error})}return{type:t,payload:r[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function mr(t){var o,r={},e=[],n={addCase:function(t,o){var e="string"==typeof t?t:t.type;if(e in r)throw new Error("addCase cannot be called with two reducers for the same action type");return r[e]=o,n},addMatcher:function(t,o){return e.push({matcher:t,reducer:o}),n},addDefaultCase:function(t){return o=t,n}};return t(n),[r,e,o]}function vr(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var r,e="function"==typeof t.initialState?t.initialState:pr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?mr(t.extraReducers):[t.extraReducers],r=o[0],n=void 0===r?{}:r,i=o[1],a=void 0===i?[]:i,c=o[2],l=void 0===c?void 0:c,f=lr(lr({},n),s);return function(t,o,r,e){void 0===r&&(r=[]);var n,i="function"==typeof o?mr(o):[o,r,e],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return pr(t())};else{var l=pr(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var r=or([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===r.filter((function(t){return!!t})).length&&(r=[c]),r.reduce((function(t,r){if(r){var e;if(Pt(t))return void 0===(e=r(t,o))?t:e;if(Tt(t))return jo(t,(function(t){return r(t,o)}));if(void 0===(e=r(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return e}return t}),t)}return f.getInitialState=n,f}(e,(function(t){for(var o in f)t.addCase(o,f[o]);for(var r=0,e=a;r<e.length;r++){var n=e[r];t.addMatcher(n.matcher,n.reducer)}l&&t.addDefaultCase(l)}))}return i.forEach((function(t){var r,e,i=n[t],l=o+"/"+t;"reducer"in i?(r=i.reducer,e=i.prepare):r=i,a[t]=r,s[l]=r,c[t]=e?gr(l,e):gr(l)})),{name:o,reducer:function(t,o){return r||(r=l()),r(t,o)},actions:c,caseReducers:a,getInitialState:function(){return r||(r=l()),r.getInitialState()}}}var Or=["name","message","stack","code"],Nr=function(t,o){this.payload=t,this.meta=o},wr=function(t,o){this.payload=t,this.meta=o},Sr=function(t){if("object"==typeof t&&null!==t){for(var o={},r=0,e=Or;r<e.length;r++){var n=e[r];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Er(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,r){var e=gr(t+"/fulfilled",(function(t,o,r,e){return{payload:t,meta:fr(lr({},e||{}),{arg:r,requestId:o,requestStatus:"fulfilled"})}})),n=gr(t+"/pending",(function(t,o,r){return{payload:void 0,meta:fr(lr({},r||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=gr(t+"/rejected",(function(t,o,e,n,i){return{payload:n,error:(r&&r.serializeError||Sr)(t||"Rejected"),meta:fr(lr({},i||{}),{arg:e,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,u=(null==r?void 0:r.idGenerator)?r.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",r=t;r--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),h=new a;function d(t){f=t,h.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,b,g,m;return tr(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),b=null==(a=null==r?void 0:r.condition)?void 0:a.call(r,t,{getState:c,extra:l}),null===(O=b)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,b];case 1:b=v.sent(),v.label=2;case 2:if(!1===b||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return h.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(n(u,t,null==(p=null==r?void 0:r.getPendingMeta)?void 0:p.call(r,{requestId:u,arg:t},{getState:c,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:u,signal:h.signal,abort:d,rejectWithValue:function(t,o){return new Nr(t,o)},fulfillWithValue:function(t,o){return new wr(t,o)}})).then((function(o){if(o instanceof Nr)throw o;return o instanceof wr?e(o.payload,u,t,o.meta):e(o,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Nr?i(null,u,t,m.payload,m.meta):i(m,u,t),[3,5];case 5:return r&&!r.dispatchConditionRejection&&i.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,o){var r=function(t){try{n(y.next(t))}catch(t){o(t)}},e=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(r,e)};n((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:u,arg:t,unwrap:function(){return p.then(Er)}})}}),{pending:n,rejected:i,fulfilled:e,typePrefix:t})}t.withTypes=function(){return t}}();var Cr="listenerMiddleware";gr(Cr+"/add"),gr(Cr+"/removeAll"),gr(Cr+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var r=n[t];return r?r.enumerable=o:n[t]=r={configurable:!0,enumerable:o,get:function(){var o=this[Ro];return Ao.get(o,t)},set:function(o){var r=this[Ro];Ao.set(r,t,o)}},r}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Ro];if(!n.P)switch(n.i){case 5:e(n)&&ho(n);break;case 4:r(n)&&ho(n)}}}function r(t){for(var o=t.t,r=t.k,e=Uo(r),n=e.length-1;n>=0;n--){var i=e[n];if(i!==Ro){var a=o[i];if(void 0===a&&!_t(o,i))return!0;var s=r[i],c=s&&s[Ro];if(c?c.t!==a:!$t(s,a))return!0}}var l=!!o[Ro];return e.length!==Uo(o).length+(l?0:1)}function e(t){var o=t.k;if(o.length!==t.t.length)return!0;var r=Object.getOwnPropertyDescriptor(o,o.length-1);if(r&&!r.get)return!0;for(var e=0;e<o.length;e++)if(!o.hasOwnProperty(e))return!0;return!1}var n={};!function(t,o){Io[t]||(Io[t]=o)}("ES5",{J:function(o,r){var e=Array.isArray(o),n=function(o,r){if(o){for(var e=Array(r.length),n=0;n<r.length;n++)Object.defineProperty(e,""+n,t(n,!0));return e}var i=Lo(r);delete i[Ro];for(var a=Uo(i),s=0;s<a.length;s++){var c=a[s];i[c]=t(c,o||!!i[c].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(e,o),i={i:e?5:4,A:r?r.A:to(),P:!1,I:!1,R:{},l:r,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Ro,{value:i,writable:!0}),n},S:function(t,r,n){n?Pt(r)&&r[Ro].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var r=o[Ro];if(r){var n=r.t,i=r.k,a=r.R,s=r.i;if(4===s)Bt(i,(function(o){o!==Ro&&(void 0!==n[o]||_t(n,o)?a[o]||t(i[o]):(a[o]=!0,ho(r)))})),Bt(n,(function(t){void 0!==i[t]||_t(i,t)||(a[t]=!1,ho(r))}));else if(5===s){if(e(r)&&(ho(r),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),u=0;u<f;u++)i.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(i[u])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?r(t):e(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Rr{static get(t){var o;const r="string"==typeof t?t:t.name,e="string"==typeof t?void 0:t,n=window.ftReduxStores[r];if(It(n))return n;if(null==e)return;const i=vr({...e,reducers:null!==(o=e.reducers)&&void 0!==o?o:{}}),a=br({reducer:(t,o)=>{var r;switch(o.type){case"CLEAR_FT_REDUX_STORE":return i.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(r=o.overwrites)&&void 0!==r?r:{}};default:return i.reducer(t,o)}}});return window.ftReduxStores[e.name]=new Rr(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,r)=>{const e=o,n=t[e];return n?(...t)=>{const o=n(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[e]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const xr=t=>{const o=null!=t?t:{};return(t,r)=>{var e;const n={hasChanged:(t,o)=>!u(t,o),attribute:!1,...o};s(n)(t,r);const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(r,{selector:null!==(e=o.selector)&&void 0!==e?e:t=>t[r],store:o.store})}};var Ur,Lr;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Lr=null===(Ur=window.safari)||void 0===Ur?void 0:Ur.pushNotification)||void 0===Lr||Lr.toString());const Ir=O`
87
- `,Ar={setRequest:(t,o)=>{t.request=o.payload},setRequestQuery:(t,o)=>{t.request.query=o.payload},setRequestContentLocale:(t,o)=>{t.request.contentLocale=o.payload},setPageSize:(t,o)=>{t.request.paging.perPage=o.payload},setPageNumber:(t,o)=>{t.request.paging.page=o.payload},setRequestSort:(t,o)=>{t.request.sort=o.payload},setRequestFilters:(t,o)=>{t.request.filters=o.payload},setRequestFacets:(t,o)=>{t.request.facets=o.payload},setRequestVirtualField:(t,o)=>{t.request.virtualField=o.payload},setRequestScope:(t,o)=>{t.request.scope=o.payload},setResults:(t,o)=>{t.results=o.payload},setFacets:(t,o)=>{t.facets=o.payload},setSpellcheck:(t,o)=>{t.spellcheck=o.payload},setLocales:(t,o)=>{t.locales=o.payload},setPaging:(t,o)=>{t.paging=o.payload},setLiveQuery:(t,o)=>{t.liveQuery=o.payload},setSuggestResults:(t,o)=>{t.suggestResults=o.payload}};var Wr,kr,Kr,jr,Fr,Zr,Mr,Pr,Tr,Br,Dr,_r,zr,$r;!function(t){!function(o){var r={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(r.arrayBuffer)var e=["[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&&e.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 r.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,r){t.onload=function(){o(t.result)},t.onerror=function(){r(t.error)}}))}function u(t){var o=new FileReader,r=f(o);return o.readAsArrayBuffer(t),r}function h(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:r.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:r.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():r.arrayBuffer&&r.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=h(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):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.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(u)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var o=new FileReader,r=f(o);return o.readAsText(t),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),r=new Array(o.length),e=0;e<o.length;e++)r[e]=String.fromCharCode(o[e]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},r.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,o){t=i(t),o=a(o);var r=this.map[t];this.map[t]=r?r+", "+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 r in this.map)this.map.hasOwnProperty(r)&&t.call(o,this.map[r],r,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(o,r){t.push(r)})),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,r){t.push([r,o])})),s(t)},r.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var p=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var r,e,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=(r=o.method||this.method||"GET",e=r.toUpperCase(),p.indexOf(e)>-1?e:r),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 b(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),e=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");o.append(decodeURIComponent(e),decodeURIComponent(n))}})),o}function g(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})},d.call(y.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];g.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new g(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 r=Error(t);this.stack=r.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,e){return new Promise((function(n,i){var a=new y(t,e);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,r={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 r=t.split(":"),e=r.shift().trim();if(e){var n=r.join(":").trim();o.append(e,n)}})),o)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var e="response"in s?s.response:s.responseText;n(new g(e,r))},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&&r.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=g),o.Headers=c,o.Request=y,o.Response=g,o.fetch=v,Object.defineProperty(o,"U",{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"}(Wr||(Wr={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(kr||(kr={})),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"}(Kr||(Kr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(jr||(jr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Fr||(Fr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Zr||(Zr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Mr||(Mr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Pr||(Pr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Tr||(Tr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Br||(Br={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Dr||(Dr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(_r||(_r={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(zr||(zr={})),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.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"}($r||($r={})),$r.PERSONAL_BOOK_SHARE_USER,$r.PERSONAL_BOOK_USER,$r.HTML_EXPORT_USER,$r.PERSONAL_BOOK_USER,$r.PDF_EXPORT_USER,$r.PERSONAL_BOOK_USER,$r.KHUB_ADMIN,$r.CONTENT_PUBLISHER,$r.ADMIN,$r.KHUB_ADMIN,$r.USERS_ADMIN,$r.PORTAL_ADMIN,$r.DEVELOPER,$r.BETA_USER,$r.DEBUG_USER;const Gr=O`
88
- `,Hr=Rr.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class qr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:r}=Hr.getState(),e=null!=t?t:r;if(o&&e&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,e,!0)}static get(t){var o;return null!=t?qr.build(t):null!==(o=qr.API)&&void 0!==o?o:qr.API=qr.build()}static await(t){return new Promise((o=>{let r=qr.get(t);if(r)o(r);else{const e=Hr.subscribe((()=>{r=qr.get(t),r&&(e(),o(r))}))}}))}}var Yr;const Vr=Symbol("clearAfterUnitTest");class Xr{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new n,this.listeners={},this.currentUiLocale="",this[Yr]=()=>{this.defaultMessages={},this.cache=new n,this.listeners={}},this.currentUiLocale=Hr.getState().uiLocale,Hr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Hr.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 r;if(t=t.toLowerCase(),Object.keys(o).length>0){const e={...null!==(r=this.defaultMessages[t])&&void 0!==r?r:{},...o};u(this.defaultMessages[t],e)||(this.defaultMessages[t]=e,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...r){var e,n,i;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(n=null===(e=this.cache.getNow(t))||void 0===e?void 0:e.messages)&&void 0!==n?n:{};return new Lt(null!==(i=this.defaultMessages[t])&&void 0!==i?i:{},a).resolve(o,...r)}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 r;return t=t.toLowerCase(),this.listeners[t]=null!==(r=this.listeners[t])&&void 0!==r?r:new Set,this.listeners[t].add(o),()=>{var r;return null===(r=this.listeners[t])||void 0===r?void 0:r.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=>f(0).then((()=>t())).catch((()=>null)))))}}Yr=Vr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Xr((async(t,o)=>(await qr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Xr((async(t,o)=>(await qr.await()).getCustomMessageContext(t,o))));const Jr=window.FluidTopicsI18nService;var Qr=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class te extends Ut{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>qr.get(),this.cache=new n,this.cleanSessionDebouncer=new i}render(){return J`
102
+ `;class Wo{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()}}}function Ko(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var jo,Po,Mo;const Fo=Symbol("internalReduxEventsUnsubscribers"),Zo=Symbol("internalStoresUnsubscribers"),To=Symbol("internalStores");class _o extends ko{constructor(){super(...arguments),this[jo]=new Map,this[Po]=new Map,this[Mo]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[To].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[To].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[To].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ko(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[To].delete(o)}setupStore(t,o){this[To].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[To].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.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[Zo].has(t.store):this[Zo].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Zo].set(t,o.subscribe((()=>this.updateFromStores()))),Ko(o)&&o.eventBus&&(null===(e=this.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[Fo].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Zo].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Fo].forEach((t=>t())),this[Fo]=[]}unsubscribeFromStore(t){this[Zo].has(t)&&this[Zo].get(t)(),this[Zo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Bo(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 Do(t){return!!t&&!!t[Ie]}function $o(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)===Le}(t)||Array.isArray(t)||!!t[Ue]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Ue])||Vo(t)||Jo(t))}function zo(t,o,e){void 0===e&&(e=!1),0===Go(t)?(e?Object.keys:Ae)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Go(t){var o=t[Ie];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Vo(t)?2:Jo(t)?3:0}function Ho(t,o){return 2===Go(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function qo(t,o,e){var r=Go(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function Yo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Vo(t){return Ee&&t instanceof Map}function Jo(t){return Ce&&t instanceof Set}function Xo(t){return t.o||t.t}function Qo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=ke(t);delete o[Ie];for(var e=Ae(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 te(t,o){return void 0===o&&(o=!1),ee(t)||Do(t)||!$o(t)||(Go(t)>1&&(t.set=t.add=t.clear=t.delete=oe),Object.freeze(t),o&&zo(t,(function(t,o){return te(o,!0)}),!0)),t}function oe(){Bo(2)}function ee(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function re(t){var o=We[t];return o||Bo(18,t),o}function ne(){return Ne}function ie(t,o){o&&(re("Patches"),t.u=[],t.s=[],t.v=o)}function ae(t){se(t),t.p.forEach(le),t.p=null}function se(t){t===Ne&&(Ne=t.l)}function ce(t){return Ne={p:[],l:Ne,h:t,m:!0,_:0}}function le(t){var o=t[Ie];0===o.i||1===o.i?o.j():o.g=!0}function fe(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||re("ES5").S(o,t,r),r?(e[Ie].P&&(ae(o),Bo(4)),$o(t)&&(t=he(o,t),o.l||de(o,t)),o.u&&re("Patches").M(e[Ie].t,t,o.u,o.s)):t=he(o,e,[]),ae(o),o.u&&o.v(o.u,o.s),t!==xe?t:void 0}function he(t,o,e){if(ee(o))return o;var r=o[Ie];if(!r)return zo(o,(function(n,i){return ue(t,r,o,n,i,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return de(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=Qo(r.k):r.o,i=n,a=!1;3===r.i&&(i=new Set(n),n.clear(),a=!0),zo(i,(function(o,i){return ue(t,r,n,o,i,e,a)})),de(t,n,!1),e&&t.u&&re("Patches").N(r,e,t.u,t.s)}return r.o}function ue(t,o,e,r,n,i,a){if(Do(n)){var s=he(t,n,i&&o&&3!==o.i&&!Ho(o.R,r)?i.concat(r):void 0);if(qo(e,r,s),!Do(s))return;t.m=!1}else a&&e.add(n);if($o(n)&&!ee(n)){if(!t.h.D&&t._<1)return;he(t,n),o&&o.A.l||de(t,n)}}function de(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&te(o,e)}function pe(t,o){var e=t[Ie];return(e?Xo(e):t)[o]}function ye(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 be(t){t.P||(t.P=!0,t.l&&be(t.l))}function ge(t){t.o||(t.o=Qo(t.t))}function me(t,o,e){var r=Vo(o)?re("MapSet").F(o,e):Jo(o)?re("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:ne(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=r,i=Ke;e&&(n=[r],i=je);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(o,e):re("ES5").J(o,e);return(e?e.A:ne()).p.push(r),r}function Oe(t){return Do(t)||Bo(22,t),function t(o){if(!$o(o))return o;var e,r=o[Ie],n=Go(o);if(r){if(!r.P&&(r.i<4||!re("ES5").K(r)))return r.t;r.I=!0,e=ve(o,n),r.I=!1}else e=ve(o,n);return zo(e,(function(o,n){r&&function(t,o){return 2===Go(t)?t.get(o):t[o]}(r.t,o)===n||qo(e,o,t(n))})),3===n?new Set(e):e}(t)}function ve(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Qo(t)}jo=Zo,Po=To,Mo=Fo;var we,Ne,Se="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ee="undefined"!=typeof Map,Ce="undefined"!=typeof Set,Re="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,xe=Se?Symbol.for("immer-nothing"):((we={})["immer-nothing"]=!0,we),Ue=Se?Symbol.for("immer-draftable"):"__$immer_draftable",Ie=Se?Symbol.for("immer-state"):"__$immer_state",Le=""+Object.prototype.constructor,Ae="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ke=Object.getOwnPropertyDescriptors||function(t){var o={};return Ae(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},We={},Ke={get:function(t,o){if(o===Ie)return t;var e=Xo(t);if(!Ho(e,o))return function(t,o,e){var r,n=ye(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||!$o(r)?r:r===pe(t.t,o)?(ge(t),t.o[o]=me(t.A.h,r,t)):r},has:function(t,o){return o in Xo(t)},ownKeys:function(t){return Reflect.ownKeys(Xo(t))},set:function(t,o,e){var r=ye(Xo(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var n=pe(Xo(t),o),i=null==n?void 0:n[Ie];if(i&&i.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(Yo(e,n)&&(void 0!==e||Ho(t.t,o)))return!0;ge(t),be(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!==pe(t.t,o)||o in t.t?(t.R[o]=!1,ge(t),be(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=Xo(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(){Bo(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Bo(12)}},je={};zo(Ke,(function(t,o){je[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),je.deleteProperty=function(t,o){return je.set.call(this,t,o,void 0)},je.set=function(t,o,e){return Ke.set.call(this,t[0],o,e,t[0])};var Pe=function(){function t(t){var o=this;this.O=Re,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&&Bo(6),void 0!==r&&"function"!=typeof r&&Bo(7),$o(t)){var s=ce(o),c=me(o,t,void 0),l=!0;try{a=e(c),l=!1}finally{l?ae(s):se(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ie(s,r),fe(t,s)}),(function(t){throw ae(s),t})):(ie(s,r),fe(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===xe&&(a=void 0),o.D&&te(a,!0),r){var f=[],h=[];re("Patches").M(t,a,f,h),r(f,h)}return a}Bo(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){$o(t)||Bo(8),Do(t)&&(t=Oe(t));var o=ce(this),e=me(this,t,void 0);return e[Ie].C=!0,se(o),e},o.finishDraft=function(t,o){var e=(t&&t[Ie]).A;return ie(e,o),fe(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Re&&Bo(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=re("Patches").$;return Do(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Me=new Pe,Fe=Me.produce;function Ze(t){return Ze="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},Ze(t)}function Te(t){var o=function(t,o){if("object"!==Ze(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Ze(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Ze(o)?o:String(o)}function _e(t,o,e){return(o=Te(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Be(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 De(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Be(Object(e),!0).forEach((function(o){_e(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Be(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function $e(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. "}Me.produceWithPatches.bind(Me),Me.setAutoFreeze.bind(Me),Me.setUseProxies.bind(Me),Me.applyPatches.bind(Me),Me.createDraft.bind(Me),Me.finishDraft.bind(Me);var ze="function"==typeof Symbol&&Symbol.observable||"@@observable",Ge=function(){return Math.random().toString(36).substring(7).split("").join(".")},He={INIT:"@@redux/INIT"+Ge(),REPLACE:"@@redux/REPLACE"+Ge(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ge()}};function qe(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error($e(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error($e(1));return e(qe)(t,o)}if("function"!=typeof t)throw new Error($e(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($e(3));return i}function h(t){if("function"!=typeof t)throw new Error($e(4));if(c)throw new Error($e(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error($e(6));o=!1,l();var e=s.indexOf(t);s.splice(e,1),a=null}}}function u(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($e(7));if(void 0===t.type)throw new Error($e(8));if(c)throw new Error($e(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 u({type:He.INIT}),(r={dispatch:u,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error($e(10));n=t,u({type:He.REPLACE})}})[ze]=function(){var t,o=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error($e(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ze]=function(){return this},t},r}function Ye(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:He.INIT}))throw new Error($e(12));if(void 0===e(void 0,{type:He.PROBE_UNKNOWN_ACTION()}))throw new Error($e(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($e(14));n[c]=h,r=r||h!==f}return(r=r||a.length!==Object.keys(t).length)?n:t}}function Ve(){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 Je(){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($e(15))},n={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return r=Ve.apply(void 0,i)(e.dispatch),De(De({},e),{},{dispatch:r})}}}function Xe(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 Qe=Xe();Qe.withExtraArgument=Xe;var tr,or=Qe,er=(tr=function(t,o){return tr=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])},tr(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}tr(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),rr=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])}}},nr=function(t,o){for(var e=0,r=o.length,n=t.length;e<r;e++,n++)t[n]=o[e];return t},ir=Object.defineProperty,ar=Object.defineProperties,sr=Object.getOwnPropertyDescriptors,cr=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable,hr=function(t,o,e){return o in t?ir(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},ur=function(t,o){for(var e in o||(o={}))lr.call(o,e)&&hr(t,e,o[e]);if(cr)for(var r=0,n=cr(o);r<n.length;r++){e=n[r];fr.call(o,e)&&hr(t,e,o[e])}return t},dr=function(t,o){return ar(t,sr(o))},pr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ve:Ve.apply(null,arguments)};var yr=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 er(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,nr([void 0],t[0].concat(this)))):new(o.bind.apply(o,nr([void 0],t.concat(this))))},o}(Array),br=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 er(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,nr([void 0],t[0].concat(this)))):new(o.bind.apply(o,nr([void 0],t.concat(this))))},o}(Array);function gr(t){return $o(t)?Fe(t,(function(){})):t}function mr(){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 yr;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(or.withExtraArgument(e.extraArgument)):r.push(or));return r}(t)}}function Or(t){var o,e=mr(),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,u=r.enhancers,d=void 0===u?void 0:u;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=Ye(i)}var p=s;"function"==typeof p&&(p=p(e));var y=Je.apply(void 0,p),b=Ve;l&&(b=pr(ur({trace:!1},"object"==typeof l&&l)));var g=new br(y),m=g;return Array.isArray(d)?m=nr([y],d):"function"==typeof d&&(m=d(g)),qe(o,h,b.apply(void 0,m))}function vr(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 ur(ur({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 wr(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 Nr(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:gr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?wr(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=ur(ur({},n),s);return function(t,o,e,r){void 0===e&&(e=[]);var n,i="function"==typeof o?wr(o):[o,e,r],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return gr(t())};else{var l=gr(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var e=nr([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(Do(t))return void 0===(r=e(t,o))?t:r;if($o(t))return Fe(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?vr(l,r):vr(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 Sr=["name","message","stack","code"],Er=function(t,o){this.payload=t,this.meta=o},Cr=function(t,o){this.payload=t,this.meta=o},Rr=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Sr;e<r.length;e++){var n=r[e];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function xr(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=vr(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:dr(ur({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),n=vr(t+"/pending",(function(t,o,e){return{payload:void 0,meta:dr(ur({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=vr(t+"/rejected",(function(t,o,r,n,i){return{payload:n,error:(e&&e.serializeError||Rr)(t||"Rejected"),meta:dr(ur({},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}(),u=new a;function d(t){f=t,u.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,b,g,m;return rr(this,(function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),b=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:l}),null===(v=b)||"object"!=typeof v||"function"!=typeof v.then?[3,2]:[4,b];case 1:b=O.sent(),O.label=2;case 2:if(!1===b||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(n(h,t,null==(p=null==e?void 0:e.getPendingMeta)?void 0:p.call(e,{requestId:h,arg:t},{getState:c,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:s,getState:c,extra:l,requestId:h,signal:u.signal,abort:d,rejectWithValue:function(t,o){return new Er(t,o)},fulfillWithValue:function(t,o){return new Cr(t,o)}})).then((function(o){if(o instanceof Er)throw o;return o instanceof Cr?r(o.payload,h,t,o.meta):r(o,h,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof Er?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 v}))},new Promise((function(t,o){var e=function(t){try{n(y.next(t))}catch(t){o(t)}},r=function(t){try{n(y.throw(t))}catch(t){o(t)}},n=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};n((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:h,arg:t,unwrap:function(){return p.then(xr)}})}}),{pending:n,rejected:i,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ur="listenerMiddleware";vr(Ur+"/add"),vr(Ur+"/removeAll"),vr(Ur+"/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[Ie];return Ke.get(o,t)},set:function(o){var e=this[Ie];Ke.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Ie];if(!n.P)switch(n.i){case 5:r(n)&&be(n);break;case 4:e(n)&&be(n)}}}function e(t){for(var o=t.t,e=t.k,r=Ae(e),n=r.length-1;n>=0;n--){var i=r[n];if(i!==Ie){var a=o[i];if(void 0===a&&!Ho(o,i))return!0;var s=e[i],c=s&&s[Ie];if(c?c.t!==a:!Yo(s,a))return!0}}var l=!!o[Ie];return r.length!==Ae(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){We[t]||(We[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=ke(e);delete i[Ie];for(var a=Ae(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:ne(),P:!1,I:!1,R:{},l:e,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Ie,{value:i,writable:!0}),n},S:function(t,e,n){n?Do(e)&&e[Ie].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Ie];if(e){var n=e.t,i=e.k,a=e.R,s=e.i;if(4===s)zo(i,(function(o){o!==Ie&&(void 0!==n[o]||Ho(n,o)?a[o]||t(i[o]):(a[o]=!0,be(e)))})),zo(n,(function(t){void 0!==i[t]||Ho(i,t)||(a[t]=!1,be(e))}));else if(5===s){if(r(e)&&(be(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 Ir{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(Ko(n))return n;if(null==r)return;const i=Nr({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Or({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 Ir(i,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),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()}}const Lr=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const n={hasChanged:(t,o)=>!k(t,o),attribute:!1,...o};I(n)(t,e);const i=t;i.reduxProperties=i.reduxProperties||new Map,i.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}};var Ar,kr;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(kr=null===(Ar=window.safari)||void 0===Ar?void 0:Ar.pushNotification)||void 0===kr||kr.toString());const Wr=vt`
103
+ `,Kr={setRequest:(t,o)=>{t.request=o.payload},setRequestQuery:(t,o)=>{t.request.query=o.payload},setRequestContentLocale:(t,o)=>{t.request.contentLocale=o.payload},setPageSize:(t,o)=>{t.request.paging.perPage=o.payload},setPageNumber:(t,o)=>{t.request.paging.page=o.payload},setRequestSort:(t,o)=>{t.request.sort=o.payload},setRequestFilters:(t,o)=>{t.request.filters=o.payload},setRequestFacets:(t,o)=>{t.request.facets=o.payload},setRequestVirtualField:(t,o)=>{t.request.virtualField=o.payload},setRequestScope:(t,o)=>{t.request.scope=o.payload},setResults:(t,o)=>{t.results=o.payload},setFacets:(t,o)=>{t.facets=o.payload},setSpellcheck:(t,o)=>{t.spellcheck=o.payload},setLocales:(t,o)=>{t.locales=o.payload},setPaging:(t,o)=>{t.paging=o.payload},setLiveQuery:(t,o)=>{t.liveQuery=o.payload},setSuggestResults:(t,o)=>{t.suggestResults=o.payload}};var jr,Pr,Mr,Fr,Zr,Tr,_r,Br,Dr,$r,zr,Gr,Hr,qr;!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 u(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){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=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=u(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(b)}),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 p=["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(),p.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 b(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 g(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})},d.call(y.prototype),d.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];g.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new g(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 O(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 g(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)}))}O.polyfill=!0,t.fetch||(t.fetch=O,t.Headers=c,t.Request=y,t.Response=g),o.Headers=c,o.Request=y,o.Response=g,o.fetch=O,Object.defineProperty(o,"U",{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"}(Pr||(Pr={})),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"}(Mr||(Mr={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Fr||(Fr={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Zr||(Zr={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Tr||(Tr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(_r||(_r={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Br||(Br={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Dr||(Dr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}($r||($r={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(zr||(zr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Gr||(Gr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Hr||(Hr={})),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.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"}(qr||(qr={})),qr.PERSONAL_BOOK_SHARE_USER,qr.PERSONAL_BOOK_USER,qr.HTML_EXPORT_USER,qr.PERSONAL_BOOK_USER,qr.PDF_EXPORT_USER,qr.PERSONAL_BOOK_USER,qr.KHUB_ADMIN,qr.CONTENT_PUBLISHER,qr.ADMIN,qr.KHUB_ADMIN,qr.USERS_ADMIN,qr.PORTAL_ADMIN,qr.DEVELOPER,qr.BETA_USER,qr.DEBUG_USER;const Yr=vt`
104
+ `,Vr=Ir.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Jr{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=Vr.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?Jr.build(t):null!==(o=Jr.API)&&void 0!==o?o:Jr.API=Jr.build()}static await(t){return new Promise((o=>{let e=Jr.get(t);if(e)o(e);else{const r=Vr.subscribe((()=>{e=Jr.get(t),e&&(r(),o(e))}))}}))}}var Xr;const Qr=Symbol("clearAfterUnitTest");class tn{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new n,this.listeners={},this.currentUiLocale="",this[Xr]=()=>{this.defaultMessages={},this.cache=new n,this.listeners={}},this.currentUiLocale=Vr.getState().uiLocale,Vr.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Vr.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};k(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 Wo(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=>A(0).then((()=>t())).catch((()=>null)))))}}Xr=Qr,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new tn((async(t,o)=>(await Jr.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new tn((async(t,o)=>(await Jr.await()).getCustomMessageContext(t,o))));const on=window.FluidTopicsI18nService;var en=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 rn extends ko{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Jr.get(),this.cache=new n,this.cleanSessionDebouncer=new i}render(){return eo`
89
105
  <slot></slot>
90
- `}update(t){super.update(t),t.has("baseUrl")&&Hr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Hr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Hr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Hr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Hr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Hr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Hr.actions.setSession(this.session),t.has("availableUiLocales")&&Hr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Jr.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}te.elementDefinitions={},te.styles=Gr,Qr([s()],te.prototype,"baseUrl",void 0),Qr([s()],te.prototype,"apiIntegrationIdentifier",void 0),Qr([s()],te.prototype,"uiLocale",void 0),Qr([d([])],te.prototype,"availableUiLocales",void 0),Qr([s({type:Boolean})],te.prototype,"editorMode",void 0),Qr([s({type:Boolean})],te.prototype,"noCustom",void 0),Qr([s({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],te.prototype,"noCustomComponent",void 0),Qr([s({type:Boolean})],te.prototype,"withManualResources",void 0),Qr([d([])],te.prototype,"messageContexts",void 0),Qr([d(void 0)],te.prototype,"session",void 0),Qr([s({type:Object})],te.prototype,"apiProvider",void 0);class oe{async listMySearches(){var t;return(null===(t=Hr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await qr.await()).listMySearches(Hr.getState().session.profile.userId):[]}}const re=new n;class ee{async listMyBookmarks(){return re.get("bookmarks",(async()=>(await qr.await()).listMyBookmarks(Hr.getState().session.profile.userId)))}clearCache(){re.clear("bookmarks")}}const ne=Rr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const ie=new class{constructor(){this.currentSession=Hr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ee,Hr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Hr.getState();u(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(){ne.actions.savedSearches(void 0)}clearMyBookmarks(){ne.actions.bookmarks(void 0)}async reloadMySearches(){const t=new oe,o=await t.listMySearches();ne.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;ne.actions.bookmarks(o)}}};h("ft-app-context")(te);class ae{static async build(){return new ae(await qr.await())}constructor(t){this.api=t,this.cache=new n,this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const se=t=>t.request.virtualField===Pr.TITLE_ONLY&&t.request.scope===zr.DOCUMENTS;class ce extends Event{constructor(){super(ce.eventName)}}ce.eventName="search-context-clear-all-filters";class le{static build(t){return new le((t=>Rr.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Ar}))(t.trim()||"context"),ae.build)}constructor(t,o){this.store=t,this.serviceProvider=o,this.searchDebouncer=new i(100),this.suggestDebouncer=new i(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await f(5);return this.service}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let o=this.store.getState().locales,r=this.store.getState().request.contentLocale;if(t!=r){if(o){const e=t=>o.some((o=>o.lang==t));e(t)||(t=e(r)?r:o[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const o=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Pr.TITLE_ONLY),this.store.actions.setRequestScope(zr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Pr.EVERYWHERE),this.store.actions.setRequestScope(zr.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return se(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new ce)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,o){let r=this.facetIds.filter((o=>o!=t));o&&r.push(o),this.facetIds=r,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let o=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(o)}setFilter(t,o){let r=this.store.getState().request.filters,e={key:t,values:o,negative:!1},n=[...r.filter((o=>o.key!==t)),e];this.setFilters(n)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,r;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel(),this.cancelableSearch=e(this.service.launchSearch(this.store.getState().request));const o=await this.cancelableSearch;if(o.paging.currentPage<=1)this.store.actions.setResults(o.results),this.store.actions.setFacets(o.facets),this.store.actions.setSpellcheck(o.spellcheck);else{let t=(null!==(r=this.store.getState().results)&&void 0!==r?r:[]).concat(o.results);this.store.actions.setResults(t)}this.store.actions.setPaging(o.paging)}catch(t){t instanceof o||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const o=this.store.getState(),r=o.request,n={input:o.liveQuery,filters:r.filters,sort:r.sort,contentLocale:r.contentLocale,scope:r.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=e(this.service.launchSuggest(n));let i=await this.cancelableSuggest;this.store.actions.setSuggestResults(i.suggestions)}catch(t){t instanceof o||!this.errorHandler||this.errorHandler(t)}}}var fe=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class ue extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const he=Symbol("registerInterval");class de extends(function(t){var o;class r 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[he]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[he]):this.dispatchEvent(new ue)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=he,fe([c()],r.prototype,"stateManager",void 0),r}(Zt)){}var pe=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,s=t.length-1;s>=0;s--)(n=t[s])&&(a=(i<3?n(a):i>3?n(o,r,a):n(o,r))||a);return i>3&&a&&Object.defineProperty(o,r,a),a};class ye extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class be extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class ge extends CustomEvent{constructor(t,o,r){super("ft-search-results-change",{detail:{request:t,paging:o,spellcheck:r}})}}class me extends Zt{get stateManager(){return null==this._stateManager&&(this._stateManager=le.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.filters=[],this.sort=[],this.addStore(Hr)}render(){return J`
106
+ `}update(t){super.update(t),t.has("baseUrl")&&Vr.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&Vr.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Vr.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&Vr.actions.setNoCustom(this.noCustom),t.has("editorMode")&&Vr.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&Vr.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&Vr.actions.setSession(this.session),t.has("availableUiLocales")&&Vr.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>on.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}rn.elementDefinitions={},rn.styles=Yr,en([I()],rn.prototype,"baseUrl",void 0),en([I()],rn.prototype,"apiIntegrationIdentifier",void 0),en([I()],rn.prototype,"uiLocale",void 0),en([K([])],rn.prototype,"availableUiLocales",void 0),en([I({type:Boolean})],rn.prototype,"editorMode",void 0),en([I({type:Boolean})],rn.prototype,"noCustom",void 0),en([I({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],rn.prototype,"noCustomComponent",void 0),en([I({type:Boolean})],rn.prototype,"withManualResources",void 0),en([K([])],rn.prototype,"messageContexts",void 0),en([K(void 0)],rn.prototype,"session",void 0),en([I({type:Object})],rn.prototype,"apiProvider",void 0);class nn{async listMySearches(){var t;return(null===(t=Vr.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Jr.await()).listMySearches(Vr.getState().session.profile.userId):[]}}const an=new n;class sn{async listMyBookmarks(){return an.get("bookmarks",(async()=>(await Jr.await()).listMyBookmarks(Vr.getState().session.profile.userId)))}clearCache(){an.clear("bookmarks")}}const cn=Ir.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const ln=new class{constructor(){this.currentSession=Vr.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new sn,Vr.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=Vr.getState();k(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(){cn.actions.savedSearches(void 0)}clearMyBookmarks(){cn.actions.bookmarks(void 0)}async reloadMySearches(){const t=new nn,o=await t.listMySearches();cn.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;cn.actions.bookmarks(o)}}};W("ft-app-context")(rn);class fn{static async build(){return new fn(await Jr.await())}constructor(t){this.api=t,this.cache=new n,this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const hn=t=>t.request.virtualField===Br.TITLE_ONLY&&t.request.scope===Hr.DOCUMENTS;class un extends Event{constructor(){super(un.eventName)}}un.eventName="search-context-clear-all-filters";class dn{static build(t){return new dn((t=>Ir.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Kr}))(t.trim()||"context"),fn.build)}constructor(t,o){this.store=t,this.serviceProvider=o,this.searchDebouncer=new i(100),this.suggestDebouncer=new i(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await A(5);return this.service}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let o=this.store.getState().locales,e=this.store.getState().request.contentLocale;if(t!=e){if(o){const r=t=>o.some((o=>o.lang==t));r(t)||(t=r(e)?e:o[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const o=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Br.TITLE_ONLY),this.store.actions.setRequestScope(Hr.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Br.EVERYWHERE),this.store.actions.setRequestScope(Hr.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return hn(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new un)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,o){let e=this.facetIds.filter((o=>o!=t));o&&e.push(o),this.facetIds=e,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let o=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(o)}setFilter(t,o){let e=this.store.getState().request.filters,r={key:t,values:o,negative:!1},n=[...e.filter((o=>o.key!==t)),r];this.setFilters(n)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,e;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel(),this.cancelableSearch=r(this.service.launchSearch(this.store.getState().request));const o=await this.cancelableSearch;if(o.paging.currentPage<=1)this.store.actions.setResults(o.results),this.store.actions.setFacets(o.facets),this.store.actions.setSpellcheck(o.spellcheck);else{let t=(null!==(e=this.store.getState().results)&&void 0!==e?e:[]).concat(o.results);this.store.actions.setResults(t)}this.store.actions.setPaging(o.paging)}catch(t){t instanceof o||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const o=this.store.getState(),e=o.request,n={input:o.liveQuery,filters:e.filters,sort:e.sort,contentLocale:e.contentLocale,scope:e.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=r(this.service.launchSuggest(n));let i=await this.cancelableSuggest;this.store.actions.setSuggestResults(i.suggestions)}catch(t){t instanceof o||!this.errorHandler||this.errorHandler(t)}}}var pn=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 yn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const bn=Symbol("registerInterval");class gn 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[bn]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[bn]):this.dispatchEvent(new yn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=bn,pn([L()],e.prototype,"stateManager",void 0),e}(_o)){}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 On extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class vn extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class wn extends CustomEvent{constructor(t,o,e){super("ft-search-results-change",{detail:{request:t,paging:o,spellcheck:e}})}}class Nn extends _o{get stateManager(){return null==this._stateManager&&(this._stateManager=dn.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.filters=[],this.sort=[],this.addStore(Vr)}render(){return eo`
91
107
  <slot @register-ft-search-component=${this.registerComponent}></slot>
92
- `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new be(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new ge(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new ye(t))}reloadSavedSearches(){ie.clearMySearches()}}me.elementDefinitions={},me.styles=Ir,pe([s()],me.prototype,"query",void 0),pe([s()],me.prototype,"contentLocale",void 0),pe([s({type:Number})],me.prototype,"pageSize",void 0),pe([s({type:Boolean})],me.prototype,"searchInDocumentTitlesOnly",void 0),pe([d([])],me.prototype,"filters",void 0),pe([d([])],me.prototype,"sort",void 0),pe([xr({store:"search"})],me.prototype,"request",void 0),pe([xr({store:"search"})],me.prototype,"paging",void 0),pe([xr({store:"search",selector:t=>t.spellcheck})],me.prototype,"autocorrect",void 0),pe([xr({store:Hr.name})],me.prototype,"session",void 0),h("ft-search-context")(me),t.ClearAllFiltersEvent=ce,t.FtSearchContext=me,t.FtSearchContextCssVariables={},t.FtSearchStateManager=le,t.LoadErrorEvent=ye,t.SearchRequestChangeEvent=be,t.SearchResultsChangeEvent=ge,t.searchInDocumentTitlesOnlySelector=se,t.styles=Ir}({});
108
+ `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new vn(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new wn(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new On(t))}reloadSavedSearches(){ln.clearMySearches()}}Nn.elementDefinitions={},Nn.styles=Wr,mn([I()],Nn.prototype,"query",void 0),mn([I()],Nn.prototype,"contentLocale",void 0),mn([I({type:Number})],Nn.prototype,"pageSize",void 0),mn([I({type:Boolean})],Nn.prototype,"searchInDocumentTitlesOnly",void 0),mn([K([])],Nn.prototype,"filters",void 0),mn([K([])],Nn.prototype,"sort",void 0),mn([Lr({store:"search"})],Nn.prototype,"request",void 0),mn([Lr({store:"search"})],Nn.prototype,"paging",void 0),mn([Lr({store:"search",selector:t=>t.spellcheck})],Nn.prototype,"autocorrect",void 0),mn([Lr({store:Vr.name})],Nn.prototype,"session",void 0),W("ft-search-context")(Nn),t.ClearAllFiltersEvent=un,t.FtSearchContext=Nn,t.FtSearchContextCssVariables={},t.FtSearchStateManager=dn,t.LoadErrorEvent=On,t.SearchRequestChangeEvent=vn,t.SearchResultsChangeEvent=wn,t.searchInDocumentTitlesOnlySelector=hn,t.styles=Wr}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-context",
3
- "version": "1.0.63",
3
+ "version": "1.1.0",
4
4
  "description": "Context block for integrated search components",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,12 +19,12 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-app-context": "1.0.63",
23
- "@fluid-topics/ft-wc-utils": "1.0.63",
24
- "lit": "2.7.2"
22
+ "@fluid-topics/ft-app-context": "1.1.0",
23
+ "@fluid-topics/ft-wc-utils": "1.1.0",
24
+ "lit": "3.1.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@fluid-topics/public-api": "1.0.50"
28
28
  },
29
- "gitHead": "020d13bf82a28437f4d7a7395ad9b628bc4342f1"
29
+ "gitHead": "3f2a051fc84a0e27b942f311efee39954f6d2883"
30
30
  }