@fluid-topics/ft-floating-menu 1.1.50 → 1.1.52

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,23 +12,24 @@
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,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,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 l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);d(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};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),h(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){y.push(this),r.upgrade.apply(r,arguments),y.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=s;if(o)return s=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),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=y[y.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=l.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?h(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)}},d=(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)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){u(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let y=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){y.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),y.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){y.push(this),e.set.call(this,t),y.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(Xs){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,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 l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);d(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};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),h(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=s;if(o)return s=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),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=l.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?h(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)}},d=(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)},h=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),s=t;try{new o.elementClass}catch(t){u(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===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(Xs){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)}}}!function(){if("undefined"!=typeof document&&!("adoptedStyleSheets"in document)){var t="ShadyCSS"in window&&!ShadyCSS.nativeShadow,o=document.implementation.createHTMLDocument(""),e=new WeakMap,r="object"==typeof DOMException?Error:DOMException,i=Object.defineProperty,n=Array.prototype.forEach,a=/@import.+?;?$/gm,l=CSSStyleSheet.prototype;l.replace=function(){return Promise.reject(new r("Can't call replace on non-constructed CSSStyleSheets."))},l.replaceSync=function(){throw new r("Failed to execute 'replaceSync' on 'CSSStyleSheet': Can't call replaceSync on non-constructed CSSStyleSheets.")};var s=new WeakMap,c=new WeakMap,f=new WeakMap,p=new WeakMap,d=$.prototype;d.replace=function(t){try{return this.replaceSync(t),Promise.resolve(this)}catch(t){return Promise.reject(t)}},d.replaceSync=function(t){if(E(this),"string"==typeof t){var o=this;s.get(o).textContent=function(t){var o=t.replace(a,"");return o!==t&&console.warn("@import rules are not allowed here. See https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418"),o.trim()}(t),p.set(o,[]),c.get(o).forEach((function(t){t.isConnected()&&N(o,C(o,t))}))}},i(d,"cssRules",{configurable:!0,enumerable:!0,get:function(){return E(this),s.get(this).sheet.cssRules}}),i(d,"media",{configurable:!0,enumerable:!0,get:function(){return E(this),s.get(this).sheet.media}}),["addRule","deleteRule","insertRule","removeRule"].forEach((function(t){d[t]=function(){var o=this;E(o);var e=arguments;p.get(o).push({method:t,args:e}),c.get(o).forEach((function(r){if(r.isConnected()){var i=C(o,r).sheet;i[t].apply(i,e)}}));var r=s.get(o).sheet;return r[t].apply(r,e)}})),i($,Symbol.hasInstance,{configurable:!0,value:w});var u={childList:!0,subtree:!0},h=new WeakMap,y=new WeakMap,g=new WeakMap,b=new WeakMap;if(U.prototype={isConnected:function(){var t=y.get(this);return t instanceof Document?"loading"!==t.readyState:function(t){return"isConnected"in t?t.isConnected:document.contains(t)}(t.host)},connect:function(){var t=W(this);b.get(this).observe(t,u),g.get(this).length>0&&L(this),k(t,(function(t){R(t).connect()}))},disconnect:function(){b.get(this).disconnect()},update:function(t){var o=this,e=y.get(o)===document?"Document":"ShadowRoot";if(!Array.isArray(t))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+e+": Iterator getter is not callable.");if(!t.every(w))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+e+": Failed to convert value to 'CSSStyleSheet'");if(t.some(S))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+e+": Can't adopt non-constructed stylesheets");o.sheets=t;var r,i,n=g.get(o),a=(r=t).filter((function(t,o){return r.indexOf(t)===o}));(i=a,n.filter((function(t){return-1===i.indexOf(t)}))).forEach((function(t){var e;(e=C(t,o)).parentNode.removeChild(e),function(t,o){f.get(t).delete(o),c.set(t,c.get(t).filter((function(t){return t!==o})))}(t,o)})),g.set(o,a),o.isConnected()&&a.length>0&&L(o)}},window.CSSStyleSheet=$,I(Document),"ShadowRoot"in window){I(ShadowRoot);var m=Element.prototype,v=m.attachShadow;m.attachShadow=function(t){var o=v.call(this,t);return"closed"===t.mode&&e.set(this,o),o}}var x=R(document);x.isConnected()?x.connect():document.addEventListener("DOMContentLoaded",x.connect.bind(x))}function O(t){return t.shadowRoot||e.get(t)}function w(t){return"object"==typeof t&&(d.isPrototypeOf(t)||l.isPrototypeOf(t))}function S(t){return"object"==typeof t&&l.isPrototypeOf(t)}function C(t,o){return f.get(t).get(o)}function N(t,o){requestAnimationFrame((function(){o.textContent=s.get(t).textContent,p.get(t).forEach((function(t){return o.sheet[t.method].apply(o.sheet,t.args)}))}))}function E(t){if(!s.has(t))throw new TypeError("Illegal invocation")}function $(){var t=this,e=document.createElement("style");o.body.appendChild(e),s.set(t,e),c.set(t,[]),f.set(t,new WeakMap),p.set(t,[])}function R(t){var o=h.get(t);return o||(o=new U(t),h.set(t,o)),o}function I(t){i(t.prototype,"adoptedStyleSheets",{configurable:!0,enumerable:!0,get:function(){return R(this).sheets},set:function(t){R(this).update(t)}})}function k(t,o){for(var e=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT,(function(t){return O(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),null,!1),r=void 0;r=e.nextNode();)o(O(r))}function W(t){var o=y.get(t);return o instanceof Document?o.body:o}function L(t){var o=document.createDocumentFragment(),e=g.get(t),r=b.get(t),i=W(t);r.disconnect(),e.forEach((function(e){o.appendChild(C(e,t)||function(t,o){var e=document.createElement("style");return f.get(t).set(o,e),c.get(t).push(o),e}(e,t))})),i.insertBefore(o,null),r.observe(i,u),e.forEach((function(o){N(o,C(o,t))}))}function U(o){var e=this;e.sheets=[],y.set(e,o),g.set(e,[]),b.set(e,new MutationObserver((function(o,r){document?o.forEach((function(o){t||n.call(o.addedNodes,(function(t){t instanceof Element&&k(t,(function(t){R(t).connect()}))})),n.call(o.removedNodes,(function(o){o instanceof Element&&(function(t,o){return o instanceof HTMLStyleElement&&g.get(t).some((function(o){return C(o,t)}))}(e,o)&&L(e),t||k(o,(function(t){R(t).disconnect()})))}))})):r.disconnect()})))}}();
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
19
19
  * SPDX-License-Identifier: BSD-3-Clause
20
- */const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)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(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=i.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return n(o)})(t):t
20
+ */
21
+ const o=globalThis,e=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)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(e&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=i.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&i.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return n(o)})(t):t
21
22
  /**
22
23
  * @license
23
24
  * Copyright 2017 Google LLC
24
25
  * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:l,defineProperty:s,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,u=globalThis,h=u.trustedTypes,g=h?h.emptyScript:"",y=u.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),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,o=x){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&s(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=c(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)??x}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),i=o.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:m).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:m;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??v)(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){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,y?.({ReactiveElement:O}),(u.reactiveElementVersions??=[]).push("2.0.2");
26
+ */,{is:l,defineProperty:s,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,u=globalThis,h=u.trustedTypes,y=h?h.emptyScript:"",g=u.reactiveElementPolyfillSupport,b=(t,o)=>t,m={toAttribute(t,o){switch(o){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),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,o=x){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&s(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=c(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)??x}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,o=[...f(t),...p(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(a(t))}else void 0!==t&&o.push(a(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(e)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of r){const r=document.createElement("style"),i=o.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:m).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:m;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??v)(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){}};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
27
  /**
27
28
  * @license
28
29
  * Copyright 2017 Google LLC
29
30
  * SPDX-License-Identifier: BSD-3-Clause
30
31
  */
31
- const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,R=`<${$}>`,I=document,k=()=>I.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,W=Array.isArray,U=t=>W(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,A=/>/g,j=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,P=/"/g,Z=/^(?:script|style|textarea|title)$/i,K=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),M=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,T=I.createTreeWalker(I,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=B;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===B?"!--"===s[1]?a=F:void 0!==s[1]?a=A:void 0!==s[2]?(Z.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=j):void 0!==s[3]&&(a=j):a===j?">"===s[0]?(a=i??B,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?j:'"'===s[3]?P:_):a===P||a===_?a=j:a===F||a===A?a=B:(a=j,i=void 0);const p=a===j&&t[o+1].startsWith("/>")?" ":"";n+=a===B?e+R:c>=0?(r.push(l),e.slice(0,c)+N+e.slice(c)+E+p):e+E+(-2===c?o:p)}return[G(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const l=o.length-1,s=this.parts,[c,f]=V(o,e);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&s.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){const o=f[a++],e=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);s.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(s.push({type:6,index:n}),i.removeAttribute(t));if(Z.test(i.tagName)){const t=i.textContent.split(E),o=t.length-1;if(o>0){i.textContent=S?S.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],k()),T.nextNode(),s.push({type:2,index:++n});i.append(t[o],k())}}}else if(8===i.nodeType)if(i.data===$)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)s.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,o){const e=I.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===M)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=L(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=Y(t,i._$AS(t,o.values),i,r)),o}let J=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??I).importNode(o,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new X(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new rt(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=T.nextNode(),n++)}return T.currentNode=I,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++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,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=Y(this,t,o),L(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):U(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!==D&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.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=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new q(t)),o}T(o){W(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(k()),this.k(k()),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))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=D,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=D}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,o,0),n=!L(t)||t!==this._$AH&&t!==M,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=Y(this,r[e+a],o,a),l===M&&(l=this._$AH[a]),n||=!L(l)||l!==this._$AH[a],l===D?t=D:t!==D&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===D?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===D?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},et=class extends Q{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??D)===M)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==D&&(e===D||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)}},rt=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){Y(this,t)}};const it={j:N,P:E,A:$,C:1,M:V,L:J,R:U,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
32
+ const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,R=`<${$}>`,I=document,k=()=>I.createComment(""),W=t=>null===t||"object"!=typeof t&&"function"!=typeof t,L=Array.isArray,U=t=>L(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,A=/>/g,j=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,M=/"/g,P=/^(?:script|style|textarea|title)$/i,Z=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),K=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,T=I.createTreeWalker(I,129);function G(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(o):o}const V=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=B;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===B?"!--"===s[1]?a=F:void 0!==s[1]?a=A:void 0!==s[2]?(P.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=j):void 0!==s[3]&&(a=j):a===j?">"===s[0]?(a=i??B,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?j:'"'===s[3]?M:_):a===M||a===_?a=j:a===F||a===A?a=B:(a=j,i=void 0);const p=a===j&&t[o+1].startsWith("/>")?" ":"";n+=a===B?e+R:c>=0?(r.push(l),e.slice(0,c)+N+e.slice(c)+E+p):e+E+(-2===c?o:p)}return[G(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let q=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const l=o.length-1,s=this.parts,[c,f]=V(o,e);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&s.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){const o=f[a++],e=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(o);s.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?tt:"?"===r[1]?ot:"@"===r[1]?et:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(s.push({type:6,index:n}),i.removeAttribute(t));if(P.test(i.tagName)){const t=i.textContent.split(E),o=t.length-1;if(o>0){i.textContent=S?S.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],k()),T.nextNode(),s.push({type:2,index:++n});i.append(t[o],k())}}}else if(8===i.nodeType)if(i.data===$)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)s.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,o){const e=I.createElement("template");return e.innerHTML=t,e}};function Y(t,o,e=t,r){if(o===K)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=W(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=Y(t,i._$AS(t,o.values),i,r)),o}let J=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??I).importNode(o,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new X(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new rt(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=T.nextNode(),n++)}return T.currentNode=I,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++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=D,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=Y(this,t,o),W(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==K&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):U(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!==D&&W(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.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=q.createElement(G(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new J(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=H.get(t.strings);return void 0===o&&H.set(t.strings,o=new q(t)),o}T(o){L(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(k()),this.k(k()),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))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=D,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=D}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,o,0),n=!W(t)||t!==this._$AH&&t!==K,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=Y(this,r[e+a],o,a),l===K&&(l=this._$AH[a]),n||=!W(l)||l!==this._$AH[a],l===D?t=D:t!==D&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===D?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===D?void 0:t}},ot=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},et=class extends Q{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=Y(this,t,o,0)??D)===K)return;const e=this._$AH,r=t===D&&e!==D||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==D&&(e===D||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)}},rt=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){Y(this,t)}};const it={j:N,P:E,A:$,C:1,M:V,L:J,R:U,V:Y,D:X,I:Q,H:ot,N:et,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
32
33
  /**
33
34
  * @license
34
35
  * Copyright 2019 Google LLC
@@ -39,18 +40,18 @@ const at=globalThis,lt=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeS
39
40
  * @license
40
41
  * Copyright 2017 Google LLC
41
42
  * SPDX-License-Identifier: BSD-3-Clause
42
- */,{is:gt,defineProperty:yt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Ct=Ot.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},$t=(t,o)=>!gt(t,o),Rt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let It=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=Rt){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&&yt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=bt(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)??Rt}static _$Ei(){if(this.hasOwnProperty(Nt("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(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...mt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(ht(t))}else void 0!==t&&o.push(ht(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ut(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Et).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:Et;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??$t)(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){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Nt("elementProperties")]=new Map,It[Nt("finalized")]=new Map,Ct?.({ReactiveElement:It}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
43
+ */,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Ct=Ot.reactiveElementPolyfillSupport,Nt=(t,o)=>t,Et={toAttribute(t,o){switch(o){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},$t=(t,o)=>!yt(t,o),Rt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let It=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=Rt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&gt(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=bt(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)??Rt}static _$Ei(){if(this.hasOwnProperty(Nt("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(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,o=[...mt(t),...vt(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(ht(t))}else void 0!==t&&o.push(ht(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ut(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Et).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:Et;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??$t)(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){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Nt("elementProperties")]=new Map,It[Nt("finalized")]=new Map,Ct?.({ReactiveElement:It}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
43
44
  /**
44
45
  * @license
45
46
  * Copyright 2017 Google LLC
46
47
  * SPDX-License-Identifier: BSD-3-Clause
47
48
  */
48
- const kt=globalThis,Lt=kt.trustedTypes,Wt=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ut="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,Ft=`<${Bt}>`,At=document,jt=()=>At.createComment(""),_t=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Pt=Array.isArray,Zt=t=>Pt(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=At.createTreeWalker(At,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Wt?Wt.createHTML(o):o}const io=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=Mt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===Mt?"!--"===s[1]?a=Dt:void 0!==s[1]?a=Ht:void 0!==s[2]?(qt.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=Tt):void 0!==s[3]&&(a=Tt):a===Tt?">"===s[0]?(a=i??Mt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Tt:'"'===s[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=Mt:(a=Tt,i=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";n+=a===Mt?e+Ft:c>=0?(r.push(l),e.slice(0,c)+Ut+e.slice(c)+zt+p):e+zt+(-2===c?o:p)}return[ro(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=io(t,o);if(this.el=no.createElement(s,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Ut)){const o=c[n++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?uo:co}),r.removeAttribute(t)}else t.startsWith(zt)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Lt?Lt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],jt()),eo.nextNode(),l.push({type:2,index:++i});r.append(t[o],jt())}}}else if(8===r.nodeType)if(r.data===Bt)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)l.push({type:7,index:i}),t+=zt.length-1}i++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)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=ao(t,i._$AS(t,o.values),i,r)),o}let lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??At).importNode(o,!0);eo.currentNode=r;let i=eo.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new so(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new ho(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=eo.nextNode(),n++)}return eo.currentNode=At,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},so=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ao(this,t,o),_t(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Zt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==to&&_t(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.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=no.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new lo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new no(t)),o}T(o){Pt(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(jt()),this.k(jt()),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))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=to,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=to}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ao(this,t,o,0),n=!_t(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=ao(this,r[e+a],o,a),l===Qt&&(l=this._$AH[a]),n||=!_t(l)||l!==this._$AH[a],l===to?t=to:t!==to&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},uo=class extends co{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==to&&(e===to||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)}},ho=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};const go={j:Ut,P:zt,A:Bt,C:1,M:io,L:lo,R:Zt,V:ao,D:so,I:co,H:po,N:uo,U:fo,B:ho},yo=kt.litHtmlPolyfillSupport;yo?.(no,so),(kt.litHtmlVersions??=[]).push("3.1.0");const bo=(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 so(o.insertBefore(jt(),t),t,void 0,e??{})}return i._$AI(t),i
49
+ const kt=globalThis,Wt=kt.trustedTypes,Lt=Wt?Wt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ut="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,Ft=`<${Bt}>`,At=document,jt=()=>At.createComment(""),_t=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Mt=Array.isArray,Pt=t=>Mt(t)||"function"==typeof t?.[Symbol.iterator],Zt="[ \t\n\f\r]",Kt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(o,...e)=>({_$litType$:t,strings:o,values:e}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),to=Symbol.for("lit-nothing"),oo=new WeakMap,eo=At.createTreeWalker(At,129);function ro(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Lt?Lt.createHTML(o):o}const io=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=Kt;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,s=a.exec(e),null!==s);)f=a.lastIndex,a===Kt?"!--"===s[1]?a=Dt:void 0!==s[1]?a=Ht:void 0!==s[2]?(qt.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=Tt):void 0!==s[3]&&(a=Tt):a===Tt?">"===s[0]?(a=i??Kt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Tt:'"'===s[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=Kt:(a=Tt,i=void 0);const p=a===Tt&&t[o+1].startsWith("/>")?" ":"";n+=a===Kt?e+Ft:c>=0?(r.push(l),e.slice(0,c)+Ut+e.slice(c)+zt+p):e+zt+(-2===c?o:p)}return[ro(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class no{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,l=this.parts,[s,c]=io(t,o);if(this.el=no.createElement(s,e),eo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=eo.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Ut)){const o=c[n++],e=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(o);l.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?fo:"?"===a[1]?po:"@"===a[1]?uo:co}),r.removeAttribute(t)}else t.startsWith(zt)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),o=t.length-1;if(o>0){r.textContent=Wt?Wt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],jt()),eo.nextNode(),l.push({type:2,index:++i});r.append(t[o],jt())}}}else if(8===r.nodeType)if(r.data===Bt)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)l.push({type:7,index:i}),t+=zt.length-1}i++}}static createElement(t,o){const e=At.createElement("template");return e.innerHTML=t,e}}function ao(t,o,e=t,r){if(o===Qt)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=ao(t,i._$AS(t,o.values),i,r)),o}let lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??At).importNode(o,!0);eo.currentNode=r;let i=eo.nextNode(),n=0,a=0,l=e[0];for(;void 0!==l;){if(n===l.index){let o;2===l.type?o=new so(i,i.nextSibling,this,t):1===l.type?o=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(o=new ho(i,this,t)),this._$AV.push(o),l=e[++a]}n!==l?.index&&(i=eo.nextNode(),n++)}return eo.currentNode=At,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},so=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=to,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ao(this,t,o),_t(t)?t===to||null==t||""===t?(this._$AH!==to&&this._$AR(),this._$AH=to):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):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!==to&&_t(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.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=no.createElement(ro(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new lo(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=oo.get(t.strings);return void 0===o&&oo.set(t.strings,o=new no(t)),o}T(o){Mt(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(jt()),this.k(jt()),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))}},co=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=to,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=to}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ao(this,t,o,0),n=!_t(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=ao(this,r[e+a],o,a),l===Qt&&(l=this._$AH[a]),n||=!_t(l)||l!==this._$AH[a],l===to?t=to:t!==to&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===to?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fo=class extends co{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===to?void 0:t}},po=class extends co{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==to)}},uo=class extends co{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ao(this,t,o,0)??to)===Qt)return;const e=this._$AH,r=t===to&&e!==to||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==to&&(e===to||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)}},ho=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ao(this,t)}};const yo={j:Ut,P:zt,A:Bt,C:1,M:io,L:lo,R:Pt,V:ao,D:so,I:co,H:po,N:uo,U:fo,B:ho},go=kt.litHtmlPolyfillSupport;go?.(no,so),(kt.litHtmlVersions??=[]).push("3.1.0");const bo=(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 so(o.insertBefore(jt(),t),t,void 0,e??{})}return i._$AI(t),i
49
50
  /**
50
51
  * @license
51
52
  * Copyright 2017 Google LLC
52
53
  * SPDX-License-Identifier: BSD-3-Clause
53
- */};let mo=class extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var xo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:It,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:go,adoptStyles:ut,css:dt,defaultConverter:Et,getCompatibleStyle:ht,html:Jt,isServer:!1,noChange:Qt,notEqual:$t,nothing:to,render:bo,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:pt});
54
+ */};let mo=class extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};mo._$litElement$=!0,mo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:mo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:mo});(globalThis.litElementVersions??=[]).push("4.0.2");var xo=Object.freeze({__proto__:null,CSSResult:ft,LitElement:mo,ReactiveElement:It,_$LE:{_$AK:(t,o,e)=>{t._$AK(o,e)},_$AL:t=>t._$AL},_$LH:yo,adoptStyles:ut,css:dt,defaultConverter:Et,getCompatibleStyle:ht,html:Jt,isServer:!1,noChange:Qt,notEqual:$t,nothing:to,render:bo,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:pt});
54
55
  /**
55
56
  * @license
56
57
  * Copyright 2017 Google LLC
@@ -96,7 +97,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
96
97
  * @license
97
98
  * Copyright 2017 Google LLC
98
99
  * SPDX-License-Identifier: BSD-3-Clause
99
- */function ko(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}var Lo=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:No,property:So,query:$o,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??(Ro??=document.createDocumentFragment())).querySelectorAll(t)}})
100
+ */function ko(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Eo(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}var Wo=Object.freeze({__proto__:null,customElement:t=>(o,e)=>{void 0!==e?e.addInitializer((()=>{customElements.define(t,o)})):customElements.define(t,o)},eventOptions:No,property:So,query:$o,queryAll:function(t){return(o,e)=>Eo(0,0,{get(){return(this.renderRoot??(Ro??=document.createDocumentFragment())).querySelectorAll(t)}})
100
101
  /**
101
102
  * @license
102
103
  * Copyright 2017 Google LLC
@@ -106,37 +107,37 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
106
107
  * @license
107
108
  * Copyright 2017 Google LLC
108
109
  * SPDX-License-Identifier: BSD-3-Clause
109
- */const Wo=1,Uo=2,zo=t=>(...o)=>({_$litDirective$:t,values:o});let Bo=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)}};
110
+ */const Lo=1,Uo=2,zo=t=>(...o)=>({_$litDirective$:t,values:o});let Bo=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)}};
110
111
  /**
111
112
  * @license
112
113
  * Copyright 2020 Google LLC
113
114
  * SPDX-License-Identifier: BSD-3-Clause
114
- */const{D:Fo}=it,Ao=()=>document.createComment(""),jo=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Ao(),i),n=r.insertBefore(Ao(),i);e=new Fo(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},_o=(t,o,e=t)=>(t._$AI(o,e),t),Po={},Zo=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Ko=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Mo=zo(class extends Bo{constructor(t){if(super(t),t.type!==Uo)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=a,n;const l=this.dt??=[],s=[];let c,f,p=0,d=i.length-1,u=0,h=n.length-1;for(;p<=d&&u<=h;)if(null===i[p])p++;else if(null===i[d])d--;else if(l[p]===a[u])s[u]=_o(i[p],n[u]),p++,u++;else if(l[d]===a[h])s[h]=_o(i[d],n[h]),d--,h--;else if(l[p]===a[h])s[h]=_o(i[p],n[h]),jo(t,s[h+1],i[p]),p++,h--;else if(l[d]===a[u])s[u]=_o(i[d],n[u]),jo(t,i[p],i[d]),d--,u++;else if(void 0===c&&(c=Ko(a,u,h),f=Ko(l,p,d)),c.has(l[p]))if(c.has(l[d])){const o=f.get(a[u]),e=void 0!==o?i[o]:null;if(null===e){const o=jo(t,i[p]);_o(o,n[u]),s[u]=o}else s[u]=_o(e,n[u]),jo(t,i[p],e),i[o]=null;u++}else Zo(i[d]),d--;else Zo(i[p]),p++;for(;u<=h;){const o=jo(t,s[h+1]);_o(o,n[u]),s[u++]=o}for(;p<=d;){const t=i[p++];null!==t&&Zo(t)}return this.dt=a,((t,o=Po)=>{t._$AH=o})(t,s),M}});
115
+ */const{D:Fo}=it,Ao=()=>document.createComment(""),jo=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Ao(),i),n=r.insertBefore(Ao(),i);e=new Fo(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},_o=(t,o,e=t)=>(t._$AI(o,e),t),Mo={},Po=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},Zo=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Ko=zo(class extends Bo{constructor(t){if(super(t),t.type!==Uo)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=a,n;const l=this.dt??=[],s=[];let c,f,p=0,d=i.length-1,u=0,h=n.length-1;for(;p<=d&&u<=h;)if(null===i[p])p++;else if(null===i[d])d--;else if(l[p]===a[u])s[u]=_o(i[p],n[u]),p++,u++;else if(l[d]===a[h])s[h]=_o(i[d],n[h]),d--,h--;else if(l[p]===a[h])s[h]=_o(i[p],n[h]),jo(t,s[h+1],i[p]),p++,h--;else if(l[d]===a[u])s[u]=_o(i[d],n[u]),jo(t,i[p],i[d]),d--,u++;else if(void 0===c&&(c=Zo(a,u,h),f=Zo(l,p,d)),c.has(l[p]))if(c.has(l[d])){const o=f.get(a[u]),e=void 0!==o?i[o]:null;if(null===e){const o=jo(t,i[p]);_o(o,n[u]),s[u]=o}else s[u]=_o(e,n[u]),jo(t,i[p],e),i[o]=null;u++}else Po(i[d]),d--;else Po(i[p]),p++;for(;u<=h;){const o=jo(t,s[h+1]);_o(o,n[u]),s[u++]=o}for(;p<=d;){const t=i[p++];null!==t&&Po(t)}return this.dt=a,((t,o=Mo)=>{t._$AH=o})(t,s),K}});
115
116
  /**
116
117
  * @license
117
118
  * Copyright 2017 Google LLC
118
119
  * SPDX-License-Identifier: BSD-3-Clause
119
- */var Do=Object.freeze({__proto__:null,repeat:Mo});
120
+ */var Do=Object.freeze({__proto__:null,repeat:Ko});
120
121
  /**
121
122
  * @license
122
123
  * Copyright 2018 Google LLC
123
124
  * SPDX-License-Identifier: BSD-3-Clause
124
- */const Ho=zo(class extends Bo{constructor(t){if(super(t),t.type!==Wo||"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 M}});var To=Object.freeze({__proto__:null,classMap:Ho});
125
+ */const Ho=zo(class extends Bo{constructor(t){if(super(t),t.type!==Lo||"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 K}});var To=Object.freeze({__proto__:null,classMap:Ho});
125
126
  /**
126
127
  * @license
127
128
  * Copyright 2018 Google LLC
128
129
  * SPDX-License-Identifier: BSD-3-Clause
129
- */const Go="important",Vo=" !"+Go,qo=zo(class extends Bo{constructor(t){if(super(t),t.type!==Wo||"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(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Vo);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?Go:""):e[t]=r}}return M}});var Yo=Object.freeze({__proto__:null,styleMap:qo});
130
+ */const Go="important",Vo=" !"+Go,qo=zo(class extends Bo{constructor(t){if(super(t),t.type!==Lo||"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(((o,e)=>{const r=t[e];return null==r?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const r=o[t];if(null!=r){this.ut.add(t);const o="string"==typeof r&&r.endsWith(Vo);t.includes("-")||o?e.setProperty(t,o?r.slice(0,-11):r,o?Go:""):e[t]=r}}return K}});var Yo=Object.freeze({__proto__:null,styleMap:qo});
130
131
  /**
131
132
  * @license
132
133
  * Copyright 2017 Google LLC
133
134
  * SPDX-License-Identifier: BSD-3-Clause
134
- */let Jo=class extends Bo{constructor(t){if(super(t),this.et=D,t.type!==Uo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===M)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:[]}}};Jo.directiveName="unsafeHTML",Jo.resultType=1;const Xo=zo(Jo);var Qo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Jo,unsafeHTML:Xo});class te extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class oe extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new te("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new te("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const ee=t=>new oe(((o,e)=>t.then(o).catch(e)));var re=Object.freeze({__proto__:null,CancelablePromise:oe,CanceledPromiseError:te,cancelable:ee});var ie=Object.freeze({__proto__:null,CacheRegistry:class{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 oe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=ee(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class ne{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>ne.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=ne.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>ne.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let i=this.metadataDescriptors.find((t=>e==t.key)),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>ne.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,i=ne.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,n);if(o>a&&(a=o,r=t,o===n.length))break}return r}countMatchingMetadata(t,o){return ne.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ae=Object.freeze({__proto__:null,ClusteringHelper:ne});class le{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}}var se=Object.freeze({__proto__:null,Debouncer:le});const ce=t=>new Promise((o=>setTimeout(o,t)));async function fe(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await ce(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function pe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function de(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(!de(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(!de(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(!de(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}function ue(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1}var he=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?pe(e):e}},deepEqual:de,delay:ce,eventPathContainsMatchingElement:ue,flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:pe,waitFor:fe,waitUntil:async function(t,o=10,e=2e4){await fe((async()=>await t()||void 0),o,e)}});const ge=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function ye(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!de(t,o),...null!=o?o:{}})}function be(t){return!isNaN(parseFloat(t))}var me=Object.freeze({__proto__:null,customElement:ge,isNumber:be,jsonProperty:ye,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return be(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const ve=t=>"string"==typeof t?pt(t):t;class xe{static create(t,o,e,r){const i=t=>ve(null!=t?t:r),n=dt`var(${ve(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${ve(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=dt`var(${ve(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=>dt`var(${ve(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):ve(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${ve(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=>dt`var(${ve(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Oe(t,o){return ve(`${t.name}: ${o}`)}const we={colorWhite:xe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xe.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:xe.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:xe.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:xe.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:xe.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:xe.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:xe.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:xe.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:xe.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:xe.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:xe.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:xe.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:xe.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:xe.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:xe.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:xe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xe.create("--ft-opacity-0","","NUMBER","0"),opacity8:xe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xe.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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)")},Se={fontFamily:xe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ce={fontFamily:xe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:xe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ne={fontFamily:xe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:xe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ee={fontFamily:xe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:xe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},$e={fontFamily:xe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Re={fontFamily:xe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ie={fontFamily:xe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ke={fontFamily:xe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Le={fontFamily:xe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},We={fontFamily:xe.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:xe.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:xe.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ue={fontFamily:xe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ze={fontFamily:xe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Be={fontFamily:xe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:xe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:xe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},je={fontFamily:xe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},_e={fontFamily:xe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:xe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ze={fontFamily:xe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ke={fontFamily:xe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Me={fontFamily:xe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},De={fontFamily:xe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},He={fontFamily:xe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Te={fontFamily:xe.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:xe.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ge={fontFamily:xe.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:xe.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ve={fontFamily:xe.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:xe.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},qe={display:Se,"title-1":Ce,"title-2":Ne,"title-3":Ee,"body-1-regular":$e,"body-1-medium":Re,"body-1-semibold":Ie,"body-2-regular":ke,"body-2-medium":Le,"body-2-medium-underline":We,"body-2-semibold":Ue,"label-1-medium":ze,"label-1-semibold":Be,"label-1-bold":Fe,"label-2-medium":Ae,"label-2-semibold":je,"label-2-bold":_e,"caption-1-medium":Pe,"caption-1-semibold":Ze,"caption-1-bold":Ke,"caption-2-medium":Me,"caption-2-semibold":De,"caption-2-bold":He,"caption-3-medium":Te,"caption-3-semibold":Ge,"caption-3-bold":Ve},Ye={backgroundActionPrimary:xe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",we.colorBrand0),backgroundErrorSubtle:xe.extend("--ft-background-error-subtle","Used as background of subtle error components.",we.colorRed10),backgroundInfoSubtle:xe.extend("--ft-background-info-subtle","Used as background of subtle information components.",we.colorCyan10),backgroundWarningSubtle:xe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",we.colorOrange10),backgroundSuccessSubtle:xe.extend("--ft-background-success-subtle","Used as background of subtle success components.",we.colorGreen10),backgroundGlobalSurface:xe.extend("--ft-background-global-surface","Used as app background.",we.colorWhite),backgroundGlobalOnSurface:xe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",we.colorGray10),backgroundGlobalOnSurfaceDark:xe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",we.colorGray30),contentActionPrimary:xe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",we.colorBrand0),contentWarningPrimary:xe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",we.colorOrange200),contentWarningIconOnly:xe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",we.colorOrange0),contentErrorPrimary:xe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",we.colorRed0),contentErrorIconOnly:xe.extend("--ft-content-error-icon-only","Used on error status icons alone",we.colorRed70),contentInfoPrimary:xe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",we.colorCyan200),contentInfoIconOnly:xe.extend("--ft-content-info-icon-only","Used on info status icons alone",we.colorCyan0),contentSuccessPrimary:xe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",we.colorGreen200),contentSuccessIconOnly:xe.extend("--ft-content-success-icon-only","Used on success status icons alone",we.colorGreen0),contentGlobalPrimary:xe.extend("--ft-content-global-primary","Used for main content on the page.",we.colorGray500),contentGlobalSecondary:xe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",we.colorGray200),contentGlobalSubtle:xe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",we.colorGray0),contentGlobalOnColor:xe.extend("--ft-content-global-on-color","Used for content on a dominant color.",we.colorWhite),borderActionPrimary:xe.extend("--ft-border-action-primary","Used as border for primary action components.",we.colorBrand0),borderActionFocusRing:xe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",we.colorCyan0),borderWarningPrimary:xe.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",we.colorOrange200),borderWarningSubtle:xe.extend("--ft-border-warning-subtle","Used as border for warning components.",we.colorOrange30),borderSuccessPrimary:xe.extend("--ft-border-success-primary","Used as border for success buttons.",we.colorGreen200),borderSuccessSubtle:xe.extend("--ft-border-success-subtle","Used as border for success components.",we.colorGreen30),borderErrorPrimary:xe.extend("--ft-border-error-primary","Used as border for text fields in error states.",we.colorRed0),borderErrorSubtle:xe.extend("--ft-border-error-subtle","Used as border for error components.",we.colorRed30),borderInfoPrimary:xe.extend("--ft-border-info-primary","Used as border for buttons in info color.",we.colorCyan200),borderInfoSubtle:xe.extend("--ft-border-info-subtle","Used as border for information components.",we.colorCyan30),borderGlobalPrimary:xe.extend("--ft-border-global-primary","Used as border for element like input.",we.colorGray50),borderGlobalSubtle:xe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",we.colorGray30),borderInputPrimary:xe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",we.colorGray80)},Je={largeHeight:xe.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xe.extend("--ft-button-large-horizontal-padding","",we.spacing4),largeGap:xe.extend("--ft-button-large-gap","",we.spacing2),largeBorderRadius:xe.extend("--ft-button-large-border-radius","",we.borderRadiusS),largeIconSize:xe.extend("--ft-button-large-icon-size","",we.iconSize3),largeBorderWidth:xe.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xe.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xe.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xe.extend("--ft-button-small-horizontal-padding","",we.spacing3),smallGap:xe.extend("--ft-button-small-gap","",we.spacing2),smallBorderRadius:xe.extend("--ft-button-small-border-radius","",we.borderRadiusS),smallIconSize:xe.extend("--ft-button-small-icon-size","",we.iconSize2),smallBorderWidth:xe.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xe.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xe.extend("--ft-button-primary-background-color","",Ye.backgroundActionPrimary),primaryColor:xe.extend("--ft-button-primary-color","",Ye.contentGlobalOnColor),primaryIconColor:xe.extend("--ft-button-primary-icon-color","",Ye.contentGlobalOnColor),primaryStateLayerColor:xe.extend("--ft-button-primary-state-layer-color","",Ye.contentGlobalOnColor),primaryHoverStateLayerOpacity:xe.extend("--ft-button-primary-hover-state-layer-opacity","",we.opacity16),primaryFocusStateLayerOpacity:xe.extend("--ft-button-primary-focus-state-layer-opacity","",we.opacity16),primaryActiveStateLayerOpacity:xe.extend("--ft-button-primary-active-state-layer-opacity","",we.opacity24),primaryDisabledComponentOpacity:xe.extend("--ft-button-primary-disabled-component-opacity","",we.opacity40),focusFocusRingColor:xe.extend("--ft-button-focus-focus-ring-color","",Ye.borderActionFocusRing),tertiaryBackgroundColor:xe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xe.extend("--ft-button-tertiary-color","",Ye.contentActionPrimary),tertiaryIconColor:xe.extend("--ft-button-tertiary-icon-color","",Ye.contentActionPrimary),tertiaryStateLayerColor:xe.extend("--ft-button-tertiary-state-layer-color","",Ye.contentActionPrimary),tertiaryHoverStateLayerOpacity:xe.extend("--ft-button-tertiary-hover-state-layer-opacity","",we.opacity8),tertiaryFocusStateLayerOpacity:xe.extend("--ft-button-tertiary-focus-state-layer-opacity","",we.opacity8),tertiaryActiveStateLayerOpacity:xe.extend("--ft-button-tertiary-active-state-layer-opacity","",we.opacity16),tertiaryDisabledComponentOpacity:xe.extend("--ft-button-tertiary-disabled-component-opacity","",we.opacity40),secondaryBackgroundColor:xe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xe.extend("--ft-button-secondary-color","",Ye.contentActionPrimary),secondaryIconColor:xe.extend("--ft-button-secondary-icon-color","",Ye.contentActionPrimary),secondaryStateLayerColor:xe.extend("--ft-button-secondary-state-layer-color","",Ye.contentActionPrimary),secondaryHoverStateLayerOpacity:xe.extend("--ft-button-secondary-hover-state-layer-opacity","",we.opacity8),secondaryFocusStateLayerOpacity:xe.extend("--ft-button-secondary-focus-state-layer-opacity","",we.opacity8),secondaryActiveStateLayerOpacity:xe.extend("--ft-button-secondary-active-state-layer-opacity","",we.opacity16),secondaryDisabledComponentOpacity:xe.extend("--ft-button-secondary-disabled-component-opacity","",we.opacity40),secondaryBorderColor:xe.extend("--ft-button-secondary-border-color","",Ye.borderActionPrimary),neutralBackgroundColor:xe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xe.extend("--ft-button-neutral-icon-color","",Ye.contentGlobalSecondary),neutralColor:xe.extend("--ft-button-neutral-color","",Ye.contentGlobalSecondary),neutralStateLayerColor:xe.extend("--ft-button-neutral-state-layer-color","",Ye.contentGlobalSecondary),neutralHoverStateLayerOpacity:xe.extend("--ft-button-neutral-hover-state-layer-opacity","",we.opacity8),neutralFocusStateLayerOpacity:xe.extend("--ft-button-neutral-focus-state-layer-opacity","",we.opacity8),neutralActiveStateLayerOpacity:xe.extend("--ft-button-neutral-active-state-layer-opacity","",we.opacity16),neutralDisabledComponentOpacity:xe.extend("--ft-button-neutral-disabled-component-opacity","",we.opacity40)},Xe={iconSize:xe.extend("--ft-banner-icon-size","",we.iconSize5),borderWidth:xe.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:xe.extend("--ft-banner-horizontal-padding","",we.spacing6),verticalPadding:xe.extend("--ft-banner-vertical-padding","",we.spacing6),horizontalSideGap:xe.extend("--ft-banner-horizontal-side-gap","",we.spacing6),horizontalMobileGap:xe.extend("--ft-banner-horizontal-mobile-gap","",we.spacing4),verticalMobileGap:xe.extend("--ft-banner-vertical-mobile-gap","",we.spacing6),horizontalMiddleGap:xe.extend("--ft-banner-horizontal-middle-gap","",we.spacing20),infoBackgroundColor:xe.extend("--ft-banner-info-background-color","",Ye.backgroundInfoSubtle),infoColor:xe.extend("--ft-banner-info-color","",Ye.contentInfoPrimary),infoIconColor:xe.extend("--ft-banner-info-icon-color","",Ye.contentInfoIconOnly)},Qe={horizontalGap:xe.extend("--ft-breadcrumb-horizontal-gap","",we.spacing1),verticalGap:xe.extend("--ft-breadcrumb-vertical-gap","",we.spacing2),currentElementColor:xe.extend("--ft-breadcrumb-current-element-color","",Ye.contentGlobalPrimary),iconColor:xe.extend("--ft-breadcrumb-icon-color","",Ye.contentGlobalSubtle)},tr={horizontalPadding:xe.extend("--ft-page-header-horizontal-padding","",we.spacing12),horizontalGap:xe.extend("--ft-page-header-horizontal-gap","",we.spacing4),verticalGap:xe.extend("--ft-page-header-vertical-gap","",we.spacing2),classicVerticalPadding:xe.extend("--ft-page-header-classic-vertical-padding","",we.spacing6),multilineVerticalPadding:xe.extend("--ft-page-header-multiline-vertical-padding","",we.spacing4),inlineVerticalPadding:xe.extend("--ft-page-header-inline-vertical-padding","",we.spacing2),backgroundColor:xe.extend("--ft-page-header-background-color","",we.colorWhite),bottomBorderColor:xe.extend("--ft-page-header-bottom-border-color","",Ye.borderGlobalSubtle),titleColor:xe.extend("--ft-page-header-title-color","",Ye.contentGlobalPrimary),subtitleColor:xe.extend("--ft-page-header-subtitle-color","",Ye.contentGlobalSecondary)},or={smallContainerWidth:xe.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:xe.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:xe.extend("--ft-modal-overlay-background-color","",we.colorGray700),overlayOpacity:xe.extend("--ft-modal-overlay-opacity","",we.opacity40),shadow:xe.extend("--ft-modal-shadow","",we.shadowElevation03),bodyBackgroundColor:xe.extend("--ft-modal-body-background-color","",we.colorWhite),bodyColor:xe.extend("--ft-modal-body-color","",Ye.contentGlobalPrimary),bodyHorizontalPadding:xe.extend("--ft-modal-body-horizontal-padding","",we.spacing6),bodyVerticalPadding:xe.extend("--ft-modal-body-vertical-padding","",we.spacing6),bodyVerticalGap:xe.extend("--ft-modal-body-vertical-gap","",we.spacing6),containerMargin:xe.extend("--ft-modal-container-margin","",we.spacing3),headerBackgroundColor:xe.extend("--ft-modal-header-background-color","",Ye.backgroundGlobalOnSurface),headerBorderColor:xe.extend("--ft-modal-header-border-color","",Ye.borderGlobalSubtle),headerColor:xe.extend("--ft-modal-header-color","",Ye.contentGlobalPrimary),headerTrailingIconColor:xe.extend("--ft-modal-header-trailing-icon-color","",Ye.contentGlobalSecondary),headerVerticalPadding:xe.extend("--ft-modal-header-vertical-padding","",we.spacing1),headerRightPadding:xe.extend("--ft-modal-header-right-padding","",we.spacing1),headerLeftPadding:xe.extend("--ft-modal-header-left-padding","",we.spacing6),headerGap:xe.extend("--ft-modal-header-gap","",we.spacing2),headerBorderBottom:xe.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:xe.extend("--ft-modal-border-radius","",we.borderRadiusM)},er={overlayOpacity:xe.extend("--ft-drawer-overlay-opacity","",we.opacity40),shadow:xe.extend("--ft-drawer-shadow","",we.shadowElevation03),bodyColor:xe.extend("--ft-drawer-body-color","",Ye.contentGlobalPrimary),bodyHorizontalPadding:xe.extend("--ft-drawer-body-horizontal-padding","",we.spacing6),bodyVerticalPadding:xe.extend("--ft-drawer-body-vertical-padding","",we.spacing6),bodyGap:xe.extend("--ft-drawer-body-gap","",we.spacing6),bodyBackgroundColor:xe.extend("--ft-drawer-body-background-color","",we.colorWhite),headerBackgroundColor:xe.extend("--ft-drawer-header-background-color","",Ye.backgroundGlobalOnSurface),headerBorderColor:xe.extend("--ft-drawer-header-border-color","",Ye.borderGlobalSubtle),headerColor:xe.extend("--ft-drawer-header-color","",Ye.contentGlobalPrimary),headerTrailingIconColor:xe.extend("--ft-drawer-header-trailing-icon-color","",Ye.contentGlobalSecondary),headerHeight:xe.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:xe.extend("--ft-drawer-header-horizontal-padding","",we.spacing2),headerBorderWidth:xe.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:xe.extend("--ft-drawer-header-gap","",we.spacing3),buttonsBarBackgroundColor:xe.extend("--ft-drawer-buttons-bar-background-color","",Ye.backgroundGlobalOnSurface),buttonsBarBorderColor:xe.extend("--ft-drawer-buttons-bar-border-color","",Ye.borderGlobalSubtle),buttonsBarColor:xe.extend("--ft-drawer-buttons-bar-color","",Ye.contentGlobalPrimary),buttonsBarHorizontalPadding:xe.extend("--ft-drawer-buttons-bar-horizontal-padding","",we.spacing4),buttonsBarVerticalPadding:xe.extend("--ft-drawer-buttons-bar-vertical-padding","",we.spacing4),buttonsBarGap:xe.extend("--ft-drawer-buttons-bar-gap","",we.spacing3),buttonsBarBorderWidth:xe.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:xe.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:xe.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:xe.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:xe.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:xe.extend("--ft-drawer-overlay-background-color","",we.colorGray700)},rr={fieldHorizontalPadding:xe.extend("--ft-text-input-field-horizontal-padding","",we.spacing4),fieldHorizontalGap:xe.extend("--ft-text-input-field-horizontal-gap","",we.spacing3),fieldVerticalGap:xe.extend("--ft-text-input-field-vertical-gap","",we.spacing05),fieldIconSize:xe.extend("--ft-text-input-field-icon-size","",we.iconSize3),fieldHeight:xe.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:xe.extend("--ft-text-input-helper-horizontal-padding","",we.spacing4),helperHorizontalGap:xe.extend("--ft-text-input-helper-horizontal-gap","",we.spacing1),helperIconSize:xe.extend("--ft-text-input-helper-icon-size","",we.iconSize2),borderRadius:xe.extend("--ft-text-input-border-radius","",we.borderRadiusM),backgroundColor:xe.extend("--ft-text-input-background-color","",we.colorWhite),contentValueColor:xe.extend("--ft-text-input-content-value-color","",Ye.contentGlobalPrimary),trailingIconColor:xe.extend("--ft-text-input-trailing-icon-color","",Ye.contentGlobalSubtle),labelColor:xe.extend("--ft-text-input-label-color","",Ye.contentGlobalSubtle),defaultBorderColor:xe.extend("--ft-text-input-default-border-color","",Ye.borderInputPrimary),defaultHelperTextColor:xe.extend("--ft-text-input-default-helper-text-color","",Ye.contentGlobalSubtle),defaultBorderWidth:xe.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:xe.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:xe.extend("--ft-text-input-error-border-color","",Ye.borderErrorPrimary),errorHelperTextColor:xe.extend("--ft-text-input-error-helper-text-color","",Ye.contentErrorPrimary),errorHelperIconColor:xe.extend("--ft-text-input-error-helper-icon-color","",Ye.contentErrorIconOnly),warningBorderWidth:xe.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:xe.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:xe.extend("--ft-text-input-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineOffset:xe.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:xe.extend("--ft-text-input-disabled-component-opacity","",we.opacity40)},ir={backgroundColor:xe.extend("--ft-text-area-background-color","",we.colorWhite),contentValueColor:xe.extend("--ft-text-area-content-value-color","",Ye.contentGlobalPrimary),labelColor:xe.extend("--ft-text-area-label-color","",Ye.contentGlobalSubtle),defaultBorderColor:xe.extend("--ft-text-area-default-border-color","",Ye.borderInputPrimary),defaultHelperTextColor:xe.extend("--ft-text-area-default-helper-text-color","",Ye.contentGlobalSubtle),defaultBorderWidth:xe.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:xe.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:xe.extend("--ft-text-area-error-border-color","",Ye.borderErrorPrimary),errorHelperTextColor:xe.extend("--ft-text-area-error-helper-text-color","",Ye.contentErrorPrimary),errorHelperIconColor:xe.extend("--ft-text-area-error-helper-icon-color","",Ye.contentErrorIconOnly),focusFocusRingColor:xe.extend("--ft-text-area-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineWidth:xe.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:xe.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:xe.extend("--ft-text-area-disabled-component-opacity","",we.opacity40),fieldHorizontalLeftPadding:xe.extend("--ft-text-area-field-horizontal-left-padding","",we.spacing4),fieldHorizontalGap:xe.extend("--ft-text-area-field-horizontal-gap","",we.spacing3),fieldVerticalGap:xe.extend("--ft-text-area-field-vertical-gap","",we.spacing05),fieldMinHeight:xe.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:xe.extend("--ft-text-area-helper-horizontal-padding","",we.spacing4),helperHorizontalGap:xe.extend("--ft-text-area-helper-horizontal-gap","",we.spacing1),helperIconSize:xe.extend("--ft-text-area-helper-icon-size","",we.iconSize2),borderRadius:xe.extend("--ft-text-area-border-radius","",we.borderRadiusM)},nr={height:xe.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:xe.extend("--ft-floating-menu-horizontal-padding","",we.spacing4),offIconColor:xe.extend("--ft-floating-menu-off-icon-color","",Ye.contentGlobalPrimary),offColor:xe.extend("--ft-floating-menu-off-color","",Ye.contentGlobalPrimary),onColor:xe.extend("--ft-floating-menu-on-color","",Ye.contentActionPrimary),onStateLayerColor:xe.extend("--ft-floating-menu-on-state-layer-color","",Ye.contentActionPrimary),gap:xe.extend("--ft-floating-menu-gap","",we.spacing3),focusFocusRingColor:xe.extend("--ft-floating-menu-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineWidth:xe.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:xe.extend("--ft-floating-menu-focus-state-layer-opacity","",we.opacity8),hoverStateLayerOpacity:xe.extend("--ft-floating-menu-hover-state-layer-opacity","",we.opacity8),activeStateLayerOpacity:xe.extend("--ft-floating-menu-active-state-layer-opacity","",we.opacity16),disabledComponentOpacity:xe.extend("--ft-floating-menu-disabled-component-opacity","",we.opacity40),iconSize:xe.extend("--ft-floating-menu-icon-size","",we.iconSize3),backgroundColor:xe.extend("--ft-floating-menu-background-color","",Ye.backgroundGlobalOnSurface)},ar={fieldHorizontalPadding:xe.extend("--ft-combobox-single-select-field-horizontal-padding","",we.spacing4),fieldHorizontalGap:xe.extend("--ft-combobox-single-select-field-horizontal-gap","",we.spacing3),fieldVerticalGap:xe.extend("--ft-combobox-single-select-field-vertical-gap","",we.spacing05),fieldIconSize:xe.extend("--ft-combobox-single-select-field-icon-size","",we.iconSize3),fieldHeight:xe.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:xe.extend("--ft-combobox-single-select-helper-horizontal-padding","",we.spacing4),helperHorizontalGap:xe.extend("--ft-combobox-single-select-helper-horizontal-gap","",we.spacing1),helperVerticalGap:xe.extend("--ft-combobox-single-select-helper-vertical-gap","",we.spacing1),helperIconSize:xe.extend("--ft-combobox-single-select-helper-icon-size","",we.iconSize2),menuVerticalGap:xe.extend("--ft-combobox-single-select-menu-vertical-gap","",we.spacing2),borderRadius:xe.extend("--ft-combobox-single-select-border-radius","",we.borderRadiusM),backgroundColor:xe.extend("--ft-combobox-single-select-background-color","",we.colorWhite),labelColor:xe.extend("--ft-combobox-single-select-label-color","",Ye.contentGlobalSubtle),contentValueColor:xe.extend("--ft-combobox-single-select-content-value-color","",Ye.contentGlobalPrimary),trailingIconColor:xe.extend("--ft-combobox-single-select-trailing-icon-color","",Ye.contentGlobalSubtle),defaultBorderColor:xe.extend("--ft-combobox-single-select-default-border-color","",Ye.borderInputPrimary),defaultHelperTextColor:xe.extend("--ft-combobox-single-select-default-helper-text-color","",Ye.contentGlobalSubtle),defaultBorderWidth:xe.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:xe.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:xe.extend("--ft-combobox-single-select-error-border-color","",Ye.borderErrorPrimary),errorHelperTextColor:xe.extend("--ft-combobox-single-select-error-helper-text-color","",Ye.contentErrorPrimary),warningBorderWidth:xe.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:xe.extend("--ft-combobox-single-select-warning-border-color","",Ye.borderWarningPrimary),warningHelperTextColor:xe.extend("--ft-combobox-single-select-warning-helper-text-color","",Ye.contentWarningPrimary),warningHelperIconColor:xe.extend("--ft-combobox-single-select-warning-helper-icon-color","",Ye.contentWarningIconOnly),focusOutlineWidth:xe.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:xe.extend("--ft-combobox-single-select-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineOffset:xe.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:xe.extend("--ft-combobox-single-select-disabled-component-opacity","",we.opacity40)},lr={backgroundColor:xe.extend("--ft-combobox-multi-select-background-color","",we.colorWhite),labelColor:xe.extend("--ft-combobox-multi-select-label-color","",Ye.contentGlobalSubtle),trailingIconColor:xe.extend("--ft-combobox-multi-select-trailing-icon-color","",Ye.contentGlobalSubtle),defaultBorderColor:xe.extend("--ft-combobox-multi-select-default-border-color","",Ye.borderInputPrimary),defaultHelperTextColor:xe.extend("--ft-combobox-multi-select-default-helper-text-color","",Ye.contentGlobalSubtle),defaultBorderWidth:xe.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:xe.extend("--ft-combobox-multi-select-error-border-color","",Ye.borderErrorPrimary),errorHelperTextColor:xe.extend("--ft-combobox-multi-select-error-helper-text-color","",Ye.contentErrorPrimary),errorHelperIcon:xe.extend("--ft-combobox-multi-select-error-helper-icon","",Ye.contentErrorIconOnly),errorBorderWidth:xe.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:xe.extend("--ft-combobox-multi-select-warning-border-color","",Ye.borderWarningPrimary),warningHelperTextColor:xe.extend("--ft-combobox-multi-select-warning-helper-text-color","",Ye.contentWarningPrimary),warningHelperIconColor:xe.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Ye.contentWarningIconOnly),warningBorderWidth:xe.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:xe.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineWidth:xe.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:xe.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:xe.extend("--ft-combobox-multi-select-disabled-component-opacity","",we.opacity40),helperHorizontalPadding:xe.extend("--ft-combobox-multi-select-helper-horizontal-padding","",we.spacing4),helperHorizontalGap:xe.extend("--ft-combobox-multi-select-helper-horizontal-gap","",we.spacing1),helperVerticalGap:xe.extend("--ft-combobox-multi-select-helper-vertical-gap","",we.spacing1),helperIconSize:xe.extend("--ft-combobox-multi-select-helper-icon-size","",we.iconSize2),fieldHorizontalPadding:xe.extend("--ft-combobox-multi-select-field-horizontal-padding","",we.spacing4),fieldHorizontalGap:xe.extend("--ft-combobox-multi-select-field-horizontal-gap","",we.spacing3),fieldVerticalGap:xe.extend("--ft-combobox-multi-select-field-vertical-gap","",we.spacing05),fieldIconSize:xe.extend("--ft-combobox-multi-select-field-icon-size","",we.iconSize3),fieldMaxHeight:xe.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:xe.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",we.spacing1),contentValuesVerticalGap:xe.extend("--ft-combobox-multi-select-content-values-vertical-gap","",we.spacing1),borderRadius:xe.extend("--ft-combobox-multi-select-border-radius","",we.borderRadiusM)},sr={backgroundColor:xe.extend("--ft-popover-background-color","",Ye.backgroundGlobalOnSurface),horizontalPadding:xe.extend("--ft-popover-horizontal-padding","",we.spacing6),verticalPadding:xe.extend("--ft-popover-vertical-padding","",we.spacing6),iconColor:xe.extend("--ft-popover-icon-color","",Ye.contentGlobalSecondary),iconSize:xe.extend("--ft-popover-icon-size","",we.iconSize2),titleColor:xe.extend("--ft-popover-title-color","",Ye.contentGlobalPrimary),bodyColor:xe.extend("--ft-popover-body-color","",Ye.contentGlobalSecondary),linkColor:xe.extend("--ft-popover-link-color","",Ye.contentActionPrimary),gap:xe.extend("--ft-popover-gap","",we.spacing3),borderRadius:xe.extend("--ft-popover-border-radius","",we.borderRadiusM),shadow:xe.extend("--ft-popover-shadow","",we.shadowElevation02)},cr={topLeftBorderRadius:xe.extend("--ft-tabs-top-left-border-radius","",we.borderRadiusS),topRightBorderRadius:xe.extend("--ft-tabs-top-right-border-radius","",we.borderRadiusS),labelHorizontalPadding:xe.extend("--ft-tabs-label-horizontal-padding","",we.spacing4),labelVerticalPadding:xe.extend("--ft-tabs-label-vertical-padding","",we.spacing3),labelGap:xe.extend("--ft-tabs-label-gap","",we.spacing1),offHoverStateLayerOpacity:xe.extend("--ft-tabs-off-hover-state-layer-opacity","",we.opacity8),offFocusStateLayerOpacity:xe.extend("--ft-tabs-off-focus-state-layer-opacity","",we.opacity8),offActiveStateLayerOpacity:xe.extend("--ft-tabs-off-active-state-layer-opacity","",we.opacity16),offDisabledComponentOpacity:xe.extend("--ft-tabs-off-disabled-component-opacity","",we.opacity40),offColor:xe.extend("--ft-tabs-off-color","",Ye.contentGlobalSubtle),offStateLayerColor:xe.extend("--ft-tabs-off-state-layer-color","",Ye.contentGlobalSubtle),onHoverStateLayerOpacity:xe.extend("--ft-tabs-on-hover-state-layer-opacity","",we.opacity8),onFocusStateLayerOpacity:xe.extend("--ft-tabs-on-focus-state-layer-opacity","",we.opacity8),onActiveStateLayerOpacity:xe.extend("--ft-tabs-on-active-state-layer-opacity","",we.opacity16),onDisabledComponentOpacity:xe.extend("--ft-tabs-on-disabled-component-opacity","",we.opacity40),onColor:xe.extend("--ft-tabs-on-color","",Ye.contentActionPrimary),onStateLayerColor:xe.extend("--ft-tabs-on-state-layer-color","",Ye.contentActionPrimary),iconHorizontalPadding:xe.extend("--ft-tabs-icon-horizontal-padding","",we.spacing1),iconVerticalPadding:xe.extend("--ft-tabs-icon-vertical-padding","",we.spacing4),focusOutlineWidth:xe.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:xe.extend("--ft-tabs-focus-focus-ring-color","",Ye.borderActionFocusRing)},fr={hoverStateLayerOpacity:xe.extend("--ft-collapsible-hover-state-layer-opacity","",we.opacity8),focusStateLayerOpacity:xe.extend("--ft-collapsible-focus-state-layer-opacity","",we.opacity8),focusOutlineWidth:xe.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:xe.extend("--ft-collapsible-focus-focus-ring-color","",Ye.borderActionFocusRing),activeStateLayerOpacity:xe.extend("--ft-collapsible-active-state-layer-opacity","",we.opacity16),disabledComponentOpacity:xe.extend("--ft-collapsible-disabled-component-opacity","",we.opacity40),horizontalPadding:xe.extend("--ft-collapsible-horizontal-padding","",we.spacing4),verticalPadding:xe.extend("--ft-collapsible-vertical-padding","",we.spacing3),color:xe.extend("--ft-collapsible-color","",Ye.contentGlobalPrimary),stateLayerColor:xe.extend("--ft-collapsible-state-layer-color","",Ye.contentGlobalPrimary),backgroundColor:xe.extend("--ft-collapsible-background-color","",Ye.backgroundGlobalOnSurface),borderColor:xe.extend("--ft-collapsible-border-color","",Ye.borderGlobalSubtle),iconSize:xe.extend("--ft-collapsible-icon-size","",we.iconSize3)},pr={groupHorizontalPadding:xe.extend("--ft-switch-group-horizontal-padding","",we.spacing1),groupVerticalPadding:xe.extend("--ft-switch-group-vertical-padding","",we.spacing1),groupGap:xe.extend("--ft-switch-group-gap","",we.spacing1),groupBackgroundColor:xe.extend("--ft-switch-group-background-color","",Ye.backgroundGlobalSurface),groupBorderColor:xe.extend("--ft-switch-group-border-color","",Ye.borderGlobalSubtle),groupBorderRadius:xe.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:xe.extend("--ft-switch-label-horizontal-padding","",we.spacing2),labelVerticalPadding:xe.extend("--ft-switch-label-vertical-padding","",we.spacing1),offHoverStateLayerOpacity:xe.extend("--ft-switch-off-hover-state-layer-opacity","",we.opacity8),offFocusStateLayerOpacity:xe.extend("--ft-switch-off-focus-state-layer-opacity","",we.opacity8),offActiveStateLayerOpacity:xe.extend("--ft-switch-off-active-state-layer-opacity","",we.opacity16),offDisabledComponentOpacity:xe.extend("--ft-switch-off-disabled-component-opacity","",we.opacity40),offColor:xe.extend("--ft-switch-off-color","",Ye.contentGlobalSubtle),offStateLayerColor:xe.extend("--ft-switch-off-state-layer-color","",Ye.contentGlobalSubtle),onHoverStateLayerOpacity:xe.extend("--ft-switch-on-hover-state-layer-opacity","",we.opacity8),onFocusStateLayerOpacity:xe.extend("--ft-switch-on-focus-state-layer-opacity","",we.opacity8),onActiveStateLayerOpacity:xe.extend("--ft-switch-on-active-state-layer-opacity","",we.opacity16),onDisabledComponentOpacity:xe.extend("--ft-switch-on-disabled-component-opacity","",we.opacity40),onColor:xe.extend("--ft-switch-on-color","",Ye.contentActionPrimary),onStateLayerColor:xe.extend("--ft-switch-on-state-layer-color","",Ye.contentActionPrimary),iconHorizontalPadding:xe.extend("--ft-switch-icon-horizontal-padding","",we.spacing1),iconVerticalPadding:xe.extend("--ft-switch-icon-vertical-padding","",we.spacing1),focusOutlineWidth:xe.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:xe.extend("--ft-switch-focus-focus-ring-color","",Ye.borderActionFocusRing),optionBorderRadius:xe.extend("--ft-switch-option-border-radius","",we.borderRadiusS)},dr={color1Light:xe.extend("--ft-chart-1-light","for area color charts",we.colorBrand40),color1Base:xe.extend("--ft-chart-1-base","for line charts",we.colorBrand0),color2Light:xe.extend("--ft-chart-2-light","for area color charts",we.colorYellow60),color2Base:xe.extend("--ft-chart-2-base","for line charts",we.colorYellow100),color3Light:xe.extend("--ft-chart-3-light","",we.colorUltramarine40),color3Base:xe.extend("--ft-chart-3-base","",we.colorUltramarine70),color4Light:xe.extend("--ft-chart-4-light","",we.colorCyan50),color4Base:xe.extend("--ft-chart-4-base","",we.colorCyan100),color5Light:xe.extend("--ft-chart-5-light","",we.colorRed40),color5Base:xe.extend("--ft-chart-5-base","",we.colorRed60),color6Light:xe.extend("--ft-chart-6-light","",we.colorGreen40),color6Base:xe.extend("--ft-chart-6-base","",we.colorGreen70),color7Light:xe.extend("--ft-chart-7-light","",we.colorOrange70),color7Base:xe.extend("--ft-chart-7-base","",we.colorOrange100),color8Light:xe.extend("--ft-chart-8-light","",we.colorAvocado70),color8Base:xe.extend("--ft-chart-8-base","",we.colorAvocado200),color9Light:xe.extend("--ft-chart-9-light","",we.colorBrown50),color9Base:xe.extend("--ft-chart-9-base","",we.colorBrown200),color10Light:xe.extend("--ft-chart-10-light","",we.colorGray50),color10Base:xe.extend("--ft-chart-10-base","",we.colorGray80),monochrome10:xe.extend("--ft-chart-monochrome-10","",we.colorBrand10),monochrome20:xe.extend("--ft-chart-monochrome-20","",we.colorBrand20),monochrome30:xe.extend("--ft-chart-monochrome-30","",we.colorBrand40),monochrome40:xe.extend("--ft-chart-monochrome-40","",we.colorBrand60),monochrome50:xe.extend("--ft-chart-monochrome-50","",we.colorBrand0),monochrome60:xe.extend("--ft-chart-monochrome-60","",we.colorBrand200)},ur={largeHorizontalPadding:xe.extend("--ft-chip-large-horizontal-padding","",we.spacing4),largeVerticalPadding:xe.extend("--ft-chip-large-vertical-padding","",we.spacing2),largeGap:xe.extend("--ft-chip-large-gap","",we.spacing1),largeFocusOutlineOffset:xe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:xe.extend("--ft-chip-large-border-radius","",we.borderRadiusPill),largeBorderWidth:xe.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:xe.extend("--ft-chip-large-icon-size","",we.iconSize3),mediumHorizontalPadding:xe.extend("--ft-chip-medium-horizontal-padding","",we.spacing3),mediumVerticalPadding:xe.extend("--ft-chip-medium-vertical-padding","",we.spacing1),mediumGap:xe.extend("--ft-chip-medium-gap","",we.spacing1),mediumFocusOutlineOffset:xe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:xe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:xe.extend("--ft-chip-medium-border-radius","",we.borderRadiusPill),mediumBorderWidth:xe.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:xe.extend("--ft-chip-medium-icon-size","",we.iconSize2),smallHorizontalPadding:xe.extend("--ft-chip-small-horizontal-padding","",we.spacing2),smallVerticalPadding:xe.extend("--ft-chip-small-vertical-padding","",we.spacing05),smallGap:xe.extend("--ft-chip-small-gap","",we.spacing1),smallFocusOutlineOffset:xe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:xe.extend("--ft-chip-small-border-radius","",we.borderRadiusPill),smallBorderWidth:xe.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:xe.extend("--ft-chip-small-icon-size","",we.iconSize1),neutralBackgroundColor:xe.extend("--ft-chip-neutral-background-color","",Ye.backgroundGlobalOnSurface),neutralColor:xe.extend("--ft-chip-neutral-color","",Ye.contentGlobalPrimary),neutralIconColor:xe.extend("--ft-chip-neutral-icon-color","",Ye.contentGlobalPrimary),neutralBorderColor:xe.extend("--ft-chip-neutral-border-color","",Ye.borderGlobalSubtle),infoBackgroundColor:xe.extend("--ft-chip-info-background-color","",Ye.backgroundInfoSubtle),infoColor:xe.extend("--ft-chip-info-color","",Ye.contentInfoPrimary),infoIconColor:xe.extend("--ft-chip-info-icon-color","",Ye.contentInfoIconOnly),infoBorderColor:xe.extend("--ft-chip-info-border-color","",Ye.borderInfoSubtle),successBackgroundColor:xe.extend("--ft-chip-success-background-color","",Ye.backgroundSuccessSubtle),successColor:xe.extend("--ft-chip-success-color","",Ye.contentSuccessPrimary),successIconColor:xe.extend("--ft-chip-success-icon-color","",Ye.contentSuccessIconOnly),successBorderColor:xe.extend("--ft-chip-success-border-color","",Ye.borderSuccessSubtle),warningBackgroundColor:xe.extend("--ft-chip-warning-background-color","",Ye.backgroundWarningSubtle),warningColor:xe.extend("--ft-chip-warning-color","",Ye.contentWarningPrimary),warningIconColor:xe.extend("--ft-chip-warning-icon-color","",Ye.contentWarningIconOnly),warningBorderColor:xe.extend("--ft-chip-warning-border-color","",Ye.borderWarningSubtle),errorBackgroundColor:xe.extend("--ft-chip-error-background-color","",Ye.backgroundErrorSubtle),errorColor:xe.extend("--ft-chip-error-color","",Ye.contentErrorPrimary),errorIconColor:xe.extend("--ft-chip-error-icon-color","",Ye.contentErrorIconOnly),errorBorderColor:xe.extend("--ft-chip-error-border-color","",Ye.borderErrorSubtle)},hr={infoBorderColor:xe.extend("--ft-border-info-border-color","",Ye.borderInfoSubtle)},gr={borderWidth:xe.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:xe.extend("--ft-notice-horizontal-padding","",we.spacing2),verticalPadding:xe.extend("--ft-notice-vertical-padding","",we.spacing1),borderRadius:xe.extend("--ft-notice-border-radius","",we.borderRadiusS),gap:xe.extend("--ft-notice-gap","",we.spacing2),iconSize:xe.extend("--ft-notice-icon-size","",we.iconSize3),infoBackgroundColor:xe.extend("--ft-notice-info-background-color","",Ye.backgroundInfoSubtle),infoBorderColor:xe.extend("--ft-notice-info-border-color","",Ye.borderInfoSubtle),infoColor:xe.extend("--ft-notice-info-color","",Ye.contentInfoPrimary),infoIconColor:xe.extend("--ft-notice-info-icon-color","",Ye.contentInfoIconOnly),warningBackgroundColor:xe.extend("--ft-notice-warning-background-color","",Ye.backgroundWarningSubtle),warningBorderColor:xe.extend("--ft-notice-warning-border-color","",Ye.borderWarningSubtle),warningColor:xe.extend("--ft-notice-warning-color","",Ye.contentWarningPrimary),warningIconColor:xe.extend("--ft-notice-warning-icon-color","",Ye.contentWarningIconOnly),errorBackgroundColor:xe.extend("--ft-notice-error-background-color","",Ye.backgroundErrorSubtle),errorBorderColor:xe.extend("--ft-notice-error-border-color","",Ye.borderErrorSubtle),errorColor:xe.extend("--ft-notice-error-color","",Ye.contentErrorPrimary),errorIconColor:xe.extend("--ft-notice-error-icon-color","",Ye.contentErrorIconOnly),successBackgroundColor:xe.extend("--ft-notice-success-background-color","",Ye.backgroundSuccessSubtle),successBorderColor:xe.extend("--ft-notice-success-border-color","",Ye.borderSuccessSubtle),successColor:xe.extend("--ft-notice-success-color","",Ye.contentSuccessPrimary),successIconColor:xe.extend("--ft-notice-success-icon-color","",Ye.contentSuccessIconOnly)},yr={color:xe.extend("--ft-checkbox-color","",Ye.contentGlobalPrimary),checkedBackgroundColor:xe.extend("--ft-checkbox-checked-background-color","",Ye.contentActionPrimary),checkedStateLayerColor:xe.extend("--ft-checkbox-checked-state-layer-color","",Ye.contentActionPrimary),checkedIconColor:xe.extend("--ft-checkbox-checked-icon-color","",Ye.contentGlobalOnColor),checkedHoverStateLayerOpacity:xe.extend("--ft-checkbox-checked-hover-state-layer-opacity","",we.opacity16),checkedFocusStateLayerOpacity:xe.extend("--ft-checkbox-checked-focus-state-layer-opacity","",we.opacity16),checkedActiveStateLayerOpacity:xe.extend("--ft-checkbox-checked-active-state-layer-opacity","",we.opacity24),checkedDisabledComponentOpacity:xe.extend("--ft-checkbox-checked-disabled-component-opacity","",we.opacity40),uncheckedBorderColor:xe.extend("--ft-checkbox-unchecked-border-color","",we.colorGray80),uncheckedStateLayerColor:xe.extend("--ft-checkbox-unchecked-state-layer-color","",we.colorGray80),uncheckedHoverStateLayerOpacity:xe.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",we.opacity16),uncheckedFocusStateLayerOpacity:xe.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",we.opacity16),uncheckedActiveStateLayerOpacity:xe.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",we.opacity24),uncheckedDisabledComponentOpacity:xe.extend("--ft-checkbox-unchecked-disabled-component-opacity","",we.opacity40),focusFocusRingColor:xe.extend("--ft-checkbox-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineOffset:xe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:xe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:xe.extend("--ft-checkbox-gap","",we.spacing3)},br={offHoverStateLayerOpacity:xe.extend("--ft-toggle-off-hover-state-layer-opacity","",we.opacity16),offFocusStateLayerOpacity:xe.extend("--ft-toggle-off-focus-state-layer-opacity","",we.opacity16),offActiveStateLayerOpacity:xe.extend("--ft-toggle-off-active-state-layer-opacity","",we.opacity24),offDisabledComponentOpacity:xe.extend("--ft-toggle-off-disabled-component-opacity","",we.opacity40),offBackgroundColor:xe.extend("--ft-toggle-off-background-color","",Ye.contentGlobalSubtle),offIconColor:xe.extend("--ft-toggle-off-icon-color","",Ye.contentGlobalSubtle),offStateLayerColor:xe.extend("--ft-toggle-off-state-layer-color","",Ye.contentGlobalSubtle),onHoverStateLayerOpacity:xe.extend("--ft-toggle-on-hover-state-layer-opacity","",we.opacity16),onFocusStateLayerOpacity:xe.extend("--ft-toggle-on-focus-state-layer-opacity","",we.opacity16),onActiveStateLayerOpacity:xe.extend("--ft-toggle-on-active-state-layer-opacity","",we.opacity24),onDisabledComponentOpacity:xe.extend("--ft-toggle-on-disabled-component-opacity","",we.opacity40),onBackgroundColor:xe.extend("--ft-toggle-on-background-color","",Ye.contentActionPrimary),onStateLayerColor:xe.extend("--ft-toggle-on-state-layer-color","",Ye.contentActionPrimary),onIconColor:xe.extend("--ft-toggle-on-icon-color","",Ye.contentActionPrimary),color:xe.extend("--ft-toggle-color","",Ye.contentGlobalPrimary),focusFocusRingColor:xe.extend("--ft-toggle-focus-focus-ring-color","",Ye.borderActionFocusRing),gap:xe.extend("--ft-toggle-gap","",we.spacing3)},mr={color:xe.extend("--ft-radio-color","",Ye.contentGlobalPrimary),selectedRadioColor:xe.extend("--ft-radio-selected-radio-color","",Ye.contentActionPrimary),selectedStateLayerColor:xe.extend("--ft-radio-selected-state-layer-color","",Ye.contentActionPrimary),selectedHoverStateLayerOpacity:xe.extend("--ft-radio-selected-hover-state-layer-opacity","",we.opacity16),selectedFocusStateLayerOpacity:xe.extend("--ft-radio-selected-focus-state-layer-opacity","",we.opacity16),selectedActiveStateLayerOpacity:xe.extend("--ft-radio-selected-active-state-layer-opacity","",we.opacity24),selectedDisabledComponentOpacity:xe.extend("--ft-radio-selected-disabled-component-opacity","",we.opacity40),unselectedStateLayerColor:xe.extend("--ft-radio-unselected-state-layer-color","",Ye.borderInputPrimary),unselectedBorderColor:xe.extend("--ft-radio-unselected-border-color","",Ye.borderInputPrimary),unselectedHoverStateLayerOpacity:xe.extend("--ft-radio-unselected-hover-state-layer-opacity","",we.opacity16),unselectedFocusStateLayerOpacity:xe.extend("--ft-radio-unselected-focus-state-layer-opacity","",we.opacity16),unselectedActiveStateLayerOpacity:xe.extend("--ft-radio-unselected-active-state-layer-opacity","",we.opacity24),unselectedDisabledComponentOpacity:xe.extend("--ft-radio-unselected-disabled-component-opacity","",we.opacity40),focusFocusRingColor:xe.extend("--ft-radio-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineOffset:xe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:xe.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:xe.extend("--ft-radio-gap","",we.spacing3)},vr={iconSize:xe.extend("--ft-notification-icon-size","",we.iconSize4),horizontalPadding:xe.extend("--ft-notification-horizontal-padding","",we.spacing4),verticalPadding:xe.extend("--ft-notification-vertical-padding","",we.spacing4),infoBackgroundColor:xe.extend("--ft-notification-info-background-color","",Ye.backgroundInfoSubtle),infoColor:xe.extend("--ft-notification-info-color","",Ye.contentInfoPrimary),infoIconColor:xe.extend("--ft-notification-info-icon-color","",Ye.contentInfoIconOnly),infoBorderColor:xe.extend("--ft-notification-info-border-color","",Ye.borderInfoSubtle),successBackgroundColor:xe.extend("--ft-notification-success-background-color","",Ye.backgroundSuccessSubtle),successColor:xe.extend("--ft-notification-success-color","",Ye.contentSuccessPrimary),successIconColor:xe.extend("--ft-notification-success-icon-color","",Ye.contentSuccessIconOnly),successBorderColor:xe.extend("--ft-notification-success-border-color","",Ye.borderSuccessSubtle),warningBackgroundColor:xe.extend("--ft-notification-warning-background-color","",Ye.backgroundWarningSubtle),warningColor:xe.extend("--ft-notification-warning-color","",Ye.contentWarningPrimary),warningIconColor:xe.extend("--ft-notification-warning-icon-color","",Ye.contentWarningIconOnly),warningBorderColor:xe.extend("--ft-notification-warning-border-color","",Ye.borderWarningSubtle),errorBackgroundColor:xe.extend("--ft-notification-error-background-color","",Ye.backgroundErrorSubtle),errorColor:xe.extend("--ft-notification-error-color","",Ye.contentErrorPrimary),errorIconColor:xe.extend("--ft-notification-error-icon-color","",Ye.contentErrorIconOnly),errorBorderColor:xe.extend("--ft-notification-error-border-color","",Ye.borderErrorSubtle),borderRadius:xe.extend("--ft-notification-border-radius","",we.borderRadiusPill),borderWidth:xe.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:xe.extend("--ft-notification-leading-gap","",we.spacing2),trailingGap:xe.extend("--ft-notification-trailing-gap","",we.spacing8)},xr={horizontalPadding:xe.extend("--ft-tooltip-horizontal-padding","",we.spacing2),verticalPadding:xe.extend("--ft-tooltip-vertical-padding","",we.spacing2),borderRadius:xe.extend("--ft-tooltip-border-radius","",we.borderRadiusS),color:xe.extend("--ft-tooltip-color","",Ye.contentGlobalOnColor),backgroundColor:xe.extend("--ft-tooltip-background-color","",Ye.contentGlobalPrimary),backgroundOpacity:xe.extend("--ft-tooltip-background-opacity","",we.opacity80),shadow:xe.extend("--ft-tooltip-shadow","",we.shadowElevation03),maxWidth:xe.create("--ft-tooltip-max-width","","SIZE","256px"),gap:xe.extend("--ft-tooltip-gap","",we.spacing05)};var Or=Object.freeze({__proto__:null,FtCssVariableFactory:xe,banner:Xe,border:hr,breadcrumb:Qe,button:Je,chart:dr,checkbox:yr,chip:ur,collapsible:fr,comboboxMultiSelect:lr,comboboxSingleSelect:ar,drawer:er,floatingMenu:nr,foundation:we,modal:or,notice:gr,notification:vr,pageHeader:tr,popover:sr,radio:mr,semantic:Ye,setVariable:Oe,switch_:pr,tabs:cr,textArea:ir,textInput:rr,toggle:br,tooltip:xr,typographies:qe,typographyBody1Medium:Re,typographyBody1Regular:$e,typographyBody1Semibold:Ie,typographyBody2Medium:Le,typographyBody2MediumUnderline:We,typographyBody2Regular:ke,typographyBody2Semibold:Ue,typographyCaption1Bold:Ke,typographyCaption1Medium:Pe,typographyCaption1Semibold:Ze,typographyCaption2Bold:He,typographyCaption2Medium:Me,typographyCaption2Semibold:De,typographyCaption3Bold:Ve,typographyCaption3Medium:Te,typographyCaption3Semibold:Ge,typographyDisplay:Se,typographyLabel1Bold:Fe,typographyLabel1Medium:ze,typographyLabel1Semibold:Be,typographyLabel2Bold:_e,typographyLabel2Medium:Ae,typographyLabel2Semibold:je,typographyTitle1:Ce,typographyTitle2:Ne,typographyTitle3:Ee,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const wr={colorPrimary:xe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Sr=Object.freeze({__proto__:null,designSystemVariables:wr});class Cr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Nr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Er extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var $r=Object.freeze({__proto__:null,FtNotificationEvent:Cr,PostResizeEvent:Er,PreResizeEvent:Nr});const Rr=["start","end"],Ir=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Rr[0],o+"-"+Rr[1])),[]),kr=Math.min,Lr=Math.max,Wr=Math.round,Ur=t=>({x:t,y:t}),zr={left:"right",right:"left",bottom:"top",top:"bottom"},Br={start:"end",end:"start"};function Fr(t,o,e){return Lr(t,kr(o,e))}function Ar(t,o){return"function"==typeof t?t(o):t}function jr(t){return t.split("-")[0]}function _r(t){return t.split("-")[1]}function Pr(t){return"x"===t?"y":"x"}function Zr(t){return"y"===t?"height":"width"}function Kr(t){return["top","bottom"].includes(jr(t))?"y":"x"}function Mr(t){return Pr(Kr(t))}function Dr(t){return t.replace(/left|right|bottom|top/g,(t=>zr[t]))}function Hr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Tr(t,o,e){let{reference:r,floating:i}=t;const n=Kr(o),a=Mr(o),l=Zr(a),s=jr(o),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let u;switch(s){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(_r(o)){case"start":u[a]-=d*(e&&c?-1:1);break;case"end":u[a]+=d*(e&&c?-1:1)}return u}async function Gr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:u=0}=Ar(o,t),h=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),g=l[d?"floating"===p?"reference":"floating":p],y=Hr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.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=Hr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-x.top+h.top)/v.y,bottom:(x.bottom-y.bottom+h.bottom)/v.y,left:(y.left-x.left+h.left)/v.x,right:(x.right-y.right+h.right)/v.x}}function Vr(t,o,e){return(t?[...e.filter((o=>_r(o)===t)),...e.filter((o=>_r(o)!==t))]:e.filter((t=>jr(t)===t))).filter((e=>!t||(_r(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Br[t]))}(e)!==e)))}const qr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Ir,autoAlignment:u=!0,...h}=Ar(t,o),g=void 0!==p||d===Ir?Vr(p||null,u,d):d,y=await Gr(o,h),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=_r(t),i=Mr(t),n=Zr(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Dr(a)),[a,Dr(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[y[jr(m)],y[v[0]],y[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const o=_r(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,_r(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||S[0][0];return N!==l?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Yr(t){return Qr(t)?(t.nodeName||"").toLowerCase():"#document"}function Jr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Xr(t){var o;return null==(o=(Qr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Qr(t){return t instanceof Node||t instanceof Jr(t).Node}function ti(t){return t instanceof Element||t instanceof Jr(t).Element}function oi(t){return t instanceof HTMLElement||t instanceof Jr(t).HTMLElement}function ei(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Jr(t).ShadowRoot)}function ri(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=si(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ii(t){return["table","td","th"].includes(Yr(t))}function ni(t){const o=ai(),e=si(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 ai(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function li(t){return["html","body","#document"].includes(Yr(t))}function si(t){return Jr(t).getComputedStyle(t)}function ci(t){return ti(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function fi(t){if("html"===Yr(t))return t;const o=t.assignedSlot||t.parentNode||ei(t)&&t.host||Xr(t);return ei(o)?o.host:o}function pi(t){const o=fi(t);return li(o)?t.ownerDocument?t.ownerDocument.body:t.body:oi(o)&&ri(o)?o:pi(o)}function di(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=pi(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Jr(i);return n?o.concat(a,a.visualViewport||[],ri(i)?i:[],a.frameElement&&e?di(a.frameElement):[]):o.concat(i,di(i,[],e))}function ui(t){const o=si(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=oi(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Wr(e)!==n||Wr(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function hi(t){return ti(t)?t:t.contextElement}function gi(t){const o=hi(t);if(!oi(o))return Ur(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ui(o);let a=(n?Wr(e.width):e.width)/r,l=(n?Wr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const yi=Ur(0);function bi(t){const o=Jr(t);return ai()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:yi}function mi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=hi(t);let a=Ur(1);o&&(r?ti(r)&&(a=gi(r)):a=gi(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Jr(t))&&o}(n,e,r)?bi(n):Ur(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Jr(n),o=r&&ti(r)?Jr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=gi(e),o=e.getBoundingClientRect(),r=si(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=i,c+=n,e=Jr(e).frameElement}}return Hr({width:f,height:p,x:s,y:c})}function vi(t){return mi(Xr(t)).left+ci(t).scrollLeft}function xi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Jr(t),r=Xr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=ai();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=Xr(t),e=ci(t),r=t.ownerDocument.body,i=Lr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Lr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+vi(t);const l=-e.scrollTop;return"rtl"===si(r).direction&&(a+=Lr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Xr(t));else if(ti(o))r=function(t,o){const e=mi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=oi(t)?gi(t):Ur(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=bi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Hr(r)}function Oi(t,o){const e=fi(t);return!(e===o||!ti(e)||li(e))&&("fixed"===si(e).position||Oi(e,o))}function wi(t,o,e){const r=oi(o),i=Xr(o),n="fixed"===e,a=mi(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Ur(0);if(r||!r&&!n)if(("body"!==Yr(o)||ri(i))&&(l=ci(o)),r){const t=mi(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=vi(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Si(t,o){return oi(t)&&"fixed"!==si(t).position?o?o(t):t.offsetParent:null}function Ci(t,o){const e=Jr(t);if(!oi(t))return e;let r=Si(t,o);for(;r&&ii(r)&&"static"===si(r).position;)r=Si(r,o);return r&&("html"===Yr(r)||"body"===Yr(r)&&"static"===si(r).position&&!ni(r))?e:r||function(t){let o=fi(t);for(;oi(o)&&!li(o);){if(ni(o))return o;o=fi(o)}return null}(t)||e}const Ni={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=oi(e),n=Xr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Ur(1);const s=Ur(0);if((i||!i&&"fixed"!==r)&&(("body"!==Yr(e)||ri(n))&&(a=ci(e)),oi(e))){const t=mi(e);l=gi(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Xr,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=di(t,[],!1).filter((t=>ti(t)&&"body"!==Yr(t))),i=null;const n="fixed"===si(t).position;let a=n?fi(t):t;for(;ti(a)&&!li(a);){const o=si(a),e=ni(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ri(a)&&!e&&Oi(t,a))?r=r.filter((t=>t!==a)):i=o,a=fi(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=xi(o,e,i);return t.top=Lr(r.top,t.top),t.right=kr(r.right,t.right),t.bottom=kr(r.bottom,t.bottom),t.left=Lr(r.left,t.left),t}),xi(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ci,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ci,n=this.getDimensions;return{reference:wi(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 ui(t)},getScale:gi,isElement:ti,isRTL:function(t){return"rtl"===si(t).direction}},Ei=(t,o,e)=>{const r=new Map,i={platform:Ni,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Tr(c,r,s),d=r,u={},h=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:v}=await g({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:u,rects:c,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Tr(c,d,s))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:u}})(t,o,{...i,platform:n})};function $i(t){return function(t){for(let o=t;o;o=Ri(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ri(t);o;o=Ri(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 Ri(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Ii(t,o,e){return Ei(t,o,{platform:{...Ni,getOffsetParent:t=>Ni.getOffsetParent(t,$i)},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:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Ar(r,t),c={x:o,y:e},f=await Gr(t,s),p=Kr(jr(i)),d=Pr(p);let u=c[d],h=c[p];if(n){const t="y"===d?"bottom":"right";u=Fr(u+f["y"===d?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";h=Fr(h+f["y"===p?"top":"left"],h,h-f[t])}const g=l.fn({...t,[d]:u,[p]:h});return{...g,data:{x:g.x-o,y:g.y-e}}}}),qr({allowedPlacements:[e]})]});var r}var ki=Object.freeze({__proto__:null,computeOffsetPosition:Ii});
135
+ */let Jo=class extends Bo{constructor(t){if(super(t),this.et=D,t.type!==Uo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===K)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:[]}}};Jo.directiveName="unsafeHTML",Jo.resultType=1;const Xo=zo(Jo);var Qo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Jo,unsafeHTML:Xo});class te extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class oe extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new te("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new te("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const ee=t=>new oe(((o,e)=>t.then(o).catch(e)));var re=Object.freeze({__proto__:null,CancelablePromise:oe,CanceledPromiseError:te,cancelable:ee});var ie=Object.freeze({__proto__:null,CacheRegistry:class{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 oe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,o){this.forceClear(t),this.register(t,(async()=>o)),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,(async()=>o)),this.content[t]=o}async get(t,o,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=ee(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}});class ne{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t){var o,e;return(null!==(e=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==e?e:null==t?void 0:t.topic).metadata.map((t=>ne.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o){let e=ne.extractResultMetadata(this.selectedResult).find((o=>o.key===t));const r=this.allResults.flatMap((o=>ne.extractResultMetadata(o).filter((o=>o.key===t)))).filter((t=>!(t.key===(null==e?void 0:e.key)&&t.value===(null==e?void 0:e.value)))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return r.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){let i=this.metadataDescriptors.find((t=>e==t.key)),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>ne.extractResultMetadata(e).find((e=>e.key===t&&e.value===o))));let r,i=ne.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,n);if(o>a&&(a=o,r=t,o===n.length))break}return r}countMatchingMetadata(t,o){return ne.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ae=Object.freeze({__proto__:null,ClusteringHelper:ne});class le{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}}var se=Object.freeze({__proto__:null,Debouncer:le});const ce=t=>new Promise((o=>setTimeout(o,t)));async function fe(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await ce(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function pe(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function de(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(!de(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(!de(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(!de(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}function ue(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1}var he=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?pe(e):e}},deepEqual:de,delay:ce,eventPathContainsMatchingElement:ue,flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:function(t,o,e){return Math.min(Math.max(t,o),e)},parseDate:pe,waitFor:fe,waitUntil:async function(t,o=10,e=2e4){await fe((async()=>await t()||void 0),o,e)}});const ye=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function ge(t,o){const e=()=>JSON.parse(JSON.stringify(t));return So({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!de(t,o),...null!=o?o:{}})}function be(t){return!isNaN(parseFloat(t))}var me=Object.freeze({__proto__:null,customElement:ye,isNumber:be,jsonProperty:ge,optionalNumberProperty:function(t){return So({type:Object,converter:{fromAttribute:t=>{if(null!=t)return be(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const ve=t=>"string"==typeof t?pt(t):t;class xe{static create(t,o,e,r){const i=t=>ve(null!=t?t:r),n=dt`var(${ve(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${ve(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=dt`var(${ve(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=>dt`var(${ve(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):ve(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${ve(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=>dt`var(${ve(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Oe(t,o){return ve(`${t.name}: ${o}`)}const we={colorWhite:xe.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xe.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xe.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xe.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xe.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xe.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xe.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xe.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xe.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xe.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xe.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xe.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xe.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xe.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xe.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xe.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xe.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xe.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xe.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xe.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xe.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xe.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xe.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xe.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xe.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xe.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xe.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xe.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xe.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xe.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xe.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xe.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xe.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xe.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xe.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xe.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xe.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xe.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xe.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xe.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xe.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xe.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xe.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xe.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xe.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xe.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xe.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xe.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xe.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xe.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xe.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xe.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xe.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xe.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xe.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xe.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xe.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xe.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xe.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xe.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xe.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xe.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xe.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xe.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:xe.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:xe.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:xe.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:xe.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:xe.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:xe.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:xe.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:xe.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:xe.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:xe.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:xe.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:xe.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:xe.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:xe.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:xe.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xe.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xe.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xe.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xe.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xe.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xe.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xe.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xe.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xe.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xe.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xe.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xe.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xe.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xe.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xe.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xe.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xe.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xe.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xe.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xe.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xe.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xe.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xe.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xe.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xe.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xe.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xe.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xe.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xe.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xe.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xe.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xe.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xe.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xe.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xe.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xe.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xe.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xe.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xe.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xe.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xe.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xe.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xe.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xe.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xe.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xe.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xe.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xe.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xe.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xe.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xe.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xe.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xe.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xe.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xe.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xe.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xe.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xe.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xe.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xe.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xe.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xe.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xe.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xe.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xe.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xe.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xe.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xe.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xe.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xe.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xe.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xe.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xe.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xe.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xe.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xe.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xe.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xe.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xe.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xe.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xe.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xe.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xe.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xe.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xe.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xe.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xe.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xe.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xe.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xe.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xe.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xe.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xe.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xe.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xe.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xe.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xe.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xe.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xe.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xe.create("--ft-opacity-0","","NUMBER","0"),opacity8:xe.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xe.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xe.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xe.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xe.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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)")},Se={fontFamily:xe.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xe.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ce={fontFamily:xe.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:xe.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ne={fontFamily:xe.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:xe.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xe.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ee={fontFamily:xe.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xe.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:xe.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xe.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},$e={fontFamily:xe.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Re={fontFamily:xe.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ie={fontFamily:xe.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xe.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ke={fontFamily:xe.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xe.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},We={fontFamily:xe.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Le={fontFamily:xe.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:xe.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:xe.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ue={fontFamily:xe.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xe.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xe.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xe.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ze={fontFamily:xe.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Be={fontFamily:xe.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Fe={fontFamily:xe.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xe.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:xe.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},je={fontFamily:xe.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},_e={fontFamily:xe.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xe.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xe.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xe.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Me={fontFamily:xe.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Pe={fontFamily:xe.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:xe.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xe.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ke={fontFamily:xe.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},De={fontFamily:xe.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},He={fontFamily:xe.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xe.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Te={fontFamily:xe.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:xe.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:xe.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ge={fontFamily:xe.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xe.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:xe.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ve={fontFamily:xe.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xe.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:xe.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:xe.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:xe.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:xe.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xe.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xe.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xe.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},qe={display:Se,"title-1":Ce,"title-2":Ne,"title-3":Ee,"body-1-regular":$e,"body-1-medium":Re,"body-1-semibold":Ie,"body-2-regular":ke,"body-2-medium":We,"body-2-medium-underline":Le,"body-2-semibold":Ue,"label-1-medium":ze,"label-1-semibold":Be,"label-1-bold":Fe,"label-2-medium":Ae,"label-2-semibold":je,"label-2-bold":_e,"caption-1-medium":Me,"caption-1-semibold":Pe,"caption-1-bold":Ze,"caption-2-medium":Ke,"caption-2-semibold":De,"caption-2-bold":He,"caption-3-medium":Te,"caption-3-semibold":Ge,"caption-3-bold":Ve},Ye={backgroundActionPrimary:xe.extend("--ft-background-action-primary","Used as backgorund of primary action components.",we.colorBrand0),backgroundErrorSubtle:xe.extend("--ft-background-error-subtle","Used as background of subtle error components.",we.colorRed10),backgroundInfoSubtle:xe.extend("--ft-background-info-subtle","Used as background of subtle information components.",we.colorCyan10),backgroundWarningSubtle:xe.extend("--ft-background-warning-subtle","Used as background of subtle information components.",we.colorOrange10),backgroundSuccessSubtle:xe.extend("--ft-background-success-subtle","Used as background of subtle success components.",we.colorGreen10),backgroundGlobalSurface:xe.extend("--ft-background-global-surface","Used as app background.",we.colorWhite),backgroundGlobalOnSurface:xe.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",we.colorGray10),backgroundGlobalOnSurfaceDark:xe.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",we.colorGray30),contentActionPrimary:xe.extend("--ft-content-action-primary","Used on label of primary action on light surface.",we.colorBrand0),contentWarningPrimary:xe.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",we.colorOrange200),contentWarningIconOnly:xe.extend("--ft-content-warning-icon-only","Used on warning status icons alone",we.colorOrange0),contentErrorPrimary:xe.extend("--ft-content-error-primary","Used on label of error messages on light surface.",we.colorRed0),contentErrorIconOnly:xe.extend("--ft-content-error-icon-only","Used on error status icons alone",we.colorRed70),contentInfoPrimary:xe.extend("--ft-content-info-primary","Used on label of information messages on light surface.",we.colorCyan200),contentInfoIconOnly:xe.extend("--ft-content-info-icon-only","Used on info status icons alone",we.colorCyan0),contentSuccessPrimary:xe.extend("--ft-content-success-primary","Used on label of success messages on light surface.",we.colorGreen200),contentSuccessIconOnly:xe.extend("--ft-content-success-icon-only","Used on success status icons alone",we.colorGreen0),contentGlobalPrimary:xe.extend("--ft-content-global-primary","Used for main content on the page.",we.colorGray500),contentGlobalSecondary:xe.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",we.colorGray200),contentGlobalSubtle:xe.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",we.colorGray0),contentGlobalOnColor:xe.extend("--ft-content-global-on-color","Used for content on a dominant color.",we.colorWhite),borderActionPrimary:xe.extend("--ft-border-action-primary","Used as border for primary action components.",we.colorBrand0),borderActionFocusRing:xe.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",we.colorCyan0),borderWarningPrimary:xe.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",we.colorOrange200),borderWarningSubtle:xe.extend("--ft-border-warning-subtle","Used as border for warning components.",we.colorOrange30),borderSuccessPrimary:xe.extend("--ft-border-success-primary","Used as border for success buttons.",we.colorGreen200),borderSuccessSubtle:xe.extend("--ft-border-success-subtle","Used as border for success components.",we.colorGreen30),borderErrorPrimary:xe.extend("--ft-border-error-primary","Used as border for text fields in error states.",we.colorRed0),borderErrorSubtle:xe.extend("--ft-border-error-subtle","Used as border for error components.",we.colorRed30),borderInfoPrimary:xe.extend("--ft-border-info-primary","Used as border for buttons in info color.",we.colorCyan200),borderInfoSubtle:xe.extend("--ft-border-info-subtle","Used as border for information components.",we.colorCyan30),borderGlobalPrimary:xe.extend("--ft-border-global-primary","Used as border for element like input.",we.colorGray50),borderGlobalSubtle:xe.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",we.colorGray30),borderInputPrimary:xe.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",we.colorGray80)},Je={largeHeight:xe.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:xe.extend("--ft-button-large-horizontal-padding","",we.spacing4),largeGap:xe.extend("--ft-button-large-gap","",we.spacing2),largeBorderRadius:xe.extend("--ft-button-large-border-radius","",we.borderRadiusS),largeIconSize:xe.extend("--ft-button-large-icon-size","",we.iconSize3),largeBorderWidth:xe.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:xe.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xe.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:xe.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:xe.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:xe.extend("--ft-button-small-horizontal-padding","",we.spacing3),smallGap:xe.extend("--ft-button-small-gap","",we.spacing2),smallBorderRadius:xe.extend("--ft-button-small-border-radius","",we.borderRadiusS),smallIconSize:xe.extend("--ft-button-small-icon-size","",we.iconSize2),smallBorderWidth:xe.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:xe.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xe.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:xe.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:xe.extend("--ft-button-primary-background-color","",Ye.backgroundActionPrimary),primaryColor:xe.extend("--ft-button-primary-color","",Ye.contentGlobalOnColor),primaryIconColor:xe.extend("--ft-button-primary-icon-color","",Ye.contentGlobalOnColor),primaryStateLayerColor:xe.extend("--ft-button-primary-state-layer-color","",Ye.contentGlobalOnColor),primaryHoverStateLayerOpacity:xe.extend("--ft-button-primary-hover-state-layer-opacity","",we.opacity16),primaryFocusStateLayerOpacity:xe.extend("--ft-button-primary-focus-state-layer-opacity","",we.opacity16),primaryActiveStateLayerOpacity:xe.extend("--ft-button-primary-active-state-layer-opacity","",we.opacity24),primaryDisabledComponentOpacity:xe.extend("--ft-button-primary-disabled-component-opacity","",we.opacity40),focusFocusRingColor:xe.extend("--ft-button-focus-focus-ring-color","",Ye.borderActionFocusRing),tertiaryBackgroundColor:xe.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:xe.extend("--ft-button-tertiary-color","",Ye.contentActionPrimary),tertiaryIconColor:xe.extend("--ft-button-tertiary-icon-color","",Ye.contentActionPrimary),tertiaryStateLayerColor:xe.extend("--ft-button-tertiary-state-layer-color","",Ye.contentActionPrimary),tertiaryHoverStateLayerOpacity:xe.extend("--ft-button-tertiary-hover-state-layer-opacity","",we.opacity8),tertiaryFocusStateLayerOpacity:xe.extend("--ft-button-tertiary-focus-state-layer-opacity","",we.opacity8),tertiaryActiveStateLayerOpacity:xe.extend("--ft-button-tertiary-active-state-layer-opacity","",we.opacity16),tertiaryDisabledComponentOpacity:xe.extend("--ft-button-tertiary-disabled-component-opacity","",we.opacity40),secondaryBackgroundColor:xe.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:xe.extend("--ft-button-secondary-color","",Ye.contentActionPrimary),secondaryIconColor:xe.extend("--ft-button-secondary-icon-color","",Ye.contentActionPrimary),secondaryStateLayerColor:xe.extend("--ft-button-secondary-state-layer-color","",Ye.contentActionPrimary),secondaryHoverStateLayerOpacity:xe.extend("--ft-button-secondary-hover-state-layer-opacity","",we.opacity8),secondaryFocusStateLayerOpacity:xe.extend("--ft-button-secondary-focus-state-layer-opacity","",we.opacity8),secondaryActiveStateLayerOpacity:xe.extend("--ft-button-secondary-active-state-layer-opacity","",we.opacity16),secondaryDisabledComponentOpacity:xe.extend("--ft-button-secondary-disabled-component-opacity","",we.opacity40),secondaryBorderColor:xe.extend("--ft-button-secondary-border-color","",Ye.borderActionPrimary),neutralBackgroundColor:xe.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:xe.extend("--ft-button-neutral-icon-color","",Ye.contentGlobalSecondary),neutralColor:xe.extend("--ft-button-neutral-color","",Ye.contentGlobalSecondary),neutralStateLayerColor:xe.extend("--ft-button-neutral-state-layer-color","",Ye.contentGlobalSecondary),neutralHoverStateLayerOpacity:xe.extend("--ft-button-neutral-hover-state-layer-opacity","",we.opacity8),neutralFocusStateLayerOpacity:xe.extend("--ft-button-neutral-focus-state-layer-opacity","",we.opacity8),neutralActiveStateLayerOpacity:xe.extend("--ft-button-neutral-active-state-layer-opacity","",we.opacity16),neutralDisabledComponentOpacity:xe.extend("--ft-button-neutral-disabled-component-opacity","",we.opacity40)},Xe={iconSize:xe.extend("--ft-banner-icon-size","",we.iconSize5),borderWidth:xe.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:xe.extend("--ft-banner-horizontal-padding","",we.spacing6),verticalPadding:xe.extend("--ft-banner-vertical-padding","",we.spacing6),horizontalSideGap:xe.extend("--ft-banner-horizontal-side-gap","",we.spacing6),horizontalMobileGap:xe.extend("--ft-banner-horizontal-mobile-gap","",we.spacing4),verticalMobileGap:xe.extend("--ft-banner-vertical-mobile-gap","",we.spacing6),horizontalMiddleGap:xe.extend("--ft-banner-horizontal-middle-gap","",we.spacing20),infoBackgroundColor:xe.extend("--ft-banner-info-background-color","",Ye.backgroundInfoSubtle),infoColor:xe.extend("--ft-banner-info-color","",Ye.contentInfoPrimary),infoIconColor:xe.extend("--ft-banner-info-icon-color","",Ye.contentInfoIconOnly)},Qe={horizontalGap:xe.extend("--ft-breadcrumb-horizontal-gap","",we.spacing1),verticalGap:xe.extend("--ft-breadcrumb-vertical-gap","",we.spacing2),currentElementColor:xe.extend("--ft-breadcrumb-current-element-color","",Ye.contentGlobalPrimary),iconColor:xe.extend("--ft-breadcrumb-icon-color","",Ye.contentGlobalSubtle)},tr={horizontalPadding:xe.extend("--ft-page-header-horizontal-padding","",we.spacing12),horizontalGap:xe.extend("--ft-page-header-horizontal-gap","",we.spacing4),verticalGap:xe.extend("--ft-page-header-vertical-gap","",we.spacing2),classicVerticalPadding:xe.extend("--ft-page-header-classic-vertical-padding","",we.spacing6),multilineVerticalPadding:xe.extend("--ft-page-header-multiline-vertical-padding","",we.spacing4),inlineVerticalPadding:xe.extend("--ft-page-header-inline-vertical-padding","",we.spacing2),backgroundColor:xe.extend("--ft-page-header-background-color","",we.colorWhite),bottomBorderColor:xe.extend("--ft-page-header-bottom-border-color","",Ye.borderGlobalSubtle),titleColor:xe.extend("--ft-page-header-title-color","",Ye.contentGlobalPrimary),subtitleColor:xe.extend("--ft-page-header-subtitle-color","",Ye.contentGlobalSecondary)},or={smallContainerWidth:xe.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:xe.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:xe.extend("--ft-modal-overlay-background-color","",we.colorGray700),overlayOpacity:xe.extend("--ft-modal-overlay-opacity","",we.opacity40),shadow:xe.extend("--ft-modal-shadow","",we.shadowElevation03),bodyBackgroundColor:xe.extend("--ft-modal-body-background-color","",we.colorWhite),bodyColor:xe.extend("--ft-modal-body-color","",Ye.contentGlobalPrimary),bodyHorizontalPadding:xe.extend("--ft-modal-body-horizontal-padding","",we.spacing6),bodyVerticalPadding:xe.extend("--ft-modal-body-vertical-padding","",we.spacing6),bodyVerticalGap:xe.extend("--ft-modal-body-vertical-gap","",we.spacing6),containerMargin:xe.extend("--ft-modal-container-margin","",we.spacing3),headerBackgroundColor:xe.extend("--ft-modal-header-background-color","",Ye.backgroundGlobalOnSurface),headerBorderColor:xe.extend("--ft-modal-header-border-color","",Ye.borderGlobalSubtle),headerColor:xe.extend("--ft-modal-header-color","",Ye.contentGlobalPrimary),headerTrailingIconColor:xe.extend("--ft-modal-header-trailing-icon-color","",Ye.contentGlobalSecondary),headerVerticalPadding:xe.extend("--ft-modal-header-vertical-padding","",we.spacing1),headerRightPadding:xe.extend("--ft-modal-header-right-padding","",we.spacing1),headerLeftPadding:xe.extend("--ft-modal-header-left-padding","",we.spacing6),headerGap:xe.extend("--ft-modal-header-gap","",we.spacing2),headerBorderBottom:xe.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:xe.extend("--ft-modal-border-radius","",we.borderRadiusM)},er={overlayOpacity:xe.extend("--ft-drawer-overlay-opacity","",we.opacity40),shadow:xe.extend("--ft-drawer-shadow","",we.shadowElevation03),bodyColor:xe.extend("--ft-drawer-body-color","",Ye.contentGlobalPrimary),bodyHorizontalPadding:xe.extend("--ft-drawer-body-horizontal-padding","",we.spacing6),bodyVerticalPadding:xe.extend("--ft-drawer-body-vertical-padding","",we.spacing6),bodyGap:xe.extend("--ft-drawer-body-gap","",we.spacing6),bodyBackgroundColor:xe.extend("--ft-drawer-body-background-color","",we.colorWhite),headerBackgroundColor:xe.extend("--ft-drawer-header-background-color","",Ye.backgroundGlobalOnSurface),headerBorderColor:xe.extend("--ft-drawer-header-border-color","",Ye.borderGlobalSubtle),headerColor:xe.extend("--ft-drawer-header-color","",Ye.contentGlobalPrimary),headerTrailingIconColor:xe.extend("--ft-drawer-header-trailing-icon-color","",Ye.contentGlobalSecondary),headerHeight:xe.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:xe.extend("--ft-drawer-header-horizontal-padding","",we.spacing2),headerBorderWidth:xe.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:xe.extend("--ft-drawer-header-gap","",we.spacing3),buttonsBarBackgroundColor:xe.extend("--ft-drawer-buttons-bar-background-color","",Ye.backgroundGlobalOnSurface),buttonsBarBorderColor:xe.extend("--ft-drawer-buttons-bar-border-color","",Ye.borderGlobalSubtle),buttonsBarColor:xe.extend("--ft-drawer-buttons-bar-color","",Ye.contentGlobalPrimary),buttonsBarHorizontalPadding:xe.extend("--ft-drawer-buttons-bar-horizontal-padding","",we.spacing4),buttonsBarVerticalPadding:xe.extend("--ft-drawer-buttons-bar-vertical-padding","",we.spacing4),buttonsBarGap:xe.extend("--ft-drawer-buttons-bar-gap","",we.spacing3),buttonsBarBorderWidth:xe.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:xe.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:xe.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:xe.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:xe.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:xe.extend("--ft-drawer-overlay-background-color","",we.colorGray700)},rr={fieldHorizontalPadding:xe.extend("--ft-text-input-field-horizontal-padding","",we.spacing4),fieldHorizontalGap:xe.extend("--ft-text-input-field-horizontal-gap","",we.spacing3),fieldVerticalGap:xe.extend("--ft-text-input-field-vertical-gap","",we.spacing05),fieldIconSize:xe.extend("--ft-text-input-field-icon-size","",we.iconSize3),fieldHeight:xe.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:xe.extend("--ft-text-input-helper-horizontal-padding","",we.spacing4),helperHorizontalGap:xe.extend("--ft-text-input-helper-horizontal-gap","",we.spacing1),helperIconSize:xe.extend("--ft-text-input-helper-icon-size","",we.iconSize2),borderRadius:xe.extend("--ft-text-input-border-radius","",we.borderRadiusM),backgroundColor:xe.extend("--ft-text-input-background-color","",we.colorWhite),contentValueColor:xe.extend("--ft-text-input-content-value-color","",Ye.contentGlobalPrimary),trailingIconColor:xe.extend("--ft-text-input-trailing-icon-color","",Ye.contentGlobalSubtle),labelColor:xe.extend("--ft-text-input-label-color","",Ye.contentGlobalSubtle),defaultBorderColor:xe.extend("--ft-text-input-default-border-color","",Ye.borderInputPrimary),defaultHelperTextColor:xe.extend("--ft-text-input-default-helper-text-color","",Ye.contentGlobalSubtle),defaultBorderWidth:xe.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:xe.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:xe.extend("--ft-text-input-error-border-color","",Ye.borderErrorPrimary),errorHelperTextColor:xe.extend("--ft-text-input-error-helper-text-color","",Ye.contentErrorPrimary),errorHelperIconColor:xe.extend("--ft-text-input-error-helper-icon-color","",Ye.contentErrorIconOnly),warningBorderWidth:xe.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:xe.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:xe.extend("--ft-text-input-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineOffset:xe.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:xe.extend("--ft-text-input-disabled-component-opacity","",we.opacity40)},ir={backgroundColor:xe.extend("--ft-text-area-background-color","",we.colorWhite),contentValueColor:xe.extend("--ft-text-area-content-value-color","",Ye.contentGlobalPrimary),labelColor:xe.extend("--ft-text-area-label-color","",Ye.contentGlobalSubtle),defaultBorderColor:xe.extend("--ft-text-area-default-border-color","",Ye.borderInputPrimary),defaultHelperTextColor:xe.extend("--ft-text-area-default-helper-text-color","",Ye.contentGlobalSubtle),defaultBorderWidth:xe.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:xe.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:xe.extend("--ft-text-area-error-border-color","",Ye.borderErrorPrimary),errorHelperTextColor:xe.extend("--ft-text-area-error-helper-text-color","",Ye.contentErrorPrimary),errorHelperIconColor:xe.extend("--ft-text-area-error-helper-icon-color","",Ye.contentErrorIconOnly),focusFocusRingColor:xe.extend("--ft-text-area-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineWidth:xe.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:xe.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:xe.extend("--ft-text-area-disabled-component-opacity","",we.opacity40),fieldHorizontalLeftPadding:xe.extend("--ft-text-area-field-horizontal-left-padding","",we.spacing4),fieldHorizontalGap:xe.extend("--ft-text-area-field-horizontal-gap","",we.spacing3),fieldVerticalGap:xe.extend("--ft-text-area-field-vertical-gap","",we.spacing05),fieldMinHeight:xe.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:xe.extend("--ft-text-area-helper-horizontal-padding","",we.spacing4),helperHorizontalGap:xe.extend("--ft-text-area-helper-horizontal-gap","",we.spacing1),helperIconSize:xe.extend("--ft-text-area-helper-icon-size","",we.iconSize2),borderRadius:xe.extend("--ft-text-area-border-radius","",we.borderRadiusM)},nr={height:xe.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:xe.extend("--ft-floating-menu-horizontal-padding","",we.spacing4),offIconColor:xe.extend("--ft-floating-menu-off-icon-color","",Ye.contentGlobalPrimary),offColor:xe.extend("--ft-floating-menu-off-color","",Ye.contentGlobalPrimary),onColor:xe.extend("--ft-floating-menu-on-color","",Ye.contentActionPrimary),onStateLayerColor:xe.extend("--ft-floating-menu-on-state-layer-color","",Ye.contentActionPrimary),gap:xe.extend("--ft-floating-menu-gap","",we.spacing3),focusFocusRingColor:xe.extend("--ft-floating-menu-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineWidth:xe.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:xe.extend("--ft-floating-menu-focus-state-layer-opacity","",we.opacity8),hoverStateLayerOpacity:xe.extend("--ft-floating-menu-hover-state-layer-opacity","",we.opacity8),activeStateLayerOpacity:xe.extend("--ft-floating-menu-active-state-layer-opacity","",we.opacity16),disabledComponentOpacity:xe.extend("--ft-floating-menu-disabled-component-opacity","",we.opacity40),iconSize:xe.extend("--ft-floating-menu-icon-size","",we.iconSize3),backgroundColor:xe.extend("--ft-floating-menu-background-color","",Ye.backgroundGlobalOnSurface)},ar={fieldHorizontalPadding:xe.extend("--ft-combobox-single-select-field-horizontal-padding","",we.spacing4),fieldHorizontalGap:xe.extend("--ft-combobox-single-select-field-horizontal-gap","",we.spacing3),fieldVerticalGap:xe.extend("--ft-combobox-single-select-field-vertical-gap","",we.spacing05),fieldIconSize:xe.extend("--ft-combobox-single-select-field-icon-size","",we.iconSize3),fieldHeight:xe.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:xe.extend("--ft-combobox-single-select-helper-horizontal-padding","",we.spacing4),helperHorizontalGap:xe.extend("--ft-combobox-single-select-helper-horizontal-gap","",we.spacing1),helperVerticalGap:xe.extend("--ft-combobox-single-select-helper-vertical-gap","",we.spacing1),helperIconSize:xe.extend("--ft-combobox-single-select-helper-icon-size","",we.iconSize2),menuVerticalGap:xe.extend("--ft-combobox-single-select-menu-vertical-gap","",we.spacing2),borderRadius:xe.extend("--ft-combobox-single-select-border-radius","",we.borderRadiusM),backgroundColor:xe.extend("--ft-combobox-single-select-background-color","",we.colorWhite),labelColor:xe.extend("--ft-combobox-single-select-label-color","",Ye.contentGlobalSubtle),contentValueColor:xe.extend("--ft-combobox-single-select-content-value-color","",Ye.contentGlobalPrimary),trailingIconColor:xe.extend("--ft-combobox-single-select-trailing-icon-color","",Ye.contentGlobalSubtle),defaultBorderColor:xe.extend("--ft-combobox-single-select-default-border-color","",Ye.borderInputPrimary),defaultHelperTextColor:xe.extend("--ft-combobox-single-select-default-helper-text-color","",Ye.contentGlobalSubtle),defaultBorderWidth:xe.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:xe.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:xe.extend("--ft-combobox-single-select-error-border-color","",Ye.borderErrorPrimary),errorHelperTextColor:xe.extend("--ft-combobox-single-select-error-helper-text-color","",Ye.contentErrorPrimary),warningBorderWidth:xe.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:xe.extend("--ft-combobox-single-select-warning-border-color","",Ye.borderWarningPrimary),warningHelperTextColor:xe.extend("--ft-combobox-single-select-warning-helper-text-color","",Ye.contentWarningPrimary),warningHelperIconColor:xe.extend("--ft-combobox-single-select-warning-helper-icon-color","",Ye.contentWarningIconOnly),focusOutlineWidth:xe.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:xe.extend("--ft-combobox-single-select-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineOffset:xe.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:xe.extend("--ft-combobox-single-select-disabled-component-opacity","",we.opacity40)},lr={backgroundColor:xe.extend("--ft-combobox-multi-select-background-color","",we.colorWhite),labelColor:xe.extend("--ft-combobox-multi-select-label-color","",Ye.contentGlobalSubtle),trailingIconColor:xe.extend("--ft-combobox-multi-select-trailing-icon-color","",Ye.contentGlobalSubtle),defaultBorderColor:xe.extend("--ft-combobox-multi-select-default-border-color","",Ye.borderInputPrimary),defaultHelperTextColor:xe.extend("--ft-combobox-multi-select-default-helper-text-color","",Ye.contentGlobalSubtle),defaultBorderWidth:xe.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:xe.extend("--ft-combobox-multi-select-error-border-color","",Ye.borderErrorPrimary),errorHelperTextColor:xe.extend("--ft-combobox-multi-select-error-helper-text-color","",Ye.contentErrorPrimary),errorHelperIcon:xe.extend("--ft-combobox-multi-select-error-helper-icon","",Ye.contentErrorIconOnly),errorBorderWidth:xe.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:xe.extend("--ft-combobox-multi-select-warning-border-color","",Ye.borderWarningPrimary),warningHelperTextColor:xe.extend("--ft-combobox-multi-select-warning-helper-text-color","",Ye.contentWarningPrimary),warningHelperIconColor:xe.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Ye.contentWarningIconOnly),warningBorderWidth:xe.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:xe.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineWidth:xe.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:xe.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:xe.extend("--ft-combobox-multi-select-disabled-component-opacity","",we.opacity40),helperHorizontalPadding:xe.extend("--ft-combobox-multi-select-helper-horizontal-padding","",we.spacing4),helperHorizontalGap:xe.extend("--ft-combobox-multi-select-helper-horizontal-gap","",we.spacing1),helperVerticalGap:xe.extend("--ft-combobox-multi-select-helper-vertical-gap","",we.spacing1),helperIconSize:xe.extend("--ft-combobox-multi-select-helper-icon-size","",we.iconSize2),fieldHorizontalPadding:xe.extend("--ft-combobox-multi-select-field-horizontal-padding","",we.spacing4),fieldHorizontalGap:xe.extend("--ft-combobox-multi-select-field-horizontal-gap","",we.spacing3),fieldVerticalGap:xe.extend("--ft-combobox-multi-select-field-vertical-gap","",we.spacing05),fieldIconSize:xe.extend("--ft-combobox-multi-select-field-icon-size","",we.iconSize3),fieldMaxHeight:xe.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:xe.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",we.spacing1),contentValuesVerticalGap:xe.extend("--ft-combobox-multi-select-content-values-vertical-gap","",we.spacing1),borderRadius:xe.extend("--ft-combobox-multi-select-border-radius","",we.borderRadiusM)},sr={backgroundColor:xe.extend("--ft-popover-background-color","",Ye.backgroundGlobalOnSurface),horizontalPadding:xe.extend("--ft-popover-horizontal-padding","",we.spacing6),verticalPadding:xe.extend("--ft-popover-vertical-padding","",we.spacing6),iconColor:xe.extend("--ft-popover-icon-color","",Ye.contentGlobalSecondary),iconSize:xe.extend("--ft-popover-icon-size","",we.iconSize2),titleColor:xe.extend("--ft-popover-title-color","",Ye.contentGlobalPrimary),bodyColor:xe.extend("--ft-popover-body-color","",Ye.contentGlobalSecondary),linkColor:xe.extend("--ft-popover-link-color","",Ye.contentActionPrimary),gap:xe.extend("--ft-popover-gap","",we.spacing3),borderRadius:xe.extend("--ft-popover-border-radius","",we.borderRadiusM),shadow:xe.extend("--ft-popover-shadow","",we.shadowElevation02)},cr={topLeftBorderRadius:xe.extend("--ft-tabs-top-left-border-radius","",we.borderRadiusS),topRightBorderRadius:xe.extend("--ft-tabs-top-right-border-radius","",we.borderRadiusS),labelHorizontalPadding:xe.extend("--ft-tabs-label-horizontal-padding","",we.spacing4),labelVerticalPadding:xe.extend("--ft-tabs-label-vertical-padding","",we.spacing3),labelGap:xe.extend("--ft-tabs-label-gap","",we.spacing1),offHoverStateLayerOpacity:xe.extend("--ft-tabs-off-hover-state-layer-opacity","",we.opacity8),offFocusStateLayerOpacity:xe.extend("--ft-tabs-off-focus-state-layer-opacity","",we.opacity8),offActiveStateLayerOpacity:xe.extend("--ft-tabs-off-active-state-layer-opacity","",we.opacity16),offDisabledComponentOpacity:xe.extend("--ft-tabs-off-disabled-component-opacity","",we.opacity40),offColor:xe.extend("--ft-tabs-off-color","",Ye.contentGlobalSubtle),offStateLayerColor:xe.extend("--ft-tabs-off-state-layer-color","",Ye.contentGlobalSubtle),onHoverStateLayerOpacity:xe.extend("--ft-tabs-on-hover-state-layer-opacity","",we.opacity8),onFocusStateLayerOpacity:xe.extend("--ft-tabs-on-focus-state-layer-opacity","",we.opacity8),onActiveStateLayerOpacity:xe.extend("--ft-tabs-on-active-state-layer-opacity","",we.opacity16),onDisabledComponentOpacity:xe.extend("--ft-tabs-on-disabled-component-opacity","",we.opacity40),onColor:xe.extend("--ft-tabs-on-color","",Ye.contentActionPrimary),onStateLayerColor:xe.extend("--ft-tabs-on-state-layer-color","",Ye.contentActionPrimary),iconHorizontalPadding:xe.extend("--ft-tabs-icon-horizontal-padding","",we.spacing1),iconVerticalPadding:xe.extend("--ft-tabs-icon-vertical-padding","",we.spacing4),focusOutlineWidth:xe.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:xe.extend("--ft-tabs-focus-focus-ring-color","",Ye.borderActionFocusRing)},fr={hoverStateLayerOpacity:xe.extend("--ft-collapsible-hover-state-layer-opacity","",we.opacity8),focusStateLayerOpacity:xe.extend("--ft-collapsible-focus-state-layer-opacity","",we.opacity8),focusOutlineWidth:xe.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:xe.extend("--ft-collapsible-focus-focus-ring-color","",Ye.borderActionFocusRing),activeStateLayerOpacity:xe.extend("--ft-collapsible-active-state-layer-opacity","",we.opacity16),disabledComponentOpacity:xe.extend("--ft-collapsible-disabled-component-opacity","",we.opacity40),horizontalPadding:xe.extend("--ft-collapsible-horizontal-padding","",we.spacing4),verticalPadding:xe.extend("--ft-collapsible-vertical-padding","",we.spacing3),color:xe.extend("--ft-collapsible-color","",Ye.contentGlobalPrimary),stateLayerColor:xe.extend("--ft-collapsible-state-layer-color","",Ye.contentGlobalPrimary),backgroundColor:xe.extend("--ft-collapsible-background-color","",Ye.backgroundGlobalOnSurface),borderColor:xe.extend("--ft-collapsible-border-color","",Ye.borderGlobalSubtle),iconSize:xe.extend("--ft-collapsible-icon-size","",we.iconSize3)},pr={groupHorizontalPadding:xe.extend("--ft-switch-group-horizontal-padding","",we.spacing1),groupVerticalPadding:xe.extend("--ft-switch-group-vertical-padding","",we.spacing1),groupGap:xe.extend("--ft-switch-group-gap","",we.spacing1),groupBackgroundColor:xe.extend("--ft-switch-group-background-color","",Ye.backgroundGlobalSurface),groupBorderColor:xe.extend("--ft-switch-group-border-color","",Ye.borderGlobalSubtle),groupBorderRadius:xe.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:xe.extend("--ft-switch-label-horizontal-padding","",we.spacing2),labelVerticalPadding:xe.extend("--ft-switch-label-vertical-padding","",we.spacing1),offHoverStateLayerOpacity:xe.extend("--ft-switch-off-hover-state-layer-opacity","",we.opacity8),offFocusStateLayerOpacity:xe.extend("--ft-switch-off-focus-state-layer-opacity","",we.opacity8),offActiveStateLayerOpacity:xe.extend("--ft-switch-off-active-state-layer-opacity","",we.opacity16),offDisabledComponentOpacity:xe.extend("--ft-switch-off-disabled-component-opacity","",we.opacity40),offColor:xe.extend("--ft-switch-off-color","",Ye.contentGlobalSubtle),offStateLayerColor:xe.extend("--ft-switch-off-state-layer-color","",Ye.contentGlobalSubtle),onHoverStateLayerOpacity:xe.extend("--ft-switch-on-hover-state-layer-opacity","",we.opacity8),onFocusStateLayerOpacity:xe.extend("--ft-switch-on-focus-state-layer-opacity","",we.opacity8),onActiveStateLayerOpacity:xe.extend("--ft-switch-on-active-state-layer-opacity","",we.opacity16),onDisabledComponentOpacity:xe.extend("--ft-switch-on-disabled-component-opacity","",we.opacity40),onColor:xe.extend("--ft-switch-on-color","",Ye.contentActionPrimary),onStateLayerColor:xe.extend("--ft-switch-on-state-layer-color","",Ye.contentActionPrimary),iconHorizontalPadding:xe.extend("--ft-switch-icon-horizontal-padding","",we.spacing1),iconVerticalPadding:xe.extend("--ft-switch-icon-vertical-padding","",we.spacing1),focusOutlineWidth:xe.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:xe.extend("--ft-switch-focus-focus-ring-color","",Ye.borderActionFocusRing),optionBorderRadius:xe.extend("--ft-switch-option-border-radius","",we.borderRadiusS)},dr={color1Light:xe.extend("--ft-chart-1-light","for area color charts",we.colorBrand40),color1Base:xe.extend("--ft-chart-1-base","for line charts",we.colorBrand0),color2Light:xe.extend("--ft-chart-2-light","for area color charts",we.colorYellow60),color2Base:xe.extend("--ft-chart-2-base","for line charts",we.colorYellow100),color3Light:xe.extend("--ft-chart-3-light","",we.colorUltramarine40),color3Base:xe.extend("--ft-chart-3-base","",we.colorUltramarine70),color4Light:xe.extend("--ft-chart-4-light","",we.colorCyan50),color4Base:xe.extend("--ft-chart-4-base","",we.colorCyan100),color5Light:xe.extend("--ft-chart-5-light","",we.colorRed40),color5Base:xe.extend("--ft-chart-5-base","",we.colorRed60),color6Light:xe.extend("--ft-chart-6-light","",we.colorGreen40),color6Base:xe.extend("--ft-chart-6-base","",we.colorGreen70),color7Light:xe.extend("--ft-chart-7-light","",we.colorOrange70),color7Base:xe.extend("--ft-chart-7-base","",we.colorOrange100),color8Light:xe.extend("--ft-chart-8-light","",we.colorAvocado70),color8Base:xe.extend("--ft-chart-8-base","",we.colorAvocado200),color9Light:xe.extend("--ft-chart-9-light","",we.colorBrown50),color9Base:xe.extend("--ft-chart-9-base","",we.colorBrown200),color10Light:xe.extend("--ft-chart-10-light","",we.colorGray50),color10Base:xe.extend("--ft-chart-10-base","",we.colorGray80),monochrome10:xe.extend("--ft-chart-monochrome-10","",we.colorBrand10),monochrome20:xe.extend("--ft-chart-monochrome-20","",we.colorBrand20),monochrome30:xe.extend("--ft-chart-monochrome-30","",we.colorBrand40),monochrome40:xe.extend("--ft-chart-monochrome-40","",we.colorBrand60),monochrome50:xe.extend("--ft-chart-monochrome-50","",we.colorBrand0),monochrome60:xe.extend("--ft-chart-monochrome-60","",we.colorBrand200)},ur={largeHorizontalPadding:xe.extend("--ft-chip-large-horizontal-padding","",we.spacing4),largeVerticalPadding:xe.extend("--ft-chip-large-vertical-padding","",we.spacing2),largeGap:xe.extend("--ft-chip-large-gap","",we.spacing1),largeFocusOutlineOffset:xe.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:xe.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:xe.extend("--ft-chip-large-border-radius","",we.borderRadiusPill),largeBorderWidth:xe.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:xe.extend("--ft-chip-large-icon-size","",we.iconSize3),mediumHorizontalPadding:xe.extend("--ft-chip-medium-horizontal-padding","",we.spacing3),mediumVerticalPadding:xe.extend("--ft-chip-medium-vertical-padding","",we.spacing1),mediumGap:xe.extend("--ft-chip-medium-gap","",we.spacing1),mediumFocusOutlineOffset:xe.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:xe.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:xe.extend("--ft-chip-medium-border-radius","",we.borderRadiusPill),mediumBorderWidth:xe.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:xe.extend("--ft-chip-medium-icon-size","",we.iconSize2),smallHorizontalPadding:xe.extend("--ft-chip-small-horizontal-padding","",we.spacing2),smallVerticalPadding:xe.extend("--ft-chip-small-vertical-padding","",we.spacing05),smallGap:xe.extend("--ft-chip-small-gap","",we.spacing1),smallFocusOutlineOffset:xe.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:xe.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:xe.extend("--ft-chip-small-border-radius","",we.borderRadiusPill),smallBorderWidth:xe.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:xe.extend("--ft-chip-small-icon-size","",we.iconSize1),neutralBackgroundColor:xe.extend("--ft-chip-neutral-background-color","",Ye.backgroundGlobalOnSurface),neutralColor:xe.extend("--ft-chip-neutral-color","",Ye.contentGlobalPrimary),neutralIconColor:xe.extend("--ft-chip-neutral-icon-color","",Ye.contentGlobalPrimary),neutralBorderColor:xe.extend("--ft-chip-neutral-border-color","",Ye.borderGlobalSubtle),infoBackgroundColor:xe.extend("--ft-chip-info-background-color","",Ye.backgroundInfoSubtle),infoColor:xe.extend("--ft-chip-info-color","",Ye.contentInfoPrimary),infoIconColor:xe.extend("--ft-chip-info-icon-color","",Ye.contentInfoIconOnly),infoBorderColor:xe.extend("--ft-chip-info-border-color","",Ye.borderInfoSubtle),successBackgroundColor:xe.extend("--ft-chip-success-background-color","",Ye.backgroundSuccessSubtle),successColor:xe.extend("--ft-chip-success-color","",Ye.contentSuccessPrimary),successIconColor:xe.extend("--ft-chip-success-icon-color","",Ye.contentSuccessIconOnly),successBorderColor:xe.extend("--ft-chip-success-border-color","",Ye.borderSuccessSubtle),warningBackgroundColor:xe.extend("--ft-chip-warning-background-color","",Ye.backgroundWarningSubtle),warningColor:xe.extend("--ft-chip-warning-color","",Ye.contentWarningPrimary),warningIconColor:xe.extend("--ft-chip-warning-icon-color","",Ye.contentWarningIconOnly),warningBorderColor:xe.extend("--ft-chip-warning-border-color","",Ye.borderWarningSubtle),errorBackgroundColor:xe.extend("--ft-chip-error-background-color","",Ye.backgroundErrorSubtle),errorColor:xe.extend("--ft-chip-error-color","",Ye.contentErrorPrimary),errorIconColor:xe.extend("--ft-chip-error-icon-color","",Ye.contentErrorIconOnly),errorBorderColor:xe.extend("--ft-chip-error-border-color","",Ye.borderErrorSubtle)},hr={infoBorderColor:xe.extend("--ft-border-info-border-color","",Ye.borderInfoSubtle)},yr={borderWidth:xe.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:xe.extend("--ft-notice-horizontal-padding","",we.spacing2),verticalPadding:xe.extend("--ft-notice-vertical-padding","",we.spacing1),borderRadius:xe.extend("--ft-notice-border-radius","",we.borderRadiusS),gap:xe.extend("--ft-notice-gap","",we.spacing2),iconSize:xe.extend("--ft-notice-icon-size","",we.iconSize3),infoBackgroundColor:xe.extend("--ft-notice-info-background-color","",Ye.backgroundInfoSubtle),infoBorderColor:xe.extend("--ft-notice-info-border-color","",Ye.borderInfoSubtle),infoColor:xe.extend("--ft-notice-info-color","",Ye.contentInfoPrimary),infoIconColor:xe.extend("--ft-notice-info-icon-color","",Ye.contentInfoIconOnly),warningBackgroundColor:xe.extend("--ft-notice-warning-background-color","",Ye.backgroundWarningSubtle),warningBorderColor:xe.extend("--ft-notice-warning-border-color","",Ye.borderWarningSubtle),warningColor:xe.extend("--ft-notice-warning-color","",Ye.contentWarningPrimary),warningIconColor:xe.extend("--ft-notice-warning-icon-color","",Ye.contentWarningIconOnly),errorBackgroundColor:xe.extend("--ft-notice-error-background-color","",Ye.backgroundErrorSubtle),errorBorderColor:xe.extend("--ft-notice-error-border-color","",Ye.borderErrorSubtle),errorColor:xe.extend("--ft-notice-error-color","",Ye.contentErrorPrimary),errorIconColor:xe.extend("--ft-notice-error-icon-color","",Ye.contentErrorIconOnly),successBackgroundColor:xe.extend("--ft-notice-success-background-color","",Ye.backgroundSuccessSubtle),successBorderColor:xe.extend("--ft-notice-success-border-color","",Ye.borderSuccessSubtle),successColor:xe.extend("--ft-notice-success-color","",Ye.contentSuccessPrimary),successIconColor:xe.extend("--ft-notice-success-icon-color","",Ye.contentSuccessIconOnly)},gr={color:xe.extend("--ft-checkbox-color","",Ye.contentGlobalPrimary),checkedBackgroundColor:xe.extend("--ft-checkbox-checked-background-color","",Ye.contentActionPrimary),checkedStateLayerColor:xe.extend("--ft-checkbox-checked-state-layer-color","",Ye.contentActionPrimary),checkedIconColor:xe.extend("--ft-checkbox-checked-icon-color","",Ye.contentGlobalOnColor),checkedHoverStateLayerOpacity:xe.extend("--ft-checkbox-checked-hover-state-layer-opacity","",we.opacity16),checkedFocusStateLayerOpacity:xe.extend("--ft-checkbox-checked-focus-state-layer-opacity","",we.opacity16),checkedActiveStateLayerOpacity:xe.extend("--ft-checkbox-checked-active-state-layer-opacity","",we.opacity24),checkedDisabledComponentOpacity:xe.extend("--ft-checkbox-checked-disabled-component-opacity","",we.opacity40),uncheckedBorderColor:xe.extend("--ft-checkbox-unchecked-border-color","",we.colorGray80),uncheckedStateLayerColor:xe.extend("--ft-checkbox-unchecked-state-layer-color","",we.colorGray80),uncheckedHoverStateLayerOpacity:xe.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",we.opacity16),uncheckedFocusStateLayerOpacity:xe.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",we.opacity16),uncheckedActiveStateLayerOpacity:xe.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",we.opacity24),uncheckedDisabledComponentOpacity:xe.extend("--ft-checkbox-unchecked-disabled-component-opacity","",we.opacity40),focusFocusRingColor:xe.extend("--ft-checkbox-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineOffset:xe.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:xe.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:xe.extend("--ft-checkbox-gap","",we.spacing3)},br={offHoverStateLayerOpacity:xe.extend("--ft-toggle-off-hover-state-layer-opacity","",we.opacity16),offFocusStateLayerOpacity:xe.extend("--ft-toggle-off-focus-state-layer-opacity","",we.opacity16),offActiveStateLayerOpacity:xe.extend("--ft-toggle-off-active-state-layer-opacity","",we.opacity24),offDisabledComponentOpacity:xe.extend("--ft-toggle-off-disabled-component-opacity","",we.opacity40),offBackgroundColor:xe.extend("--ft-toggle-off-background-color","",Ye.contentGlobalSubtle),offIconColor:xe.extend("--ft-toggle-off-icon-color","",Ye.contentGlobalSubtle),offStateLayerColor:xe.extend("--ft-toggle-off-state-layer-color","",Ye.contentGlobalSubtle),onHoverStateLayerOpacity:xe.extend("--ft-toggle-on-hover-state-layer-opacity","",we.opacity16),onFocusStateLayerOpacity:xe.extend("--ft-toggle-on-focus-state-layer-opacity","",we.opacity16),onActiveStateLayerOpacity:xe.extend("--ft-toggle-on-active-state-layer-opacity","",we.opacity24),onDisabledComponentOpacity:xe.extend("--ft-toggle-on-disabled-component-opacity","",we.opacity40),onBackgroundColor:xe.extend("--ft-toggle-on-background-color","",Ye.contentActionPrimary),onStateLayerColor:xe.extend("--ft-toggle-on-state-layer-color","",Ye.contentActionPrimary),onIconColor:xe.extend("--ft-toggle-on-icon-color","",Ye.contentActionPrimary),color:xe.extend("--ft-toggle-color","",Ye.contentGlobalPrimary),focusFocusRingColor:xe.extend("--ft-toggle-focus-focus-ring-color","",Ye.borderActionFocusRing),gap:xe.extend("--ft-toggle-gap","",we.spacing3)},mr={color:xe.extend("--ft-radio-color","",Ye.contentGlobalPrimary),selectedRadioColor:xe.extend("--ft-radio-selected-radio-color","",Ye.contentActionPrimary),selectedStateLayerColor:xe.extend("--ft-radio-selected-state-layer-color","",Ye.contentActionPrimary),selectedHoverStateLayerOpacity:xe.extend("--ft-radio-selected-hover-state-layer-opacity","",we.opacity16),selectedFocusStateLayerOpacity:xe.extend("--ft-radio-selected-focus-state-layer-opacity","",we.opacity16),selectedActiveStateLayerOpacity:xe.extend("--ft-radio-selected-active-state-layer-opacity","",we.opacity24),selectedDisabledComponentOpacity:xe.extend("--ft-radio-selected-disabled-component-opacity","",we.opacity40),unselectedStateLayerColor:xe.extend("--ft-radio-unselected-state-layer-color","",Ye.borderInputPrimary),unselectedBorderColor:xe.extend("--ft-radio-unselected-border-color","",Ye.borderInputPrimary),unselectedHoverStateLayerOpacity:xe.extend("--ft-radio-unselected-hover-state-layer-opacity","",we.opacity16),unselectedFocusStateLayerOpacity:xe.extend("--ft-radio-unselected-focus-state-layer-opacity","",we.opacity16),unselectedActiveStateLayerOpacity:xe.extend("--ft-radio-unselected-active-state-layer-opacity","",we.opacity24),unselectedDisabledComponentOpacity:xe.extend("--ft-radio-unselected-disabled-component-opacity","",we.opacity40),focusFocusRingColor:xe.extend("--ft-radio-focus-focus-ring-color","",Ye.borderActionFocusRing),focusOutlineOffset:xe.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:xe.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:xe.extend("--ft-radio-gap","",we.spacing3)},vr={iconSize:xe.extend("--ft-notification-icon-size","",we.iconSize4),horizontalPadding:xe.extend("--ft-notification-horizontal-padding","",we.spacing4),verticalPadding:xe.extend("--ft-notification-vertical-padding","",we.spacing4),infoBackgroundColor:xe.extend("--ft-notification-info-background-color","",Ye.backgroundInfoSubtle),infoColor:xe.extend("--ft-notification-info-color","",Ye.contentInfoPrimary),infoIconColor:xe.extend("--ft-notification-info-icon-color","",Ye.contentInfoIconOnly),infoBorderColor:xe.extend("--ft-notification-info-border-color","",Ye.borderInfoSubtle),successBackgroundColor:xe.extend("--ft-notification-success-background-color","",Ye.backgroundSuccessSubtle),successColor:xe.extend("--ft-notification-success-color","",Ye.contentSuccessPrimary),successIconColor:xe.extend("--ft-notification-success-icon-color","",Ye.contentSuccessIconOnly),successBorderColor:xe.extend("--ft-notification-success-border-color","",Ye.borderSuccessSubtle),warningBackgroundColor:xe.extend("--ft-notification-warning-background-color","",Ye.backgroundWarningSubtle),warningColor:xe.extend("--ft-notification-warning-color","",Ye.contentWarningPrimary),warningIconColor:xe.extend("--ft-notification-warning-icon-color","",Ye.contentWarningIconOnly),warningBorderColor:xe.extend("--ft-notification-warning-border-color","",Ye.borderWarningSubtle),errorBackgroundColor:xe.extend("--ft-notification-error-background-color","",Ye.backgroundErrorSubtle),errorColor:xe.extend("--ft-notification-error-color","",Ye.contentErrorPrimary),errorIconColor:xe.extend("--ft-notification-error-icon-color","",Ye.contentErrorIconOnly),errorBorderColor:xe.extend("--ft-notification-error-border-color","",Ye.borderErrorSubtle),borderRadius:xe.extend("--ft-notification-border-radius","",we.borderRadiusPill),borderWidth:xe.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:xe.extend("--ft-notification-leading-gap","",we.spacing2),trailingGap:xe.extend("--ft-notification-trailing-gap","",we.spacing8)},xr={horizontalPadding:xe.extend("--ft-tooltip-horizontal-padding","",we.spacing2),verticalPadding:xe.extend("--ft-tooltip-vertical-padding","",we.spacing2),borderRadius:xe.extend("--ft-tooltip-border-radius","",we.borderRadiusS),color:xe.extend("--ft-tooltip-color","",Ye.contentGlobalOnColor),backgroundColor:xe.extend("--ft-tooltip-background-color","",Ye.contentGlobalPrimary),backgroundOpacity:xe.extend("--ft-tooltip-background-opacity","",we.opacity80),shadow:xe.extend("--ft-tooltip-shadow","",we.shadowElevation03),maxWidth:xe.create("--ft-tooltip-max-width","","SIZE","256px"),gap:xe.extend("--ft-tooltip-gap","",we.spacing05)};var Or=Object.freeze({__proto__:null,FtCssVariableFactory:xe,banner:Xe,border:hr,breadcrumb:Qe,button:Je,chart:dr,checkbox:gr,chip:ur,collapsible:fr,comboboxMultiSelect:lr,comboboxSingleSelect:ar,drawer:er,floatingMenu:nr,foundation:we,modal:or,notice:yr,notification:vr,pageHeader:tr,popover:sr,radio:mr,semantic:Ye,setVariable:Oe,switch_:pr,tabs:cr,textArea:ir,textInput:rr,toggle:br,tooltip:xr,typographies:qe,typographyBody1Medium:Re,typographyBody1Regular:$e,typographyBody1Semibold:Ie,typographyBody2Medium:We,typographyBody2MediumUnderline:Le,typographyBody2Regular:ke,typographyBody2Semibold:Ue,typographyCaption1Bold:Ze,typographyCaption1Medium:Me,typographyCaption1Semibold:Pe,typographyCaption2Bold:He,typographyCaption2Medium:Ke,typographyCaption2Semibold:De,typographyCaption3Bold:Ve,typographyCaption3Medium:Te,typographyCaption3Semibold:Ge,typographyDisplay:Se,typographyLabel1Bold:Fe,typographyLabel1Medium:ze,typographyLabel1Semibold:Be,typographyLabel2Bold:_e,typographyLabel2Medium:Ae,typographyLabel2Semibold:je,typographyTitle1:Ce,typographyTitle2:Ne,typographyTitle3:Ee,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const wr={colorPrimary:xe.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xe.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xe.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xe.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xe.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xe.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xe.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xe.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xe.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xe.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xe.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xe.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xe.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xe.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xe.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xe.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xe.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xe.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xe.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xe.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xe.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xe.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xe.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xe.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xe.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xe.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xe.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xe.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xe.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xe.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xe.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xe.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xe.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xe.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xe.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xe.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xe.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xe.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xe.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xe.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xe.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xe.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xe.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xe.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.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:xe.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xe.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xe.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xe.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xe.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xe.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xe.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xe.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Sr=Object.freeze({__proto__:null,designSystemVariables:wr});class Cr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Nr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Er extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var $r=Object.freeze({__proto__:null,FtNotificationEvent:Cr,PostResizeEvent:Er,PreResizeEvent:Nr});const Rr=["start","end"],Ir=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Rr[0],o+"-"+Rr[1])),[]),kr=Math.min,Wr=Math.max,Lr=Math.round,Ur=t=>({x:t,y:t}),zr={left:"right",right:"left",bottom:"top",top:"bottom"},Br={start:"end",end:"start"};function Fr(t,o,e){return Wr(t,kr(o,e))}function Ar(t,o){return"function"==typeof t?t(o):t}function jr(t){return t.split("-")[0]}function _r(t){return t.split("-")[1]}function Mr(t){return"x"===t?"y":"x"}function Pr(t){return"y"===t?"height":"width"}function Zr(t){return["top","bottom"].includes(jr(t))?"y":"x"}function Kr(t){return Mr(Zr(t))}function Dr(t){return t.replace(/left|right|bottom|top/g,(t=>zr[t]))}function Hr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Tr(t,o,e){let{reference:r,floating:i}=t;const n=Zr(o),a=Kr(o),l=Pr(a),s=jr(o),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let u;switch(s){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(_r(o)){case"start":u[a]-=d*(e&&c?-1:1);break;case"end":u[a]+=d*(e&&c?-1:1)}return u}async function Gr(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:u=0}=Ar(o,t),h=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(u),y=l[d?"floating"===p?"reference":"floating":p],g=Hr(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(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.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=Hr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(g.top-x.top+h.top)/v.y,bottom:(x.bottom-g.bottom+h.bottom)/v.y,left:(g.left-x.left+h.left)/v.x,right:(x.right-g.right+h.right)/v.x}}function Vr(t,o,e){return(t?[...e.filter((o=>_r(o)===t)),...e.filter((o=>_r(o)!==t))]:e.filter((t=>jr(t)===t))).filter((e=>!t||(_r(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Br[t]))}(e)!==e)))}const qr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=o,{crossAxis:f=!1,alignment:p,allowedPlacements:d=Ir,autoAlignment:u=!0,...h}=Ar(t,o),y=void 0!==p||d===Ir?Vr(p||null,u,d):d,g=await Gr(o,h),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=_r(t),i=Kr(t),n=Pr(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Dr(a)),[a,Dr(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:y[0]}};const x=[g[jr(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=_r(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=S.filter((t=>t[2].slice(0,_r(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||S[0][0];return N!==l?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Yr(t){return Qr(t)?(t.nodeName||"").toLowerCase():"#document"}function Jr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Xr(t){var o;return null==(o=(Qr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Qr(t){return t instanceof Node||t instanceof Jr(t).Node}function ti(t){return t instanceof Element||t instanceof Jr(t).Element}function oi(t){return t instanceof HTMLElement||t instanceof Jr(t).HTMLElement}function ei(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Jr(t).ShadowRoot)}function ri(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=si(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ii(t){return["table","td","th"].includes(Yr(t))}function ni(t){const o=ai(),e=si(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 ai(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function li(t){return["html","body","#document"].includes(Yr(t))}function si(t){return Jr(t).getComputedStyle(t)}function ci(t){return ti(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function fi(t){if("html"===Yr(t))return t;const o=t.assignedSlot||t.parentNode||ei(t)&&t.host||Xr(t);return ei(o)?o.host:o}function pi(t){const o=fi(t);return li(o)?t.ownerDocument?t.ownerDocument.body:t.body:oi(o)&&ri(o)?o:pi(o)}function di(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=pi(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Jr(i);return n?o.concat(a,a.visualViewport||[],ri(i)?i:[],a.frameElement&&e?di(a.frameElement):[]):o.concat(i,di(i,[],e))}function ui(t){const o=si(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=oi(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Lr(e)!==n||Lr(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function hi(t){return ti(t)?t:t.contextElement}function yi(t){const o=hi(t);if(!oi(o))return Ur(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=ui(o);let a=(n?Lr(e.width):e.width)/r,l=(n?Lr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const gi=Ur(0);function bi(t){const o=Jr(t);return ai()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:gi}function mi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=hi(t);let a=Ur(1);o&&(r?ti(r)&&(a=yi(r)):a=yi(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Jr(t))&&o}(n,e,r)?bi(n):Ur(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Jr(n),o=r&&ti(r)?Jr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=yi(e),o=e.getBoundingClientRect(),r=si(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=i,c+=n,e=Jr(e).frameElement}}return Hr({width:f,height:p,x:s,y:c})}function vi(t){return mi(Xr(t)).left+ci(t).scrollLeft}function xi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Jr(t),r=Xr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=ai();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,e);else if("document"===o)r=function(t){const o=Xr(t),e=ci(t),r=t.ownerDocument.body,i=Wr(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Wr(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+vi(t);const l=-e.scrollTop;return"rtl"===si(r).direction&&(a+=Wr(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Xr(t));else if(ti(o))r=function(t,o){const e=mi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=oi(t)?yi(t):Ur(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=bi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Hr(r)}function Oi(t,o){const e=fi(t);return!(e===o||!ti(e)||li(e))&&("fixed"===si(e).position||Oi(e,o))}function wi(t,o,e){const r=oi(o),i=Xr(o),n="fixed"===e,a=mi(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const s=Ur(0);if(r||!r&&!n)if(("body"!==Yr(o)||ri(i))&&(l=ci(o)),r){const t=mi(o,!0,n,o);s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}else i&&(s.x=vi(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Si(t,o){return oi(t)&&"fixed"!==si(t).position?o?o(t):t.offsetParent:null}function Ci(t,o){const e=Jr(t);if(!oi(t))return e;let r=Si(t,o);for(;r&&ii(r)&&"static"===si(r).position;)r=Si(r,o);return r&&("html"===Yr(r)||"body"===Yr(r)&&"static"===si(r).position&&!ni(r))?e:r||function(t){let o=fi(t);for(;oi(o)&&!li(o);){if(ni(o))return o;o=fi(o)}return null}(t)||e}const Ni={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=oi(e),n=Xr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Ur(1);const s=Ur(0);if((i||!i&&"fixed"!==r)&&(("body"!==Yr(e)||ri(n))&&(a=ci(e)),oi(e))){const t=mi(e);l=yi(e),s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+s.x,y:o.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Xr,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=di(t,[],!1).filter((t=>ti(t)&&"body"!==Yr(t))),i=null;const n="fixed"===si(t).position;let a=n?fi(t):t;for(;ti(a)&&!li(a);){const o=si(a),e=ni(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||ri(a)&&!e&&Oi(t,a))?r=r.filter((t=>t!==a)):i=o,a=fi(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=xi(o,e,i);return t.top=Wr(r.top,t.top),t.right=kr(r.right,t.right),t.bottom=kr(r.bottom,t.bottom),t.left=Wr(r.left,t.left),t}),xi(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Ci,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Ci,n=this.getDimensions;return{reference:wi(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 ui(t)},getScale:yi,isElement:ti,isRTL:function(t){return"rtl"===si(t).direction}},Ei=(t,o,e)=>{const r=new Map,i={platform:Ni,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:p}=Tr(c,r,s),d=r,u={},h=0;for(let e=0;e<l.length;e++){const{name:n,fn:y}=l[e],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:d,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&&h<=50&&(h++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:p}=Tr(c,d,s))),e=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:u}})(t,o,{...i,platform:n})};function $i(t){return function(t){for(let o=t;o;o=Ri(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ri(t);o;o=Ri(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 Ri(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Ii(t,o,e){return Ei(t,o,{platform:{...Ni,getOffsetParent:t=>Ni.getOffsetParent(t,$i)},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:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...s}=Ar(r,t),c={x:o,y:e},f=await Gr(t,s),p=Zr(jr(i)),d=Mr(p);let u=c[d],h=c[p];if(n){const t="y"===d?"bottom":"right";u=Fr(u+f["y"===d?"top":"left"],u,u-f[t])}if(a){const t="y"===p?"bottom":"right";h=Fr(h+f["y"===p?"top":"left"],h,h-f[t])}const y=l.fn({...t,[d]:u,[p]:h});return{...y,data:{x:y.x-o,y:y.y-e}}}}),qr({allowedPlacements:[e]})]});var r}var ki=Object.freeze({__proto__:null,computeOffsetPosition:Ii});
135
136
  /**
136
137
  * @license
137
138
  * Copyright 2019 Google LLC
138
139
  * SPDX-License-Identifier: BSD-3-Clause
139
- */const Li=window,Wi=Li.ShadowRoot&&(void 0===Li.ShadyCSS||Li.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ui extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Wi?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Li.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var zi,Bi=Object.freeze({__proto__:null,ScopedRegistryLitElement:Ui}),Fi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Ai=Symbol("constructorPrototype"),ji=Symbol("constructorName"),_i=Symbol("exportpartsDebouncer");class Pi extends Ui{constructor(){super(),this[zi]=new le(5),this[ji]=this.constructor.name,this[Ai]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ji]&&Object.setPrototypeOf(this,this[Ai])}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[_i].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 l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.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(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}zi=_i,Fi([So()],Pi.prototype,"exportpartsPrefix",void 0),Fi([ye([])],Pi.prototype,"exportpartsPrefixes",void 0),Fi([So()],Pi.prototype,"customStylesheet",void 0);var Zi=Object.freeze({__proto__:null,FtLitElement:Pi}),Ki=Object.freeze({__proto__:null});class Mi{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];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 e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const l=()=>{--n<=0&&r(a)};n||l(),i.forEach((t=>{Mi.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),l()}),l)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Mi(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let i=!1,n=!1;return r.forEach(((t,o)=>{t.val===e&&(i=o,n=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:e,handled:!0}),!0):(!1===i&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,i){const n=this.createIterator(o,t,r);let a,l,s=[],c=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,s)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(s,t,e,r),i()}forEachNode(t,o,e,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,o,e,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Di=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 Mi(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`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 o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){const n=o[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+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 o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=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=>{e.every((e=>{if(-1!==e.indexOf(i)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),e){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 o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.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 o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,e);n&&(t.start=r,t.length=i-r,o.push(t),e=i)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,i=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>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:e,end:r,valid:i}}checkWhitespaceRanges(t,o,e){let r,i=!0,n=e.length,a=o-n,l=parseInt(t.start,10)-a;return l=l>n?n:l,r=l+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),l<0||r-l<0||l>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:i}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Mi.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(o),n=i.splitText(e-o);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,o,e,r,i){t.nodes.every(((n,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(n.node))return!1;const l=o-n.start,s=(e>n.end?n.end:e)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(s+n.start);if(n.node=this.wrapRangeInTextNode(n.node,l,s),t.value=c+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=s),t.nodes[e].end-=s)})),e-=s,i(n.node.previousSibling,n.start),!(e>n.end))return!1;o=n.end}return!0}))}wrapMatches(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let i;for(o=o.node;null!==(i=t.exec(o.textContent))&&""!==i[n];){if(!e(i[n],o))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;o=this.wrapRangeInTextNode(o,a,a+i[n].length),r(o.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const l=i+a[n].length;this.wrapRangeInMappedTextNode(o,i,l,(t=>e(a[n],t)),((o,e)=>{t.lastIndex=e,r(o)}))}i()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:s}=this.checkWhitespaceRanges(t,n,i.value);s&&this.wrapRangeInMappedTextNode(i,a,l,(e=>o(e,t,i.value.substring(a,l),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),s=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,s)),(t=>{s++,e++,this.opt.each(t)}),(()=>{0===s&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(e):l(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(e):l(i[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Mi.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Hi=xe.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ti=dt`
140
+ */const Wi=window,Li=Wi.ShadowRoot&&(void 0===Wi.ShadyCSS||Wi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ui extends mo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Li?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Wi.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var zi,Bi=Object.freeze({__proto__:null,ScopedRegistryLitElement:Ui}),Fi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Ai=Symbol("constructorPrototype"),ji=Symbol("constructorName"),_i=Symbol("exportpartsDebouncer");class Mi extends Ui{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this[zi]=new le(5),this[ji]=this.constructor.name,this[Ai]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ji]&&Object.setPrototypeOf(this,this[Ai])}connectedCallback(){super.connectedCallback(),this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}updated(t){var o;super.updated(t),t.has("customStylesheet")&&this.adoptedCustomStyleSheet.replace(null!==(o=this.customStylesheet)&&void 0!==o?o:""),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(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[_i].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 l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.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(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}zi=_i,Fi([So()],Mi.prototype,"exportpartsPrefix",void 0),Fi([ge([])],Mi.prototype,"exportpartsPrefixes",void 0),Fi([So()],Mi.prototype,"customStylesheet",void 0);var Pi=Object.freeze({__proto__:null,FtLitElement:Mi}),Zi=Object.freeze({__proto__:null});class Ki{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];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 e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const l=()=>{--n<=0&&r(a)};n||l(),i.forEach((t=>{Ki.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),l()}),l)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Ki(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let i=!1,n=!1;return r.forEach(((t,o)=>{t.val===e&&(i=o,n=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:e,handled:!0}),!0):(!1===i&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,i){const n=this.createIterator(o,t,r);let a,l,s=[],c=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,s)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(s,t,e,r),i()}forEachNode(t,o,e,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,o,e,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Di=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 Ki(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`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 o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){const n=o[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+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 o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=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=>{e.every((e=>{if(-1!==e.indexOf(i)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),e){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 o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.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 o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,e);n&&(t.start=r,t.length=i-r,o.push(t),e=i)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,i=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>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:e,end:r,valid:i}}checkWhitespaceRanges(t,o,e){let r,i=!0,n=e.length,a=o-n,l=parseInt(t.start,10)-a;return l=l>n?n:l,r=l+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),l<0||r-l<0||l>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:i}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Ki.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(o),n=i.splitText(e-o);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,o,e,r,i){t.nodes.every(((n,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(n.node))return!1;const l=o-n.start,s=(e>n.end?n.end:e)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(s+n.start);if(n.node=this.wrapRangeInTextNode(n.node,l,s),t.value=c+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=s),t.nodes[e].end-=s)})),e-=s,i(n.node.previousSibling,n.start),!(e>n.end))return!1;o=n.end}return!0}))}wrapMatches(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let i;for(o=o.node;null!==(i=t.exec(o.textContent))&&""!==i[n];){if(!e(i[n],o))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;o=this.wrapRangeInTextNode(o,a,a+i[n].length),r(o.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const l=i+a[n].length;this.wrapRangeInMappedTextNode(o,i,l,(t=>e(a[n],t)),((o,e)=>{t.lastIndex=e,r(o)}))}i()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:s}=this.checkWhitespaceRanges(t,n,i.value);s&&this.wrapRangeInMappedTextNode(i,a,l,(e=>o(e,t,i.value.substring(a,l),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,this.log(`Searching with expression "${t}"`);let e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),s=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,s)),(t=>{s++,e++,this.opt.each(t)}),(()=>{0===s&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(e):l(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(e):l(i[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const e=Ki.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Hi=xe.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ti=dt`
140
141
  .highlight-html-match {
141
142
  background: ${Hi};
142
143
  }
@@ -172,7 +173,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
172
173
  display: inline-block;
173
174
  width: 0;
174
175
  }
175
- `;var Xi=Object.freeze({__proto__:null,noTextSelect:qi,safariEllipsisFix:Ji,wordWrap:Yi}),Qi=Object.freeze({__proto__:null});var tn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{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 on{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 en(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var rn,nn,an;const ln=Symbol("internalReduxEventsUnsubscribers"),sn=Symbol("internalStoresUnsubscribers"),cn=Symbol("internalStores");class fn extends Pi{constructor(){super(...arguments),this[rn]=new Map,this[nn]=new Map,this[an]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[cn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[cn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[cn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:en(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[cn].delete(o)}setupStore(t,o){this[cn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[cn].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[sn].has(t.store):this[sn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[sn].set(t,o.subscribe((()=>this.updateFromStores()))),en(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[ln].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[sn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[ln].forEach((t=>t())),this[ln]=[]}unsubscribeFromStore(t){this[sn].has(t)&&this[sn].get(t)(),this[sn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function pn(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 dn(t){return!!t&&!!t[Xn]}function un(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)===Qn}(t)||Array.isArray(t)||!!t[Jn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Jn])||vn(t)||xn(t))}function hn(t,o,e){void 0===e&&(e=!1),0===gn(t)?(e?Object.keys:ta)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function gn(t){var o=t[Xn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:vn(t)?2:xn(t)?3:0}function yn(t,o){return 2===gn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function bn(t,o,e){var r=gn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function mn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function vn(t){return Gn&&t instanceof Map}function xn(t){return Vn&&t instanceof Set}function On(t){return t.o||t.t}function wn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=oa(t);delete o[Xn];for(var e=ta(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 Sn(t,o){return void 0===o&&(o=!1),Nn(t)||dn(t)||!un(t)||(gn(t)>1&&(t.set=t.add=t.clear=t.delete=Cn),Object.freeze(t),o&&hn(t,(function(t,o){return Sn(o,!0)}),!0)),t}function Cn(){pn(2)}function Nn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function En(t){var o=ea[t];return o||pn(18,t),o}function $n(){return Hn}function Rn(t,o){o&&(En("Patches"),t.u=[],t.s=[],t.v=o)}function In(t){kn(t),t.p.forEach(Wn),t.p=null}function kn(t){t===Hn&&(Hn=t.l)}function Ln(t){return Hn={p:[],l:Hn,h:t,m:!0,_:0}}function Wn(t){var o=t[Xn];0===o.i||1===o.i?o.j():o.g=!0}function Un(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||En("ES5").S(o,t,r),r?(e[Xn].P&&(In(o),pn(4)),un(t)&&(t=zn(o,t),o.l||Fn(o,t)),o.u&&En("Patches").M(e[Xn].t,t,o.u,o.s)):t=zn(o,e,[]),In(o),o.u&&o.v(o.u,o.s),t!==Yn?t:void 0}function zn(t,o,e){if(Nn(o))return o;var r=o[Xn];if(!r)return hn(o,(function(i,n){return Bn(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Fn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=wn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),hn(n,(function(o,n){return Bn(t,r,i,o,n,e,a)})),Fn(t,i,!1),e&&t.u&&En("Patches").N(r,e,t.u,t.s)}return r.o}function Bn(t,o,e,r,i,n,a){if(dn(i)){var l=zn(t,i,n&&o&&3!==o.i&&!yn(o.R,r)?n.concat(r):void 0);if(bn(e,r,l),!dn(l))return;t.m=!1}else a&&e.add(i);if(un(i)&&!Nn(i)){if(!t.h.D&&t._<1)return;zn(t,i),o&&o.A.l||Fn(t,i)}}function Fn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Sn(o,e)}function An(t,o){var e=t[Xn];return(e?On(e):t)[o]}function jn(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 _n(t){t.P||(t.P=!0,t.l&&_n(t.l))}function Pn(t){t.o||(t.o=wn(t.t))}function Zn(t,o,e){var r=vn(o)?En("MapSet").F(o,e):xn(o)?En("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:$n(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=ra;e&&(i=[r],n=ia);var a=Proxy.revocable(i,n),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(o,e):En("ES5").J(o,e);return(e?e.A:$n()).p.push(r),r}function Kn(t){return dn(t)||pn(22,t),function t(o){if(!un(o))return o;var e,r=o[Xn],i=gn(o);if(r){if(!r.P&&(r.i<4||!En("ES5").K(r)))return r.t;r.I=!0,e=Mn(o,i),r.I=!1}else e=Mn(o,i);return hn(e,(function(o,i){r&&function(t,o){return 2===gn(t)?t.get(o):t[o]}(r.t,o)===i||bn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Mn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return wn(t)}rn=sn,nn=cn,an=ln,fn.reduxProperties=new Map,fn.reduxReactiveProperties=new Set,fn.reduxEventListeners=new Map;var Dn,Hn,Tn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Gn="undefined"!=typeof Map,Vn="undefined"!=typeof Set,qn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Yn=Tn?Symbol.for("immer-nothing"):((Dn={})["immer-nothing"]=!0,Dn),Jn=Tn?Symbol.for("immer-draftable"):"__$immer_draftable",Xn=Tn?Symbol.for("immer-state"):"__$immer_state",Qn=""+Object.prototype.constructor,ta="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,oa=Object.getOwnPropertyDescriptors||function(t){var o={};return ta(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ea={},ra={get:function(t,o){if(o===Xn)return t;var e=On(t);if(!yn(e,o))return function(t,o,e){var r,i=jn(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||!un(r)?r:r===An(t.t,o)?(Pn(t),t.o[o]=Zn(t.A.h,r,t)):r},has:function(t,o){return o in On(t)},ownKeys:function(t){return Reflect.ownKeys(On(t))},set:function(t,o,e){var r=jn(On(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=An(On(t),o),n=null==i?void 0:i[Xn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(mn(e,i)&&(void 0!==e||yn(t.t,o)))return!0;Pn(t),_n(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!==An(t.t,o)||o in t.t?(t.R[o]=!1,Pn(t),_n(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=On(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(){pn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){pn(12)}},ia={};hn(ra,(function(t,o){ia[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ia.deleteProperty=function(t,o){return ia.set.call(this,t,o,void 0)},ia.set=function(t,o,e){return ra.set.call(this,t[0],o,e,t[0])};var na=function(){function t(t){var o=this;this.O=qn,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),l=1;l<r;l++)a[l-1]=arguments[l];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&pn(6),void 0!==r&&"function"!=typeof r&&pn(7),un(t)){var l=Ln(o),s=Zn(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?In(l):kn(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Rn(l,r),Un(t,l)}),(function(t){throw In(l),t})):(Rn(l,r),Un(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Yn&&(a=void 0),o.D&&Sn(a,!0),r){var f=[],p=[];En("Patches").M(t,a,f,p),r(f,p)}return a}pn(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){un(t)||pn(8),dn(t)&&(t=Kn(t));var o=Ln(this),e=Zn(this,t,void 0);return e[Xn].C=!0,kn(o),e},o.finishDraft=function(t,o){var e=(t&&t[Xn]).A;return Rn(e,o),Un(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!qn&&pn(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=En("Patches").$;return dn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),aa=new na,la=aa.produce;function sa(t){return sa="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},sa(t)}function ca(t){var o=function(t,o){if("object"!==sa(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==sa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===sa(o)?o:String(o)}function fa(t,o,e){return(o=ca(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function pa(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 da(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?pa(Object(e),!0).forEach((function(o){fa(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):pa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ua(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. "}aa.produceWithPatches.bind(aa),aa.setAutoFreeze.bind(aa),aa.setUseProxies.bind(aa),aa.applyPatches.bind(aa),aa.createDraft.bind(aa),aa.finishDraft.bind(aa);var ha="function"==typeof Symbol&&Symbol.observable||"@@observable",ga=function(){return Math.random().toString(36).substring(7).split("").join(".")},ya={INIT:"@@redux/INIT"+ga(),REPLACE:"@@redux/REPLACE"+ga(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ga()}};function ba(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ua(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ua(1));return e(ba)(t,o)}if("function"!=typeof t)throw new Error(ua(2));var i=t,n=o,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(ua(3));return n}function p(t){if("function"!=typeof t)throw new Error(ua(4));if(s)throw new Error(ua(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(ua(6));o=!1,c();var e=l.indexOf(t);l.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(ua(7));if(void 0===t.type)throw new Error(ua(8));if(s)throw new Error(ua(9));try{s=!0,n=i(n,t)}finally{s=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ya.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ua(10));i=t,d({type:ya.REPLACE})}})[ha]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ua(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ha]=function(){return this},t},r}function ma(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:ya.INIT}))throw new Error(ua(12));if(void 0===e(void 0,{type:ya.PROBE_UNKNOWN_ACTION()}))throw new Error(ua(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var s=a[l],c=e[s],f=t[s],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(ua(14));i[s]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function va(){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 xa(){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(ua(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=va.apply(void 0,n)(e.dispatch),da(da({},e),{},{dispatch:r})}}}function Oa(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 wa=Oa();wa.withExtraArgument=Oa;var Sa,Ca=wa,Na=(Sa=function(t,o){return Sa=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])},Sa(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}Sa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Ea=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:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){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,l])}}},$a=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},Ra=Object.defineProperty,Ia=Object.defineProperties,ka=Object.getOwnPropertyDescriptors,La=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,za=function(t,o,e){return o in t?Ra(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ba=function(t,o){for(var e in o||(o={}))Wa.call(o,e)&&za(t,e,o[e]);if(La)for(var r=0,i=La(o);r<i.length;r++){e=i[r];Ua.call(o,e)&&za(t,e,o[e])}return t},Fa=function(t,o){return Ia(t,ka(o))},Aa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?va:va.apply(null,arguments)};var ja=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 Na(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,$a([void 0],t[0].concat(this)))):new(o.bind.apply(o,$a([void 0],t.concat(this))))},o}(Array),_a=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 Na(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,$a([void 0],t[0].concat(this)))):new(o.bind.apply(o,$a([void 0],t.concat(this))))},o}(Array);function Pa(t){return un(t)?la(t,(function(){})):t}function Za(){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 ja;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Ca.withExtraArgument(e.extraArgument)):r.push(Ca));return r}(t)}}function Ka(t){var o,e=Za(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?e():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,u=void 0===d?void 0:d;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=ma(n)}var h=l;"function"==typeof h&&(h=h(e));var g=xa.apply(void 0,h),y=va;c&&(y=Aa(Ba({trace:!1},"object"==typeof c&&c)));var b=new _a(g),m=b;return Array.isArray(u)?m=$a([g],u):"function"==typeof u&&(m=u(b)),ba(o,p,y.apply(void 0,m))}function Ma(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Ba(Ba({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 Da(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 Ha(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:Pa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};function c(){var o="function"==typeof t.extraReducers?Da(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,s=o[2],c=void 0===s?void 0:s,f=Ba(Ba({},i),l);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Da(o):[o,e,r],a=n[0],l=n[1],s=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Pa(t())};else{var c=Pa(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=$a([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(dn(t))return void 0===(r=e(t,o))?t:r;if(un(t))return la(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,l[c]=e,s[t]=r?Ma(c,r):Ma(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ta=["name","message","stack","code"],Ga=function(t,o){this.payload=t,this.meta=o},Va=function(t,o){this.payload=t,this.meta=o},qa=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ta;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Ya(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Ma(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Fa(Ba({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Ma(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Fa(Ba({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Ma(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||qa)(t||"Rejected"),meta:Fa(Ba({},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(l,s,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}(),d=new a;function u(t){f=t,d.abort()}var h=function(){return a=this,h=null,g=function(){var a,h,g,y,b,m;return Ea(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),y=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:s,extra:c}),null===(x=y)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,y];case 1:y=v.sent(),v.label=2;case 2:if(!1===y||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:s,extra:c,requestId:p,signal:d.signal,abort:u,rejectWithValue:function(t,o){return new Ga(t,o)},fulfillWithValue:function(t,o){return new Va(t,o)}})).then((function(o){if(o instanceof Ga)throw o;return o instanceof Va?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return g=v.sent(),[3,5];case 4:return m=v.sent(),g=m instanceof Ga?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(g)&&g.meta.condition||l(g),[2,g]}var x}))},new Promise((function(t,o){var e=function(t){try{i(g.next(t))}catch(t){o(t)}},r=function(t){try{i(g.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((g=g.apply(a,h)).next())}));var a,h,g}();return Object.assign(h,{abort:u,requestId:p,arg:t,unwrap:function(){return h.then(Ya)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ja="listenerMiddleware";Ma(Ja+"/add"),Ma(Ja+"/removeAll"),Ma(Ja+"/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[Xn];return ra.get(o,t)},set:function(o){var e=this[Xn];ra.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Xn];if(!i.P)switch(i.i){case 5:r(i)&&_n(i);break;case 4:e(i)&&_n(i)}}}function e(t){for(var o=t.t,e=t.k,r=ta(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Xn){var a=o[n];if(void 0===a&&!yn(o,n))return!0;var l=e[n],s=l&&l[Xn];if(s?s.t!==a:!mn(l,a))return!0}}var c=!!o[Xn];return r.length!==ta(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){ea[t]||(ea[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=oa(e);delete n[Xn];for(var a=ta(n),l=0;l<a.length;l++){var s=a[l];n[s]=t(s,o||!!n[s].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:$n(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Xn,{value:n,writable:!0}),i},S:function(t,e,i){i?dn(e)&&e[Xn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Xn];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)hn(n,(function(o){o!==Xn&&(void 0!==i[o]||yn(i,o)?a[o]||t(n[o]):(a[o]=!0,_n(e)))})),hn(i,(function(t){void 0!==n[t]||yn(n,t)||(a[t]=!1,_n(e))}));else if(5===l){if(r(e)&&(_n(e),a.length=!0),n.length<i.length)for(var s=n.length;s<i.length;s++)a[s]=!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 Xa{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(en(i))return i;if(null==r)return;const n=Ha({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Ka({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Xa(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new on,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_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Qa=Object.freeze({__proto__:null,FtCommandQueue:on,FtLitElementRedux:fn,FtReduxStore:Xa,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))en(o)&&o.clear()},isFtReduxStore:en,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!de(t,o),attribute:!1,...o};So(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})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var tl=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e;const r=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all",query:o.query});if(o.filters.length>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const ol=Symbol("elementInternals");function el(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[ol].form}constructor(...t){super(t),this[ol]=this.attachInternals(),this[ol].role=o}setFormValue(t){this[ol].setFormValue(t)}}}var rl,il,nl,al,ll=Object.freeze({__proto__:null,toFtFormComponent:el});const sl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(nl=null===(il=null===(rl=window.safari)||void 0===rl?void 0:rl.pushNotification)||void 0===il?void 0:il.toString())&&void 0!==nl?nl:""),cl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(al=window.ftGlobals)&&void 0!==al?al:{lit:xo,litDecorators:Lo,litRepeat:Do,litClassMap:To,litStyleMap:Yo,litUnsafeHTML:Qo,wcUtils:{...ie,...re,...ae,...se,...me,...Sr,...$r,...ki,...Or,...Zi,...Ki,...he,...Vi,...Xi,...Qi,...tn,...Qa,...Bi,...tl,...ll,isSafari:sl,isTouchScreen:cl}};const fl={zIndex:xe.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:xe.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:xe.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:xe.extend("--ft-floating-menu-text-color","",wr.colorOnSurfaceHigh),colorSurface:xe.external(wr.colorSurface,"Design system"),menuElevation:xe.external(wr.elevation02,"Design system"),borderRadiusS:xe.external(wr.borderRadiusS,"Design system")},pl=dt`
176
+ `;var Xi=Object.freeze({__proto__:null,noTextSelect:qi,safariEllipsisFix:Ji,wordWrap:Yi}),Qi=Object.freeze({__proto__:null});var tn=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{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 on{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 en(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var rn,nn,an;const ln=Symbol("internalReduxEventsUnsubscribers"),sn=Symbol("internalStoresUnsubscribers"),cn=Symbol("internalStores");class fn extends Mi{constructor(){super(...arguments),this[rn]=new Map,this[nn]=new Map,this[an]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[cn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[cn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[cn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:en(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[cn].delete(o)}setupStore(t,o){this[cn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[cn].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[sn].has(t.store):this[sn].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[sn].set(t,o.subscribe((()=>this.updateFromStores()))),en(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[ln].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[sn].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[ln].forEach((t=>t())),this[ln]=[]}unsubscribeFromStore(t){this[sn].has(t)&&this[sn].get(t)(),this[sn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function pn(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 dn(t){return!!t&&!!t[Xn]}function un(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)===Qn}(t)||Array.isArray(t)||!!t[Jn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Jn])||vn(t)||xn(t))}function hn(t,o,e){void 0===e&&(e=!1),0===yn(t)?(e?Object.keys:ta)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function yn(t){var o=t[Xn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:vn(t)?2:xn(t)?3:0}function gn(t,o){return 2===yn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function bn(t,o,e){var r=yn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function mn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function vn(t){return Gn&&t instanceof Map}function xn(t){return Vn&&t instanceof Set}function On(t){return t.o||t.t}function wn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=oa(t);delete o[Xn];for(var e=ta(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 Sn(t,o){return void 0===o&&(o=!1),Nn(t)||dn(t)||!un(t)||(yn(t)>1&&(t.set=t.add=t.clear=t.delete=Cn),Object.freeze(t),o&&hn(t,(function(t,o){return Sn(o,!0)}),!0)),t}function Cn(){pn(2)}function Nn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function En(t){var o=ea[t];return o||pn(18,t),o}function $n(){return Hn}function Rn(t,o){o&&(En("Patches"),t.u=[],t.s=[],t.v=o)}function In(t){kn(t),t.p.forEach(Ln),t.p=null}function kn(t){t===Hn&&(Hn=t.l)}function Wn(t){return Hn={p:[],l:Hn,h:t,m:!0,_:0}}function Ln(t){var o=t[Xn];0===o.i||1===o.i?o.j():o.g=!0}function Un(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||En("ES5").S(o,t,r),r?(e[Xn].P&&(In(o),pn(4)),un(t)&&(t=zn(o,t),o.l||Fn(o,t)),o.u&&En("Patches").M(e[Xn].t,t,o.u,o.s)):t=zn(o,e,[]),In(o),o.u&&o.v(o.u,o.s),t!==Yn?t:void 0}function zn(t,o,e){if(Nn(o))return o;var r=o[Xn];if(!r)return hn(o,(function(i,n){return Bn(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Fn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=wn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),hn(n,(function(o,n){return Bn(t,r,i,o,n,e,a)})),Fn(t,i,!1),e&&t.u&&En("Patches").N(r,e,t.u,t.s)}return r.o}function Bn(t,o,e,r,i,n,a){if(dn(i)){var l=zn(t,i,n&&o&&3!==o.i&&!gn(o.R,r)?n.concat(r):void 0);if(bn(e,r,l),!dn(l))return;t.m=!1}else a&&e.add(i);if(un(i)&&!Nn(i)){if(!t.h.D&&t._<1)return;zn(t,i),o&&o.A.l||Fn(t,i)}}function Fn(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&Sn(o,e)}function An(t,o){var e=t[Xn];return(e?On(e):t)[o]}function jn(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 _n(t){t.P||(t.P=!0,t.l&&_n(t.l))}function Mn(t){t.o||(t.o=wn(t.t))}function Pn(t,o,e){var r=vn(o)?En("MapSet").F(o,e):xn(o)?En("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:$n(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=ra;e&&(i=[r],n=ia);var a=Proxy.revocable(i,n),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(o,e):En("ES5").J(o,e);return(e?e.A:$n()).p.push(r),r}function Zn(t){return dn(t)||pn(22,t),function t(o){if(!un(o))return o;var e,r=o[Xn],i=yn(o);if(r){if(!r.P&&(r.i<4||!En("ES5").K(r)))return r.t;r.I=!0,e=Kn(o,i),r.I=!1}else e=Kn(o,i);return hn(e,(function(o,i){r&&function(t,o){return 2===yn(t)?t.get(o):t[o]}(r.t,o)===i||bn(e,o,t(i))})),3===i?new Set(e):e}(t)}function Kn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return wn(t)}rn=sn,nn=cn,an=ln,fn.reduxProperties=new Map,fn.reduxReactiveProperties=new Set,fn.reduxEventListeners=new Map;var Dn,Hn,Tn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Gn="undefined"!=typeof Map,Vn="undefined"!=typeof Set,qn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Yn=Tn?Symbol.for("immer-nothing"):((Dn={})["immer-nothing"]=!0,Dn),Jn=Tn?Symbol.for("immer-draftable"):"__$immer_draftable",Xn=Tn?Symbol.for("immer-state"):"__$immer_state",Qn=""+Object.prototype.constructor,ta="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,oa=Object.getOwnPropertyDescriptors||function(t){var o={};return ta(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},ea={},ra={get:function(t,o){if(o===Xn)return t;var e=On(t);if(!gn(e,o))return function(t,o,e){var r,i=jn(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||!un(r)?r:r===An(t.t,o)?(Mn(t),t.o[o]=Pn(t.A.h,r,t)):r},has:function(t,o){return o in On(t)},ownKeys:function(t){return Reflect.ownKeys(On(t))},set:function(t,o,e){var r=jn(On(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=An(On(t),o),n=null==i?void 0:i[Xn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(mn(e,i)&&(void 0!==e||gn(t.t,o)))return!0;Mn(t),_n(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!==An(t.t,o)||o in t.t?(t.R[o]=!1,Mn(t),_n(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=On(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(){pn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){pn(12)}},ia={};hn(ra,(function(t,o){ia[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),ia.deleteProperty=function(t,o){return ia.set.call(this,t,o,void 0)},ia.set=function(t,o,e){return ra.set.call(this,t[0],o,e,t[0])};var na=function(){function t(t){var o=this;this.O=qn,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),l=1;l<r;l++)a[l-1]=arguments[l];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&pn(6),void 0!==r&&"function"!=typeof r&&pn(7),un(t)){var l=Wn(o),s=Pn(o,t,void 0),c=!0;try{a=e(s),c=!1}finally{c?In(l):kn(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Rn(l,r),Un(t,l)}),(function(t){throw In(l),t})):(Rn(l,r),Un(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Yn&&(a=void 0),o.D&&Sn(a,!0),r){var f=[],p=[];En("Patches").M(t,a,f,p),r(f,p)}return a}pn(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){un(t)||pn(8),dn(t)&&(t=Zn(t));var o=Wn(this),e=Pn(this,t,void 0);return e[Xn].C=!0,kn(o),e},o.finishDraft=function(t,o){var e=(t&&t[Xn]).A;return Rn(e,o),Un(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!qn&&pn(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=En("Patches").$;return dn(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),aa=new na,la=aa.produce;function sa(t){return sa="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},sa(t)}function ca(t){var o=function(t,o){if("object"!==sa(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==sa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===sa(o)?o:String(o)}function fa(t,o,e){return(o=ca(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function pa(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 da(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?pa(Object(e),!0).forEach((function(o){fa(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):pa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ua(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. "}aa.produceWithPatches.bind(aa),aa.setAutoFreeze.bind(aa),aa.setUseProxies.bind(aa),aa.applyPatches.bind(aa),aa.createDraft.bind(aa),aa.finishDraft.bind(aa);var ha="function"==typeof Symbol&&Symbol.observable||"@@observable",ya=function(){return Math.random().toString(36).substring(7).split("").join(".")},ga={INIT:"@@redux/INIT"+ya(),REPLACE:"@@redux/REPLACE"+ya(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ya()}};function ba(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ua(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ua(1));return e(ba)(t,o)}if("function"!=typeof t)throw new Error(ua(2));var i=t,n=o,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(ua(3));return n}function p(t){if("function"!=typeof t)throw new Error(ua(4));if(s)throw new Error(ua(5));var o=!0;return c(),l.push(t),function(){if(o){if(s)throw new Error(ua(6));o=!1,c();var e=l.indexOf(t);l.splice(e,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(ua(7));if(void 0===t.type)throw new Error(ua(8));if(s)throw new Error(ua(9));try{s=!0,n=i(n,t)}finally{s=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return d({type:ga.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ua(10));i=t,d({type:ga.REPLACE})}})[ha]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ua(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[ha]=function(){return this},t},r}function ma(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:ga.INIT}))throw new Error(ua(12));if(void 0===e(void 0,{type:ga.PROBE_UNKNOWN_ACTION()}))throw new Error(ua(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var s=a[l],c=e[s],f=t[s],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(ua(14));i[s]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function va(){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 xa(){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(ua(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=va.apply(void 0,n)(e.dispatch),da(da({},e),{},{dispatch:r})}}}function Oa(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 wa=Oa();wa.withExtraArgument=Oa;var Sa,Ca=wa,Na=(Sa=function(t,o){return Sa=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])},Sa(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}Sa(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Ea=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:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){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,l])}}},$a=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},Ra=Object.defineProperty,Ia=Object.defineProperties,ka=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,La=Object.prototype.hasOwnProperty,Ua=Object.prototype.propertyIsEnumerable,za=function(t,o,e){return o in t?Ra(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Ba=function(t,o){for(var e in o||(o={}))La.call(o,e)&&za(t,e,o[e]);if(Wa)for(var r=0,i=Wa(o);r<i.length;r++){e=i[r];Ua.call(o,e)&&za(t,e,o[e])}return t},Fa=function(t,o){return Ia(t,ka(o))},Aa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?va:va.apply(null,arguments)};var ja=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 Na(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,$a([void 0],t[0].concat(this)))):new(o.bind.apply(o,$a([void 0],t.concat(this))))},o}(Array),_a=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 Na(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,$a([void 0],t[0].concat(this)))):new(o.bind.apply(o,$a([void 0],t.concat(this))))},o}(Array);function Ma(t){return un(t)?la(t,(function(){})):t}function Pa(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new ja;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(Ca.withExtraArgument(e.extraArgument)):r.push(Ca));return r}(t)}}function Za(t){var o,e=Pa(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?e():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,u=void 0===d?void 0:d;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=ma(n)}var h=l;"function"==typeof h&&(h=h(e));var y=xa.apply(void 0,h),g=va;c&&(g=Aa(Ba({trace:!1},"object"==typeof c&&c)));var b=new _a(y),m=b;return Array.isArray(u)?m=$a([y],u):"function"==typeof u&&(m=u(b)),ba(o,p,g.apply(void 0,m))}function Ka(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 Ba(Ba({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 Da(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 Ha(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:Ma(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};function c(){var o="function"==typeof t.extraReducers?Da(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,s=o[2],c=void 0===s?void 0:s,f=Ba(Ba({},i),l);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Da(o):[o,e,r],a=n[0],l=n[1],s=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ma(t())};else{var c=Ma(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=$a([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[s]),e.reduce((function(t,e){if(e){var r;if(dn(t))return void 0===(r=e(t,o))?t:r;if(un(t))return la(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,l[c]=e,s[t]=r?Ka(c,r):Ka(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:s,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ta=["name","message","stack","code"],Ga=function(t,o){this.payload=t,this.meta=o},Va=function(t,o){this.payload=t,this.meta=o},qa=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ta;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Ya(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=Ka(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Fa(Ba({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Ka(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Fa(Ba({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Ka(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||qa)(t||"Rejected"),meta:Fa(Ba({},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(l,s,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}(),d=new a;function u(t){f=t,d.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return Ea(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:s,extra:c}),null===(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||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return d.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:s,extra:c,requestId:p,signal:d.signal,abort:u,rejectWithValue:function(t,o){return new Ga(t,o)},fulfillWithValue:function(t,o){return new Va(t,o)}})).then((function(o){if(o instanceof Ga)throw o;return o instanceof Va?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 Ga?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||l(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,h)).next())}));var a,h,y}();return Object.assign(h,{abort:u,requestId:p,arg:t,unwrap:function(){return h.then(Ya)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ja="listenerMiddleware";Ka(Ja+"/add"),Ka(Ja+"/removeAll"),Ka(Ja+"/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[Xn];return ra.get(o,t)},set:function(o){var e=this[Xn];ra.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Xn];if(!i.P)switch(i.i){case 5:r(i)&&_n(i);break;case 4:e(i)&&_n(i)}}}function e(t){for(var o=t.t,e=t.k,r=ta(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Xn){var a=o[n];if(void 0===a&&!gn(o,n))return!0;var l=e[n],s=l&&l[Xn];if(s?s.t!==a:!mn(l,a))return!0}}var c=!!o[Xn];return r.length!==ta(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){ea[t]||(ea[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=oa(e);delete n[Xn];for(var a=ta(n),l=0;l<a.length;l++){var s=a[l];n[s]=t(s,o||!!n[s].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:$n(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Xn,{value:n,writable:!0}),i},S:function(t,e,i){i?dn(e)&&e[Xn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Xn];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)hn(n,(function(o){o!==Xn&&(void 0!==i[o]||gn(i,o)?a[o]||t(n[o]):(a[o]=!0,_n(e)))})),hn(i,(function(t){void 0!==n[t]||gn(n,t)||(a[t]=!1,_n(e))}));else if(5===l){if(r(e)&&(_n(e),a.length=!0),n.length<i.length)for(var s=n.length;s<i.length;s++)a[s]=!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 Xa{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(en(i))return i;if(null==r)return;const n=Ha({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Za({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Xa(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new on,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_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Qa=Object.freeze({__proto__:null,FtCommandQueue:on,FtLitElementRedux:fn,FtReduxStore:Xa,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))en(o)&&o.clear()},isFtReduxStore:en,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!de(t,o),attribute:!1,...o};So(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})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var tl=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,i,n;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(i=o.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(n=o.filters)||void 0===n?void 0:n.length)>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const ol=Symbol("elementInternals");function el(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[ol].form}constructor(...t){super(t),this[ol]=this.attachInternals(),this[ol].role=o}setFormValue(t){this[ol].setFormValue(t)}}}var rl,il,nl,al,ll=Object.freeze({__proto__:null,toFtFormComponent:el});const sl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(nl=null===(il=null===(rl=window.safari)||void 0===rl?void 0:rl.pushNotification)||void 0===il?void 0:il.toString())&&void 0!==nl?nl:""),cl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(al=window.ftGlobals)&&void 0!==al?al:{lit:xo,litDecorators:Wo,litRepeat:Do,litClassMap:To,litStyleMap:Yo,litUnsafeHTML:Qo,wcUtils:{...ie,...re,...ae,...se,...me,...Sr,...$r,...ki,...Or,...Pi,...Zi,...he,...Vi,...Xi,...Qi,...tn,...Qa,...Bi,...tl,...ll,isSafari:sl,isTouchScreen:cl}};const fl={zIndex:xe.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:xe.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:xe.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:xe.extend("--ft-floating-menu-text-color","",wr.colorOnSurfaceHigh),colorSurface:xe.external(wr.colorSurface,"Design system"),menuElevation:xe.external(wr.elevation02,"Design system"),borderRadiusS:xe.external(wr.borderRadiusS,"Design system")},pl=dt`
176
177
  .ft-floating-menu {
177
178
  color: ${fl.textColor};
178
179
  display: contents;
@@ -203,7 +204,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
203
204
  .ft-floating-menu--open .ft-floating-menu--options {
204
205
  display: block;
205
206
  }
206
- `,dl=xe.extend("--ft-ripple-color","",wr.colorContent),ul={color:dl,backgroundColor:xe.extend("--ft-ripple-background-color","",dl),opacityContentOnSurfacePressed:xe.external(wr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xe.external(wr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xe.external(wr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xe.external(wr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xe.create("--ft-ripple-border-radius","","SIZE","0px")},hl=xe.extend("--ft-ripple-color","",wr.colorPrimary),gl=hl,yl=xe.extend("--ft-ripple-background-color","",hl),bl=xe.extend("--ft-ripple-color","",wr.colorSecondary),ml=bl,vl=xe.extend("--ft-ripple-background-color","",bl),xl=dt`
207
+ `,dl=xe.extend("--ft-ripple-color","",wr.colorContent),ul={color:dl,backgroundColor:xe.extend("--ft-ripple-background-color","",dl),opacityContentOnSurfacePressed:xe.external(wr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:xe.external(wr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:xe.external(wr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:xe.external(wr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:xe.create("--ft-ripple-border-radius","","SIZE","0px")},hl=xe.extend("--ft-ripple-color","",wr.colorPrimary),yl=hl,gl=xe.extend("--ft-ripple-background-color","",hl),bl=xe.extend("--ft-ripple-color","",wr.colorSecondary),ml=bl,vl=xe.extend("--ft-ripple-background-color","",bl),xl=dt`
207
208
  :host {
208
209
  display: contents;
209
210
  }
@@ -266,11 +267,11 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
266
267
  }
267
268
 
268
269
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
269
- background-color: ${yl};
270
+ background-color: ${gl};
270
271
  }
271
272
 
272
273
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
273
- background-color: ${gl};
274
+ background-color: ${yl};
274
275
  }
275
276
 
276
277
  .ft-ripple .ft-ripple--background {
@@ -315,7 +316,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
315
316
  opacity: ${ul.opacityContentOnSurfacePressed};
316
317
  transform: translate(-50%, -50%) scale(1);
317
318
  }
318
- `;const Ol=xe.extend("--ft-typography-font-family","",wr.titleFont),wl=xe.extend("--ft-typography-font-family","",wr.contentFont),Sl={fontFamily:wl,fontSize:xe.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xe.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xe.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xe.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xe.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Cl=xe.extend("--ft-typography-title-font-family","",Ol),Nl=xe.extend("--ft-typography-title-font-size","",Sl.fontSize,"20px"),El=xe.extend("--ft-typography-title-font-weight","",Sl.fontWeight,"normal"),$l=xe.extend("--ft-typography-title-letter-spacing","",Sl.letterSpacing,"0.15px"),Rl=xe.extend("--ft-typography-title-line-height","",Sl.lineHeight,"1.2"),Il=xe.extend("--ft-typography-title-text-transform","",Sl.textTransform,"inherit"),kl=xe.extend("--ft-typography-title-dense-font-family","",Ol),Ll=xe.extend("--ft-typography-title-dense-font-size","",Sl.fontSize,"14px"),Wl=xe.extend("--ft-typography-title-dense-font-weight","",Sl.fontWeight,"normal"),Ul=xe.extend("--ft-typography-title-dense-letter-spacing","",Sl.letterSpacing,"0.105px"),zl=xe.extend("--ft-typography-title-dense-line-height","",Sl.lineHeight,"1.7"),Bl=xe.extend("--ft-typography-title-dense-text-transform","",Sl.textTransform,"inherit"),Fl=xe.extend("--ft-typography-subtitle1-font-family","",wl),Al=xe.extend("--ft-typography-subtitle1-font-size","",Sl.fontSize,"16px"),jl=xe.extend("--ft-typography-subtitle1-font-weight","",Sl.fontWeight,"600"),_l=xe.extend("--ft-typography-subtitle1-letter-spacing","",Sl.letterSpacing,"0.144px"),Pl=xe.extend("--ft-typography-subtitle1-line-height","",Sl.lineHeight,"1.5"),Zl=xe.extend("--ft-typography-subtitle1-text-transform","",Sl.textTransform,"inherit"),Kl=xe.extend("--ft-typography-subtitle2-font-family","",wl),Ml=xe.extend("--ft-typography-subtitle2-font-size","",Sl.fontSize,"14px"),Dl=xe.extend("--ft-typography-subtitle2-font-weight","",Sl.fontWeight,"normal"),Hl=xe.extend("--ft-typography-subtitle2-letter-spacing","",Sl.letterSpacing,"0.098px"),Tl=xe.extend("--ft-typography-subtitle2-line-height","",Sl.lineHeight,"1.7"),Gl=xe.extend("--ft-typography-subtitle2-text-transform","",Sl.textTransform,"inherit"),Vl=xe.extend("--ft-typography-body1-font-family","",wl),ql=xe.extend("--ft-typography-body1-font-size","",Sl.fontSize,"16px"),Yl=xe.extend("--ft-typography-body1-font-weight","",Sl.fontWeight,"normal"),Jl=xe.extend("--ft-typography-body1-letter-spacing","",Sl.letterSpacing,"0.496px"),Xl=xe.extend("--ft-typography-body1-line-height","",Sl.lineHeight,"1.5"),Ql=xe.extend("--ft-typography-body1-text-transform","",Sl.textTransform,"inherit"),ts=xe.extend("--ft-typography-body2-font-family","",wl),os=xe.extend("--ft-typography-body2-font-size","",Sl.fontSize,"14px"),es=xe.extend("--ft-typography-body2-font-weight","",Sl.fontWeight,"normal"),rs=xe.extend("--ft-typography-body2-letter-spacing","",Sl.letterSpacing,"0.252px"),is=xe.extend("--ft-typography-body2-line-height","",Sl.lineHeight,"1.4"),ns=xe.extend("--ft-typography-body2-text-transform","",Sl.textTransform,"inherit"),as=xe.extend("--ft-typography-caption-font-family","",wl),ls=xe.extend("--ft-typography-caption-font-size","",Sl.fontSize,"12px"),ss=xe.extend("--ft-typography-caption-font-weight","",Sl.fontWeight,"normal"),cs=xe.extend("--ft-typography-caption-letter-spacing","",Sl.letterSpacing,"0.396px"),fs=xe.extend("--ft-typography-caption-line-height","",Sl.lineHeight,"1.33"),ps=xe.extend("--ft-typography-caption-text-transform","",Sl.textTransform,"inherit"),ds=xe.extend("--ft-typography-breadcrumb-font-family","",wl),us=xe.extend("--ft-typography-breadcrumb-font-size","",Sl.fontSize,"10px"),hs=xe.extend("--ft-typography-breadcrumb-font-weight","",Sl.fontWeight,"normal"),gs=xe.extend("--ft-typography-breadcrumb-letter-spacing","",Sl.letterSpacing,"0.33px"),ys=xe.extend("--ft-typography-breadcrumb-line-height","",Sl.lineHeight,"1.6"),bs=xe.extend("--ft-typography-breadcrumb-text-transform","",Sl.textTransform,"inherit"),ms=xe.extend("--ft-typography-overline-font-family","",wl),vs=xe.extend("--ft-typography-overline-font-size","",Sl.fontSize,"10px"),xs=xe.extend("--ft-typography-overline-font-weight","",Sl.fontWeight,"normal"),Os=xe.extend("--ft-typography-overline-letter-spacing","",Sl.letterSpacing,"1.5px"),ws=xe.extend("--ft-typography-overline-line-height","",Sl.lineHeight,"1.6"),Ss=xe.extend("--ft-typography-overline-text-transform","",Sl.textTransform,"uppercase"),Cs={fontFamily:xe.extend("--ft-typography-button-font-family","",wl),fontSize:xe.extend("--ft-typography-button-font-size","",Sl.fontSize,"14px"),fontWeight:xe.extend("--ft-typography-button-font-weight","",Sl.fontWeight,"600"),letterSpacing:xe.extend("--ft-typography-button-letter-spacing","",Sl.letterSpacing,"1.246px"),lineHeight:xe.extend("--ft-typography-button-line-height","",Sl.lineHeight,"1.15"),textTransform:xe.extend("--ft-typography-button-text-transform","",Sl.textTransform,"uppercase")},Ns=dt`
319
+ `;const Ol=xe.extend("--ft-typography-font-family","",wr.titleFont),wl=xe.extend("--ft-typography-font-family","",wr.contentFont),Sl={fontFamily:wl,fontSize:xe.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xe.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xe.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xe.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xe.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Cl=xe.extend("--ft-typography-title-font-family","",Ol),Nl=xe.extend("--ft-typography-title-font-size","",Sl.fontSize,"20px"),El=xe.extend("--ft-typography-title-font-weight","",Sl.fontWeight,"normal"),$l=xe.extend("--ft-typography-title-letter-spacing","",Sl.letterSpacing,"0.15px"),Rl=xe.extend("--ft-typography-title-line-height","",Sl.lineHeight,"1.2"),Il=xe.extend("--ft-typography-title-text-transform","",Sl.textTransform,"inherit"),kl=xe.extend("--ft-typography-title-dense-font-family","",Ol),Wl=xe.extend("--ft-typography-title-dense-font-size","",Sl.fontSize,"14px"),Ll=xe.extend("--ft-typography-title-dense-font-weight","",Sl.fontWeight,"normal"),Ul=xe.extend("--ft-typography-title-dense-letter-spacing","",Sl.letterSpacing,"0.105px"),zl=xe.extend("--ft-typography-title-dense-line-height","",Sl.lineHeight,"1.7"),Bl=xe.extend("--ft-typography-title-dense-text-transform","",Sl.textTransform,"inherit"),Fl=xe.extend("--ft-typography-subtitle1-font-family","",wl),Al=xe.extend("--ft-typography-subtitle1-font-size","",Sl.fontSize,"16px"),jl=xe.extend("--ft-typography-subtitle1-font-weight","",Sl.fontWeight,"600"),_l=xe.extend("--ft-typography-subtitle1-letter-spacing","",Sl.letterSpacing,"0.144px"),Ml=xe.extend("--ft-typography-subtitle1-line-height","",Sl.lineHeight,"1.5"),Pl=xe.extend("--ft-typography-subtitle1-text-transform","",Sl.textTransform,"inherit"),Zl=xe.extend("--ft-typography-subtitle2-font-family","",wl),Kl=xe.extend("--ft-typography-subtitle2-font-size","",Sl.fontSize,"14px"),Dl=xe.extend("--ft-typography-subtitle2-font-weight","",Sl.fontWeight,"normal"),Hl=xe.extend("--ft-typography-subtitle2-letter-spacing","",Sl.letterSpacing,"0.098px"),Tl=xe.extend("--ft-typography-subtitle2-line-height","",Sl.lineHeight,"1.7"),Gl=xe.extend("--ft-typography-subtitle2-text-transform","",Sl.textTransform,"inherit"),Vl=xe.extend("--ft-typography-body1-font-family","",wl),ql=xe.extend("--ft-typography-body1-font-size","",Sl.fontSize,"16px"),Yl=xe.extend("--ft-typography-body1-font-weight","",Sl.fontWeight,"normal"),Jl=xe.extend("--ft-typography-body1-letter-spacing","",Sl.letterSpacing,"0.496px"),Xl=xe.extend("--ft-typography-body1-line-height","",Sl.lineHeight,"1.5"),Ql=xe.extend("--ft-typography-body1-text-transform","",Sl.textTransform,"inherit"),ts=xe.extend("--ft-typography-body2-font-family","",wl),os=xe.extend("--ft-typography-body2-font-size","",Sl.fontSize,"14px"),es=xe.extend("--ft-typography-body2-font-weight","",Sl.fontWeight,"normal"),rs=xe.extend("--ft-typography-body2-letter-spacing","",Sl.letterSpacing,"0.252px"),is=xe.extend("--ft-typography-body2-line-height","",Sl.lineHeight,"1.4"),ns=xe.extend("--ft-typography-body2-text-transform","",Sl.textTransform,"inherit"),as=xe.extend("--ft-typography-caption-font-family","",wl),ls=xe.extend("--ft-typography-caption-font-size","",Sl.fontSize,"12px"),ss=xe.extend("--ft-typography-caption-font-weight","",Sl.fontWeight,"normal"),cs=xe.extend("--ft-typography-caption-letter-spacing","",Sl.letterSpacing,"0.396px"),fs=xe.extend("--ft-typography-caption-line-height","",Sl.lineHeight,"1.33"),ps=xe.extend("--ft-typography-caption-text-transform","",Sl.textTransform,"inherit"),ds=xe.extend("--ft-typography-breadcrumb-font-family","",wl),us=xe.extend("--ft-typography-breadcrumb-font-size","",Sl.fontSize,"10px"),hs=xe.extend("--ft-typography-breadcrumb-font-weight","",Sl.fontWeight,"normal"),ys=xe.extend("--ft-typography-breadcrumb-letter-spacing","",Sl.letterSpacing,"0.33px"),gs=xe.extend("--ft-typography-breadcrumb-line-height","",Sl.lineHeight,"1.6"),bs=xe.extend("--ft-typography-breadcrumb-text-transform","",Sl.textTransform,"inherit"),ms=xe.extend("--ft-typography-overline-font-family","",wl),vs=xe.extend("--ft-typography-overline-font-size","",Sl.fontSize,"10px"),xs=xe.extend("--ft-typography-overline-font-weight","",Sl.fontWeight,"normal"),Os=xe.extend("--ft-typography-overline-letter-spacing","",Sl.letterSpacing,"1.5px"),ws=xe.extend("--ft-typography-overline-line-height","",Sl.lineHeight,"1.6"),Ss=xe.extend("--ft-typography-overline-text-transform","",Sl.textTransform,"uppercase"),Cs={fontFamily:xe.extend("--ft-typography-button-font-family","",wl),fontSize:xe.extend("--ft-typography-button-font-size","",Sl.fontSize,"14px"),fontWeight:xe.extend("--ft-typography-button-font-weight","",Sl.fontWeight,"600"),letterSpacing:xe.extend("--ft-typography-button-letter-spacing","",Sl.letterSpacing,"1.246px"),lineHeight:xe.extend("--ft-typography-button-line-height","",Sl.lineHeight,"1.15"),textTransform:xe.extend("--ft-typography-button-text-transform","",Sl.textTransform,"uppercase")},Ns=dt`
319
320
  .ft-typography--title {
320
321
  font-family: ${Cl};
321
322
  font-size: ${Nl};
@@ -327,8 +328,8 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
327
328
  `,Es=dt`
328
329
  .ft-typography--title-dense {
329
330
  font-family: ${kl};
330
- font-size: ${Ll};
331
- font-weight: ${Wl};
331
+ font-size: ${Wl};
332
+ font-weight: ${Ll};
332
333
  letter-spacing: ${Ul};
333
334
  line-height: ${zl};
334
335
  text-transform: ${Bl};
@@ -339,13 +340,13 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
339
340
  font-size: ${Al};
340
341
  font-weight: ${jl};
341
342
  letter-spacing: ${_l};
342
- line-height: ${Pl};
343
- text-transform: ${Zl};
343
+ line-height: ${Ml};
344
+ text-transform: ${Pl};
344
345
  }
345
346
  `,Rs=dt`
346
347
  .ft-typography--subtitle2 {
347
- font-family: ${Kl};
348
- font-size: ${Ml};
348
+ font-family: ${Zl};
349
+ font-size: ${Kl};
349
350
  font-weight: ${Dl};
350
351
  letter-spacing: ${Hl};
351
352
  line-height: ${Tl};
@@ -370,7 +371,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
370
371
  line-height: ${is};
371
372
  text-transform: ${ns};
372
373
  }
373
- `,Ls=dt`
374
+ `,Ws=dt`
374
375
  .ft-typography--caption {
375
376
  font-family: ${as};
376
377
  font-size: ${ls};
@@ -379,13 +380,13 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
379
380
  line-height: ${fs};
380
381
  text-transform: ${ps};
381
382
  }
382
- `,Ws=dt`
383
+ `,Ls=dt`
383
384
  .ft-typography--breadcrumb {
384
385
  font-family: ${ds};
385
386
  font-size: ${us};
386
387
  font-weight: ${hs};
387
- letter-spacing: ${gs};
388
- line-height: ${ys};
388
+ letter-spacing: ${ys};
389
+ line-height: ${gs};
389
390
  text-transform: ${bs};
390
391
  }
391
392
  `,Us=dt`
@@ -488,7 +489,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
488
489
  transform: translate(calc(0.35 * ${As.size}), 0);
489
490
  }
490
491
  }
491
- `,_s={size:xe.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xe.extend("--ft-icon-fluid-topics-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xe.extend("--ft-icon-file-format-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xe.extend("--ft-icon-material-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xe.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ps=dt`
492
+ `,_s={size:xe.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:xe.extend("--ft-icon-fluid-topics-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:xe.extend("--ft-icon-file-format-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:xe.extend("--ft-icon-material-font-family","",xe.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:xe.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ms=dt`
492
493
  :host, i.ft-icon {
493
494
  display: inline-flex;
494
495
  align-items: center;
@@ -536,7 +537,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
536
537
  .ft-icon--material {
537
538
  font-family: ${_s.materialFontFamily}, "Material Icons", sans-serif;
538
539
  }
539
- `,Zs=xe.extend("--ft-button-color","",wr.colorPrimary),Ks={backgroundColor:xe.extend("--ft-button-background-color","",wr.colorSurface),borderRadius:xe.extend("--ft-button-border-radius","",wr.borderRadiusL),color:Zs,fontSize:xe.extend("--ft-button-font-size","",Cs.fontSize),iconSize:xe.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xe.extend("--ft-button-ripple-color","",Zs),verticalPadding:xe.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xe.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xe.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xe.external(wr.colorOpacityDisabled,"Design system")},Ms=xe.extend("--ft-button-primary-color","",xe.extend("--ft-button-color","",wr.colorOnPrimary)),Ds={backgroundColor:xe.extend("--ft-button-primary-background-color","",xe.extend("--ft-button-background-color","",wr.colorPrimary)),color:Ms,rippleColor:xe.extend("--ft-button-primary-ripple-color","",Ms)},Hs=xe.extend("--ft-button-dense-border-radius","",xe.extend("--ft-button-border-radius","",wr.borderRadiusM)),Ts=xe.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Gs=xe.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Vs=xe.create("--ft-button-dense-icon-padding","","SIZE","4px"),qs=[dt`
540
+ `,Ps=xe.extend("--ft-button-color","",wr.colorPrimary),Zs={backgroundColor:xe.extend("--ft-button-background-color","",wr.colorSurface),borderRadius:xe.extend("--ft-button-border-radius","",wr.borderRadiusL),color:Ps,fontSize:xe.extend("--ft-button-font-size","",Cs.fontSize),iconSize:xe.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:xe.extend("--ft-button-ripple-color","",Ps),verticalPadding:xe.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:xe.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:xe.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:xe.external(wr.colorOpacityDisabled,"Design system")},Ks=xe.extend("--ft-button-primary-color","",xe.extend("--ft-button-color","",wr.colorOnPrimary)),Ds={backgroundColor:xe.extend("--ft-button-primary-background-color","",xe.extend("--ft-button-background-color","",wr.colorPrimary)),color:Ks,rippleColor:xe.extend("--ft-button-primary-ripple-color","",Ks)},Hs=xe.extend("--ft-button-dense-border-radius","",xe.extend("--ft-button-border-radius","",wr.borderRadiusM)),Ts=xe.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Gs=xe.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Vs=xe.create("--ft-button-dense-icon-padding","","SIZE","4px"),qs=[dt`
540
541
  :host {
541
542
  display: inline-block;
542
543
  max-width: 100%;
@@ -547,7 +548,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
547
548
  box-shadow: 0px 0px 0px transparent;
548
549
  border: 0px solid transparent;
549
550
  text-shadow: 0px 0px 0px transparent;
550
- font-size: ${Ks.fontSize};
551
+ font-size: ${Zs.fontSize};
551
552
  }
552
553
 
553
554
  button:hover {
@@ -576,21 +577,21 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
576
577
  border: none;
577
578
  pointer-events: auto;
578
579
 
579
- --ft-button-internal-line-height: max(calc(${Ks.fontSize} + 2px), ${Ks.iconSize});
580
- --ft-button-internal-color: ${Ks.color};
581
- ${Oe(_s.size,Ks.iconSize)};
582
- ${Oe(ul.color,Ks.rippleColor)};
580
+ --ft-button-internal-line-height: max(calc(${Zs.fontSize} + 2px), ${Zs.iconSize});
581
+ --ft-button-internal-color: ${Zs.color};
582
+ ${Oe(_s.size,Zs.iconSize)};
583
+ ${Oe(ul.color,Zs.rippleColor)};
583
584
 
584
- border-radius: ${Ks.borderRadius};
585
- padding: ${Ks.verticalPadding} ${Ks.horizontalPadding};
586
- background-color: ${Ks.backgroundColor};
585
+ border-radius: ${Zs.borderRadius};
586
+ padding: ${Zs.verticalPadding} ${Zs.horizontalPadding};
587
+ background-color: ${Zs.backgroundColor};
587
588
  color: var(--ft-button-internal-color);
588
589
  -webkit-mask-image: radial-gradient(white, black);
589
590
  }
590
591
 
591
592
  .ft-button.ft-button--outlined {
592
593
  border: 1px solid var(--ft-button-internal-color);
593
- padding: calc(${Ks.verticalPadding} - 1px) calc(${Ks.horizontalPadding} - 1px);
594
+ padding: calc(${Zs.verticalPadding} - 1px) calc(${Zs.horizontalPadding} - 1px);
594
595
  }
595
596
 
596
597
  .ft-button.ft-button--dense {
@@ -608,7 +609,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
608
609
  }
609
610
 
610
611
  .ft-button--round {
611
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ks.verticalPadding});
612
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Zs.verticalPadding});
612
613
  }
613
614
 
614
615
  .ft-button--round.ft-button--dense {
@@ -617,7 +618,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
617
618
 
618
619
  .ft-button[disabled] {
619
620
  filter: grayscale(1);
620
- opacity: ${Ks.opacityDisabled};
621
+ opacity: ${Zs.opacityDisabled};
621
622
  }
622
623
 
623
624
  .ft-button.ft-button--primary {
@@ -636,7 +637,7 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
636
637
  white-space: nowrap;
637
638
  text-overflow: ellipsis;
638
639
  display: block;
639
- margin: 0 ${Ks.iconPadding};
640
+ margin: 0 ${Zs.iconPadding};
640
641
  ${Oe(Cs.fontSize,"1em")};
641
642
  ${Oe(Cs.lineHeight,"var(--ft-button-internal-line-height)")};
642
643
  }
@@ -655,8 +656,8 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
655
656
  }
656
657
 
657
658
  .ft-button--label[hidden] + ft-icon {
658
- margin: 0 calc(${Ks.horizontalPadding} * -1);
659
- padding: 0 ${Ks.verticalPadding};
659
+ margin: 0 calc(${Zs.horizontalPadding} * -1);
660
+ padding: 0 ${Zs.verticalPadding};
660
661
  }
661
662
 
662
663
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
@@ -670,10 +671,10 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
670
671
  }
671
672
 
672
673
  ft-loader {
673
- ${Oe(As.size,Ks.iconSize)};
674
+ ${Oe(As.size,Zs.iconSize)};
674
675
  ${Oe(As.color,"var(--ft-button-internal-color)")};
675
676
  }
676
- `,qi];var Ys=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Js extends Pi{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 le(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 le(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 Jt`
677
+ `,qi];var Ys=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Js extends Mi{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 le(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 le(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 Jt`
677
678
  <style>
678
679
  .ft-ripple .ft-ripple--effect {
679
680
  left: ${this.originX}px;
@@ -684,20 +685,20 @@ function Io(t){return(o,e)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=$
684
685
  <div class="ft-ripple--background"></div>
685
686
  <div class="ft-ripple--effect"></div>
686
687
  </div>
687
- `}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()}}Js.elementDefinitions={},Js.styles=xl,Ys([So({type:Boolean})],Js.prototype,"primary",void 0),Ys([So({type:Boolean})],Js.prototype,"secondary",void 0),Ys([So({type:Boolean})],Js.prototype,"unbounded",void 0),Ys([So({type:Boolean})],Js.prototype,"activated",void 0),Ys([So({type:Boolean})],Js.prototype,"selected",void 0),Ys([So({type:Boolean})],Js.prototype,"disabled",void 0),Ys([Co()],Js.prototype,"hovered",void 0),Ys([Co()],Js.prototype,"focused",void 0),Ys([Co()],Js.prototype,"pressed",void 0),Ys([Co()],Js.prototype,"rippling",void 0),Ys([Co()],Js.prototype,"originX",void 0),Ys([Co()],Js.prototype,"originY",void 0),Ys([$o(".ft-ripple")],Js.prototype,"ripple",void 0),Ys([$o(".ft-ripple--effect")],Js.prototype,"rippleEffect",void 0),ge("ft-ripple")(Js);
688
+ `}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()}}Js.elementDefinitions={},Js.styles=xl,Ys([So({type:Boolean})],Js.prototype,"primary",void 0),Ys([So({type:Boolean})],Js.prototype,"secondary",void 0),Ys([So({type:Boolean})],Js.prototype,"unbounded",void 0),Ys([So({type:Boolean})],Js.prototype,"activated",void 0),Ys([So({type:Boolean})],Js.prototype,"selected",void 0),Ys([So({type:Boolean})],Js.prototype,"disabled",void 0),Ys([Co()],Js.prototype,"hovered",void 0),Ys([Co()],Js.prototype,"focused",void 0),Ys([Co()],Js.prototype,"pressed",void 0),Ys([Co()],Js.prototype,"rippling",void 0),Ys([Co()],Js.prototype,"originX",void 0),Ys([Co()],Js.prototype,"originY",void 0),Ys([$o(".ft-ripple")],Js.prototype,"ripple",void 0),Ys([$o(".ft-ripple--effect")],Js.prototype,"rippleEffect",void 0),ye("ft-ripple")(Js);
688
689
  /**
689
690
  * @license
690
691
  * Copyright 2020 Google LLC
691
692
  * SPDX-License-Identifier: BSD-3-Clause
692
693
  */
693
- const Xs=Symbol.for(""),Qs=t=>{if(t?.r===Xs)return t?._$litStatic$},tc=t=>({_$litStatic$:t,r:Xs}),oc=new Map,ec=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,f=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=Qs(n));)s+=i+o[++c],f=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=oc.get(t))&&(a.raw=a,oc.set(t,o=a)),e=l}return t(o,...e)})(K);var rc;!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"}(rc||(rc={}));var ic=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 nc extends Pi{constructor(){super(...arguments),this.variant=rc.body1}render(){return this.element?ec`
694
+ const Xs=Symbol.for(""),Qs=t=>{if(t?.r===Xs)return t?._$litStatic$},tc=t=>({_$litStatic$:t,r:Xs}),oc=new Map,ec=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],l=[];let s,c=0,f=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(n=e[c],i=Qs(n));)s+=i+o[++c],f=!0;c!==r&&l.push(n),a.push(s),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=oc.get(t))&&(a.raw=a,oc.set(t,o=a)),e=l}return t(o,...e)})(Z);var rc;!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"}(rc||(rc={}));var ic=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 nc extends Mi{constructor(){super(...arguments),this.variant=rc.body1}render(){return this.element?ec`
694
695
  <${tc(this.element)}
695
696
  class="ft-typography ft-typography--${this.variant}">
696
697
  <slot></slot>
697
698
  </${tc(this.element)}>
698
699
  `:ec`
699
700
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
700
- `}}nc.styles=[Ns,Es,$s,Rs,Is,ks,Ls,Ws,Us,zs,Bs,...Fs],ic([So()],nc.prototype,"element",void 0),ic([So()],nc.prototype,"variant",void 0),ge("ft-typography")(nc);const ac=xe.create("--ft-tooltip-distance","","SIZE","4px"),lc=xe.create("--ft-tooltip-color","","COLOR","#FFFFFF"),sc=xe.create("--ft-tooltip-background-color","","COLOR","#666666"),cc=xe.create("--ft-tooltip-z-index","","NUMBER","100"),fc=xe.external(wr.borderRadiusS,"Design system"),pc=xe.create("--ft-tooltip-max-width","","SIZE","150px"),dc=dt`
701
+ `}}nc.styles=[Ns,Es,$s,Rs,Is,ks,Ws,Ls,Us,zs,Bs,...Fs],ic([So()],nc.prototype,"element",void 0),ic([So()],nc.prototype,"variant",void 0),ye("ft-typography")(nc);const ac=xe.create("--ft-tooltip-distance","","SIZE","4px"),lc=xe.create("--ft-tooltip-color","","COLOR","#FFFFFF"),sc=xe.create("--ft-tooltip-background-color","","COLOR","#666666"),cc=xe.create("--ft-tooltip-z-index","","NUMBER","100"),fc=xe.external(wr.borderRadiusS,"Design system"),pc=xe.create("--ft-tooltip-max-width","","SIZE","150px"),dc=dt`
701
702
  .ft-tooltip--container {
702
703
  display: block;
703
704
  }
@@ -726,7 +727,7 @@ const Xs=Symbol.for(""),Qs=t=>{if(t?.r===Xs)return t?._$litStatic$},tc=t=>({_$li
726
727
  position: relative;
727
728
  word-break: break-word;
728
729
  }
729
- `;var uc,hc,gc,yc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 bc extends Pi{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 le,this.revealDebouncer=new le}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
730
+ `;var uc,hc,yc,gc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 bc extends Mi{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 le,this.revealDebouncer=new le}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
730
731
  <div part="container"
731
732
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
732
733
  @mouseenter=${this.onHover}
@@ -744,19 +745,19 @@ const Xs=Symbol.for(""),Qs=t=>{if(t?.r===Xs)return t?._$litStatic$},tc=t=>({_$li
744
745
  </div>
745
746
  </div>
746
747
  </div>
747
- `}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="",Ii(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))}}bc.elementDefinitions={"ft-typography":nc},bc.styles=dc,yc([So()],bc.prototype,"text",void 0),yc([So({type:Boolean})],bc.prototype,"manual",void 0),yc([So({type:Boolean})],bc.prototype,"inline",void 0),yc([So({type:Number})],bc.prototype,"delay",void 0),yc([So()],bc.prototype,"position",void 0),yc([ko()],bc.prototype,"slotNodes",void 0),yc([$o(".ft-tooltip--container")],bc.prototype,"container",void 0),yc([$o(".ft-tooltip")],bc.prototype,"tooltip",void 0),yc([$o(".ft-tooltip--content")],bc.prototype,"tooltipContent",void 0),yc([Co()],bc.prototype,"visible",void 0),yc([No({passive:!0})],bc.prototype,"onTouch",null),yc([No({passive:!0})],bc.prototype,"onHover",null),yc([No({passive:!0})],bc.prototype,"onOut",null),yc([No({passive:!0})],bc.prototype,"onClick",null),ge("ft-tooltip")(bc),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="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",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.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;",t.CONSUMER="&#xe97c;"}(uc||(uc={})),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;"}(hc||(hc={})),new Map([...["abw"].map((t=>[t,hc.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,hc.AUDIO])),...["avi"].map((t=>[t,hc.AVI])),...["chm","xhs"].map((t=>[t,hc.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,hc.CODE])),...["csv"].map((t=>[t,hc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,hc.DITA])),...["epub"].map((t=>[t,hc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,hc.EXCEL])),...["flac"].map((t=>[t,hc.FLAC])),...["gif"].map((t=>[t,hc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,hc.GZIP])),...["html","htm","xhtml"].map((t=>[t,hc.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,hc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,hc.JPEG])),...["json"].map((t=>[t,hc.JSON])),...["m4a","m4p"].map((t=>[t,hc.M4A])),...["mov","qt"].map((t=>[t,hc.MOV])),...["mp3"].map((t=>[t,hc.MP3])),...["mp4","m4v"].map((t=>[t,hc.MP4])),...["ogg","oga"].map((t=>[t,hc.OGG])),...["pdf","ps"].map((t=>[t,hc.PDF])),...["png"].map((t=>[t,hc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,hc.POWERPOINT])),...["rar"].map((t=>[t,hc.RAR])),...["stp"].map((t=>[t,hc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,hc.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,hc.VIDEO])),...["wav"].map((t=>[t,hc.WAV])),...["wma"].map((t=>[t,hc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,hc.WORD])),...["xml","xsl","rdf"].map((t=>[t,hc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,hc.YAML])),...["zip"].map((t=>[t,hc.ZIP]))]),hc.ABW,hc.AUDIO,hc.AVI,hc.CHM,hc.CODE,hc.CSV,hc.DITA,hc.EPUB,hc.EXCEL,hc.FLAC,hc.GIF,hc.GZIP,hc.HTML,hc.IMAGE,hc.JPEG,hc.JSON,hc.M4A,hc.MOV,hc.MP3,hc.MP4,hc.OGG,hc.PDF,hc.PNG,hc.POWERPOINT,hc.RAR,hc.STP,hc.TEXT,hc.UNKNOWN,hc.VIDEO,hc.WAV,hc.WMA,hc.WORD,hc.XML,hc.YAML,hc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(gc||(gc={}));var mc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 vc extends Pi{constructor(){super(...arguments),this.resolvedIcon=to}render(){const t=this.variant&&Object.values(gc).includes(this.variant)?this.variant:gc.fluid_topics,o=t!==gc.material||!!this.value;return Jt`
748
+ `}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="",Ii(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))}}bc.elementDefinitions={"ft-typography":nc},bc.styles=dc,gc([So()],bc.prototype,"text",void 0),gc([So({type:Boolean})],bc.prototype,"manual",void 0),gc([So({type:Boolean})],bc.prototype,"inline",void 0),gc([So({type:Number})],bc.prototype,"delay",void 0),gc([So()],bc.prototype,"position",void 0),gc([ko()],bc.prototype,"slotNodes",void 0),gc([$o(".ft-tooltip--container")],bc.prototype,"container",void 0),gc([$o(".ft-tooltip")],bc.prototype,"tooltip",void 0),gc([$o(".ft-tooltip--content")],bc.prototype,"tooltipContent",void 0),gc([Co()],bc.prototype,"visible",void 0),gc([No({passive:!0})],bc.prototype,"onTouch",null),gc([No({passive:!0})],bc.prototype,"onHover",null),gc([No({passive:!0})],bc.prototype,"onOut",null),gc([No({passive:!0})],bc.prototype,"onClick",null),ye("ft-tooltip")(bc),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="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",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.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;",t.CONSUMER="&#xe97c;"}(uc||(uc={})),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;"}(hc||(hc={})),new Map([...["abw"].map((t=>[t,hc.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,hc.AUDIO])),...["avi"].map((t=>[t,hc.AVI])),...["chm","xhs"].map((t=>[t,hc.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,hc.CODE])),...["csv"].map((t=>[t,hc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,hc.DITA])),...["epub"].map((t=>[t,hc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,hc.EXCEL])),...["flac"].map((t=>[t,hc.FLAC])),...["gif"].map((t=>[t,hc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,hc.GZIP])),...["html","htm","xhtml"].map((t=>[t,hc.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,hc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,hc.JPEG])),...["json"].map((t=>[t,hc.JSON])),...["m4a","m4p"].map((t=>[t,hc.M4A])),...["mov","qt"].map((t=>[t,hc.MOV])),...["mp3"].map((t=>[t,hc.MP3])),...["mp4","m4v"].map((t=>[t,hc.MP4])),...["ogg","oga"].map((t=>[t,hc.OGG])),...["pdf","ps"].map((t=>[t,hc.PDF])),...["png"].map((t=>[t,hc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,hc.POWERPOINT])),...["rar"].map((t=>[t,hc.RAR])),...["stp"].map((t=>[t,hc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,hc.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,hc.VIDEO])),...["wav"].map((t=>[t,hc.WAV])),...["wma"].map((t=>[t,hc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,hc.WORD])),...["xml","xsl","rdf"].map((t=>[t,hc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,hc.YAML])),...["zip"].map((t=>[t,hc.ZIP]))]),hc.ABW,hc.AUDIO,hc.AVI,hc.CHM,hc.CODE,hc.CSV,hc.DITA,hc.EPUB,hc.EXCEL,hc.FLAC,hc.GIF,hc.GZIP,hc.HTML,hc.IMAGE,hc.JPEG,hc.JSON,hc.M4A,hc.MOV,hc.MP3,hc.MP4,hc.OGG,hc.PDF,hc.PNG,hc.POWERPOINT,hc.RAR,hc.STP,hc.TEXT,hc.UNKNOWN,hc.VIDEO,hc.WAV,hc.WMA,hc.WORD,hc.XML,hc.YAML,hc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(yc||(yc={}));var mc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 vc extends Mi{constructor(){super(...arguments),this.resolvedIcon=to}render(){const t=this.variant&&Object.values(yc).includes(this.variant)?this.variant:yc.fluid_topics,o=t!==yc.material||!!this.value;return Jt`
748
749
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
749
750
  ${Xo(this.resolvedIcon)}
750
751
  <slot ?hidden=${o}></slot>
751
752
  </i>
752
- `}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 gc.file_format:this.resolvedIcon=null!==(t=hc[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case gc.material:this.resolvedIcon=this.value||to;break;default:this.resolvedIcon=null!==(o=uc[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}vc.elementDefinitions={},vc.styles=Ps,mc([So()],vc.prototype,"variant",void 0),mc([So()],vc.prototype,"value",void 0),mc([Co()],vc.prototype,"resolvedIcon",void 0),mc([$o("slot")],vc.prototype,"slottedContent",void 0),ge("ft-icon")(vc);class xc extends Pi{render(){return Jt`
753
+ `}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 yc.file_format:this.resolvedIcon=null!==(t=hc[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case yc.material:this.resolvedIcon=this.value||to;break;default:this.resolvedIcon=null!==(o=uc[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}vc.elementDefinitions={},vc.styles=Ms,mc([So()],vc.prototype,"variant",void 0),mc([So()],vc.prototype,"value",void 0),mc([Co()],vc.prototype,"resolvedIcon",void 0),mc([$o("slot")],vc.prototype,"slottedContent",void 0),ye("ft-icon")(vc);class xc extends Mi{render(){return Jt`
753
754
  <div class="ft-loader">
754
755
  <div></div>
755
756
  <div></div>
756
757
  <div></div>
757
758
  <div></div>
758
759
  </div>
759
- `}}xc.styles=js,ge("ft-loader")(xc);var Oc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 wc extends(el(Pi,"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(Jt`
760
+ `}}xc.styles=js,ye("ft-loader")(xc);var Oc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 wc extends(el(Mi,"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(Jt`
760
761
  <button part="button"
761
762
  class="${Ho(this.buttonClasses)}"
762
763
  aria-label="${this.getLabel()}"
@@ -997,7 +998,7 @@ const Xs=Symbol.for(""),Qs=t=>{if(t?.r===Xs)return t?._$litStatic$},tc=t=>({_$li
997
998
  width: ${Je.smallIconOnlyWidth};
998
999
  padding: unset;
999
1000
  }
1000
- `,qi];var Ec=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 $c extends wc{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?rc.caption1medium:rc.body2medium}}$c.styles=[Ji,Nc],Ec([So({type:Boolean})],$c.prototype,"primary",void 0),Ec([So({type:Boolean})],$c.prototype,"secondary",void 0),Ec([So({type:Boolean})],$c.prototype,"tertiary",void 0),Ec([So({type:Boolean})],$c.prototype,"neutral",void 0),Ec([So({type:Boolean})],$c.prototype,"small",void 0),ge("ft-button")(Cc),ge("ftds-button")($c);const Rc={iconColor:xe.extend("--ft-floating-menu-icon-color","",wr.colorOnSurfaceMedium)},Ic=dt`
1001
+ `,qi];var Ec=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 $c extends wc{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?rc.caption1medium:rc.body2medium}}$c.styles=[Ji,Nc],Ec([So({type:Boolean})],$c.prototype,"primary",void 0),Ec([So({type:Boolean})],$c.prototype,"secondary",void 0),Ec([So({type:Boolean})],$c.prototype,"tertiary",void 0),Ec([So({type:Boolean})],$c.prototype,"neutral",void 0),Ec([So({type:Boolean})],$c.prototype,"small",void 0),ye("ft-button")(Cc),ye("ftds-button")($c);const Rc={iconColor:xe.extend("--ft-floating-menu-icon-color","",wr.colorOnSurfaceMedium)},Ic=dt`
1001
1002
  .ft-floating-menu-item {
1002
1003
  cursor: pointer;
1003
1004
  display: flex;
@@ -1027,7 +1028,7 @@ const Xs=Symbol.for(""),Qs=t=>{if(t?.r===Xs)return t?._$litStatic$},tc=t=>({_$li
1027
1028
  word-break: break-word;
1028
1029
  hyphens: auto;
1029
1030
  }
1030
- `;var kc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Lc extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class Wc extends Pi{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return Jt`
1031
+ `;var kc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Wc extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}}class Lc extends Mi{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return Jt`
1031
1032
  <div class="ft-floating-menu-item"
1032
1033
  tabindex=${this.notFocusable?"-1":"0"}
1033
1034
  @keydown=${t=>this.onKeyDown(t)}
@@ -1040,7 +1041,7 @@ const Xs=Symbol.for(""),Qs=t=>{if(t?.r===Xs)return t?._$litStatic$},tc=t=>({_$li
1040
1041
  <slot></slot>
1041
1042
  </ft-typography>
1042
1043
  </div>
1043
- `}onClick(t){this.dispatchEvent(new Lc(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new Lc(this.value)))}}Wc.elementDefinitions={"ft-icon":vc,"ft-ripple":Js,"ft-typography":nc},Wc.styles=Ic,kc([So()],Wc.prototype,"iconVariant",void 0),kc([So()],Wc.prototype,"icon",void 0),kc([So()],Wc.prototype,"value",void 0),kc([So({type:Boolean})],Wc.prototype,"notFocusable",void 0);var Uc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 zc extends Pi{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=gc.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return Jt`
1044
+ `}onClick(t){this.dispatchEvent(new Wc(this.value))}onKeyDown(t){"Enter"!=t.key&&" "!=t.key||(t.preventDefault(),this.dispatchEvent(new Wc(this.value)))}}Lc.elementDefinitions={"ft-icon":vc,"ft-ripple":Js,"ft-typography":nc},Lc.styles=Ic,kc([So()],Lc.prototype,"iconVariant",void 0),kc([So()],Lc.prototype,"icon",void 0),kc([So()],Lc.prototype,"value",void 0),kc([So({type:Boolean})],Lc.prototype,"notFocusable",void 0);var Uc=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 zc extends Mi{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=yc.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){const t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return Jt`
1044
1045
  <div part="container" class="${Ho(t)}">
1045
1046
  <slot name="toggle"
1046
1047
  part="toggle"
@@ -1075,7 +1076,7 @@ const Xs=Symbol.for(""),Qs=t=>{if(t?.r===Xs)return t?._$litStatic$},tc=t=>({_$li
1075
1076
  </div>
1076
1077
  </div>
1077
1078
  </div>
1078
- `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){ue(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Ii(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}zc.elementDefinitions={"ft-floating-menu-item":Wc},Uc([Co()],zc.prototype,"menuOpen",void 0),Uc([Co()],zc.prototype,"forceMenuOpen",void 0),Uc([$o(".ft-floating-menu")],zc.prototype,"container",void 0),Uc([$o(".ft-floating-menu--wrapper")],zc.prototype,"menuWrapper",void 0),Uc([$o("#actions-button")],zc.prototype,"actionButton",void 0),Uc([Io({slot:"toggle"})],zc.prototype,"customToggle",void 0),Uc([So({type:Boolean})],zc.prototype,"primary",void 0),Uc([So({type:Boolean})],zc.prototype,"secondary",void 0),Uc([So({type:Boolean})],zc.prototype,"tertiary",void 0),Uc([So({type:Boolean})],zc.prototype,"neutral",void 0),Uc([So({type:Boolean})],zc.prototype,"small",void 0),Uc([So()],zc.prototype,"label",void 0),Uc([So()],zc.prototype,"tooltipPosition",void 0),Uc([So()],zc.prototype,"iconVariant",void 0),Uc([So()],zc.prototype,"icon",void 0),Uc([So()],zc.prototype,"text",void 0),Uc([So()],zc.prototype,"horizontalAlignment",void 0),Uc([So()],zc.prototype,"verticalAlignment",void 0),Uc([So({type:Boolean})],zc.prototype,"disabled",void 0),Uc([ye([])],zc.prototype,"closeMenuMatchers",void 0);class Bc extends zc{}Bc.elementDefinitions={"ft-or-ftds-button":Cc},Bc.styles=pl;class Fc extends zc{}Fc.elementDefinitions={"ft-or-ftds-button":$c},Fc.styles=pl;const Ac={color:xe.extend("--ft-floating-menu-label-color","",wr.colorOnSurfaceMedium)},jc=dt`
1079
+ `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){ue(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";const t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:o,y:e}=await Ii(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${o}px`,this.menuWrapper.style.top=`${e}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}}zc.elementDefinitions={"ft-floating-menu-item":Lc},Uc([Co()],zc.prototype,"menuOpen",void 0),Uc([Co()],zc.prototype,"forceMenuOpen",void 0),Uc([$o(".ft-floating-menu")],zc.prototype,"container",void 0),Uc([$o(".ft-floating-menu--wrapper")],zc.prototype,"menuWrapper",void 0),Uc([$o("#actions-button")],zc.prototype,"actionButton",void 0),Uc([Io({slot:"toggle"})],zc.prototype,"customToggle",void 0),Uc([So({type:Boolean})],zc.prototype,"primary",void 0),Uc([So({type:Boolean})],zc.prototype,"secondary",void 0),Uc([So({type:Boolean})],zc.prototype,"tertiary",void 0),Uc([So({type:Boolean})],zc.prototype,"neutral",void 0),Uc([So({type:Boolean})],zc.prototype,"small",void 0),Uc([So()],zc.prototype,"label",void 0),Uc([So()],zc.prototype,"tooltipPosition",void 0),Uc([So()],zc.prototype,"iconVariant",void 0),Uc([So()],zc.prototype,"icon",void 0),Uc([So()],zc.prototype,"text",void 0),Uc([So()],zc.prototype,"horizontalAlignment",void 0),Uc([So()],zc.prototype,"verticalAlignment",void 0),Uc([So({type:Boolean})],zc.prototype,"disabled",void 0),Uc([ge([])],zc.prototype,"closeMenuMatchers",void 0);class Bc extends zc{}Bc.elementDefinitions={"ft-or-ftds-button":Cc},Bc.styles=pl;class Fc extends zc{}Fc.elementDefinitions={"ft-or-ftds-button":$c},Fc.styles=pl;const Ac={color:xe.extend("--ft-floating-menu-label-color","",wr.colorOnSurfaceMedium)},jc=dt`
1079
1080
  .ft-floating-menu-label {
1080
1081
  padding: 4px 8px;
1081
1082
  }
@@ -1088,10 +1089,10 @@ const Xs=Symbol.for(""),Qs=t=>{if(t?.r===Xs)return t?._$litStatic$},tc=t=>({_$li
1088
1089
  overflow: hidden;
1089
1090
  color: ${Ac.color}
1090
1091
  }
1091
- `;class _c extends Pi{render(){return Jt`
1092
+ `;class _c extends Mi{render(){return Jt`
1092
1093
  <div class="ft-floating-menu-label">
1093
1094
  <ft-typography variant="caption">
1094
1095
  <slot></slot>
1095
1096
  </ft-typography>
1096
1097
  </div>
1097
- `}}_c.elementDefinitions={"ft-typography":nc},_c.styles=jc,ge("ft-floating-menu")(Bc),ge("ftds-floating-menu")(Fc),ge("ft-floating-menu-item")(Wc),ge("ft-floating-menu-label")(_c),t.FtFloatingMenu=Bc,t.FtFloatingMenuCssVariables=fl,t.FtFloatingMenuItem=Wc,t.FtFloatingMenuItemCssVariables=Rc,t.FtFloatingMenuItemSelect=Lc,t.FtFloatingMenuLabel=_c,t.FtFloatingMenuLabelCssVariables=Ac,t.FtdsFloatingMenu=Fc,t.itemStyles=Ic,t.labelStyles=jc,t.styles=pl}({});
1098
+ `}}_c.elementDefinitions={"ft-typography":nc},_c.styles=jc,ye("ft-floating-menu")(Bc),ye("ftds-floating-menu")(Fc),ye("ft-floating-menu-item")(Lc),ye("ft-floating-menu-label")(_c),t.FtFloatingMenu=Bc,t.FtFloatingMenuCssVariables=fl,t.FtFloatingMenuItem=Lc,t.FtFloatingMenuItemCssVariables=Rc,t.FtFloatingMenuItemSelect=Wc,t.FtFloatingMenuLabel=_c,t.FtFloatingMenuLabelCssVariables=Ac,t.FtdsFloatingMenu=Fc,t.itemStyles=Ic,t.labelStyles=jc,t.styles=pl}({});