@fluid-topics/ft-search-results 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.
@@ -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,c=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,n){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(n))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const c=n.prototype.attributeChangedCallback,s=new Set(n.observedAttributes||[]);d(n,s,c);const l={elementClass:n,connectedCallback:n.prototype.connectedCallback,disconnectedCallback:n.prototype.disconnectedCallback,adoptedCallback:n.prototype.adoptedCallback,attributeChangedCallback:c,formAssociated:n.formAssociated,formAssociatedCallback:n.prototype.formAssociatedCallback,formDisabledCallback:n.prototype.formDisabledCallback,formResetCallback:n.prototype.formResetCallback,formStateRestoreCallback:n.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,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 h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)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=s;if(o)return s=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=c.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)}},d=(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)})},h=o=>{const r=Object.getPrototypeOf(o);if(r!==window.HTMLElement)return r===t||"HTMLElement"===r?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):h(r)},p=(t,o,r=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),n.set(t,o),s=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.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&&c.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(t){const o=window.customElements.define;window.customElements.define=(t,r,e)=>{if(null!==r)try{o.bind(window.customElements)(t,r,e)}catch(o){console.info(t,r,e,o)}}}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}}class e{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,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=(t=>new r(((o,r)=>t.then(o).catch(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 n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const 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,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)});const i=t.prototype.toggleAttribute;i&&(t.prototype.toggleAttribute=function(t,e){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,e);const o=this.getAttribute(n);r.call(this,n,t,o)}else i.call(this,n,e)})},d=o=>{const r=Object.getPrototypeOf(o);if(r!==window.HTMLElement)return r===t?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.attributeChangedCallback&&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)return e?.call(this,...o);throw new DOMException(`Failed to execute ${e} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));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(t){const o=window.customElements.define;window.customElements.define=(t,r,e)=>{if(null!==r)try{o.bind(window.customElements)(t,r,e)}catch(o){console.info(t,r,e,o)}}}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}}class e{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,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=(t=>new r(((o,r)=>t.then(o).catch(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 n{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const 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}}
18
16
  /**
19
- * @license
20
- * Copyright 2017 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */const i=(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 a(t){return(o,r)=>void 0!==r?((t,o,r)=>{o.constructor.createProperty(r,t)})(t,o,r):i(t,o)
17
+ * @license
18
+ * Copyright 2019 Google LLC
19
+ * SPDX-License-Identifier: BSD-3-Clause
20
+ */const i=globalThis,a=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),c=new WeakMap;const l=t=>new class{constructor(t,o,r){if(this._$cssResult$=!0,r!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(a&&void 0===t){const r=void 0!==o&&1===o.length;r&&(t=c.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&c.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,s),f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const r of t.cssRules)o+=r.cssText;return l(o)})(t):t
23
21
  /**
24
- * @license
25
- * Copyright 2017 Google LLC
26
- * SPDX-License-Identifier: BSD-3-Clause
27
- */}function c(t){return a({...t,state:!0})}
22
+ * @license
23
+ * Copyright 2017 Google LLC
24
+ * SPDX-License-Identifier: BSD-3-Clause
25
+ */,{is:u,defineProperty:h,getOwnPropertyDescriptor:d,getOwnPropertyNames:p,getOwnPropertySymbols:y,getPrototypeOf:b}=Object,g=globalThis,m=g.trustedTypes,O=m?m.emptyScript:"",v=g.reactiveElementPolyfillSupport,w=(t,o)=>t,N={toAttribute(t,o){switch(o){case Boolean:t=t?O: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}},S=(t,o)=>!u(t,o),E={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:S};Symbol.metadata??=Symbol("metadata"),g.litPropertyMetadata??=new WeakMap;let C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=E){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const r=Symbol(),e=this.getPropertyDescriptor(t,r,o);void 0!==e&&h(this.prototype,t,e)}}static getPropertyDescriptor(t,o,r){const{get:e,set:n}=d(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return e?.call(this)},set(o){const i=e?.call(this);n.call(this,o),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??E}static _$Ei(){if(this.hasOwnProperty(w("elementProperties")))return;const t=b(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(w("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(w("properties"))){const t=this.properties,o=[...p(t),...y(t)];for(const r of o)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,r]of o)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const r=this._$Eu(t,o);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}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(f(t))}else void 0!==t&&o.push(f(t));return o}static _$Eu(t,o){const r=o.attribute;return!1===r?void 0:"string"==typeof r?r:"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 r of o.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(a)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of o){const o=document.createElement("style"),e=i.litNonce;void 0!==e&&o.setAttribute("nonce",e),o.textContent=r.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,r){this._$AK(t,r)}_$EO(t,o){const r=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,r);if(void 0!==e&&!0===r.reflect){const n=(void 0!==r.converter?.toAttribute?r.converter:N).toAttribute(o,r.type);this._$Em=t,null==n?this.removeAttribute(e):this.setAttribute(e,n),this._$Em=null}}_$AK(t,o){const r=this.constructor,e=r._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=r.getPropertyOptions(e),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:N;this._$Em=e,this[e]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,r,e=!1,n){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??S)(e?n:this[t],o))return;this.C(t,o,r)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,r){this._$AL.has(t)||this._$AL.set(t,o),!0===r.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,r]of t)!0!==r.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],r)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[w("elementProperties")]=new Map,C[w("finalized")]=new Map,v?.({ReactiveElement:C}),(g.reactiveElementVersions??=[]).push("2.0.2");
28
26
  /**
29
- * @license
30
- * Copyright 2021 Google LLC
31
- * SPDX-License-Identifier: BSD-3-Clause
32
- */var s;null===(s=window.HTMLSlotElement)||void 0===s||s.prototype.assignedElements;function l(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var r,e,n;if(Array.isArray(t)){if((r=t.length)!=o.length)return!1;for(e=r;0!=e--;)if(!l(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(!l(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(!l(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const f=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function u(t,o){const r=()=>JSON.parse(JSON.stringify(t));return a({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)=>!l(t,o),...null!=o?o:{}})}
27
+ * @license
28
+ * Copyright 2017 Google LLC
29
+ * SPDX-License-Identifier: BSD-3-Clause
30
+ */
31
+ const R={attribute:!0,type:String,converter:N,reflect:!1,hasChanged:S},x=(t=R,o,r)=>{const{kind:e,metadata:n}=r;let i=globalThis.litPropertyMetadata.get(n);if(void 0===i&&globalThis.litPropertyMetadata.set(n,i=new Map),i.set(r.name,t),"accessor"===e){const{name:e}=r;return{set(r){const n=o.get.call(this);o.set.call(this,r),this.requestUpdate(e,n,t)},init(o){return void 0!==o&&this.C(e,void 0,t),o}}}if("setter"===e){const{name:e}=r;return function(r){const n=this[e];o.call(this,r),this.requestUpdate(e,n,t)}}throw Error("Unsupported decorator location: "+e)};function U(t){return(o,r)=>"object"==typeof r?x(t,o,r):((t,o,r)=>{const e=o.hasOwnProperty(r);return o.constructor.createProperty(r,e?{...t,wrapped:!0}:t),e?Object.getOwnPropertyDescriptor(o,r):void 0})(t,o,r)
33
32
  /**
34
- * @license
35
- * Copyright 2019 Google LLC
36
- * SPDX-License-Identifier: BSD-3-Clause
37
- */const d=window,h=d.ShadowRoot&&(void 0===d.ShadyCSS||d.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),y=new WeakMap;let b=class{constructor(t,o,r){if(this._$cssResult$=!0,r!==p)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(h&&void 0===t){const r=void 0!==o&&1===o.length;r&&(t=y.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&y.set(o,t))}return t}toString(){return this.cssText}};const g=t=>new b("string"==typeof t?t:t+"",void 0,p),m=(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 b(r,t,p)},v=(t,o)=>{h?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const r=document.createElement("style"),e=d.litNonce;void 0!==e&&r.setAttribute("nonce",e),r.textContent=o.cssText,t.appendChild(r)}))},O=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const r of t.cssRules)o+=r.cssText;return g(o)})(t):t
33
+ * @license
34
+ * Copyright 2017 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */}function I(t){return U({...t,state:!0,attribute:!1})}function L(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var r,e,n;if(Array.isArray(t)){if((r=t.length)!=o.length)return!1;for(e=r;0!=e--;)if(!L(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(!L(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(!L(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const A=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function k(t,o){const r=()=>JSON.parse(JSON.stringify(t));return U({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)=>!L(t,o),...null!=o?o:{}})}
38
37
  /**
39
- * @license
40
- * Copyright 2017 Google LLC
41
- * SPDX-License-Identifier: BSD-3-Clause
42
- */;var N;const w=window,S=w.trustedTypes,E=S?S.emptyScript:"",C=w.reactiveElementPolyfillSupport,R={toAttribute(t,o){switch(o){case Boolean:t=t?E: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}},x=(t,o)=>o!==t&&(o==o||t==t),U={attribute:!0,type:String,converter:R,reflect:!1,hasChanged:x};let I=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=U){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)||U}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(O(t))}else void 0!==t&&o.push(O(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 v(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=U){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:R).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:R;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||x)(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 W=globalThis,K=W.trustedTypes,j=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",M=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+M,T=`<${Z}>`,F=document,_=()=>F.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,D=Array.isArray,$=t=>D(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,q=/>/g,Y=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,X=/^(?:script|style|textarea|title)$/i,Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,rt=F.createTreeWalker(F,129);function et(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==j?j.createHTML(o):o}const nt=(t,o)=>{const r=t.length-1,e=[];let n,i=2===o?"<svg>":"",a=G;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===G?"!--"===c[1]?a=H:void 0!==c[1]?a=q:void 0!==c[2]?(X.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=Y):void 0!==c[3]&&(a=Y):a===Y?">"===c[0]?(a=n??G,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?Y:'"'===c[3]?J:V):a===J||a===V?a=Y:a===H||a===q?a=G:(a=Y,n=void 0);const u=a===Y&&t[o+1].startsWith("/>")?" ":"";i+=a===G?r+T:l>=0?(e.push(s),r.slice(0,l)+P+r.slice(l)+M+u):r+M+(-2===l?o:u)}return[et(t,i+(t[r]||"<?>")+(2===o?"</svg>":"")),e]};let it=class t{constructor({strings:o,_$litType$:r},e){let n;this.parts=[];let i=0,a=0;const s=o.length-1,c=this.parts,[l,f]=nt(o,r);if(this.el=t.createElement(l,e),rt.currentNode=this.el.content,2===r){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=rt.nextNode())&&c.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(P)){const o=f[a++],r=n.getAttribute(t).split(M),e=/([.?@])?(.*)/.exec(o);c.push({type:1,index:i,name:e[2],strings:r,ctor:"."===e[1]?ft:"?"===e[1]?ut:"@"===e[1]?ht:lt}),n.removeAttribute(t)}else t.startsWith(M)&&(c.push({type:6,index:i}),n.removeAttribute(t));if(X.test(n.tagName)){const t=n.textContent.split(M),o=t.length-1;if(o>0){n.textContent=K?K.emptyScript:"";for(let r=0;r<o;r++)n.append(t[r],_()),rt.nextNode(),c.push({type:2,index:++i});n.append(t[o],_())}}}else if(8===n.nodeType)if(n.data===Z)c.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(M,t+1));)c.push({type:7,index:i}),t+=M.length-1}i++}}static createElement(t,o){const r=F.createElement("template");return r.innerHTML=t,r}};function at(t,o,r=t,e){if(o===Q)return o;let n=void 0!==e?r._$Co?.[e]:r._$Cl;const i=B(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,r,e)),void 0!==e?(r._$Co??=[])[e]=n:r._$Cl=n),void 0!==n&&(o=at(t,n._$AS(t,o.values),n,e)),o}let st=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:r}=this._$AD,e=(t?.creationScope??F).importNode(o,!0);rt.currentNode=e;let n=rt.nextNode(),i=0,a=0,s=r[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new ct(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new dt(n,this,t)),this._$AV.push(o),s=r[++a]}i!==s?.index&&(n=rt.nextNode(),i++)}return rt.currentNode=F,e}p(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++}},ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,r,e){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=r,this.options=e,this._$Cv=e?.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),B(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)?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&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(F.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:r}=t,e="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=it.createElement(et(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===e)this._$AH.p(o);else{const t=new st(e,this),r=t.u(this.options);t.p(o),this.$(r),this._$AH=t}}_$AC(t){let o=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new it(t)),o}T(o){D(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(_()),this.k(_()),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){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))}},lt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}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}_$AI(t,o=this,r,e){const n=this.strings;let i=!1;if(void 0===n)t=at(this,t,o,0),i=!B(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=at(this,e[r+a],o,a),s===Q&&(s=this._$AH[a]),i||=!B(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!e&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends lt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ut=class extends lt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ht=class extends lt{constructor(t,o,r,e,n){super(t,o,r,e,n),this.type=5}_$AI(t,o=this){if((t=at(this,t,o,0)??tt)===Q)return;const r=this._$AH,e=t===tt&&r!==tt||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==tt&&(r===tt||e);e&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},dt=class{constructor(t,o,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){at(this,t)}};const pt={j:P,P:M,A:Z,C:1,M:nt,L:st,R:$,V:at,D:ct,I:lt,H:ut,N:ht,U:ft,B:dt},yt=W.litHtmlPolyfillSupport;yt?.(it,ct),(W.litHtmlVersions??=[]).push("3.1.0");
43
42
  /**
44
- * @license
45
- * Copyright 2017 Google LLC
46
- * SPDX-License-Identifier: BSD-3-Clause
47
- */
48
- var L;I.finalized=!0,I.elementProperties=new Map,I.elementStyles=[],I.shadowRootOptions={mode:"open"},null==C||C({ReactiveElement:I}),(null!==(N=w.reactiveElementVersions)&&void 0!==N?N:w.reactiveElementVersions=[]).push("1.6.1");const A=window,W=A.trustedTypes,k=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",j=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+j,F=`<${Z}>`,M=document,T=()=>M.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,D=t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),_="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,z=/-->/g,G=/>/g,H=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),q=/'/g,Y=/"/g,V=/^(?:script|style|textarea|title)$/i,X=(t=>(o,...r)=>({_$litType$:t,strings:o,values:r}))(1),J=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),tt=new WeakMap,ot=M.createTreeWalker(M,129,null,!1),rt=(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 c,s,l=-1,f=0;for(;f<r.length&&(a.lastIndex=f,s=a.exec(r),null!==s);)f=a.lastIndex,a===$?"!--"===s[1]?a=z:void 0!==s[1]?a=G:void 0!==s[2]?(V.test(s[2])&&(n=RegExp("</"+s[2],"g")),a=H):void 0!==s[3]&&(a=H):a===H?">"===s[0]?(a=null!=n?n:$,l=-1):void 0===s[1]?l=-2:(l=a.lastIndex-s[2].length,c=s[1],a=void 0===s[3]?H:'"'===s[3]?Y:q):a===Y||a===q?a=H:a===z||a===G?a=$:(a=H,n=void 0);const u=a===H&&t[o+1].startsWith("/>")?" ":"";i+=a===$?r+F:l>=0?(e.push(c),r.slice(0,l)+K+r.slice(l)+j+u):r+j+(-2===l?(e.push(void 0),o):u)}const c=i+(t[r]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==k?k.createHTML(c):c,e]};class et{constructor({strings:t,_$litType$:o},r){let e;this.parts=[];let n=0,i=0;const a=t.length-1,c=this.parts,[s,l]=rt(t,o);if(this.el=et.createElement(s,r),ot.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(e=ot.nextNode())&&c.length<a;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const o of e.getAttributeNames())if(o.endsWith(K)||o.startsWith(j)){const r=l[i++];if(t.push(o),void 0!==r){const t=e.getAttribute(r.toLowerCase()+K).split(j),o=/([.?@])?(.*)/.exec(r);c.push({type:1,index:n,name:o[2],strings:t,ctor:"."===o[1]?st:"?"===o[1]?ft:"@"===o[1]?ut:ct})}else c.push({type:6,index:n})}for(const o of t)e.removeAttribute(o)}if(V.test(e.tagName)){const t=e.textContent.split(j),o=t.length-1;if(o>0){e.textContent=W?W.emptyScript:"";for(let r=0;r<o;r++)e.append(t[r],T()),ot.nextNode(),c.push({type:2,index:++n});e.append(t[o],T())}}}else if(8===e.nodeType)if(e.data===Z)c.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(j,t+1));)c.push({type:7,index:n}),t+=j.length-1}n++}}static createElement(t,o){const r=M.createElement("template");return r.innerHTML=t,r}}function nt(t,o,r=t,e){var n,i,a,c;if(o===J)return o;let s=void 0!==e?null===(n=r._$Co)||void 0===n?void 0:n[e]:r._$Cl;const l=P(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==l&&(null===(i=null==s?void 0:s._$AO)||void 0===i||i.call(s,!1),void 0===l?s=void 0:(s=new l(t),s._$AT(t,r,e)),void 0!==e?(null!==(a=(c=r)._$Co)&&void 0!==a?a:c._$Co=[])[e]=s:r._$Cl=s),void 0!==s&&(o=nt(t,s._$AS(t,o.values),s,e)),o}let it=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:M).importNode(r,!0);ot.currentNode=n;let i=ot.nextNode(),a=0,c=0,s=e[0];for(;void 0!==s;){if(a===s.index){let o;2===s.type?o=new at(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new dt(i,this,t)),this._$AV.push(o),s=e[++c]}a!==(null==s?void 0:s.index)&&(i=ot.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++}},at=class t{constructor(t,o,r,e){var n;this.type=2,this._$AH=Q,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=nt(this,t,o),P(t)?t===Q||null==t||""===t?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==J&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):D(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!==Q&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.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=et.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 it(n,this),o=t.u(this.options);t.v(r),this.$(o),this._$AH=t}}_$AC(t){let o=tt.get(t.strings);return void 0===o&&tt.set(t.strings,o=new et(t)),o}T(o){B(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(T()),this.k(T()),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))}},ct=class{constructor(t,o,r,e,n){this.type=1,this._$AH=Q,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=Q}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=nt(this,t,o,0),i=!P(t)||t!==this._$AH&&t!==J,i&&(this._$AH=t);else{const e=t;let a,c;for(t=n[0],a=0;a<n.length-1;a++)c=nt(this,e[r+a],o,a),c===J&&(c=this._$AH[a]),i||(i=!P(c)||c!==this._$AH[a]),c===Q?t=Q:t!==Q&&(t+=(null!=c?c:"")+n[a+1]),this._$AH[a]=c}i&&!e&&this.j(t)}j(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},st=class extends ct{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Q?void 0:t}};const lt=W?W.emptyScript:"";let ft=class extends ct{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Q?this.element.setAttribute(this.name,lt):this.element.removeAttribute(this.name)}},ut=class extends ct{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=nt(this,t,o,0))&&void 0!==r?r:Q)===J)return;const e=this._$AH,n=t===Q&&e!==Q||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==Q&&(e===Q||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)}},dt=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){nt(this,t)}};const ht={O:K,P:j,A:Z,C:1,M:rt,L:it,D,R:nt,I:at,V:ct,H:ft,N:ut,U:st,F:dt},pt=A.litHtmlPolyfillSupport;null==pt||pt(et,at),(null!==(L=A.litHtmlVersions)&&void 0!==L?L:A.litHtmlVersions=[]).push("2.7.3");
43
+ * @license
44
+ * Copyright 2019 Google LLC
45
+ * SPDX-License-Identifier: BSD-3-Clause
46
+ */
47
+ const bt=globalThis,gt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),Ot=new WeakMap;let vt=class{constructor(t,o,r){if(this._$cssResult$=!0,r!==mt)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(gt&&void 0===t){const r=void 0!==o&&1===o.length;r&&(t=Ot.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&Ot.set(o,t))}return t}toString(){return this.cssText}};const wt=t=>new vt("string"==typeof t?t:t+"",void 0,mt),Nt=(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 vt(r,t,mt)},St=gt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const r of t.cssRules)o+=r.cssText;return wt(o)})(t):t
49
48
  /**
50
- * @license
51
- * Copyright 2017 Google LLC
52
- * SPDX-License-Identifier: BSD-3-Clause
53
- */
54
- var yt,bt;let gt=class extends I{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(T(),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 J}};gt.finalized=!0,gt._$litElement$=!0,null===(yt=globalThis.litElementHydrateSupport)||void 0===yt||yt.call(globalThis,{LitElement:gt});const mt=globalThis.litElementPolyfillSupport;null==mt||mt({LitElement:gt}),(null!==(bt=globalThis.litElementVersions)&&void 0!==bt?bt:globalThis.litElementVersions=[]).push("3.3.2");const vt=t=>"string"==typeof t?g(t):t;class Ot{static create(t,o,r,e){const n=t=>vt(null!=t?t:e),i=m`var(${vt(t)}, ${n(e)})`;return i.name=t,i.description=t,i.category=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>m`var(${vt(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=m`var(${vt(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=>m`var(${vt(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):vt(null!=o?o:t.lastResortDefaultValue()),e=m`var(${vt(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=>m`var(${vt(t.name)}, ${r(o)})`,e.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],e.lastResortDefaultValue=()=>t.lastResortDefaultValue(),e}}const Nt={colorWhite:Ot.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ot.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ot.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ot.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ot.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ot.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ot.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ot.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ot.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ot.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ot.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ot.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ot.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ot.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ot.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ot.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ot.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ot.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ot.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ot.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ot.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ot.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ot.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ot.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ot.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ot.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ot.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ot.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ot.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ot.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ot.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ot.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ot.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ot.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ot.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ot.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ot.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ot.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ot.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ot.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ot.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ot.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ot.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ot.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ot.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ot.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ot.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ot.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ot.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ot.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ot.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ot.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ot.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ot.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ot.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ot.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ot.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ot.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ot.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ot.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ot.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ot.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ot.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ot.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ot.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ot.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ot.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ot.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ot.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ot.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ot.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ot.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ot.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ot.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ot.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ot.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ot.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ot.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ot.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ot.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ot.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ot.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ot.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ot.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ot.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ot.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ot.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ot.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ot.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ot.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ot.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ot.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ot.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ot.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ot.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ot.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ot.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ot.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ot.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ot.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ot.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ot.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ot.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ot.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ot.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ot.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ot.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ot.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ot.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ot.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ot.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ot.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ot.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ot.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ot.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ot.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ot.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ot.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ot.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ot.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ot.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ot.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ot.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ot.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ot.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ot.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ot.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ot.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ot.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ot.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ot.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ot.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ot.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ot.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ot.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ot.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ot.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ot.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ot.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ot.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ot.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ot.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ot.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ot.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ot.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ot.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ot.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ot.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ot.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ot.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ot.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ot.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ot.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ot.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ot.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ot.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ot.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ot.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ot.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ot.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ot.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ot.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ot.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ot.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ot.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ot.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ot.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ot.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ot.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ot.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ot.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ot.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ot.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ot.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ot.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ot.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ot.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ot.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ot.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ot.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ot.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ot.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ot.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ot.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ot.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ot.create("--ft-opacity-80","","NUMBER","0.8")};Ot.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-display-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),Ot.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),Ot.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-display-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),Ot.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),Ot.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),Ot.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),Ot.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),Ot.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),Ot.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),Ot.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),Ot.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),Ot.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),Ot.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),Ot.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),Ot.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),Ot.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),Ot.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),Ot.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),Ot.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),Ot.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),Ot.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),Ot.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),Ot.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),Ot.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),Ot.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),Ot.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),Ot.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),Ot.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),Ot.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),Ot.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),Ot.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),Ot.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),Ot.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const wt={backgroundActionPrimary:Ot.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Nt.colorBrand0),backgroundErrorPrimary:Ot.extend("--ft-background-error-primary","Used as background of error components.",Nt.colorRed0),backgroundErrorSubtle:Ot.extend("--ft-background-error-subtle","Used as background of subtle error components.",Nt.colorRed10),backgroundInfoPrimary:Ot.extend("--ft-background-info-primary","Used as background of information components.",Nt.colorCyan200),backgroundInfoSubtle:Ot.extend("--ft-background-info-subtle","Used as background of subtle information components.",Nt.colorCyan10),backgroundWarningPrimary:Ot.extend("--ft-background-warning-primary","Used as background of warning components.",Nt.colorOrange300),backgroundWarningSubtle:Ot.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Nt.colorOrange10),backgroundSuccessPrimary:Ot.extend("--ft-background-success-primary","Used as background of success components.",Nt.colorGreen200),backgroundSuccessSubtle:Ot.extend("--ft-background-success-subtle","Used as background of subtle success components.",Nt.colorGreen10),backgroundGlobalSurface:Ot.extend("--ft-background-global-surface","Used as app background.",Nt.colorWhite),backgroundGlobalOnSurface:Ot.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Nt.colorGray10),backgroundGlobalOnSurfaceDark:Ot.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Nt.colorGray30),contentActionPrimary:Ot.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Nt.colorBrand0),contentWarningPrimary:Ot.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Nt.colorOrange300),contentWarningIconOnly:Ot.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Nt.colorOrange0),contentErrorPrimary:Ot.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Nt.colorRed0),contentErrorIconOnly:Ot.extend("--ft-content-error-icon-only","Used on error status icons alone",Nt.colorRed0),contentInfoPrimary:Ot.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Nt.colorCyan200),contentInfoIconOnly:Ot.extend("--ft-content-info-icon-only","Used on info status icons alone",Nt.colorCyan0),contentSuccessIconOnly:Ot.extend("--ft-content-success-icon-only","Used on success status icons alone",Nt.colorGreen0),contentSuccessPrimary:Ot.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Nt.colorGreen200),contentGlobalPrimary:Ot.extend("--ft-content-global-primary","Used for main content on the page.",Nt.colorGray500),contentGlobalSecondary:Ot.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Nt.colorGray200),contentGlobalSubtle:Ot.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Nt.colorGray0),contentGlobalOnColor:Ot.extend("--ft-content-global-on-color","Used for content on a dominant color.",Nt.colorWhite),borderActionPrimary:Ot.extend("--ft-border-action-primary","Used as border for primary action components.",Nt.colorBrand0),borderActionFocusRing:Ot.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Nt.colorCyan0),borderWarningPrimary:Ot.extend("--ft-border-warning-primary","Used as border for warning components.",Nt.colorOrange30),borderSuccessPrimary:Ot.extend("--ft-border-success-primary","Used as border for success components.",Nt.colorGreen30),borderErrorPrimary:Ot.extend("--ft-border-error-primary","Used as border for error components.",Nt.colorRed30),borderInfoPrimary:Ot.extend("--ft-border-info-primary","Used as border for information components.",Nt.colorCyan30),borderGlobalSubtle:Ot.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Nt.colorGray30),borderGlobalPrimary:Ot.extend("--ft-border-global-primary","Used as border for element like input.",Nt.colorGray50),borderInputPrimary:Ot.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Nt.colorGray80)};Ot.create("--ft-button-large-height","","SIZE","40px"),Ot.extend("--ft-button-large-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-button-large-gap","",Nt.spacing2),Ot.extend("--ft-button-large-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-button-large-icon-size","",Nt.iconSize3),Ot.create("--ft-button-large-border-width","","SIZE","1px"),Ot.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-button-large-focus-outline-width","","SIZE","2px"),Ot.create("--ft-button-large-icon-only-width","","SIZE","40px"),Ot.create("--ft-button-small-height","","SIZE","30px"),Ot.extend("--ft-button-small-horizontal-padding","",Nt.spacing3),Ot.extend("--ft-button-small-gap","",Nt.spacing2),Ot.extend("--ft-button-small-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-button-small-icon-size","",Nt.iconSize2),Ot.create("--ft-button-small-border-width","","SIZE","1px"),Ot.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-button-small-focus-outline-width","","SIZE","2px"),Ot.create("--ft-button-small-icon-only-width","","SIZE","30px"),Ot.extend("--ft-button-primary-background-color","",wt.backgroundActionPrimary),Ot.extend("--ft-button-primary-color","",wt.contentGlobalOnColor),Ot.extend("--ft-button-primary-icon-color","",wt.contentGlobalOnColor),Ot.extend("--ft-button-primary-state-layer-color","",wt.contentGlobalOnColor),Ot.extend("--ft-button-primary-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-button-primary-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-button-primary-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-button-primary-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-button-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),Ot.extend("--ft-button-tertiary-color","",wt.contentActionPrimary),Ot.extend("--ft-button-tertiary-icon-color","",wt.contentActionPrimary),Ot.extend("--ft-button-tertiary-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-button-tertiary-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-button-tertiary-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-button-tertiary-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-button-tertiary-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-button-secondary-background-color","",Nt.colorWhite),Ot.extend("--ft-button-secondary-color","",wt.contentActionPrimary),Ot.extend("--ft-button-secondary-icon-color","",wt.contentActionPrimary),Ot.extend("--ft-button-secondary-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-button-secondary-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-button-secondary-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-button-secondary-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-button-secondary-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-button-secondary-border-color","",wt.borderActionPrimary),Ot.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),Ot.extend("--ft-button-neutral-icon-color","",wt.contentGlobalSecondary),Ot.extend("--ft-button-neutral-color","",wt.contentGlobalSecondary),Ot.extend("--ft-button-neutral-state-layer-color","",wt.contentGlobalSecondary),Ot.extend("--ft-button-neutral-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-button-neutral-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-button-neutral-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-button-neutral-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-tabs-top-left-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-tabs-top-right-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-tabs-label-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-tabs-label-vertical-padding","",Nt.spacing3),Ot.extend("--ft-tabs-label-gap","",Nt.spacing1),Ot.extend("--ft-switch-group-horizontal-padding","",Nt.spacing1),Ot.extend("--ft-switch-group-vertical-padding","",Nt.spacing1),Ot.extend("--ft-switch-group-gap","",Nt.spacing1),Ot.extend("--ft-switch-group-background-color","",wt.backgroundGlobalSurface),Ot.extend("--ft-switch-group-border-color","",wt.borderGlobalSubtle),Ot.create("--ft-switch-group-border-radius","","SIZE","6px"),Ot.extend("--ft-switch-label-horizontal-padding","",Nt.spacing2),Ot.extend("--ft-switch-label-vertical-padding","",Nt.spacing1),Ot.extend("--ft-switch-icon-horizontal-padding","",Nt.spacing1),Ot.extend("--ft-switch-icon-vertical-padding","",Nt.spacing1),Ot.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-switch-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.extend("--ft-switch-option-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-switch-off-state-layer-opacity-hover","",Nt.opacity8),Ot.extend("--ft-switch-off-state-layer-opacity-focus","",Nt.opacity8),Ot.extend("--ft-switch-off-state-layer-opacity-active","",Nt.opacity16),Ot.extend("--ft-switch-off-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-switch-off-color","",wt.contentGlobalSubtle),Ot.extend("--ft-switch-off-state-layer-color","",wt.contentGlobalSubtle),Ot.extend("--ft-chart-1-light","for area color charts",Nt.colorBrand40),Ot.extend("--ft-chart-1-base","for line charts",Nt.colorBrand0),Ot.extend("--ft-chart-2-light","for area color charts",Nt.colorYellow60),Ot.extend("--ft-chart-2-base","for line charts",Nt.colorYellow100),Ot.extend("--ft-chart-3-light","",Nt.colorUltramarine40),Ot.extend("--ft-chart-3-base","",Nt.colorUltramarine70),Ot.extend("--ft-chart-4-light","",Nt.colorCyan50),Ot.extend("--ft-chart-4-base","",Nt.colorCyan100),Ot.extend("--ft-chart-5-light","",Nt.colorRed40),Ot.extend("--ft-chart-5-base","",Nt.colorRed60),Ot.extend("--ft-chart-6-light","",Nt.colorGreen40),Ot.extend("--ft-chart-6-base","",Nt.colorGreen70),Ot.extend("--ft-chart-7-light","",Nt.colorOrange70),Ot.extend("--ft-chart-7-base","",Nt.colorOrange100),Ot.extend("--ft-chart-8-light","",Nt.colorAvocado70),Ot.extend("--ft-chart-8-base","",Nt.colorAvocado200),Ot.extend("--ft-chart-9-light","",Nt.colorBrown50),Ot.extend("--ft-chart-9-base","",Nt.colorBrown200),Ot.extend("--ft-chart-10-light","",Nt.colorGray50),Ot.extend("--ft-chart-10-base","",Nt.colorGray80),Ot.extend("--ft-chart-monochrome-10","",Nt.colorBrand10),Ot.extend("--ft-chart-monochrome-20","",Nt.colorBrand20),Ot.extend("--ft-chart-monochrome-30","",Nt.colorBrand40),Ot.extend("--ft-chart-monochrome-40","",Nt.colorBrand60),Ot.extend("--ft-chart-monochrome-50","",Nt.colorBrand0),Ot.extend("--ft-chart-monochrome-60","",Nt.colorBrand200),Ot.extend("--ft-chip-large-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-chip-large-vertical-padding","",Nt.spacing2),Ot.extend("--ft-chip-large-gap","",Nt.spacing1),Ot.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-large-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-chip-large-border-width","","SIZE","1px"),Ot.extend("--ft-chip-large-icon-size","",Nt.iconSize3),Ot.extend("--ft-chip-medium-horizontal-padding","",Nt.spacing3),Ot.extend("--ft-chip-medium-vertical-padding","",Nt.spacing1),Ot.extend("--ft-chip-medium-gap","",Nt.spacing1),Ot.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-medium-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-chip-medium-border-width","","SIZE","1px"),Ot.extend("--ft-chip-medium-icon-size","",Nt.iconSize2),Ot.extend("--ft-chip-small-horizontal-padding","",Nt.spacing2),Ot.extend("--ft-chip-small-vertical-padding","",Nt.spacing05),Ot.extend("--ft-chip-small-gap","",Nt.spacing1),Ot.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ot.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-chip-small-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-chip-small-border-width","","SIZE","1px"),Ot.extend("--ft-chip-small-icon-size","",Nt.iconSize1),Ot.extend("--ft-chip-neutral-background-color","",wt.backgroundGlobalOnSurface),Ot.extend("--ft-chip-neutral-color","",wt.contentGlobalPrimary),Ot.extend("--ft-chip-neutral-border-color","",wt.borderGlobalSubtle),Ot.extend("--ft-chip-info-background-color","",wt.backgroundInfoSubtle),Ot.extend("--ft-chip-info-color","",wt.contentInfoPrimary),Ot.extend("--ft-chip-info-border-color","",wt.borderInfoPrimary),Ot.extend("--ft-chip-success-background-color","",wt.backgroundSuccessSubtle),Ot.extend("--ft-chip-success-color","",wt.contentSuccessPrimary),Ot.extend("--ft-chip-success-border-color","",wt.borderSuccessPrimary),Ot.extend("--ft-chip-warning-background-color","",wt.backgroundWarningSubtle),Ot.extend("--ft-chip-warning-color","",wt.contentWarningPrimary),Ot.extend("--ft-chip-warning-border-color","",wt.borderWarningPrimary),Ot.extend("--ft-chip-error-background-color","",wt.backgroundErrorSubtle),Ot.extend("--ft-chip-error-color","",wt.contentErrorPrimary),Ot.extend("--ft-chip-error-border-color","",wt.borderErrorPrimary),Ot.create("--ft-notice-border-width","","SIZE","1px"),Ot.extend("--ft-notice-horizontal-padding","",Nt.spacing2),Ot.extend("--ft-notice-vertical-padding","",Nt.spacing1),Ot.extend("--ft-notice-border-radius","",Nt.borderRadiusS),Ot.extend("--ft-notice-gap","",Nt.spacing2),Ot.extend("--ft-notice-icon-size","",Nt.iconSize3),Ot.extend("--ft-notice-info-background-color","",wt.backgroundInfoSubtle),Ot.extend("--ft-notice-info-border-color","",wt.borderInfoPrimary),Ot.extend("--ft-notice-info-color","",wt.contentInfoPrimary),Ot.extend("--ft-notice-warning-background-color","",wt.backgroundWarningSubtle),Ot.extend("--ft-notice-warning-border-color","",wt.borderWarningPrimary),Ot.extend("--ft-notice-warning-color","",wt.contentWarningPrimary),Ot.extend("--ft-checkbox-label-color","",wt.contentGlobalPrimary),Ot.extend("--ft-checkbox-checked-background-color","",wt.contentActionPrimary),Ot.extend("--ft-checkbox-checked-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-checkbox-checked-color","",wt.contentGlobalOnColor),Ot.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-checkbox-checked-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-checkbox-checked-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-checkbox-unchecked-border-color","",Nt.colorGray80),Ot.extend("--ft-checkbox-unchecked-state-layer-color","",Nt.colorGray80),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-checkbox-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ot.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-checkbox-gap","",Nt.spacing3),Ot.extend("--ft-toggle-off-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-toggle-off-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-toggle-off-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-toggle-off-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-toggle-off-background-color","",wt.contentGlobalSubtle),Ot.extend("--ft-toggle-off-icon-color","",wt.contentGlobalSubtle),Ot.extend("--ft-toggle-off-state-layer-color","",wt.contentGlobalSubtle),Ot.extend("--ft-toggle-on-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-toggle-on-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-toggle-on-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-toggle-on-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-toggle-on-background-color","",wt.contentActionPrimary),Ot.extend("--ft-toggle-on-icon-color","",wt.contentActionPrimary),Ot.extend("--ft-toggle-on-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-toggle-label-color","",wt.contentGlobalPrimary),Ot.extend("--ft-toggle-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.extend("--ft-toggle-gap","",Nt.spacing3),Ot.extend("--ft-radio-label-color","",wt.contentGlobalPrimary),Ot.extend("--ft-radio-selected-color","",wt.contentActionPrimary),Ot.extend("--ft-radio-selected-state-layer-color","",wt.contentActionPrimary),Ot.extend("--ft-radio-selected-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-radio-selected-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-radio-selected-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-radio-selected-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-radio-unselected-state-layer-color","",Nt.colorGray80),Ot.extend("--ft-radio-unselected-state-layer-opacity-hover","",Nt.opacity16),Ot.extend("--ft-radio-unselected-state-layer-opacity-focus","",Nt.opacity16),Ot.extend("--ft-radio-unselected-state-layer-opacity-active","",Nt.opacity24),Ot.extend("--ft-radio-unselected-component-opacity-disabled","",Nt.opacity40),Ot.extend("--ft-radio-focus-focus-ring-color","",wt.borderActionFocusRing),Ot.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ot.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ot.extend("--ft-radio-gap","",Nt.spacing3),Ot.extend("--ft-notification-icon-size","",Nt.iconSize4),Ot.extend("--ft-notification-horizontal-padding","",Nt.spacing4),Ot.extend("--ft-notification-vertical-padding","",Nt.spacing4),Ot.extend("--ft-notification-info-background-color","",wt.backgroundInfoSubtle),Ot.extend("--ft-notification-info-color","",wt.contentInfoPrimary),Ot.extend("--ft-notification-info-border-color","",wt.borderInfoPrimary),Ot.extend("--ft-notification-success-background-color","",wt.backgroundSuccessSubtle),Ot.extend("--ft-notification-success-color","",wt.contentSuccessPrimary),Ot.extend("--ft-notification-success-border-color","",wt.borderSuccessPrimary),Ot.extend("--ft-notification-warning-background-color","",wt.backgroundWarningSubtle),Ot.extend("--ft-notification-warning-color","",wt.contentWarningPrimary),Ot.extend("--ft-notification-warning-border-color","",wt.borderWarningPrimary),Ot.extend("--ft-notification-error-background-color","",wt.backgroundErrorSubtle),Ot.extend("--ft-notification-error-color","",wt.contentErrorPrimary),Ot.extend("--ft-notification-error-border-color","",wt.borderErrorPrimary),Ot.extend("--ft-notification-border-radius","",Nt.borderRadiusPill),Ot.create("--ft-notification-border-width","","SIZE","1px"),Ot.extend("--ft-notification-gap-leading","",Nt.spacing2),Ot.extend("--ft-notification-gap-trailing","",Nt.spacing8),Ot.create("--ft-color-primary","","COLOR","#2196F3"),Ot.create("--ft-color-primary-variant","","COLOR","#1976D2"),Ot.create("--ft-color-secondary","","COLOR","#FFCC80"),Ot.create("--ft-color-secondary-variant","","COLOR","#F57C00"),Ot.create("--ft-color-surface","","COLOR","#FFFFFF"),Ot.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),Ot.create("--ft-color-error","","COLOR","#B00020"),Ot.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),Ot.create("--ft-color-opacity-high","","NUMBER","1"),Ot.create("--ft-color-opacity-medium","","NUMBER","0.74"),Ot.create("--ft-color-opacity-disabled","","NUMBER","0.38"),Ot.create("--ft-color-on-primary","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),Ot.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),Ot.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),Ot.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),Ot.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),Ot.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),Ot.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),Ot.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),Ot.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),Ot.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),Ot.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),Ot.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),Ot.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),Ot.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),Ot.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),Ot.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),Ot.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),Ot.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),Ot.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),Ot.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),Ot.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),Ot.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),Ot.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),Ot.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),Ot.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),Ot.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),Ot.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),Ot.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),Ot.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),Ot.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),Ot.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)"),Ot.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)"),Ot.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)"),Ot.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)"),Ot.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)"),Ot.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)"),Ot.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)"),Ot.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)"),Ot.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)"),Ot.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)"),Ot.create("--ft-border-radius-S","","SIZE","4px"),Ot.create("--ft-border-radius-M","","SIZE","8px"),Ot.create("--ft-border-radius-L","","SIZE","12px"),Ot.create("--ft-border-radius-XL","","SIZE","16px"),Ot.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),Ot.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),Ot.create("--ft-transition-duration","","UNKNOWN","250ms"),Ot.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out");class St extends gt{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 v(r,t.elementStyles),r}}var Et,Ct=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(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 Rt=Symbol("constructorPrototype"),xt=Symbol("constructorName"),Ut=Symbol("exportpartsDebouncer");class It extends St{constructor(){super(),this[Et]=new n(5),this[xt]=this.constructor.name,this[Rt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[xt]&&Object.setPrototypeOf(this,this[Rt])}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[Ut].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 c=t=>null!=t&&t.trim().length>0,s=t.filter(c).map((t=>t.trim()));if(0===s.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(c).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Et=Ut,Ct([a()],It.prototype,"exportpartsPrefix",void 0),Ct([u([])],It.prototype,"exportpartsPrefixes",void 0),Ct([a()],It.prototype,"customStylesheet",void 0),m`
49
+ * @license
50
+ * Copyright 2017 Google LLC
51
+ * SPDX-License-Identifier: BSD-3-Clause
52
+ */,{is:Et,defineProperty:Ct,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:xt,getOwnPropertySymbols:Ut,getPrototypeOf:It}=Object,Lt=globalThis,At=Lt.trustedTypes,kt=At?At.emptyScript:"",Wt=Lt.reactiveElementPolyfillSupport,Kt=(t,o)=>t,jt={toAttribute(t,o){switch(o){case Boolean:t=t?kt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let 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}},Pt=(t,o)=>!Et(t,o),Mt={attribute:!0,type:String,converter:jt,reflect:!1,hasChanged:Pt};Symbol.metadata??=Symbol("metadata"),Lt.litPropertyMetadata??=new WeakMap;let Zt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Mt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const r=Symbol(),e=this.getPropertyDescriptor(t,r,o);void 0!==e&&Ct(this.prototype,t,e)}}static getPropertyDescriptor(t,o,r){const{get:e,set:n}=Rt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return e?.call(this)},set(o){const i=e?.call(this);n.call(this,o),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Mt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=It(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=[...xt(t),...Ut(t)];for(const r of o)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,r]of o)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const r=this._$Eu(t,o);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}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(St(t))}else void 0!==t&&o.push(St(t));return o}static _$Eu(t,o){const r=o.attribute;return!1===r?void 0:"string"==typeof r?r:"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 r of o.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(gt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of o){const o=document.createElement("style"),e=bt.litNonce;void 0!==e&&o.setAttribute("nonce",e),o.textContent=r.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,r){this._$AK(t,r)}_$EO(t,o){const r=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,r);if(void 0!==e&&!0===r.reflect){const n=(void 0!==r.converter?.toAttribute?r.converter:jt).toAttribute(o,r.type);this._$Em=t,null==n?this.removeAttribute(e):this.setAttribute(e,n),this._$Em=null}}_$AK(t,o){const r=this.constructor,e=r._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=r.getPropertyOptions(e),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:jt;this._$Em=e,this[e]=n.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,r,e=!1,n){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??Pt)(e?n:this[t],o))return;this.C(t,o,r)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,r){this._$AL.has(t)||this._$AL.set(t,o),!0===r.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,r]of t)!0!==r.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],r)}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){}};Zt.elementStyles=[],Zt.shadowRootOptions={mode:"open"},Zt[Kt("elementProperties")]=new Map,Zt[Kt("finalized")]=new Map,Wt?.({ReactiveElement:Zt}),(Lt.reactiveElementVersions??=[]).push("2.0.2");
53
+ /**
54
+ * @license
55
+ * Copyright 2017 Google LLC
56
+ * SPDX-License-Identifier: BSD-3-Clause
57
+ */
58
+ const Tt=globalThis,Ft=Tt.trustedTypes,_t=Ft?Ft.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,$t="?"+Dt,zt=`<${$t}>`,Gt=document,Ht=()=>Gt.createComment(""),qt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,Vt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Qt=/>/g,to=RegExp(`>|${Vt}(?:([^\\s"'>=/]+)(${Vt}*=${Vt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oo=/'/g,ro=/"/g,eo=/^(?:script|style|textarea|title)$/i,no=(t=>(o,...r)=>({_$litType$:t,strings:o,values:r}))(1),io=Symbol.for("lit-noChange"),ao=Symbol.for("lit-nothing"),so=new WeakMap,co=Gt.createTreeWalker(Gt,129);function lo(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==_t?_t.createHTML(o):o}class fo{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]=((t,o)=>{const r=t.length-1,e=[];let n,i=2===o?"<svg>":"",a=Jt;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===Jt?"!--"===c[1]?a=Xt:void 0!==c[1]?a=Qt:void 0!==c[2]?(eo.test(c[2])&&(n=RegExp("</"+c[2],"g")),a=to):void 0!==c[3]&&(a=to):a===to?">"===c[0]?(a=n??Jt,l=-1):void 0===c[1]?l=-2:(l=a.lastIndex-c[2].length,s=c[1],a=void 0===c[3]?to:'"'===c[3]?ro:oo):a===ro||a===oo?a=to:a===Xt||a===Qt?a=Jt:(a=to,n=void 0);const u=a===to&&t[o+1].startsWith("/>")?" ":"";i+=a===Jt?r+zt:l>=0?(e.push(s),r.slice(0,l)+Bt+r.slice(l)+Dt+u):r+Dt+(-2===l?o:u)}return[lo(t,i+(t[r]||"<?>")+(2===o?"</svg>":"")),e]})(t,o);if(this.el=fo.createElement(c,r),co.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(e=co.nextNode())&&s.length<a;){if(1===e.nodeType){if(e.hasAttributes())for(const t of e.getAttributeNames())if(t.endsWith(Bt)){const o=l[i++],r=e.getAttribute(t).split(Dt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:n,name:a[2],strings:r,ctor:"."===a[1]?yo:"?"===a[1]?bo:"@"===a[1]?go:po}),e.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:n}),e.removeAttribute(t));if(eo.test(e.tagName)){const t=e.textContent.split(Dt),o=t.length-1;if(o>0){e.textContent=Ft?Ft.emptyScript:"";for(let r=0;r<o;r++)e.append(t[r],Ht()),co.nextNode(),s.push({type:2,index:++n});e.append(t[o],Ht())}}}else if(8===e.nodeType)if(e.data===$t)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(Dt,t+1));)s.push({type:7,index:n}),t+=Dt.length-1}n++}}static createElement(t,o){const r=Gt.createElement("template");return r.innerHTML=t,r}}function uo(t,o,r=t,e){if(o===io)return o;let n=void 0!==e?r._$Co?.[e]:r._$Cl;const i=qt(o)?void 0:o._$litDirective$;return n?.constructor!==i&&(n?._$AO?.(!1),void 0===i?n=void 0:(n=new i(t),n._$AT(t,r,e)),void 0!==e?(r._$Co??=[])[e]=n:r._$Cl=n),void 0!==n&&(o=uo(t,n._$AS(t,o.values),n,e)),o}let ho=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,r,e){this.type=2,this._$AH=ao,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=r,this.options=e,this._$Cv=e?.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=uo(this,t,o),qt(t)?t===ao||null==t||""===t?(this._$AH!==ao&&this._$AR(),this._$AH=ao):t!==this._$AH&&t!==io&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Yt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ao&&qt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:r}=t,e="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=fo.createElement(lo(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===e)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:r}=this._$AD,e=(t?.creationScope??Gt).importNode(o,!0);co.currentNode=e;let n=co.nextNode(),i=0,a=0,s=r[0];for(;void 0!==s;){if(i===s.index){let o;2===s.type?o=new ho(n,n.nextSibling,this,t):1===s.type?o=new s.ctor(n,s.name,s.strings,this,t):6===s.type&&(o=new mo(n,this,t)),this._$AV.push(o),s=r[++a]}i!==s?.index&&(n=co.nextNode(),i++)}return co.currentNode=Gt,e}p(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++}}(e,this),r=t.u(this.options);t.p(o),this.$(r),this._$AH=t}}_$AC(t){let o=so.get(t.strings);return void 0===o&&so.set(t.strings,o=new fo(t)),o}T(o){Yt(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(Ht()),this.k(Ht()),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){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))}},po=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,r,e,n){this.type=1,this._$AH=ao,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=ao}_$AI(t,o=this,r,e){const n=this.strings;let i=!1;if(void 0===n)t=uo(this,t,o,0),i=!qt(t)||t!==this._$AH&&t!==io,i&&(this._$AH=t);else{const e=t;let a,s;for(t=n[0],a=0;a<n.length-1;a++)s=uo(this,e[r+a],o,a),s===io&&(s=this._$AH[a]),i||=!qt(s)||s!==this._$AH[a],s===ao?t=ao:t!==ao&&(t+=(s??"")+n[a+1]),this._$AH[a]=s}i&&!e&&this.O(t)}O(t){t===ao?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},yo=class extends po{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ao?void 0:t}},bo=class extends po{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ao)}},go=class extends po{constructor(t,o,r,e,n){super(t,o,r,e,n),this.type=5}_$AI(t,o=this){if((t=uo(this,t,o,0)??ao)===io)return;const r=this._$AH,e=t===ao&&r!==ao||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==ao&&(r===ao||e);e&&this.element.removeEventListener(this.name,this,r),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)}},mo=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){uo(this,t)}};const Oo=Tt.litHtmlPolyfillSupport;Oo?.(fo,ho),(Tt.litHtmlVersions??=[]).push("3.1.0");
59
+ /**
60
+ * @license
61
+ * Copyright 2017 Google LLC
62
+ * SPDX-License-Identifier: BSD-3-Clause
63
+ */
64
+ let vo=class extends Zt{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,r)=>{const e=r?.renderBefore??o;let n=e._$litPart$;if(void 0===n){const t=r?.renderBefore??null;e._$litPart$=n=new ho(o.insertBefore(Ht(),t),t,void 0,r??{})}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 io}};vo._$litElement$=!0,vo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:vo});const wo=globalThis.litElementPolyfillSupport;wo?.({LitElement:vo}),(globalThis.litElementVersions??=[]).push("4.0.2");const No=t=>"string"==typeof t?wt(t):t;class So{static create(t,o,r,e){const n=t=>No(null!=t?t:e),i=Nt`var(${No(t)}, ${n(e)})`;return i.name=t,i.description=o,i.category=r,i.defaultValue=e,i.defaultCssValue=n,i.get=o=>Nt`var(${No(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=Nt`var(${No(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=>Nt`var(${No(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):No(null!=o?o:t.lastResortDefaultValue()),e=Nt`var(${No(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=>Nt`var(${No(t.name)}, ${r(o)})`,e.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],e.lastResortDefaultValue=()=>t.lastResortDefaultValue(),e}}const Eo={colorWhite:So.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:So.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:So.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:So.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:So.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:So.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:So.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:So.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:So.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:So.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:So.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:So.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:So.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:So.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:So.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:So.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:So.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:So.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:So.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:So.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:So.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:So.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:So.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:So.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:So.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:So.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:So.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:So.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:So.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:So.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:So.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:So.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:So.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:So.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:So.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:So.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:So.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:So.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:So.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:So.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:So.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:So.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:So.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:So.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:So.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:So.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:So.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:So.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:So.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:So.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:So.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:So.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:So.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:So.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:So.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:So.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:So.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:So.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:So.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:So.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:So.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:So.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:So.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:So.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:So.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:So.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:So.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:So.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:So.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:So.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:So.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:So.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:So.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:So.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:So.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:So.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:So.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:So.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:So.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:So.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:So.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:So.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:So.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:So.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:So.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:So.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:So.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:So.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:So.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:So.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:So.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:So.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:So.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:So.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:So.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:So.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:So.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:So.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:So.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:So.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:So.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:So.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:So.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:So.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:So.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:So.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:So.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:So.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:So.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:So.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:So.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:So.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:So.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:So.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:So.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:So.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:So.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:So.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:So.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:So.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:So.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:So.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:So.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:So.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:So.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:So.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:So.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:So.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:So.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:So.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:So.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:So.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:So.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:So.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:So.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:So.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:So.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:So.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:So.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:So.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:So.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:So.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:So.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:So.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:So.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:So.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:So.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:So.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:So.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:So.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:So.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:So.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:So.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:So.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:So.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:So.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:So.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:So.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:So.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:So.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:So.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:So.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:So.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:So.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:So.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:So.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:So.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:So.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:So.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:So.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:So.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:So.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:So.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:So.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:So.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:So.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:So.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:So.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:So.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:So.create("--ft-icon-size-6","","SIZE","48px"),opacity0:So.create("--ft-opacity-0","","NUMBER","0"),opacity8:So.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:So.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:So.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:So.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:So.create("--ft-opacity-80","","NUMBER","0.8")};So.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-display-lineHeight","","SIZE","120%"),So.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),So.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),So.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-display-textCase","","UNKNOWN","none"),So.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),So.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),So.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),So.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),So.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),So.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),So.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),So.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),So.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),So.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),So.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),So.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),So.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),So.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),So.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),So.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),So.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),So.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),So.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),So.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),So.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),So.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),So.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),So.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),So.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),So.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),So.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),So.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),So.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),So.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),So.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),So.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),So.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),So.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),So.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),So.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),So.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),So.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),So.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),So.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),So.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const Co={backgroundActionPrimary:So.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Eo.colorBrand0),backgroundErrorPrimary:So.extend("--ft-background-error-primary","Used as background of error components.",Eo.colorRed0),backgroundErrorSubtle:So.extend("--ft-background-error-subtle","Used as background of subtle error components.",Eo.colorRed10),backgroundInfoPrimary:So.extend("--ft-background-info-primary","Used as background of information components.",Eo.colorCyan200),backgroundInfoSubtle:So.extend("--ft-background-info-subtle","Used as background of subtle information components.",Eo.colorCyan10),backgroundWarningPrimary:So.extend("--ft-background-warning-primary","Used as background of warning components.",Eo.colorOrange300),backgroundWarningSubtle:So.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Eo.colorOrange10),backgroundSuccessPrimary:So.extend("--ft-background-success-primary","Used as background of success components.",Eo.colorGreen200),backgroundSuccessSubtle:So.extend("--ft-background-success-subtle","Used as background of subtle success components.",Eo.colorGreen10),backgroundGlobalSurface:So.extend("--ft-background-global-surface","Used as app background.",Eo.colorWhite),backgroundGlobalOnSurface:So.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Eo.colorGray10),backgroundGlobalOnSurfaceDark:So.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Eo.colorGray30),contentActionPrimary:So.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Eo.colorBrand0),contentWarningPrimary:So.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Eo.colorOrange300),contentWarningIconOnly:So.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Eo.colorOrange0),contentErrorPrimary:So.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Eo.colorRed0),contentErrorIconOnly:So.extend("--ft-content-error-icon-only","Used on error status icons alone",Eo.colorRed0),contentInfoPrimary:So.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Eo.colorCyan200),contentInfoIconOnly:So.extend("--ft-content-info-icon-only","Used on info status icons alone",Eo.colorCyan0),contentSuccessIconOnly:So.extend("--ft-content-success-icon-only","Used on success status icons alone",Eo.colorGreen0),contentSuccessPrimary:So.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Eo.colorGreen200),contentGlobalPrimary:So.extend("--ft-content-global-primary","Used for main content on the page.",Eo.colorGray500),contentGlobalSecondary:So.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Eo.colorGray200),contentGlobalSubtle:So.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Eo.colorGray0),contentGlobalOnColor:So.extend("--ft-content-global-on-color","Used for content on a dominant color.",Eo.colorWhite),borderActionPrimary:So.extend("--ft-border-action-primary","Used as border for primary action components.",Eo.colorBrand0),borderActionFocusRing:So.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Eo.colorCyan0),borderWarningPrimary:So.extend("--ft-border-warning-primary","Used as border for warning components.",Eo.colorOrange30),borderSuccessPrimary:So.extend("--ft-border-success-primary","Used as border for success components.",Eo.colorGreen30),borderErrorPrimary:So.extend("--ft-border-error-primary","Used as border for error components.",Eo.colorRed30),borderInfoPrimary:So.extend("--ft-border-info-primary","Used as border for information components.",Eo.colorCyan30),borderGlobalSubtle:So.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Eo.colorGray30),borderGlobalPrimary:So.extend("--ft-border-global-primary","Used as border for element like input.",Eo.colorGray50),borderInputPrimary:So.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Eo.colorGray80)};So.create("--ft-button-large-height","","SIZE","40px"),So.extend("--ft-button-large-horizontal-padding","",Eo.spacing4),So.extend("--ft-button-large-gap","",Eo.spacing2),So.extend("--ft-button-large-border-radius","",Eo.borderRadiusS),So.extend("--ft-button-large-icon-size","",Eo.iconSize3),So.create("--ft-button-large-border-width","","SIZE","1px"),So.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),So.create("--ft-button-large-focus-outline-width","","SIZE","2px"),So.create("--ft-button-large-icon-only-width","","SIZE","40px"),So.create("--ft-button-small-height","","SIZE","30px"),So.extend("--ft-button-small-horizontal-padding","",Eo.spacing3),So.extend("--ft-button-small-gap","",Eo.spacing2),So.extend("--ft-button-small-border-radius","",Eo.borderRadiusS),So.extend("--ft-button-small-icon-size","",Eo.iconSize2),So.create("--ft-button-small-border-width","","SIZE","1px"),So.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),So.create("--ft-button-small-focus-outline-width","","SIZE","2px"),So.create("--ft-button-small-icon-only-width","","SIZE","30px"),So.extend("--ft-button-primary-background-color","",Co.backgroundActionPrimary),So.extend("--ft-button-primary-color","",Co.contentGlobalOnColor),So.extend("--ft-button-primary-icon-color","",Co.contentGlobalOnColor),So.extend("--ft-button-primary-state-layer-color","",Co.contentGlobalOnColor),So.extend("--ft-button-primary-state-layer-opacity-hover","",Eo.opacity16),So.extend("--ft-button-primary-state-layer-opacity-focus","",Eo.opacity16),So.extend("--ft-button-primary-state-layer-opacity-active","",Eo.opacity24),So.extend("--ft-button-primary-component-opacity-disabled","",Eo.opacity40),So.extend("--ft-button-focus-focus-ring-color","",Co.borderActionFocusRing),So.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-tertiary-color","",Co.contentActionPrimary),So.extend("--ft-button-tertiary-icon-color","",Co.contentActionPrimary),So.extend("--ft-button-tertiary-state-layer-color","",Co.contentActionPrimary),So.extend("--ft-button-tertiary-state-layer-opacity-hover","",Eo.opacity8),So.extend("--ft-button-tertiary-state-layer-opacity-focus","",Eo.opacity8),So.extend("--ft-button-tertiary-state-layer-opacity-active","",Eo.opacity16),So.extend("--ft-button-tertiary-component-opacity-disabled","",Eo.opacity40),So.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-secondary-color","",Co.contentActionPrimary),So.extend("--ft-button-secondary-icon-color","",Co.contentActionPrimary),So.extend("--ft-button-secondary-state-layer-color","",Co.contentActionPrimary),So.extend("--ft-button-secondary-state-layer-opacity-hover","",Eo.opacity8),So.extend("--ft-button-secondary-state-layer-opacity-focus","",Eo.opacity8),So.extend("--ft-button-secondary-state-layer-opacity-active","",Eo.opacity16),So.extend("--ft-button-secondary-component-opacity-disabled","",Eo.opacity40),So.extend("--ft-button-secondary-border-color","",Co.borderActionPrimary),So.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-neutral-icon-color","",Co.contentGlobalSecondary),So.extend("--ft-button-neutral-color","",Co.contentGlobalSecondary),So.extend("--ft-button-neutral-state-layer-color","",Co.contentGlobalSecondary),So.extend("--ft-button-neutral-state-layer-opacity-hover","",Eo.opacity8),So.extend("--ft-button-neutral-state-layer-opacity-focus","",Eo.opacity8),So.extend("--ft-button-neutral-state-layer-opacity-active","",Eo.opacity16),So.extend("--ft-button-neutral-component-opacity-disabled","",Eo.opacity40),So.extend("--ft-tabs-top-left-border-radius","",Eo.borderRadiusS),So.extend("--ft-tabs-top-right-border-radius","",Eo.borderRadiusS),So.extend("--ft-tabs-label-horizontal-padding","",Eo.spacing4),So.extend("--ft-tabs-label-vertical-padding","",Eo.spacing3),So.extend("--ft-tabs-label-gap","",Eo.spacing1),So.extend("--ft-switch-group-horizontal-padding","",Eo.spacing1),So.extend("--ft-switch-group-vertical-padding","",Eo.spacing1),So.extend("--ft-switch-group-gap","",Eo.spacing1),So.extend("--ft-switch-group-background-color","",Co.backgroundGlobalSurface),So.extend("--ft-switch-group-border-color","",Co.borderGlobalSubtle),So.create("--ft-switch-group-border-radius","","SIZE","6px"),So.extend("--ft-switch-label-horizontal-padding","",Eo.spacing2),So.extend("--ft-switch-label-vertical-padding","",Eo.spacing1),So.extend("--ft-switch-icon-horizontal-padding","",Eo.spacing1),So.extend("--ft-switch-icon-vertical-padding","",Eo.spacing1),So.create("--ft-switch-focus-outline-width","","SIZE","2px"),So.extend("--ft-switch-focus-focus-ring-color","",Co.borderActionFocusRing),So.extend("--ft-switch-option-border-radius","",Eo.borderRadiusS),So.extend("--ft-switch-off-state-layer-opacity-hover","",Eo.opacity8),So.extend("--ft-switch-off-state-layer-opacity-focus","",Eo.opacity8),So.extend("--ft-switch-off-state-layer-opacity-active","",Eo.opacity16),So.extend("--ft-switch-off-component-opacity-disabled","",Eo.opacity40),So.extend("--ft-switch-off-color","",Co.contentGlobalSubtle),So.extend("--ft-switch-off-state-layer-color","",Co.contentGlobalSubtle),So.extend("--ft-chart-1-light","for area color charts",Eo.colorBrand40),So.extend("--ft-chart-1-base","for line charts",Eo.colorBrand0),So.extend("--ft-chart-2-light","for area color charts",Eo.colorYellow60),So.extend("--ft-chart-2-base","for line charts",Eo.colorYellow100),So.extend("--ft-chart-3-light","",Eo.colorUltramarine40),So.extend("--ft-chart-3-base","",Eo.colorUltramarine70),So.extend("--ft-chart-4-light","",Eo.colorCyan50),So.extend("--ft-chart-4-base","",Eo.colorCyan100),So.extend("--ft-chart-5-light","",Eo.colorRed40),So.extend("--ft-chart-5-base","",Eo.colorRed60),So.extend("--ft-chart-6-light","",Eo.colorGreen40),So.extend("--ft-chart-6-base","",Eo.colorGreen70),So.extend("--ft-chart-7-light","",Eo.colorOrange70),So.extend("--ft-chart-7-base","",Eo.colorOrange100),So.extend("--ft-chart-8-light","",Eo.colorAvocado70),So.extend("--ft-chart-8-base","",Eo.colorAvocado200),So.extend("--ft-chart-9-light","",Eo.colorBrown50),So.extend("--ft-chart-9-base","",Eo.colorBrown200),So.extend("--ft-chart-10-light","",Eo.colorGray50),So.extend("--ft-chart-10-base","",Eo.colorGray80),So.extend("--ft-chart-monochrome-10","",Eo.colorBrand10),So.extend("--ft-chart-monochrome-20","",Eo.colorBrand20),So.extend("--ft-chart-monochrome-30","",Eo.colorBrand40),So.extend("--ft-chart-monochrome-40","",Eo.colorBrand60),So.extend("--ft-chart-monochrome-50","",Eo.colorBrand0),So.extend("--ft-chart-monochrome-60","",Eo.colorBrand200),So.extend("--ft-chip-large-horizontal-padding","",Eo.spacing4),So.extend("--ft-chip-large-vertical-padding","",Eo.spacing2),So.extend("--ft-chip-large-gap","",Eo.spacing1),So.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-large-border-radius","",Eo.borderRadiusPill),So.create("--ft-chip-large-border-width","","SIZE","1px"),So.extend("--ft-chip-large-icon-size","",Eo.iconSize3),So.extend("--ft-chip-medium-horizontal-padding","",Eo.spacing3),So.extend("--ft-chip-medium-vertical-padding","",Eo.spacing1),So.extend("--ft-chip-medium-gap","",Eo.spacing1),So.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-medium-border-radius","",Eo.borderRadiusPill),So.create("--ft-chip-medium-border-width","","SIZE","1px"),So.extend("--ft-chip-medium-icon-size","",Eo.iconSize2),So.extend("--ft-chip-small-horizontal-padding","",Eo.spacing2),So.extend("--ft-chip-small-vertical-padding","",Eo.spacing05),So.extend("--ft-chip-small-gap","",Eo.spacing1),So.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-small-border-radius","",Eo.borderRadiusPill),So.create("--ft-chip-small-border-width","","SIZE","1px"),So.extend("--ft-chip-small-icon-size","",Eo.iconSize1),So.extend("--ft-chip-neutral-background-color","",Co.backgroundGlobalOnSurface),So.extend("--ft-chip-neutral-color","",Co.contentGlobalPrimary),So.extend("--ft-chip-neutral-border-color","",Co.borderGlobalSubtle),So.extend("--ft-chip-info-background-color","",Co.backgroundInfoSubtle),So.extend("--ft-chip-info-color","",Co.contentInfoPrimary),So.extend("--ft-chip-info-border-color","",Co.borderInfoPrimary),So.extend("--ft-chip-success-background-color","",Co.backgroundSuccessSubtle),So.extend("--ft-chip-success-color","",Co.contentSuccessPrimary),So.extend("--ft-chip-success-border-color","",Co.borderSuccessPrimary),So.extend("--ft-chip-warning-background-color","",Co.backgroundWarningSubtle),So.extend("--ft-chip-warning-color","",Co.contentWarningPrimary),So.extend("--ft-chip-warning-border-color","",Co.borderWarningPrimary),So.extend("--ft-chip-error-background-color","",Co.backgroundErrorSubtle),So.extend("--ft-chip-error-color","",Co.contentErrorPrimary),So.extend("--ft-chip-error-border-color","",Co.borderErrorPrimary),So.create("--ft-notice-border-width","","SIZE","1px"),So.extend("--ft-notice-horizontal-padding","",Eo.spacing2),So.extend("--ft-notice-vertical-padding","",Eo.spacing1),So.extend("--ft-notice-border-radius","",Eo.borderRadiusS),So.extend("--ft-notice-gap","",Eo.spacing2),So.extend("--ft-notice-icon-size","",Eo.iconSize3),So.extend("--ft-notice-info-background-color","",Co.backgroundInfoSubtle),So.extend("--ft-notice-info-border-color","",Co.borderInfoPrimary),So.extend("--ft-notice-info-color","",Co.contentInfoPrimary),So.extend("--ft-notice-warning-background-color","",Co.backgroundWarningSubtle),So.extend("--ft-notice-warning-border-color","",Co.borderWarningPrimary),So.extend("--ft-notice-warning-color","",Co.contentWarningPrimary),So.extend("--ft-checkbox-label-color","",Co.contentGlobalPrimary),So.extend("--ft-checkbox-checked-background-color","",Co.contentActionPrimary),So.extend("--ft-checkbox-checked-state-layer-color","",Co.contentActionPrimary),So.extend("--ft-checkbox-checked-color","",Co.contentGlobalOnColor),So.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Eo.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Eo.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-active","",Eo.opacity24),So.extend("--ft-checkbox-checked-component-opacity-disabled","",Eo.opacity40),So.extend("--ft-checkbox-unchecked-border-color","",Eo.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-color","",Eo.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Eo.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Eo.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Eo.opacity24),So.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Eo.opacity40),So.extend("--ft-checkbox-focus-focus-ring-color","",Co.borderActionFocusRing),So.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),So.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),So.extend("--ft-checkbox-gap","",Eo.spacing3),So.extend("--ft-toggle-off-state-layer-opacity-hover","",Eo.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-focus","",Eo.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-active","",Eo.opacity24),So.extend("--ft-toggle-off-component-opacity-disabled","",Eo.opacity40),So.extend("--ft-toggle-off-background-color","",Co.contentGlobalSubtle),So.extend("--ft-toggle-off-icon-color","",Co.contentGlobalSubtle),So.extend("--ft-toggle-off-state-layer-color","",Co.contentGlobalSubtle),So.extend("--ft-toggle-on-state-layer-opacity-hover","",Eo.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-focus","",Eo.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-active","",Eo.opacity24),So.extend("--ft-toggle-on-component-opacity-disabled","",Eo.opacity40),So.extend("--ft-toggle-on-background-color","",Co.contentActionPrimary),So.extend("--ft-toggle-on-icon-color","",Co.contentActionPrimary),So.extend("--ft-toggle-on-state-layer-color","",Co.contentActionPrimary),So.extend("--ft-toggle-label-color","",Co.contentGlobalPrimary),So.extend("--ft-toggle-focus-focus-ring-color","",Co.borderActionFocusRing),So.extend("--ft-toggle-gap","",Eo.spacing3),So.extend("--ft-radio-label-color","",Co.contentGlobalPrimary),So.extend("--ft-radio-selected-color","",Co.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-color","",Co.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-opacity-hover","",Eo.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-focus","",Eo.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-active","",Eo.opacity24),So.extend("--ft-radio-selected-component-opacity-disabled","",Eo.opacity40),So.extend("--ft-radio-unselected-state-layer-color","",Eo.colorGray80),So.extend("--ft-radio-unselected-state-layer-opacity-hover","",Eo.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-focus","",Eo.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-active","",Eo.opacity24),So.extend("--ft-radio-unselected-component-opacity-disabled","",Eo.opacity40),So.extend("--ft-radio-focus-focus-ring-color","",Co.borderActionFocusRing),So.create("--ft-radio-focus-outline-offset","","SIZE","3px"),So.create("--ft-radio-focus-outline-width","","SIZE","2px"),So.extend("--ft-radio-gap","",Eo.spacing3),So.extend("--ft-notification-icon-size","",Eo.iconSize4),So.extend("--ft-notification-horizontal-padding","",Eo.spacing4),So.extend("--ft-notification-vertical-padding","",Eo.spacing4),So.extend("--ft-notification-info-background-color","",Co.backgroundInfoSubtle),So.extend("--ft-notification-info-color","",Co.contentInfoPrimary),So.extend("--ft-notification-info-border-color","",Co.borderInfoPrimary),So.extend("--ft-notification-success-background-color","",Co.backgroundSuccessSubtle),So.extend("--ft-notification-success-color","",Co.contentSuccessPrimary),So.extend("--ft-notification-success-border-color","",Co.borderSuccessPrimary),So.extend("--ft-notification-warning-background-color","",Co.backgroundWarningSubtle),So.extend("--ft-notification-warning-color","",Co.contentWarningPrimary),So.extend("--ft-notification-warning-border-color","",Co.borderWarningPrimary),So.extend("--ft-notification-error-background-color","",Co.backgroundErrorSubtle),So.extend("--ft-notification-error-color","",Co.contentErrorPrimary),So.extend("--ft-notification-error-border-color","",Co.borderErrorPrimary),So.extend("--ft-notification-border-radius","",Eo.borderRadiusPill),So.create("--ft-notification-border-width","","SIZE","1px"),So.extend("--ft-notification-gap-leading","",Eo.spacing2),So.extend("--ft-notification-gap-trailing","",Eo.spacing8),So.create("--ft-color-primary","","COLOR","#2196F3"),So.create("--ft-color-primary-variant","","COLOR","#1976D2"),So.create("--ft-color-secondary","","COLOR","#FFCC80"),So.create("--ft-color-secondary-variant","","COLOR","#F57C00"),So.create("--ft-color-surface","","COLOR","#FFFFFF"),So.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),So.create("--ft-color-error","","COLOR","#B00020"),So.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),So.create("--ft-color-opacity-high","","NUMBER","1"),So.create("--ft-color-opacity-medium","","NUMBER","0.74"),So.create("--ft-color-opacity-disabled","","NUMBER","0.38"),So.create("--ft-color-on-primary","","COLOR","#FFFFFF"),So.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),So.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),So.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),So.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),So.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),So.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),So.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),So.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),So.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),So.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),So.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),So.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),So.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),So.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),So.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),So.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),So.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),So.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),So.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),So.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),So.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),So.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),So.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),So.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),So.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),So.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),So.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),So.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),So.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),So.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),So.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),So.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.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)"),So.create("--ft-border-radius-S","","SIZE","4px"),So.create("--ft-border-radius-M","","SIZE","8px"),So.create("--ft-border-radius-L","","SIZE","12px"),So.create("--ft-border-radius-XL","","SIZE","16px"),So.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),So.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),So.create("--ft-transition-duration","","UNKNOWN","250ms"),So.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 Ro=window,xo=Ro.ShadowRoot&&(void 0===Ro.ShadyCSS||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Uo extends vo{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((t,o)=>{xo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const r=document.createElement("style"),e=Ro.litNonce;void 0!==e&&r.setAttribute("nonce",e),r.textContent=o.cssText,t.appendChild(r)}))})(r,t.elementStyles),r}}var Io,Lo=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 Ao=Symbol("constructorPrototype"),ko=Symbol("constructorName"),Wo=Symbol("exportpartsDebouncer");class Ko extends Uo{constructor(){super(),this[Io]=new n(5),this[ko]=this.constructor.name,this[Ao]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ko]&&Object.setPrototypeOf(this,this[Ao])}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[Wo].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(", "))}}Io=Wo,Lo([U()],Ko.prototype,"exportpartsPrefix",void 0),Lo([k([])],Ko.prototype,"exportpartsPrefixes",void 0),Lo([U()],Ko.prototype,"customStylesheet",void 0),Nt`
55
71
  .ft-no-text-select {
56
72
  -webkit-touch-callout: none;
57
73
  -webkit-user-select: none;
@@ -60,7 +76,7 @@ var yt,bt;let gt=class extends I{constructor(){super(...arguments),this.renderOp
60
76
  -ms-user-select: none;
61
77
  user-select: none;
62
78
  }
63
- `,m`
79
+ `,Nt`
64
80
  .ft-word-wrap {
65
81
  white-space: normal;
66
82
  word-wrap: break-word;
@@ -72,7 +88,7 @@ var yt,bt;let gt=class extends I{constructor(){super(...arguments),this.renderOp
72
88
  -webkit-hyphens: auto;
73
89
  hyphens: auto
74
90
  }
75
- `,m`
91
+ `,Nt`
76
92
  .ft-safari-ellipsis-fix {
77
93
  margin-right: 0;
78
94
 
@@ -83,38 +99,38 @@ var yt,bt;let gt=class extends I{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 At(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Wt,kt,Kt;const jt=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),Ft=Symbol("internalStores");class Mt extends It{constructor(){super(...arguments),this[Wt]=new Map,this[kt]=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:At(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[Zt].has(t.store):this[Zt].size>0)&&(this[o]=t.selector(r.getState(),this))}}))}subscribeToStore(t,o){var r;this[Zt].set(t,o.subscribe((()=>this.updateFromStores()))),At(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[jt].push((()=>o.eventBus.removeEventListener(t.eventName,e)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Zt].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[jt].forEach((t=>t())),this[jt]=[]}unsubscribeFromStore(t){this[Zt].has(t)&&this[Zt].get(t)(),this[Zt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Tt(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[xo]}function Bt(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)===Uo}(t)||Array.isArray(t)||!!t[Ro]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Ro])||Ht(t)||qt(t))}function Dt(t,o,r){void 0===r&&(r=!1),0===_t(t)?(r?Object.keys:Io)(t).forEach((function(e){r&&"symbol"==typeof e||o(e,t[e],t)})):t.forEach((function(r,e){return o(e,r,t)}))}function _t(t){var o=t[xo];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Ht(t)?2:qt(t)?3:0}function $t(t,o){return 2===_t(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function zt(t,o,r){var e=_t(t);2===e?t.set(o,r):3===e?t.add(r):t[o]=r}function Gt(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Ht(t){return wo&&t instanceof Map}function qt(t){return So&&t instanceof Set}function Yt(t){return t.o||t.t}function Vt(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Lo(t);delete o[xo];for(var r=Io(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 Xt(t,o){return void 0===o&&(o=!1),Qt(t)||Pt(t)||!Bt(t)||(_t(t)>1&&(t.set=t.add=t.clear=t.delete=Jt),Object.freeze(t),o&&Dt(t,(function(t,o){return Xt(o,!0)}),!0)),t}function Jt(){Tt(2)}function Qt(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function to(t){var o=Ao[t];return o||Tt(18,t),o}function oo(){return Oo}function ro(t,o){o&&(to("Patches"),t.u=[],t.s=[],t.v=o)}function eo(t){no(t),t.p.forEach(ao),t.p=null}function no(t){t===Oo&&(Oo=t.l)}function io(t){return Oo={p:[],l:Oo,h:t,m:!0,_:0}}function ao(t){var o=t[xo];0===o.i||1===o.i?o.j():o.g=!0}function co(t,o){o._=o.p.length;var r=o.p[0],e=void 0!==t&&t!==r;return o.h.O||to("ES5").S(o,t,e),e?(r[xo].P&&(eo(o),Tt(4)),Bt(t)&&(t=so(o,t),o.l||fo(o,t)),o.u&&to("Patches").M(r[xo].t,t,o.u,o.s)):t=so(o,r,[]),eo(o),o.u&&o.v(o.u,o.s),t!==Co?t:void 0}function so(t,o,r){if(Qt(o))return o;var e=o[xo];if(!e)return Dt(o,(function(n,i){return lo(t,e,o,n,i,r)}),!0),o;if(e.A!==t)return o;if(!e.P)return fo(t,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var n=4===e.i||5===e.i?e.o=Vt(e.k):e.o,i=n,a=!1;3===e.i&&(i=new Set(n),n.clear(),a=!0),Dt(i,(function(o,i){return lo(t,e,n,o,i,r,a)})),fo(t,n,!1),r&&t.u&&to("Patches").N(e,r,t.u,t.s)}return e.o}function lo(t,o,r,e,n,i,a){if(Pt(n)){var c=so(t,n,i&&o&&3!==o.i&&!$t(o.R,e)?i.concat(e):void 0);if(zt(r,e,c),!Pt(c))return;t.m=!1}else a&&r.add(n);if(Bt(n)&&!Qt(n)){if(!t.h.D&&t._<1)return;so(t,n),o&&o.A.l||fo(t,n)}}function fo(t,o,r){void 0===r&&(r=!1),!t.l&&t.h.D&&t.m&&Xt(o,r)}function uo(t,o){var r=t[xo];return(r?Yt(r):t)[o]}function ho(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 po(t){t.P||(t.P=!0,t.l&&po(t.l))}function yo(t){t.o||(t.o=Vt(t.t))}function bo(t,o,r){var e=Ht(o)?to("MapSet").F(o,r):qt(o)?to("MapSet").T(o,r):t.O?function(t,o){var r=Array.isArray(t),e={i:r?1:0,A:o?o.A:oo(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=e,i=Wo;r&&(n=[e],i=ko);var a=Proxy.revocable(n,i),c=a.revoke,s=a.proxy;return e.k=s,e.j=c,s}(o,r):to("ES5").J(o,r);return(r?r.A:oo()).p.push(e),e}function go(t){return Pt(t)||Tt(22,t),function t(o){if(!Bt(o))return o;var r,e=o[xo],n=_t(o);if(e){if(!e.P&&(e.i<4||!to("ES5").K(e)))return e.t;e.I=!0,r=mo(o,n),e.I=!1}else r=mo(o,n);return Dt(r,(function(o,n){e&&function(t,o){return 2===_t(t)?t.get(o):t[o]}(e.t,o)===n||zt(r,o,t(n))})),3===n?new Set(r):r}(t)}function mo(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return Vt(t)}Wt=Zt,kt=Ft,Kt=jt;var vo,Oo,No="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),wo="undefined"!=typeof Map,So="undefined"!=typeof Set,Eo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Co=No?Symbol.for("immer-nothing"):((vo={})["immer-nothing"]=!0,vo),Ro=No?Symbol.for("immer-draftable"):"__$immer_draftable",xo=No?Symbol.for("immer-state"):"__$immer_state",Uo=""+Object.prototype.constructor,Io="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 Io(t).forEach((function(r){o[r]=Object.getOwnPropertyDescriptor(t,r)})),o},Ao={},Wo={get:function(t,o){if(o===xo)return t;var r=Yt(t);if(!$t(r,o))return function(t,o,r){var e,n=ho(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||!Bt(e)?e:e===uo(t.t,o)?(yo(t),t.o[o]=bo(t.A.h,e,t)):e},has:function(t,o){return o in Yt(t)},ownKeys:function(t){return Reflect.ownKeys(Yt(t))},set:function(t,o,r){var e=ho(Yt(t),o);if(null==e?void 0:e.set)return e.set.call(t.k,r),!0;if(!t.P){var n=uo(Yt(t),o),i=null==n?void 0:n[xo];if(i&&i.t===r)return t.o[o]=r,t.R[o]=!1,!0;if(Gt(r,n)&&(void 0!==r||$t(t.t,o)))return!0;yo(t),po(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!==uo(t.t,o)||o in t.t?(t.R[o]=!1,yo(t),po(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var r=Yt(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(){Tt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Tt(12)}},ko={};Dt(Wo,(function(t,o){ko[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ko.deleteProperty=function(t,o){return ko.set.call(this,t,o,void 0)},ko.set=function(t,o,r){return Wo.set.call(this,t[0],o,r,t[0])};var Ko=function(){function t(t){var o=this;this.O=Eo,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),c=1;c<e;c++)a[c-1]=arguments[c];return i.produce(t,(function(t){var e;return(e=r).call.apply(e,[o,t].concat(a))}))}}var a;if("function"!=typeof r&&Tt(6),void 0!==e&&"function"!=typeof e&&Tt(7),Bt(t)){var c=io(o),s=bo(o,t,void 0),l=!0;try{a=r(s),l=!1}finally{l?eo(c):no(c)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ro(c,e),co(t,c)}),(function(t){throw eo(c),t})):(ro(c,e),co(a,c))}if(!t||"object"!=typeof t){if(void 0===(a=r(t))&&(a=t),a===Co&&(a=void 0),o.D&&Xt(a,!0),e){var f=[],u=[];to("Patches").M(t,a,f,u),e(f,u)}return a}Tt(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){Bt(t)||Tt(8),Pt(t)&&(t=go(t));var o=io(this),r=bo(this,t,void 0);return r[xo].C=!0,no(o),r},o.finishDraft=function(t,o){var r=(t&&t[xo]).A;return ro(r,o),co(void 0,r)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Eo&&Tt(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=to("Patches").$;return Pt(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),jo=new Ko,Zo=jo.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 Mo(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 To(t,o,r){return(o=Mo(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 Bo(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){To(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 Do(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. "}jo.produceWithPatches.bind(jo),jo.setAutoFreeze.bind(jo),jo.setUseProxies.bind(jo),jo.applyPatches.bind(jo),jo.createDraft.bind(jo),jo.finishDraft.bind(jo);var _o="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 Go(t,o,r){var e;if("function"==typeof o&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Do(0));if("function"==typeof o&&void 0===r&&(r=o,o=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Do(1));return r(Go)(t,o)}if("function"!=typeof t)throw new Error(Do(2));var n=t,i=o,a=[],c=a,s=!1;function l(){c===a&&(c=a.slice())}function f(){if(s)throw new Error(Do(3));return i}function u(t){if("function"!=typeof t)throw new Error(Do(4));if(s)throw new Error(Do(5));var o=!0;return l(),c.push(t),function(){if(o){if(s)throw new Error(Do(6));o=!1,l();var r=c.indexOf(t);c.splice(r,1),a=null}}}function d(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(Do(7));if(void 0===t.type)throw new Error(Do(8));if(s)throw new Error(Do(9));try{s=!0,i=n(i,t)}finally{s=!1}for(var o=a=c,r=0;r<o.length;r++){(0,o[r])()}return t}return d({type:zo.INIT}),(e={dispatch:d,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Do(10));n=t,d({type:zo.REPLACE})}})[_o]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Do(11));function r(){t.next&&t.next(f())}return r(),{unsubscribe:o(r)}}})[_o]=function(){return this},t},e}function Ho(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(Do(12));if(void 0===r(void 0,{type:zo.PROBE_UNKNOWN_ACTION()}))throw new Error(Do(13))}))}(r)}catch(t){i=t}return function(t,o){if(void 0===t&&(t={}),i)throw i;for(var e=!1,n={},c=0;c<a.length;c++){var s=a[c],l=r[s],f=t[s],u=l(f,o);if(void 0===u)throw o&&o.type,new Error(Do(14));n[s]=u,e=e||u!==f}return(e=e||a.length!==Object.keys(t).length)?n:t}}function qo(){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 Yo(){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(Do(15))},n={getState:r.getState,dispatch:function(){return e.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return e=qo.apply(void 0,i)(r.dispatch),Bo(Bo({},r),{},{dispatch:e})}}}function Vo(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 Xo=Vo();Xo.withExtraArgument=Vo;var Jo,Qo=Xo,tr=(Jo=function(t,o){return Jo=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])},Jo(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}Jo(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),or=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:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){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,c])}}},rr=function(t,o){for(var r=0,e=o.length,n=t.length;r<e;r++,n++)t[n]=o[r];return t},er=Object.defineProperty,nr=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,lr=function(t,o,r){return o in t?er(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r},fr=function(t,o){for(var r in o||(o={}))cr.call(o,r)&&lr(t,r,o[r]);if(ar)for(var e=0,n=ar(o);e<n.length;e++){r=n[e];sr.call(o,r)&&lr(t,r,o[r])}return t},ur=function(t,o){return nr(t,ir(o))},dr="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?qo:qo.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 tr(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,rr([void 0],t[0].concat(this)))):new(o.bind.apply(o,rr([void 0],t.concat(this))))},o}(Array),pr=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 tr(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,rr([void 0],t[0].concat(this)))):new(o.bind.apply(o,rr([void 0],t.concat(this))))},o}(Array);function yr(t){return Bt(t)?Zo(t,(function(){})):t}function br(){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(Qo.withExtraArgument(r.extraArgument)):e.push(Qo));return e}(t)}}function gr(t){var o,r=br(),e=t||{},n=e.reducer,i=void 0===n?void 0:n,a=e.middleware,c=void 0===a?r():a,s=e.devTools,l=void 0===s||s,f=e.preloadedState,u=void 0===f?void 0:f,d=e.enhancers,h=void 0===d?void 0:d;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=Ho(i)}var p=c;"function"==typeof p&&(p=p(r));var y=Yo.apply(void 0,p),b=qo;l&&(b=dr(fr({trace:!1},"object"==typeof l&&l)));var g=new pr(y),m=g;return Array.isArray(h)?m=rr([y],h):"function"==typeof h&&(m=h(g)),Go(o,u,b.apply(void 0,m))}function mr(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 fr(fr({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 vr(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 Or(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:yr(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};function l(){var o="function"==typeof t.extraReducers?vr(t.extraReducers):[t.extraReducers],r=o[0],n=void 0===r?{}:r,i=o[1],a=void 0===i?[]:i,s=o[2],l=void 0===s?void 0:s,f=fr(fr({},n),c);return function(t,o,r,e){void 0===r&&(r=[]);var n,i="function"==typeof o?vr(o):[o,r,e],a=i[0],c=i[1],s=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return yr(t())};else{var l=yr(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var r=rr([a[o.type]],c.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===r.filter((function(t){return!!t})).length&&(r=[s]),r.reduce((function(t,r){if(r){var e;if(Pt(t))return void 0===(e=r(t,o))?t:e;if(Bt(t))return Zo(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,c[l]=r,s[t]=e?mr(l,e):mr(l)})),{name:o,reducer:function(t,o){return r||(r=l()),r(t,o)},actions:s,caseReducers:a,getInitialState:function(){return r||(r=l()),r.getInitialState()}}}var Nr=["name","message","stack","code"],wr=function(t,o){this.payload=t,this.meta=o},Sr=function(t,o){this.payload=t,this.meta=o},Er=function(t){if("object"==typeof t&&null!==t){for(var o={},r=0,e=Nr;r<e.length;r++){var n=e[r];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Cr(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=mr(t+"/fulfilled",(function(t,o,r,e){return{payload:t,meta:ur(fr({},e||{}),{arg:r,requestId:o,requestStatus:"fulfilled"})}})),n=mr(t+"/pending",(function(t,o,r){return{payload:void 0,meta:ur(fr({},r||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=mr(t+"/rejected",(function(t,o,e,n,i){return{payload:n,error:(r&&r.serializeError||Er)(t||"Rejected"),meta:ur(fr({},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(c,s,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}(),d=new a;function h(t){f=t,d.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,b,g,m;return or(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:s,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||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),c(n(u,t,null==(p=null==r?void 0:r.getPendingMeta)?void 0:p.call(r,{requestId:u,arg:t},{getState:s,extra:l}))),[4,Promise.race([g,Promise.resolve(o(t,{dispatch:c,getState:s,extra:l,requestId:u,signal:d.signal,abort:h,rejectWithValue:function(t,o){return new wr(t,o)},fulfillWithValue:function(t,o){return new Sr(t,o)}})).then((function(o){if(o instanceof wr)throw o;return o instanceof Sr?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 wr?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||c(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:h,requestId:u,arg:t,unwrap:function(){return p.then(Cr)}})}}),{pending:n,rejected:i,fulfilled:e,typePrefix:t})}t.withTypes=function(){return t}}();var Rr="listenerMiddleware";mr(Rr+"/add"),mr(Rr+"/removeAll"),mr(Rr+"/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[xo];return Wo.get(o,t)},set:function(o){var r=this[xo];Wo.set(r,t,o)}},r}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][xo];if(!n.P)switch(n.i){case 5:e(n)&&po(n);break;case 4:r(n)&&po(n)}}}function r(t){for(var o=t.t,r=t.k,e=Io(r),n=e.length-1;n>=0;n--){var i=e[n];if(i!==xo){var a=o[i];if(void 0===a&&!$t(o,i))return!0;var c=r[i],s=c&&c[xo];if(s?s.t!==a:!Gt(c,a))return!0}}var l=!!o[xo];return e.length!==Io(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){Ao[t]||(Ao[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[xo];for(var a=Io(i),c=0;c<a.length;c++){var s=a[c];i[s]=t(s,o||!!i[s].enumerable)}return Object.create(Object.getPrototypeOf(r),i)}(e,o),i={i:e?5:4,A:r?r.A:oo(),P:!1,I:!1,R:{},l:r,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,xo,{value:i,writable:!0}),n},S:function(t,r,n){n?Pt(r)&&r[xo].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var r=o[xo];if(r){var n=r.t,i=r.k,a=r.R,c=r.i;if(4===c)Dt(i,(function(o){o!==xo&&(void 0!==n[o]||$t(n,o)?a[o]||t(i[o]):(a[o]=!0,po(r)))})),Dt(n,(function(t){void 0!==i[t]||$t(i,t)||(a[t]=!1,po(r))}));else if(5===c){if(e(r)&&(po(r),a.length=!0),i.length<n.length)for(var s=i.length;s<n.length;s++)a[s]=!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 xr{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(At(n))return n;if(null==e)return;const i=Or({...e,reducers:null!==(o=e.reducers)&&void 0!==o?o:{}}),a=gr({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 xr(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()}}var Ur,Ir;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Ir=null===(Ur=window.safari)||void 0===Ur?void 0:Ur.pushNotification)||void 0===Ir||Ir.toString());
102
+ `;class jo{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 Po(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Mo,Zo,To;const Fo=Symbol("internalReduxEventsUnsubscribers"),_o=Symbol("internalStoresUnsubscribers"),Bo=Symbol("internalStores");class Do extends Ko{constructor(){super(...arguments),this[Mo]=new Map,this[Zo]=new Map,this[To]=[]}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[Bo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Bo].get(t)}addStore(t,o){var r;o=null!==(r=null!=o?o:Po(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[Bo].delete(o)}setupStore(t,o){this[Bo].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Bo].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[_o].has(t.store):this[_o].size>0)&&(this[o]=t.selector(r.getState(),this))}}))}subscribeToStore(t,o){var r;this[_o].set(t,o.subscribe((()=>this.updateFromStores()))),Po(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[Fo].push((()=>o.eventBus.removeEventListener(t.eventName,e)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_o].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Fo].forEach((t=>t())),this[Fo]=[]}unsubscribeFromStore(t){this[_o].has(t)&&this[_o].get(t)(),this[_o].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function $o(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 zo(t){return!!t&&!!t[Ar]}function Go(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)===kr}(t)||Array.isArray(t)||!!t[Lr]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Lr])||Xo(t)||Qo(t))}function Ho(t,o,r){void 0===r&&(r=!1),0===qo(t)?(r?Object.keys:Wr)(t).forEach((function(e){r&&"symbol"==typeof e||o(e,t[e],t)})):t.forEach((function(r,e){return o(e,r,t)}))}function qo(t){var o=t[Ar];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:Xo(t)?2:Qo(t)?3:0}function Yo(t,o){return 2===qo(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function Vo(t,o,r){var e=qo(t);2===e?t.set(o,r):3===e?t.add(r):t[o]=r}function Jo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function Xo(t){return Rr&&t instanceof Map}function Qo(t){return xr&&t instanceof Set}function tr(t){return t.o||t.t}function or(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Kr(t);delete o[Ar];for(var r=Wr(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 rr(t,o){return void 0===o&&(o=!1),nr(t)||zo(t)||!Go(t)||(qo(t)>1&&(t.set=t.add=t.clear=t.delete=er),Object.freeze(t),o&&Ho(t,(function(t,o){return rr(o,!0)}),!0)),t}function er(){$o(2)}function nr(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function ir(t){var o=jr[t];return o||$o(18,t),o}function ar(){return Er}function sr(t,o){o&&(ir("Patches"),t.u=[],t.s=[],t.v=o)}function cr(t){lr(t),t.p.forEach(ur),t.p=null}function lr(t){t===Er&&(Er=t.l)}function fr(t){return Er={p:[],l:Er,h:t,m:!0,_:0}}function ur(t){var o=t[Ar];0===o.i||1===o.i?o.j():o.g=!0}function hr(t,o){o._=o.p.length;var r=o.p[0],e=void 0!==t&&t!==r;return o.h.O||ir("ES5").S(o,t,e),e?(r[Ar].P&&(cr(o),$o(4)),Go(t)&&(t=dr(o,t),o.l||yr(o,t)),o.u&&ir("Patches").M(r[Ar].t,t,o.u,o.s)):t=dr(o,r,[]),cr(o),o.u&&o.v(o.u,o.s),t!==Ir?t:void 0}function dr(t,o,r){if(nr(o))return o;var e=o[Ar];if(!e)return Ho(o,(function(n,i){return pr(t,e,o,n,i,r)}),!0),o;if(e.A!==t)return o;if(!e.P)return yr(t,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var n=4===e.i||5===e.i?e.o=or(e.k):e.o,i=n,a=!1;3===e.i&&(i=new Set(n),n.clear(),a=!0),Ho(i,(function(o,i){return pr(t,e,n,o,i,r,a)})),yr(t,n,!1),r&&t.u&&ir("Patches").N(e,r,t.u,t.s)}return e.o}function pr(t,o,r,e,n,i,a){if(zo(n)){var s=dr(t,n,i&&o&&3!==o.i&&!Yo(o.R,e)?i.concat(e):void 0);if(Vo(r,e,s),!zo(s))return;t.m=!1}else a&&r.add(n);if(Go(n)&&!nr(n)){if(!t.h.D&&t._<1)return;dr(t,n),o&&o.A.l||yr(t,n)}}function yr(t,o,r){void 0===r&&(r=!1),!t.l&&t.h.D&&t.m&&rr(o,r)}function br(t,o){var r=t[Ar];return(r?tr(r):t)[o]}function gr(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 mr(t){t.P||(t.P=!0,t.l&&mr(t.l))}function Or(t){t.o||(t.o=or(t.t))}function vr(t,o,r){var e=Xo(o)?ir("MapSet").F(o,r):Qo(o)?ir("MapSet").T(o,r):t.O?function(t,o){var r=Array.isArray(t),e={i:r?1:0,A:o?o.A:ar(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},n=e,i=Pr;r&&(n=[e],i=Mr);var a=Proxy.revocable(n,i),s=a.revoke,c=a.proxy;return e.k=c,e.j=s,c}(o,r):ir("ES5").J(o,r);return(r?r.A:ar()).p.push(e),e}function wr(t){return zo(t)||$o(22,t),function t(o){if(!Go(o))return o;var r,e=o[Ar],n=qo(o);if(e){if(!e.P&&(e.i<4||!ir("ES5").K(e)))return e.t;e.I=!0,r=Nr(o,n),e.I=!1}else r=Nr(o,n);return Ho(r,(function(o,n){e&&function(t,o){return 2===qo(t)?t.get(o):t[o]}(e.t,o)===n||Vo(r,o,t(n))})),3===n?new Set(r):r}(t)}function Nr(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return or(t)}Mo=_o,Zo=Bo,To=Fo;var Sr,Er,Cr="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Rr="undefined"!=typeof Map,xr="undefined"!=typeof Set,Ur="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ir=Cr?Symbol.for("immer-nothing"):((Sr={})["immer-nothing"]=!0,Sr),Lr=Cr?Symbol.for("immer-draftable"):"__$immer_draftable",Ar=Cr?Symbol.for("immer-state"):"__$immer_state",kr=""+Object.prototype.constructor,Wr="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Kr=Object.getOwnPropertyDescriptors||function(t){var o={};return Wr(t).forEach((function(r){o[r]=Object.getOwnPropertyDescriptor(t,r)})),o},jr={},Pr={get:function(t,o){if(o===Ar)return t;var r=tr(t);if(!Yo(r,o))return function(t,o,r){var e,n=gr(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||!Go(e)?e:e===br(t.t,o)?(Or(t),t.o[o]=vr(t.A.h,e,t)):e},has:function(t,o){return o in tr(t)},ownKeys:function(t){return Reflect.ownKeys(tr(t))},set:function(t,o,r){var e=gr(tr(t),o);if(null==e?void 0:e.set)return e.set.call(t.k,r),!0;if(!t.P){var n=br(tr(t),o),i=null==n?void 0:n[Ar];if(i&&i.t===r)return t.o[o]=r,t.R[o]=!1,!0;if(Jo(r,n)&&(void 0!==r||Yo(t.t,o)))return!0;Or(t),mr(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!==br(t.t,o)||o in t.t?(t.R[o]=!1,Or(t),mr(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var r=tr(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(){$o(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){$o(12)}},Mr={};Ho(Pr,(function(t,o){Mr[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Mr.deleteProperty=function(t,o){return Mr.set.call(this,t,o,void 0)},Mr.set=function(t,o,r){return Pr.set.call(this,t[0],o,r,t[0])};var Zr=function(){function t(t){var o=this;this.O=Ur,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&&$o(6),void 0!==e&&"function"!=typeof e&&$o(7),Go(t)){var s=fr(o),c=vr(o,t,void 0),l=!0;try{a=r(c),l=!1}finally{l?cr(s):lr(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return sr(s,e),hr(t,s)}),(function(t){throw cr(s),t})):(sr(s,e),hr(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=r(t))&&(a=t),a===Ir&&(a=void 0),o.D&&rr(a,!0),e){var f=[],u=[];ir("Patches").M(t,a,f,u),e(f,u)}return a}$o(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){Go(t)||$o(8),zo(t)&&(t=wr(t));var o=fr(this),r=vr(this,t,void 0);return r[Ar].C=!0,lr(o),r},o.finishDraft=function(t,o){var r=(t&&t[Ar]).A;return sr(r,o),hr(void 0,r)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ur&&$o(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=ir("Patches").$;return zo(t)?n(t,o):this.produce(t,(function(t){return n(t,o)}))},t}(),Tr=new Zr,Fr=Tr.produce;function _r(t){return _r="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},_r(t)}function Br(t){var o=function(t,o){if("object"!==_r(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var e=r.call(t,o||"default");if("object"!==_r(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===_r(o)?o:String(o)}function Dr(t,o,r){return(o=Br(o))in t?Object.defineProperty(t,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[o]=r,t}function $r(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 zr(t){for(var o=1;o<arguments.length;o++){var r=null!=arguments[o]?arguments[o]:{};o%2?$r(Object(r),!0).forEach((function(o){Dr(t,o,r[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$r(Object(r)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))}))}return t}function Gr(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. "}Tr.produceWithPatches.bind(Tr),Tr.setAutoFreeze.bind(Tr),Tr.setUseProxies.bind(Tr),Tr.applyPatches.bind(Tr),Tr.createDraft.bind(Tr),Tr.finishDraft.bind(Tr);var Hr="function"==typeof Symbol&&Symbol.observable||"@@observable",qr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Yr={INIT:"@@redux/INIT"+qr(),REPLACE:"@@redux/REPLACE"+qr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+qr()}};function Vr(t,o,r){var e;if("function"==typeof o&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(Gr(0));if("function"==typeof o&&void 0===r&&(r=o,o=void 0),void 0!==r){if("function"!=typeof r)throw new Error(Gr(1));return r(Vr)(t,o)}if("function"!=typeof t)throw new Error(Gr(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(Gr(3));return i}function u(t){if("function"!=typeof t)throw new Error(Gr(4));if(c)throw new Error(Gr(5));var o=!0;return l(),s.push(t),function(){if(o){if(c)throw new Error(Gr(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(Gr(7));if(void 0===t.type)throw new Error(Gr(8));if(c)throw new Error(Gr(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:Yr.INIT}),(e={dispatch:h,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Gr(10));n=t,h({type:Yr.REPLACE})}})[Hr]=function(){var t,o=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Gr(11));function r(){t.next&&t.next(f())}return r(),{unsubscribe:o(r)}}})[Hr]=function(){return this},t},e}function Jr(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:Yr.INIT}))throw new Error(Gr(12));if(void 0===r(void 0,{type:Yr.PROBE_UNKNOWN_ACTION()}))throw new Error(Gr(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(Gr(14));n[c]=u,e=e||u!==f}return(e=e||a.length!==Object.keys(t).length)?n:t}}function Xr(){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 Qr(){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(Gr(15))},n={getState:r.getState,dispatch:function(){return e.apply(void 0,arguments)}},i=o.map((function(t){return t(n)}));return e=Xr.apply(void 0,i)(r.dispatch),zr(zr({},r),{},{dispatch:e})}}}function te(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 oe=te();oe.withExtraArgument=te;var re,ee=oe,ne=(re=function(t,o){return re=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])},re(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}re(t,o),t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)}),ie=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])}}},ae=function(t,o){for(var r=0,e=o.length,n=t.length;r<e;r++,n++)t[n]=o[r];return t},se=Object.defineProperty,ce=Object.defineProperties,le=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,de=function(t,o,r){return o in t?se(t,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[o]=r},pe=function(t,o){for(var r in o||(o={}))ue.call(o,r)&&de(t,r,o[r]);if(fe)for(var e=0,n=fe(o);e<n.length;e++){r=n[e];he.call(o,r)&&de(t,r,o[r])}return t},ye=function(t,o){return ce(t,le(o))},be="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Xr:Xr.apply(null,arguments)};var ge=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 ne(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,ae([void 0],t[0].concat(this)))):new(o.bind.apply(o,ae([void 0],t.concat(this))))},o}(Array),me=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 ne(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,ae([void 0],t[0].concat(this)))):new(o.bind.apply(o,ae([void 0],t.concat(this))))},o}(Array);function Oe(t){return Go(t)?Fr(t,(function(){})):t}function ve(){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 ge;r&&(!function(t){return"boolean"==typeof t}(r)?e.push(ee.withExtraArgument(r.extraArgument)):e.push(ee));return e}(t)}}function we(t){var o,r=ve(),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=Jr(i)}var p=s;"function"==typeof p&&(p=p(r));var y=Qr.apply(void 0,p),b=Xr;l&&(b=be(pe({trace:!1},"object"==typeof l&&l)));var g=new me(y),m=g;return Array.isArray(d)?m=ae([y],d):"function"==typeof d&&(m=d(g)),Vr(o,u,b.apply(void 0,m))}function Ne(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 pe(pe({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 Se(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 Ee(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:Oe(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};function l(){var o="function"==typeof t.extraReducers?Se(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=pe(pe({},n),s);return function(t,o,r,e){void 0===r&&(r=[]);var n,i="function"==typeof o?Se(o):[o,r,e],a=i[0],s=i[1],c=i[2];if(function(t){return"function"==typeof t}(t))n=function(){return Oe(t())};else{var l=Oe(t);n=function(){return l}}function f(t,o){void 0===t&&(t=n());var r=ae([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(zo(t))return void 0===(e=r(t,o))?t:e;if(Go(t))return Fr(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?Ne(l,e):Ne(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 Ce=["name","message","stack","code"],Re=function(t,o){this.payload=t,this.meta=o},xe=function(t,o){this.payload=t,this.meta=o},Ue=function(t){if("object"==typeof t&&null!==t){for(var o={},r=0,e=Ce;r<e.length;r++){var n=e[r];"string"==typeof t[n]&&(o[n]=t[n])}return o}return{message:String(t)}};function Ie(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=Ne(t+"/fulfilled",(function(t,o,r,e){return{payload:t,meta:ye(pe({},e||{}),{arg:r,requestId:o,requestStatus:"fulfilled"})}})),n=Ne(t+"/pending",(function(t,o,r){return{payload:void 0,meta:ye(pe({},r||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),i=Ne(t+"/rejected",(function(t,o,e,n,i){return{payload:n,error:(r&&r.serializeError||Ue)(t||"Rejected"),meta:ye(pe({},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 ie(this,(function(O){switch(O.label){case 0:return O.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===(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||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 Re(t,o)},fulfillWithValue:function(t,o){return new xe(t,o)}})).then((function(o){if(o instanceof Re)throw o;return o instanceof xe?e(o.payload,u,t,o.meta):e(o,u,t)}))])];case 3:return y=O.sent(),[3,5];case 4:return m=O.sent(),y=m instanceof Re?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 v}))},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(Ie)}})}}),{pending:n,rejected:i,fulfilled:e,typePrefix:t})}t.withTypes=function(){return t}}();var Le="listenerMiddleware";Ne(Le+"/add"),Ne(Le+"/removeAll"),Ne(Le+"/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[Ar];return Pr.get(o,t)},set:function(o){var r=this[Ar];Pr.set(r,t,o)}},r}function o(t){for(var o=t.length-1;o>=0;o--){var n=t[o][Ar];if(!n.P)switch(n.i){case 5:e(n)&&mr(n);break;case 4:r(n)&&mr(n)}}}function r(t){for(var o=t.t,r=t.k,e=Wr(r),n=e.length-1;n>=0;n--){var i=e[n];if(i!==Ar){var a=o[i];if(void 0===a&&!Yo(o,i))return!0;var s=r[i],c=s&&s[Ar];if(c?c.t!==a:!Jo(s,a))return!0}}var l=!!o[Ar];return e.length!==Wr(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){jr[t]||(jr[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=Kr(r);delete i[Ar];for(var a=Wr(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:ar(),P:!1,I:!1,R:{},l:r,t:o,k:n,o:null,g:!1,C:!1};return Object.defineProperty(n,Ar,{value:i,writable:!0}),n},S:function(t,r,n){n?zo(r)&&r[Ar].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var r=o[Ar];if(r){var n=r.t,i=r.k,a=r.R,s=r.i;if(4===s)Ho(i,(function(o){o!==Ar&&(void 0!==n[o]||Yo(n,o)?a[o]||t(i[o]):(a[o]=!0,mr(r)))})),Ho(n,(function(t){void 0!==i[t]||Yo(i,t)||(a[t]=!1,mr(r))}));else if(5===s){if(e(r)&&(mr(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 Ae{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(Po(n))return n;if(null==e)return;const i=Ee({...e,reducers:null!==(o=e.reducers)&&void 0!==o?o:{}}),a=we({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 Ae(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()}}var ke,We;navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(We=null===(ke=window.safari)||void 0===ke?void 0:ke.pushNotification)||void 0===We||We.toString());
87
103
  /**
88
- * @license
89
- * Copyright 2017 Google LLC
90
- * SPDX-License-Identifier: BSD-3-Clause
91
- */
92
- const Lr=2;class Ar{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,r){this._$Ct=t,this._$AM=o,this._$Ci=r}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
104
+ * @license
105
+ * Copyright 2017 Google LLC
106
+ * SPDX-License-Identifier: BSD-3-Clause
107
+ */
108
+ const Ke=2;class je{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,r){this._$Ct=t,this._$AM=o,this._$Ci=r}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
93
109
  /**
94
- * @license
95
- * Copyright 2020 Google LLC
96
- * SPDX-License-Identifier: BSD-3-Clause
97
- */const{I:Wr}=ht,kr=()=>document.createComment(""),Kr=(t,o,r)=>{var e;const n=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===r){const o=n.insertBefore(kr(),i),e=n.insertBefore(kr(),i);r=new Wr(o,e,t,t.options)}else{const o=r._$AB.nextSibling,a=r._$AM,c=a!==t;if(c){let o;null===(e=r._$AQ)||void 0===e||e.call(r,t),r._$AM=t,void 0!==r._$AP&&(o=t._$AU)!==a._$AU&&r._$AP(o)}if(o!==i||c){let t=r._$AA;for(;t!==o;){const o=t.nextSibling;n.insertBefore(t,i),t=o}}}return r},jr=(t,o,r=t)=>(t._$AI(o,r),t),Zr={},Fr=t=>{var o;null===(o=t._$AP)||void 0===o||o.call(t,!1,!0);let r=t._$AA;const e=t._$AB.nextSibling;for(;r!==e;){const t=r.nextSibling;r.remove(),r=t}},Mr=(t,o,r)=>{const e=new Map;for(let n=o;n<=r;n++)e.set(t[n],n);return e},Tr=(t=>(...o)=>({_$litDirective$:t,values:o}))(class extends Ar{constructor(t){if(super(t),t.type!==Lr)throw Error("repeat() can only be used in text expressions")}dt(t,o,r){let e;void 0===r?r=o:void 0!==o&&(e=o);const n=[],i=[];let a=0;for(const o of t)n[a]=e?e(o,a):a,i[a]=r(o,a),a++;return{values:i,keys:n}}render(t,o,r){return this.dt(t,o,r).values}update(t,[o,r,e]){var n;const i=(t=>t._$AH)(t),{values:a,keys:c}=this.dt(o,r,e);if(!Array.isArray(i))return this.ht=c,a;const s=null!==(n=this.ht)&&void 0!==n?n:this.ht=[],l=[];let f,u,d=0,h=i.length-1,p=0,y=a.length-1;for(;d<=h&&p<=y;)if(null===i[d])d++;else if(null===i[h])h--;else if(s[d]===c[p])l[p]=jr(i[d],a[p]),d++,p++;else if(s[h]===c[y])l[y]=jr(i[h],a[y]),h--,y--;else if(s[d]===c[y])l[y]=jr(i[d],a[y]),Kr(t,l[y+1],i[d]),d++,y--;else if(s[h]===c[p])l[p]=jr(i[h],a[p]),Kr(t,i[d],i[h]),h--,p++;else if(void 0===f&&(f=Mr(c,p,y),u=Mr(s,d,h)),f.has(s[d]))if(f.has(s[h])){const o=u.get(c[p]),r=void 0!==o?i[o]:null;if(null===r){const o=Kr(t,i[d]);jr(o,a[p]),l[p]=o}else l[p]=jr(r,a[p]),Kr(t,i[d],r),i[o]=null;p++}else Fr(i[h]),h--;else Fr(i[d]),d++;for(;p<=y;){const o=Kr(t,l[y+1]);jr(o,a[p]),l[p++]=o}for(;d<=h;){const t=i[d++];null!==t&&Fr(t)}return this.ht=c,((t,o=Zr)=>{t._$AH=o})(t,l),J}}),Pr=m`
110
+ * @license
111
+ * Copyright 2020 Google LLC
112
+ * SPDX-License-Identifier: BSD-3-Clause
113
+ */const{D:Pe}=pt,Me=()=>document.createComment(""),Ze=(t,o,r)=>{const e=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===r){const o=e.insertBefore(Me(),n),i=e.insertBefore(Me(),n);r=new Pe(o,i,t,t.options)}else{const o=r._$AB.nextSibling,i=r._$AM,a=i!==t;if(a){let o;r._$AQ?.(t),r._$AM=t,void 0!==r._$AP&&(o=t._$AU)!==i._$AU&&r._$AP(o)}if(o!==n||a){let t=r._$AA;for(;t!==o;){const o=t.nextSibling;e.insertBefore(t,n),t=o}}}return r},Te=(t,o,r=t)=>(t._$AI(o,r),t),Fe={},_e=t=>{t._$AP?.(!1,!0);let o=t._$AA;const r=t._$AB.nextSibling;for(;o!==r;){const t=o.nextSibling;o.remove(),o=t}},Be=(t,o,r)=>{const e=new Map;for(let n=o;n<=r;n++)e.set(t[n],n);return e},De=(t=>(...o)=>({_$litDirective$:t,values:o}))(class extends je{constructor(t){if(super(t),t.type!==Ke)throw Error("repeat() can only be used in text expressions")}ht(t,o,r){let e;void 0===r?r=o:void 0!==o&&(e=o);const n=[],i=[];let a=0;for(const o of t)n[a]=e?e(o,a):a,i[a]=r(o,a),a++;return{values:i,keys:n}}render(t,o,r){return this.ht(t,o,r).values}update(t,[o,r,e]){const n=(t=>t._$AH)(t),{values:i,keys:a}=this.ht(o,r,e);if(!Array.isArray(n))return this.dt=a,i;const s=this.dt??=[],c=[];let l,f,u=0,h=n.length-1,d=0,p=i.length-1;for(;u<=h&&d<=p;)if(null===n[u])u++;else if(null===n[h])h--;else if(s[u]===a[d])c[d]=Te(n[u],i[d]),u++,d++;else if(s[h]===a[p])c[p]=Te(n[h],i[p]),h--,p--;else if(s[u]===a[p])c[p]=Te(n[u],i[p]),Ze(t,c[p+1],n[u]),u++,p--;else if(s[h]===a[d])c[d]=Te(n[h],i[d]),Ze(t,n[u],n[h]),h--,d++;else if(void 0===l&&(l=Be(a,d,p),f=Be(s,u,h)),l.has(s[u]))if(l.has(s[h])){const o=f.get(a[d]),r=void 0!==o?n[o]:null;if(null===r){const o=Ze(t,n[u]);Te(o,i[d]),c[d]=o}else c[d]=Te(r,i[d]),Ze(t,n[u],r),n[o]=null;d++}else _e(n[h]),h--;else _e(n[u]),u++;for(;d<=p;){const o=Ze(t,c[p+1]);Te(o,i[d]),c[d++]=o}for(;u<=h;){const t=n[u++];null!==t&&_e(t)}return this.dt=a,((t,o=Fe)=>{t._$AH=o})(t,c),Q}}),$e=Nt`
98
114
  `;
99
115
  /**
100
- * @license
101
- * Copyright 2017 Google LLC
102
- * SPDX-License-Identifier: BSD-3-Clause
103
- */var Br,Dr,_r,$r,zr,Gr,Hr,qr,Yr,Vr,Xr,Jr,Qr,te;!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 c(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 s(t){this.map={},t instanceof s?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 d(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function h(){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=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=d(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}s.prototype.append=function(t,o){t=i(t),o=a(o);var r=this.map[t];this.map[t]=r?r+", "+o:o},s.prototype.delete=function(t){delete this.map[i(t)]},s.prototype.get=function(t){return t=i(t),this.has(t)?this.map[t]:null},s.prototype.has=function(t){return this.map.hasOwnProperty(i(t))},s.prototype.set=function(t,o){this.map[i(t)]=a(o)},s.prototype.forEach=function(t,o){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(o,this.map[r],r,this)},s.prototype.keys=function(){var t=[];return this.forEach((function(o,r){t.push(r)})),c(t)},s.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),c(t)},s.prototype.entries=function(){var t=[];return this.forEach((function(o,r){t.push([r,o])})),c(t)},r.iterable&&(s.prototype[Symbol.iterator]=s.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 s(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 s(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 s(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},h.call(y.prototype),h.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(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 c=new XMLHttpRequest;function l(){c.abort()}c.onload=function(){var t,o,r={status:c.status,statusText:c.statusText,headers:(t=c.getAllResponseHeaders()||"",o=new s,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 c?c.responseURL:r.headers.get("X-Request-URL");var e="response"in c?c.response:c.responseText;n(new g(e,r))},c.onerror=function(){i(new TypeError("Network request failed"))},c.ontimeout=function(){i(new TypeError("Network request failed"))},c.onabort=function(){i(new o.DOMException("Aborted","AbortError"))},c.open(a.method,a.url,!0),"include"===a.credentials?c.withCredentials=!0:"omit"===a.credentials&&(c.withCredentials=!1),"responseType"in c&&r.blob&&(c.responseType="blob"),a.headers.forEach((function(t,o){c.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",l),c.onreadystatechange=function(){4===c.readyState&&a.signal.removeEventListener("abort",l)}),c.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=s,t.Request=y,t.Response=g),o.Headers=s,o.Request=y,o.Response=g,o.fetch=v,Object.defineProperty(o,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Br||(Br={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Dr||(Dr={})),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"}(_r||(_r={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}($r||($r={})),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"}(Gr||(Gr={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Hr||(Hr={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(qr||(qr={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Yr||(Yr={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Vr||(Vr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Xr||(Xr={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Jr||(Jr={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Qr||(Qr={})),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"}(te||(te={})),te.PERSONAL_BOOK_SHARE_USER,te.PERSONAL_BOOK_USER,te.HTML_EXPORT_USER,te.PERSONAL_BOOK_USER,te.PDF_EXPORT_USER,te.PERSONAL_BOOK_USER,te.KHUB_ADMIN,te.CONTENT_PUBLISHER,te.ADMIN,te.KHUB_ADMIN,te.USERS_ADMIN,te.PORTAL_ADMIN,te.DEVELOPER,te.BETA_USER,te.DEBUG_USER;const oe=m`
104
- `,re=xr.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 ee{static build(t){const{baseUrl:o,apiIntegrationIdentifier:r}=re.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?ee.build(t):null!==(o=ee.API)&&void 0!==o?o:ee.API=ee.build()}static await(t){return new Promise((o=>{let r=ee.get(t);if(r)o(r);else{const e=re.subscribe((()=>{r=ee.get(t),r&&(e(),o(r))}))}}))}}var ne;const ie=Symbol("clearAfterUnitTest");class ae{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new e,this.listeners={},this.currentUiLocale="",this[ne]=()=>{this.defaultMessages={},this.cache=new e,this.listeners={}},this.currentUiLocale=re.getState().uiLocale,re.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=re.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};l(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=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}ne=ie,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new ae((async(t,o)=>(await ee.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new ae((async(t,o)=>(await ee.await()).getCustomMessageContext(t,o))));const ce=window.FluidTopicsI18nService;var se=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(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 le extends It{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=()=>ee.get(),this.cache=new e,this.cleanSessionDebouncer=new n}render(){return X`
116
+ * @license
117
+ * Copyright 2017 Google LLC
118
+ * SPDX-License-Identifier: BSD-3-Clause
119
+ */var ze,Ge,He,qe,Ye,Ve,Je,Xe,Qe,tn,on,rn,en,nn;!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 O(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)}))}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,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(ze||(ze={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(Ge||(Ge={})),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"}(He||(He={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(qe||(qe={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ye||(Ye={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Ve||(Ve={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Je||(Je={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Xe||(Xe={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Qe||(Qe={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(tn||(tn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(on||(on={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(rn||(rn={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(en||(en={})),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"}(nn||(nn={})),nn.PERSONAL_BOOK_SHARE_USER,nn.PERSONAL_BOOK_USER,nn.HTML_EXPORT_USER,nn.PERSONAL_BOOK_USER,nn.PDF_EXPORT_USER,nn.PERSONAL_BOOK_USER,nn.KHUB_ADMIN,nn.CONTENT_PUBLISHER,nn.ADMIN,nn.KHUB_ADMIN,nn.USERS_ADMIN,nn.PORTAL_ADMIN,nn.DEVELOPER,nn.BETA_USER,nn.DEBUG_USER;const an=Nt`
120
+ `,sn=Ae.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 cn{static build(t){const{baseUrl:o,apiIntegrationIdentifier:r}=sn.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?cn.build(t):null!==(o=cn.API)&&void 0!==o?o:cn.API=cn.build()}static await(t){return new Promise((o=>{let r=cn.get(t);if(r)o(r);else{const e=sn.subscribe((()=>{r=cn.get(t),r&&(e(),o(r))}))}}))}}var ln;const fn=Symbol("clearAfterUnitTest");class un{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new e,this.listeners={},this.currentUiLocale="",this[ln]=()=>{this.defaultMessages={},this.cache=new e,this.listeners={}},this.currentUiLocale=sn.getState().uiLocale,sn.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=sn.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};L(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 jo(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=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}ln=fn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new un((async(t,o)=>(await cn.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new un((async(t,o)=>(await cn.await()).getCustomMessageContext(t,o))));const hn=window.FluidTopicsI18nService;var dn=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 pn 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=()=>cn.get(),this.cache=new e,this.cleanSessionDebouncer=new n}render(){return no`
105
121
  <slot></slot>
106
- `}update(t){super.update(t),t.has("baseUrl")&&re.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&re.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&re.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&re.actions.setNoCustom(this.noCustom),t.has("editorMode")&&re.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&re.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&re.actions.setSession(this.session),t.has("availableUiLocales")&&re.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ce.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()))))}}le.elementDefinitions={},le.styles=oe,se([a()],le.prototype,"baseUrl",void 0),se([a()],le.prototype,"apiIntegrationIdentifier",void 0),se([a()],le.prototype,"uiLocale",void 0),se([u([])],le.prototype,"availableUiLocales",void 0),se([a({type:Boolean})],le.prototype,"editorMode",void 0),se([a({type:Boolean})],le.prototype,"noCustom",void 0),se([a({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],le.prototype,"noCustomComponent",void 0),se([a({type:Boolean})],le.prototype,"withManualResources",void 0),se([u([])],le.prototype,"messageContexts",void 0),se([u(void 0)],le.prototype,"session",void 0),se([a({type:Object})],le.prototype,"apiProvider",void 0);class fe{async listMySearches(){var t;return(null===(t=re.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await ee.await()).listMySearches(re.getState().session.profile.userId):[]}}const ue=new e;class de{async listMyBookmarks(){return ue.get("bookmarks",(async()=>(await ee.await()).listMyBookmarks(re.getState().session.profile.userId)))}clearCache(){ue.clear("bookmarks")}}const he=xr.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=re.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new de,re.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=re.getState();l(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){he.actions.savedSearches(void 0)}clearMyBookmarks(){he.actions.bookmarks(void 0)}async reloadMySearches(){const t=new fe,o=await t.listMySearches();he.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;he.actions.bookmarks(o)}}},f("ft-app-context")(le);class pe extends Event{constructor(){super(pe.eventName)}}pe.eventName="search-context-clear-all-filters";var ye=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(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 be extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ge=Symbol("registerInterval");class me 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[ge]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ge]):this.dispatchEvent(new be)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=ge,ye([c()],r.prototype,"stateManager",void 0),r}(Mt)){}const ve=m`
122
+ `}update(t){super.update(t),t.has("baseUrl")&&sn.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&sn.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&sn.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&sn.actions.setNoCustom(this.noCustom),t.has("editorMode")&&sn.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&sn.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&sn.actions.setSession(this.session),t.has("availableUiLocales")&&sn.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>hn.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()))))}}pn.elementDefinitions={},pn.styles=an,dn([U()],pn.prototype,"baseUrl",void 0),dn([U()],pn.prototype,"apiIntegrationIdentifier",void 0),dn([U()],pn.prototype,"uiLocale",void 0),dn([k([])],pn.prototype,"availableUiLocales",void 0),dn([U({type:Boolean})],pn.prototype,"editorMode",void 0),dn([U({type:Boolean})],pn.prototype,"noCustom",void 0),dn([U({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],pn.prototype,"noCustomComponent",void 0),dn([U({type:Boolean})],pn.prototype,"withManualResources",void 0),dn([k([])],pn.prototype,"messageContexts",void 0),dn([k(void 0)],pn.prototype,"session",void 0),dn([U({type:Object})],pn.prototype,"apiProvider",void 0);class yn{async listMySearches(){var t;return(null===(t=sn.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await cn.await()).listMySearches(sn.getState().session.profile.userId):[]}}const bn=new e;class gn{async listMyBookmarks(){return bn.get("bookmarks",(async()=>(await cn.await()).listMyBookmarks(sn.getState().session.profile.userId)))}clearCache(){bn.clear("bookmarks")}}const mn=Ae.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=sn.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new gn,sn.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=sn.getState();L(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){mn.actions.savedSearches(void 0)}clearMyBookmarks(){mn.actions.bookmarks(void 0)}async reloadMySearches(){const t=new yn,o=await t.listMySearches();mn.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;mn.actions.bookmarks(o)}}},A("ft-app-context")(pn);class On extends Event{constructor(){super(On.eventName)}}On.eventName="search-context-clear-all-filters";var vn=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 wn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Nn=Symbol("registerInterval");class Sn 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[Nn]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Nn]):this.dispatchEvent(new wn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Nn,vn([I()],r.prototype,"stateManager",void 0),r}(Do)){}const En=Nt`
107
123
  a {
108
124
  color: inherit;
109
125
  text-decoration: inherit;
110
126
  }
111
- `;var Oe=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(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 Ne extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class we extends It{constructor(){super(...arguments),this.index=0,this.registeredComponents=[]}render(){return X`
127
+ `;var Cn=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 Rn extends CustomEvent{constructor(t,o){super("ft-search-result-click",{detail:{result:t,rank:o},bubbles:!0,composed:!0})}}class xn extends Ko{constructor(){super(...arguments),this.index=0,this.registeredComponents=[]}render(){return no`
112
128
  <a href="${this.url}" @click=${this.onResultClick}>
113
129
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
114
130
  </a>
115
- `}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case Jr.MAP:return this.result.map.readerUrl;case Jr.DOCUMENT:return this.result.document.viewerUrl;case Jr.TOPIC:return this.result.topic.readerUrl}return""}onResultClick(){this.dispatchEvent(new Ne(this.result,this.index+1))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.registeredComponents.push(t),t.result=this.result}update(t){super.update(t),t.has("result")&&this.registeredComponents.forEach((t=>t.result=this.result))}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}we.elementDefinitions={},we.styles=ve,Oe([a({attribute:!1})],we.prototype,"result",void 0),Oe([a()],we.prototype,"index",void 0),f("ft-search-result-context")(we);var Se=function(t,o,r,e){for(var n,i=arguments.length,a=i<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,c=t.length-1;c>=0;c--)(n=t[c])&&(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 Ee extends me{constructor(){super(...arguments),this.clusterPolicy="display-first-result",this.renderResult=()=>X`
116
- `}render(){var t;return Tr((null!==(t=this.results)&&void 0!==t?t:[]).flatMap((t=>"display-first-result"==this.clusterPolicy?[t.entries[0]]:t.entries)),(t=>{var o,r,e,n,i;return null!==(n=null!==(r=null===(o=t.document)||void 0===o?void 0:o.documentId)&&void 0!==r?r:null===(e=t.map)||void 0===e?void 0:e.mapId)&&void 0!==n?n:null===(i=t.topic)||void 0===i?void 0:i.tocId}),((t,o)=>X`
131
+ `}get url(){var t;switch(null===(t=this.result)||void 0===t?void 0:t.type){case rn.MAP:return this.result.map.readerUrl;case rn.DOCUMENT:return this.result.document.viewerUrl;case rn.TOPIC:return this.result.topic.readerUrl}return""}onResultClick(){this.dispatchEvent(new Rn(this.result,this.index+1))}registerComponent(t){t.stopPropagation();const o=t.composedPath()[0];this.register(o)}register(t){this.registeredComponents.push(t),t.result=this.result}update(t){super.update(t),t.has("result")&&this.registeredComponents.forEach((t=>t.result=this.result))}disconnectedCallback(){super.disconnectedCallback(),this.registeredComponents=[]}}xn.elementDefinitions={},xn.styles=En,Cn([U({attribute:!1})],xn.prototype,"result",void 0),Cn([U()],xn.prototype,"index",void 0),A("ft-search-result-context")(xn);var Un=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 In extends Sn{constructor(){super(...arguments),this.clusterPolicy="display-first-result",this.renderResult=()=>no`
132
+ `}render(){var t;return De((null!==(t=this.results)&&void 0!==t?t:[]).flatMap((t=>"display-first-result"==this.clusterPolicy?[t.entries[0]]:t.entries)),(t=>{var o,r,e,n,i;return null!==(n=null!==(r=null===(o=t.document)||void 0===o?void 0:o.documentId)&&void 0!==r?r:null===(e=t.map)||void 0===e?void 0:e.mapId)&&void 0!==n?n:null===(i=t.topic)||void 0===i?void 0:i.tocId}),((t,o)=>no`
117
133
  <ft-search-result-context .result=${t} index="${o}">
118
134
  ${this.renderResult(t,o)}
119
135
  </ft-search-result-context>
120
- `))}}Ee.styles=Pr,Se([a({type:String,attribute:"cluster-policy"})],Ee.prototype,"clusterPolicy",void 0),Se([a({attribute:!1})],Ee.prototype,"renderResult",void 0),Se([(t=>{const o=null!=t?t:{};return(t,r)=>{var e;const n={hasChanged:(t,o)=>!l(t,o),attribute:!1,...o};a(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})}})()],Ee.prototype,"results",void 0),f("ft-search-results")(Ee),t.FtSearchResults=Ee,t.FtSearchResultsCssVariables={},t.styles=Pr}({});
136
+ `))}}In.styles=$e,Un([U({type:String,attribute:"cluster-policy"})],In.prototype,"clusterPolicy",void 0),Un([U({attribute:!1})],In.prototype,"renderResult",void 0),Un([(t=>{const o=null!=t?t:{};return(t,r)=>{var e;const n={hasChanged:(t,o)=>!L(t,o),attribute:!1,...o};U(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})}})()],In.prototype,"results",void 0),A("ft-search-results")(In),t.FtSearchResults=In,t.FtSearchResultsCssVariables={},t.styles=$e}({});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-search-results",
3
- "version": "1.0.63",
3
+ "version": "1.1.0",
4
4
  "description": "Search result list for integrated search component",
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-search-result-context": "1.0.63",
23
- "@fluid-topics/ft-wc-utils": "1.0.63",
24
- "lit": "2.7.2"
22
+ "@fluid-topics/ft-search-result-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
  }