@fluid-topics/ft-copy-block 1.1.41 → 1.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,86 +12,136 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=e.call(r,t);f||(f=p(t),o.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},p=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=f(e)||window.customElements,i=r._getDefinition(o);return i?d(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},u=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):u(e)},d=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){u(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(os){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}class o extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class e extends Promise{constructor(t){super(((e,r)=>t((t=>{this.isCanceled?r(new o("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?r(new o("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof e&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,r){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new e(((o,e)=>t.then(o).catch(e))))(o());return this.content[t]=i,i.then((o=>(this.content[t]=o,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){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(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=o.call(r,t);f||(f=p(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),l=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(zl){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const n=globalThis,a=n.ShadowRoot&&(void 0===n.ShadyCSS||n.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),l=new WeakMap;const c=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(a&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=l.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&l.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,s),f=a?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return c(o)})(t):t
20
+ */const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=i.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&i.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
21
21
  /**
22
22
  * @license
23
23
  * Copyright 2017 Google LLC
24
24
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:p,defineProperty:h,getOwnPropertyDescriptor:u,getOwnPropertyNames:d,getOwnPropertySymbols:y,getPrototypeOf:g}=Object,b=globalThis,m=b.trustedTypes,v=m?m.emptyScript:"",x=b.reactiveElementPolyfillSupport,O=(t,o)=>t,w={toAttribute(t,o){switch(o){case Boolean:t=t?v:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},S=(t,o)=>!p(t,o),N={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S};Symbol.metadata??=Symbol("metadata"),b.litPropertyMetadata??=new WeakMap;let C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=N){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&h(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=u(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??N}static _$Ei(){if(this.hasOwnProperty(O("elementProperties")))return;const t=g(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(O("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(O("properties"))){const t=this.properties,o=[...d(t),...y(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(f(t))}else void 0!==t&&o.push(f(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(a)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=n.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:w).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??S)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[O("elementProperties")]=new Map,C[O("finalized")]=new Map,x?.({ReactiveElement:C}),(b.reactiveElementVersions??=[]).push("2.0.2");
25
+ */,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:h}=Object,u=globalThis,d=u.trustedTypes,y=d?d.emptyScript:"",g=u.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!s(t,e),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let O=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...f(t),...p(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(o)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of r){const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,g?.({ReactiveElement:O}),(u.reactiveElementVersions??=[]).push("2.0.2");
26
26
  /**
27
27
  * @license
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const E={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S},$=(t=E,o,e)=>{const{kind:r,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,t),"accessor"===r){const{name:r}=e;return{set(e){const i=o.get.call(this);o.set.call(this,e),this.requestUpdate(r,i,t)},init(o){return void 0!==o&&this.C(r,void 0,t),o}}}if("setter"===r){const{name:r}=e;return function(e){const i=this[r];o.call(this,e),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};function R(t){return(o,e)=>"object"==typeof e?$(t,o,e):((t,o,e)=>{const r=o.hasOwnProperty(e);return o.constructor.createProperty(e,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
31
+ const w=globalThis,S=w.trustedTypes,N=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,R=`<${$}>`,k=document,I=()=>k.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,W=t=>U(t)||"function"==typeof t?.[Symbol.iterator],A="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,j=/-->/g,_=/>/g,B=RegExp(`>|${A}(?:([^\\s"'>=/]+)(${A}*=${A}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),z=/'/g,M=/"/g,P=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),D=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),H=new WeakMap,T=k.createTreeWalker(k,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=F;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===F?"!--"===l[1]?a=j:void 0!==l[1]?a=_:void 0!==l[2]?(P.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=B):void 0!==l[3]&&(a=B):a===B?">"===l[0]?(a=i??F,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?B:'"'===l[3]?M:z):a===M||a===z?a=B:a===j||a===_?a=F:(a=B,i=void 0);const p=a===B&&t[e+1].startsWith("/>")?" ":"";n+=a===F?o+R:c>=0?(r.push(s),o.slice(0,c)+C+o.slice(c)+E+p):o+E+(-2===c?e:p)}return[G(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let q=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=V(e,o);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(C)){const e=f[a++],o=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?tt:"?"===r[1]?et:"@"===r[1]?ot:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(P.test(i.tagName)){const t=i.textContent.split(E),e=t.length-1;if(e>0){i.textContent=S?S.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],I()),T.nextNode(),l.push({type:2,index:++n});i.append(t[e],I())}}}else if(8===i.nodeType)if(i.data===$)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)l.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const o=k.createElement("template");return o.innerHTML=t,o}};function Y(t,e,o=t,r){if(e===D)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=L(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=Y(t,i._$AS(t,e.values),i,r)),e}let J=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??k).importNode(e,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new X(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new rt(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=T.nextNode(),n++)}return T.currentNode=k,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),L(t)?t===Z||null==t||""===t?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==D&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):W(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Z&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(k.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(G(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new J(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new q(t)),e}T(e){U(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(I()),this.k(I()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=Z}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==D,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=Y(this,r[o+a],e,a),s===D&&(s=this._$AH[a]),n||=!L(s)||s!==this._$AH[a],s===Z?t=Z:t!==Z&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Z?void 0:t}},et=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Z)}},ot=class extends Q{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??Z)===D)return;const o=this._$AH,r=t===Z&&o!==Z||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==Z&&(o===Z||r);r&&this.element.removeEventListener(this.name,this,o),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const it={j:C,P:E,A:$,C:1,M:V,L:J,R:W,V:Y,D:X,I:Q,H:et,N:ot,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
32
+ /**
33
+ * @license
34
+ * Copyright 2019 Google LLC
35
+ * SPDX-License-Identifier: BSD-3-Clause
36
+ */
37
+ const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lt=Symbol(),ct=new WeakMap;let ft=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==lt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(st&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ct.set(e,t))}return t}toString(){return this.cssText}};const pt=t=>new ft("string"==typeof t?t:t+"",void 0,lt),ht=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new ft(o,t,lt)},ut=(t,e)=>{if(st)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=at.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}},dt=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return pt(e)})(t):t
32
38
  /**
33
39
  * @license
34
40
  * Copyright 2017 Google LLC
35
41
  * SPDX-License-Identifier: BSD-3-Clause
36
- */}function U(t){return R({...t,state:!0,attribute:!1})}
42
+ */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Nt=Ot.reactiveElementPolyfillSupport,Ct=(t,e)=>t,Et={toAttribute(t,e){switch(e){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},$t=(t,e)=>!yt(t,e),Rt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let kt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Rt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Rt}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){const t=this.properties,e=[...mt(t),...vt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(dt(t))}else void 0!==t&&e.push(dt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ut(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:Et).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??$t)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};kt.elementStyles=[],kt.shadowRootOptions={mode:"open"},kt[Ct("elementProperties")]=new Map,kt[Ct("finalized")]=new Map,Nt?.({ReactiveElement:kt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
37
43
  /**
38
44
  * @license
39
45
  * Copyright 2017 Google LLC
40
46
  * SPDX-License-Identifier: BSD-3-Clause
41
- */function I(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
47
+ */
48
+ const It=globalThis,Lt=It.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",At=`lit$${(Math.random()+"").slice(9)}$`,Ft="?"+At,jt=`<${Ft}>`,_t=document,Bt=()=>_t.createComment(""),zt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Mt=Array.isArray,Pt=t=>Mt(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",Dt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ee=new WeakMap,oe=_t.createTreeWalker(_t,129);function re(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(e):e}const ie=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Dt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===Dt?"!--"===l[1]?a=Zt:void 0!==l[1]?a=Ht:void 0!==l[2]?(qt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Tt):void 0!==l[3]&&(a=Tt):a===Tt?">"===l[0]?(a=i??Dt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Tt:'"'===l[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Zt||a===Ht?a=Dt:(a=Tt,i=void 0);const p=a===Tt&&t[e+1].startsWith("/>")?" ":"";n+=a===Dt?o+jt:c>=0?(r.push(s),o.slice(0,c)+Wt+o.slice(c)+At+p):o+At+(-2===c?e:p)}return[re(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class ne{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ie(t,e);if(this.el=ne.createElement(l,o),oe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oe.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Wt)){const e=c[n++],o=r.getAttribute(t).split(At),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?fe:"?"===a[1]?pe:"@"===a[1]?he:ce}),r.removeAttribute(t)}else t.startsWith(At)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(At),e=t.length-1;if(e>0){r.textContent=Lt?Lt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Bt()),oe.nextNode(),s.push({type:2,index:++i});r.append(t[e],Bt())}}}else if(8===r.nodeType)if(r.data===Ft)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(At,t+1));)s.push({type:7,index:i}),t+=At.length-1}i++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function ae(t,e,o=t,r){if(e===Qt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=zt(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=ae(t,i._$AS(t,e.values),i,r)),e}let se=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??_t).importNode(e,!0);oe.currentNode=r;let i=oe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new le(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new ue(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=oe.nextNode(),n++)}return oe.currentNode=_t,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},le=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ae(this,t,e),zt(t)?t===te||null==t||""===t?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Pt(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!==te&&zt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ne.createElement(re(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new se(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ee.get(t.strings);return void 0===e&&ee.set(t.strings,e=new ne(t)),e}T(e){Mt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(Bt()),this.k(Bt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=te}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=ae(this,t,e,0),n=!zt(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ae(this,r[o+a],e,a),s===Qt&&(s=this._$AH[a]),n||=!zt(s)||s!==this._$AH[a],s===te?t=te:t!==te&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fe=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},pe=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},he=class extends ce{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ae(this,t,e,0)??te)===Qt)return;const o=this._$AH,r=t===te&&o!==te||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==te&&(o===te||r);r&&this.element.removeEventListener(this.name,this,o),i&&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)}},ue=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}};const de={j:Wt,P:At,A:Ft,C:1,M:ie,L:se,R:Pt,V:ae,D:le,I:ce,H:pe,N:he,U:fe,B:ue},ye=It.litHtmlPolyfillSupport;ye?.(ne,le),(It.litHtmlVersions??=[]).push("3.1.0");const ge=(t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new le(e.insertBefore(Bt(),t),t,void 0,o??{})}return i._$AI(t),i
42
49
  /**
43
50
  * @license
44
51
  * Copyright 2017 Google LLC
45
52
  * SPDX-License-Identifier: BSD-3-Clause
46
- */const k=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
53
+ */};let be=class extends kt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ge(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be});(globalThis.litElementVersions??=[]).push("4.0.2");var ve=Object.freeze({__proto__:null,CSSResult:ft,LitElement:be,ReactiveElement:kt,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:de,adoptStyles:ut,css:ht,defaultConverter:Et,getCompatibleStyle:dt,html:Jt,isServer:!1,noChange:Qt,notEqual:$t,nothing:te,render:ge,supportsAdoptingStyleSheets:st,svg:Xt,unsafeCSS:pt});
47
54
  /**
48
55
  * @license
49
56
  * Copyright 2017 Google LLC
50
57
  * SPDX-License-Identifier: BSD-3-Clause
51
- */;function W(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return k(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return k(0,0,{get(){return n(this)}})}}
58
+ */const xe={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},Oe=(t=xe,e,o)=>{const{kind:r,metadata:i}=o;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};
52
59
  /**
53
60
  * @license
54
61
  * Copyright 2017 Google LLC
55
62
  * SPDX-License-Identifier: BSD-3-Clause
56
- */function L(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!L(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!L(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!L(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const K=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function A(t,o){const e=()=>JSON.parse(JSON.stringify(t));return R({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!L(t,o),...null!=o?o:{}})}
63
+ */function we(t){return(e,o)=>"object"==typeof o?Oe(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
57
64
  /**
58
65
  * @license
59
66
  * Copyright 2017 Google LLC
60
67
  * SPDX-License-Identifier: BSD-3-Clause
61
- */const j=globalThis,F=j.trustedTypes,z=F?F.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",M=`lit$${(Math.random()+"").slice(9)}$`,P="?"+M,D=`<${P}>`,B=document,H=()=>B.createComment(""),T=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_=Array.isArray,G="[ \t\n\f\r]",V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,q=/>/g,J=RegExp(`>|${G}(?:([^\\s"'>=/]+)(${G}*=${G}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,Q=/"/g,tt=/^(?:script|style|textarea|title)$/i,ot=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),et=Symbol.for("lit-noChange"),rt=Symbol.for("lit-nothing"),it=new WeakMap,nt=B.createTreeWalker(B,129);function at(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(o):o}let st=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,f]=((t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=V;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===V?"!--"===l[1]?a=Y:void 0!==l[1]?a=q:void 0!==l[2]?(tt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=J):void 0!==l[3]&&(a=J):a===J?">"===l[0]?(a=i??V,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?J:'"'===l[3]?Q:X):a===Q||a===X?a=J:a===Y||a===q?a=V:(a=J,i=void 0);const p=a===J&&t[o+1].startsWith("/>")?" ":"";n+=a===V?e+D:c>=0?(r.push(s),e.slice(0,c)+Z+e.slice(c)+M+p):e+M+(-2===c?o:p)}return[at(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(o,e);if(this.el=t.createElement(c,r),nt.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=nt.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Z)){const o=f[a++],e=i.getAttribute(t).split(M),r=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?pt:"?"===r[1]?ht:"@"===r[1]?ut:ft}),i.removeAttribute(t)}else t.startsWith(M)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(tt.test(i.tagName)){const t=i.textContent.split(M),o=t.length-1;if(o>0){i.textContent=F?F.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],H()),nt.nextNode(),l.push({type:2,index:++n});i.append(t[o],H())}}}else if(8===i.nodeType)if(i.data===P)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(M,t+1));)l.push({type:7,index:n}),t+=M.length-1}n++}}static createElement(t,o){const e=B.createElement("template");return e.innerHTML=t,e}};function lt(t,o,e=t,r){if(o===et)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=T(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=lt(t,i._$AS(t,o.values),i,r)),o}let ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=rt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=lt(this,t,o),T(t)?t===rt||null==t||""===t?(this._$AH!==rt&&this._$AR(),this._$AH=rt):t!==this._$AH&&t!==et&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_(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!==rt&&T(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=st.createElement(at(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??B).importNode(o,!0);nt.currentNode=r;let i=nt.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new ct(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[++a]}n!==s?.index&&(i=nt.nextNode(),n++)}return nt.currentNode=B,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=it.get(t.strings);return void 0===o&&it.set(t.strings,o=new st(t)),o}T(o){_(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(H()),this.k(H()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ft=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=rt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=rt}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=lt(this,t,o,0),n=!T(t)||t!==this._$AH&&t!==et,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=lt(this,r[e+a],o,a),s===et&&(s=this._$AH[a]),n||=!T(s)||s!==this._$AH[a],s===rt?t=rt:t!==rt&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===rt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends ft{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===rt?void 0:t}},ht=class extends ft{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==rt)}},ut=class extends ft{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=lt(this,t,o,0)??rt)===et)return;const e=this._$AH,r=t===rt&&e!==rt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==rt&&(e===rt||r);r&&this.element.removeEventListener(this.name,this,e),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},dt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){lt(this,t)}};const yt=j.litHtmlPolyfillSupport;yt?.(st,ct),(j.litHtmlVersions??=[]).push("3.1.0");
68
+ */}function Se(t){return we({...t,state:!0,attribute:!1})}
62
69
  /**
63
70
  * @license
64
- * Copyright 2019 Google LLC
71
+ * Copyright 2017 Google LLC
65
72
  * SPDX-License-Identifier: BSD-3-Clause
66
- */
67
- const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),vt=new WeakMap;let xt=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==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(bt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=vt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&vt.set(o,t))}return t}toString(){return this.cssText}};const Ot=t=>new xt("string"==typeof t?t:t+"",void 0,mt),wt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new xt(e,t,mt)},St=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Ot(o)})(t):t
73
+ */function Ne(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}}
74
+ /**
75
+ * @license
76
+ * Copyright 2017 Google LLC
77
+ * SPDX-License-Identifier: BSD-3-Clause
78
+ */const Ce=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
79
+ /**
80
+ * @license
81
+ * Copyright 2017 Google LLC
82
+ * SPDX-License-Identifier: BSD-3-Clause
83
+ */;function Ee(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Ce(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return Ce(0,0,{get(){return n(this)}})}}
68
84
  /**
69
85
  * @license
70
86
  * Copyright 2017 Google LLC
71
87
  * SPDX-License-Identifier: BSD-3-Clause
72
- */,{is:Nt,defineProperty:Ct,getOwnPropertyDescriptor:Et,getOwnPropertyNames:$t,getOwnPropertySymbols:Rt,getPrototypeOf:Ut}=Object,It=globalThis,kt=It.trustedTypes,Wt=kt?kt.emptyScript:"",Lt=It.reactiveElementPolyfillSupport,Kt=(t,o)=>t,At={toAttribute(t,o){switch(o){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},jt=(t,o)=>!Nt(t,o),Ft={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:jt};Symbol.metadata??=Symbol("metadata"),It.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=Ft){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Ct(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Et(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ft}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Ut(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=[...$t(t),...Rt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(St(t))}else void 0!==t&&o.push(St(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(bt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=gt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:At).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:At;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??jt)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[Kt("elementProperties")]=new Map,zt[Kt("finalized")]=new Map,Lt?.({ReactiveElement:zt}),(It.reactiveElementVersions??=[]).push("2.0.2");
88
+ */let $e;
73
89
  /**
74
90
  * @license
75
91
  * Copyright 2017 Google LLC
76
92
  * SPDX-License-Identifier: BSD-3-Clause
77
93
  */
78
- const Zt=globalThis,Mt=Zt.trustedTypes,Pt=Mt?Mt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Dt="$lit$",Bt=`lit$${(Math.random()+"").slice(9)}$`,Ht="?"+Bt,Tt=`<${Ht}>`,_t=document,Gt=()=>_t.createComment(""),Vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,qt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Qt=/>/g,to=RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oo=/'/g,eo=/"/g,ro=/^(?:script|style|textarea|title)$/i,io=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),no=Symbol.for("lit-noChange"),ao=Symbol.for("lit-nothing"),so=new WeakMap,lo=_t.createTreeWalker(_t,129);function co(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(o):o}class fo{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=((t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=Jt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===Jt?"!--"===l[1]?a=Xt:void 0!==l[1]?a=Qt:void 0!==l[2]?(ro.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=to):void 0!==l[3]&&(a=to):a===to?">"===l[0]?(a=i??Jt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?to:'"'===l[3]?eo:oo):a===eo||a===oo?a=to:a===Xt||a===Qt?a=Jt:(a=to,i=void 0);const p=a===to&&t[o+1].startsWith("/>")?" ":"";n+=a===Jt?e+Tt:c>=0?(r.push(s),e.slice(0,c)+Dt+e.slice(c)+Bt+p):e+Bt+(-2===c?o:p)}return[co(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]})(t,o);if(this.el=fo.createElement(l,e),lo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=lo.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Dt)){const o=c[n++],e=r.getAttribute(t).split(Bt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?yo:"?"===a[1]?go:"@"===a[1]?bo:uo}),r.removeAttribute(t)}else t.startsWith(Bt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(ro.test(r.tagName)){const t=r.textContent.split(Bt),o=t.length-1;if(o>0){r.textContent=Mt?Mt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Gt()),lo.nextNode(),s.push({type:2,index:++i});r.append(t[o],Gt())}}}else if(8===r.nodeType)if(r.data===Ht)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Bt,t+1));)s.push({type:7,index:i}),t+=Bt.length-1}i++}}static createElement(t,o){const e=_t.createElement("template");return e.innerHTML=t,e}}function po(t,o,e=t,r){if(o===no)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Vt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=po(t,i._$AS(t,o.values),i,r)),o}let ho=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=ao,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=po(this,t,o),Vt(t)?t===ao||null==t||""===t?(this._$AH!==ao&&this._$AR(),this._$AH=ao):t!==this._$AH&&t!==no&&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&&Vt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=fo.createElement(co(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??_t).importNode(o,!0);lo.currentNode=r;let i=lo.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new ho(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new mo(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=lo.nextNode(),n++)}return lo.currentNode=_t,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=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 e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(Gt()),this.k(Gt()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$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))}},uo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=ao,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ao}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=po(this,t,o,0),n=!Vt(t)||t!==this._$AH&&t!==no,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=po(this,r[e+a],o,a),s===no&&(s=this._$AH[a]),n||=!Vt(s)||s!==this._$AH[a],s===ao?t=ao:t!==ao&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ao?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},yo=class extends uo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ao?void 0:t}},go=class extends uo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ao)}},bo=class extends uo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=po(this,t,o,0)??ao)===no)return;const e=this._$AH,r=t===ao&&e!==ao||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==ao&&(e===ao||r);r&&this.element.removeEventListener(this.name,this,e),i&&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,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){po(this,t)}};const vo=Zt.litHtmlPolyfillSupport;vo?.(fo,ho),(Zt.litHtmlVersions??=[]).push("3.1.0");
94
+ function Re(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}var ke=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:Ne,property:we,query:Ee,queryAll:function(t){return(e,o)=>Ce(0,0,{get(){return(this.renderRoot??($e??=document.createDocumentFragment())).querySelectorAll(t)}})
79
95
  /**
80
96
  * @license
81
97
  * Copyright 2017 Google LLC
82
98
  * SPDX-License-Identifier: BSD-3-Clause
99
+ */},queryAssignedElements:
100
+ /**
101
+ * @license
102
+ * Copyright 2021 Google LLC
103
+ * SPDX-License-Identifier: BSD-3-Clause
83
104
  */
84
- let xo=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,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new ho(o.insertBefore(Gt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return no}};xo._$litElement$=!0,xo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:xo});const Oo=globalThis.litElementPolyfillSupport;Oo?.({LitElement:xo}),(globalThis.litElementVersions??=[]).push("4.0.2");const wo=t=>"string"==typeof t?Ot(t):t;class So{static create(t,o,e,r){const i=t=>wo(null!=t?t:r),n=wt`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>wt`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=wt`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>wt`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):wo(null!=o?o:t.lastResortDefaultValue()),r=wt`var(${wo(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>wt`var(${wo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function No(t,o){return wo(`${t.name}: ${o}`)}const Co={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"),shadowElevation01:So.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:So.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:So.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:So.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:So.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:So.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:So.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:So.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:So.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Eo={display:{fontFamily:So.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:So.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:So.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:So.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:So.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:So.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:So.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:So.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:So.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:So.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:So.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:So.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:So.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:So.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:So.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:So.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:So.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:So.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:So.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:So.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:So.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:So.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:So.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:So.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:So.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:So.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:So.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:So.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:So.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:So.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:So.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:So.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:So.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:So.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:So.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},$o={backgroundActionPrimary:So.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Co.colorBrand0),backgroundErrorPrimary:So.extend("--ft-background-error-primary","Used as background of error components.",Co.colorRed0),backgroundErrorSubtle:So.extend("--ft-background-error-subtle","Used as background of subtle error components.",Co.colorRed10),backgroundInfoPrimary:So.extend("--ft-background-info-primary","Used as background of information components.",Co.colorCyan200),backgroundInfoSubtle:So.extend("--ft-background-info-subtle","Used as background of subtle information components.",Co.colorCyan10),backgroundWarningPrimary:So.extend("--ft-background-warning-primary","Used as background of warning components.",Co.colorOrange300),backgroundWarningSubtle:So.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Co.colorOrange10),backgroundSuccessPrimary:So.extend("--ft-background-success-primary","Used as background of success components.",Co.colorGreen200),backgroundSuccessSubtle:So.extend("--ft-background-success-subtle","Used as background of subtle success components.",Co.colorGreen10),backgroundGlobalSurface:So.extend("--ft-background-global-surface","Used as app background.",Co.colorWhite),backgroundGlobalOnSurface:So.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Co.colorGray10),backgroundGlobalOnSurfaceDark:So.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Co.colorGray30),contentActionPrimary:So.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Co.colorBrand0),contentWarningPrimary:So.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Co.colorOrange300),contentWarningIconOnly:So.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Co.colorOrange0),contentErrorPrimary:So.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Co.colorRed0),contentErrorIconOnly:So.extend("--ft-content-error-icon-only","Used on error status icons alone",Co.colorRed0),contentInfoPrimary:So.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Co.colorCyan200),contentInfoIconOnly:So.extend("--ft-content-info-icon-only","Used on info status icons alone",Co.colorCyan0),contentSuccessPrimary:So.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Co.colorGreen200),contentSuccessIconOnly:So.extend("--ft-content-success-icon-only","Used on success status icons alone",Co.colorGreen0),contentGlobalPrimary:So.extend("--ft-content-global-primary","Used for main content on the page.",Co.colorGray500),contentGlobalSecondary:So.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Co.colorGray200),contentGlobalSubtle:So.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Co.colorGray0),contentGlobalOnColor:So.extend("--ft-content-global-on-color","Used for content on a dominant color.",Co.colorWhite),borderActionPrimary:So.extend("--ft-border-action-primary","Used as border for primary action components.",Co.colorBrand0),borderActionFocusRing:So.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Co.colorCyan0),borderWarningPrimary:So.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Co.colorOrange300),borderWarningSubtle:So.extend("--ft-border-warning-subtle","Used as border for warning components.",Co.colorOrange30),borderSuccessPrimary:So.extend("--ft-border-success-primary","Used as border for success buttons.",Co.colorGreen200),borderSuccessSubtle:So.extend("--ft-border-success-subtle","Used as border for success components.",Co.colorGreen30),borderErrorPrimary:So.extend("--ft-border-error-primary","Used as border for text fields in error states.",Co.colorRed0),borderErrorSubtle:So.extend("--ft-border-error-subtle","Used as border for error components.",Co.colorRed30),borderInfoPrimary:So.extend("--ft-border-info-primary","Used as border for buttons in info color.",Co.colorCyan200),borderInfoSubtle:So.extend("--ft-border-info-subtle","Used as border for information components.",Co.colorCyan30),borderGlobalPrimary:So.extend("--ft-border-global-primary","Used as border for element like input.",Co.colorGray50),borderGlobalSubtle:So.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Co.colorGray30),borderInputPrimary:So.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Co.colorGray80)},Ro={largeHeight:So.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:So.extend("--ft-button-large-horizontal-padding","",Co.spacing4),largeGap:So.extend("--ft-button-large-gap","",Co.spacing2),largeBorderRadius:So.extend("--ft-button-large-border-radius","",Co.borderRadiusS),largeIconSize:So.extend("--ft-button-large-icon-size","",Co.iconSize3),largeBorderWidth:So.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:So.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:So.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:So.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:So.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:So.extend("--ft-button-small-horizontal-padding","",Co.spacing3),smallGap:So.extend("--ft-button-small-gap","",Co.spacing2),smallBorderRadius:So.extend("--ft-button-small-border-radius","",Co.borderRadiusS),smallIconSize:So.extend("--ft-button-small-icon-size","",Co.iconSize2),smallBorderWidth:So.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:So.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:So.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:So.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:So.extend("--ft-button-primary-background-color","",$o.backgroundActionPrimary),primaryColor:So.extend("--ft-button-primary-color","",$o.contentGlobalOnColor),primaryIconColor:So.extend("--ft-button-primary-icon-color","",$o.contentGlobalOnColor),primaryStateLayerColor:So.extend("--ft-button-primary-state-layer-color","",$o.contentGlobalOnColor),primaryStateLayerOpacityHover:So.extend("--ft-button-primary-state-layer-opacity-hover","",Co.opacity16),primaryStateLayerOpacityFocus:So.extend("--ft-button-primary-state-layer-opacity-focus","",Co.opacity16),primaryStateLayerOpacityActive:So.extend("--ft-button-primary-state-layer-opacity-active","",Co.opacity24),primaryComponentOpacityDisabled:So.extend("--ft-button-primary-component-opacity-disabled","",Co.opacity40),focusFocusRingColor:So.extend("--ft-button-focus-focus-ring-color","",$o.borderActionFocusRing),tertiaryBackgroundColor:So.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:So.extend("--ft-button-tertiary-color","",$o.contentActionPrimary),tertiaryIconColor:So.extend("--ft-button-tertiary-icon-color","",$o.contentActionPrimary),tertiaryStateLayerColor:So.extend("--ft-button-tertiary-state-layer-color","",$o.contentActionPrimary),tertiaryStateLayerOpacityHover:So.extend("--ft-button-tertiary-state-layer-opacity-hover","",Co.opacity8),tertiaryStateLayerOpacityFocus:So.extend("--ft-button-tertiary-state-layer-opacity-focus","",Co.opacity8),tertiaryStateLayerOpacityActive:So.extend("--ft-button-tertiary-state-layer-opacity-active","",Co.opacity16),tertiaryComponentOpacityDisabled:So.extend("--ft-button-tertiary-component-opacity-disabled","",Co.opacity40),secondaryBackgroundColor:So.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:So.extend("--ft-button-secondary-color","",$o.contentActionPrimary),secondaryIconColor:So.extend("--ft-button-secondary-icon-color","",$o.contentActionPrimary),secondaryStateLayerColor:So.extend("--ft-button-secondary-state-layer-color","",$o.contentActionPrimary),secondaryStateLayerOpacityHover:So.extend("--ft-button-secondary-state-layer-opacity-hover","",Co.opacity8),secondaryStateLayerOpacityFocus:So.extend("--ft-button-secondary-state-layer-opacity-focus","",Co.opacity8),secondaryStateLayerOpacityActive:So.extend("--ft-button-secondary-state-layer-opacity-active","",Co.opacity16),secondaryComponentOpacityDisabled:So.extend("--ft-button-secondary-component-opacity-disabled","",Co.opacity40),secondaryBorderColor:So.extend("--ft-button-secondary-border-color","",$o.borderActionPrimary),neutralBackgroundColor:So.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:So.extend("--ft-button-neutral-icon-color","",$o.contentGlobalSecondary),neutralColor:So.extend("--ft-button-neutral-color","",$o.contentGlobalSecondary),neutralStateLayerColor:So.extend("--ft-button-neutral-state-layer-color","",$o.contentGlobalSecondary),neutralStateLayerOpacityHover:So.extend("--ft-button-neutral-state-layer-opacity-hover","",Co.opacity8),neutralStateLayerOpacityFocus:So.extend("--ft-button-neutral-state-layer-opacity-focus","",Co.opacity8),neutralStateLayerOpacityActive:So.extend("--ft-button-neutral-state-layer-opacity-active","",Co.opacity16),neutralComponentOpacityDisabled:So.extend("--ft-button-neutral-component-opacity-disabled","",Co.opacity40)};So.extend("--ft-floating-menu-horizontal-padding","",Co.spacing4),So.extend("--ft-floating-menu-vertical-padding","",Co.spacing4),So.extend("--ft-floating-menu-off-icon-color","",$o.contentGlobalPrimary),So.extend("--ft-floating-menu-off-color","",$o.contentGlobalPrimary),So.extend("--ft-floating-menu-on-color","",$o.contentActionPrimary),So.extend("--ft-floating-menu-on-icon-color","",$o.contentActionPrimary),So.extend("--ft-floating-menu-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-floating-menu-gap","",Co.spacing3),So.extend("--ft-floating-menu-focus-focus-ring-color","",$o.borderActionFocusRing),So.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),So.extend("--ft-floating-menu-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-floating-menu-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-floating-menu-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-floating-menu-component-opacity-disabled","",Co.opacity40),So.extend("--ft-floating-menu-icon-size","",Co.iconSize3),So.extend("--ft-floating-menu-background-color","",$o.backgroundGlobalOnSurface),So.extend("--ft-tabs-top-left-border-radius","",Co.borderRadiusS),So.extend("--ft-tabs-top-right-border-radius","",Co.borderRadiusS),So.extend("--ft-tabs-label-horizontal-padding","",Co.spacing4),So.extend("--ft-tabs-label-vertical-padding","",Co.spacing3),So.extend("--ft-tabs-label-gap","",Co.spacing1),So.extend("--ft-tabs-icon-horizontal-padding","",Co.spacing1),So.extend("--ft-tabs-icon-vertical-padding","",Co.spacing4),So.create("--ft-tabs-focus-outline-width","","SIZE","2px"),So.extend("--ft-tabs-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-tabs-off-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-tabs-off-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-tabs-off-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-tabs-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-tabs-off-color","",$o.contentGlobalSubtle),So.extend("--ft-tabs-off-state-layer-color","",$o.contentGlobalSubtle),So.extend("--ft-tabs-on-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-tabs-on-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-tabs-on-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-tabs-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-tabs-on-color","",$o.contentActionPrimary),So.extend("--ft-tabs-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-collapsible-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-collapsible-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-collapsible-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-collapsible-component-opacity-disabled","",Co.opacity40),So.extend("--ft-collapsible-horizontal-padding","",Co.spacing4),So.extend("--ft-collapsible-vertical-padding","",Co.spacing3),So.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),So.extend("--ft-collapsible-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-collapsible-color","",$o.contentGlobalPrimary),So.extend("--ft-collapsible-state-layer-color","",$o.contentGlobalPrimary),So.extend("--ft-collapsible-background-color","",$o.backgroundGlobalOnSurface),So.extend("--ft-collapsible-border-color","",$o.borderGlobalSubtle),So.extend("--ft-collapsible-icon-size","",Co.iconSize3),So.extend("--ft-switch-group-horizontal-padding","",Co.spacing1),So.extend("--ft-switch-group-vertical-padding","",Co.spacing1),So.extend("--ft-switch-group-gap","",Co.spacing1),So.extend("--ft-switch-group-background-color","",$o.backgroundGlobalSurface),So.extend("--ft-switch-group-border-color","",$o.borderGlobalSubtle),So.create("--ft-switch-group-border-radius","","SIZE","6px"),So.extend("--ft-switch-label-horizontal-padding","",Co.spacing2),So.extend("--ft-switch-label-vertical-padding","",Co.spacing1),So.extend("--ft-switch-icon-horizontal-padding","",Co.spacing1),So.extend("--ft-switch-icon-vertical-padding","",Co.spacing1),So.create("--ft-switch-focus-outline-width","","SIZE","2px"),So.extend("--ft-switch-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-switch-option-border-radius","",Co.borderRadiusS),So.extend("--ft-switch-off-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-switch-off-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-switch-off-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-switch-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-switch-off-color","",$o.contentGlobalSubtle),So.extend("--ft-switch-off-state-layer-color","",$o.contentGlobalSubtle),So.extend("--ft-switch-on-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-switch-on-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-switch-on-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-switch-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-switch-on-color","",$o.contentActionPrimary),So.extend("--ft-switch-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-chart-1-light","for area color charts",Co.colorBrand40),So.extend("--ft-chart-1-base","for line charts",Co.colorBrand0),So.extend("--ft-chart-2-light","for area color charts",Co.colorYellow60),So.extend("--ft-chart-2-base","for line charts",Co.colorYellow100),So.extend("--ft-chart-3-light","",Co.colorUltramarine40),So.extend("--ft-chart-3-base","",Co.colorUltramarine70),So.extend("--ft-chart-4-light","",Co.colorCyan50),So.extend("--ft-chart-4-base","",Co.colorCyan100),So.extend("--ft-chart-5-light","",Co.colorRed40),So.extend("--ft-chart-5-base","",Co.colorRed60),So.extend("--ft-chart-6-light","",Co.colorGreen40),So.extend("--ft-chart-6-base","",Co.colorGreen70),So.extend("--ft-chart-7-light","",Co.colorOrange70),So.extend("--ft-chart-7-base","",Co.colorOrange100),So.extend("--ft-chart-8-light","",Co.colorAvocado70),So.extend("--ft-chart-8-base","",Co.colorAvocado200),So.extend("--ft-chart-9-light","",Co.colorBrown50),So.extend("--ft-chart-9-base","",Co.colorBrown200),So.extend("--ft-chart-10-light","",Co.colorGray50),So.extend("--ft-chart-10-base","",Co.colorGray80),So.extend("--ft-chart-monochrome-10","",Co.colorBrand10),So.extend("--ft-chart-monochrome-20","",Co.colorBrand20),So.extend("--ft-chart-monochrome-30","",Co.colorBrand40),So.extend("--ft-chart-monochrome-40","",Co.colorBrand60),So.extend("--ft-chart-monochrome-50","",Co.colorBrand0),So.extend("--ft-chart-monochrome-60","",Co.colorBrand200),So.extend("--ft-chip-large-horizontal-padding","",Co.spacing4),So.extend("--ft-chip-large-vertical-padding","",Co.spacing2),So.extend("--ft-chip-large-gap","",Co.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","",Co.borderRadiusPill),So.create("--ft-chip-large-border-width","","SIZE","1px"),So.extend("--ft-chip-large-icon-size","",Co.iconSize3),So.extend("--ft-chip-medium-horizontal-padding","",Co.spacing3),So.extend("--ft-chip-medium-vertical-padding","",Co.spacing1),So.extend("--ft-chip-medium-gap","",Co.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","",Co.borderRadiusPill),So.create("--ft-chip-medium-border-width","","SIZE","1px"),So.extend("--ft-chip-medium-icon-size","",Co.iconSize2),So.extend("--ft-chip-small-horizontal-padding","",Co.spacing2),So.extend("--ft-chip-small-vertical-padding","",Co.spacing05),So.extend("--ft-chip-small-gap","",Co.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","",Co.borderRadiusPill),So.create("--ft-chip-small-border-width","","SIZE","1px"),So.extend("--ft-chip-small-icon-size","",Co.iconSize1),So.extend("--ft-chip-neutral-background-color","",$o.backgroundGlobalOnSurface),So.extend("--ft-chip-neutral-color","",$o.contentGlobalPrimary),So.extend("--ft-chip-neutral-border-color","",$o.borderGlobalSubtle),So.extend("--ft-chip-info-background-color","",$o.backgroundInfoSubtle),So.extend("--ft-chip-info-color","",$o.contentInfoPrimary),So.extend("--ft-chip-info-border-color","",$o.borderInfoSubtle),So.extend("--ft-chip-success-background-color","",$o.backgroundSuccessSubtle),So.extend("--ft-chip-success-color","",$o.contentSuccessPrimary),So.extend("--ft-chip-success-border-color","",$o.borderSuccessSubtle),So.extend("--ft-chip-warning-background-color","",$o.backgroundWarningSubtle),So.extend("--ft-chip-warning-color","",$o.contentWarningPrimary),So.extend("--ft-chip-warning-border-color","",$o.borderWarningSubtle),So.extend("--ft-chip-error-background-color","",$o.backgroundErrorSubtle),So.extend("--ft-chip-error-color","",$o.contentErrorPrimary),So.extend("--ft-chip-error-border-color","",$o.borderErrorSubtle),So.create("--ft-notice-border-width","","SIZE","1px"),So.extend("--ft-notice-horizontal-padding","",Co.spacing2),So.extend("--ft-notice-vertical-padding","",Co.spacing1),So.extend("--ft-notice-border-radius","",Co.borderRadiusS),So.extend("--ft-notice-gap","",Co.spacing2),So.extend("--ft-notice-icon-size","",Co.iconSize3),So.extend("--ft-notice-info-background-color","",$o.backgroundInfoSubtle),So.extend("--ft-notice-info-border-color","",$o.borderInfoSubtle),So.extend("--ft-notice-info-color","",$o.contentInfoPrimary),So.extend("--ft-notice-warning-background-color","",$o.backgroundWarningSubtle),So.extend("--ft-notice-warning-border-color","",$o.borderWarningSubtle),So.extend("--ft-notice-warning-color","",$o.contentWarningPrimary),So.extend("--ft-checkbox-label-color","",$o.contentGlobalPrimary),So.extend("--ft-checkbox-checked-background-color","",$o.contentActionPrimary),So.extend("--ft-checkbox-checked-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-checkbox-checked-color","",$o.contentGlobalOnColor),So.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-checkbox-checked-component-opacity-disabled","",Co.opacity40),So.extend("--ft-checkbox-unchecked-border-color","",Co.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-color","",Co.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Co.opacity40),So.extend("--ft-checkbox-focus-focus-ring-color","",$o.borderActionFocusRing),So.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),So.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),So.extend("--ft-checkbox-gap","",Co.spacing3),So.extend("--ft-toggle-off-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-toggle-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-toggle-off-background-color","",$o.contentGlobalSubtle),So.extend("--ft-toggle-off-icon-color","",$o.contentGlobalSubtle),So.extend("--ft-toggle-off-state-layer-color","",$o.contentGlobalSubtle),So.extend("--ft-toggle-on-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-toggle-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-toggle-on-background-color","",$o.contentActionPrimary),So.extend("--ft-toggle-on-icon-color","",$o.contentActionPrimary),So.extend("--ft-toggle-on-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-toggle-label-color","",$o.contentGlobalPrimary),So.extend("--ft-toggle-focus-focus-ring-color","",$o.borderActionFocusRing),So.extend("--ft-toggle-gap","",Co.spacing3),So.extend("--ft-radio-label-color","",$o.contentGlobalPrimary),So.extend("--ft-radio-selected-color","",$o.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-color","",$o.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-radio-selected-component-opacity-disabled","",Co.opacity40),So.extend("--ft-radio-unselected-state-layer-color","",Co.colorGray80),So.extend("--ft-radio-unselected-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-radio-unselected-component-opacity-disabled","",Co.opacity40),So.extend("--ft-radio-focus-focus-ring-color","",$o.borderActionFocusRing),So.create("--ft-radio-focus-outline-offset","","SIZE","3px"),So.create("--ft-radio-focus-outline-width","","SIZE","2px"),So.extend("--ft-radio-gap","",Co.spacing3),So.extend("--ft-notification-icon-size","",Co.iconSize4),So.extend("--ft-notification-horizontal-padding","",Co.spacing4),So.extend("--ft-notification-vertical-padding","",Co.spacing4),So.extend("--ft-notification-info-background-color","",$o.backgroundInfoSubtle),So.extend("--ft-notification-info-color","",$o.contentInfoPrimary),So.extend("--ft-notification-info-border-color","",$o.borderInfoSubtle),So.extend("--ft-notification-success-background-color","",$o.backgroundSuccessSubtle),So.extend("--ft-notification-success-color","",$o.contentSuccessPrimary),So.extend("--ft-notification-success-border-color","",$o.borderSuccessSubtle),So.extend("--ft-notification-warning-background-color","",$o.backgroundWarningSubtle),So.extend("--ft-notification-warning-color","",$o.contentWarningPrimary),So.extend("--ft-notification-warning-border-color","",$o.borderWarningSubtle),So.extend("--ft-notification-error-background-color","",$o.backgroundErrorSubtle),So.extend("--ft-notification-error-color","",$o.contentErrorPrimary),So.extend("--ft-notification-error-border-color","",$o.borderErrorSubtle),So.extend("--ft-notification-border-radius","",Co.borderRadiusPill),So.create("--ft-notification-border-width","","SIZE","1px"),So.extend("--ft-notification-gap-leading","",Co.spacing2),So.extend("--ft-notification-gap-trailing","",Co.spacing8),So.extend("--ft-tooltip-horizontal-padding","",Co.spacing2),So.extend("--ft-tooltip-vertical-padding","",Co.spacing2),So.extend("--ft-tooltip-border-radius","",Co.borderRadiusS),So.extend("--ft-tooltip-label","",$o.contentGlobalOnColor),So.extend("--ft-tooltip-background","",$o.contentGlobalPrimary),So.extend("--ft-tooltip-background-opacity","",Co.opacity80),So.extend("--ft-tooltip-shadow","",Co.shadowElevation03);const Uo={colorPrimary:So.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:So.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:So.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:So.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:So.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:So.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:So.create("--ft-color-error","","COLOR","#B00020"),colorOutline:So.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:So.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:So.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:So.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:So.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:So.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:So.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:So.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:So.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:So.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:So.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:So.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:So.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:So.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:So.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:So.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:So.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:So.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:So.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:So.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:So.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:So.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:So.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:So.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:So.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:So.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:So.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:So.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:So.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:So.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:So.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:So.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:So.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:So.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:So.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:So.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:So.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00: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)"),elevation01: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)"),elevation02: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)"),elevation03: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)"),elevation04: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)"),elevation06: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)"),elevation08: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)"),elevation12: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)"),elevation16: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)"),elevation24: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)"),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"),titleFont:So.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:So.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:So.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:So.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Io=["start","end"],ko=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Io[0],o+"-"+Io[1])),[]),Wo=Math.min,Lo=Math.max,Ko=Math.round,Ao=t=>({x:t,y:t}),jo={left:"right",right:"left",bottom:"top",top:"bottom"},Fo={start:"end",end:"start"};function zo(t,o,e){return Lo(t,Wo(o,e))}function Zo(t,o){return"function"==typeof t?t(o):t}function Mo(t){return t.split("-")[0]}function Po(t){return t.split("-")[1]}function Do(t){return"x"===t?"y":"x"}function Bo(t){return"y"===t?"height":"width"}function Ho(t){return["top","bottom"].includes(Mo(t))?"y":"x"}function To(t){return Do(Ho(t))}function _o(t){return t.replace(/left|right|bottom|top/g,(t=>jo[t]))}function Go(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Vo(t,o,e){let{reference:r,floating:i}=t;const n=Ho(o),a=To(o),s=Bo(a),l=Mo(o),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let u;switch(l){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-i.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Po(o)){case"start":u[a]-=h*(e&&c?-1:1);break;case"end":u[a]+=h*(e&&c?-1:1)}return u}async function Yo(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=Zo(o,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=s[h?"floating"===p?"reference":"floating":p],g=Go(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Go(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function qo(t,o,e){return(t?[...e.filter((o=>Po(o)===t)),...e.filter((o=>Po(o)!==t))]:e.filter((t=>Mo(t)===t))).filter((e=>!t||(Po(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Fo[t]))}(e)!==e)))}const Jo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:h=ko,autoAlignment:u=!0,...d}=Zo(t,o),y=void 0!==p||h===ko?qo(p||null,u,h):h,g=await Yo(o,d),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=Po(t),i=To(t),n=Bo(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=_o(a)),[a,_o(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Mo(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=Po(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),N=S.filter((t=>t[2].slice(0,Po(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Xo(t){return oe(t)?(t.nodeName||"").toLowerCase():"#document"}function Qo(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function te(t){var o;return null==(o=(oe(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function oe(t){return t instanceof Node||t instanceof Qo(t).Node}function ee(t){return t instanceof Element||t instanceof Qo(t).Element}function re(t){return t instanceof HTMLElement||t instanceof Qo(t).HTMLElement}function ie(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Qo(t).ShadowRoot)}function ne(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=fe(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ae(t){return["table","td","th"].includes(Xo(t))}function se(t){const o=le(),e=fe(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function le(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ce(t){return["html","body","#document"].includes(Xo(t))}function fe(t){return Qo(t).getComputedStyle(t)}function pe(t){return ee(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function he(t){if("html"===Xo(t))return t;const o=t.assignedSlot||t.parentNode||ie(t)&&t.host||te(t);return ie(o)?o.host:o}function ue(t){const o=he(t);return ce(o)?t.ownerDocument?t.ownerDocument.body:t.body:re(o)&&ne(o)?o:ue(o)}function de(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=ue(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Qo(i);return n?o.concat(a,a.visualViewport||[],ne(i)?i:[],a.frameElement&&e?de(a.frameElement):[]):o.concat(i,de(i,[],e))}function ye(t){const o=fe(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=re(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=Ko(e)!==n||Ko(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function ge(t){return ee(t)?t:t.contextElement}function be(t){const o=ge(t);if(!re(o))return Ao(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ye(o);let a=(n?Ko(e.width):e.width)/r,s=(n?Ko(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const me=Ao(0);function ve(t){const o=Qo(t);return le()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:me}function xe(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=ge(t);let a=Ao(1);o&&(r?ee(r)&&(a=be(r)):a=be(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Qo(t))&&o}(n,e,r)?ve(n):Ao(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Qo(n),o=r&&ee(r)?Qo(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=be(e),o=e.getBoundingClientRect(),r=fe(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,e=Qo(e).frameElement}}return Go({width:f,height:p,x:l,y:c})}function Oe(t){return xe(te(t)).left+pe(t).scrollLeft}function we(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Qo(t),r=te(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=le();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=te(t),e=pe(t),r=t.ownerDocument.body,i=Lo(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Lo(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+Oe(t);const s=-e.scrollTop;return"rtl"===fe(r).direction&&(a+=Lo(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(te(t));else if(ee(o))r=function(t,o){const e=xe(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=re(t)?be(t):Ao(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=ve(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Go(r)}function Se(t,o){const e=he(t);return!(e===o||!ee(e)||ce(e))&&("fixed"===fe(e).position||Se(e,o))}function Ne(t,o,e){const r=re(o),i=te(o),n="fixed"===e,a=xe(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Ao(0);if(r||!r&&!n)if(("body"!==Xo(o)||ne(i))&&(s=pe(o)),r){const t=xe(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=Oe(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ce(t,o){return re(t)&&"fixed"!==fe(t).position?o?o(t):t.offsetParent:null}function Ee(t,o){const e=Qo(t);if(!re(t))return e;let r=Ce(t,o);for(;r&&ae(r)&&"static"===fe(r).position;)r=Ce(r,o);return r&&("html"===Xo(r)||"body"===Xo(r)&&"static"===fe(r).position&&!se(r))?e:r||function(t){let o=he(t);for(;re(o)&&!ce(o);){if(se(o))return o;o=he(o)}return null}(t)||e}const $e={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=re(e),n=te(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Ao(1);const l=Ao(0);if((i||!i&&"fixed"!==r)&&(("body"!==Xo(e)||ne(n))&&(a=pe(e)),re(e))){const t=xe(e);s=be(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:te,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=de(t,[],!1).filter((t=>ee(t)&&"body"!==Xo(t))),i=null;const n="fixed"===fe(t).position;let a=n?he(t):t;for(;ee(a)&&!ce(a);){const o=fe(a),e=se(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ne(a)&&!e&&Se(t,a))?r=r.filter((t=>t!==a)):i=o,a=he(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=we(o,e,i);return t.top=Lo(r.top,t.top),t.right=Wo(r.right,t.right),t.bottom=Wo(r.bottom,t.bottom),t.left=Lo(r.left,t.left),t}),we(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Ee,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ee,n=this.getDimensions;return{reference:Ne(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ye(t)},getScale:be,isElement:ee,isRTL:function(t){return"rtl"===fe(t).direction}},Re=(t,o,e)=>{const r=new Map,i={platform:$e,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Vo(c,r,l),h=r,u={},d=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:u,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Vo(c,h,l))),e=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:u}})(t,o,{...i,platform:n})};function Ue(t){return function(t){for(let o=t;o;o=Ie(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ie(t);o;o=Ie(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ie(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
105
+ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===i?o:o.filter((t=>t.matches(i)))}})}},queryAssignedNodes:Re,queryAsync:function(t){return(e,o)=>Ce(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Oe,state:Se});
106
+ /**
107
+ * @license
108
+ * Copyright 2017 Google LLC
109
+ * SPDX-License-Identifier: BSD-3-Clause
110
+ */const Ie=1,Le=2,Ue=t=>(...e)=>({_$litDirective$:t,values:e});let We=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
111
+ /**
112
+ * @license
113
+ * Copyright 2020 Google LLC
114
+ * SPDX-License-Identifier: BSD-3-Clause
115
+ */const{D:Ae}=it,Fe=()=>document.createComment(""),je=(t,e,o)=>{const r=t._$AA.parentNode,i=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(Fe(),i),n=r.insertBefore(Fe(),i);o=new Ae(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==i||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,i),t=e}}}return o},_e=(t,e,o=t)=>(t._$AI(e,o),t),Be={},ze=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Me=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},Pe=Ue(class extends We{constructor(t){if(super(t),t.type!==Le)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const i=[],n=[];let a=0;for(const e of t)i[a]=r?r(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,h=i.length-1,u=0,d=n.length-1;for(;p<=h&&u<=d;)if(null===i[p])p++;else if(null===i[h])h--;else if(s[p]===a[u])l[u]=_e(i[p],n[u]),p++,u++;else if(s[h]===a[d])l[d]=_e(i[h],n[d]),h--,d--;else if(s[p]===a[d])l[d]=_e(i[p],n[d]),je(t,l[d+1],i[p]),p++,d--;else if(s[h]===a[u])l[u]=_e(i[h],n[u]),je(t,i[p],i[h]),h--,u++;else if(void 0===c&&(c=Me(a,u,d),f=Me(s,p,h)),c.has(s[p]))if(c.has(s[h])){const e=f.get(a[u]),o=void 0!==e?i[e]:null;if(null===o){const e=je(t,i[p]);_e(e,n[u]),l[u]=e}else l[u]=_e(o,n[u]),je(t,i[p],o),i[e]=null;u++}else ze(i[h]),h--;else ze(i[p]),p++;for(;u<=d;){const e=je(t,l[d+1]);_e(e,n[u]),l[u++]=e}for(;p<=h;){const t=i[p++];null!==t&&ze(t)}return this.dt=a,((t,e=Be)=>{t._$AH=e})(t,l),D}});
116
+ /**
117
+ * @license
118
+ * Copyright 2017 Google LLC
119
+ * SPDX-License-Identifier: BSD-3-Clause
120
+ */var Ke=Object.freeze({__proto__:null,repeat:Pe});
121
+ /**
122
+ * @license
123
+ * Copyright 2018 Google LLC
124
+ * SPDX-License-Identifier: BSD-3-Clause
125
+ */const De=Ue(class extends We{constructor(t){if(super(t),t.type!==Ie||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return D}});var Ze=Object.freeze({__proto__:null,classMap:De});
126
+ /**
127
+ * @license
128
+ * Copyright 2018 Google LLC
129
+ * SPDX-License-Identifier: BSD-3-Clause
130
+ */const He="important",Te=" !"+He,Ge=Ue(class extends We{constructor(t){if(super(t),t.type!==Ie||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const r=t[o];return null==r?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const r=e[t];if(null!=r){this.ut.add(t);const e="string"==typeof r&&r.endsWith(Te);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?He:""):o[t]=r}}return D}});var Ve=Object.freeze({__proto__:null,styleMap:Ge});
131
+ /**
132
+ * @license
133
+ * Copyright 2017 Google LLC
134
+ * SPDX-License-Identifier: BSD-3-Clause
135
+ */let qe=class extends We{constructor(t){if(super(t),this.et=Z,t.type!==Le)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Z||null==t)return this.vt=void 0,this.et=t;if(t===D)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};qe.directiveName="unsafeHTML",qe.resultType=1;const Ye=Ue(qe);var Je=Object.freeze({__proto__:null,UnsafeHTMLDirective:qe,unsafeHTML:Ye});class Xe extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class Qe extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new Xe("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new Xe("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const to=t=>new Qe(((e,o)=>t.then(e).catch(o)));var eo=Object.freeze({__proto__:null,CancelablePromise:Qe,CanceledPromiseError:Xe,cancelable:to});class oo{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Qe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=to(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}var ro=Object.freeze({__proto__:null,CacheRegistry:oo});class io{constructor(t,e,o,r){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=r}static extractResultMetadata(t){var e,o;return(null!==(o=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==o?o:null==t?void 0:t.topic).metadata.map((t=>io.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e){let o=io.extractResultMetadata(this.selectedResult).find((e=>e.key===t));const r=this.allResults.flatMap((e=>io.extractResultMetadata(e).filter((e=>e.key===t)))).filter((t=>!(t.key===(null==o?void 0:o.key)&&t.value===(null==o?void 0:o.value)))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return r.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,r)=>this.compareMetadata(o.metadata.value,r.metadata.value,t,e)))}compareMetadata(t,e,o,r){let i=this.metadataDescriptors.find((t=>o==t.key)),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,r,{numeric:!0});return a?-1*o:o}return 0}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>io.extractResultMetadata(o).find((o=>o.key===t&&o.value===e))));let r,i=io.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,n);if(e>a&&(a=e,r=t,e===n.length))break}return r}countMatchingMetadata(t,e){return io.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var no=Object.freeze({__proto__:null,ClusteringHelper:io});class ao{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var so=Object.freeze({__proto__:null,Debouncer:ao});const lo=t=>new Promise((e=>setTimeout(e,t)));async function co(t,e=10,o=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!o||i-r<o);)await lo(e),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function fo(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,r)=>e+o+":"+r)),new Date(t)}function po(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!po(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!po(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!po(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var ho=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?fo(o):o}},deepEqual:po,delay:lo,eventPathContainsMatchingElement:function(t,e,o=window.document.body){if(e.length>0){const r=t.composedPath();for(let t of r){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:function t(e,o){return e.flatMap((e=>[e,...t(o(e),o)]))},last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:fo,waitFor:co,waitUntil:async function(t,e=10,o=2e4){await co((async()=>await t()||void 0),e,o)}});const uo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function yo(t,e){const o=()=>JSON.parse(JSON.stringify(t));return we({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!po(t,e),...null!=e?e:{}})}function go(t){return!isNaN(parseFloat(t))}var bo=Object.freeze({__proto__:null,customElement:uo,isNumber:go,jsonProperty:yo,optionalNumberProperty:function(t){return we({type:Object,converter:{fromAttribute:t=>{if(null!=t)return go(t)?+t:void 0},toAttribute:t=>""+t},...null!=t?t:{}})}});const mo=t=>"string"==typeof t?pt(t):t;class vo{static create(t,e,o,r){const i=t=>mo(null!=t?t:r),n=ht`var(${mo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${mo(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=ht`var(${mo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${mo(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):mo(null!=e?e:t.lastResortDefaultValue()),r=ht`var(${mo(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>ht`var(${mo(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function xo(t,e){return mo(`${t.name}: ${e}`)}const Oo={colorWhite:vo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:vo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:vo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:vo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:vo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:vo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:vo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:vo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:vo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:vo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:vo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:vo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:vo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:vo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:vo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:vo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:vo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:vo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:vo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:vo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:vo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:vo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:vo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:vo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:vo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:vo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:vo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:vo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:vo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:vo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:vo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:vo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:vo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:vo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:vo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:vo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:vo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:vo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:vo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:vo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:vo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:vo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:vo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:vo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:vo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:vo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:vo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:vo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:vo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:vo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:vo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:vo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:vo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:vo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:vo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:vo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:vo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:vo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:vo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:vo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:vo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:vo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:vo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:vo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:vo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:vo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:vo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:vo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:vo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:vo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:vo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:vo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:vo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:vo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:vo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:vo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:vo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:vo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:vo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:vo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:vo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:vo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:vo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:vo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:vo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:vo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:vo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:vo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:vo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:vo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:vo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:vo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:vo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:vo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:vo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:vo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:vo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:vo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:vo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:vo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:vo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:vo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:vo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:vo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:vo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:vo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:vo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:vo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:vo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:vo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:vo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:vo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:vo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:vo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:vo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:vo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:vo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:vo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:vo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:vo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:vo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:vo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:vo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:vo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:vo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:vo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:vo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:vo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:vo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:vo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:vo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:vo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:vo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:vo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:vo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:vo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:vo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:vo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:vo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:vo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:vo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:vo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:vo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:vo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:vo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:vo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:vo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:vo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:vo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:vo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:vo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:vo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:vo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:vo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:vo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:vo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:vo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:vo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:vo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:vo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:vo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:vo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:vo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:vo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:vo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:vo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:vo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:vo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:vo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:vo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:vo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:vo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:vo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:vo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:vo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:vo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:vo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:vo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:vo.create("--ft-opacity-0","","NUMBER","0"),opacity8:vo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:vo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:vo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:vo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:vo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:vo.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:vo.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:vo.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:vo.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:vo.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:vo.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:vo.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:vo.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:vo.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wo={fontFamily:vo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:vo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-display-textCase","","UNKNOWN","none")},So={fontFamily:vo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:vo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},No={fontFamily:vo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:vo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Co={fontFamily:vo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:vo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:vo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Eo={fontFamily:vo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},$o={fontFamily:vo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ro={fontFamily:vo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ko={fontFamily:vo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Io={fontFamily:vo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Lo={fontFamily:vo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Uo={fontFamily:vo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Wo={fontFamily:vo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ao={fontFamily:vo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Fo={fontFamily:vo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},jo={fontFamily:vo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},_o={fontFamily:vo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Bo={fontFamily:vo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},zo={fontFamily:vo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Mo={fontFamily:vo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Po={fontFamily:vo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ko={fontFamily:vo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Do={fontFamily:vo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Zo={fontFamily:vo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ho={fontFamily:vo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},To={fontFamily:vo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Go={display:wo,"title-1":So,"title-2":No,"title-3":Co,"body-1-regular":Eo,"body-1-medium":$o,"body-1-semibold":Ro,"body-2-regular":ko,"body-2-medium":Io,"body-2-semibold":Lo,"label-1-medium":Uo,"label-1-semibold":Wo,"label-1-bold":Ao,"label-2-medium":Fo,"label-2-semibold":jo,"label-2-bold":_o,"caption-1-medium":Bo,"caption-1-semibold":zo,"caption-1-bold":Mo,"caption-2-medium":Po,"caption-2-semibold":Ko,"caption-2-bold":Do,"caption-3-medium":Zo,"caption-3-semibold":Ho,"caption-3-bold":To},Vo={backgroundActionPrimary:vo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oo.colorBrand0),backgroundErrorPrimary:vo.extend("--ft-background-error-primary","Used as background of error components.",Oo.colorRed0),backgroundErrorSubtle:vo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oo.colorRed10),backgroundInfoPrimary:vo.extend("--ft-background-info-primary","Used as background of information components.",Oo.colorCyan200),backgroundInfoSubtle:vo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oo.colorCyan10),backgroundWarningPrimary:vo.extend("--ft-background-warning-primary","Used as background of warning components.",Oo.colorOrange300),backgroundWarningSubtle:vo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oo.colorOrange10),backgroundSuccessPrimary:vo.extend("--ft-background-success-primary","Used as background of success components.",Oo.colorGreen200),backgroundSuccessSubtle:vo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oo.colorGreen10),backgroundGlobalSurface:vo.extend("--ft-background-global-surface","Used as app background.",Oo.colorWhite),backgroundGlobalOnSurface:vo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oo.colorGray10),backgroundGlobalOnSurfaceDark:vo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oo.colorGray30),contentActionPrimary:vo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oo.colorBrand0),contentWarningPrimary:vo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oo.colorOrange300),contentWarningIconOnly:vo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oo.colorOrange0),contentErrorPrimary:vo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oo.colorRed0),contentErrorIconOnly:vo.extend("--ft-content-error-icon-only","Used on error status icons alone",Oo.colorRed0),contentInfoPrimary:vo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oo.colorCyan200),contentInfoIconOnly:vo.extend("--ft-content-info-icon-only","Used on info status icons alone",Oo.colorCyan0),contentSuccessPrimary:vo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oo.colorGreen200),contentSuccessIconOnly:vo.extend("--ft-content-success-icon-only","Used on success status icons alone",Oo.colorGreen0),contentGlobalPrimary:vo.extend("--ft-content-global-primary","Used for main content on the page.",Oo.colorGray500),contentGlobalSecondary:vo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oo.colorGray200),contentGlobalSubtle:vo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oo.colorGray0),contentGlobalOnColor:vo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oo.colorWhite),borderActionPrimary:vo.extend("--ft-border-action-primary","Used as border for primary action components.",Oo.colorBrand0),borderActionFocusRing:vo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oo.colorCyan0),borderWarningPrimary:vo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Oo.colorOrange300),borderWarningSubtle:vo.extend("--ft-border-warning-subtle","Used as border for warning components.",Oo.colorOrange30),borderSuccessPrimary:vo.extend("--ft-border-success-primary","Used as border for success buttons.",Oo.colorGreen200),borderSuccessSubtle:vo.extend("--ft-border-success-subtle","Used as border for success components.",Oo.colorGreen30),borderErrorPrimary:vo.extend("--ft-border-error-primary","Used as border for text fields in error states.",Oo.colorRed0),borderErrorSubtle:vo.extend("--ft-border-error-subtle","Used as border for error components.",Oo.colorRed30),borderInfoPrimary:vo.extend("--ft-border-info-primary","Used as border for buttons in info color.",Oo.colorCyan200),borderInfoSubtle:vo.extend("--ft-border-info-subtle","Used as border for information components.",Oo.colorCyan30),borderGlobalPrimary:vo.extend("--ft-border-global-primary","Used as border for element like input.",Oo.colorGray50),borderGlobalSubtle:vo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oo.colorGray30),borderInputPrimary:vo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oo.colorGray80)},qo={largeHeight:vo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:vo.extend("--ft-button-large-horizontal-padding","",Oo.spacing4),largeGap:vo.extend("--ft-button-large-gap","",Oo.spacing2),largeBorderRadius:vo.extend("--ft-button-large-border-radius","",Oo.borderRadiusS),largeIconSize:vo.extend("--ft-button-large-icon-size","",Oo.iconSize3),largeBorderWidth:vo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:vo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:vo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:vo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:vo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:vo.extend("--ft-button-small-horizontal-padding","",Oo.spacing3),smallGap:vo.extend("--ft-button-small-gap","",Oo.spacing2),smallBorderRadius:vo.extend("--ft-button-small-border-radius","",Oo.borderRadiusS),smallIconSize:vo.extend("--ft-button-small-icon-size","",Oo.iconSize2),smallBorderWidth:vo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:vo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:vo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:vo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:vo.extend("--ft-button-primary-background-color","",Vo.backgroundActionPrimary),primaryColor:vo.extend("--ft-button-primary-color","",Vo.contentGlobalOnColor),primaryIconColor:vo.extend("--ft-button-primary-icon-color","",Vo.contentGlobalOnColor),primaryStateLayerColor:vo.extend("--ft-button-primary-state-layer-color","",Vo.contentGlobalOnColor),primaryStateLayerOpacityHover:vo.extend("--ft-button-primary-state-layer-opacity-hover","",Oo.opacity16),primaryStateLayerOpacityFocus:vo.extend("--ft-button-primary-state-layer-opacity-focus","",Oo.opacity16),primaryStateLayerOpacityActive:vo.extend("--ft-button-primary-state-layer-opacity-active","",Oo.opacity24),primaryComponentOpacityDisabled:vo.extend("--ft-button-primary-component-opacity-disabled","",Oo.opacity40),focusFocusRingColor:vo.extend("--ft-button-focus-focus-ring-color","",Vo.borderActionFocusRing),tertiaryBackgroundColor:vo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:vo.extend("--ft-button-tertiary-color","",Vo.contentActionPrimary),tertiaryIconColor:vo.extend("--ft-button-tertiary-icon-color","",Vo.contentActionPrimary),tertiaryStateLayerColor:vo.extend("--ft-button-tertiary-state-layer-color","",Vo.contentActionPrimary),tertiaryStateLayerOpacityHover:vo.extend("--ft-button-tertiary-state-layer-opacity-hover","",Oo.opacity8),tertiaryStateLayerOpacityFocus:vo.extend("--ft-button-tertiary-state-layer-opacity-focus","",Oo.opacity8),tertiaryStateLayerOpacityActive:vo.extend("--ft-button-tertiary-state-layer-opacity-active","",Oo.opacity16),tertiaryComponentOpacityDisabled:vo.extend("--ft-button-tertiary-component-opacity-disabled","",Oo.opacity40),secondaryBackgroundColor:vo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:vo.extend("--ft-button-secondary-color","",Vo.contentActionPrimary),secondaryIconColor:vo.extend("--ft-button-secondary-icon-color","",Vo.contentActionPrimary),secondaryStateLayerColor:vo.extend("--ft-button-secondary-state-layer-color","",Vo.contentActionPrimary),secondaryStateLayerOpacityHover:vo.extend("--ft-button-secondary-state-layer-opacity-hover","",Oo.opacity8),secondaryStateLayerOpacityFocus:vo.extend("--ft-button-secondary-state-layer-opacity-focus","",Oo.opacity8),secondaryStateLayerOpacityActive:vo.extend("--ft-button-secondary-state-layer-opacity-active","",Oo.opacity16),secondaryComponentOpacityDisabled:vo.extend("--ft-button-secondary-component-opacity-disabled","",Oo.opacity40),secondaryBorderColor:vo.extend("--ft-button-secondary-border-color","",Vo.borderActionPrimary),neutralBackgroundColor:vo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:vo.extend("--ft-button-neutral-icon-color","",Vo.contentGlobalSecondary),neutralColor:vo.extend("--ft-button-neutral-color","",Vo.contentGlobalSecondary),neutralStateLayerColor:vo.extend("--ft-button-neutral-state-layer-color","",Vo.contentGlobalSecondary),neutralStateLayerOpacityHover:vo.extend("--ft-button-neutral-state-layer-opacity-hover","",Oo.opacity8),neutralStateLayerOpacityFocus:vo.extend("--ft-button-neutral-state-layer-opacity-focus","",Oo.opacity8),neutralStateLayerOpacityActive:vo.extend("--ft-button-neutral-state-layer-opacity-active","",Oo.opacity16),neutralComponentOpacityDisabled:vo.extend("--ft-button-neutral-component-opacity-disabled","",Oo.opacity40)},Yo={horizontalPadding:vo.extend("--ft-floating-menu-horizontal-padding","",Oo.spacing4),verticalPadding:vo.extend("--ft-floating-menu-vertical-padding","",Oo.spacing4),offIconColor:vo.extend("--ft-floating-menu-off-icon-color","",Vo.contentGlobalPrimary),offColor:vo.extend("--ft-floating-menu-off-color","",Vo.contentGlobalPrimary),onColor:vo.extend("--ft-floating-menu-on-color","",Vo.contentActionPrimary),onIconColor:vo.extend("--ft-floating-menu-on-icon-color","",Vo.contentActionPrimary),onStateLayerColor:vo.extend("--ft-floating-menu-on-state-layer-color","",Vo.contentActionPrimary),gap:vo.extend("--ft-floating-menu-gap","",Oo.spacing3),focusFocusRingColor:vo.extend("--ft-floating-menu-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineWidth:vo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),stateLayerOpacityHover:vo.extend("--ft-floating-menu-state-layer-opacity-hover","",Oo.opacity8),stateLayerOpacityActive:vo.extend("--ft-floating-menu-state-layer-opacity-active","",Oo.opacity16),stateLayerOpacityFocus:vo.extend("--ft-floating-menu-state-layer-opacity-focus","",Oo.opacity8),componentOpacityDisabled:vo.extend("--ft-floating-menu-component-opacity-disabled","",Oo.opacity40),iconSize:vo.extend("--ft-floating-menu-icon-size","",Oo.iconSize3),backgroundColor:vo.extend("--ft-floating-menu-background-color","",Vo.backgroundGlobalOnSurface)},Jo={topLeftBorderRadius:vo.extend("--ft-tabs-top-left-border-radius","",Oo.borderRadiusS),topRightBorderRadius:vo.extend("--ft-tabs-top-right-border-radius","",Oo.borderRadiusS),labelHorizontalPadding:vo.extend("--ft-tabs-label-horizontal-padding","",Oo.spacing4),labelVerticalPadding:vo.extend("--ft-tabs-label-vertical-padding","",Oo.spacing3),labelGap:vo.extend("--ft-tabs-label-gap","",Oo.spacing1),iconHorizontalPadding:vo.extend("--ft-tabs-icon-horizontal-padding","",Oo.spacing1),iconVerticalPadding:vo.extend("--ft-tabs-icon-vertical-padding","",Oo.spacing4),focusOutlineWidth:vo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:vo.extend("--ft-tabs-focus-focus-ring-color","",Vo.borderActionFocusRing),offStateLayerOpacityHover:vo.extend("--ft-tabs-off-state-layer-opacity-hover","",Oo.opacity8),offStateLayerOpacityFocus:vo.extend("--ft-tabs-off-state-layer-opacity-focus","",Oo.opacity8),offStateLayerOpacityActive:vo.extend("--ft-tabs-off-state-layer-opacity-active","",Oo.opacity16),offComponentOpacityDisabled:vo.extend("--ft-tabs-off-component-opacity-disabled","",Oo.opacity40),offColor:vo.extend("--ft-tabs-off-color","",Vo.contentGlobalSubtle),offStateLayerColor:vo.extend("--ft-tabs-off-state-layer-color","",Vo.contentGlobalSubtle),onStateLayerOpacityHover:vo.extend("--ft-tabs-on-state-layer-opacity-hover","",Oo.opacity8),onStateLayerOpacityFocus:vo.extend("--ft-tabs-on-state-layer-opacity-focus","",Oo.opacity8),onStateLayerOpacityActive:vo.extend("--ft-tabs-on-state-layer-opacity-active","",Oo.opacity16),onComponentOpacityDisabled:vo.extend("--ft-tabs-on-component-opacity-disabled","",Oo.opacity40),onColor:vo.extend("--ft-tabs-on-color","",Vo.contentActionPrimary),onStateLayerColor:vo.extend("--ft-tabs-on-state-layer-color","",Vo.contentActionPrimary)},Xo={stateLayerOpacityHover:vo.extend("--ft-collapsible-state-layer-opacity-hover","",Oo.opacity8),stateLayerOpacityFocus:vo.extend("--ft-collapsible-state-layer-opacity-focus","",Oo.opacity8),stateLayerOpacityActive:vo.extend("--ft-collapsible-state-layer-opacity-active","",Oo.opacity16),componentOpacityDisabled:vo.extend("--ft-collapsible-component-opacity-disabled","",Oo.opacity40),horizontalPadding:vo.extend("--ft-collapsible-horizontal-padding","",Oo.spacing4),verticalPadding:vo.extend("--ft-collapsible-vertical-padding","",Oo.spacing3),focusOutlineWidth:vo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:vo.extend("--ft-collapsible-focus-focus-ring-color","",Vo.borderActionFocusRing),color:vo.extend("--ft-collapsible-color","",Vo.contentGlobalPrimary),stateLayerColor:vo.extend("--ft-collapsible-state-layer-color","",Vo.contentGlobalPrimary),backgroundColor:vo.extend("--ft-collapsible-background-color","",Vo.backgroundGlobalOnSurface),borderColor:vo.extend("--ft-collapsible-border-color","",Vo.borderGlobalSubtle),iconSize:vo.extend("--ft-collapsible-icon-size","",Oo.iconSize3)},Qo={groupHorizontalPadding:vo.extend("--ft-switch-group-horizontal-padding","",Oo.spacing1),groupVerticalPadding:vo.extend("--ft-switch-group-vertical-padding","",Oo.spacing1),groupGap:vo.extend("--ft-switch-group-gap","",Oo.spacing1),groupBackgroundColor:vo.extend("--ft-switch-group-background-color","",Vo.backgroundGlobalSurface),groupBorderColor:vo.extend("--ft-switch-group-border-color","",Vo.borderGlobalSubtle),groupBorderRadius:vo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:vo.extend("--ft-switch-label-horizontal-padding","",Oo.spacing2),labelVerticalPadding:vo.extend("--ft-switch-label-vertical-padding","",Oo.spacing1),iconHorizontalPadding:vo.extend("--ft-switch-icon-horizontal-padding","",Oo.spacing1),iconVerticalPadding:vo.extend("--ft-switch-icon-vertical-padding","",Oo.spacing1),focusOutlineWidth:vo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:vo.extend("--ft-switch-focus-focus-ring-color","",Vo.borderActionFocusRing),optionBorderRadius:vo.extend("--ft-switch-option-border-radius","",Oo.borderRadiusS),offStateLayerOpacityHover:vo.extend("--ft-switch-off-state-layer-opacity-hover","",Oo.opacity8),offStateLayerOpacityFocus:vo.extend("--ft-switch-off-state-layer-opacity-focus","",Oo.opacity8),offStateLayerOpacityActive:vo.extend("--ft-switch-off-state-layer-opacity-active","",Oo.opacity16),offComponentOpacityDisabled:vo.extend("--ft-switch-off-component-opacity-disabled","",Oo.opacity40),offColor:vo.extend("--ft-switch-off-color","",Vo.contentGlobalSubtle),offStateLayerColor:vo.extend("--ft-switch-off-state-layer-color","",Vo.contentGlobalSubtle),onStateLayerOpacityHover:vo.extend("--ft-switch-on-state-layer-opacity-hover","",Oo.opacity8),onStateLayerOpacityFocus:vo.extend("--ft-switch-on-state-layer-opacity-focus","",Oo.opacity8),onStateLayerOpacityActive:vo.extend("--ft-switch-on-state-layer-opacity-active","",Oo.opacity16),onComponentOpacityDisabled:vo.extend("--ft-switch-on-component-opacity-disabled","",Oo.opacity40),onColor:vo.extend("--ft-switch-on-color","",Vo.contentActionPrimary),onStateLayerColor:vo.extend("--ft-switch-on-state-layer-color","",Vo.contentActionPrimary)},tr={color1Light:vo.extend("--ft-chart-1-light","for area color charts",Oo.colorBrand40),color1Base:vo.extend("--ft-chart-1-base","for line charts",Oo.colorBrand0),color2Light:vo.extend("--ft-chart-2-light","for area color charts",Oo.colorYellow60),color2Base:vo.extend("--ft-chart-2-base","for line charts",Oo.colorYellow100),color3Light:vo.extend("--ft-chart-3-light","",Oo.colorUltramarine40),color3Base:vo.extend("--ft-chart-3-base","",Oo.colorUltramarine70),color4Light:vo.extend("--ft-chart-4-light","",Oo.colorCyan50),color4Base:vo.extend("--ft-chart-4-base","",Oo.colorCyan100),color5Light:vo.extend("--ft-chart-5-light","",Oo.colorRed40),color5Base:vo.extend("--ft-chart-5-base","",Oo.colorRed60),color6Light:vo.extend("--ft-chart-6-light","",Oo.colorGreen40),color6Base:vo.extend("--ft-chart-6-base","",Oo.colorGreen70),color7Light:vo.extend("--ft-chart-7-light","",Oo.colorOrange70),color7Base:vo.extend("--ft-chart-7-base","",Oo.colorOrange100),color8Light:vo.extend("--ft-chart-8-light","",Oo.colorAvocado70),color8Base:vo.extend("--ft-chart-8-base","",Oo.colorAvocado200),color9Light:vo.extend("--ft-chart-9-light","",Oo.colorBrown50),color9Base:vo.extend("--ft-chart-9-base","",Oo.colorBrown200),color10Light:vo.extend("--ft-chart-10-light","",Oo.colorGray50),color10Base:vo.extend("--ft-chart-10-base","",Oo.colorGray80),monochrome10:vo.extend("--ft-chart-monochrome-10","",Oo.colorBrand10),monochrome20:vo.extend("--ft-chart-monochrome-20","",Oo.colorBrand20),monochrome30:vo.extend("--ft-chart-monochrome-30","",Oo.colorBrand40),monochrome40:vo.extend("--ft-chart-monochrome-40","",Oo.colorBrand60),monochrome50:vo.extend("--ft-chart-monochrome-50","",Oo.colorBrand0),monochrome60:vo.extend("--ft-chart-monochrome-60","",Oo.colorBrand200)},er={largeHorizontalPadding:vo.extend("--ft-chip-large-horizontal-padding","",Oo.spacing4),largeVerticalPadding:vo.extend("--ft-chip-large-vertical-padding","",Oo.spacing2),largeGap:vo.extend("--ft-chip-large-gap","",Oo.spacing1),largeFocusOutlineOffset:vo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:vo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:vo.extend("--ft-chip-large-border-radius","",Oo.borderRadiusPill),largeBorderWidth:vo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:vo.extend("--ft-chip-large-icon-size","",Oo.iconSize3),mediumHorizontalPadding:vo.extend("--ft-chip-medium-horizontal-padding","",Oo.spacing3),mediumVerticalPadding:vo.extend("--ft-chip-medium-vertical-padding","",Oo.spacing1),mediumGap:vo.extend("--ft-chip-medium-gap","",Oo.spacing1),mediumFocusOutlineOffset:vo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:vo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:vo.extend("--ft-chip-medium-border-radius","",Oo.borderRadiusPill),mediumBorderWidth:vo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:vo.extend("--ft-chip-medium-icon-size","",Oo.iconSize2),smallHorizontalPadding:vo.extend("--ft-chip-small-horizontal-padding","",Oo.spacing2),smallVerticalPadding:vo.extend("--ft-chip-small-vertical-padding","",Oo.spacing05),smallGap:vo.extend("--ft-chip-small-gap","",Oo.spacing1),smallFocusOutlineOffset:vo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:vo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:vo.extend("--ft-chip-small-border-radius","",Oo.borderRadiusPill),smallBorderWidth:vo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:vo.extend("--ft-chip-small-icon-size","",Oo.iconSize1),neutralBackgroundColor:vo.extend("--ft-chip-neutral-background-color","",Vo.backgroundGlobalOnSurface),neutralColor:vo.extend("--ft-chip-neutral-color","",Vo.contentGlobalPrimary),neutralBorderColor:vo.extend("--ft-chip-neutral-border-color","",Vo.borderGlobalSubtle),infoBackgroundColor:vo.extend("--ft-chip-info-background-color","",Vo.backgroundInfoSubtle),infoColor:vo.extend("--ft-chip-info-color","",Vo.contentInfoPrimary),infoBorderColor:vo.extend("--ft-chip-info-border-color","",Vo.borderInfoSubtle),successBackgroundColor:vo.extend("--ft-chip-success-background-color","",Vo.backgroundSuccessSubtle),successColor:vo.extend("--ft-chip-success-color","",Vo.contentSuccessPrimary),successBorderColor:vo.extend("--ft-chip-success-border-color","",Vo.borderSuccessSubtle),warningBackgroundColor:vo.extend("--ft-chip-warning-background-color","",Vo.backgroundWarningSubtle),warningColor:vo.extend("--ft-chip-warning-color","",Vo.contentWarningPrimary),warningBorderColor:vo.extend("--ft-chip-warning-border-color","",Vo.borderWarningSubtle),errorBackgroundColor:vo.extend("--ft-chip-error-background-color","",Vo.backgroundErrorSubtle),errorColor:vo.extend("--ft-chip-error-color","",Vo.contentErrorPrimary),errorBorderColor:vo.extend("--ft-chip-error-border-color","",Vo.borderErrorSubtle)},or={borderWidth:vo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:vo.extend("--ft-notice-horizontal-padding","",Oo.spacing2),verticalPadding:vo.extend("--ft-notice-vertical-padding","",Oo.spacing1),borderRadius:vo.extend("--ft-notice-border-radius","",Oo.borderRadiusS),gap:vo.extend("--ft-notice-gap","",Oo.spacing2),iconSize:vo.extend("--ft-notice-icon-size","",Oo.iconSize3),infoBackgroundColor:vo.extend("--ft-notice-info-background-color","",Vo.backgroundInfoSubtle),infoBorderColor:vo.extend("--ft-notice-info-border-color","",Vo.borderInfoSubtle),infoColor:vo.extend("--ft-notice-info-color","",Vo.contentInfoPrimary),warningBackgroundColor:vo.extend("--ft-notice-warning-background-color","",Vo.backgroundWarningSubtle),warningBorderColor:vo.extend("--ft-notice-warning-border-color","",Vo.borderWarningSubtle),warningColor:vo.extend("--ft-notice-warning-color","",Vo.contentWarningPrimary)},rr={labelColor:vo.extend("--ft-checkbox-label-color","",Vo.contentGlobalPrimary),checkedBackgroundColor:vo.extend("--ft-checkbox-checked-background-color","",Vo.contentActionPrimary),checkedStateLayerColor:vo.extend("--ft-checkbox-checked-state-layer-color","",Vo.contentActionPrimary),checkedColor:vo.extend("--ft-checkbox-checked-color","",Vo.contentGlobalOnColor),checkedStateLayerOpacityHover:vo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Oo.opacity16),checkedStateLayerOpacityFocus:vo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Oo.opacity16),checkedStateLayerOpacityActive:vo.extend("--ft-checkbox-checked-state-layer-opacity-active","",Oo.opacity24),checkedComponentOpacityDisabled:vo.extend("--ft-checkbox-checked-component-opacity-disabled","",Oo.opacity40),uncheckedBorderColor:vo.extend("--ft-checkbox-unchecked-border-color","",Oo.colorGray80),uncheckedStateLayerColor:vo.extend("--ft-checkbox-unchecked-state-layer-color","",Oo.colorGray80),uncheckedStateLayerOpacityHover:vo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Oo.opacity16),uncheckedStateLayerOpacityFocus:vo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Oo.opacity16),uncheckedStateLayerOpacityActive:vo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Oo.opacity24),uncheckedComponentOpacityDisabled:vo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Oo.opacity40),focusFocusRingColor:vo.extend("--ft-checkbox-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineOffset:vo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:vo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:vo.extend("--ft-checkbox-gap","",Oo.spacing3)},ir={offStateLayerOpacityHover:vo.extend("--ft-toggle-off-state-layer-opacity-hover","",Oo.opacity16),offStateLayerOpacityFocus:vo.extend("--ft-toggle-off-state-layer-opacity-focus","",Oo.opacity16),offStateLayerOpacityActive:vo.extend("--ft-toggle-off-state-layer-opacity-active","",Oo.opacity24),offComponentOpacityDisabled:vo.extend("--ft-toggle-off-component-opacity-disabled","",Oo.opacity40),offBackgroundColor:vo.extend("--ft-toggle-off-background-color","",Vo.contentGlobalSubtle),offIconColor:vo.extend("--ft-toggle-off-icon-color","",Vo.contentGlobalSubtle),offStateLayerColor:vo.extend("--ft-toggle-off-state-layer-color","",Vo.contentGlobalSubtle),onStateLayerOpacityHover:vo.extend("--ft-toggle-on-state-layer-opacity-hover","",Oo.opacity16),onStateLayerOpacityFocus:vo.extend("--ft-toggle-on-state-layer-opacity-focus","",Oo.opacity16),onStateLayerOpacityActive:vo.extend("--ft-toggle-on-state-layer-opacity-active","",Oo.opacity24),onComponentOpacityDisabled:vo.extend("--ft-toggle-on-component-opacity-disabled","",Oo.opacity40),onBackgroundColor:vo.extend("--ft-toggle-on-background-color","",Vo.contentActionPrimary),onIconColor:vo.extend("--ft-toggle-on-icon-color","",Vo.contentActionPrimary),onStateLayerColor:vo.extend("--ft-toggle-on-state-layer-color","",Vo.contentActionPrimary),labelColor:vo.extend("--ft-toggle-label-color","",Vo.contentGlobalPrimary),focusFocusRingColor:vo.extend("--ft-toggle-focus-focus-ring-color","",Vo.borderActionFocusRing),gap:vo.extend("--ft-toggle-gap","",Oo.spacing3)},nr={labelColor:vo.extend("--ft-radio-label-color","",Vo.contentGlobalPrimary),selectedColor:vo.extend("--ft-radio-selected-color","",Vo.contentActionPrimary),selectedStateLayerColor:vo.extend("--ft-radio-selected-state-layer-color","",Vo.contentActionPrimary),selectedStateLayerOpacityHover:vo.extend("--ft-radio-selected-state-layer-opacity-hover","",Oo.opacity16),selectedStateLayerOpacityFocus:vo.extend("--ft-radio-selected-state-layer-opacity-focus","",Oo.opacity16),selectedStateLayerOpacityActive:vo.extend("--ft-radio-selected-state-layer-opacity-active","",Oo.opacity24),selectedComponentOpacityDisabled:vo.extend("--ft-radio-selected-component-opacity-disabled","",Oo.opacity40),unselectedStateLayerColor:vo.extend("--ft-radio-unselected-state-layer-color","",Oo.colorGray80),unselectedStateLayerOpacityHover:vo.extend("--ft-radio-unselected-state-layer-opacity-hover","",Oo.opacity16),unselectedStateLayerOpacityFocus:vo.extend("--ft-radio-unselected-state-layer-opacity-focus","",Oo.opacity16),unselectedStateLayerOpacityActive:vo.extend("--ft-radio-unselected-state-layer-opacity-active","",Oo.opacity24),unselectedComponentOpacityDisabled:vo.extend("--ft-radio-unselected-component-opacity-disabled","",Oo.opacity40),focusFocusRingColor:vo.extend("--ft-radio-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineOffset:vo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:vo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:vo.extend("--ft-radio-gap","",Oo.spacing3)},ar={iconSize:vo.extend("--ft-notification-icon-size","",Oo.iconSize4),horizontalPadding:vo.extend("--ft-notification-horizontal-padding","",Oo.spacing4),verticalPadding:vo.extend("--ft-notification-vertical-padding","",Oo.spacing4),infoBackgroundColor:vo.extend("--ft-notification-info-background-color","",Vo.backgroundInfoSubtle),infoColor:vo.extend("--ft-notification-info-color","",Vo.contentInfoPrimary),infoBorderColor:vo.extend("--ft-notification-info-border-color","",Vo.borderInfoSubtle),successBackgroundColor:vo.extend("--ft-notification-success-background-color","",Vo.backgroundSuccessSubtle),successColor:vo.extend("--ft-notification-success-color","",Vo.contentSuccessPrimary),successBorderColor:vo.extend("--ft-notification-success-border-color","",Vo.borderSuccessSubtle),warningBackgroundColor:vo.extend("--ft-notification-warning-background-color","",Vo.backgroundWarningSubtle),warningColor:vo.extend("--ft-notification-warning-color","",Vo.contentWarningPrimary),warningBorderColor:vo.extend("--ft-notification-warning-border-color","",Vo.borderWarningSubtle),errorBackgroundColor:vo.extend("--ft-notification-error-background-color","",Vo.backgroundErrorSubtle),errorColor:vo.extend("--ft-notification-error-color","",Vo.contentErrorPrimary),errorBorderColor:vo.extend("--ft-notification-error-border-color","",Vo.borderErrorSubtle),borderRadius:vo.extend("--ft-notification-border-radius","",Oo.borderRadiusPill),borderWidth:vo.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:vo.extend("--ft-notification-gap-leading","",Oo.spacing2),gapTrailing:vo.extend("--ft-notification-gap-trailing","",Oo.spacing8)},sr={horizontalPadding:vo.extend("--ft-tooltip-horizontal-padding","",Oo.spacing2),verticalPadding:vo.extend("--ft-tooltip-vertical-padding","",Oo.spacing2),borderRadius:vo.extend("--ft-tooltip-border-radius","",Oo.borderRadiusS),label:vo.extend("--ft-tooltip-label","",Vo.contentGlobalOnColor),background:vo.extend("--ft-tooltip-background","",Vo.contentGlobalPrimary),backgroundOpacity:vo.extend("--ft-tooltip-background-opacity","",Oo.opacity80),shadow:vo.extend("--ft-tooltip-shadow","",Oo.shadowElevation03)};var lr=Object.freeze({__proto__:null,FtCssVariableFactory:vo,button:qo,chart:tr,checkbox:rr,chip:er,collapsible:Xo,floatingMenu:Yo,foundation:Oo,notice:or,notification:ar,radio:nr,semantic:Vo,setVariable:xo,switch_:Qo,tabs:Jo,toggle:ir,tooltip:sr,typographies:Go,typographyBody1Medium:$o,typographyBody1Regular:Eo,typographyBody1Semibold:Ro,typographyBody2Medium:Io,typographyBody2Regular:ko,typographyBody2Semibold:Lo,typographyCaption1Bold:Mo,typographyCaption1Medium:Bo,typographyCaption1Semibold:zo,typographyCaption2Bold:Do,typographyCaption2Medium:Po,typographyCaption2Semibold:Ko,typographyCaption3Bold:To,typographyCaption3Medium:Zo,typographyCaption3Semibold:Ho,typographyDisplay:wo,typographyLabel1Bold:Ao,typographyLabel1Medium:Uo,typographyLabel1Semibold:Wo,typographyLabel2Bold:_o,typographyLabel2Medium:Fo,typographyLabel2Semibold:jo,typographyTitle1:So,typographyTitle2:No,typographyTitle3:Co,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2","caption-3"]});const cr={colorPrimary:vo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:vo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:vo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:vo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:vo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:vo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:vo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:vo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:vo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:vo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:vo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:vo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:vo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:vo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:vo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:vo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:vo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:vo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:vo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:vo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:vo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:vo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:vo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:vo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:vo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:vo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:vo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:vo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:vo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:vo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:vo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:vo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:vo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:vo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:vo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:vo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var fr=Object.freeze({__proto__:null,designSystemVariables:cr});class pr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class hr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class ur extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var dr=Object.freeze({__proto__:null,FtNotificationEvent:pr,PostResizeEvent:ur,PreResizeEvent:hr});const yr=["start","end"],gr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+yr[0],e+"-"+yr[1])),[]),br=Math.min,mr=Math.max,vr=Math.round,xr=t=>({x:t,y:t}),Or={left:"right",right:"left",bottom:"top",top:"bottom"},wr={start:"end",end:"start"};function Sr(t,e,o){return mr(t,br(e,o))}function Nr(t,e){return"function"==typeof t?t(e):t}function Cr(t){return t.split("-")[0]}function Er(t){return t.split("-")[1]}function $r(t){return"x"===t?"y":"x"}function Rr(t){return"y"===t?"height":"width"}function kr(t){return["top","bottom"].includes(Cr(t))?"y":"x"}function Ir(t){return $r(kr(t))}function Lr(t){return t.replace(/left|right|bottom|top/g,(t=>Or[t]))}function Ur(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Wr(t,e,o){let{reference:r,floating:i}=t;const n=kr(e),a=Ir(e),s=Rr(a),l=Cr(e),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let u;switch(l){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-i.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Er(e)){case"start":u[a]-=h*(o&&c?-1:1);break;case"end":u[a]+=h*(o&&c?-1:1)}return u}async function Ar(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=Nr(e,t),d=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=s[h?"floating"===p?"reference":"floating":p],g=Ur(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Ur(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function Fr(t,e,o){return(t?[...o.filter((e=>Er(e)===t)),...o.filter((e=>Er(e)!==t))]:o.filter((t=>Cr(t)===t))).filter((o=>!t||(Er(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>wr[t]))}(o)!==o)))}const jr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:h=gr,autoAlignment:u=!0,...d}=Nr(t,e),y=void 0!==p||h===gr?Fr(p||null,u,h):h,g=await Ar(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Er(t),i=Ir(t),n=Rr(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Lr(a)),[a,Lr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Cr(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Er(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Er(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function _r(t){return Mr(t)?(t.nodeName||"").toLowerCase():"#document"}function Br(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function zr(t){var e;return null==(e=(Mr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Mr(t){return t instanceof Node||t instanceof Br(t).Node}function Pr(t){return t instanceof Element||t instanceof Br(t).Element}function Kr(t){return t instanceof HTMLElement||t instanceof Br(t).HTMLElement}function Dr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Br(t).ShadowRoot)}function Zr(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=qr(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Hr(t){return["table","td","th"].includes(_r(t))}function Tr(t){const e=Gr(),o=qr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Gr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Vr(t){return["html","body","#document"].includes(_r(t))}function qr(t){return Br(t).getComputedStyle(t)}function Yr(t){return Pr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Jr(t){if("html"===_r(t))return t;const e=t.assignedSlot||t.parentNode||Dr(t)&&t.host||zr(t);return Dr(e)?e.host:e}function Xr(t){const e=Jr(t);return Vr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Kr(e)&&Zr(e)?e:Xr(e)}function Qr(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Xr(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Br(i);return n?e.concat(a,a.visualViewport||[],Zr(i)?i:[],a.frameElement&&o?Qr(a.frameElement):[]):e.concat(i,Qr(i,[],o))}function ti(t){const e=qr(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Kr(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=vr(o)!==n||vr(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function ei(t){return Pr(t)?t:t.contextElement}function oi(t){const e=ei(t);if(!Kr(e))return xr(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=ti(e);let a=(n?vr(o.width):o.width)/r,s=(n?vr(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ri=xr(0);function ii(t){const e=Br(t);return Gr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ri}function ni(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=ei(t);let a=xr(1);e&&(r?Pr(r)&&(a=oi(r)):a=oi(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Br(t))&&e}(n,o,r)?ii(n):xr(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Br(n),e=r&&Pr(r)?Br(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=oi(o),e=o.getBoundingClientRect(),r=qr(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=i,c+=n,o=Br(o).frameElement}}return Ur({width:f,height:p,x:l,y:c})}function ai(t){return ni(zr(t)).left+Yr(t).scrollLeft}function si(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Br(t),r=zr(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Gr();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=zr(t),o=Yr(t),r=t.ownerDocument.body,i=mr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=mr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+ai(t);const s=-o.scrollTop;return"rtl"===qr(r).direction&&(a+=mr(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(zr(t));else if(Pr(e))r=function(t,e){const o=ni(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Kr(t)?oi(t):xr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=ii(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Ur(r)}function li(t,e){const o=Jr(t);return!(o===e||!Pr(o)||Vr(o))&&("fixed"===qr(o).position||li(o,e))}function ci(t,e,o){const r=Kr(e),i=zr(e),n="fixed"===o,a=ni(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=xr(0);if(r||!r&&!n)if(("body"!==_r(e)||Zr(i))&&(s=Yr(e)),r){const t=ni(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=ai(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function fi(t,e){return Kr(t)&&"fixed"!==qr(t).position?e?e(t):t.offsetParent:null}function pi(t,e){const o=Br(t);if(!Kr(t))return o;let r=fi(t,e);for(;r&&Hr(r)&&"static"===qr(r).position;)r=fi(r,e);return r&&("html"===_r(r)||"body"===_r(r)&&"static"===qr(r).position&&!Tr(r))?o:r||function(t){let e=Jr(t);for(;Kr(e)&&!Vr(e);){if(Tr(e))return e;e=Jr(e)}return null}(t)||o}const hi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Kr(o),n=zr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=xr(1);const l=xr(0);if((i||!i&&"fixed"!==r)&&(("body"!==_r(o)||Zr(n))&&(a=Yr(o)),Kr(o))){const t=ni(o);s=oi(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:zr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Qr(t,[],!1).filter((t=>Pr(t)&&"body"!==_r(t))),i=null;const n="fixed"===qr(t).position;let a=n?Jr(t):t;for(;Pr(a)&&!Vr(a);){const e=qr(a),o=Tr(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Zr(a)&&!o&&li(t,a))?r=r.filter((t=>t!==a)):i=e,a=Jr(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=si(e,o,i);return t.top=mr(r.top,t.top),t.right=br(r.right,t.right),t.bottom=br(r.bottom,t.bottom),t.left=mr(r.left,t.left),t}),si(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:pi,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||pi,n=this.getDimensions;return{reference:ci(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ti(t)},getScale:oi,isElement:Pr,isRTL:function(t){return"rtl"===qr(t).direction}},ui=(t,e,o)=>{const r=new Map,i={platform:hi,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=Wr(c,r,l),h=r,u={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:u,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=Wr(c,h,l))),o=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:u}})(t,e,{...i,platform:n})};function di(t){return function(t){for(let e=t;e;e=yi(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=yi(t);e;e=yi(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function yi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function gi(t,e,o){return ui(t,e,{platform:{...hi,getOffsetParent:t=>hi.getOffsetParent(t,di)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Nr(r,t),c={x:e,y:o},f=await Ar(t,l),p=kr(Cr(i)),h=$r(p);let u=c[h],d=c[p];if(n){const t="y"===h?"bottom":"right";u=Sr(u+f["y"===h?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";d=Sr(d+f["y"===p?"top":"left"],d,d-f[t])}const y=s.fn({...t,[h]:u,[p]:d});return{...y,data:{x:y.x-e,y:y.y-o}}}}),jr({allowedPlacements:[o]})]});var r}var bi=Object.freeze({__proto__:null,computeOffsetPosition:gi});
85
136
  /**
86
137
  * @license
87
138
  * Copyright 2019 Google LLC
88
139
  * SPDX-License-Identifier: BSD-3-Clause
89
- */
90
- const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Le extends xo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{We?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=ke.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ke,Ae=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const je=Symbol("constructorPrototype"),Fe=Symbol("constructorName"),ze=Symbol("exportpartsDebouncer");class Ze extends Le{constructor(){super(),this[Ke]=new i(5),this[Fe]=this.constructor.name,this[je]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fe]&&Object.setPrototypeOf(this,this[je])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,o;if((null!==(o=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[ze].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ke=ze,Ae([R()],Ze.prototype,"exportpartsPrefix",void 0),Ae([A([])],Ze.prototype,"exportpartsPrefixes",void 0),Ae([R()],Ze.prototype,"customStylesheet",void 0);const Me=So.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
140
+ */const mi=window,vi=mi.ShadowRoot&&(void 0===mi.ShadyCSS||mi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class xi extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{vi?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=mi.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Oi,wi=Object.freeze({__proto__:null,ScopedRegistryLitElement:xi}),Si=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ni=Symbol("constructorPrototype"),Ci=Symbol("constructorName"),Ei=Symbol("exportpartsDebouncer");class $i extends xi{constructor(){super(),this[Oi]=new ao(5),this[Ci]=this.constructor.name,this[Ni]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ci]&&Object.setPrototypeOf(this,this[Ni])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Ei].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Oi=Ei,Si([we()],$i.prototype,"exportpartsPrefix",void 0),Si([yo([])],$i.prototype,"exportpartsPrefixes",void 0),Si([we()],$i.prototype,"customStylesheet",void 0);var Ri=Object.freeze({__proto__:null,FtLitElement:$i}),ki=Object.freeze({__proto__:null});class Ii{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Ii.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Ii(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,l=[],c=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,l)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(l,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Li=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Ii(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Ii.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,l=(o>n.end?n.end:o)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=l),t.nodes[o].end-=l)})),o-=l,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,i.value);l&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,l)),(t=>{l++,o++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Ii.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},Ui=vo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Wi=ht`
91
141
  .highlight-html-match {
92
- background: ${Me};
142
+ background: ${Ui};
93
143
  }
94
- `;const Pe=wt`
144
+ `,Ai={className:"highlight-html-match"};var Fi=Object.freeze({__proto__:null,highlightHtml:function(t,e){var o;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=e?e:"")){const r=new Li(t);if(r.unmark(Ai),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...Ai,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Ai,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:Ui,highlightHtmlStyles:Wi});const ji=ht`
95
145
  .ft-no-text-select {
96
146
  -webkit-touch-callout: none;
97
147
  -webkit-user-select: none;
@@ -100,7 +150,7 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
100
150
  -ms-user-select: none;
101
151
  user-select: none;
102
152
  }
103
- `;wt`
153
+ `,_i=ht`
104
154
  .ft-word-wrap {
105
155
  white-space: normal;
106
156
  word-wrap: break-word;
@@ -112,7 +162,7 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
112
162
  -webkit-hyphens: auto;
113
163
  hyphens: auto
114
164
  }
115
- `;const De=wt`
165
+ `,Bi=ht`
116
166
  .ft-safari-ellipsis-fix {
117
167
  margin-right: 0;
118
168
 
@@ -123,7 +173,7 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
123
173
  display: inline-block;
124
174
  width: 0;
125
175
  }
126
- `;class Be{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}class He{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Te(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var _e,Ge,Ve;const Ye=Symbol("internalReduxEventsUnsubscribers"),qe=Symbol("internalStoresUnsubscribers"),Je=Symbol("internalStores");class Xe extends Ze{constructor(){super(...arguments),this[_e]=new Map,this[Ge]=new Map,this[Ve]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Je].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Je].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Je].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Te(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Je].delete(o)}setupStore(t,o){this[Je].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Je].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[qe].has(t.store):this[qe].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[qe].set(t,o.subscribe((()=>this.updateFromStores()))),Te(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Ye].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qe].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Ye].forEach((t=>t())),this[Ye]=[]}unsubscribeFromStore(t){this[qe].has(t)&&this[qe].get(t)(),this[qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Qe(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function tr(t){return!!t&&!!t[Mr]}function or(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Pr}(t)||Array.isArray(t)||!!t[Zr]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Zr])||sr(t)||lr(t))}function er(t,o,e){void 0===e&&(e=!1),0===rr(t)?(e?Object.keys:Dr)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function rr(t){var o=t[Mr];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:sr(t)?2:lr(t)?3:0}function ir(t,o){return 2===rr(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function nr(t,o,e){var r=rr(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function ar(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function sr(t){return Ar&&t instanceof Map}function lr(t){return jr&&t instanceof Set}function cr(t){return t.o||t.t}function fr(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Br(t);delete o[Mr];for(var e=Dr(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function pr(t,o){return void 0===o&&(o=!1),ur(t)||tr(t)||!or(t)||(rr(t)>1&&(t.set=t.add=t.clear=t.delete=hr),Object.freeze(t),o&&er(t,(function(t,o){return pr(o,!0)}),!0)),t}function hr(){Qe(2)}function ur(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function dr(t){var o=Hr[t];return o||Qe(18,t),o}function yr(){return Lr}function gr(t,o){o&&(dr("Patches"),t.u=[],t.s=[],t.v=o)}function br(t){mr(t),t.p.forEach(xr),t.p=null}function mr(t){t===Lr&&(Lr=t.l)}function vr(t){return Lr={p:[],l:Lr,h:t,m:!0,_:0}}function xr(t){var o=t[Mr];0===o.i||1===o.i?o.j():o.g=!0}function Or(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||dr("ES5").S(o,t,r),r?(e[Mr].P&&(br(o),Qe(4)),or(t)&&(t=wr(o,t),o.l||Nr(o,t)),o.u&&dr("Patches").M(e[Mr].t,t,o.u,o.s)):t=wr(o,e,[]),br(o),o.u&&o.v(o.u,o.s),t!==zr?t:void 0}function wr(t,o,e){if(ur(o))return o;var r=o[Mr];if(!r)return er(o,(function(i,n){return Sr(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Nr(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=fr(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),er(n,(function(o,n){return Sr(t,r,i,o,n,e,a)})),Nr(t,i,!1),e&&t.u&&dr("Patches").N(r,e,t.u,t.s)}return r.o}function Sr(t,o,e,r,i,n,a){if(tr(i)){var s=wr(t,i,n&&o&&3!==o.i&&!ir(o.R,r)?n.concat(r):void 0);if(nr(e,r,s),!tr(s))return;t.m=!1}else a&&e.add(i);if(or(i)&&!ur(i)){if(!t.h.D&&t._<1)return;wr(t,i),o&&o.A.l||Nr(t,i)}}function Nr(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&pr(o,e)}function Cr(t,o){var e=t[Mr];return(e?cr(e):t)[o]}function Er(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function $r(t){t.P||(t.P=!0,t.l&&$r(t.l))}function Rr(t){t.o||(t.o=fr(t.t))}function Ur(t,o,e){var r=sr(o)?dr("MapSet").F(o,e):lr(o)?dr("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:yr(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Tr;e&&(i=[r],n=_r);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):dr("ES5").J(o,e);return(e?e.A:yr()).p.push(r),r}function Ir(t){return tr(t)||Qe(22,t),function t(o){if(!or(o))return o;var e,r=o[Mr],i=rr(o);if(r){if(!r.P&&(r.i<4||!dr("ES5").K(r)))return r.t;r.I=!0,e=kr(o,i),r.I=!1}else e=kr(o,i);return er(e,(function(o,i){r&&function(t,o){return 2===rr(t)?t.get(o):t[o]}(r.t,o)===i||nr(e,o,t(i))})),3===i?new Set(e):e}(t)}function kr(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return fr(t)}_e=qe,Ge=Je,Ve=Ye,Xe.reduxProperties=new Map,Xe.reduxReactiveProperties=new Set,Xe.reduxEventListeners=new Map;var Wr,Lr,Kr="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ar="undefined"!=typeof Map,jr="undefined"!=typeof Set,Fr="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,zr=Kr?Symbol.for("immer-nothing"):((Wr={})["immer-nothing"]=!0,Wr),Zr=Kr?Symbol.for("immer-draftable"):"__$immer_draftable",Mr=Kr?Symbol.for("immer-state"):"__$immer_state",Pr=""+Object.prototype.constructor,Dr="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Br=Object.getOwnPropertyDescriptors||function(t){var o={};return Dr(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Hr={},Tr={get:function(t,o){if(o===Mr)return t;var e=cr(t);if(!ir(e,o))return function(t,o,e){var r,i=Er(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!or(r)?r:r===Cr(t.t,o)?(Rr(t),t.o[o]=Ur(t.A.h,r,t)):r},has:function(t,o){return o in cr(t)},ownKeys:function(t){return Reflect.ownKeys(cr(t))},set:function(t,o,e){var r=Er(cr(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=Cr(cr(t),o),n=null==i?void 0:i[Mr];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(ar(e,i)&&(void 0!==e||ir(t.t,o)))return!0;Rr(t),$r(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==Cr(t.t,o)||o in t.t?(t.R[o]=!1,Rr(t),$r(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=cr(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Qe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Qe(12)}},_r={};er(Tr,(function(t,o){_r[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),_r.deleteProperty=function(t,o){return _r.set.call(this,t,o,void 0)},_r.set=function(t,o,e){return Tr.set.call(this,t[0],o,e,t[0])};var Gr=function(){function t(t){var o=this;this.O=Fr,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Qe(6),void 0!==r&&"function"!=typeof r&&Qe(7),or(t)){var s=vr(o),l=Ur(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?br(s):mr(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return gr(s,r),Or(t,s)}),(function(t){throw br(s),t})):(gr(s,r),Or(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===zr&&(a=void 0),o.D&&pr(a,!0),r){var f=[],p=[];dr("Patches").M(t,a,f,p),r(f,p)}return a}Qe(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"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){or(t)||Qe(8),tr(t)&&(t=Ir(t));var o=vr(this),e=Ur(this,t,void 0);return e[Mr].C=!0,mr(o),e},o.finishDraft=function(t,o){var e=(t&&t[Mr]).A;return gr(e,o),Or(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Fr&&Qe(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=dr("Patches").$;return tr(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),Vr=new Gr,Yr=Vr.produce;function qr(t){return qr="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},qr(t)}function Jr(t){var o=function(t,o){if("object"!==qr(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==qr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===qr(o)?o:String(o)}function Xr(t,o,e){return(o=Jr(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Qr(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function ti(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Qr(Object(e),!0).forEach((function(o){Xr(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Qr(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function oi(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. "}Vr.produceWithPatches.bind(Vr),Vr.setAutoFreeze.bind(Vr),Vr.setUseProxies.bind(Vr),Vr.applyPatches.bind(Vr),Vr.createDraft.bind(Vr),Vr.finishDraft.bind(Vr);var ei="function"==typeof Symbol&&Symbol.observable||"@@observable",ri=function(){return Math.random().toString(36).substring(7).split("").join(".")},ii={INIT:"@@redux/INIT"+ri(),REPLACE:"@@redux/REPLACE"+ri(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ri()}};function ni(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(oi(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(oi(1));return e(ni)(t,o)}if("function"!=typeof t)throw new Error(oi(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(oi(3));return n}function p(t){if("function"!=typeof t)throw new Error(oi(4));if(l)throw new Error(oi(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(oi(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(oi(7));if(void 0===t.type)throw new Error(oi(8));if(l)throw new Error(oi(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return h({type:ii.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(oi(10));i=t,h({type:ii.REPLACE})}})[ei]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(oi(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ei]=function(){return this},t},r}function ai(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:ii.INIT}))throw new Error(oi(12));if(void 0===e(void 0,{type:ii.PROBE_UNKNOWN_ACTION()}))throw new Error(oi(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(oi(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function si(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function li(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(oi(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=si.apply(void 0,n)(e.dispatch),ti(ti({},e),{},{dispatch:r})}}}function ci(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var fi=ci();fi.withExtraArgument=ci;var pi,hi=fi,ui=(pi=function(t,o){return pi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},pi(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}pi(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),di=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},yi=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},gi=Object.defineProperty,bi=Object.defineProperties,mi=Object.getOwnPropertyDescriptors,vi=Object.getOwnPropertySymbols,xi=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable,wi=function(t,o,e){return o in t?gi(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Si=function(t,o){for(var e in o||(o={}))xi.call(o,e)&&wi(t,e,o[e]);if(vi)for(var r=0,i=vi(o);r<i.length;r++){e=i[r];Oi.call(o,e)&&wi(t,e,o[e])}return t},Ni=function(t,o){return bi(t,mi(o))},Ci="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?si:si.apply(null,arguments)};var Ei=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return ui(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,yi([void 0],t[0].concat(this)))):new(o.bind.apply(o,yi([void 0],t.concat(this))))},o}(Array),$i=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return ui(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,yi([void 0],t[0].concat(this)))):new(o.bind.apply(o,yi([void 0],t.concat(this))))},o}(Array);function Ri(t){return or(t)?Yr(t,(function(){})):t}function Ui(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Ei;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(hi.withExtraArgument(e.extraArgument)):r.push(hi));return r}(t)}}function Ii(t){var o,e=Ui(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))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=ai(n)}var d=s;"function"==typeof d&&(d=d(e));var y=li.apply(void 0,d),g=si;c&&(g=Ci(Si({trace:!1},"object"==typeof c&&c)));var b=new $i(y),m=b;return Array.isArray(u)?m=yi([y],u):"function"==typeof u&&(m=u(b)),ni(o,p,g.apply(void 0,m))}function ki(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Si(Si({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Wi(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Li(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ri(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?Wi(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=Si(Si({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Wi(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ri(t())};else{var c=Ri(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=yi([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(tr(t))return void 0===(r=e(t,o))?t:r;if(or(t))return Yr(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?ki(c,r):ki(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ki=["name","message","stack","code"],Ai=function(t,o){this.payload=t,this.meta=o},ji=function(t,o){this.payload=t,this.meta=o},Fi=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ki;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function zi(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=ki(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ni(Si({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=ki(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ni(Si({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=ki(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Fi)(t||"Rejected"),meta:Ni(Si({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,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,l,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return di(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return h.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==e?void 0:e.getPendingMeta)?void 0:d.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,o){return new Ai(t,o)},fulfillWithValue:function(t,o){return new ji(t,o)}})).then((function(o){if(o instanceof Ai)throw o;return o instanceof ji?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ai?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:p,arg:t,unwrap:function(){return d.then(zi)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Zi="listenerMiddleware";ki(Zi+"/add"),ki(Zi+"/removeAll"),ki(Zi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Mr];return Tr.get(o,t)},set:function(o){var e=this[Mr];Tr.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Mr];if(!i.P)switch(i.i){case 5:r(i)&&$r(i);break;case 4:e(i)&&$r(i)}}}function e(t){for(var o=t.t,e=t.k,r=Dr(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Mr){var a=o[n];if(void 0===a&&!ir(o,n))return!0;var s=e[n],l=s&&s[Mr];if(l?l.t!==a:!ar(s,a))return!0}}var c=!!o[Mr];return r.length!==Dr(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){Hr[t]||(Hr[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Br(e);delete n[Mr];for(var a=Dr(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:yr(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Mr,{value:n,writable:!0}),i},S:function(t,e,i){i?tr(e)&&e[Mr].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Mr];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)er(n,(function(o){o!==Mr&&(void 0!==i[o]||ir(i,o)?a[o]||t(n[o]):(a[o]=!0,$r(e)))})),er(i,(function(t){void 0!==n[t]||ir(n,t)||(a[t]=!1,$r(e))}));else if(5===s){if(r(e)&&($r(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Mi{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Te(i))return i;if(null==r)return;const n=Li({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Ii({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Mi(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new He,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Pi=Symbol("elementInternals");var Di,Bi,Hi;const Ti=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Hi=null===(Bi=null===(Di=window.safari)||void 0===Di?void 0:Di.pushNotification)||void 0===Bi?void 0:Bi.toString())&&void 0!==Hi?Hi:""),_i=So.extend("--ft-ripple-color","",Uo.colorContent),Gi={color:_i,backgroundColor:So.extend("--ft-ripple-background-color","",_i),opacityContentOnSurfacePressed:So.external(Uo.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:So.external(Uo.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:So.external(Uo.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:So.external(Uo.opacityContentOnSurfaceSelected,"Design system"),borderRadius:So.create("--ft-ripple-border-radius","","SIZE","0px")},Vi=So.extend("--ft-ripple-color","",Uo.colorPrimary),Yi=Vi,qi=So.extend("--ft-ripple-background-color","",Vi),Ji=So.extend("--ft-ripple-color","",Uo.colorSecondary),Xi=Ji,Qi=So.extend("--ft-ripple-background-color","",Ji),tn=wt`
176
+ `;var zi=Object.freeze({__proto__:null,noTextSelect:ji,safariEllipsisFix:Bi,wordWrap:_i}),Mi=Object.freeze({__proto__:null});class Pi{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}var Ki=Object.freeze({__proto__:null,ParametrizedLabelResolver:Pi});const Di=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!po(t,e),attribute:!1,...e};we(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class Zi{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Hi(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Ti,Gi,Vi;const qi=Symbol("internalReduxEventsUnsubscribers"),Yi=Symbol("internalStoresUnsubscribers"),Ji=Symbol("internalStores");class Xi extends $i{constructor(){super(...arguments),this[Ti]=new Map,this[Gi]=new Map,this[Vi]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ji].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ji].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ji].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Hi(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ji].delete(e)}setupStore(t,e){this[Ji].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ji].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Yi].has(t.store):this[Yi].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Yi].set(t,e.subscribe((()=>this.updateFromStores()))),Hi(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[qi].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Yi].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[qi].forEach((t=>t())),this[qi]=[]}unsubscribeFromStore(t){this[Yi].has(t)&&this[Yi].get(t)(),this[Yi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Qi(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function tn(t){return!!t&&!!t[Pn]}function en(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Kn}(t)||Array.isArray(t)||!!t[Mn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Mn])||ln(t)||cn(t))}function on(t,e,o){void 0===o&&(o=!1),0===rn(t)?(o?Object.keys:Dn)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function rn(t){var e=t[Pn];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ln(t)?2:cn(t)?3:0}function nn(t,e){return 2===rn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function an(t,e,o){var r=rn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function sn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ln(t){return jn&&t instanceof Map}function cn(t){return _n&&t instanceof Set}function fn(t){return t.o||t.t}function pn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Zn(t);delete e[Pn];for(var o=Dn(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function hn(t,e){return void 0===e&&(e=!1),dn(t)||tn(t)||!en(t)||(rn(t)>1&&(t.set=t.add=t.clear=t.delete=un),Object.freeze(t),e&&on(t,(function(t,e){return hn(e,!0)}),!0)),t}function un(){Qi(2)}function dn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function yn(t){var e=Hn[t];return e||Qi(18,t),e}function gn(){return An}function bn(t,e){e&&(yn("Patches"),t.u=[],t.s=[],t.v=e)}function mn(t){vn(t),t.p.forEach(On),t.p=null}function vn(t){t===An&&(An=t.l)}function xn(t){return An={p:[],l:An,h:t,m:!0,_:0}}function On(t){var e=t[Pn];0===e.i||1===e.i?e.j():e.g=!0}function wn(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||yn("ES5").S(e,t,r),r?(o[Pn].P&&(mn(e),Qi(4)),en(t)&&(t=Sn(e,t),e.l||Cn(e,t)),e.u&&yn("Patches").M(o[Pn].t,t,e.u,e.s)):t=Sn(e,o,[]),mn(e),e.u&&e.v(e.u,e.s),t!==zn?t:void 0}function Sn(t,e,o){if(dn(e))return e;var r=e[Pn];if(!r)return on(e,(function(i,n){return Nn(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Cn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=pn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),on(n,(function(e,n){return Nn(t,r,i,e,n,o,a)})),Cn(t,i,!1),o&&t.u&&yn("Patches").N(r,o,t.u,t.s)}return r.o}function Nn(t,e,o,r,i,n,a){if(tn(i)){var s=Sn(t,i,n&&e&&3!==e.i&&!nn(e.R,r)?n.concat(r):void 0);if(an(o,r,s),!tn(s))return;t.m=!1}else a&&o.add(i);if(en(i)&&!dn(i)){if(!t.h.D&&t._<1)return;Sn(t,i),e&&e.A.l||Cn(t,i)}}function Cn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&hn(e,o)}function En(t,e){var o=t[Pn];return(o?fn(o):t)[e]}function $n(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Rn(t){t.P||(t.P=!0,t.l&&Rn(t.l))}function kn(t){t.o||(t.o=pn(t.t))}function In(t,e,o){var r=ln(e)?yn("MapSet").F(e,o):cn(e)?yn("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:gn(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Tn;o&&(i=[r],n=Gn);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(e,o):yn("ES5").J(e,o);return(o?o.A:gn()).p.push(r),r}function Ln(t){return tn(t)||Qi(22,t),function t(e){if(!en(e))return e;var o,r=e[Pn],i=rn(e);if(r){if(!r.P&&(r.i<4||!yn("ES5").K(r)))return r.t;r.I=!0,o=Un(e,i),r.I=!1}else o=Un(e,i);return on(o,(function(e,i){r&&function(t,e){return 2===rn(t)?t.get(e):t[e]}(r.t,e)===i||an(o,e,t(i))})),3===i?new Set(o):o}(t)}function Un(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return pn(t)}Ti=Yi,Gi=Ji,Vi=qi,Xi.reduxProperties=new Map,Xi.reduxReactiveProperties=new Set,Xi.reduxEventListeners=new Map;var Wn,An,Fn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),jn="undefined"!=typeof Map,_n="undefined"!=typeof Set,Bn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,zn=Fn?Symbol.for("immer-nothing"):((Wn={})["immer-nothing"]=!0,Wn),Mn=Fn?Symbol.for("immer-draftable"):"__$immer_draftable",Pn=Fn?Symbol.for("immer-state"):"__$immer_state",Kn=""+Object.prototype.constructor,Dn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Zn=Object.getOwnPropertyDescriptors||function(t){var e={};return Dn(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Hn={},Tn={get:function(t,e){if(e===Pn)return t;var o=fn(t);if(!nn(o,e))return function(t,e,o){var r,i=$n(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!en(r)?r:r===En(t.t,e)?(kn(t),t.o[e]=In(t.A.h,r,t)):r},has:function(t,e){return e in fn(t)},ownKeys:function(t){return Reflect.ownKeys(fn(t))},set:function(t,e,o){var r=$n(fn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=En(fn(t),e),n=null==i?void 0:i[Pn];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(sn(o,i)&&(void 0!==o||nn(t.t,e)))return!0;kn(t),Rn(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==En(t.t,e)||e in t.t?(t.R[e]=!1,kn(t),Rn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=fn(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Qi(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Qi(12)}},Gn={};on(Tn,(function(t,e){Gn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Gn.deleteProperty=function(t,e){return Gn.set.call(this,t,e,void 0)},Gn.set=function(t,e,o){return Tn.set.call(this,t[0],e,o,t[0])};var Vn=function(){function t(t){var e=this;this.O=Bn,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Qi(6),void 0!==r&&"function"!=typeof r&&Qi(7),en(t)){var s=xn(e),l=In(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?mn(s):vn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return bn(s,r),wn(t,s)}),(function(t){throw mn(s),t})):(bn(s,r),wn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===zn&&(a=void 0),e.D&&hn(a,!0),r){var f=[],p=[];yn("Patches").M(t,a,f,p),r(f,p)}return a}Qi(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){en(t)||Qi(8),tn(t)&&(t=Ln(t));var e=xn(this),o=In(this,t,void 0);return o[Pn].C=!0,vn(e),o},e.finishDraft=function(t,e){var o=(t&&t[Pn]).A;return bn(o,e),wn(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Bn&&Qi(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=yn("Patches").$;return tn(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),qn=new Vn,Yn=qn.produce;function Jn(t){return Jn="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},Jn(t)}function Xn(t){var e=function(t,e){if("object"!==Jn(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Jn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Jn(e)?e:String(e)}function Qn(t,e,o){return(e=Xn(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ta(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function ea(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ta(Object(o),!0).forEach((function(e){Qn(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ta(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function oa(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. "}qn.produceWithPatches.bind(qn),qn.setAutoFreeze.bind(qn),qn.setUseProxies.bind(qn),qn.applyPatches.bind(qn),qn.createDraft.bind(qn),qn.finishDraft.bind(qn);var ra="function"==typeof Symbol&&Symbol.observable||"@@observable",ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},na={INIT:"@@redux/INIT"+ia(),REPLACE:"@@redux/REPLACE"+ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ia()}};function aa(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(oa(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(oa(1));return o(aa)(t,e)}if("function"!=typeof t)throw new Error(oa(2));var i=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(oa(3));return n}function p(t){if("function"!=typeof t)throw new Error(oa(4));if(l)throw new Error(oa(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(oa(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(oa(7));if(void 0===t.type)throw new Error(oa(8));if(l)throw new Error(oa(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type:na.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(oa(10));i=t,h({type:na.REPLACE})}})[ra]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(oa(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[ra]=function(){return this},t},r}function sa(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:na.INIT}))throw new Error(oa(12));if(void 0===o(void 0,{type:na.PROBE_UNKNOWN_ACTION()}))throw new Error(oa(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],p=c(f,e);if(void 0===p)throw e&&e.type,new Error(oa(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function la(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ca(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(oa(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=la.apply(void 0,n)(o.dispatch),ea(ea({},o),{},{dispatch:r})}}}function fa(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var pa=fa();pa.withExtraArgument=fa;var ha,ua=pa,da=(ha=function(t,e){return ha=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},ha(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}ha(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),ya=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ga=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},ba=Object.defineProperty,ma=Object.defineProperties,va=Object.getOwnPropertyDescriptors,xa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,wa=Object.prototype.propertyIsEnumerable,Sa=function(t,e,o){return e in t?ba(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Na=function(t,e){for(var o in e||(e={}))Oa.call(e,o)&&Sa(t,o,e[o]);if(xa)for(var r=0,i=xa(e);r<i.length;r++){o=i[r];wa.call(e,o)&&Sa(t,o,e[o])}return t},Ca=function(t,e){return ma(t,va(e))},Ea="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?la:la.apply(null,arguments)};var $a=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return da(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ga([void 0],t[0].concat(this)))):new(e.bind.apply(e,ga([void 0],t.concat(this))))},e}(Array),Ra=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return da(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ga([void 0],t[0].concat(this)))):new(e.bind.apply(e,ga([void 0],t.concat(this))))},e}(Array);function ka(t){return en(t)?Yn(t,(function(){})):t}function Ia(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new $a;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(ua.withExtraArgument(o.extraArgument)):r.push(ua));return r}(t)}}function La(t){var e,o=Ia(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=sa(n)}var d=s;"function"==typeof d&&(d=d(o));var y=ca.apply(void 0,d),g=la;c&&(g=Ea(Na({trace:!1},"object"==typeof c&&c)));var b=new Ra(y),m=b;return Array.isArray(u)?m=ga([y],u):"function"==typeof u&&(m=u(b)),aa(e,p,g.apply(void 0,m))}function Ua(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Na(Na({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Wa(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Aa(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:ka(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Wa(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=Na(Na({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Wa(e):[e,o,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return ka(t())};else{var c=ka(t);i=function(){return c}}function f(t,e){void 0===t&&(t=i());var o=ga([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var r;if(tn(t))return void 0===(r=o(t,e))?t:r;if(en(t))return Yn(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,r,n=i[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=r?Ua(c,r):Ua(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Fa=["name","message","stack","code"],ja=function(t,e){this.payload=t,this.meta=e},_a=function(t,e){this.payload=t,this.meta=e},Ba=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Fa;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function za(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Ua(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Ca(Na({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Ua(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ca(Na({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ua(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ba)(t||"Rejected"),meta:Ca(Na({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,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,l,c){var f,p=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return ya(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,e){return new ja(t,e)},fulfillWithValue:function(t,e){return new _a(t,e)}})).then((function(e){if(e instanceof ja)throw e;return e instanceof _a?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof ja?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:p,arg:t,unwrap:function(){return d.then(za)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ma="listenerMiddleware";Ua(Ma+"/add"),Ua(Ma+"/removeAll"),Ua(Ma+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Pn];return Tn.get(e,t)},set:function(e){var o=this[Pn];Tn.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Pn];if(!i.P)switch(i.i){case 5:r(i)&&Rn(i);break;case 4:o(i)&&Rn(i)}}}function o(t){for(var e=t.t,o=t.k,r=Dn(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Pn){var a=e[n];if(void 0===a&&!nn(e,n))return!0;var s=o[n],l=s&&s[Pn];if(l?l.t!==a:!sn(s,a))return!0}}var c=!!e[Pn];return r.length!==Dn(e).length+(c?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Hn[t]||(Hn[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Zn(o);delete n[Pn];for(var a=Dn(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:gn(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Pn,{value:n,writable:!0}),i},S:function(t,o,i){i?tn(o)&&o[Pn].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Pn];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)on(n,(function(e){e!==Pn&&(void 0!==i[e]||nn(i,e)?a[e]||t(n[e]):(a[e]=!0,Rn(o)))})),on(i,(function(t){void 0!==n[t]||nn(n,t)||(a[t]=!1,Rn(o))}));else if(5===s){if(r(o)&&(Rn(o),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Pa{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Hi(i))return i;if(null==r)return;const n=Aa({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=La({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Pa(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Zi,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ka=Object.freeze({__proto__:null,FtCommandQueue:Zi,FtLitElementRedux:Xi,FtReduxStore:Pa,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Hi(e)&&e.clear()},isFtReduxStore:Hi,redux:Di,reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var Da=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o;const r=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Za=Symbol("elementInternals");function Ha(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Za].form}constructor(...t){super(t),this[Za]=this.attachInternals(),this[Za].role=e}setFormValue(t){this[Za].setFormValue(t)}}}var Ta,Ga,Va,qa,Ya=Object.freeze({__proto__:null,toFtFormComponent:Ha});const Ja=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Va=null===(Ga=null===(Ta=window.safari)||void 0===Ta?void 0:Ta.pushNotification)||void 0===Ga?void 0:Ga.toString())&&void 0!==Va?Va:""),Xa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(qa=window.ftGlobals)&&void 0!==qa?qa:{lit:ve,litDecorators:ke,litRepeat:Ke,litClassMap:Ze,litStyleMap:Ve,litUnsafeHTML:Je,wcUtils:{...ro,...eo,...no,...so,...bo,...fr,...dr,...bi,...lr,...Ri,...ki,...ho,...Fi,...zi,...Mi,...Ki,...Ka,...wi,...Da,...Ya,isSafari:Ja,isTouchScreen:Xa}};const Qa=vo.extend("--ft-ripple-color","",cr.colorContent),ts={color:Qa,backgroundColor:vo.extend("--ft-ripple-background-color","",Qa),opacityContentOnSurfacePressed:vo.external(cr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:vo.external(cr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:vo.external(cr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:vo.external(cr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:vo.create("--ft-ripple-border-radius","","SIZE","0px")},es=vo.extend("--ft-ripple-color","",cr.colorPrimary),os=es,rs=vo.extend("--ft-ripple-background-color","",es),is=vo.extend("--ft-ripple-color","",cr.colorSecondary),ns=is,as=vo.extend("--ft-ripple-background-color","",is),ss=ht`
127
177
  :host {
128
178
  display: contents;
129
179
  }
@@ -136,7 +186,7 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
136
186
 
137
187
  .ft-ripple:not(.ft-ripple--unbounded) {
138
188
  overflow: hidden;
139
- border-radius: ${Gi.borderRadius};
189
+ border-radius: ${ts.borderRadius};
140
190
  }
141
191
 
142
192
  .ft-ripple .ft-ripple--background,
@@ -170,27 +220,27 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
170
220
  }
171
221
 
172
222
  .ft-ripple .ft-ripple--background {
173
- background-color: ${Gi.backgroundColor};
223
+ background-color: ${ts.backgroundColor};
174
224
  }
175
225
 
176
226
  .ft-ripple .ft-ripple--effect {
177
- background-color: ${Gi.color};
227
+ background-color: ${ts.color};
178
228
  }
179
229
 
180
230
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
181
- background-color: ${Qi};
231
+ background-color: ${as};
182
232
  }
183
233
 
184
234
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
185
- background-color: ${Xi};
235
+ background-color: ${ns};
186
236
  }
187
237
 
188
238
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
189
- background-color: ${qi};
239
+ background-color: ${rs};
190
240
  }
191
241
 
192
242
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
193
- background-color: ${Yi};
243
+ background-color: ${os};
194
244
  }
195
245
 
196
246
  .ft-ripple .ft-ripple--background {
@@ -220,126 +270,126 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
220
270
  }
221
271
 
222
272
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
223
- opacity: ${Gi.opacityContentOnSurfaceHover};
273
+ opacity: ${ts.opacityContentOnSurfaceHover};
224
274
  }
225
275
 
226
276
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
227
- opacity: ${Gi.opacityContentOnSurfaceSelected};
277
+ opacity: ${ts.opacityContentOnSurfaceSelected};
228
278
  }
229
279
 
230
280
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
231
- opacity: ${Gi.opacityContentOnSurfaceFocused};
281
+ opacity: ${ts.opacityContentOnSurfaceFocused};
232
282
  }
233
283
 
234
284
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
235
- opacity: ${Gi.opacityContentOnSurfacePressed};
285
+ opacity: ${ts.opacityContentOnSurfacePressed};
236
286
  transform: translate(-50%, -50%) scale(1);
237
287
  }
238
- `;const on=So.extend("--ft-typography-font-family","",Uo.titleFont),en=So.extend("--ft-typography-font-family","",Uo.contentFont),rn={fontFamily:en,fontSize:So.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:So.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:So.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:So.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:So.create("--ft-typography-text-transform","","UNKNOWN","inherit")},nn=So.extend("--ft-typography-title-font-family","",on),an=So.extend("--ft-typography-title-font-size","",rn.fontSize,"20px"),sn=So.extend("--ft-typography-title-font-weight","",rn.fontWeight,"normal"),ln=So.extend("--ft-typography-title-letter-spacing","",rn.letterSpacing,"0.15px"),cn=So.extend("--ft-typography-title-line-height","",rn.lineHeight,"1.2"),fn=So.extend("--ft-typography-title-text-transform","",rn.textTransform,"inherit"),pn=So.extend("--ft-typography-title-dense-font-family","",on),hn=So.extend("--ft-typography-title-dense-font-size","",rn.fontSize,"14px"),un=So.extend("--ft-typography-title-dense-font-weight","",rn.fontWeight,"normal"),dn=So.extend("--ft-typography-title-dense-letter-spacing","",rn.letterSpacing,"0.105px"),yn=So.extend("--ft-typography-title-dense-line-height","",rn.lineHeight,"1.7"),gn=So.extend("--ft-typography-title-dense-text-transform","",rn.textTransform,"inherit"),bn=So.extend("--ft-typography-subtitle1-font-family","",en),mn=So.extend("--ft-typography-subtitle1-font-size","",rn.fontSize,"16px"),vn=So.extend("--ft-typography-subtitle1-font-weight","",rn.fontWeight,"600"),xn=So.extend("--ft-typography-subtitle1-letter-spacing","",rn.letterSpacing,"0.144px"),On=So.extend("--ft-typography-subtitle1-line-height","",rn.lineHeight,"1.5"),wn=So.extend("--ft-typography-subtitle1-text-transform","",rn.textTransform,"inherit"),Sn=So.extend("--ft-typography-subtitle2-font-family","",en),Nn=So.extend("--ft-typography-subtitle2-font-size","",rn.fontSize,"14px"),Cn=So.extend("--ft-typography-subtitle2-font-weight","",rn.fontWeight,"normal"),En=So.extend("--ft-typography-subtitle2-letter-spacing","",rn.letterSpacing,"0.098px"),$n=So.extend("--ft-typography-subtitle2-line-height","",rn.lineHeight,"1.7"),Rn=So.extend("--ft-typography-subtitle2-text-transform","",rn.textTransform,"inherit"),Un=So.extend("--ft-typography-body1-font-family","",en),In=So.extend("--ft-typography-body1-font-size","",rn.fontSize,"16px"),kn=So.extend("--ft-typography-body1-font-weight","",rn.fontWeight,"normal"),Wn=So.extend("--ft-typography-body1-letter-spacing","",rn.letterSpacing,"0.496px"),Ln=So.extend("--ft-typography-body1-line-height","",rn.lineHeight,"1.5"),Kn=So.extend("--ft-typography-body1-text-transform","",rn.textTransform,"inherit"),An=So.extend("--ft-typography-body2-font-family","",en),jn=So.extend("--ft-typography-body2-font-size","",rn.fontSize,"14px"),Fn=So.extend("--ft-typography-body2-font-weight","",rn.fontWeight,"normal"),zn=So.extend("--ft-typography-body2-letter-spacing","",rn.letterSpacing,"0.252px"),Zn=So.extend("--ft-typography-body2-line-height","",rn.lineHeight,"1.4"),Mn=So.extend("--ft-typography-body2-text-transform","",rn.textTransform,"inherit"),Pn=So.extend("--ft-typography-caption-font-family","",en),Dn=So.extend("--ft-typography-caption-font-size","",rn.fontSize,"12px"),Bn=So.extend("--ft-typography-caption-font-weight","",rn.fontWeight,"normal"),Hn=So.extend("--ft-typography-caption-letter-spacing","",rn.letterSpacing,"0.396px"),Tn=So.extend("--ft-typography-caption-line-height","",rn.lineHeight,"1.33"),_n=So.extend("--ft-typography-caption-text-transform","",rn.textTransform,"inherit"),Gn=So.extend("--ft-typography-breadcrumb-font-family","",en),Vn=So.extend("--ft-typography-breadcrumb-font-size","",rn.fontSize,"10px"),Yn=So.extend("--ft-typography-breadcrumb-font-weight","",rn.fontWeight,"normal"),qn=So.extend("--ft-typography-breadcrumb-letter-spacing","",rn.letterSpacing,"0.33px"),Jn=So.extend("--ft-typography-breadcrumb-line-height","",rn.lineHeight,"1.6"),Xn=So.extend("--ft-typography-breadcrumb-text-transform","",rn.textTransform,"inherit"),Qn=So.extend("--ft-typography-overline-font-family","",en),ta=So.extend("--ft-typography-overline-font-size","",rn.fontSize,"10px"),oa=So.extend("--ft-typography-overline-font-weight","",rn.fontWeight,"normal"),ea=So.extend("--ft-typography-overline-letter-spacing","",rn.letterSpacing,"1.5px"),ra=So.extend("--ft-typography-overline-line-height","",rn.lineHeight,"1.6"),ia=So.extend("--ft-typography-overline-text-transform","",rn.textTransform,"uppercase"),na={fontFamily:So.extend("--ft-typography-button-font-family","",en),fontSize:So.extend("--ft-typography-button-font-size","",rn.fontSize,"14px"),fontWeight:So.extend("--ft-typography-button-font-weight","",rn.fontWeight,"600"),letterSpacing:So.extend("--ft-typography-button-letter-spacing","",rn.letterSpacing,"1.246px"),lineHeight:So.extend("--ft-typography-button-line-height","",rn.lineHeight,"1.15"),textTransform:So.extend("--ft-typography-button-text-transform","",rn.textTransform,"uppercase")},aa=wt`
288
+ `;const ls=vo.extend("--ft-typography-font-family","",cr.titleFont),cs=vo.extend("--ft-typography-font-family","",cr.contentFont),fs={fontFamily:cs,fontSize:vo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:vo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:vo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:vo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:vo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ps=vo.extend("--ft-typography-title-font-family","",ls),hs=vo.extend("--ft-typography-title-font-size","",fs.fontSize,"20px"),us=vo.extend("--ft-typography-title-font-weight","",fs.fontWeight,"normal"),ds=vo.extend("--ft-typography-title-letter-spacing","",fs.letterSpacing,"0.15px"),ys=vo.extend("--ft-typography-title-line-height","",fs.lineHeight,"1.2"),gs=vo.extend("--ft-typography-title-text-transform","",fs.textTransform,"inherit"),bs=vo.extend("--ft-typography-title-dense-font-family","",ls),ms=vo.extend("--ft-typography-title-dense-font-size","",fs.fontSize,"14px"),vs=vo.extend("--ft-typography-title-dense-font-weight","",fs.fontWeight,"normal"),xs=vo.extend("--ft-typography-title-dense-letter-spacing","",fs.letterSpacing,"0.105px"),Os=vo.extend("--ft-typography-title-dense-line-height","",fs.lineHeight,"1.7"),ws=vo.extend("--ft-typography-title-dense-text-transform","",fs.textTransform,"inherit"),Ss=vo.extend("--ft-typography-subtitle1-font-family","",cs),Ns=vo.extend("--ft-typography-subtitle1-font-size","",fs.fontSize,"16px"),Cs=vo.extend("--ft-typography-subtitle1-font-weight","",fs.fontWeight,"600"),Es=vo.extend("--ft-typography-subtitle1-letter-spacing","",fs.letterSpacing,"0.144px"),$s=vo.extend("--ft-typography-subtitle1-line-height","",fs.lineHeight,"1.5"),Rs=vo.extend("--ft-typography-subtitle1-text-transform","",fs.textTransform,"inherit"),ks=vo.extend("--ft-typography-subtitle2-font-family","",cs),Is=vo.extend("--ft-typography-subtitle2-font-size","",fs.fontSize,"14px"),Ls=vo.extend("--ft-typography-subtitle2-font-weight","",fs.fontWeight,"normal"),Us=vo.extend("--ft-typography-subtitle2-letter-spacing","",fs.letterSpacing,"0.098px"),Ws=vo.extend("--ft-typography-subtitle2-line-height","",fs.lineHeight,"1.7"),As=vo.extend("--ft-typography-subtitle2-text-transform","",fs.textTransform,"inherit"),Fs=vo.extend("--ft-typography-body1-font-family","",cs),js=vo.extend("--ft-typography-body1-font-size","",fs.fontSize,"16px"),_s=vo.extend("--ft-typography-body1-font-weight","",fs.fontWeight,"normal"),Bs=vo.extend("--ft-typography-body1-letter-spacing","",fs.letterSpacing,"0.496px"),zs=vo.extend("--ft-typography-body1-line-height","",fs.lineHeight,"1.5"),Ms=vo.extend("--ft-typography-body1-text-transform","",fs.textTransform,"inherit"),Ps=vo.extend("--ft-typography-body2-font-family","",cs),Ks=vo.extend("--ft-typography-body2-font-size","",fs.fontSize,"14px"),Ds=vo.extend("--ft-typography-body2-font-weight","",fs.fontWeight,"normal"),Zs=vo.extend("--ft-typography-body2-letter-spacing","",fs.letterSpacing,"0.252px"),Hs=vo.extend("--ft-typography-body2-line-height","",fs.lineHeight,"1.4"),Ts=vo.extend("--ft-typography-body2-text-transform","",fs.textTransform,"inherit"),Gs=vo.extend("--ft-typography-caption-font-family","",cs),Vs=vo.extend("--ft-typography-caption-font-size","",fs.fontSize,"12px"),qs=vo.extend("--ft-typography-caption-font-weight","",fs.fontWeight,"normal"),Ys=vo.extend("--ft-typography-caption-letter-spacing","",fs.letterSpacing,"0.396px"),Js=vo.extend("--ft-typography-caption-line-height","",fs.lineHeight,"1.33"),Xs=vo.extend("--ft-typography-caption-text-transform","",fs.textTransform,"inherit"),Qs=vo.extend("--ft-typography-breadcrumb-font-family","",cs),tl=vo.extend("--ft-typography-breadcrumb-font-size","",fs.fontSize,"10px"),el=vo.extend("--ft-typography-breadcrumb-font-weight","",fs.fontWeight,"normal"),ol=vo.extend("--ft-typography-breadcrumb-letter-spacing","",fs.letterSpacing,"0.33px"),rl=vo.extend("--ft-typography-breadcrumb-line-height","",fs.lineHeight,"1.6"),il=vo.extend("--ft-typography-breadcrumb-text-transform","",fs.textTransform,"inherit"),nl=vo.extend("--ft-typography-overline-font-family","",cs),al=vo.extend("--ft-typography-overline-font-size","",fs.fontSize,"10px"),sl=vo.extend("--ft-typography-overline-font-weight","",fs.fontWeight,"normal"),ll=vo.extend("--ft-typography-overline-letter-spacing","",fs.letterSpacing,"1.5px"),cl=vo.extend("--ft-typography-overline-line-height","",fs.lineHeight,"1.6"),fl=vo.extend("--ft-typography-overline-text-transform","",fs.textTransform,"uppercase"),pl={fontFamily:vo.extend("--ft-typography-button-font-family","",cs),fontSize:vo.extend("--ft-typography-button-font-size","",fs.fontSize,"14px"),fontWeight:vo.extend("--ft-typography-button-font-weight","",fs.fontWeight,"600"),letterSpacing:vo.extend("--ft-typography-button-letter-spacing","",fs.letterSpacing,"1.246px"),lineHeight:vo.extend("--ft-typography-button-line-height","",fs.lineHeight,"1.15"),textTransform:vo.extend("--ft-typography-button-text-transform","",fs.textTransform,"uppercase")},hl=ht`
239
289
  .ft-typography--title {
240
- font-family: ${nn};
241
- font-size: ${an};
242
- font-weight: ${sn};
243
- letter-spacing: ${ln};
244
- line-height: ${cn};
245
- text-transform: ${fn};
246
- }
247
- `,sa=wt`
290
+ font-family: ${ps};
291
+ font-size: ${hs};
292
+ font-weight: ${us};
293
+ letter-spacing: ${ds};
294
+ line-height: ${ys};
295
+ text-transform: ${gs};
296
+ }
297
+ `,ul=ht`
248
298
  .ft-typography--title-dense {
249
- font-family: ${pn};
250
- font-size: ${hn};
251
- font-weight: ${un};
252
- letter-spacing: ${dn};
253
- line-height: ${yn};
254
- text-transform: ${gn};
255
- }
256
- `,la=wt`
299
+ font-family: ${bs};
300
+ font-size: ${ms};
301
+ font-weight: ${vs};
302
+ letter-spacing: ${xs};
303
+ line-height: ${Os};
304
+ text-transform: ${ws};
305
+ }
306
+ `,dl=ht`
257
307
  .ft-typography--subtitle1 {
258
- font-family: ${bn};
259
- font-size: ${mn};
260
- font-weight: ${vn};
261
- letter-spacing: ${xn};
262
- line-height: ${On};
263
- text-transform: ${wn};
264
- }
265
- `,ca=wt`
308
+ font-family: ${Ss};
309
+ font-size: ${Ns};
310
+ font-weight: ${Cs};
311
+ letter-spacing: ${Es};
312
+ line-height: ${$s};
313
+ text-transform: ${Rs};
314
+ }
315
+ `,yl=ht`
266
316
  .ft-typography--subtitle2 {
267
- font-family: ${Sn};
268
- font-size: ${Nn};
269
- font-weight: ${Cn};
270
- letter-spacing: ${En};
271
- line-height: ${$n};
272
- text-transform: ${Rn};
317
+ font-family: ${ks};
318
+ font-size: ${Is};
319
+ font-weight: ${Ls};
320
+ letter-spacing: ${Us};
321
+ line-height: ${Ws};
322
+ text-transform: ${As};
273
323
  }
274
324
 
275
- `,fa=wt`
325
+ `,gl=ht`
276
326
  .ft-typography--body1 {
277
- font-family: ${Un};
278
- font-size: ${In};
279
- font-weight: ${kn};
280
- letter-spacing: ${Wn};
281
- line-height: ${Ln};
282
- text-transform: ${Kn};
283
- }
284
- `,pa=wt`
327
+ font-family: ${Fs};
328
+ font-size: ${js};
329
+ font-weight: ${_s};
330
+ letter-spacing: ${Bs};
331
+ line-height: ${zs};
332
+ text-transform: ${Ms};
333
+ }
334
+ `,bl=ht`
285
335
  .ft-typography--body2 {
286
- font-family: ${An};
287
- font-size: ${jn};
288
- font-weight: ${Fn};
289
- letter-spacing: ${zn};
290
- line-height: ${Zn};
291
- text-transform: ${Mn};
292
- }
293
- `,ha=wt`
336
+ font-family: ${Ps};
337
+ font-size: ${Ks};
338
+ font-weight: ${Ds};
339
+ letter-spacing: ${Zs};
340
+ line-height: ${Hs};
341
+ text-transform: ${Ts};
342
+ }
343
+ `,ml=ht`
294
344
  .ft-typography--caption {
295
- font-family: ${Pn};
296
- font-size: ${Dn};
297
- font-weight: ${Bn};
298
- letter-spacing: ${Hn};
299
- line-height: ${Tn};
300
- text-transform: ${_n};
301
- }
302
- `,ua=wt`
345
+ font-family: ${Gs};
346
+ font-size: ${Vs};
347
+ font-weight: ${qs};
348
+ letter-spacing: ${Ys};
349
+ line-height: ${Js};
350
+ text-transform: ${Xs};
351
+ }
352
+ `,vl=ht`
303
353
  .ft-typography--breadcrumb {
304
- font-family: ${Gn};
305
- font-size: ${Vn};
306
- font-weight: ${Yn};
307
- letter-spacing: ${qn};
308
- line-height: ${Jn};
309
- text-transform: ${Xn};
310
- }
311
- `,da=wt`
354
+ font-family: ${Qs};
355
+ font-size: ${tl};
356
+ font-weight: ${el};
357
+ letter-spacing: ${ol};
358
+ line-height: ${rl};
359
+ text-transform: ${il};
360
+ }
361
+ `,xl=ht`
312
362
  .ft-typography--overline {
313
- font-family: ${Qn};
314
- font-size: ${ta};
315
- font-weight: ${oa};
316
- letter-spacing: ${ea};
317
- line-height: ${ra};
318
- text-transform: ${ia};
319
- }
320
- `,ya=wt`
363
+ font-family: ${nl};
364
+ font-size: ${al};
365
+ font-weight: ${sl};
366
+ letter-spacing: ${ll};
367
+ line-height: ${cl};
368
+ text-transform: ${fl};
369
+ }
370
+ `,Ol=ht`
321
371
  .ft-typography--button {
322
- font-family: ${na.fontFamily};
323
- font-size: ${na.fontSize};
324
- font-weight: ${na.fontWeight};
325
- letter-spacing: ${na.letterSpacing};
326
- line-height: ${na.lineHeight};
327
- text-transform: ${na.textTransform};
328
- }
329
- `,ga=wt`
372
+ font-family: ${pl.fontFamily};
373
+ font-size: ${pl.fontSize};
374
+ font-weight: ${pl.fontWeight};
375
+ letter-spacing: ${pl.letterSpacing};
376
+ line-height: ${pl.lineHeight};
377
+ text-transform: ${pl.textTransform};
378
+ }
379
+ `,wl=ht`
330
380
  .ft-typography {
331
381
  vertical-align: inherit;
332
382
  }
333
- `,ba=[Object.keys(Eo).map((t=>function(t){const o=Eo[t];return wt`
334
- .ft-typography--${Ot(t)} {
335
- font-family: ${o.fontFamily};
336
- font-size: ${o.fontSize};
337
- font-weight: ${o.fontWeight};
338
- letter-spacing: ${o.letterSpacing};
339
- line-height: ${o.lineHeight};
340
- text-transform: ${o.textCase};
383
+ `,Sl=[Object.keys(Go).map((t=>function(t){const e=Go[t];return ht`
384
+ .ft-typography--${pt(t)} {
385
+ font-family: ${e.fontFamily};
386
+ font-size: ${e.fontSize};
387
+ font-weight: ${e.fontWeight};
388
+ letter-spacing: ${e.letterSpacing};
389
+ line-height: ${e.lineHeight};
390
+ text-transform: ${e.textCase};
341
391
  }
342
- `}(t)))],ma={color:So.extend("--ft-loader-color","",Uo.colorPrimary),size:So.create("--ft-loader-size","","SIZE","80px")},va=wt`
392
+ `}(t)))],Nl={color:vo.extend("--ft-loader-color","",cr.colorPrimary),size:vo.create("--ft-loader-size","","SIZE","80px")},Cl=ht`
343
393
  :host {
344
394
  line-height: 0;
345
395
  }
@@ -348,8 +398,8 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
348
398
  display: inline-block;
349
399
  position: relative;
350
400
 
351
- width: ${ma.size};
352
- height: ${ma.size};
401
+ width: ${Nl.size};
402
+ height: ${Nl.size};
353
403
  }
354
404
 
355
405
  .ft-loader div {
@@ -358,7 +408,7 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
358
408
  width: 25%;
359
409
  height: 25%;
360
410
  border-radius: 50%;
361
- background: ${ma.color};
411
+ background: ${Nl.color};
362
412
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
363
413
  }
364
414
 
@@ -405,10 +455,10 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
405
455
  transform: translate(0, 0);
406
456
  }
407
457
  100% {
408
- transform: translate(calc(0.35 * ${ma.size}), 0);
458
+ transform: translate(calc(0.35 * ${Nl.size}), 0);
409
459
  }
410
460
  }
411
- `,xa={size:So.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:So.extend("--ft-icon-fluid-topics-font-family","",So.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:So.extend("--ft-icon-file-format-font-family","",So.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:So.extend("--ft-icon-material-font-family","",So.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:So.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Oa=wt`
461
+ `,El={size:vo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:vo.extend("--ft-icon-fluid-topics-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:vo.extend("--ft-icon-file-format-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:vo.extend("--ft-icon-material-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:vo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},$l=ht`
412
462
  :host, i.ft-icon {
413
463
  display: inline-flex;
414
464
  align-items: center;
@@ -417,14 +467,14 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
417
467
  }
418
468
 
419
469
  :host {
420
- width: ${xa.size};
421
- height: ${xa.size};
470
+ width: ${El.size};
471
+ height: ${El.size};
422
472
  }
423
473
 
424
474
  i.ft-icon {
425
475
  width: 100%;
426
476
  height: 100%;
427
- font-size: ${xa.size};
477
+ font-size: ${El.size};
428
478
  line-height: 1;
429
479
  font-weight: normal;
430
480
  text-transform: none;
@@ -435,28 +485,28 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
435
485
  text-rendering: auto;
436
486
  -webkit-font-smoothing: antialiased;
437
487
  -moz-osx-font-smoothing: grayscale;
438
- vertical-align: ${xa.verticalAlign};
488
+ vertical-align: ${El.verticalAlign};
439
489
  }
440
490
 
441
491
  i.ft-icon.ft-icon--fluid-topics {
442
- font-family: ${xa.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
492
+ font-family: ${El.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
443
493
 
444
494
  /* Ugly fix because font is broken */
445
- font-size: calc(0.75 * ${xa.size});
446
- line-height: ${xa.size};
495
+ font-size: calc(0.75 * ${El.size});
496
+ line-height: ${El.size};
447
497
  position: relative;
448
498
  top: -4%;
449
499
  justify-content: center;
450
500
  }
451
501
 
452
502
  .ft-icon--file-format {
453
- font-family: ${xa.fileFormatFontFamily}, ft-mime, sans-serif;
503
+ font-family: ${El.fileFormatFontFamily}, ft-mime, sans-serif;
454
504
  }
455
505
 
456
506
  .ft-icon--material {
457
- font-family: ${xa.materialFontFamily}, "Material Icons", sans-serif;
507
+ font-family: ${El.materialFontFamily}, "Material Icons", sans-serif;
458
508
  }
459
- `,wa=So.extend("--ft-button-color","",Uo.colorPrimary),Sa={backgroundColor:So.extend("--ft-button-background-color","",Uo.colorSurface),borderRadius:So.extend("--ft-button-border-radius","",Uo.borderRadiusL),color:wa,fontSize:So.extend("--ft-button-font-size","",na.fontSize),iconSize:So.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:So.extend("--ft-button-ripple-color","",wa),verticalPadding:So.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:So.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:So.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:So.external(Uo.colorOpacityDisabled,"Design system")},Na=So.extend("--ft-button-primary-color","",So.extend("--ft-button-color","",Uo.colorOnPrimary)),Ca={backgroundColor:So.extend("--ft-button-primary-background-color","",So.extend("--ft-button-background-color","",Uo.colorPrimary)),color:Na,rippleColor:So.extend("--ft-button-primary-ripple-color","",Na)},Ea=So.extend("--ft-button-dense-border-radius","",So.extend("--ft-button-border-radius","",Uo.borderRadiusM)),$a=So.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ra=So.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ua=So.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ia=[wt`
509
+ `,Rl=vo.extend("--ft-button-color","",cr.colorPrimary),kl={backgroundColor:vo.extend("--ft-button-background-color","",cr.colorSurface),borderRadius:vo.extend("--ft-button-border-radius","",cr.borderRadiusL),color:Rl,fontSize:vo.extend("--ft-button-font-size","",pl.fontSize),iconSize:vo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:vo.extend("--ft-button-ripple-color","",Rl),verticalPadding:vo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:vo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:vo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:vo.external(cr.colorOpacityDisabled,"Design system")},Il=vo.extend("--ft-button-primary-color","",vo.extend("--ft-button-color","",cr.colorOnPrimary)),Ll={backgroundColor:vo.extend("--ft-button-primary-background-color","",vo.extend("--ft-button-background-color","",cr.colorPrimary)),color:Il,rippleColor:vo.extend("--ft-button-primary-ripple-color","",Il)},Ul=vo.extend("--ft-button-dense-border-radius","",vo.extend("--ft-button-border-radius","",cr.borderRadiusM)),Wl=vo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Al=vo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Fl=vo.create("--ft-button-dense-icon-padding","","SIZE","4px"),jl=[ht`
460
510
  :host {
461
511
  display: inline-block;
462
512
  max-width: 100%;
@@ -467,7 +517,7 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
467
517
  box-shadow: 0px 0px 0px transparent;
468
518
  border: 0px solid transparent;
469
519
  text-shadow: 0px 0px 0px transparent;
470
- font-size: ${Sa.fontSize};
520
+ font-size: ${kl.fontSize};
471
521
  }
472
522
 
473
523
  button:hover {
@@ -496,31 +546,31 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
496
546
  border: none;
497
547
  pointer-events: auto;
498
548
 
499
- --ft-button-internal-line-height: max(calc(${Sa.fontSize} + 2px), ${Sa.iconSize});
500
- --ft-button-internal-color: ${Sa.color};
501
- ${No(xa.size,Sa.iconSize)};
502
- ${No(Gi.color,Sa.rippleColor)};
549
+ --ft-button-internal-line-height: max(calc(${kl.fontSize} + 2px), ${kl.iconSize});
550
+ --ft-button-internal-color: ${kl.color};
551
+ ${xo(El.size,kl.iconSize)};
552
+ ${xo(ts.color,kl.rippleColor)};
503
553
 
504
- border-radius: ${Sa.borderRadius};
505
- padding: ${Sa.verticalPadding} ${Sa.horizontalPadding};
506
- background-color: ${Sa.backgroundColor};
554
+ border-radius: ${kl.borderRadius};
555
+ padding: ${kl.verticalPadding} ${kl.horizontalPadding};
556
+ background-color: ${kl.backgroundColor};
507
557
  color: var(--ft-button-internal-color);
508
558
  -webkit-mask-image: radial-gradient(white, black);
509
559
  }
510
560
 
511
561
  .ft-button.ft-button--outlined {
512
562
  border: 1px solid var(--ft-button-internal-color);
513
- padding: calc(${Sa.verticalPadding} - 1px) calc(${Sa.horizontalPadding} - 1px);
563
+ padding: calc(${kl.verticalPadding} - 1px) calc(${kl.horizontalPadding} - 1px);
514
564
  }
515
565
 
516
566
  .ft-button.ft-button--dense {
517
- padding: ${$a} ${Ra};
518
- border-radius: ${Ea};
519
- gap: ${Ua};
567
+ padding: ${Wl} ${Al};
568
+ border-radius: ${Ul};
569
+ gap: ${Fl};
520
570
  }
521
571
 
522
572
  .ft-button.ft-button--dense.ft-button--outlined {
523
- padding: calc(${$a} - 1px) calc(${Ra} - 1px);
573
+ padding: calc(${Wl} - 1px) calc(${Al} - 1px);
524
574
  }
525
575
 
526
576
  .ft-button:not([disabled]):hover {
@@ -528,22 +578,22 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
528
578
  }
529
579
 
530
580
  .ft-button--round {
531
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Sa.verticalPadding});
581
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${kl.verticalPadding});
532
582
  }
533
583
 
534
584
  .ft-button--round.ft-button--dense {
535
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${$a});
585
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Wl});
536
586
  }
537
587
 
538
588
  .ft-button[disabled] {
539
589
  filter: grayscale(1);
540
- opacity: ${Sa.opacityDisabled};
590
+ opacity: ${kl.opacityDisabled};
541
591
  }
542
592
 
543
593
  .ft-button.ft-button--primary {
544
- background-color: ${Ca.backgroundColor};
545
- --ft-button-internal-color: ${Ca.color};
546
- ${No(Gi.color,Ca.rippleColor)};
594
+ background-color: ${Ll.backgroundColor};
595
+ --ft-button-internal-color: ${Ll.color};
596
+ ${xo(ts.color,Ll.rippleColor)};
547
597
  }
548
598
 
549
599
  .ft-button:focus {
@@ -556,13 +606,13 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
556
606
  white-space: nowrap;
557
607
  text-overflow: ellipsis;
558
608
  display: block;
559
- margin: 0 ${Sa.iconPadding};
560
- ${No(na.fontSize,"1em")};
561
- ${No(na.lineHeight,"var(--ft-button-internal-line-height)")};
609
+ margin: 0 ${kl.iconPadding};
610
+ ${xo(pl.fontSize,"1em")};
611
+ ${xo(pl.lineHeight,"var(--ft-button-internal-line-height)")};
562
612
  }
563
613
 
564
614
  .ft-button--dense .ft-button--label {
565
- margin: 0 ${Ua};
615
+ margin: 0 ${Fl};
566
616
  }
567
617
 
568
618
  .ft-button--label[hidden] {
@@ -575,13 +625,13 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
575
625
  }
576
626
 
577
627
  .ft-button--label[hidden] + ft-icon {
578
- margin: 0 calc(${Sa.horizontalPadding} * -1);
579
- padding: 0 ${Sa.verticalPadding};
628
+ margin: 0 calc(${kl.horizontalPadding} * -1);
629
+ padding: 0 ${kl.verticalPadding};
580
630
  }
581
631
 
582
632
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
583
- margin: 0 calc(${Ra} * -1);
584
- padding: 0 ${$a};
633
+ margin: 0 calc(${Al} * -1);
634
+ padding: 0 ${Wl};
585
635
  }
586
636
 
587
637
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -590,39 +640,34 @@ const ke=window,We=ke.ShadowRoot&&(void 0===ke.ShadyCSS||ke.ShadyCSS.nativeShado
590
640
  }
591
641
 
592
642
  ft-loader {
593
- ${No(ma.size,Sa.iconSize)};
594
- ${No(ma.color,"var(--ft-button-internal-color)")};
643
+ ${xo(Nl.size,kl.iconSize)};
644
+ ${xo(Nl.color,"var(--ft-button-internal-color)")};
595
645
  }
596
- `,Pe],ka=1,Wa=2,La=t=>(...o)=>({_$litDirective$:t,values:o});let Ka=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
597
- /**
598
- * @license
599
- * Copyright 2018 Google LLC
600
- * SPDX-License-Identifier: BSD-3-Clause
601
- */const Aa=La(class extends Ka{constructor(t){if(super(t),t.type!==ka||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return et}});var ja=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fa extends Ze{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return io`
646
+ `,ji];var _l=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bl extends $i{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ao(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new ao(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Jt`
602
647
  <style>
603
648
  .ft-ripple .ft-ripple--effect {
604
649
  left: ${this.originX}px;
605
650
  top: ${this.originY}px;
606
651
  }
607
652
  </style>
608
- <div class="${Aa(t)}">
653
+ <div class="${De(t)}">
609
654
  <div class="ft-ripple--background"></div>
610
655
  <div class="ft-ripple--effect"></div>
611
656
  </div>
612
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Fa.elementDefinitions={},Fa.styles=tn,ja([R({type:Boolean})],Fa.prototype,"primary",void 0),ja([R({type:Boolean})],Fa.prototype,"secondary",void 0),ja([R({type:Boolean})],Fa.prototype,"unbounded",void 0),ja([R({type:Boolean})],Fa.prototype,"activated",void 0),ja([R({type:Boolean})],Fa.prototype,"selected",void 0),ja([R({type:Boolean})],Fa.prototype,"disabled",void 0),ja([U()],Fa.prototype,"hovered",void 0),ja([U()],Fa.prototype,"focused",void 0),ja([U()],Fa.prototype,"pressed",void 0),ja([U()],Fa.prototype,"rippling",void 0),ja([U()],Fa.prototype,"originX",void 0),ja([U()],Fa.prototype,"originY",void 0),ja([W(".ft-ripple")],Fa.prototype,"ripple",void 0),ja([W(".ft-ripple--effect")],Fa.prototype,"rippleEffect",void 0),K("ft-ripple")(Fa);
657
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Bl.elementDefinitions={},Bl.styles=ss,_l([we({type:Boolean})],Bl.prototype,"primary",void 0),_l([we({type:Boolean})],Bl.prototype,"secondary",void 0),_l([we({type:Boolean})],Bl.prototype,"unbounded",void 0),_l([we({type:Boolean})],Bl.prototype,"activated",void 0),_l([we({type:Boolean})],Bl.prototype,"selected",void 0),_l([we({type:Boolean})],Bl.prototype,"disabled",void 0),_l([Se()],Bl.prototype,"hovered",void 0),_l([Se()],Bl.prototype,"focused",void 0),_l([Se()],Bl.prototype,"pressed",void 0),_l([Se()],Bl.prototype,"rippling",void 0),_l([Se()],Bl.prototype,"originX",void 0),_l([Se()],Bl.prototype,"originY",void 0),_l([Ee(".ft-ripple")],Bl.prototype,"ripple",void 0),_l([Ee(".ft-ripple--effect")],Bl.prototype,"rippleEffect",void 0),uo("ft-ripple")(Bl);
613
658
  /**
614
659
  * @license
615
660
  * Copyright 2020 Google LLC
616
661
  * SPDX-License-Identifier: BSD-3-Clause
617
662
  */
618
- const za=Symbol.for(""),Za=t=>{if(t?.r===za)return t?._$litStatic$},Ma=t=>({_$litStatic$:t,r:za}),Pa=new Map,Da=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=Za(n));)l+=i+o[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=Pa.get(t))&&(a.raw=a,Pa.set(t,o=a)),e=s}return t(o,...e)})(ot);var Ba;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Ba||(Ba={}));var Ha=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ta extends Ze{constructor(){super(...arguments),this.variant=Ba.body1}render(){return this.element?Da`
619
- <${Ma(this.element)}
663
+ const zl=Symbol.for(""),Ml=t=>{if(t?.r===zl)return t?._$litStatic$},Pl=t=>({_$litStatic$:t,r:zl}),Kl=new Map,Dl=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(n=o[c],i=Ml(n));)l+=i+e[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=Kl.get(t))&&(a.raw=a,Kl.set(t,e=a)),o=s}return t(e,...o)})(K);var Zl;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Zl||(Zl={}));var Hl=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Tl extends $i{constructor(){super(...arguments),this.variant=Zl.body1}render(){return this.element?Dl`
664
+ <${Pl(this.element)}
620
665
  class="ft-typography ft-typography--${this.variant}">
621
666
  <slot></slot>
622
- </${Ma(this.element)}>
623
- `:Da`
667
+ </${Pl(this.element)}>
668
+ `:Dl`
624
669
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
625
- `}}Ta.styles=[aa,sa,la,ca,fa,pa,ha,ua,da,ya,ga,...ba],Ha([R()],Ta.prototype,"element",void 0),Ha([R()],Ta.prototype,"variant",void 0),K("ft-typography")(Ta);const _a=So.create("--ft-tooltip-distance","","SIZE","4px"),Ga=So.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Va=So.create("--ft-tooltip-background-color","","COLOR","#666666"),Ya=So.create("--ft-tooltip-z-index","","NUMBER","100"),qa=So.external(Uo.borderRadiusS,"Design system"),Ja=So.create("--ft-tooltip-max-width","","SIZE","150px"),Xa=wt`
670
+ `}}Tl.styles=[hl,ul,dl,yl,gl,bl,ml,vl,xl,Ol,wl,...Sl],Hl([we()],Tl.prototype,"element",void 0),Hl([we()],Tl.prototype,"variant",void 0),uo("ft-typography")(Tl);const Gl=vo.create("--ft-tooltip-distance","","SIZE","4px"),Vl=vo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ql=vo.create("--ft-tooltip-background-color","","COLOR","#666666"),Yl=vo.create("--ft-tooltip-z-index","","NUMBER","100"),Jl=vo.external(cr.borderRadiusS,"Design system"),Xl=vo.create("--ft-tooltip-max-width","","SIZE","150px"),Ql=ht`
626
671
  .ft-tooltip--container {
627
672
  display: block;
628
673
  }
@@ -637,21 +682,21 @@ const za=Symbol.for(""),Za=t=>{if(t?.r===za)return t?._$litStatic$},Ma=t=>({_$li
637
682
  box-sizing: border-box;
638
683
  overflow: hidden;
639
684
  width: max-content;
640
- max-width: ${Ja};
685
+ max-width: ${Xl};
641
686
  text-align: center;
642
- padding: ${_a};
643
- z-index: ${Ya};
687
+ padding: ${Gl};
688
+ z-index: ${Yl};
644
689
  }
645
690
 
646
691
  .ft-tooltip--content {
647
692
  padding: 4px 8px;
648
- border-radius: ${qa};
649
- background-color: ${Va};
650
- color: ${Ga};
693
+ border-radius: ${Jl};
694
+ background-color: ${ql};
695
+ color: ${Vl};
651
696
  position: relative;
652
697
  word-break: break-word;
653
698
  }
654
- `;var Qa=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ts extends Ze{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return io`
699
+ `;var tc,ec,oc,rc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ic extends $i{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ao,this.revealDebouncer=new ao}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
655
700
  <div part="container"
656
701
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
657
702
  @mouseenter=${this.onHover}
@@ -669,48 +714,42 @@ const za=Symbol.for(""),Za=t=>{if(t?.r===za)return t?._$litStatic$},Ma=t=>({_$li
669
714
  </div>
670
715
  </div>
671
716
  </div>
672
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Re(t,o,{platform:{...$e,getOffsetParent:t=>$e.getOffsetParent(t,Ue)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Zo(r,t),c={x:o,y:e},f=await Yo(t,l),p=Ho(Mo(i)),h=Do(p);let u=c[h],d=c[p];if(n){const t="y"===h?"bottom":"right";u=zo(u+f["y"===h?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";d=zo(d+f["y"===p?"top":"left"],d,d-f[t])}const y=s.fn({...t,[h]:u,[p]:d});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Jo({allowedPlacements:[e]})]});var r}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}ts.elementDefinitions={"ft-typography":Ta},ts.styles=Xa,Qa([R()],ts.prototype,"text",void 0),Qa([R({type:Boolean})],ts.prototype,"manual",void 0),Qa([R({type:Boolean})],ts.prototype,"inline",void 0),Qa([R({type:Number})],ts.prototype,"delay",void 0),Qa([R()],ts.prototype,"position",void 0),Qa([function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return k(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}()],ts.prototype,"slotNodes",void 0),Qa([W(".ft-tooltip--container")],ts.prototype,"container",void 0),Qa([W(".ft-tooltip")],ts.prototype,"tooltip",void 0),Qa([W(".ft-tooltip--content")],ts.prototype,"tooltipContent",void 0),Qa([U()],ts.prototype,"visible",void 0),Qa([I({passive:!0})],ts.prototype,"onTouch",null),Qa([I({passive:!0})],ts.prototype,"onHover",null),Qa([I({passive:!0})],ts.prototype,"onOut",null),Qa([I({passive:!0})],ts.prototype,"onClick",null),K("ft-tooltip")(ts);
673
- /**
674
- * @license
675
- * Copyright 2017 Google LLC
676
- * SPDX-License-Identifier: BSD-3-Clause
677
- */
678
- class os extends Ka{constructor(t){if(super(t),this.et=rt,t.type!==Wa)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.vt=void 0,this.et=t;if(t===et)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}os.directiveName="unsafeHTML",os.resultType=1;const es=La(os);var rs,is,ns;!function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(rs||(rs={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(is||(is={})),new Map([...["abw"].map((t=>[t,is.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,is.AUDIO])),...["avi"].map((t=>[t,is.AVI])),...["chm","xhs"].map((t=>[t,is.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,is.CODE])),...["csv"].map((t=>[t,is.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,is.DITA])),...["epub"].map((t=>[t,is.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,is.EXCEL])),...["flac"].map((t=>[t,is.FLAC])),...["gif"].map((t=>[t,is.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,is.GZIP])),...["html","htm","xhtml"].map((t=>[t,is.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,is.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,is.JPEG])),...["json"].map((t=>[t,is.JSON])),...["m4a","m4p"].map((t=>[t,is.M4A])),...["mov","qt"].map((t=>[t,is.MOV])),...["mp3"].map((t=>[t,is.MP3])),...["mp4","m4v"].map((t=>[t,is.MP4])),...["ogg","oga"].map((t=>[t,is.OGG])),...["pdf","ps"].map((t=>[t,is.PDF])),...["png"].map((t=>[t,is.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,is.POWERPOINT])),...["rar"].map((t=>[t,is.RAR])),...["stp"].map((t=>[t,is.STP])),...["txt","rtf","md","mdown"].map((t=>[t,is.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,is.VIDEO])),...["wav"].map((t=>[t,is.WAV])),...["wma"].map((t=>[t,is.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,is.WORD])),...["xml","xsl","rdf"].map((t=>[t,is.XML])),...["yaml","yml","x-yaml"].map((t=>[t,is.YAML])),...["zip"].map((t=>[t,is.ZIP]))]),is.ABW,is.AUDIO,is.AVI,is.CHM,is.CODE,is.CSV,is.DITA,is.EPUB,is.EXCEL,is.FLAC,is.GIF,is.GZIP,is.HTML,is.IMAGE,is.JPEG,is.JSON,is.M4A,is.MOV,is.MP3,is.MP4,is.OGG,is.PDF,is.PNG,is.POWERPOINT,is.RAR,is.STP,is.TEXT,is.UNKNOWN,is.VIDEO,is.WAV,is.WMA,is.WORD,is.XML,is.YAML,is.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ns||(ns={}));var as=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ss extends Ze{constructor(){super(...arguments),this.resolvedIcon=ao}render(){const t=this.variant&&Object.values(ns).includes(this.variant)?this.variant:ns.fluid_topics,o=t!==ns.material||!!this.value;return io`
717
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",gi(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ic.elementDefinitions={"ft-typography":Tl},ic.styles=Ql,rc([we()],ic.prototype,"text",void 0),rc([we({type:Boolean})],ic.prototype,"manual",void 0),rc([we({type:Boolean})],ic.prototype,"inline",void 0),rc([we({type:Number})],ic.prototype,"delay",void 0),rc([we()],ic.prototype,"position",void 0),rc([Re()],ic.prototype,"slotNodes",void 0),rc([Ee(".ft-tooltip--container")],ic.prototype,"container",void 0),rc([Ee(".ft-tooltip")],ic.prototype,"tooltip",void 0),rc([Ee(".ft-tooltip--content")],ic.prototype,"tooltipContent",void 0),rc([Se()],ic.prototype,"visible",void 0),rc([Ne({passive:!0})],ic.prototype,"onTouch",null),rc([Ne({passive:!0})],ic.prototype,"onHover",null),rc([Ne({passive:!0})],ic.prototype,"onOut",null),rc([Ne({passive:!0})],ic.prototype,"onClick",null),uo("ft-tooltip")(ic),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;"}(tc||(tc={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(ec||(ec={})),new Map([...["abw"].map((t=>[t,ec.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,ec.AUDIO])),...["avi"].map((t=>[t,ec.AVI])),...["chm","xhs"].map((t=>[t,ec.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,ec.CODE])),...["csv"].map((t=>[t,ec.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ec.DITA])),...["epub"].map((t=>[t,ec.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ec.EXCEL])),...["flac"].map((t=>[t,ec.FLAC])),...["gif"].map((t=>[t,ec.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ec.GZIP])),...["html","htm","xhtml"].map((t=>[t,ec.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,ec.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ec.JPEG])),...["json"].map((t=>[t,ec.JSON])),...["m4a","m4p"].map((t=>[t,ec.M4A])),...["mov","qt"].map((t=>[t,ec.MOV])),...["mp3"].map((t=>[t,ec.MP3])),...["mp4","m4v"].map((t=>[t,ec.MP4])),...["ogg","oga"].map((t=>[t,ec.OGG])),...["pdf","ps"].map((t=>[t,ec.PDF])),...["png"].map((t=>[t,ec.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ec.POWERPOINT])),...["rar"].map((t=>[t,ec.RAR])),...["stp"].map((t=>[t,ec.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ec.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,ec.VIDEO])),...["wav"].map((t=>[t,ec.WAV])),...["wma"].map((t=>[t,ec.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ec.WORD])),...["xml","xsl","rdf"].map((t=>[t,ec.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ec.YAML])),...["zip"].map((t=>[t,ec.ZIP]))]),ec.ABW,ec.AUDIO,ec.AVI,ec.CHM,ec.CODE,ec.CSV,ec.DITA,ec.EPUB,ec.EXCEL,ec.FLAC,ec.GIF,ec.GZIP,ec.HTML,ec.IMAGE,ec.JPEG,ec.JSON,ec.M4A,ec.MOV,ec.MP3,ec.MP4,ec.OGG,ec.PDF,ec.PNG,ec.POWERPOINT,ec.RAR,ec.STP,ec.TEXT,ec.UNKNOWN,ec.VIDEO,ec.WAV,ec.WMA,ec.WORD,ec.XML,ec.YAML,ec.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(oc||(oc={}));var nc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ac extends $i{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(oc).includes(this.variant)?this.variant:oc.fluid_topics,e=t!==oc.material||!!this.value;return Jt`
679
718
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
680
- ${es(this.resolvedIcon)}
681
- <slot ?hidden=${o}></slot>
719
+ ${Ye(this.resolvedIcon)}
720
+ <slot ?hidden=${e}></slot>
682
721
  </i>
683
- `}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case ns.file_format:this.resolvedIcon=null!==(t=is[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ns.material:this.resolvedIcon=this.value||ao;break;default:this.resolvedIcon=null!==(o=rs[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ss.elementDefinitions={},ss.styles=Oa,as([R()],ss.prototype,"variant",void 0),as([R()],ss.prototype,"value",void 0),as([U()],ss.prototype,"resolvedIcon",void 0),as([W("slot")],ss.prototype,"slottedContent",void 0),K("ft-icon")(ss);class ls extends Ze{render(){return io`
722
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case oc.file_format:this.resolvedIcon=null!==(t=ec[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case oc.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=tc[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ac.elementDefinitions={},ac.styles=$l,nc([we()],ac.prototype,"variant",void 0),nc([we()],ac.prototype,"value",void 0),nc([Se()],ac.prototype,"resolvedIcon",void 0),nc([Ee("slot")],ac.prototype,"slottedContent",void 0),uo("ft-icon")(ac);class sc extends $i{render(){return Jt`
684
723
  <div class="ft-loader">
685
724
  <div></div>
686
725
  <div></div>
687
726
  <div></div>
688
727
  <div></div>
689
728
  </div>
690
- `}}ls.styles=va,K("ft-loader")(ls);var cs=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fs extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Pi].form}constructor(...t){super(t),this[Pi]=this.attachInternals(),this[Pi].role=o}setFormValue(t){this[Pi].setFormValue(t)}}}(Ze,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(io`
729
+ `}}sc.styles=Cl,uo("ft-loader")(sc);var lc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class cc extends(Ha($i,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}))}render(){return this.addTooltipIfNeeded(Jt`
691
730
  <button part="button"
692
- class="${Aa(this.buttonClasses)}"
731
+ class="${De(this.buttonClasses)}"
693
732
  aria-label="${this.getLabel()}"
694
733
  ?disabled=${this.isDisabled()}>
695
734
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
696
735
  <ft-typography part="label"
697
736
  variant=${this.typographyVariant}
698
737
  element="span"
699
- class="ft-button--label ${Ti?"ft-safari-ellipsis-fix":""}"
738
+ class="ft-button--label ${Ja?"ft-safari-ellipsis-fix":""}"
700
739
  ?hidden=${!this.hasTextContent()}>
701
740
  <slot @slotchange=${this.onSlotchange}></slot>
702
741
  </ft-typography>
703
742
  ${this.resolveIcon()}
704
743
  </button>
705
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?io`
744
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Jt`
706
745
  <ft-tooltip part="tooltip"
707
746
  text="${this.getLabel()}"
708
747
  position="${this.tooltipPosition}">
709
748
  ${t}
710
749
  </ft-tooltip>
711
- `:t}resolveIcon(){return this.loading?io`
712
- <ft-loader part="loader icon"></ft-loader> `:this.icon?io`
713
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ao}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}fs.elementDefinitions={"ft-ripple":Fa,"ft-tooltip":ts,"ft-typography":Ta,"ft-icon":ss,"ft-loader":ls},cs([R({type:String,reflect:!0})],fs.prototype,"role",void 0),cs([R()],fs.prototype,"type",void 0),cs([R({type:Boolean})],fs.prototype,"disabled",void 0),cs([R()],fs.prototype,"label",void 0),cs([R()],fs.prototype,"icon",void 0),cs([R()],fs.prototype,"iconVariant",void 0),cs([R({type:Boolean})],fs.prototype,"trailingIcon",void 0),cs([R({type:Boolean})],fs.prototype,"loading",void 0),cs([R()],fs.prototype,"tooltipPosition",void 0),cs([R({type:Boolean})],fs.prototype,"hideTooltip",void 0),cs([R({type:Boolean})],fs.prototype,"forceTooltip",void 0),cs([W(".ft-button")],fs.prototype,"button",void 0),cs([W(".ft-button--label slot")],fs.prototype,"slottedContent",void 0);var ps=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class hs extends fs{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}hs.styles=[De,Ia],ps([R({type:Boolean})],hs.prototype,"primary",void 0),ps([R({type:Boolean})],hs.prototype,"outlined",void 0),ps([R({type:Boolean})],hs.prototype,"dense",void 0),ps([R({type:Boolean})],hs.prototype,"round",void 0);const us=[wt`
750
+ `:t}resolveIcon(){return this.loading?Jt`
751
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
752
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:te}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}cc.elementDefinitions={"ft-ripple":Bl,"ft-tooltip":ic,"ft-typography":Tl,"ft-icon":ac,"ft-loader":sc},lc([we({type:String,reflect:!0})],cc.prototype,"role",void 0),lc([we()],cc.prototype,"type",void 0),lc([we({type:Boolean})],cc.prototype,"disabled",void 0),lc([we()],cc.prototype,"label",void 0),lc([we()],cc.prototype,"icon",void 0),lc([we()],cc.prototype,"iconVariant",void 0),lc([we({type:Boolean})],cc.prototype,"trailingIcon",void 0),lc([we({type:Boolean})],cc.prototype,"loading",void 0),lc([we()],cc.prototype,"tooltipPosition",void 0),lc([we({type:Boolean})],cc.prototype,"hideTooltip",void 0),lc([we({type:Boolean})],cc.prototype,"forceTooltip",void 0),lc([Ee(".ft-button")],cc.prototype,"button",void 0),lc([Ee(".ft-button--label slot")],cc.prototype,"slottedContent",void 0);var fc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class pc extends cc{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}pc.styles=[Bi,jl],fc([we({type:Boolean})],pc.prototype,"primary",void 0),fc([we({type:Boolean})],pc.prototype,"outlined",void 0),fc([we({type:Boolean})],pc.prototype,"dense",void 0),fc([we({type:Boolean})],pc.prototype,"round",void 0);const hc=[ht`
714
753
  :host {
715
754
  display: inline-block;
716
755
  max-width: 100%;
@@ -760,7 +799,7 @@ class os extends Ka{constructor(t){if(super(t),this.et=rt,t.type!==Wa)throw Erro
760
799
  }
761
800
 
762
801
  .ft-button:focus-visible {
763
- outline-color: ${Ro.focusFocusRingColor};
802
+ outline-color: ${qo.focusFocusRingColor};
764
803
  outline-style: solid;
765
804
  }
766
805
 
@@ -789,208 +828,208 @@ class os extends Ka{constructor(t){if(super(t),this.et=rt,t.type!==Wa)throw Erro
789
828
  /** Primary styles **/
790
829
 
791
830
  .ft-button--primary {
792
- ${No(ma.color,Ro.primaryIconColor)};
831
+ ${xo(Nl.color,qo.primaryIconColor)};
793
832
 
794
- ${No(Gi.color,Ro.primaryStateLayerColor)};
795
- ${No(Gi.opacityContentOnSurfaceHover,Ro.primaryStateLayerOpacityHover)};
796
- ${No(Gi.opacityContentOnSurfaceFocused,Ro.primaryStateLayerOpacityFocus)};
797
- ${No(Gi.opacityContentOnSurfaceSelected,Ro.primaryStateLayerOpacityActive)};
798
- ${No(Gi.opacityContentOnSurfacePressed,Ro.primaryStateLayerOpacityActive)};
833
+ ${xo(ts.color,qo.primaryStateLayerColor)};
834
+ ${xo(ts.opacityContentOnSurfaceHover,qo.primaryStateLayerOpacityHover)};
835
+ ${xo(ts.opacityContentOnSurfaceFocused,qo.primaryStateLayerOpacityFocus)};
836
+ ${xo(ts.opacityContentOnSurfaceSelected,qo.primaryStateLayerOpacityActive)};
837
+ ${xo(ts.opacityContentOnSurfacePressed,qo.primaryStateLayerOpacityActive)};
799
838
 
800
- background-color: ${Ro.primaryBackgroundColor};
801
- color: ${Ro.primaryColor};
839
+ background-color: ${qo.primaryBackgroundColor};
840
+ color: ${qo.primaryColor};
802
841
  border-style: none;
803
842
  }
804
843
 
805
844
  .ft-button--primary[disabled] {
806
- opacity: ${Ro.primaryComponentOpacityDisabled};
845
+ opacity: ${qo.primaryComponentOpacityDisabled};
807
846
  }
808
847
 
809
848
  .ft-button--primary ft-icon {
810
- color: ${Ro.primaryIconColor};
849
+ color: ${qo.primaryIconColor};
811
850
  }
812
851
 
813
852
  /** Secondary styles **/
814
853
 
815
854
  .ft-button--secondary {
816
- ${No(ma.color,Ro.secondaryIconColor)};
855
+ ${xo(Nl.color,qo.secondaryIconColor)};
817
856
 
818
- ${No(Gi.color,Ro.secondaryStateLayerColor)};
819
- ${No(Gi.opacityContentOnSurfaceHover,Ro.secondaryStateLayerOpacityHover)};
820
- ${No(Gi.opacityContentOnSurfaceFocused,Ro.secondaryStateLayerOpacityFocus)};
821
- ${No(Gi.opacityContentOnSurfaceSelected,Ro.secondaryStateLayerOpacityActive)};
822
- ${No(Gi.opacityContentOnSurfacePressed,Ro.secondaryStateLayerOpacityActive)};
857
+ ${xo(ts.color,qo.secondaryStateLayerColor)};
858
+ ${xo(ts.opacityContentOnSurfaceHover,qo.secondaryStateLayerOpacityHover)};
859
+ ${xo(ts.opacityContentOnSurfaceFocused,qo.secondaryStateLayerOpacityFocus)};
860
+ ${xo(ts.opacityContentOnSurfaceSelected,qo.secondaryStateLayerOpacityActive)};
861
+ ${xo(ts.opacityContentOnSurfacePressed,qo.secondaryStateLayerOpacityActive)};
823
862
 
824
- background-color: ${Ro.secondaryBackgroundColor};
825
- color: ${Ro.secondaryColor};
826
- border-color: ${Ro.secondaryBorderColor};
863
+ background-color: ${qo.secondaryBackgroundColor};
864
+ color: ${qo.secondaryColor};
865
+ border-color: ${qo.secondaryBorderColor};
827
866
  border-style: solid;
828
867
  }
829
868
 
830
869
  .ft-button--secondary[disabled] {
831
- opacity: ${Ro.secondaryComponentOpacityDisabled};
870
+ opacity: ${qo.secondaryComponentOpacityDisabled};
832
871
  }
833
872
 
834
873
  .ft-button--secondary ft-icon {
835
- color: ${Ro.secondaryIconColor};
874
+ color: ${qo.secondaryIconColor};
836
875
  }
837
876
 
838
877
  /** Tertiary styles **/
839
878
 
840
879
  .ft-button--tertiary {
841
- ${No(ma.color,Ro.tertiaryIconColor)};
880
+ ${xo(Nl.color,qo.tertiaryIconColor)};
842
881
 
843
- ${No(Gi.color,Ro.tertiaryStateLayerColor)};
844
- ${No(Gi.opacityContentOnSurfaceHover,Ro.tertiaryStateLayerOpacityHover)};
845
- ${No(Gi.opacityContentOnSurfaceFocused,Ro.tertiaryStateLayerOpacityFocus)};
846
- ${No(Gi.opacityContentOnSurfaceSelected,Ro.tertiaryStateLayerOpacityActive)};
847
- ${No(Gi.opacityContentOnSurfacePressed,Ro.tertiaryStateLayerOpacityActive)};
882
+ ${xo(ts.color,qo.tertiaryStateLayerColor)};
883
+ ${xo(ts.opacityContentOnSurfaceHover,qo.tertiaryStateLayerOpacityHover)};
884
+ ${xo(ts.opacityContentOnSurfaceFocused,qo.tertiaryStateLayerOpacityFocus)};
885
+ ${xo(ts.opacityContentOnSurfaceSelected,qo.tertiaryStateLayerOpacityActive)};
886
+ ${xo(ts.opacityContentOnSurfacePressed,qo.tertiaryStateLayerOpacityActive)};
848
887
 
849
- background-color: ${Ro.tertiaryBackgroundColor};
850
- color: ${Ro.tertiaryColor};
888
+ background-color: ${qo.tertiaryBackgroundColor};
889
+ color: ${qo.tertiaryColor};
851
890
  border-style: none;
852
891
  }
853
892
 
854
893
  .ft-button--tertiary[disabled] {
855
- opacity: ${Ro.tertiaryComponentOpacityDisabled};
894
+ opacity: ${qo.tertiaryComponentOpacityDisabled};
856
895
  }
857
896
 
858
897
  .ft-button--tertiary ft-icon {
859
- color: ${Ro.tertiaryIconColor};
898
+ color: ${qo.tertiaryIconColor};
860
899
  }
861
900
 
862
901
  /** Neutral styles **/
863
902
 
864
903
  .ft-button--neutral {
865
- ${No(ma.color,Ro.neutralIconColor)};
904
+ ${xo(Nl.color,qo.neutralIconColor)};
866
905
 
867
- ${No(Gi.backgroundColor,Ro.neutralStateLayerColor)};
868
- ${No(Gi.opacityContentOnSurfaceHover,Ro.neutralStateLayerOpacityHover)};
869
- ${No(Gi.opacityContentOnSurfaceFocused,Ro.neutralStateLayerOpacityFocus)};
870
- ${No(Gi.opacityContentOnSurfaceSelected,Ro.neutralStateLayerOpacityActive)};
871
- ${No(Gi.opacityContentOnSurfacePressed,Ro.neutralStateLayerOpacityActive)};
906
+ ${xo(ts.backgroundColor,qo.neutralStateLayerColor)};
907
+ ${xo(ts.opacityContentOnSurfaceHover,qo.neutralStateLayerOpacityHover)};
908
+ ${xo(ts.opacityContentOnSurfaceFocused,qo.neutralStateLayerOpacityFocus)};
909
+ ${xo(ts.opacityContentOnSurfaceSelected,qo.neutralStateLayerOpacityActive)};
910
+ ${xo(ts.opacityContentOnSurfacePressed,qo.neutralStateLayerOpacityActive)};
872
911
 
873
- background-color: ${Ro.neutralBackgroundColor};
874
- color: ${Ro.neutralColor};
912
+ background-color: ${qo.neutralBackgroundColor};
913
+ color: ${qo.neutralColor};
875
914
  border-style: none;
876
915
  }
877
916
 
878
917
  .ft-button--neutral[disabled] {
879
- opacity: ${Ro.neutralComponentOpacityDisabled};
918
+ opacity: ${qo.neutralComponentOpacityDisabled};
880
919
  }
881
920
 
882
921
  .ft-button--neutral ft-icon {
883
- color: ${Ro.neutralIconColor};
922
+ color: ${qo.neutralIconColor};
884
923
  }
885
924
 
886
925
  /** Large styles **/
887
926
 
888
927
  .ft-button--large {
889
- ${No(xa.size,Ro.largeIconSize)};
890
- ${No(ma.size,Ro.largeIconSize)};
891
-
892
- height: ${Ro.largeHeight};
893
- padding: 0 ${Ro.largeHorizontalPadding};
894
- gap: ${Ro.largeGap};
895
- border-radius: ${Ro.largeBorderRadius};
896
- border-width: ${Ro.largeBorderWidth};
928
+ ${xo(El.size,qo.largeIconSize)};
929
+ ${xo(Nl.size,qo.largeIconSize)};
930
+
931
+ height: ${qo.largeHeight};
932
+ padding: 0 ${qo.largeHorizontalPadding};
933
+ gap: ${qo.largeGap};
934
+ border-radius: ${qo.largeBorderRadius};
935
+ border-width: ${qo.largeBorderWidth};
897
936
  }
898
937
 
899
938
  .ft-button--large:focus-visible {
900
- outline-width: ${Ro.largeFocusOutlineWidth};
901
- outline-offset: ${Ro.largeFocusOutlineOffset};
939
+ outline-width: ${qo.largeFocusOutlineWidth};
940
+ outline-offset: ${qo.largeFocusOutlineOffset};
902
941
  }
903
942
 
904
943
  .ft-button--large.ft-button--icon-only {
905
- width: ${Ro.largeIconOnlyWidth};
944
+ width: ${qo.largeIconOnlyWidth};
906
945
  padding: unset;
907
946
  }
908
947
 
909
948
  /** Small styles **/
910
949
 
911
950
  .ft-button--small {
912
- ${No(xa.size,Ro.smallIconSize)};
913
- ${No(ma.size,Ro.smallIconSize)};
914
-
915
- height: ${Ro.smallHeight};
916
- padding: 0 ${Ro.smallHorizontalPadding};
917
- gap: ${Ro.smallGap};
918
- border-radius: ${Ro.smallBorderRadius};
919
- border-width: ${Ro.smallBorderWidth};
951
+ ${xo(El.size,qo.smallIconSize)};
952
+ ${xo(Nl.size,qo.smallIconSize)};
953
+
954
+ height: ${qo.smallHeight};
955
+ padding: 0 ${qo.smallHorizontalPadding};
956
+ gap: ${qo.smallGap};
957
+ border-radius: ${qo.smallBorderRadius};
958
+ border-width: ${qo.smallBorderWidth};
920
959
  }
921
960
 
922
961
  .ft-button--small:focus-visible {
923
- outline-width: ${Ro.smallFocusOutlineWidth};
924
- outline-offset: ${Ro.smallFocusOutlineOffset};
962
+ outline-width: ${qo.smallFocusOutlineWidth};
963
+ outline-offset: ${qo.smallFocusOutlineOffset};
925
964
  }
926
965
 
927
966
  .ft-button--small.ft-button--icon-only {
928
- width: ${Ro.smallIconOnlyWidth};
967
+ width: ${qo.smallIconOnlyWidth};
929
968
  padding: unset;
930
969
  }
931
- `,Pe];var ds=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ys extends fs{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Ba.caption1medium:Ba.body2medium}}ys.styles=[De,us],ds([R({type:Boolean})],ys.prototype,"primary",void 0),ds([R({type:Boolean})],ys.prototype,"secondary",void 0),ds([R({type:Boolean})],ys.prototype,"tertiary",void 0),ds([R({type:Boolean})],ys.prototype,"neutral",void 0),ds([R({type:Boolean})],ys.prototype,"small",void 0),K("ft-button")(hs),K("ftds-button")(ys);const gs={spacing:So.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:So.extend("--ft-copy-block-border-radius","",Uo.borderRadiusS),borderStyle:So.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:So.extend("--ft-copy-block-border-color","",Uo.colorOutline),borderWidth:So.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:So.extend("--ft-copy-block-background-color","",Uo.colorSurface),buttonHeight:So.create("--ft-copy-block-button-height","","SIZE","unset")},bs=wt`
970
+ `,ji];var uc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class dc extends cc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Zl.caption1medium:Zl.body2medium}}dc.styles=[Bi,hc],uc([we({type:Boolean})],dc.prototype,"primary",void 0),uc([we({type:Boolean})],dc.prototype,"secondary",void 0),uc([we({type:Boolean})],dc.prototype,"tertiary",void 0),uc([we({type:Boolean})],dc.prototype,"neutral",void 0),uc([we({type:Boolean})],dc.prototype,"small",void 0),uo("ft-button")(pc),uo("ftds-button")(dc);const yc={spacing:vo.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:vo.extend("--ft-copy-block-border-radius","",cr.borderRadiusS),borderStyle:vo.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:vo.extend("--ft-copy-block-border-color","",cr.colorOutline),borderWidth:vo.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:vo.extend("--ft-copy-block-background-color","",cr.colorSurface),buttonHeight:vo.create("--ft-copy-block-button-height","","SIZE","unset")},gc=ht`
932
971
  :host {
933
972
  display: block;
934
973
  }
935
974
 
936
975
  [part="container"] {
937
976
  position: relative;
938
- border-radius: ${gs.borderRadius};
939
- border-style: ${gs.borderStyle};
940
- border-color: ${gs.borderColor};
941
- border-width: ${gs.borderWidth};
942
- background-color: ${gs.backgroundColor};
977
+ border-radius: ${yc.borderRadius};
978
+ border-style: ${yc.borderStyle};
979
+ border-color: ${yc.borderColor};
980
+ border-width: ${yc.borderWidth};
981
+ background-color: ${yc.backgroundColor};
943
982
  }
944
983
 
945
984
  [part="button-container"] {
946
985
  position: absolute;
947
986
  right: 0;
948
987
  top: 0;
949
- height: ${gs.buttonHeight}
988
+ height: ${yc.buttonHeight}
950
989
  }
951
990
 
952
991
  [part="content"] {
953
992
  overflow-x: auto;
954
- margin: ${gs.spacing};
993
+ margin: ${yc.spacing};
955
994
  }
956
995
 
957
996
  [part="tooltip"] {
958
997
  display: block;
959
- height: ${gs.buttonHeight}
998
+ height: ${yc.buttonHeight}
960
999
  }
961
1000
 
962
1001
  [part="tooltip"]::part(container) {
963
- height: ${gs.buttonHeight}
1002
+ height: ${yc.buttonHeight}
964
1003
  }
965
1004
 
966
1005
  [part="button"] {
967
- height: ${gs.buttonHeight}
1006
+ height: ${yc.buttonHeight}
968
1007
  }
969
1008
 
970
1009
  [part="button"]::part(button) {
971
- height: ${gs.buttonHeight}
1010
+ height: ${yc.buttonHeight}
972
1011
  }
973
1012
 
974
- `,ms=wt`
975
- `,vs=wt`
976
- `,xs=Mi.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class Os{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=xs.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?Os.build(t):null!==(o=Os.API)&&void 0!==o?o:Os.API=Os.build()}static await(t){return new Promise((o=>{let e=Os.get(t);if(e)o(e);else{const r=xs.subscribe((()=>{e=Os.get(t),e&&(r(),o(e))}))}}))}}class ws{constructor(t=!0,o){var e;this.overrideApi=o;let i=this.constructor;i.commonCache=null!==(e=i.commonCache)&&void 0!==e?e:new r,this.cache=t?i.commonCache:new r}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Os.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Os.await()}clearCache(){this.cache.clearAll()}}var Ss;const Ns=Symbol("clearAfterUnitTest");class Cs extends ws{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ss]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=xs.getState().uiLocale,xs.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=xs.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};L(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Be(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}Ss=Ns,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Cs{constructor(){super((async(t,o)=>(await this.awaitApi).getFluidTopicsMessageContext(t,o)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Cs{constructor(){super((async(t,o)=>(await this.awaitApi).getCustomMessageContext(t,o)))}});const Es=window.FluidTopicsI18nService,$s=window.FluidTopicsCustomI18nService;var Rs=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Us extends Ze{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Os.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return io`
1013
+ `,bc=ht`
1014
+ `,mc=ht`
1015
+ `,vc=Pa.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class xc{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=vc.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?xc.build(t):null!==(e=xc.API)&&void 0!==e?e:xc.API=xc.build()}static await(t){return new Promise((e=>{let o=xc.get(t);if(o)e(o);else{const r=vc.subscribe((()=>{o=xc.get(t),o&&(r(),e(o))}))}}))}}class Oc{constructor(t=!0,e){var o;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(o=r.commonCache)&&void 0!==o?o:new oo,this.cache=t?r.commonCache:new oo}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:xc.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:xc.await()}clearCache(){this.cache.clearAll()}}var wc;const Sc=Symbol("clearAfterUnitTest");class Nc extends Oc{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[wc]=()=>{this.defaultMessages={},this.cache=new oo,this.listeners={}},this.currentUiLocale=vc.getState().uiLocale,vc.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=vc.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};po(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Pi(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>lo(0).then((()=>t())).catch((()=>null)))))}}wc=Sc,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Nc{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Nc{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Cc=window.FluidTopicsI18nService,Ec=window.FluidTopicsCustomI18nService;var $c=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Rc extends $i{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>xc.get(),this.cache=new oo,this.cleanSessionDebouncer=new ao}render(){return Jt`
977
1016
  <slot></slot>
978
- `}update(t){super.update(t),t.has("baseUrl")&&(xs.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&xs.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&xs.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&xs.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&xs.actions.noCustom(this.noCustom),t.has("editorMode")&&xs.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&xs.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&xs.actions.session(this.session),t.has("availableUiLocales")&&xs.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Es.addContext(t))),t.has("openExternalDocumentInNewTab")&&xs.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Us.elementDefinitions={},Us.styles=vs,Rs([R()],Us.prototype,"baseUrl",void 0),Rs([R()],Us.prototype,"apiIntegrationIdentifier",void 0),Rs([R()],Us.prototype,"uiLocale",void 0),Rs([A(null)],Us.prototype,"availableUiLocales",void 0),Rs([A(null)],Us.prototype,"metadataConfiguration",void 0),Rs([R({type:Boolean})],Us.prototype,"editorMode",void 0),Rs([R({type:Boolean})],Us.prototype,"noCustom",void 0),Rs([R({type:Boolean})],Us.prototype,"openExternalDocumentInNewTab",void 0),Rs([R({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Us.prototype,"noCustomComponent",void 0),Rs([R({type:Boolean})],Us.prototype,"withManualResources",void 0),Rs([A([])],Us.prototype,"messageContexts",void 0),Rs([A(void 0)],Us.prototype,"session",void 0),Rs([R({type:Object})],Us.prototype,"apiProvider",void 0);class Is extends ws{async listMySearches(){let t=xs.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class ks extends ws{async listMyBookmarks(){let t=xs.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ws=Mi.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=xs.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ks,this.savedSearchesService=new Is,xs.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=xs.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(){this.savedSearchesService.clearCache(),Ws.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ws.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ws.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ws.actions.bookmarks(o)}}},K("ft-app-context")(Us);var Ls=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Ks=Symbol("i18nAttributes"),As=Symbol("i18nProperties"),js=Symbol("i18nUnsubs");function Fs(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?$s:Es}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o,e;null===(o=this[Ks])||void 0===o||o.forEach(((o,e)=>{var r;const i=this.getI18nAttributeValue(e);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(e,i,o)})),null===(e=this[As])||void 0===e||e.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,o,e){this[t]={...o,message:this.i18n({context:o.context,key:o.key,...e})}}update(t){var o,e;super.update(t),null===(o=this[Ks])||void 0===o||o.forEach(((o,e)=>{const r=this.getI18nAttributeValue(e);(null==r?void 0:r.context)&&r.key&&(t.has(e)||null!=o.argsProvider)&&(t.has(e)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(e,r,o))})),null===(e=this[As])||void 0===e||e.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,o,e,r;super.connectedCallback(),new Set([...null!==(o=null===(t=this[As])||void 0===t?void 0:t.values())&&void 0!==o?o:[],...[...null!==(r=null===(e=this[Ks])||void 0===e?void 0:e.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[js].has(t)||this[js].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages("string"==typeof t?t:t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[js].forEach((t=>t())),this[js].clear()}}return o=js,Ls([R({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class zs extends(Fs(Ze)){}class Zs extends(Fs(Xe)){}var Ms=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ps extends Zs{constructor(){super(),this.editorMode=!1,this.addStore(xs)}render(){return this.key&&this.context?io`
1017
+ `}update(t){super.update(t),t.has("baseUrl")&&(vc.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&vc.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&vc.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&vc.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&vc.actions.noCustom(this.noCustom),t.has("editorMode")&&vc.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&vc.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&vc.actions.session(this.session),t.has("availableUiLocales")&&vc.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Cc.addContext(t))),t.has("openExternalDocumentInNewTab")&&vc.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Rc.elementDefinitions={},Rc.styles=mc,$c([we()],Rc.prototype,"baseUrl",void 0),$c([we()],Rc.prototype,"apiIntegrationIdentifier",void 0),$c([we()],Rc.prototype,"uiLocale",void 0),$c([yo(null)],Rc.prototype,"availableUiLocales",void 0),$c([yo(null)],Rc.prototype,"metadataConfiguration",void 0),$c([we({type:Boolean})],Rc.prototype,"editorMode",void 0),$c([we({type:Boolean})],Rc.prototype,"noCustom",void 0),$c([we({type:Boolean})],Rc.prototype,"openExternalDocumentInNewTab",void 0),$c([we({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Rc.prototype,"noCustomComponent",void 0),$c([we({type:Boolean})],Rc.prototype,"withManualResources",void 0),$c([yo([])],Rc.prototype,"messageContexts",void 0),$c([yo(void 0)],Rc.prototype,"session",void 0),$c([we({type:Object})],Rc.prototype,"apiProvider",void 0);class kc extends Oc{async listMySearches(){let t=vc.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Ic extends Oc{async listMyBookmarks(){let t=vc.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Lc=Pa.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=vc.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ic,this.savedSearchesService=new kc,vc.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=vc.getState();po(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Lc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Lc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Lc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Lc.actions.bookmarks(e)}}},uo("ft-app-context")(Rc);var Uc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Wc=Symbol("i18nAttributes"),Ac=Symbol("i18nProperties"),Fc=Symbol("i18nUnsubs");function jc(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ec:Cc}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e,o;null===(e=this[Wc])||void 0===e||e.forEach(((e,o)=>{var r;const i=this.getI18nAttributeValue(o);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,i,e)})),null===(o=this[Ac])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[Wc])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[Ac])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[Ac])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[Wc])||void 0===o?void 0:o.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Fc].has(t)||this[Fc].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Fc].forEach((t=>t())),this[Fc].clear()}}return e=Fc,Uc([we({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class _c extends(jc($i)){}class Bc extends(jc(Xi)){}var zc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Mc extends Bc{constructor(){super(),this.editorMode=!1,this.addStore(vc)}render(){return this.key&&this.context?Jt`
979
1018
  <span class="ft-i18n">
980
1019
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
981
1020
  </span>
982
- `:this.editorMode?"Select a context and a label key.":ao}update(t){var o;super.update(t),["context","key","defaultMessage"].some((o=>t.has(o)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(o=this.defaultMessage)&&void 0!==o?o:""})}}Ps.elementDefinitions={},Ps.styles=ms,Ms([(t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!L(t,o),attribute:!1,...o};R(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}})()],Ps.prototype,"editorMode",void 0),Ms([R()],Ps.prototype,"context",void 0),Ms([R()],Ps.prototype,"key",void 0),Ms([A([])],Ps.prototype,"args",void 0),Ms([R()],Ps.prototype,"defaultMessage",void 0);class Ds{static build(t){return new Ds(t)}static fromGwt(t){return new Ds(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Es.resolveMessage(this.name,o,...t)})}}K("ft-i18n")(Ps);const Bs=Ds.build("copyBlockComponent"),Hs={tooltipMessage:"Copy to clipboard",copySuccessMessage:"Copied!"};var Ts=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _s extends zs{constructor(){super(),this.addI18nContext(Bs,Hs)}render(){return io`
1021
+ `:this.editorMode?"Select a context and a label key.":te}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}Mc.elementDefinitions={},Mc.styles=bc,zc([Di()],Mc.prototype,"editorMode",void 0),zc([we()],Mc.prototype,"context",void 0),zc([we()],Mc.prototype,"key",void 0),zc([yo([])],Mc.prototype,"args",void 0),zc([we()],Mc.prototype,"defaultMessage",void 0);class Pc{static build(t){return new Pc(t)}static fromGwt(t){return new Pc(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Cc.resolveMessage(this.name,e,...t)})}}uo("ft-i18n")(Mc);const Kc=Pc.build("copyBlockComponent"),Dc={tooltipMessage:"Copy to clipboard",copySuccessMessage:"Copied!"};var Zc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hc extends _c{constructor(){super(),this.addI18nContext(Kc,Dc)}render(){return Jt`
983
1022
  <div part="container">
984
- ${navigator.clipboard?io`
1023
+ ${navigator.clipboard?Jt`
985
1024
  <div part="button-container">
986
- <ft-tooltip part="tooltip" text=${Bs.messages.tooltipMessage()} position="bottom" exportpartsPrefix="tooltip">
1025
+ <ft-tooltip part="tooltip" text=${Kc.messages.tooltipMessage()} position="bottom" exportpartsPrefix="tooltip">
987
1026
  <ft-button icon="CLONE" part="button" exportpartsPrefix="button" @click=${this.copyContents}></ft-button>
988
1027
  </ft-tooltip>
989
1028
  </div>
990
- `:ao}
1029
+ `:te}
991
1030
 
992
1031
  <div part="content">
993
1032
  <slot></slot>
994
1033
  </div>
995
1034
  </div>
996
- `}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=Bs.messages.copySuccessMessage(),await this.tooltip.show(1e3),this.tooltip.text=Bs.messages.tooltipMessage(),this.tooltip.manual=!1}catch{console.log("Failed to copy to clipboard")}}}_s.elementDefinitions={"ft-button":hs,"ft-tooltip":ts},_s.styles=bs,Ts([W("[part='tooltip']")],_s.prototype,"tooltip",void 0),K("ft-copy-block")(_s),t.FtCopyBlock=_s,t.FtCopyBlockCssVariables=gs,t.styles=bs}({});
1035
+ `}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=Kc.messages.copySuccessMessage(),await this.tooltip.show(1e3),this.tooltip.text=Kc.messages.tooltipMessage(),this.tooltip.manual=!1}catch{console.log("Failed to copy to clipboard")}}}Hc.elementDefinitions={"ft-button":pc,"ft-tooltip":ic},Hc.styles=gc,Zc([Ee("[part='tooltip']")],Hc.prototype,"tooltip",void 0),uo("ft-copy-block")(Hc),t.FtCopyBlock=Hc,t.FtCopyBlockCssVariables=yc,t.styles=gc}({});